/* ==========================================================================
   VESTIE FASHION - PREMIUM DESIGN SYSTEM & THEME
   Refined Luxury Fashion Ecommerce (Indian Heritage + Modern Elegance)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Brand Colors */
    --vestie-primary: #4A121A;        /* Deep Regal Rosewood Wine */
    --vestie-primary-dark: #320A10;
    --vestie-primary-light: #611A24;
    --vestie-primary-subtle: rgba(74, 18, 26, 0.05);

    --vestie-gold: #C59A52;           /* Champagne Silk Gold */
    --vestie-gold-dark: #A9803D;
    --vestie-gold-light: #F7EFE2;
    --vestie-gold-gradient: linear-gradient(135deg, #D4AF37 0%, #C59A52 50%, #B38636 100%);
    --vestie-wine-gradient: linear-gradient(135deg, #4A121A 0%, #30080E 100%);

    /* Backgrounds & Neutrals */
    --vestie-bg: #FAF7F2;             /* Warm Alabaster */
    --vestie-bg-alt: #F4ECE1;
    --vestie-surface: #FFFFFF;
    --vestie-surface-elevated: #FFFFFF;

    /* Borders */
    --vestie-border: #E8DFD3;
    --vestie-border-light: #F2ECE3;

    /* Typography Colors */
    --vestie-text: #1C1416;           /* Deep Charcoal Espresso */
    --vestie-text-muted: #6B6163;
    --vestie-text-light: #94898B;
    --vestie-text-on-dark: #FFFFFF;

    /* Status Colors */
    --vestie-success: #15803D;
    --vestie-success-bg: #DCFCE7;
    --vestie-warning: #B45309;
    --vestie-warning-bg: #FEF3C7;
    --vestie-danger: #B91C1C;
    --vestie-danger-bg: #FEE2E2;

    /* WhatsApp Brand Color */
    --vestie-whatsapp: #25D366;
    --vestie-whatsapp-hover: #1EBE5D;

    /* Typography */
    --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(74, 18, 26, 0.04);
    --shadow-md: 0 6px 20px rgba(74, 18, 26, 0.07);
    --shadow-lg: 0 12px 35px rgba(74, 18, 26, 0.12);
    --shadow-xl: 0 20px 50px rgba(74, 18, 26, 0.18);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    background-color: var(--vestie-bg);
    color: var(--vestie-text);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--vestie-primary);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

p {
    color: var(--vestie-text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

button, input, select, textarea {
    font-family: inherit;
}

.container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.container-sm {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   ANNOUNCEMENT BAR & HEADER
   ========================================================================== */

.announcement-bar {
    background: var(--vestie-primary-dark);
    color: #F7EFE2;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 9px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(197, 154, 82, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 11px;
        letter-spacing: 0.5px;
        padding: 7px 10px;
        gap: 6px 12px;
    }
    .announcement-bar span:not(:first-child) {
        display: none; /* Show only 1 announcement on small screens to guarantee zero horizontal overflow */
    }
}

.announcement-bar span i {
    color: var(--vestie-gold);
    margin-right: 6px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--vestie-border-light);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(74, 18, 26, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 16px;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 2px 4px rgba(74, 18, 26, 0.1));
    flex-shrink: 0;
}

.logo-brand .brand-title {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--vestie-primary);
    line-height: 1;
    white-space: nowrap;
}

.logo-brand .brand-tagline {
    display: none !important;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: clamp(10px, 1.4vw, 24px);
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

/* Hide mobile-drawer header from desktop navigation bar */
@media (min-width: 993px) {
    .mobile-nav-header {
        display: none !important;
    }
}

.nav-links li {
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--vestie-text);
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vestie-gold);
    transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--vestie-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.header-btn {
    background: transparent;
    border: none;
    color: var(--vestie-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.header-btn:hover {
    background: var(--vestie-primary-subtle);
    color: var(--vestie-gold-dark);
}

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--vestie-primary);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--vestie-bg);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 22px;
    color: var(--vestie-primary);
    cursor: pointer;
    padding: 6px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--vestie-primary);
    color: #FFFFFF;
    border-color: var(--vestie-primary);
}

.btn-primary:hover {
    background: var(--vestie-primary-dark);
    border-color: var(--vestie-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(74, 18, 26, 0.25);
    color: #FFFFFF;
}

.btn-gold {
    background: var(--vestie-gold);
    color: #FFFFFF;
    border-color: var(--vestie-gold);
}

.btn-gold:hover {
    background: var(--vestie-gold-dark);
    border-color: var(--vestie-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(197, 154, 82, 0.3);
    color: #FFFFFF;
}

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

.btn-outline:hover {
    background: var(--vestie-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--vestie-whatsapp);
    color: #FFFFFF;
    border-color: var(--vestie-whatsapp);
}

.btn-whatsapp:hover {
    background: var(--vestie-whatsapp-hover);
    border-color: var(--vestie-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    color: #FFFFFF;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 12px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

.btn:disabled, .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-in-stock {
    background: var(--vestie-success-bg);
    color: var(--vestie-success);
}

.badge-low-stock {
    background: var(--vestie-warning-bg);
    color: var(--vestie-warning);
}

.badge-out-of-stock {
    background: var(--vestie-danger-bg);
    color: var(--vestie-danger);
}

.badge-discount {
    background: #E53E3E;
    color: #FFFFFF;
    font-weight: 700;
}

/* ==========================================================================
   PRODUCT CARDS (SUDATHI INSPIRATION - ELEGANT 4:5 FASHION RATIO)
   ========================================================================== */

.product-card {
    background: var(--vestie-surface);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--vestie-border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--vestie-border);
}

.product-card-media {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 Aspect Ratio */
    background: #F2ECE3;
    overflow: hidden;
}

.product-card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.product-card:hover .product-card-media img {
    transform: scale(1.04);
}

.product-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-card-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 3;
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-card-body {
    padding: 18px 16px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.product-card-category {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--vestie-gold-dark);
    margin-bottom: 6px;
    font-weight: 600;
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--vestie-text);
    margin-bottom: 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.product-card-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
}

.product-price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--vestie-primary);
}

.product-price-original {
    font-size: 14px;
    color: var(--vestie-text-light);
    text-decoration: line-through;
}

.product-card-discount {
    font-size: 11px;
    font-weight: 700;
    color: #E53E3E;
    background: #FFF5F5;
    padding: 2px 6px;
    border-radius: 3px;
}

/* ==========================================================================
   DRAWER CART & CHECKOUT MODAL
   ========================================================================== */

.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(28, 20, 22, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 460px;
    max-width: 100%;
    height: 100vh;
    background: var(--vestie-surface);
    box-shadow: -10px 0 35px rgba(74, 18, 26, 0.15);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-normal);
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    padding: 22px 24px;
    background: var(--vestie-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--vestie-gold);
}

.cart-drawer-header h3 {
    color: #FFFFFF;
    font-size: 20px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-drawer-close {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: transform var(--transition-fast);
}

.cart-drawer-close:hover {
    transform: rotate(90deg);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cart-drawer-empty {
    text-align: center;
    padding: 70px 20px;
    color: var(--vestie-text-muted);
}

.cart-drawer-empty i {
    font-size: 48px;
    color: var(--vestie-gold);
    margin-bottom: 16px;
    display: block;
}

.cart-item-row {
    display: flex;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--vestie-border-light);
    position: relative;
}

.cart-item-row img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: #F4ECE1;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--vestie-primary);
    line-height: 1.3;
    margin-bottom: 4px;
}

.cart-item-sku {
    font-size: 11px;
    color: var(--vestie-text-light);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--vestie-text);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--vestie-border);
    border-radius: var(--radius-sm);
    background: #FFFFFF;
}

.qty-control button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    color: var(--vestie-primary);
    transition: background var(--transition-fast);
}

.qty-control button:hover {
    background: var(--vestie-bg-alt);
}

.qty-control span {
    width: 32px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--vestie-text-light);
    cursor: pointer;
    font-size: 13px;
    margin-left: auto;
    transition: color var(--transition-fast);
}

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

.cart-drawer-footer {
    padding: 24px;
    background: var(--vestie-bg);
    border-top: 1px solid var(--vestie-border);
}

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

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: var(--vestie-primary);
    padding-top: 12px;
    margin-top: 6px;
    border-top: 1px solid var(--vestie-border);
    margin-bottom: 18px;
}

/* Modal Popup for Customer Checkout Details */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(28, 20, 22, 0.7);
    backdrop-filter: blur(6px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--vestie-surface);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    border: 1px solid var(--vestie-border);
    animation: modalSlideUp 0.3s ease;
}

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

.modal-header {
    padding: 22px 26px;
    background: var(--vestie-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    color: #FFFFFF;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-top: 3px;
}

.modal-close {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
}

.modal-body {
    padding: 26px;
}

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

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

.form-group label .required {
    color: var(--vestie-danger);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid var(--vestie-border);
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--vestie-primary);
    box-shadow: 0 0 0 3px rgba(74, 18, 26, 0.1);
}

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

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: var(--vestie-primary);
    color: #FFFFFF;
    border: 2px solid var(--vestie-gold);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(74, 18, 26, 0.25);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.floating-cart-btn:hover {
    transform: scale(1.08);
    background: var(--vestie-primary-dark);
}

.floating-cart-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--vestie-gold);
    color: var(--vestie-primary-dark);
    font-weight: 700;
    font-size: 11px;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    padding: 0 5px;
    border: 2px solid #FFFFFF;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--vestie-primary);
    color: #FFFFFF;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    animation: toastSlideIn 0.3s ease;
    border-left: 4px solid var(--vestie-gold);
}

.toast.toast-success {
    border-left-color: var(--vestie-success);
}

.toast.toast-error {
    border-left-color: var(--vestie-danger);
    background: #841818;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--vestie-primary-dark);
    color: #FFFFFF;
    padding: 80px 0 30px;
    margin-top: 80px;
    border-top: 3px solid var(--vestie-gold);
}

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

.footer-brand h3 {
    color: #FFFFFF;
    font-size: 26px;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.8;
    max-width: 380px;
    margin-bottom: 22px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--vestie-gold);
    color: var(--vestie-primary);
    border-color: var(--vestie-gold);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--vestie-gold);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--vestie-gold);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact-item i {
    color: var(--vestie-gold);
    font-size: 16px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ==========================================================================
   MOBILE NAVIGATION BACKDROP
   ========================================================================== */

.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 12, 14, 0.65);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.nav-open {
    overflow: hidden !important;
}

body.nav-open .site-header {
    z-index: 2000 !important;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 11px !important;
        padding: 7px 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .announcement-bar span:not(:first-child) {
        display: none !important;
    }

    .announcement-bar span {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .header-inner {
        height: 60px !important;
        gap: 8px !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .logo-brand {
        gap: 8px !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .logo-brand img {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        min-width: 36px !important;
        flex-shrink: 0 !important;
    }

    .logo-brand .brand-title {
        font-size: 16px !important;
        letter-spacing: 1px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .header-actions {
        gap: 4px !important;
        flex-shrink: 0 !important;
    }

    .header-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }

    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 20px !important;
        order: -1; /* Header Layout: [☰]  VESTIE  [🛒] */
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -300px;
        width: 290px;
        max-width: 85vw;
        height: 100vh;
        background: var(--vestie-surface);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 30px;
        gap: 2px;
        box-shadow: 10px 0 35px rgba(74, 18, 26, 0.2);
        z-index: 2005 !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        display: flex !important;
        pointer-events: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        left: 0;
        pointer-events: auto !important;
    }

    .nav-links li {
        width: 100%;
        list-style: none;
    }

    .mobile-nav-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        margin-bottom: 14px;
        border-bottom: 1px solid var(--vestie-border);
    }

    .mobile-nav-close-btn {
        background: rgba(74, 18, 26, 0.08);
        border: none;
        font-size: 18px;
        color: var(--vestie-primary);
        cursor: pointer;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        touch-action: manipulation;
    }

    .mobile-nav-close-btn:hover {
        background: rgba(74, 18, 26, 0.16);
    }

    .nav-links li:not(.mobile-nav-header) a {
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.8px;
        padding: 12px 14px;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
        color: var(--vestie-text);
        cursor: pointer;
        pointer-events: auto !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(74, 18, 26, 0.1);
        box-sizing: border-box;
    }

    .nav-links li:not(.mobile-nav-header) a:hover,
    .nav-links li:not(.mobile-nav-header) a.active {
        background: var(--vestie-primary-subtle);
        color: var(--vestie-primary);
    }

    .nav-links li:not(.mobile-nav-header) a::after {
        display: none;
    }

    .cart-drawer {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }

    .cart-drawer.open {
        right: 0;
    }

    .product-card-actions {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        opacity: 1;
        transform: none;
        padding: 8px 12px 12px;
        z-index: 1;
    }

    .product-card-actions .btn {
        padding: 10px 14px;
        font-size: 11.5px;
        width: 100%;
    }

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

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

    .floating-cart-btn {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 576px) {
    .container, .container-sm {
        padding: 0 14px;
    }

    .products-grid-row,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .product-card-body {
        padding: 12px 10px 14px;
    }

    .product-card-title {
        font-size: 13.5px;
        height: 38px;
        margin-bottom: 6px;
    }

    .product-price-current {
        font-size: 15px;
    }

    .product-price-original {
        font-size: 12px;
    }

    .hero-slide {
        min-height: 340px;
        padding: 30px 16px;
    }

    .hero-slide-content h2,
    .hero-title {
        font-size: 24px !important;
        line-height: 1.25;
    }

    .hero-slide-content p,
    .hero-subtitle {
        font-size: 13px !important;
    }

    .modal-container {
        width: 96% !important;
        max-width: 100% !important;
        margin: 10px auto;
        padding: 18px !important;
    }
}

@media (max-width: 360px) {
    .header-inner {
        gap: 8px;
    }

    .logo-brand .brand-title {
        font-size: 17px;
        letter-spacing: 1.5px;
    }

    .products-grid-row,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .product-card-body {
        padding: 10px 6px 12px;
    }
}

/* Universal Page Banner & Story Hero Typography */
.page-banner,
.story-hero {
    background: linear-gradient(135deg, #180306 0%, #460E15 50%, #220509 100%) !important;
    color: #FFFFFF !important;
}

.page-banner h1,
.page-banner h2,
.page-banner h3,
.story-hero h1,
.story-hero h2,
.story-hero h3 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7) !important;
}

.page-banner p,
.page-banner span,
.story-hero p,
.story-hero span {
    color: #FFFFFF !important;
    opacity: 0.95 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6) !important;
}

/* Festive Promo & Checkout Coupon Styles */
.checkout-order-summary-box {
    background: #FAF8F5;
    border: 1px solid var(--vestie-border-light);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 14px;
}

.checkout-mini-items {
    max-height: 140px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding-right: 4px;
}

.checkout-mini-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed #EAE3D9;
    font-size: 13px;
}

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

.checkout-mini-item img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #EAE3D9;
}

.checkout-financial-table {
    width: 100%;
    font-size: 13px;
    border-collapse: collapse;
}

.checkout-financial-table tr td {
    padding: 3px 0;
    color: var(--vestie-text-muted);
}

.checkout-financial-table tr td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--vestie-text);
}

.checkout-financial-table tr.total-row td {
    padding-top: 8px;
    border-top: 1px solid var(--vestie-border);
    font-size: 15px;
    font-weight: 700;
    color: var(--vestie-primary);
}

/* Redesigned Offer / Coupon Card */
.product-promo-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: #FFF9F2;
    border: 1px dashed var(--vestie-gold);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin: 16px 0 22px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.product-promo-box:hover {
    background: #FFF3E6;
    border-color: var(--vestie-gold-dark);
}

.promo-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.promo-box-icon {
    font-size: 18px;
    color: var(--vestie-gold-dark);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.promo-box-title {
    flex: 1;
    min-width: 0;
}

.promo-box-title strong {
    display: block;
    font-size: 14px;
    color: var(--vestie-primary);
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: normal;
}

.promo-box-sub {
    font-size: 12.5px;
    color: var(--vestie-text-muted);
    margin: 0;
    line-height: 1.4;
    width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.promo-code-badge {
    background: #F0DFCE;
    color: var(--vestie-primary);
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    font-family: monospace;
    display: inline-block;
}

.promo-box-actions {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
}

.promo-copy-btn {
    background: var(--vestie-primary);
    color: #FFF;
    border: 1px solid var(--vestie-primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 18px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(74, 18, 26, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.promo-copy-btn:hover {
    background: var(--vestie-primary-dark);
    box-shadow: 0 4px 10px rgba(74, 18, 26, 0.25);
    transform: translateY(-1px);
}

/* Stock Status Notification */
.stock-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 22px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
}

.stock-in {
    background: var(--vestie-success-bg);
    color: var(--vestie-success);
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.stock-low {
    background: var(--vestie-warning-bg);
    color: var(--vestie-warning);
    border: 1px solid rgba(180, 83, 9, 0.2);
}

.stock-out {
    background: var(--vestie-danger-bg);
    color: var(--vestie-danger);
    border: 1px solid rgba(185, 28, 28, 0.2);
}

.stock-notification .stock-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
}

.stock-notification .stock-text {
    flex: 1;
    min-width: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

/* ==========================================================================
/* Breadcrumb Navigation */
.breadcrumb-nav {
    font-size: 12.5px;
    color: var(--vestie-text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    line-height: 1.5;
}

.breadcrumb-nav a {
    color: var(--vestie-text-muted);
    text-decoration: none;
    flex-shrink: 0;
}

.breadcrumb-nav a:hover {
    color: var(--vestie-primary);
}

.breadcrumb-nav i {
    font-size: 10px;
    color: var(--vestie-text-light);
    flex-shrink: 0;
}

.breadcrumb-nav #breadcrumbCurrent {
    color: var(--vestie-text);
    font-weight: 600;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.vestie-logo-img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    min-width: 44px !important;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.policy-notice {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    background: #FBFBFB;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ECECEC;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: normal;
}

.product-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    margin-top: 30px;
    margin-bottom: 70px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.product-gallery {
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.gallery-main-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-top: 125%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--vestie-border);
    margin-bottom: 14px;
    box-sizing: border-box;
}

.gallery-main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #FFFFFF;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.gallery-thumb {
    width: 72px;
    height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    background: #FFFFFF;
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #FFFFFF;
}

.product-info-column {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.product-page-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--vestie-primary);
    line-height: 1.35;
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.product-pricing-box {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 20px;
    background: var(--vestie-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--vestie-border);
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.product-cta-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.product-cta-group .qty-picker {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--vestie-border);
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    height: 48px;
    flex: 0 0 114px;
    min-width: 108px;
    max-width: 120px;
    box-sizing: border-box;
}

.product-cta-group .qty-picker button {
    width: 38px;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    color: var(--vestie-primary);
}

.product-cta-group .qty-picker span {
    width: 36px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
}

.product-cta-group .btn-outline {
    flex: 1 1 180px;
    min-width: 140px;
    height: 48px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-cta-group .btn-whatsapp {
    flex: 1 1 200px;
    min-width: 180px;
    height: 48px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 900px) {
    .product-page-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 26px !important;
    }
    .product-gallery {
        position: relative !important;
        top: 0 !important;
    }
    .trust-points-list {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        overflow-x: clip !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .product-page-title {
        font-size: 20px !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 600px) {
    .product-cta-group {
        display: grid !important;
        grid-template-columns: 114px minmax(0, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .product-cta-group .qty-picker {
        grid-column: 1 !important;
        height: 46px !important;
        flex: none !important;
    }
    .product-cta-group .btn-outline {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 46px !important;
        padding: 0 10px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        box-sizing: border-box !important;
        flex: none !important;
    }
    .product-cta-group .btn-whatsapp {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        flex: none !important;
        white-space: normal !important;
    }
    .gallery-thumb {
        width: 62px !important;
        height: 78px !important;
    }
    .breadcrumb-nav #breadcrumbCurrent {
        max-width: 170px !important;
    }
}

@media (max-width: 380px) {
    .breadcrumb-nav #breadcrumbCurrent {
        max-width: 125px !important;
    }
}

@media (max-width: 480px) {
    .product-pricing-box {
        padding: 12px 14px !important;
        gap: 10px !important;
    }
    .detail-price {
        font-size: 24px !important;
    }
    .detail-original-price {
        font-size: 15px !important;
    }
    .product-promo-box {
        padding: 12px 14px !important;
        gap: 6px !important;
    }
    .promo-copy-btn {
        padding: 7px 16px !important;
        font-size: 11.5px !important;
    }
    .specs-table td:first-child {
        width: 95px !important;
        font-size: 12.5px !important;
    }
    .specs-table tr td {
        font-size: 12.5px !important;
    }
}

@media (max-width: 350px) {
    .product-cta-group {
        grid-template-columns: 1fr !important;
    }
    .product-cta-group .qty-picker {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
    }
    .product-cta-group .btn-outline {
        grid-column: 1 !important;
    }
}

/* Reviews Section Responsive */
.reviews-section {
    background: #FAF8F5;
    padding: 48px 24px;
    border-radius: 16px;
    margin-bottom: 70px;
    border: 1px solid #EFEAE3;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 340px);
    gap: 36px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .reviews-section {
        padding: 24px 14px !important;
        margin-bottom: 40px !important;
        border-radius: 12px !important;
    }
    .reviews-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
    }
    .write-review-card {
        padding: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}


