:root {
    --primary-500: #FA8232;
    --secondary-500: #2DA5F3;
    --secondary-600: #2484C2;
    --secondary-700: #1B6392;
    --blue-main: #0B9AF3;
    --blue-grad-start: #0A96ED;
    --blue-grad-end: #0165A3;
    --gray-00: #FFFFFF;
    --gray-50: #F2F4F5;
    --gray-100: #E4E7E9;
    --gray-300: #ADB7BC;
    --gray-500: #77878F;
    --gray-600: #5F6C72;
    --gray-700: #475156;
    --gray-900: #191C1F;
    --warning-400: #EFD33D;
    --warning-500: #EBC80C;
    --danger-500: #EE5858;
    --font-body: 'Public Sans', sans-serif;
    --font-display: 'Racing Sans One', cursive;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */
.header {
    background: var(--blue-main);
    height: 88px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(11,154,243,0.3);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    font-family: var(--font-display);
    font-size: 42px;
    color: #fff;
    letter-spacing: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-bar {
    flex: 1;
    max-width: 580px;
    height: 46px;
    background: #fff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin: 0 auto;
}

    .search-bar input {
        flex: 1;
        border: none;
        outline: none;
        font-family: var(--font-body);
        font-size: 14px;
        color: var(--gray-500);
    }

    .search-bar button {
        background: none;
        border: none;
        cursor: pointer;
        color: var(--gray-900);
        display: flex;
        align-items: center;
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-right: clamp(0px, 8vw, 120px);
}

.header-icon-btn {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s;
}

    .header-icon-btn:hover {
        transform: scale(1.1);
    }

.cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #fff;
    border: 1.5px solid var(--secondary-700);
    border-radius: 100px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--secondary-700);
}

/* NAVBAR */
.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 64px;
    position: sticky;
    z-index: 999;
}

.navbar-inner {
    width: 100%;
    max-width: 75%;
    margin: 0 auto;
    padding: 0 48px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gray-50);
    border-radius: 2px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-900);
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

    .nav-category-btn:hover {
        background: var(--gray-100);
    }

.nav-links {
    display: flex;
    align-items: center;
    flex: 1;
    padding-left: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    font-size: 13px;
    color: var(--gray-600);
    white-space: nowrap;
    height: 64px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

    .nav-link:hover {
        color: var(--blue-main);
        border-bottom-color: var(--blue-main);
    }

.nav-hotline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    flex-shrink: 0;
}

/* HERO */
.hero {
    padding: 32px 48px;
    display: flex;
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-main-banner {
    flex: 1;
    min-height: 460px;
    background: #fff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.hero-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #daeeff 100%);
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}
.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.hero-dot.active {
    background: #fff;
    transform: scale(1.25);
}
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.75);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a202c;
    transition: background 0.2s;
}
.hero-slider-arrow:hover { background: #fff; }
.hero-slider-prev { left: 14px; }
.hero-slider-next { right: 14px; }

.hero-banner-content {
    position: relative;
    z-index: 2;
    padding: 48px 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 380px;
}

.hero-caption {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-caption-line {
    width: 24px;
    height: 2px;
    background: var(--secondary-500);
}

.hero-caption-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary-600);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title {
    font-family: var(--font-body);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.05;
    color: var(--gray-900);
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.6;
}

.hero-price-badge {
    position: absolute;
    top: 48px;
    right: 130px;
    width: 84px;
    height: 84px;
    background: var(--secondary-500);
    border: 4px solid #fff;
    border-radius: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 6px 20px rgba(45,165,243,0.45);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-price-badge span {
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

    .hero-dot.active {
        background: var(--gray-900);
        transform: scale(1.2);
    }

/* SIDE BANNERS */
.hero-side {
    width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-side-top {
    /* background: linear-gradient(180deg, var(--blue-grad-start) 0%, var(--blue-grad-end) 100%); */
    border-radius: 8px;
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-side-badge {
    display: inline-block;
    background: var(--warning-400);
    color: var(--gray-900);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
    width: fit-content;
}

.hero-side-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--warning-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.hero-side-title {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    max-width: 150px;
    margin-bottom: 14px;
}

.hero-side-bottom {
    background: #fff;
    border-radius: 8px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 220px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    flex: 1;
}

.hero-side-bottom-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
    margin-bottom: 8px;
}

.hero-side-bottom-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-500);
    margin-bottom: 14px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 3px;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-500);
    color: #fff;
    padding: 0 28px;
    height: 52px;
    font-size: 14px;
}

    .btn-primary:hover {
        background: #e6731f;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(250,130,50,0.4);
    }

.btn-primary-sm {
    background: var(--primary-500);
    color: #fff;
    padding: 0 20px;
    height: 44px;
    font-size: 12px;
    border-radius: 2px;
}

    .btn-primary-sm:hover {
        background: #e6731f;
    }

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-500);
    background: none;
    border: none;
    cursor: pointer;
    transition: gap 0.2s;
    white-space: nowrap;
}

    .btn-link:hover {
        gap: 10px;
    }

/* FEATURES */
.features {
    padding: 0 48px 28px;
}

.features-inner {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    max-width: 1344px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    flex: 1;
}

.feature-icon {
    color: var(--blue-main);
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-900);
    margin-bottom: 2px;
    letter-spacing: 0.04em;
}

.feature-info p {
    font-size: 12px;
    color: var(--gray-600);
}

.feature-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-100);
    flex-shrink: 0;
}

/* SECTIONS */
.page-body {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
}

.countdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown-label {
    font-size: 13px;
    color: #000;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-500);
    color: #fff;
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

    .countdown-timer .sep {
        opacity: 0.7;
    }

/* PRODUCT GRIDS */
.products-grid-featured {
    display: grid;
    grid-template-columns: 280px repeat(4, 1fr);
    gap: 14px;
    align-items: start;
}

.small-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2,1fr) !important;
    }
}

.product-card-large {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

    .product-card-large:hover {
        box-shadow: 0 8px 28px rgba(0,0,0,0.11);
        transform: translateY(-2px);
    }

    .product-card-large .product-image-wrap {
        padding: 20px;
        background: var(--gray-50);
        height: 240px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.product-placeholder {
    background: linear-gradient(135deg, #e8f4fd 0%, #cce8fa 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

    .product-placeholder svg {
        width: 70px;
        height: 70px;
        opacity: 0.25;
        color: var(--secondary-500);
    }

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-sale {
    background: var(--warning-400);
    color: var(--gray-900);
}

.badge-hot {
    background: var(--danger-500);
    color: #fff;
}

.product-card-large .product-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.star {
    fill: var(--warning-500);
    color: var(--warning-500);
}

    .star.empty {
        fill: var(--gray-200);
    }

.review-count {
    font-size: 11px;
    color: var(--gray-500);
    margin-left: 3px;
}

.product-name {
    font-size: 14px;
    color: var(--gray-900);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 13px;
    color: var(--gray-300);
    text-decoration: line-through;
}

.price-new {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary-500);
}

.product-desc {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary-500);
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 11px 16px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    margin-top: 2px;
    transition: background 0.2s, transform 0.2s;
}

    .product-add-btn:hover {
        background: #e6731f;
        transform: translateY(-1px);
    }

.product-card-small {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 2px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

    .product-card-small:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.09);
        transform: translateY(-2px);
    }

    .product-card-small .product-image-wrap {
        height: 130px;
        padding: 10px;
        background: var(--gray-50);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-card-small .product-body {
        padding: 10px 12px;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .product-card-small .product-name {
        font-size: 13px;
        -webkit-line-clamp: 1;
    }

    .product-card-small .price-new {
        font-size: 13px;
    }

/* CATEGORY */
.category-section {
    padding: 40px 0;
    background: #fff;
}

.category-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 32px;
}

.category-slider-wrap {
    position: relative;
    padding: 0 80px;
    max-width: 1440px;
    margin: 0 auto;
}

.category-viewport {
    overflow: hidden;
    width: 100%;
}

.category-grid {
    display: flex;
    gap: 14px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-arrow:disabled {
    background: var(--gray-300);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.5;
    transform: translateY(-50%);
}

.category-item {
    flex: 0 0 185px;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

    .category-item:hover {
        border-color: var(--blue-main);
        box-shadow: 0 4px 20px rgba(11,154,243,0.15);
        transform: translateY(-3px);
    }

    .category-item.active {
        border-color: var(--blue-main);
        box-shadow: 0 4px 20px rgba(11,154,243,0.15);
    }

        .category-item.active .category-name {
            color: var(--blue-main);
        }

    .category-item:hover .category-name {
        color: var(--blue-main);
    }

.category-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e8f4fd 0%, #cce8fa 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .category-placeholder svg {
        width: 52px;
        height: 52px;
        color: var(--secondary-500);
        opacity: 0.5;
    }

.category-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-900);
    text-align: center;
    transition: color 0.2s;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--primary-500);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #fff;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(250,130,50,0.35);
}

    .slider-arrow:hover:not(:disabled) {
        background: #e6731f;
        transform: translateY(-50%) scale(1.05);
    }

    .slider-arrow:hover {
        background: #e6731f;
        transform: translateY(-50%) scale(1.05);
    }

    /* DISABLED STATE */
    .slider-arrow:disabled {
        background: var(--gray-300);
        box-shadow: none;
        cursor: not-allowed;
        opacity: 0.5;
        transform: translateY(-50%);
    }

.slider-arrow-left {
    left: 16px;
}

.slider-arrow-right {
    right: 16px;
}

/* BENEFITS */
.benefits-section {
    width: 100%;
    overflow: hidden;
    line-height: 0; /* loại bỏ khoảng trắng thừa dưới ảnh */
}

.benefits-link {
    display: block;
    width: 100%;
}

.benefits-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.benefits-text {
    font-size: 17px;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
}

/* REVIEWS */
.reviews-section {
    background: #fff;
    padding: 48px 0;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 24px;
    padding: 16px 48px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

    .reviews-track::-webkit-scrollbar {
        display: none;
    }

.review-card {
    flex: 0 0 680px;
    background: #fff;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.14);
    border-radius: 20px;
    padding: 32px 32px 32px 40px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}

    .review-card:hover {
        box-shadow: 4px 8px 24px rgba(0,0,0,0.16);
    }

.review-avatar {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8f4fd, #cce8fa);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .review-avatar svg {
        width: 60px;
        height: 60px;
        color: var(--secondary-500);
        opacity: 0.5;
    }

.review-body {
    flex: 1;
}

.reviewer-name {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 13px;
    color: #333;
    line-height: 1.75;
}

/* BRAND BANNER */
.brand-banner-wrap {
    background: var(--gray-50);
    padding: 16px 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.brand-banner {
    background: var(--blue-main);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
}

.brand-banner-content {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.brand-tag {
    display: inline-flex;
    background: rgba(255,255,255,0.18);
    color: #fff;
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 64px;
    color: #fff;
    line-height: 0.95;
    letter-spacing: 2px;
}

.brand-slogan {
    font-size: 19px;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
}

.brand-image-side {
    width: 400px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FEATURED PRODUCTS */
.featured-products {
    padding: 40px 48px;
    background: #f9fbfd;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1344px;
    margin: 0 auto;
}

.featured-column h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-100);
}

.featured-product-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 3px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

    .featured-product-item:hover {
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }

.featured-thumb-placeholder {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8f4fd, #cce8fa);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .featured-thumb-placeholder svg {
        width: 36px;
        height: 36px;
        color: var(--secondary-500);
        opacity: 0.5;
    }

.featured-product-name {
    font-size: 12px;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 5px;
}

.featured-product-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary-500);
}

/* NEWSLETTER */
.newsletter {
    background: var(--blue-main);
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.newsletter-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.72);
    text-align: center;
    line-height: 1.75;
    max-width: 780px;
}

.newsletter-form {
    background: #fff;
    border-radius: 3px;
    padding: 10px;
    display: flex;
    gap: 0;
    width: 560px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-900);
    padding: 0 14px;
    background: transparent;
}

    .newsletter-input::placeholder {
        color: var(--gray-500);
    }

.newsletter-btn {
    background: var(--primary-500);
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 0 20px;
    height: 44px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    white-space: nowrap;
}

    .newsletter-btn:hover {
        background: #e6731f;
    }

/* FOOTER */
.footer {
    background: var(--blue-main);
    color: #fff;
    padding: 52px 48px 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1344px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 30px;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 14px;
    display: block;
}

.footer-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

    .social-btn:hover {
        background: var(--blue-main);
    }

.footer-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-link-policy:hover {
    color: #ffeb00;
}

.footer-link {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    max-width: 1344px;
    margin: 0 auto;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.45s ease forwards;
}

/* CART DROPDOWN */
.cart-wrap {
    position: relative;
}

.cart-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    right: 0px;
    width: 320px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    overflow: hidden;
    cursor: default;
}

.cart-dropdown.open {
    display: block;
    animation: fadeInDown 0.18s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cart-dropdown-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-dropdown-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
}

.cart-dropdown-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
}

.cart-items {
    max-height: 260px;
    overflow-y: auto;
    padding: 8px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    transition: background 0.15s;
}

.cart-item:hover {
    background: var(--gray-50);
}

.cart-item-thumb {
    width: 56px;
    height: 56px;
    background: var(--gray-50);
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-thumb svg {
    width: 44px;
    height: 44px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 12px;
    color: var(--gray-500);
}

.cart-item-price span {
    color: var(--secondary-500);
    font-weight: 600;
}

.cart-item-remove {
    width: 24px;
    height: 24px;
    border: 1px solid var(--gray-100);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-500);
    flex-shrink: 0;
    transition: border-color 0.15s, color 0.15s;
}

.cart-item-remove:hover {
    border-color: var(--danger-500);
    color: var(--danger-500);
}

.cart-footer {
    border-top: 1px solid var(--gray-100);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0 6px;
}

.cart-total-label {
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}

.cart-total-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: var(--primary-500);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 3px;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-checkout:hover {
    background: #e07020;
    color: #fff;
}

.btn-view-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1.5px solid var(--primary-500);
    color: var(--primary-500);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.btn-view-cart:hover {
    background: var(--primary-500);
    color: #fff;
}

/* =====================
   CART PAGE
   ===================== */
.cart-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* Breadcrumb */
.breadcrumb-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    font-size: 13px;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 24px;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumb-link:hover {
    color: var(--secondary-500);
}

.breadcrumb-sep {
    color: var(--gray-300);
    font-size: 16px;
}

.breadcrumb-current {
    color: var(--gray-900);
    font-weight: 500;
}

/* Cart Items */
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cart-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.cart-row-img {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    background: var(--gray-50);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-row-img-placeholder {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-row-img-placeholder svg {
    width: 100%;
    height: 100%;
}

.cart-row-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-row-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.rating-count {
    font-size: 12px;
    color: var(--gray-500);
}

.cart-row-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-row-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 2px;
}

.meta-item {
    font-size: 13px;
    color: var(--gray-600);
}

.meta-warranty {
    font-size: 13px;
    color: var(--gray-600);
}

.meta-warranty strong {
    color: #22c55e;
    font-weight: 600;
}

.cart-row-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-500);
    margin-top: 6px;
}

.cart-row-qty {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-top: 4px;
}

.qty-label {
    font-size: 13px;
    color: var(--gray-600);
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: var(--gray-50);
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    line-height: 1;
}

.qty-btn:hover {
    background: var(--gray-100);
}

.qty-input {
    width: 44px;
    height: 32px;
    border: none;
    border-left: 1px solid var(--gray-100);
    border-right: 1px solid var(--gray-100);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--gray-900);
    background: #fff;
    outline: none;
}

/* Cart Total Row */
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 32px;
}

.cart-total-row-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.cart-total-row-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-500);
}

/* Checkout Form */
.checkout-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.checkout-delivery {
    margin-top: 8px;
}

.checkout-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-500);
    margin-bottom: 14px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.form-input {
    width: 100%;
    height: 40px;
    border: 1px solid var(--gray-100);
    border-radius: 3px;
    padding: 0 12px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gray-700);
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
    margin-bottom: 10px;
    display: block;
}

.form-input:focus {
    border-color: var(--secondary-500);
}

.form-input::placeholder {
    color: var(--gray-300);
}

.form-select {
    width: 100%;
    height: 40px;
    border: 1px solid var(--gray-100);
    border-radius: 3px;
    padding: 0 12px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gray-700);
    outline: none;
    background: #fff;
    cursor: pointer;
    appearance: auto;
    transition: border-color 0.2s;
}

.form-select:focus {
    border-color: var(--secondary-500);
}

.form-textarea {
    width: 100%;
    height: 86px;
    border: 1px solid var(--gray-100);
    border-radius: 3px;
    padding: 10px 12px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gray-700);
    outline: none;
    resize: none;
    margin-top: 10px;
    transition: border-color 0.2s;
}

.form-textarea:focus {
    border-color: var(--secondary-500);
}

.form-textarea::placeholder {
    color: var(--gray-300);
}

.voucher-row {
    display: flex;
    gap: 0;
}

.voucher-row .form-input {
    border-radius: 3px 0 0 3px;
    margin-bottom: 0;
    flex: 1;
}

.btn-voucher {
    height: 40px;
    padding: 0 16px;
    background: var(--secondary-500);
    color: #fff;
    border: none;
    border-radius: 0 3px 3px 0;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-voucher:hover {
    background: var(--secondary-600);
}

/* Order Summary */
.order-summary {
    border: 1px solid var(--gray-100);
    border-radius: 4px;
    padding: 16px 20px;
    margin-top: 30px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-700);
}

.order-summary-row.total {
    font-weight: 700;
    font-size: 15px;
    color: var(--gray-900);
    padding-top: 12px;
}

.order-final-price {
    color: var(--primary-500);
    font-size: 16px;
}

.order-summary-divider {
    border-top: 1px solid var(--gray-100);
    margin: 4px 0;
}

/* Submit */
.checkout-submit {
    display: flex;
    justify-content: center;
    padding: 8px 0 24px;
}

.btn-pay {
    padding: 14px 80px;
    background: var(--primary-500);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-pay:hover {
    background: #e07020;
}

/* =====================
   PRODUCT DETAIL PAGE
   ===================== */
.pd-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* --- Top section --- */
.pd-top {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    padding: 24px 0 32px;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 40px;
}

/* Gallery */
.pd-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-main-img {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    background: var(--gray-50);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pd-main-img svg {
    width: 75%;
    height: 75%;
}

.pd-thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-thumbs-viewport {
    flex: 1;
    overflow: hidden;
}

.pd-thumbs {
    display: flex;
    gap: 8px;
    transition: transform 0.3s ease;
}

.pd-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border: 2px solid var(--gray-100);
    border-radius: 6px;
    cursor: pointer;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
    overflow: hidden;
}

.pd-thumb svg {
    width: 48px;
    height: 48px;
}

.pd-thumb:hover {
    border-color: var(--secondary-500);
}

.pd-thumb.active {
    border-color: var(--primary-500);
}

.pd-thumb-arrow {
    width: 28px;
    height: 28px;
    border: 1px solid var(--gray-100);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-600);
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.pd-thumb-arrow:hover {
    background: var(--gray-50);
    color: var(--gray-900);
}

/* Info panel */
.pd-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.5;
}

.pd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.pd-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.pd-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-500);
}

.pd-price-old {
    font-size: 14px;
    color: var(--gray-300);
    text-decoration: line-through;
}

.pd-badge-discount {
    background: #fef3c7;
    color: #d97706;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

.pd-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 0;
}

.pd-features li {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.5;
    padding-left: 14px;
    position: relative;
}

.pd-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-500);
    font-weight: 700;
}

.pd-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.pd-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pd-btn-row {
    display: flex;
    gap: 10px;
}

.btn-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--secondary-500);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
    border: none;
}

.btn-add-cart:hover {
    background: var(--secondary-600);
    color: #fff;
}

.btn-buy-now {
    flex: 0 0 auto;
    padding: 12px 24px;
    background: var(--primary-500);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border: none;
}

.btn-buy-now:hover {
    background: #e07020;
    color: #fff;
}

.btn-consult {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 2px solid var(--primary-500);
    color: var(--primary-500);
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-body);
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
}

.btn-consult:hover {
    background: var(--primary-500);
    color: #fff;
}

/* --- Body: desc + trust --- */
.pd-body {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 40px;
    align-items: start;
    margin-bottom: 48px;
}

/* Description */
.pd-desc-header {
    margin-bottom: 16px;
}

.pd-desc-badge {
    display: inline-block;
    background: var(--secondary-500);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 3px;
    letter-spacing: 0.02em;
}

.pd-desc-col {
    position: relative;
}

.pd-desc-content {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.8;
    transition: max-height 0.4s ease;
}

.pd-desc-content p {
    margin-bottom: 10px;
}

.pd-desc-content ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.pd-desc-content li {
    margin-bottom: 4px;
}

.pd-desc-content figure {
    text-align: center;
    margin: 16px 0;
}

.pd-desc-content figure img {
    max-width: 100%;
    border-radius: 4px;
}

.pd-desc-content figure figcaption {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 6px;
}

.pd-desc-fade {
    position: absolute;
    bottom: 44px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
}

.pd-desc-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: var(--primary-500);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.2s;
}

.pd-desc-toggle:hover {
    background: #e07020;
}

/* Trust box */
.pd-trust-wrap {
    position: relative;
}

.pd-trust {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    padding: 20px 18px;
    transition: transform 0.1s linear;
}

.pd-trust-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.pd-trust-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0px
}

.pd-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.4;
}

.pd-trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Reviews --- */
.pd-reviews {
    border-top: 1px solid var(--gray-100);
    padding-top: 32px;
}

.pd-reviews-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.review-form {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-form-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.review-form-row .form-input {
    flex: 1;
    margin-bottom: 0;
}

.review-stars {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
}

.rev-star {
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-200, #e4e7e9);
    transition: color 0.15s;
    line-height: 1;
    user-select: none;
}

.rev-star.active {
    color: #FA8232;
}

.btn-review-submit {
    align-self: flex-start;
    padding: 10px 28px;
    background: var(--primary-500);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-review-submit:hover {
    background: #e07020;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.review-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--gray-100);
    border-top: none;
    background: #fff;
}

.review-item:first-child {
    border-top: 1px solid var(--gray-100);
    border-radius: 6px 6px 0 0;
}

.review-item:last-child {
    border-radius: 0 0 6px 6px;
}

.review-item:nth-child(odd) {
    background: var(--gray-50);
}

.review-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.review-body {
    flex: 1;
    min-width: 0;
}

.review-author {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.review-text {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== FEATURED COLUMNS (4 cột sản phẩm nổi bật trang chủ) ===== */
.featured-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.featured-col {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    overflow: hidden;
}

.featured-col-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin: 0;
    padding: 14px 16px 12px;
    border-bottom: 2px solid #32b9fa;
    background: #f9f9f9;
}

.featured-col-products {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #eee;
}

.featured-col-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    transition: background 0.15s;
}

.featured-col-item:hover {
    background: #f9fbfd;
}

.featured-col-img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: #f0f7ff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-col-info {
    flex: 1;
    min-width: 0;
}

.featured-col-name {
    font-size: 12px;
    font-weight: 500;
    color: #222;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-col-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.featured-col-price-new {
    font-size: 13px;
    font-weight: 700;
    color: #FA8232;
}

.featured-col-price-old {
    font-size: 11px;
    color: #aaa;
    text-decoration: line-through;
}

.featured-col-badge {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #e53935;
    padding: 1px 5px;
    border-radius: 3px;
}

@media (max-width: 1200px) {
    .featured-columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .featured-columns-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   RESPONSIVE — 3 breakpoints: 960px | 480px | 1440px+
   ================================================ */

/* ── TABLET: ≤960px ── */
@media (max-width: 960px) {
    /* === Header === */
    .header                 { height: 64px; }
    .header-inner           { padding: 0 20px; gap: 14px; }
    .logo                   { font-size: 32px; }
    .header-actions         { margin-right: 0; }           /* fix overflow */
    .search-bar             { height: 42px; max-width: none; }

    /* === Navbar === */
    .navbar                 { height: 52px !important; }
    .navbar-inner           { max-width: 100%; padding: 0 16px; }
    .nav-links              { display: none; }
    .nav-hotline            { display: none; }
    .nav-mobile-toggle      { display: flex !important; }
    .nav-category-btn       { font-size: 13px; padding: 8px 14px; }

    /* Dropdown full-width trên tablet */
    .dropdown-wrap          { left: 0; right: 0; top: 52px; width: 100%; }
    .dropdown-main          { width: 40%; min-width: 160px; }
    .dropdown-sub           { width: 60%; }
    .dropdown-promo         { display: none; }

    /* === Hero === */
    .hero                   { padding: 20px; flex-direction: column; gap: 16px; }
    .hero-main-banner       { min-height: 340px; width: 100%; }
    .hero-side              { width: 100%; flex-direction: row; gap: 16px; }
    .hero-side-top,
    .hero-side-bottom       { flex: 1; height: 200px; }
    .hero-title             { font-size: 38px; }
    .hero-banner-content    { padding: 32px; }

    /* === Features === */
    .features               { padding: 0 20px 20px; }
    .features-inner         { flex-wrap: wrap; }
    .feature-item           { flex: 0 0 calc(50% - 1px); }
    .feature-divider        { display: none; }

    /* === Page body & Sections === */
    .page-body              { padding: 0 20px; }
    .section                { padding: 32px 0; }
    .section-title          { font-size: 20px; }

    /* === Product grids (homepage) === */
    .products-grid-featured { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card-large .product-image-wrap { height: 200px; }

    /* === Featured columns === */
    .featured-columns-grid  { grid-template-columns: repeat(2, 1fr); }

    /* === Category slider === */
    .category-slider-wrap   { padding: 0 48px; }
    .category-item          { flex: 0 0 150px; }

    /* === Brand banner === */
    .brand-banner-wrap      { padding: 16px 20px; }
    .brand-banner-content   { padding: 48px 36px; gap: 16px; }
    .brand-image-side       { display: none; }
    .brand-name             { font-size: 48px; }

    /* === Featured products === */
    .featured-products      { padding: 40px 20px; }

    /* === Newsletter === */
    .newsletter             { padding: 48px 20px; gap: 16px; }
    .newsletter-form        { width: 100%; }
    .newsletter-title       { font-size: 24px; }

    /* === Footer === */
    .footer                 { padding: 48px 20px 24px; }
    .footer-grid            { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }

    /* === Cart page === */
    .cart-page              { padding: 0 20px 48px; }
    .checkout-form          { grid-template-columns: 1fr; gap: 20px; }
    .form-row-2             { grid-template-columns: 1fr 1fr; }
    .cart-row-img           { width: 110px; height: 110px; }
    .btn-pay                { padding: 14px 56px; }

    /* === Product detail === */
    .pd-page                { padding: 0 20px 56px; }
    .pd-top                 { grid-template-columns: 1fr; gap: 24px; }
    .pd-body                { grid-template-columns: 1fr; gap: 24px; }
    .pd-trust-wrap          { position: static; }
    .pd-gallery             { max-width: 440px; margin: 0 auto; }

    /* === Reviews === */
    .review-card            { flex: 0 0 480px; }

    /* === Breadcrumb (product-list.css) === */
    .breadcrumb-bar         { padding: 12px 20px !important; }
    .category-layout        { padding: 20px 20px; }
}

/* ── MOBILE: ≤480px ── */
@media (max-width: 480px) {
    /* === Header === */
    .header                 { height: 56px; }
    .header-inner           { padding: 0 12px; gap: 10px; }
    .logo                   { font-size: 24px; letter-spacing: 1px; }
    .header-actions         { margin-right: 0; }
    .search-bar             { height: 36px; }
    .search-bar input       { font-size: 13px; }

    /* === Navbar === */
    .navbar                 { height: 44px !important; }
    .navbar-inner           { padding: 0 10px; }
    .nav-category-btn       { font-size: 12px; padding: 6px 10px; gap: 5px; }

    /* Dropdown full-width trên mobile */
    .dropdown-wrap          { left: 0; right: 0; top: 44px; width: 100%; }
    .dropdown-main          { width: 45%; min-width: 0; }
    .dropdown-sub           { width: 55%; min-width: 0; }
    .dropdown-promo         { display: none; }

    /* === Hero: ẩn side, chỉ hiện banner chính === */
    .hero                   { padding: 10px; gap: 0; flex-direction: column; }
    .hero-side              { display: none; }
    .hero-main-banner       { min-height: 200px; width: 100%; border-radius: 6px; }
    .hero-title             { font-size: 24px; letter-spacing: -0.5px; }
    .hero-subtitle          { font-size: 13px; line-height: 1.5; }
    .hero-banner-content    { padding: 18px 20px 14px; max-width: 100%; gap: 12px; }
    .hero-price-badge       { width: 60px; height: 60px; right: 10px; top: 10px; }
    .hero-price-badge span  { font-size: 9px; }
    .hero-slider-arrow      { width: 28px; height: 28px; font-size: 18px; }

    /* === Features: 1 cột === */
    .features               { padding: 0 10px 12px; }
    .feature-item           { flex: 0 0 100%; }
    .feature-divider        { display: none; }

    /* === Page body & Sections === */
    .page-body              { padding: 0 10px; }
    .section                { padding: 24px 0; }
    .section-title          { font-size: 17px; }
    .section-header         { flex-direction: column; align-items: flex-start; gap: 8px; }

    /* === Product grids (homepage) === */
    .products-grid-featured { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card-large .product-image-wrap { height: 140px; padding: 8px; }
    .product-card-large .product-body       { padding: 10px 10px; }

    /* === Featured columns: 1 cột === */
    .featured-columns-grid  { grid-template-columns: 1fr; }

    /* === Category slider === */
    .category-slider-wrap   { padding: 0 32px; }
    .category-item          { flex: 0 0 120px; padding: 14px 8px; gap: 8px; }
    .category-section       { padding: 28px 0; }

    /* === Benefits === */
    .benefits-content-side  { padding: 28px 20px; gap: 12px; }
    .benefits-title         { font-size: 22px; }
    .benefits-text          { font-size: 14px; }

    /* === Brand banner === */
    .brand-banner-wrap      { padding: 12px 10px; }
    .brand-banner-content   { padding: 28px 20px; gap: 12px; }
    .brand-name             { font-size: 32px; }
    .brand-slogan           { font-size: 14px; }

    /* === Featured products === */
    .featured-products      { padding: 28px 10px; }

    /* === Newsletter === */
    .newsletter             { padding: 32px 12px; gap: 14px; }
    .newsletter-form        { flex-direction: column; gap: 8px; width: 100%; }
    .newsletter-btn         { justify-content: center; height: 42px; }
    .newsletter-title       { font-size: 18px; }
    .newsletter-desc        { font-size: 13px; }

    /* === Footer === */
    .footer                 { padding: 32px 12px 16px; }
    .footer-grid            { grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }

    /* === Cart page === */
    .cart-page              { padding: 0 10px 40px; }
    /* Cart items: stack ảnh lên trên */
    .cart-row               { flex-wrap: wrap; gap: 12px; }
    .cart-row-img           { width: 88px; height: 88px; flex-shrink: 0; }
    .cart-row-info          { flex: 1; min-width: 0; }
    .cart-row-qty           { width: 100%; display: flex; flex-direction: row;
                              align-items: center; justify-content: space-between;
                              padding-left: 0; padding-top: 4px; }
    /* Checkout form: 1 cột */
    .checkout-form          { grid-template-columns: 1fr; gap: 14px; }
    .form-row-2             { grid-template-columns: 1fr; gap: 8px; }
    .btn-pay                { padding: 14px 28px; font-size: 14px; width: 100%; }
    .checkout-submit        { padding: 4px 0 20px; }

    /* === Product detail === */
    .pd-page                { padding: 0 10px 36px; }
    .pd-gallery             { max-width: 100%; }
    .pd-name                { font-size: 15px; }
    .pd-price               { font-size: 20px; }
    .pd-btn-row             { flex-direction: column; }
    .btn-buy-now,
    .btn-add-cart           { justify-content: center; }
    .pd-thumb               { width: 52px; height: 52px; }

    /* === Reviews === */
    .review-card            { flex: 0 0 calc(100vw - 24px); padding: 20px 16px; }
    .review-avatar          { width: 80px; height: 80px; border-radius: 6px; }
    .reviews-track          { padding: 12px 12px; gap: 12px; }

    /* === Floating buttons === */
    .floating-contact       { bottom: 14px; right: 10px; gap: 8px; }
    .floating-hotline-icon  { width: 42px; height: 42px; }
    .floating-zalo img      { width: 42px; height: 42px; }
    .floating-label         { font-size: 10px; }

    /* === Breadcrumb === */
    .breadcrumb-bar         { padding: 10px 10px !important; }
    .category-layout        { padding: 14px 10px; }
}
