/* ===== Reset & Variables ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #d4a86a;
    --primary-dark: #c4954a;
    --accent: #e8c275;
    --accent-light: #f1d68f;
    --bg: #14110c;
    --bg-alt: #1d1812;
    --surface: #221c14;
    --surface-alt: #2a2218;
    --text: #ebe4d2;
    --text-light: #9c917a;
    --white: #ffffff;
    --border: #3a2f24;
    --success: #4caf50;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.65);
    --shadow-gold: 0 10px 30px rgba(212, 168, 106, 0.18);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

/* ===== Header ===== */
.header {
    background: var(--surface);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    gap: 32px;
}

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.logo-img {
    height: 56px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.logo:hover .logo-img {
    transform: scale(1.04);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text);
    position: relative;
    transition: var(--transition);
    font-size: 15px;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.icon-btn:hover {
    background: var(--accent);
    color: var(--bg);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: var(--bg);
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== Cart Dropdown ===== */
.cart-wrapper {
    position: relative;
}

.cart-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 360px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.25s;
    z-index: 1000;
    overflow: hidden;
}

.cart-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 18px;
    width: 16px;
    height: 16px;
    background: var(--surface);
    transform: rotate(45deg);
    box-shadow: -2px -2px 6px rgba(0, 0, 0, 0.04);
}

.cart-dropdown-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    position: relative;
    z-index: 1;
}

.cart-dropdown-header h4 {
    font-size: 16px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.cart-dropdown-count {
    font-size: 12px;
    color: var(--text-light);
}

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

.cart-dropdown-items::-webkit-scrollbar {
    width: 6px;
}

.cart-dropdown-items::-webkit-scrollbar-thumb {
    background: var(--bg-alt);
    border-radius: 3px;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 14px;
}

.cart-empty-icon {
    font-size: 40px;
    opacity: 0.4;
    margin-bottom: 10px;
}

.cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    padding: 12px 20px;
    align-items: center;
    transition: background 0.2s ease;
    animation: cartItemIn 0.3s ease backwards;
    overflow: hidden;
    max-height: 100px;
}

.cart-item:hover {
    background: var(--bg-alt);
}

.cart-item.removing {
    animation: cartItemOut 0.28s ease forwards;
    pointer-events: none;
}

@keyframes cartItemIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes cartItemOut {
    0% {
        opacity: 1;
        max-height: 100px;
    }
    100% {
        opacity: 0;
        transform: translateX(24px);
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.cart-item-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-alt);
}

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

.cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
}

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    background: var(--bg-alt);
    border-radius: 50px;
    overflow: hidden;
}

.cart-item-qty button {
    width: 22px;
    height: 22px;
    background: transparent;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cart-item-qty button:hover {
    background: rgba(0, 0, 0, 0.06);
}

.cart-item-qty span {
    min-width: 22px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.cart-item-remove {
    background: transparent;
    color: var(--text-light);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
    line-height: 1;
}

.cart-item-remove:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.08);
}

@media (max-width: 480px) {
    .cart-dropdown {
        width: calc(100vw - 32px);
        right: -8px;
    }
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--bg);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232, 194, 117, 0.3);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg);
}

.btn-white {
    background: var(--bg);
    color: var(--accent);
    border: 1px solid var(--primary);
}

.btn-white:hover {
    background: var(--accent);
    color: var(--bg);
}

.btn-full {
    width: 100%;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.15), transparent);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 169, 110, 0.15);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--accent);
    font-style: italic;
    white-space: nowrap;
    font-size: 0.9em;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

.hero-image {
    position: relative;
}

.hero-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
}

.hero-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--surface);
    padding: 20px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 16px;
    align-items: center;
}

.badge-discount {
    background: var(--accent);
    color: var(--bg);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.badge-text {
    font-weight: 600;
    color: var(--primary);
}

.badge-text small {
    font-weight: 400;
    color: var(--text-light);
    font-size: 12px;
}

/* ===== Features Bar ===== */
.features-bar {
    background: var(--surface);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 16px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* ===== Products ===== */
.products {
    padding: 100px 0;
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--bg-alt);
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
    position: relative;
    box-shadow: var(--shadow);
    will-change: transform, opacity;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card.is-hiding {
    opacity: 0;
    transform: scale(0.9) translateY(8px);
    pointer-events: none;
}

.product-card.is-revealing {
    animation: cardReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.product-card.is-collapsing {
    animation: cardCollapse 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: none;
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.94);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardCollapse {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(20px) scale(0.94);
    }
}

#viewAllBtn {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--bg);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.badge-hot {
    background: #e74c3c;
}

.badge-sale {
    background: var(--accent);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-alt);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 58, 79, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background: var(--surface);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
}

.product-card:hover .quick-view {
    transform: translateY(0);
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 18px;
    margin: 8px 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
}

.product-rating {
    color: #f5b301;
    font-size: 14px;
    margin-bottom: 12px;
}

.product-rating span {
    color: var(--text-light);
    margin-left: 4px;
}

.product-price {
    margin-bottom: 16px;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.price-old {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 14px;
    margin-left: 8px;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--bg-alt);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
}

.btn-add-cart:hover {
    background: var(--accent);
    color: white;
}

.view-more-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* ===== Collections ===== */
.collections {
    padding: 100px 0;
    background: var(--bg-alt);
}

.collections-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    height: 600px;
}

.collection-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.collection-large {
    grid-row: span 2;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.collection-card:hover img {
    transform: scale(1.05);
}

.collection-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 7, 4, 0.88));
    z-index: 1;
}

.collection-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: white;
    z-index: 2;
}

.collection-content span {
    font-size: 13px;
    opacity: 0.8;
}

.collection-content h3 {
    color: white;
    font-size: 28px;
    margin: 4px 0 8px;
}

.collection-large .collection-content h3 {
    font-size: 36px;
}

.collection-content p {
    margin-bottom: 12px;
    opacity: 0.9;
}

.collection-link {
    color: var(--accent-light);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.collection-card:hover .collection-link {
    transform: translateX(8px);
}

/* ===== Factory ===== */
.factory {
    padding: 100px 0;
}

.factory-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    height: 600px;
}

.factory-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.factory-large {
    grid-row: span 2;
}

.factory-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.factory-card:hover img {
    transform: scale(1.08);
}

.factory-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 7, 4, 0.94));
    z-index: 1;
    transition: var(--transition);
}

.factory-card:hover::before {
    background: linear-gradient(180deg, rgba(10, 7, 4, 0.25) 0%, rgba(10, 7, 4, 0.97));
}

.factory-overlay {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    color: white;
    z-index: 2;
}

.factory-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--bg);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.factory-overlay h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 6px;
}

.factory-overlay p {
    opacity: 0.9;
    font-size: 14px;
}

.factory-overlay-small {
    position: absolute;
    bottom: 18px;
    left: 20px;
    right: 20px;
    color: white;
    z-index: 2;
}

.factory-overlay-small h4 {
    color: white;
    font-size: 17px;
    font-weight: 600;
}

/* ===== Why Us ===== */
.why-us {
    padding: 100px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 14px;
    align-items: center;
    white-space: nowrap;
    z-index: 2;
}

.floating-icon {
    font-size: 32px;
}

.floating-card strong {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary);
    display: block;
}

.floating-card p {
    font-size: 13px;
    color: var(--text-light);
}

.why-us-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin: 16px 0 20px;
}

.why-intro {
    color: var(--text-light);
    margin-bottom: 36px;
    font-size: 16px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    min-width: 60px;
}

.why-item h4 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 18px;
    margin-bottom: 6px;
}

.why-item p {
    color: var(--text-light);
    font-size: 15px;
}

.why-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.why-feature-list li {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.55;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--surface);
    padding: 36px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testimonial-featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg);
    transform: scale(1.05);
}

.testimonial-featured h5 {
    color: var(--bg);
}

.testimonial-stars {
    color: #f5b301;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.testimonial-author h5 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    margin-bottom: 2px;
}

.testimonial-author small {
    font-size: 13px;
    opacity: 0.8;
}

/* ===== Promo Banner ===== */
.promo-banner {
    background: linear-gradient(135deg, var(--bg-alt) 0%, #0e0a05 100%);
    color: var(--text);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 194, 117, 0.18), transparent);
    border-radius: 50%;
}

.promo-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.promo-tag {
    display: inline-block;
    background: rgba(232, 194, 117, 0.15);
    border: 1px solid rgba(232, 194, 117, 0.35);
    color: var(--accent-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.promo-text h2 {
    color: var(--accent-light);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 16px;
}

.promo-text p {
    margin-bottom: 28px;
    opacity: 0.9;
    font-size: 16px;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.countdown-item {
    background: rgba(232, 194, 117, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 194, 117, 0.25);
    border-radius: var(--radius);
    padding: 20px 12px;
    text-align: center;
}

.countdown-num {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
}

.countdown-label {
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin: 16px 0 20px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 36px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 15px;
}

.contact-form {
    background: var(--surface-alt);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form h3 {
    margin-bottom: 24px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    background: var(--bg);
    color: var(--text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
}

/* ===== Newsletter ===== */
.newsletter {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--surface-alt) 100%);
    color: var(--text);
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter h3 {
    color: white;
    font-size: 26px;
    margin-bottom: 8px;
}

.newsletter p {
    opacity: 0.85;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: inherit;
    font-size: 15px;
    background: var(--bg);
    color: var(--text);
}

.newsletter-form input:focus {
    outline: none;
}

/* ===== Footer ===== */
.footer {
    background: #0a0805;
    border-top: 1px solid var(--border);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.logo-footer {
    margin-bottom: 20px;
}

.logo-footer .logo-img {
    height: 72px;
}

.footer-col p {
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: 600;
    color: white;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 17px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    transition: var(--transition);
    font-size: 14px;
}

.footer-col ul a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.contact-list li {
    font-size: 14px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* ===== Floating Buttons ===== */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 90;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

.float-phone { background: #10b981; }
.float-zalo { background: #0068ff; animation: none; }
.float-messenger { background: #0084ff; animation: none; font-weight: 700; }
.float-top {
    background: var(--primary);
    animation: none;
    opacity: 0;
    pointer-events: none;
}

.float-top.visible {
    opacity: 1;
    pointer-events: auto;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

/* ===== Quick View Modal ===== */
.quick-view-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.quick-view-modal.open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.quick-view-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 7, 4, 0.7);
    backdrop-filter: blur(3px);
}

.quick-view-dialog {
    position: relative;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 880px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-view-modal.open .quick-view-dialog {
    transform: translateY(0) scale(1);
}

.quick-view-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 2;
    transition: var(--transition);
}

.quick-view-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.quick-view-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: calc(100vh - 40px);
}

.quick-view-media {
    position: relative;
    background: var(--bg-alt);
    min-height: 320px;
}

.quick-view-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.quick-view-badge:empty {
    display: none;
}

.quick-view-info {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
}

.quick-view-info .product-category {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-view-info h3 {
    font-size: 26px;
    color: var(--primary-dark);
}

.quick-view-info .product-rating {
    color: var(--accent);
    font-size: 14px;
}

.quick-view-info .product-rating span {
    color: var(--text-light);
    margin-left: 4px;
}

.quick-view-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.quick-view-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: var(--text);
}

.quick-view-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
}

.quick-view-actions .btn {
    flex: 1;
    text-align: center;
}

@media (max-width: 720px) {
    .quick-view-body {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }
    .quick-view-media {
        height: 260px;
        min-height: 260px;
    }
    .quick-view-info {
        padding: 24px;
    }
    .quick-view-info h3 {
        font-size: 22px;
    }
    .quick-view-actions {
        flex-direction: column;
    }
}

body.modal-open {
    overflow: hidden;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    z-index: 1000;
    transition: var(--transition);
    opacity: 0;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content,
    .why-us-grid,
    .contact-grid,
    .promo-content,
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        height: auto;
    }

    .collection-large {
        grid-row: span 1;
        grid-column: span 2;
        height: 300px;
    }

    .collection-card:not(.collection-large) {
        height: 280px;
    }

    .factory-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        height: auto;
    }

    .factory-large {
        grid-row: span 1;
        grid-column: span 2;
        height: 340px;
    }

    .factory-card:not(.factory-large) {
        height: 240px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 16px;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }

    .logo-img {
        height: 44px;
    }

    .logo-footer .logo-img {
        height: 60px;
    }

    .hero {
        padding: 50px 0 80px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 24px;
    }

    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-featured {
        transform: none;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .collection-large {
        grid-column: span 1;
    }

    .factory-grid {
        grid-template-columns: 1fr;
    }

    .factory-large {
        grid-column: span 1;
        height: 280px;
    }

    .factory-overlay h3 {
        font-size: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .hero-img-badge {
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 16px 20px;
    }

    .floating-card {
        bottom: -24px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        padding: 12px 18px;
        gap: 10px;
    }

    .floating-card strong {
        font-size: 20px;
    }

    .floating-card p {
        font-size: 12px;
    }

    .floating-icon {
        font-size: 26px;
    }

    .countdown-num {
        font-size: 28px;
    }

    .top-bar-content {
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .product-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .header-actions .icon-btn:first-child {
        display: none;
    }
}
