/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background: #fff;
    font-size: 14px;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* =========================================
   CONTAINER
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-top {
    display: flex;
    align-items: center;
    padding: 12px 0;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    font-size: 17px;
    font-weight: 800;
    color: #1b5e6d;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Search */
.search-form {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    max-width: 520px;
    transition: border-color 0.2s;
}

.search-form:focus-within {
    border-color: #1b9dce;
}

.search-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 9px 14px;
    font-size: 14px;
    background: transparent;
}

.search-form button {
    background: #1b3a4b;
    border: none;
    padding: 0 16px;
    color: #fff;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

.search-form button:hover {
    background: #1b9dce;
}

/* Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-icons a {
    display: flex;
    align-items: center;
    color: #444;
    transition: color 0.2s;
    position: relative;
}

.header-icons a:hover {
    color: #1b9dce;
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -9px;
    right: -9px;
    background: #1b9dce;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 8px 0;
    border-top: 1px solid #f0f0f0;
}

.main-nav a {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.6px;
    padding: 4px 0;
    transition: color 0.2s;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1b5e6d;
    border-bottom: 2px solid #1b5e6d;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    padding: 16px 0 8px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 510px;
}

/* =========================================
   PRODUCT SLIDER (Left Hero)
   ========================================= */
.product-slider {
    background: #FAF8E8;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-slider .slides-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Product slide */
.product-slide {
    display: none;
    height: 100%;
    background: #FAF8E8;
    position: relative;
}

.product-slide.active {
    display: block;
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-slide-link {
    display: block;
    height: 100%;
}

.product-cta-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.slide-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.slide-labels span {
    font-size: 11px;
    font-weight: 700;
    color: #777;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.slide-body {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    overflow: hidden;
}

.slide-info {
    flex: 0 0 44%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-info h2 {
    font-size: 19px;
    font-weight: 800;
    color: #1b3a4b;
    margin-bottom: 14px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.features-list {
    list-style: none;
    margin-bottom: 20px;
}

.features-list li {
    font-size: 12.5px;
    color: #555;
    padding: 5px 0 5px 20px;
    position: relative;
    line-height: 1.4;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #00BCD4;
}

.btn-see-now {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #1b3a4b;
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: background 0.2s;
    align-self: flex-start;
}

.btn-see-now:hover {
    background: #1b9dce;
}

.slide-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100%;
}

.slide-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Slider Dots (shared) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 0 10px;
    flex-shrink: 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.dot.active {
    background: #1b3a4b;
    transform: scale(1.25);
}

.dot:hover {
    background: #1b9dce;
}

/* =========================================
   HERO RIGHT COLUMN
   ========================================= */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

/* Article Slider */
.article-slider {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #ccc;
}

.article-slider .slides-track {
    height: 100%;
    position: relative;
}

.article-slide {
    display: none;
    height: 100%;
}

.article-slide.active {
    display: block;
}

.article-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    padding: 0;
}

.article-dots .dot {
    background: rgba(255, 255, 255, 0.55);
}

.article-dots .dot.active {
    background: #fff;
    transform: scale(1.25);
}

/* Store Banner */
.store-banner {
    display: block;
    height: 220px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #5CE1E6;
}

.store-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

/* =========================================
   FEATURED PRODUCTS
   ========================================= */
.featured-products {
    padding: 60px 0 20px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    color: #222;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card {
    display: block;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.25s;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.card-img-wrap {
    position: relative;
    background: #FAFAF5;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .card-img-wrap img {
    transform: scale(1.04);
}

.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: color 0.2s, background 0.2s;
}

.wishlist-btn:hover {
    color: #e53935;
    background: #fff;
}

.badge-new {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #43a047;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.8px;
}

.card-info {
    padding: 10px 12px 12px;
}

.product-name {
    font-size: 13.5px;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
}

.product-price {
    font-size: 15px;
    font-weight: 700;
    color: #E65100;
}

/* =========================================
   RELATED ARTICLES
   ========================================= */
.related-articles {
    padding: 20px 0 48px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .product-slider {
        min-height: 340px;
        height: auto;
    }

    .product-slider .slides-track {
        min-height: 280px;
    }

    .hero-right {
        height: auto;
    }

    .article-slider {
        min-height: 200px;
    }

    .main-nav {
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .logo-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .header-top {
        gap: 12px;
    }
}

/* =========================================
   INTRODUCTION PAGE
   ========================================= */
.page-section {
    padding: 36px 0 60px;
}

.page-title {
    font-size: 26px;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.page-title .highlight {
    color: #1b9dce;
}

.title-underline {
    width: 44px;
    height: 4px;
    background: #1b9dce;
    margin-bottom: 24px;
    border-radius: 2px;
}

.intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    max-width: 860px;
}

.intro-text .highlight {
    color: #1b9dce;
    font-weight: 600;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 860px;
    border-radius: 4px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================
   PRODUCT PAGE
   ========================================= */
.products-page-section {
    padding: 36px 0 60px;
}

.products-page-title {
    font-size: 26px;
    font-weight: 800;
    color: #222;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.products-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-pg-card {
    background: #fef3dc;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-pg-card .pg-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 18px 18px 10px;
    background: #fef3dc;
}

.product-pg-card .pg-card-body {
    padding: 4px 16px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.product-pg-card .pg-product-name {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-pg-card .pg-product-price {
    font-size: 22px;
    font-weight: 800;
    color: #1b9dce;
    margin-bottom: 14px;
}

.pg-card-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-pg-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1b9dce;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-pg-view:hover {
    background: #1b7aaa;
}

.btn-pg-order {
    background: #1b9dce;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-pg-order:hover {
    background: #1b7aaa;
}

.badge-pg-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #43a047;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: 0.8px;
}

@media (max-width: 860px) {
    .products-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .products-page-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   STORE PAGE
   ========================================= */
.store-page {
    padding: 28px 0 60px;
}

.store-page-title {
    font-size: 20px;
    font-weight: 800;
    color: #222;
    margin-bottom: 28px;
}

.store-page-title .title-accent {
    color: #1b9dce;
}

.store-search-card {
    background: #f7fbfd;
    border: 1px solid #dceef5;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
}

.store-search-title {
    font-size: 16px;
    font-weight: 700;
    color: #1b3a4b;
    margin-bottom: 12px;
}

.store-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.store-search-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334;
}

.store-search-field input,
.store-search-field select {
    width: 100%;
    height: 40px;
    border: 1px solid #d0dbe2;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.store-search-field select {
    appearance: none;
    background-color: #fff;
    background-image: linear-gradient(45deg, transparent 50%, #5e7482 50%), linear-gradient(135deg, #5e7482 50%, transparent 50%);
    background-position: calc(100% - 18px) 17px, calc(100% - 12px) 17px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.store-search-field input:focus,
.store-search-field select:focus {
    border-color: #1b9dce;
    box-shadow: 0 0 0 3px rgba(27, 157, 206, 0.14);
}

.store-search-field input:disabled,
.store-search-field select:disabled {
    background: #f3f6f8;
    color: #96a0a9;
    cursor: not-allowed;
}

.store-search-btn {
    height: 40px;
    border: none;
    border-radius: 8px;
    background: #1b3a4b;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 0 18px;
    transition: background 0.2s;
}

.store-search-btn:hover {
    background: #1b9dce;
}

.store-search-hint {
    margin-top: 10px;
    font-size: 12.5px;
    color: #61707d;
}

.store-result-meta {
    margin-bottom: 14px;
    font-size: 14px;
    color: #2b3f4d;
}

.store-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.city-section {
    margin-bottom: 36px;
}

.city-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
    padding-bottom: 6px;
    position: relative;
}

.city-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: #1b9dce;
    border-radius: 2px;
}

.store-card {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 14px;
}

.store-name {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.store-address {
    font-size: 14px;
    line-height: 1.55;
    color: #3a3a3a;
}

.store-empty {
    border: 1px dashed #c9d7df;
    border-radius: 8px;
    padding: 14px;
    font-size: 14px;
    color: #5f6d78;
    background: #fbfdff;
}

.store-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.store-info-item:last-child {
    margin-bottom: 0;
}

.icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.icon-red    { background: #e53935; }
.icon-green  { background: #43a047; }
.icon-blue   { background: #1e88e5; }
.icon-email  { background: #e53935; }

@media (max-width: 860px) {
    .store-search-form {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ARTICLE PAGE
   ========================================= */
.articles-page {
    padding: 28px 0 60px;
}

.articles-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #222;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.article-img-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.article-card:hover .article-img-wrap img {
    transform: scale(1.04);
}

.article-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(27, 42, 60, 0.88);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.article-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 14px 14px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.72));
}

.article-img-line {
    width: 36px;
    height: 3px;
    background: #00BCD4;
    margin-bottom: 8px;
    border-radius: 2px;
}

.article-img-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.article-caption {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    line-height: 1.5;
}

@media (max-width: 680px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-page {
    padding: 28px 0 60px;
}

.contact-page-title {
    font-size: 20px;
    font-weight: 800;
    color: #222;
    margin-bottom: 22px;
}

.contact-page-title .title-accent {
    color: #1b9dce;
}

.contact-group-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

.contact-misc {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    padding-left: 4px;
}

/* =========================================
   PRODUCT DETAIL PAGE
   ========================================= */
.product-detail-section {
    padding: 32px 0 64px;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 13px;
    color: #888;
}

.product-breadcrumb a {
    color: #555;
    transition: color 0.2s;
}

.product-breadcrumb a:hover {
    color: #1b9dce;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
}

/* Gallery */
.product-gallery-main {
    background: #f7f7f2;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    cursor: zoom-in;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 28px;
    transition: opacity 0.15s ease;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-thumb {
    width: 74px;
    height: 74px;
    object-fit: contain;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    background: #f7f7f2;
    padding: 6px;
    transition: border-color 0.2s;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: #1b9dce;
}

/* Product info */
.product-detail-title {
    font-size: 26px;
    font-weight: 800;
    color: #1b3a4b;
    margin-bottom: 6px;
    line-height: 1.25;
}

.product-detail-code {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.product-detail-code strong {
    color: #555;
}

.product-detail-rating {
    color: #f5a623;
    font-size: 19px;
    margin-bottom: 12px;
    letter-spacing: 3px;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 800;
    color: #E65100;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.product-detail-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 18px 0;
}

/* Description */
.product-detail-desc {
    margin-bottom: 20px;
}

.desc-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.product-detail-desc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-detail-desc ul li {
    font-size: 14px;
    color: #555;
    padding: 5px 0 5px 22px;
    position: relative;
    line-height: 1.55;
}

.product-detail-desc ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00BCD4;
}

/* Color Options */
.product-detail-colors {
    margin-bottom: 20px;
}

.color-option-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.color-swatches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid transparent;
    outline: 2px solid #ddd;
    outline-offset: 2px;
    cursor: pointer;
    transition: outline-color 0.2s, transform 0.2s;
}

.color-swatch:hover,
.color-swatch.active {
    outline-color: #1b9dce;
    transform: scale(1.15);
}

/* Quantity */
.product-detail-qty {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.qty-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: none;
    font-size: 18px;
    color: #444;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1.5px solid #ddd;
    border-right: 1.5px solid #ddd;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Action Buttons */
.product-detail-actions {
    display: flex;
    gap: 14px;
    align-items: stretch;
}

.btn-add-cart {
    flex: 1;
    padding: 13px 20px;
    background: #fff;
    color: #1b9dce;
    border: 2px solid #1b9dce;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
}

.btn-add-cart:hover {
    background: #1b9dce;
    color: #fff;
}

.btn-buy-now {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    background: #1b3a4b;
    color: #fff;
    border: 2px solid #1b3a4b;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    letter-spacing: 0.3px;
}

.btn-buy-now:hover {
    background: #1b9dce;
    border-color: #1b9dce;
}

.pg-card-actions form {
    margin: 0;
}

@media (max-width: 860px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-gallery-main {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .product-detail-title {
        font-size: 22px;
    }

    .product-detail-price {
        font-size: 26px;
    }

    .product-detail-actions {
        flex-direction: column;
    }

    .product-thumb {
        width: 60px;
        height: 60px;
    }
}

/* =========================================
   ARTICLE DETAIL PAGE
   ========================================= */
.article-detail-section {
    padding: 36px 0 64px;
}

.article-detail-header {
    max-width: 820px;
    margin: 0 auto 28px;
}

.article-detail-tag {
    display: inline-block;
    background: #1b3a4b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 3px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.article-detail-title {
    font-size: 28px;
    font-weight: 800;
    color: #1b3a4b;
    line-height: 1.3;
    margin-bottom: 12px;
}

.article-detail-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 0;
}

.article-detail-hero {
    max-width: 820px;
    margin: 0 auto 32px;
    border-radius: 10px;
    overflow: hidden;
}

.article-detail-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.article-detail-body {
    max-width: 820px;
    margin: 0 auto;
    font-size: 15.5px;
    line-height: 1.9;
    color: #333;
}

.article-detail-body h2 {
    font-size: 20px;
    font-weight: 800;
    color: #1b3a4b;
    margin: 28px 0 12px;
}

.article-detail-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1b3a4b;
    margin: 22px 0 10px;
}

.article-detail-body p {
    margin-bottom: 16px;
}

.article-detail-body ul,
.article-detail-body ol {
    padding-left: 22px;
    margin-bottom: 16px;
}

.article-detail-body li {
    margin-bottom: 8px;
}

.article-detail-body .highlight-box {
    background: #e8f4f8;
    border-left: 4px solid #1b9dce;
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    margin: 20px 0;
}

.article-detail-back {
    max-width: 820px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.btn-back-article {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1b9dce;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-back-article:hover {
    color: #1b3a4b;
}

@media (max-width: 700px) {
    .article-detail-title {
        font-size: 22px;
    }

    .article-detail-hero img {
        height: 240px;
    }
}

/* =========================================
   DOCUMENTS PAGE
   ========================================= */
.documents-page {
    padding: 28px 0 60px;
}

.documents-page-title {
    font-size: 20px;
    font-weight: 800;
    color: #222;
    margin-bottom: 28px;
}

.documents-page-title .title-accent {
    color: #1b9dce;
}

.documents-group {
    margin-bottom: 36px;
}

.documents-group:last-child {
    margin-bottom: 0;
}

.documents-group-title {
    font-size: 16px;
    font-weight: 700;
    color: #1b3a4b;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
    padding-bottom: 6px;
    position: relative;
}

.documents-group-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: #1b9dce;
    border-radius: 2px;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.document-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px 22px;
    flex-wrap: wrap;
}

.document-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.document-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #e53935;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.document-name {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
}

.document-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.document-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.document-btn-view {
    background: #fff;
    border-color: #1b9dce;
    color: #1b9dce;
}

.document-btn-view:hover {
    background: #eaf6fc;
}

.document-btn-download {
    background: #1b3a4b;
    color: #fff;
}

.document-btn-download:hover {
    background: #1b9dce;
}

@media (max-width: 640px) {
    .document-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .document-actions {
        width: 100%;
    }

    .document-btn {
        flex: 1;
        justify-content: center;
    }
}
