/* ══════════════════════════════════════════════════════════
   CAREBATH — Bathroom Safety Combo Kit
   Stylesheet — MVP v2
   ══════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --primary: #1A7A7A;
    --primary-dark: #135E5E;
    --primary-darker: #0D4848;
    --primary-light: #2A9D8F;
    --primary-pale: #E8F6F5;
    --primary-ghost: #F0FAF9;
    --bg: #F5F7F8;
    --white: #FFFFFF;
    --text: #2D3436;
    --text-secondary: #636E72;
    --text-muted: #B2BEC3;
    --border: #DFE6E9;
    --border-light: #EDF0F2;
    --success: #00B894;
    --success-light: #E6FBF5;
    --danger: #D63031;
    --warning: #FDCB6E;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-dark); text-decoration: underline; }

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

/* ══════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    transition: opacity var(--transition-fast);
}
.logo:hover { opacity: 0.85; text-decoration: none; }

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; }

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 3px;
    color: var(--text);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text);
    transition: all var(--transition-fast);
}
.icon-btn:hover { background: var(--primary-pale); color: var(--primary); }
.icon-btn svg { width: 22px; height: 22px; }

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 9px;
    padding: 0 4px;
    line-height: 1;
    transition: transform var(--transition-spring);
}
.cart-badge.bump { animation: badgeBump 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes badgeBump {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.cart-badge.hidden { transform: scale(0); }

/* ══════════════════════════════════════════
   MAIN CONTENT
   ══════════════════════════════════════════ */

.main-content { padding: 2rem 1rem 4rem; }
.container { max-width: 680px; margin: 0 auto; }

/* ══════════════════════════════════════════
   PRODUCT SHOWCASE (Hero Image States)
   ══════════════════════════════════════════ */

.product-showcase {
    margin-bottom: 1.5rem;
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.product-image-wrapper {
    position: relative;
    display: grid;
    /* Removed background, shadow, and border-radius to fix the white gap issue */
}

.state-img {
    grid-area: 1 / 1;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 200ms ease;
    pointer-events: none;
}
.state-img.active { opacity: 1; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ══════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════
   PRODUCT SELECTOR (List)
   ══════════════════════════════════════════ */

.product-selector {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.product-row {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    transition: background var(--transition-fast), opacity var(--transition);
    border-bottom: 1px solid var(--border-light);
}
.product-row:last-child { border-bottom: none; }
.product-row:hover { background: var(--primary-ghost); }
.product-row.dimmed { opacity: 0.45; }
.product-row.dimmed:hover { opacity: 0.65; }

.pr-icon { width: 44px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pr-icon svg { width: 100%; height: 100%; }

.pr-info { flex: 1; min-width: 0; }
.pr-name-vi { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.pr-name-en { font-size: 0.8rem; color: var(--text-secondary); font-weight: 400; }

.pr-price { text-align: right; min-width: 90px; flex-shrink: 0; }
.price-amount { font-weight: 700; font-size: 0.95rem; color: var(--text); transition: color var(--transition-fast); }
.price-amount.combo-price { color: var(--primary); }

/* Quantity Controls */
.qty-controls {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}
.qty-controls:hover { border-color: var(--primary); }

.qty-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    transition: all var(--transition-fast);
    user-select: none;
    -webkit-user-select: none;
}
.qty-btn:hover { background: var(--primary-pale); }
.qty-btn:active { background: var(--primary); color: white; transform: scale(0.95); }
.qty-btn.disabled { color: var(--text-muted); pointer-events: none; }

.qty-value {
    width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    line-height: 34px;
    transition: all var(--transition-fast);
}
.qty-value.zero { color: var(--text-muted); }
.qty-value.pop { animation: qtyPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }

@keyframes qtyPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); color: var(--primary); }
    100% { transform: scale(1); }
}

/* ══════════════════════════════════════════
   COMBO BADGE
   ══════════════════════════════════════════ */

.combo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, var(--success-light), #D4EFDF);
    border: 1px solid rgba(0, 184, 148, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    transition: all var(--transition);
    animation: fadeIn 0.3s ease;
}
.combo-badge.hidden { display: none; }
.combo-icon { font-size: 1.1rem; }
.combo-text { font-size: 0.8rem; font-weight: 500; color: #00705A; letter-spacing: 0.5px; }
.combo-text strong { color: var(--success); font-weight: 800; }

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

/* ══════════════════════════════════════════
   TOTAL SECTION
   ══════════════════════════════════════════ */

.total-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 1rem;
}

.total-row { display: flex; align-items: center; justify-content: space-between; }

.total-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}
.total-label svg { width: 20px; height: 20px; color: var(--primary); }

.total-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
    transition: all var(--transition);
}
.total-amount.updating { animation: totalPulse 0.4s ease; }

@keyframes totalPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); color: var(--primary); }
    100% { transform: scale(1); }
}

.retail-compare {
    text-align: right;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: opacity var(--transition);
}
.retail-compare.hidden { opacity: 0; height: 0; margin: 0; overflow: hidden; }
.retail-compare s { color: var(--danger); font-weight: 500; }

/* ══════════════════════════════════════════
   ORDER BUTTON — Premium Glow
   ══════════════════════════════════════════ */

.order-section { text-align: center; margin-bottom: 1.5rem; }

.order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 420px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    background-size: 200% 200%;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 20px rgba(26, 122, 122, 0.35), 0 0 40px rgba(26, 122, 122, 0.0);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    animation: ctaGlow 3s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(26, 122, 122, 0.35), 0 0 0px rgba(42, 157, 143, 0); }
    50% { box-shadow: 0 4px 20px rgba(26, 122, 122, 0.35), 0 0 30px rgba(42, 157, 143, 0.2); }
}

.order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmerCTA 3s ease-in-out infinite;
}

@keyframes shimmerCTA {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.order-btn:hover {
    background-position: right center;
    box-shadow: 0 6px 25px rgba(26, 122, 122, 0.45), 0 0 40px rgba(42, 157, 143, 0.25);
    transform: translateY(-2px);
}
.order-btn:active { transform: translateY(0); box-shadow: 0 2px 10px rgba(26, 122, 122, 0.3); }
.order-btn.disabled {
    background: var(--border);
    color: var(--text-muted);
    box-shadow: none;
    pointer-events: none;
    animation: none;
}
.order-btn.disabled::before { animation: none; }
.order-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

.order-note { margin-top: 0.6rem; font-size: 0.78rem; color: var(--text-muted); font-style: italic; }

/* ══════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════ */

.contact-section { text-align: center; position: relative; padding-bottom: 2rem; }

.contact-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contact-trigger:hover { color: var(--primary); }

.contact-arrow { width: 12px; height: 8px; transition: transform var(--transition); }
.contact-section.open .contact-arrow { transform: rotate(180deg); }

.contact-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    margin-top: 0;
}
.contact-section.open .contact-dropdown { max-height: 300px; opacity: 1; margin-top: 0.8rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    max-width: 460px;
    margin: 0 auto;
    padding: 1.2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
    cursor: pointer;
}
.contact-item:hover { background: var(--primary-ghost); }

.ci-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ci-icon svg { width: 16px; height: 16px; }
.ci-facebook { background: #E3F2FD; color: #1877F2; }
.ci-email { background: var(--primary-pale); color: var(--primary); }
.ci-zalo { background: #E3F2FD; color: #0068FF; }
.ci-phone { background: #E8F5E9; color: #2E7D32; }

.ci-text { min-width: 0; }
.ci-text strong { display: block; font-size: 0.7rem; font-weight: 600; color: var(--text); margin-bottom: 0.1rem; }
.ci-text a, .ci-text span { font-size: 0.7rem; color: var(--text-secondary); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ══════════════════════════════════════════
   ORDER MODAL
   ══════════════════════════════════════════ */

.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    border-radius: 50%;
    transition: all var(--transition-fast);
}
.modal-close:hover { background: var(--bg); color: var(--text); }

.modal-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.order-summary {
    background: var(--primary-ghost);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.85rem;
}
.order-summary-item:not(:last-child) { border-bottom: 1px solid var(--border-light); }
.order-summary-item .osi-name { color: var(--text); font-weight: 500; }
.order-summary-item .osi-qty { color: var(--text-secondary); font-size: 0.8rem; }
.order-summary-item .osi-price { font-weight: 600; color: var(--primary-dark); }

.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.6rem;
    margin-top: 0.4rem;
    border-top: 2px solid var(--primary);
    font-weight: 700;
}
.order-summary-total .ost-label { font-size: 0.9rem; color: var(--text); }
.order-summary-total .ost-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

/* Form */
.form-group { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.35rem;
}
.required { color: var(--danger); }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23636E72' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 122, 122, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group textarea { resize: vertical; min-height: 60px; }

/* Consent checkbox */
.consent-group { margin-top: 0.5rem; }
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 3px 12px rgba(26, 122, 122, 0.3);
}
.submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 4px 16px rgba(26, 122, 122, 0.4);
    transform: translateY(-1px);
}
.submit-btn:active { transform: translateY(0); }
.submit-btn.sending { pointer-events: none; opacity: 0.7; }
.submit-btn svg { width: 18px; height: 18px; }

/* ══════════════════════════════════════════
   SUCCESS OVERLAY
   ══════════════════════════════════════════ */

.success-overlay {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
.success-overlay.active { opacity: 1; visibility: visible; }

.success-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-overlay.active .success-card { transform: translateY(0) scale(1); }

.success-check {
    width: 72px; height: 72px;
    margin: 0 auto 1.5rem;
}
.success-check svg { width: 100%; height: 100%; }

.check-path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
}
.success-overlay.active .check-path {
    animation: drawCheck 0.6s 0.3s ease forwards;
}
@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.success-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.success-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.6rem;
}
.success-message strong { color: var(--primary-dark); }

.success-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.success-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 3px 12px rgba(26, 122, 122, 0.3);
}
.success-close-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 122, 122, 0.4);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 640px) {
    .header-inner { padding: 0.6rem 1rem; }
    .brand-name { font-size: 1rem; letter-spacing: 2px; }
    .brand-tagline { font-size: 0.45rem; }
    .main-content { padding: 1rem 0.75rem 3rem; }

    .product-row {
        padding: 0.8rem 1rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .pr-icon { width: 36px; height: 26px; }
    .pr-info { flex-basis: calc(100% - 46px); }
    .pr-name-vi { font-size: 0.82rem; }
    .pr-name-en { font-size: 0.72rem; }
    .pr-price { margin-left: auto; }
    .price-amount { font-size: 0.85rem; }
    .total-amount { font-size: 1.6rem; }
    .order-btn { font-size: 0.95rem; padding: 0.9rem 1.5rem; }
    .contact-grid { grid-template-columns: 1fr; padding: 1rem; }
    .modal-content { padding: 1.5rem; border-radius: var(--radius-lg); }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
    .product-row { padding: 0.7rem 0.8rem; }
}

/* ══════════════════════════════════════════
   UTILITY
   ══════════════════════════════════════════ */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

::selection { background: var(--primary); color: white; }
