/* style.css — Bún Gạo Hưng Hà · Premium Redesign */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@500;600;700;800;900&display=swap');

/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
    --green-deep:   #1A4D2E;
    --green-mid:    #2E6B47;
    --green-light:  #4F8C63;
    --gold:         #C9973A;
    --gold-light:   #E8DFCA;
    --bg:           #F8F6F1;
    --surface:      #FFFFFF;
    --text:         #1E2B20;
    --text-muted:   #6B7A6D;
    --border:       #E8E4DC;
    --error:        #DC3545;

    --shadow-sm:   0 2px 12px rgba(26,77,46,0.06);
    --shadow-md:   0 8px 30px rgba(26,77,46,0.10);
    --shadow-lg:   0 20px 60px rgba(26,77,46,0.14);
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; }

/* =========================================
   HEADER
   ========================================= */
.site-header {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0 5%;
    height: 70px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(26,77,46,0.06);
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.logo {
    justify-self: start;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--green-deep);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}

.logo i { color: var(--green-mid); font-size: 1.3rem; }
.logo span { color: var(--gold); }

.header-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green-deep);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.25s var(--ease);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-mid);
    border-radius: 2px;
    transition: width 0.25s var(--ease);
}

.nav-link:hover { opacity: 1; color: var(--gold-dark, #b8860b); }
.nav-link:hover::after { width: 100%; }

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

.track-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--green-deep);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.track-toggle:hover {
    background: white;
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.track-toggle i {
    font-size: 1.1rem;
    color: var(--gold);
}

.cart-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    color: var(--green-deep);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.25s var(--ease);
}

.cart-toggle:hover {
    background: var(--gold-light);
    transform: scale(1.08);
}

.cart-badge {
    position: absolute;
    top: -3px; right: -3px;
    background: var(--error);
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    font-family: 'Inter', sans-serif;
}

/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    background-image: 
        linear-gradient(160deg, rgba(15,35,20,0.75) 0%, rgba(26,77,46,0.60) 50%, rgba(20,50,30,0.70) 100%),
        url('../images/anh_bia.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    color: white;
}

@media (hover: none) {
    .hero {
        background-attachment: scroll !important;
        background-position: bottom center !important;
        background-size: cover !important;
    }
}

.hero-content {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.9);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 7px 18px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--gold);
    display: block;
}

.hero > .hero-content > p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.82);
    font-weight: 400;
    letter-spacing: 0.3px;
    background: none;
    border: none;
    backdrop-filter: none;
    padding: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--green-deep);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 15px 32px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s var(--ease);
    box-shadow: 0 8px 24px rgba(201,151,58,0.35);
}

.hero-cta:hover {
    background: #daa940;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(201,151,58,0.45);
}

.hero-cta i { transition: transform 0.3s; }
.hero-cta:hover i { transform: translateX(4px); }

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* =========================================
   STORY SECTION
   ========================================= */
.story-wrapper {
    max-width: 720px;
    margin: -60px auto 0;
    padding: 56px 60px;
    background: white;
    border-radius: var(--r-lg);
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-bottom: 4px solid var(--gold);
}

.story-quote {
    font-family: 'Montserrat', serif;
    font-size: 5rem;
    color: var(--gold-light);
    line-height: 0.5;
    margin-bottom: 24px;
    font-weight: 700;
}

.story-wrapper h2 {
    font-size: 1.7rem;
    color: var(--green-deep);
    margin-bottom: 18px;
    font-weight: 700;
}

.story-wrapper p {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.85;
}

/* =========================================
   TRUST SECTION
   ========================================= */
.trust-section {
    padding: 90px 5% 70px;
    background: var(--bg);
}

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

.trust-item {
    background: white;
    border-radius: var(--r-md);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}

.trust-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26,77,46,0.1);
}

.trust-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.4rem;
}

.trust-item h3 {
    font-size: 1.05rem;
    color: var(--green-deep);
    margin-bottom: 10px;
    font-weight: 700;
}

.trust-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* =========================================
   PRODUCTS SECTION
   ========================================= */
.product-section {
    max-width: 1160px;
    margin: 0 auto;
    padding: 70px 24px 90px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    color: var(--green-deep);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.section-desc {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 36px;
}

/* PRODUCT CARD */
.product-card {
    background: white;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: all 0.35s var(--ease);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-deep), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

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

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;   /* Tất cả ảnh luôn vuông vức tỷ lệ 4:3 dù Admin upload ảnh bất kỳ kích thước */
    background: var(--border);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* Cắt ảnh thay vì bóp méo */
    object-position: center;
    transition: transform 0.6s var(--ease);
    display: block;
}

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


.product-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--gold-light);
    color: var(--green-deep);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    align-self: flex-start;
    text-transform: uppercase;
}

.product-tag--fresh {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.product-tag--dry {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.product-card--coming-soon {
    border: 2px dashed rgba(245, 158, 11, 0.5) !important;
    background: rgba(254, 252, 232, 0.6) !important;
}

.product-card--coming-soon::before {
    background: linear-gradient(90deg, #f59e0b, #d97706) !important;
}

.product-card--fresh::before {
    background: linear-gradient(90deg, #16a34a, #4ade80) !important;
}

.product-delivery-note {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(239, 68, 68, 0.07);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.product-delivery-note i {
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Weight selector */
.weight-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 4px;
    flex-wrap: wrap;
}

.weight-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.weight-options {
    display: flex;
    gap: 6px;
}

.weight-btn {
    padding: 5px 14px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.weight-btn:hover {
    border-color: var(--green-mid);
    color: var(--green-mid);
    background: rgba(46,107,71,0.06);
}

.weight-btn.active {
    border-color: var(--green-deep);
    background: var(--green-deep);
    color: white;
    box-shadow: 0 2px 8px rgba(26,77,46,0.25);
}

.product-title {
    font-size: 1.3rem;
    color: var(--green-deep);
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: 700;
}

.product-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.product-meta i {
    width: 16px;
    color: var(--green-light);
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--green-deep);
    margin: 16px 0;
    letter-spacing: -0.5px;
}

.product-price-unit {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.product-actions {
    margin-top: auto;
    padding-top: 4px;
}

/* Quantity control */
.qty-control {
    display: flex;
    align-items: center;
    background: var(--bg);
    border-radius: var(--r-sm);
    margin-bottom: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.qty-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: var(--green-deep);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.qty-btn:hover { background: var(--gold-light); }

.qty-input {
    flex-grow: 1;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    outline: none;
    font-family: 'Inter', sans-serif;
    width: 0;
    min-width: 0;
}

/* Hide default browser up/down arrows on number inputs */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.qty-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Buttons */
.btn {
    width: 100%;
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 12px rgba(26,77,46,0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26,77,46,0.3);
    background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-light) 100%);
}

.btn-submit {
    margin-top: 4px;
    background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
    padding: 17px 20px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* =========================================
   FLOATING WIDGETS
   ========================================= */
.floating-widgets {
    position: fixed;
    bottom: 28px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}

.widget-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 0 0;
    height: 48px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    transition: all 0.3s var(--ease);
    overflow: hidden;
    min-width: 48px;
}

.widget-btn i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.widget-label {
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.widget-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

.zalo-btn { background: linear-gradient(135deg, #0668DB, #0084ff); }
.mes-btn  { background: linear-gradient(135deg, #E34E27, #FF6B35); }

/* =========================================
   MODAL
   ========================================= */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,20,12,0.55);
    backdrop-filter: blur(6px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
}

.overlay.active { opacity: 1; visibility: visible; }

.modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -48%) scale(0.96);
    background: white;
    width: 90%;
    max-width: 540px;
    max-height: 92vh;
    border-radius: var(--r-lg);
    z-index: 1001;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.modal-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--green-deep), var(--gold));
    flex-shrink: 0;
}

.modal-header {
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
}

.modal-title {
    font-size: 1.35rem;
    color: var(--green-deep);
    margin-bottom: 2px;
    font-weight: 700;
}

.modal-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.close-btn {
    background: var(--bg);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.close-btn:hover { background: #fee2e2; color: var(--error); }

.modal-body {
    padding: 22px 24px 24px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Cart list */
.cart-list {
    background: var(--bg);
    border-radius: var(--r-sm);
    padding: 4px 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-info { flex-grow: 1; min-width: 0; }
.cart-item-title { font-weight: 600; font-size: 0.95rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-meta  { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-price { font-weight: 700; color: var(--green-deep); font-size: 0.95rem; white-space: nowrap; }

.btn-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-remove:hover { color: var(--error); background: #fee2e2; }

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--green-deep);
    padding: 6px 0 0;
}

#cart-summary-breakdown {
    margin-top: 10px;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-summary-line span:last-child {
    font-weight: 600;
    color: var(--text);
}

.freeship-hint {
    font-size: 0.82rem;
    color: #15803d;
    background: #f0fdf4;
    padding: 12px;
    border-radius: var(--r-sm);
    margin: 12px 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dcfce7;
    line-height: 1.4;
}

.freeship-hint i {
    color: #22c55e;
    font-size: 1rem;
}

.divider {
    border: none;
    border-top: 1px dashed var(--border);
    margin: 18px 0;
}

/* Form */
.form-section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

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

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

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--green-mid);
    background: white;
    box-shadow: 0 0 0 3px rgba(46,107,71,0.10);
}

.form-control::placeholder { color: #B0BAB5; }
textarea.form-control { resize: none; }

.form-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* =========================================
   TOAST NOTIFICATIONS
   ========================================= */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: white;
    border-left: 4px solid var(--green-deep);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 14px 18px;
    border-radius: var(--r-sm);
    min-width: 280px;
    max-width: 340px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: all;
    animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast.fade-out { animation: toastOut 0.35s forwards; }

.toast-icon { font-size: 1.1rem; color: var(--green-deep); margin-top: 1px; flex-shrink: 0; }
.toast-content { flex-grow: 1; }
.toast-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
.toast-msg   { font-size: 0.82rem; color: var(--text-muted); }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--green-deep);
    color: rgba(255,255,255,0.75);
    padding: 56px 5% 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo i { color: var(--gold); }

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.25s var(--ease);
    letter-spacing: 0.3px;
}

.social-btn i { font-size: 0.9rem; }

.facebook-btn {
    background: rgba(24, 119, 242, 0.18);
    color: #74b4ff;
    border: 1px solid rgba(24, 119, 242, 0.35);
}

.facebook-btn:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(24,119,242,0.35);
}

.tiktok-btn {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.tiktok-btn:hover {
    background: #010101;
    color: white;
    border-color: #69C9D0;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
}

.footer-contact-item i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.footer-copy {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

/* =========================================
   SKELETON LOADER
   ========================================= */
.skeleton-card {
    background: white;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.skeleton-img,
.skeleton-line {
    background: linear-gradient(90deg, #EDEEE9 0%, #F5F5F2 50%, #EDEEE9 100%);
    background-size: 200% 100%;
    animation: shimmer 1.6s ease-in-out infinite;
}

.skeleton-img { width: 100%; height: 260px; }

.skeleton-line {
    height: 13px;
    border-radius: 6px;
    margin: 13px 20px;
}

.skeleton-line.short  { width: 42%; }
.skeleton-line.medium { width: 70%; }
.skeleton-line.price  { height: 26px; width: 48%; margin: 20px 20px 10px; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes toastIn {
    from { transform: translateX(110%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
    to { transform: translateX(110%); opacity: 0; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   TESTIMONIALS & RECIPES
   ========================================= */
.testimonials-section, .recipes-section {
    padding: 70px 5% 90px;
    background: white;
}

.recipes-section { background: var(--bg); }

.testimonials-grid, .recipes-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 36px;
}

.testimonial-card, .recipe-card {
    background: var(--surface);
    border-radius: var(--r-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}

.recipe-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover, .recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testi-rating { color: var(--gold); margin-bottom: 16px; font-size: 1.1rem; }
.testi-text { font-style: italic; color: var(--text-muted); font-size: 1.05rem; margin-bottom: 24px; line-height: 1.8; }
.testi-author { display: flex; align-items: center; gap: 16px; }
.author-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-light); }
.testi-author strong { display: block; color: var(--green-deep); font-weight: 700; }
.testi-author span { color: var(--text-muted); font-size: 0.85rem; }

.recipe-img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s var(--ease); }
.recipe-card:hover .recipe-img { transform: scale(1.05); }
.recipe-content { padding: 32px; display: flex; flex-direction: column; flex-grow: 1; }
.recipe-content h3 { font-size: 1.25rem; color: var(--green-deep); margin-bottom: 12px; font-weight: 700; }
.recipe-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.7; flex-grow: 1; }
.recipe-link { color: var(--gold); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.recipe-link:hover { color: var(--green-deep); }
.recipe-link i { transition: transform 0.2s; }
.recipe-link:hover i { transform: translateX(5px); }

/* Success Modal Overrides */
.success-modal { padding: 24px; }
.success-icon-wrapper i { font-size: 4rem; color: #16a34a; margin: 20px 0; display: inline-block; }
.text-center { text-align: center; }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); padding: 15px 24px; font-weight: 600; border-radius: var(--r-sm); cursor: pointer; transition: all 0.3s; font-family: 'Inter', sans-serif; }
.btn-outline:hover { border-color: var(--green-deep); color: var(--green-deep); background: rgba(26,77,46,0.04); }

/* =========================================
   USAGE & CERTIFICATE
   ========================================= */
.usage-grid {
    max-width: 1160px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.usage-card {
    background: white; border-radius: var(--r-md); padding: 36px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border); height: 100%;
}
.usage-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.usage-list li { color: var(--text-muted); line-height: 1.6; font-size: 1.05rem; }
.usage-list strong { color: var(--green-deep); font-weight: 600; display: inline-block; min-width: 70px; }
.cert-card {
    background: var(--surface); padding: 12px; border-radius: var(--r-md);
    box-shadow: var(--shadow-sm); border: 1px solid var(--border); height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cert-img { width: 100%; max-height: 280px; object-fit: contain; border-radius: var(--r-sm); }
.cert-caption { margin-top: 15px; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; text-align: center; }

@media (max-width: 800px) {
    .usage-grid { grid-template-columns: 1fr; }
    .usage-card { padding: 28px; }
}

/* =========================================
   TOUCH FEEDBACK & COMFORT
   ========================================= */
.btn:active, 
.qty-btn:active, 
.track-toggle:active, 
.cart-toggle:active, 
.widget-btn:active,
.close-btn:active,
.quick-buy-btn:active,
.social-btn:active {
    transform: scale(0.96) !important;
    transition: transform 0.1s var(--ease);
}

.nav-link:active {
    opacity: 0.6;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
    .hero { 
        background-attachment: scroll !important;
        background-position: bottom center !important;
        background-size: cover !important;
    }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .header-nav { display: none; }
}

@media (max-width: 640px) {
    .hero h1 { font-size: 2.8rem; }
    .hero { min-height: 80vh; padding: 100px 20px 60px; }
    .story-wrapper { margin: -40px 16px 0; padding: 36px 28px; }
    .trust-grid { grid-template-columns: 1fr; max-width: 400px; }
    .product-grid { grid-template-columns: 1fr; }
    
    /* Premium Slide-up Bottom Sheet */
    .modal { 
        width: 100%; 
        max-height: 100vh; 
        bottom: 0; 
        top: auto; 
        left: 0; 
        transform: translateY(100%); 
        border-radius: var(--r-lg) var(--r-lg) 0 0; 
        transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.4, 1), opacity 0.3s ease;
    }
    .modal.active { transform: translateY(0); }

    .cart-item-title { white-space: normal; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; min-height: 0; }
    .form-row { grid-template-columns: 1fr; }
    .floating-widgets { bottom: 16px; right: 14px; }
    .logo { font-size: 1.35rem; }
}
/* =========================================
   ORDER TRACKING SPECIFICS
   ========================================= */
.track-item-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.track-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

@media (max-width: 768px) {
    .btn-label { display: none; }
    .track-toggle { padding: 0; width: 44px; height: 44px; justify-content: center; border-radius: 50%; }
    .track-toggle i { margin: 0; }
    .header-nav { display: none; }
    .site-header { grid-template-columns: 1fr auto; }
}

/* =========================================
   #2: PRODUCT PRICE — HIGHLIGHT
   ========================================= */
.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--green-deep);
    margin: 16px 0;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, rgba(26,77,46,0.06) 0%, rgba(201,151,58,0.08) 100%);
    padding: 10px 16px;
    border-radius: var(--r-sm);
    border-left: 3px solid var(--gold);
}


/* =========================================
   #6: LAZY-LOAD BLUR EFFECT
   ========================================= */
.product-image {
    transition: transform 0.6s var(--ease), filter 0.4s ease;
}

.product-image[loading="lazy"] {
    filter: blur(0);
}

.product-image.loading {
    filter: blur(8px);
}

/* =========================================
   CONTACT CTA SECTION (Cuối trang)
   ========================================= */
.contact-cta-section {
    background: linear-gradient(135deg, var(--green-deep) 0%, #0f2e1a 100%);
    padding: 80px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.contact-cta-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.contact-cta-section h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.contact-cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* Nút liên hệ chính (CTA section + Hero) */
.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--r-md);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s var(--ease);
    letter-spacing: 0.3px;
    white-space: nowrap;
    min-width: 150px;
    justify-content: center;
}

.btn-contact--zalo {
    background: #0068FF;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.4);
}
.btn-contact--zalo:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 104, 255, 0.5);
}

.btn-contact--fb {
    background: #1877F2;
    color: #fff;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}
.btn-contact--fb:hover {
    background: #1565d8;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(24, 119, 242, 0.5);
}

.btn-contact--phone {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(8px);
}
.btn-contact--phone:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.6);
}

.contact-cta-note {
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
}

/* =========================================
   NÚT LIÊN HỆ TRONG CARD SẢN PHẨM
   ========================================= */
.product-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.btn-contact-product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s var(--ease);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn-contact-product--zalo {
    background: #0068FF;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,104,255,0.3);
}
.btn-contact-product--zalo:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,104,255,0.4);
}

.btn-contact-product--fb {
    background: #1877F2;
    color: #fff;
    box-shadow: 0 4px 14px rgba(24,119,242,0.3);
}
.btn-contact-product--fb:hover {
    background: #1565d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24,119,242,0.4);
}

.btn-contact-product--phone {
    background: transparent;
    color: var(--green-deep);
    border: 2px solid var(--green-deep);
}
.btn-contact-product--phone:hover {
    background: var(--green-deep);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================
   PRODUCT CARD — FRESH VARIANT (Contact mode)
   ========================================= */
.product-card--contact .product-fresh-desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 10px 0 14px;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info-tags {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.product-info-tags span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-info-tags span i {
    color: var(--green-mid);
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

/* Hero CTA outline variant */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--r-md);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s var(--ease);
    letter-spacing: 0.3px;
}

/* Zalo social btn (footer) */
.zalo-text-btn {
    background: #0068FF !important;
}
.zalo-text-btn:hover {
    background: #0052cc !important;
}

/* =========================================
   PRODUCTION SECTION — Quy Trình Sản Xuất
   ========================================= */
.production-section {
    padding: 80px 5% 100px;
    background: white;
}

.production-hero {
    text-align: center;
    margin-bottom: 60px;
}

.production-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.production-hero-content .section-label {
    display: inline-block;
    margin-bottom: 16px;
}

.production-hero-title {
    font-size: clamp(2rem, 6vw, 3.2rem);
    color: var(--green-deep);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.production-hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.production-videos-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.video-player-container {
    background: white;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-player video {
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(26,77,46,0.03) 0%, rgba(201,151,58,0.03) 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.video-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-deep);
    flex-grow: 1;
}

.video-progress {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: white;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.video-controls {
    padding: 20px 28px;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.btn-video-nav {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border);
    background: white;
    color: var(--green-deep);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border-radius: var(--r-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s var(--ease);
    font-size: 0.9rem;
}

.btn-video-nav:hover {
    background: var(--green-deep);
    color: white;
    border-color: var(--green-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26,77,46,0.2);
}

.btn-video-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-video-prev {
    order: 1;
}

.btn-video-next {
    order: 2;
}

/* Video list / thumbnails */
.video-list {
    padding: 20px 28px;
    background: var(--bg);
    min-height: 120px;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.video-list-placeholder {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.video-list-placeholder i {
    font-size: 2rem;
    opacity: 0.2;
}

.video-list-items {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.video-list-items::-webkit-scrollbar {
    height: 4px;
}

.video-list-items::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 2px;
}

.video-list-items::-webkit-scrollbar-thumb {
    background: var(--green-mid);
    border-radius: 2px;
}

.video-item {
    flex-shrink: 0;
    cursor: pointer;
    padding: 12px 16px;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--r-sm);
    transition: all 0.2s var(--ease);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.video-item:hover {
    background: white;
    border-color: var(--green-light);
    color: var(--green-deep);
    transform: translateY(-2px);
}

.video-item.active {
    background: var(--green-deep);
    color: white;
    border-color: var(--green-deep);
    box-shadow: 0 4px 12px rgba(26,77,46,0.3);
}

.video-item i {
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE — Video Section
   ========================================= */
@media (max-width: 960px) {
    .video-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .video-controls {
        flex-direction: column;
    }

    .btn-video-nav {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .production-section {
        padding: 60px 5% 80px;
    }

    .production-hero-title {
        font-size: 1.8rem;
    }

    .video-player-container {
        border-radius: var(--r-md);
    }

    .video-player {
        aspect-ratio: 9 / 16;
    }

    .video-info {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .video-title {
        font-size: 1.1rem;
    }

    .video-controls {
        padding: 16px;
        gap: 10px;
    }

    .btn-video-nav {
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    .video-list {
        padding: 16px;
        min-height: 100px;
    }

    .video-list-items {
        gap: 10px;
    }

    .video-item {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .contact-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-contact {
        min-width: unset;
        width: 100%;
    }

    .product-contact-actions {
        gap: 8px;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
    }

    .contact-cta-section {
        padding: 60px 5%;
    }
}

