/* ============================================================
   The Gifting Adda — Perfected UI Styles
   ============================================================ */

:root {
    --primary: #e91e63;
    --primary-hover: #d81b60;
    --accent: #fbc02d;
    --text: #111;
    --text-muted: #777;
    --bg: #f9f9fa;
    --white: #fff;
    --border: #eaeaea;
    --radius: 12px;
    --shadow: 0 4px 16px rgba(0,0,0,0.04);
    
    /* Specific Colors */
    --peach: #fff5eb;
    --pink-light: #fff0f5;
    --cyan-light: #e0f7fa;
    --red-light: #ffebee;
    --yellow-light: #fffde7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    max-width: 100%;
    overflow-x: clip;
}
body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: #111; }
a { color: var(--text); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--primary); }
.container { max-width: 1480px; margin: 0 auto; padding: 0 20px; }

/* ─── UNIVERSAL INNER PAGE SPACING ─── */
/* All content pages use this wrapper for consistent vertical breathing room */
/* Use padding-top/bottom ONLY — never the shorthand — so container’s horizontal padding is preserved */
.cart-page,
.checkout-page,
.contact-page,
.track-page,
.confirmation-page,
.account-page,
.categories-page {
    padding-top: 40px;
    padding-bottom: 80px;
}
img { max-width: 100%; height: auto; display: block; }
.text-primary { color: var(--primary); }

/* Utility */
.bg-peach { background-color: var(--peach); }
.bg-pink { background-color: var(--pink-light); }
.bg-cyan { background-color: var(--cyan-light); }
.bg-yellow { background-color: var(--yellow-light); }
.bg-pink-light { background-color: var(--pink-light); }
.bg-cyan-light { background-color: var(--cyan-light); }
.bg-red-light { background-color: var(--red-light); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: 0.3s;
    font-family: inherit;
    gap: 8px;
}
.btn-sm { padding: 8px 20px; font-size: 0.9em; }
.btn-round { border-radius: 30px; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); color: var(--white); }
.btn-cyan { background: #00bcd4; color: #fff; }
.btn-cyan:hover { background: #0097a7; color: #fff; }
.btn-white { background: #fff; color: #333; border: 1px solid var(--border); }
.btn-white:hover { background: #fdfdfd; color: var(--primary); border-color: var(--primary); }

/* ─── TOP BAR & HEADER ─── */
.top-bar { background: #FAF0E6; border-bottom: 1px solid rgba(0,0,0,0.03); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; font-size: 13px; font-weight: 600; color: #555; }
.top-bar-left, .top-bar-right { display: flex; gap: 20px; align-items: center; }
.top-link { display: flex; align-items: center; gap: 6px; color: #555; }
.top-link:hover { color: var(--primary); }

.site-header { background: #fff; position: sticky; top: 0; z-index: 2000; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.header-main { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo img { height: 65px; object-fit: contain; margin-top: 2px; }

.btn-all-categories { background: var(--primary); color: #fff; border: none; border-radius: 30px; padding: 10px 22px; margin-right: 5px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2); }
.btn-all-categories:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(225, 29, 72, 0.3); }
.btn-all-categories .cat-grid-icon { transition: transform 0.25s ease; }
.btn-all-categories:hover .cat-grid-icon { transform: rotate(90deg); }
.mobile-search-bar { display: none; }

.header-search { flex: 1; max-width: 650px; }
.search-form { display: flex; align-items: center; border: 2px solid var(--border); border-radius: 8px; padding: 0; background: #fff; overflow: hidden; transition: border-color 0.3s; }
.search-form:focus-within { border-color: var(--primary); }
.search-form input { flex: 1; border: none; padding: 12px 20px; outline: none; background: transparent; font-size: 14px; font-family: inherit; }
.search-divider { width: 1px; height: 24px; background: var(--border); margin: 0; }
.search-form select { border: none; outline: none; background: transparent; padding: 12px 15px; font-size: 14px; color: #444; font-weight: 500; cursor: pointer; }
.search-form button { width: 50px; height: 100%; min-height: 46px; border: none; border-radius: 0; background: var(--primary); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.search-form button:hover { background: var(--primary-hover); }

/* ─── HEADER ACTIONS DOCK ─── */
.header-actions-dock { display: flex; align-items: center; background: #f8fafc; padding: 4px; border-radius: 50px; gap: 4px; border: 1px solid #e2e8f0; }
.dock-btn { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 40px; font-size: 13px; font-weight: 600; color: #1e293b; text-decoration: none; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.dock-btn svg { width: 19px; height: 19px; stroke-width: 2px; transition: transform 0.2s ease, stroke 0.2s ease; }

.dock-btn:not(.cart):hover { color: var(--primary); background: #ffffff; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.dock-btn:not(.cart):hover svg { transform: translateY(-1px) scale(1.05); }

.dock-btn.cart { background: var(--primary); color: #fff; padding: 8px 20px; box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25); border-radius: 40px; }
.dock-btn.cart svg { stroke: #fff; }
.dock-btn.cart:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35); }

.dock-btn .badge { position: absolute; top: -4px; right: 2px; background: var(--primary); color: #ffffff; font-size: 10px; font-weight: 800; min-width: 17px; height: 17px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #ffffff; box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3); z-index: 2; }
.dock-btn.cart .badge { position: relative; top: auto; right: auto; background: #ffffff; color: var(--primary); border: none; font-size: 11px; height: 18px; min-width: 18px; box-shadow: none; margin-left: 2px; }

/* ─── NAVIGATION OVERLAP (HOME ONLY) ─── */
.main-nav-overlap { position: absolute; top: 100%; left: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 90; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border-top: 1px solid #eaeaea; display: block; }
.main-nav-overlap.menu-toggled { display: none !important; }

/* ─── NAVIGATION NORMAL (INNER PAGES) ─── */
.main-nav-normal { position: relative; width: 100%; background: #fff; z-index: 90; box-shadow: 0 10px 20px -10px rgba(0,0,0,0.05); border-top: 1px solid #eaeaea; display: block; }
.main-nav-normal.menu-toggled { display: none !important; }

.main-nav-overlap .nav-inner, .main-nav-normal .nav-inner { display: flex; align-items: center; justify-content: center; height: 65px; position: relative; }
.main-nav-overlap .nav-list, .main-nav-normal .nav-list { display: flex; gap: 2px; list-style: none; align-items: center; margin: 0; padding: 4px; background: #f5f5f5; border-radius: 50px; border: 1px solid rgba(0,0,0,0.03); }
.main-nav-overlap .nav-list a, .main-nav-normal .nav-list a { font-weight: 600; font-size: 13.5px; color: #444; padding: 8px 16px; border-radius: 40px; transition: 0.3s; text-decoration: none; display: inline-block; }
.main-nav-overlap .nav-list a:hover, .main-nav-overlap .nav-list a.active, .main-nav-normal .nav-list a:hover, .main-nav-normal .nav-list a.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(226, 62, 114, 0.25); }
.btn-deals { position: absolute; right: 15px; background: var(--yellow-light); color: #e65100; padding: 8px 16px; border-radius: 30px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; border: 1px solid #ffe0b2; transition: 0.2s; }
.btn-deals:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(230,81,0,0.1); }

/* ─── HIGH QUALITY ICONS (HQ) ─── */
.hq-icon { 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 12px; 
    width: 44px; 
    height: 44px; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.hq-icon svg { 
    width: 22px; 
    height: 22px; 
    stroke-width: 2.25px; 
    stroke-linecap: round; 
    stroke-linejoin: round; 
}
.hq-icon:hover { 
    transform: translateY(-2px) scale(1.06); 
}

.hq-green  { background: #10b981; border: none; color: #ffffff; }
.hq-pink   { background: #e91e63; border: none; color: #ffffff; }
.hq-blue   { background: #2563eb; border: none; color: #ffffff; }
.hq-yellow { background: #eab308; border: none; color: #ffffff; }
.hq-orange { background: #f97316; border: none; color: #ffffff; }
.hq-purple { background: #8b5cf6; border: none; color: #ffffff; }
.hq-red    { background: #ef4444; border: none; color: #ffffff; }
.hq-cyan   { background: #06b6d4; border: none; color: #ffffff; }

.hq-green:hover  { box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4); }
.hq-pink:hover   { box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4); }
.hq-blue:hover   { box-shadow: 0 6px 20px rgba(25, 99, 235, 0.4); }
.hq-yellow:hover { box-shadow: 0 6px 20px rgba(234, 179, 8, 0.4); }
.hq-orange:hover { box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4); }
.hq-purple:hover { box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4); }
.hq-red:hover    { box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4); }
.hq-cyan:hover   { box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4); }

.hq-icon .badge { position: absolute; top: -6px; right: -6px; background: var(--primary); color: #fff; font-size: 11px; font-weight: bold; min-width: 20px; height: 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #fff; z-index: 2; }

/* ─── NAVIGATION DROPDOWN ─── */
.main-nav-dropdown { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fdfdfd; z-index: 101; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.main-nav-dropdown.open { display: block; }
.main-nav-dropdown .nav-inner { display: flex; align-items: center; justify-content: center; height: 55px; gap: 40px; }
.main-nav-dropdown .nav-list { display: flex; gap: 25px; list-style: none; align-items: center; margin: 0; padding: 0; }
.main-nav-dropdown .nav-list a { font-weight: 600; font-size: 14px; color: #333; transition: 0.2s; }
.main-nav-dropdown .nav-list a:hover { color: var(--primary); }
.btn-deals { background: var(--yellow-light); color: #e65100; padding: 8px 16px; border-radius: 30px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; border: 1px solid #ffe0b2; transition: 0.2s; }
.btn-deals:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(230,81,0,0.1); }

/* ─── HERO SLIDER ─── */
.hero-slider-wrapper { position: relative; width: 100%; height: calc(100vh - 110px); min-height: 520px; overflow: hidden; background: #f5ede4; margin-bottom: 40px; }
.hero-slider { display: flex; width: 100%; height: 100%; transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1); }
.hero-slide { flex: 0 0 100%; width: 100%; height: 100%; background-size: cover; background-position: center right; background-repeat: no-repeat; display: flex; align-items: center; position: relative; }
.hero-slide-link { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; display: block; text-decoration: none; cursor: pointer; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.hero-dots .dot { width: 10px; height: 10px; background: rgba(0,0,0,0.18); border-radius: 50%; cursor: pointer; transition: 0.35s; }
.hero-dots .dot.active { background: var(--primary); width: 30px; border-radius: 5px; }
.hero-content { max-width: 580px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.88); backdrop-filter: blur(8px); padding: 8px 18px; border-radius: 30px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 22px; border: 1.5px solid rgba(0,0,0,0.08); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.hero-title { font-size: 52px; line-height: 1.1; margin-bottom: 18px; letter-spacing: -1px; text-shadow: 0 2px 20px rgba(255,255,255,0.7); }
.hero-desc { font-size: 17px; font-weight: 500; margin-bottom: 32px; line-height: 1.65; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hero-feature-item { display: flex; align-items: center; gap: 12px; background: #fff; padding: 10px 15px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.hero-feature-item .hf-icon { width: 36px; height: 36px; background: var(--pink-light); color: var(--primary); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.hero-feature-item .hf-icon svg { width: 20px; height: 20px; }
.hero-feature-item .hf-text strong { display: block; font-size: 13px; color: #222; }
.hero-feature-item .hf-text span { font-size: 11px; color: #777; }

/* Hero arrow buttons */
.hs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
.hero-slider-wrapper:hover .hs-arrow { opacity: 1; }
.hs-prev { left: 20px; }
.hs-next { right: 20px; }
.hs-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); box-shadow: 0 6px 25px rgba(0,0,0,0.18); }

/* Outline / secondary button — always visible on any slide bg */
.hero-btn-outline {
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-width: 2px !important;
    font-weight: 700;
}
.hero-btn-outline:hover {
    background: #fff !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
}

/* ─── TRUST BADGES ─── */
.trust-badges-section { margin-top: -75px; position: relative; z-index: 10; margin-bottom: 40px; }
.trust-badges-row { display: flex; justify-content: space-between; border: 1px solid rgba(0,0,0,0.05); border-radius: 16px; background: #fff; padding: 20px 0; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25), 0 10px 20px -5px rgba(0,0,0,0.1); transform: translateY(-2px); }
.trust-badge { flex: 1; display: flex; align-items: center; justify-content: center; gap: 18px; border-right: 1px solid rgba(0,0,0,0.06); padding: 0 15px; }
.trust-badge:last-child { border-right: none; }
.trust-badge .tb-text strong { display: block; font-size: 14.5px; font-weight: 700; color: #222; margin-bottom: 2px; }
.trust-badge .tb-text span { font-size: 12px; color: #777; }

/* ─── GLOBAL SECTION HEADER ─── */
.section { padding-top: 48px; padding-bottom: 48px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.section-title { font-size: 20px; font-weight: 700; color: #1a1a2e; letter-spacing: 0.8px; text-transform: uppercase; }
.title-icon { font-size: 22px; }
.badge-new-icon { background: var(--primary); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 6px; font-weight: 800; }
.view-all-link { color: var(--primary); font-weight: 700; font-size: 14px; }
.view-all-pill { background: var(--primary); color: #fff; padding: 9px 20px; border-radius: 30px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: 0.25s; box-shadow: 0 4px 14px rgba(233,30,99,0.28); white-space: nowrap; }
.view-all-pill:hover { background: #c2185b; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(233,30,99,0.38); color: #fff; }
.header-nav { display: flex; align-items: center; gap: 20px; }
.slider-arrows { display: flex; gap: 8px; }
.arrow-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; color: #333; }
.arrow-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─── SHOP BY CATEGORY ─── */
/* Full-Width Section Alternate Background Wrapper */
.section-alternate-wrapper {
    background-color: #fbf8fa; /* Soft premium pink-grey tint */
    border-top: 1px solid #f1eaeef0;
    border-bottom: 1px solid #f1eaeef0;
    width: 100%;
}
.premium-section-wrapper {
    background: #fbf8fa;
    border-top: 1px solid #f1eaeef0;
    border-bottom: 1px solid #f1eaeef0;
    width: 100%;
}
.categories-grid { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.categories-grid::-webkit-scrollbar { display: none; }
.category-box { flex: 0 0 180px; border-radius: 0; padding: 25px 15px 15px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: space-between; transition: 0.3s; border: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5), 0 4px 15px rgba(0,0,0,0.03); }
.category-box:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8), 0 8px 25px rgba(0,0,0,0.08); }
.cb-image { width: 100%; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; }
.cb-image img { width: 95%; max-height: 120px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,0.12)); transition: 0.3s; }
.category-box:hover .cb-image img { transform: scale(1.08); filter: drop-shadow(0 12px 16px rgba(0,0,0,0.15)); }
.category-box span { font-size: 15px; font-weight: 800; color: #111; margin-top: auto; }
/* ─── SHOP BY OCCASION ─── */
.occasions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.occasion-card-new {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF5F7 0%, #FFE4E8 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    position: relative;
}
.occasion-card-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.occasion-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.occasion-card-new:hover img {
    transform: scale(1.05);
}

/* Category Accents */
.cb-bg-1 { background: radial-gradient(circle at 50% 0%, #fff0f5 0%, #ffe4e1 100%); }
.cb-bg-2 { background: radial-gradient(circle at 50% 0%, #e0f7fa 0%, #b2ebf2 100%); }
.cb-bg-3 { background: radial-gradient(circle at 50% 0%, #fff8e1 0%, #ffecb3 100%); }
.cb-bg-4 { background: radial-gradient(circle at 50% 0%, #e8f5e9 0%, #c8e6c9 100%); }
.cb-bg-5 { background: radial-gradient(circle at 50% 0%, #f3e5f5 0%, #e1bee7 100%); }
.cb-bg-6 { background: radial-gradient(circle at 50% 0%, #ffebee 0%, #ffcdd2 100%); }
.cb-bg-7 { background: radial-gradient(circle at 50% 0%, #fff3e0 0%, #ffe0b2 100%); }
.cb-bg-8 { background: radial-gradient(circle at 50% 0%, #ede7f6 0%, #d1c4e9 100%); }

/* ─── PROMO BANNERS CAROUSEL ─── */
.promo-carousel-wrapper { 
    width: 100%; 
    overflow: hidden; 
}
.promo-carousel { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; 
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
    gap: 10px; 
    padding-bottom: 20px; 
}
.promo-carousel::-webkit-scrollbar { display: none; }

.promo-carousel .promo-banner { 
    flex: 0 0 calc(40% - 6px); /* ~2.5 items visible on desktop */
    scroll-snap-align: start;
    border-radius: 0; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 30px; 
    position: relative; 
    overflow: hidden; 
    transition: 0.3s; 
    border: none;
    box-shadow: none;
    height: 240px; /* Rectangular height */
}
.promo-banner:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }

/* Circular Blob for Promo Banners */
.promo-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px; /* Increased size */
    height: 250px; /* Increased size */
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: var(--blob-color, #f2e3d5);
}
.promo-banner:hover::before { transform: scale(1.10); }

.promo-text { position: relative; z-index: 2; max-width: 55%; text-align: left; margin-bottom: 0; }
.promo-text h3 { font-size: 24px; margin-bottom: 8px; color: #111; letter-spacing: -0.3px; line-height: 1.1; }
.promo-text p { font-size: 14px; color: #555; margin-bottom: 20px; line-height: 1.3; }
.promo-text .btn { width: auto; font-size: 13px; padding: 10px 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

.promo-banner img { 
    position: absolute; 
    right: 0; 
    bottom: -15px; 
    height: 115%; /* Increased image size massively */
    max-width: 50%; 
    object-fit: contain; 
    z-index: 2; 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}
.promo-banner:hover img { transform: scale(1.08); }

/* ─── PRODUCT CARD ─── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}
.product-img-wrap {
    position: relative;
    border-radius: 0;
    background: #fff;
    aspect-ratio: 1;
    display: block;
    overflow: hidden;
    padding: 0;
    margin-bottom: 0;
    transition: all 0.3s ease;
}
.product-card:hover .product-img-wrap {
    background: #fff;
}
.product-img-wrap a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.product-img-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.product-slider-img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
}

@media (min-width: 769px) {
    .product-card:hover .product-img-slider.has-hover {
        transform: translate3d(-100%, 0, 0);
    }
}

@media (max-width: 768px) {
    .product-img-slider.has-hover {
        animation: mobileSlideLoop 2.4s infinite ease-in-out;
    }
}

@keyframes mobileSlideLoop {
    0%, 40% {
        transform: translate3d(0, 0, 0);
    }
    50%, 90% {
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}
.product-badges { position: absolute; top: 12px; left: 12px; z-index: 2; }
.badge-new { background: var(--primary); color: #fff; padding: 4px 8px; border-radius: 0; font-size: 10px; font-weight: 800; letter-spacing: 0.5px; }
.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.03);
    width: 32px;
    height: 32px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.8;
}
.product-card:hover .wishlist-btn {
    opacity: 1;
}
.wishlist-btn:hover {
    color: #dc2626;
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}
.wishlist-btn.active svg { fill: #dc2626 !important; stroke: #dc2626 !important; }

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 12px 8px 12px;
}
.rating-badge-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 3px 8px;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    color: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 2;
    transition: all 0.3s ease;
}
.rating-badge-overlay svg {
    margin-bottom: 1px;
}
.rating-sep {
    color: #ddd;
    margin: 0 1px;
}
.rating-qty {
    color: #666;
    font-weight: 500;
}
.product-pricing-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.price-current {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}
.price-original {
    font-size: 12px;
    text-decoration: line-through;
    color: #888;
    margin-left: 6px;
}
.price-discount {
    font-size: 11px;
    font-weight: 700;
    color: #10b981; /* Premium Green */
    margin-left: 6px;
}
.product-name {
    font-size: 12.5px;
    font-weight: 400;
    color: #777;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-name a {
    color: #777;
    transition: color 0.2s;
}
.product-name a:hover {
    color: var(--primary);
}

/* Product Card Action Buttons - Full-width bottom bar */
.product-card-action {
    width: 100%;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    margin-top: auto;
}
.btn-add-to-cart {
    width: 100%;
    border: none;
    background: #fff;
    color: #222;
    padding: 12px;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    display: block;
    border-radius: 0;
}
.btn-add-to-cart:hover {
    background: #fafafa;
    color: var(--primary);
}
.product-qty-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #10b981; /* Premium Green */
    height: 38px;
    padding: 0 12px;
    border-radius: 0;
    width: 100%;
    margin: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}
.qty-btn {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s;
}
.qty-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}
.qty-val {
    font-size: 11px;
    font-weight: 750;
    color: #fff;
    min-width: auto;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── PRODUCT CAROUSEL ─── */
.product-carousel-wrapper {
    position: relative;
    width: 100%;
}
.product-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    padding: 10px 0 25px 0;
}
.product-carousel.dragging,
.promo-carousel.dragging,
.categories-grid.dragging {
    cursor: grabbing;
    user-select: none;
    scroll-behavior: auto !important;
}
.product-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}
.product-carousel .product-card {
    flex: 0 0 calc((100% - 4 * 12px) / 5); /* Exactly 5 items per row */
    scroll-snap-align: start;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-carousel .product-card {
        flex: 0 0 calc((100% - 3 * 12px) / 4); /* 4 items on small desktops */
    }
    .promo-carousel .promo-banner {
        flex: 0 0 calc(50% - 10px);
    }
}
@media (max-width: 992px) {
    .product-carousel .product-card {
        flex: 0 0 60%;
        scroll-snap-align: center;
    }
    .promo-carousel .promo-banner {
        flex: 0 0 calc(65% - 10px);
        height: 220px;
    }
}
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .promo-carousel .promo-banner {
        flex: 0 0 calc(100% - 30px); /* Exactly one card visible, centered */
        scroll-snap-align: center;
        height: 180px;
        padding: 20px 15px;
    }
    .promo-carousel .promo-banner::before {
        width: 180px;
        height: 180px;
        top: -30px;
        right: -30px;
    }
    .promo-text { max-width: 60%; }
    .promo-text h3 { font-size: 18px; margin-bottom: 4px; }
    .promo-text p { font-size: 12px; margin-bottom: 12px; }
    .promo-text .btn { padding: 8px 16px; font-size: 12px; width: auto; }
    .promo-banner img { height: 110%; max-width: 50%; bottom: -5px; right: -10px; }
    
    .product-carousel-wrapper, .promo-carousel-wrapper {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }
    .product-carousel, .promo-carousel {
        padding-left: 15px;
        padding-right: 15px;
        gap: 12px;
        padding-bottom: 15px;
    }
    .product-carousel .product-card {
        flex: 0 0 60%; /* 60% width, showing 1.5 items (second item half visible) */
        scroll-snap-align: center; /* Center snap looks much better for 1.5 items! */
    }
    .product-card {
        border-radius: 0;
        border: 1px solid rgba(0, 0, 0, 0.04);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
    }
    .product-img-wrap {
        border-radius: 0;
    }
    .product-info {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 10px 10px 8px 10px;
    }
    .product-pricing-row {
        display: flex;
        align-items: baseline;
        margin-bottom: 4px;
        flex-wrap: wrap;
    }
    .price-current {
        font-size: 14px;
        font-weight: 700;
        color: #222;
    }
    .price-original {
        font-size: 10px;
        text-decoration: line-through;
        color: #888;
        margin-left: 4px;
    }
    .price-discount {
        font-size: 9px;
        font-weight: 700;
        color: #10b981;
        margin-left: 4px;
    }
    .product-name {
        font-size: 11px;
        font-weight: 400;
        color: #777;
        margin-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-card-action {
        width: 100%;
        border-top: 1px solid #f0f0f0;
        background: #fff;
        margin-top: auto;
    }
    .btn-add-to-cart {
        width: 100%;
        border: none;
        background: #fff;
        color: var(--primary);
        padding: 10px;
        font-size: 10.5px;
        font-weight: 750;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        cursor: pointer;
        text-align: center;
        display: block;
        border-radius: 0;
    }
    .product-qty-selector {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #10b981;
        height: 34px;
        padding: 0 10px;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }
    .qty-btn {
        background: none;
        border: none;
        width: 20px;
        height: 20px;
        font-size: 14px;
        color: #fff;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .qty-val {
        font-size: 10px;
        font-weight: 750;
        color: #fff;
        min-width: auto;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}
@media (max-width: 480px) {
    .product-carousel-wrapper {
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 20px);
    }
    .product-carousel {
        padding-left: 10px;
        padding-right: 10px;
        gap: 10px;
    }
    .product-carousel .product-card {
        flex: 0 0 62%; /* 62% width on small screens to guarantee 1.5 item ratio */
    }
}
/* ─── WHY CHOOSE GIFTING ADDA ─── */
.why-choose-wrapper {
    background: linear-gradient(to bottom, #fffdfa 0%, #faf6f0 100%);
    border-top: 1px solid rgba(229, 201, 160, 0.6);
    border-bottom: 1px solid rgba(229, 201, 160, 0.6);
    width: 100%;
}
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.why-choose-card {
    background: #ffffff;
    border: 1px solid rgba(229, 201, 160, 0.5);
    box-shadow: 0 4px 12px rgba(35, 31, 26, 0.02);
    border-radius: 0;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-choose-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(35, 31, 26, 0.06);
    border-color: #c4a472;
}
.why-choose-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #231f1a;
    width: 44px;
    height: 44px;
    border-radius: 0;
    flex-shrink: 0;
    color: #fff;
    transition: transform 0.2s ease;
}
.why-choose-card:hover .why-choose-card-icon {
    transform: scale(1.05);
}
.why-choose-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    stroke-width: 2px;
}
.why-choose-card-content h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #231f1a;
    margin: 0 0 6px 0;
}
.why-choose-card-content p {
    font-size: 12px;
    color: #5d564e;
    margin: 0;
    line-height: 1.5;
}

/* ─── GIFTS BY BUDGET ─── */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.budget-card {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFF0F5 50%, #E0F7FA 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.budget-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.budget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.budget-card:hover img {
    transform: scale(1.04);
}

/* ─── FESTIVAL SPOTLIGHT ─── */
.spotlight-row {
    display: flex;
    gap: 30px;
}
.spotlight-today {
    flex: 1.25;
    display: flex;
    flex-direction: column;
}
.spotlight-later {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.spotlight-badge {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    color: #e23e72;
    background: rgba(226, 62, 114, 0.08);
    padding: 6px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.spotlight-badge.badge-later {
    color: #4a5568;
    background: #edf2f7;
}
.spotlight-featured-card {
    display: block;
    width: 100%;
    aspect-ratio: 1.6 / 1;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFF0F5 50%, #E0F7FA 100%);
}
.spotlight-featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.spotlight-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.spotlight-featured-card:hover img {
    transform: scale(1.03);
}
.spotlight-later-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    flex-grow: 1;
}
.spotlight-mini-card {
    display: block;
    width: 100%;
    aspect-ratio: 1.5 / 1;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    background: linear-gradient(135deg, #FFF0F5 0%, #E0F7FA 100%);
}
.spotlight-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.spotlight-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.spotlight-mini-card:hover img {
    transform: scale(1.04);
}

/* ─── SHOP PAGE ─── */
.shop-layout { display: flex; gap: 30px; margin-top: 40px; margin-bottom: 60px; padding-bottom: 80px; }
.shop-sidebar { width: 280px; flex-shrink: 0; position: sticky; top: 100px; align-self: flex-start; background: #fff; border: 1px solid #eaeaea; border-radius: 0; padding: 25px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.sidebar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; border-bottom: 1px solid #eaeaea; padding-bottom: 15px; }
.sidebar-header h3 { font-size: 22px; font-weight: 700; color: #111; margin: 0; }
.sidebar-actions { display: flex; align-items: center; gap: 15px; }
.close-sidebar { display: none; background: none; border: none; cursor: pointer; color: #333; padding: 0; align-items: center; justify-content: center; }
.clear-filters { font-size: 13px; font-weight: 600; color: var(--primary); text-transform: none; transition: 0.3s; text-decoration: none; }
.clear-filters:hover { color: var(--primary-hover); text-decoration: underline; }

.sidebar-promo-banner {
    width: 100%;
    overflow: hidden;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sidebar-promo-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.sidebar-promo-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.sidebar-promo-banner:hover img {
    transform: scale(1.02);
}

.filter-group { margin-bottom: 25px; background: transparent; border-bottom: 1px solid #eaeaea; padding: 0 0 25px 0; }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group h4 { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.filter-group ul { list-style: none; padding: 0; margin: 0; }

/* Accordion Filters */
.accordion-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.accordion-header h4 { font-size: 14px; font-weight: 700; color: #111; margin: 0; }
.accordion-header .acc-icon { font-size: 20px; color: #888; font-weight: 300; line-height: 1; transition: 0.3s; }
.filter-content { margin-top: 20px; }

/* Price Histogram & Slider */
.price-histogram { display: flex; align-items: flex-end; height: 40px; gap: 2px; margin-bottom: 8px; }
.price-histogram .bar { flex: 1; background: #e2e8f0; border-radius: 2px 2px 0 0; }
.price-histogram .bar.active { background: #8e9a4f; }
.dual-range-container { position: relative; width: 100%; height: 24px; margin-bottom: 5px; }
.dual-range-container .price-slider-track { position: absolute; width: 100%; height: 4px; top: 10px; background: #e2e8f0; border-radius: 4px; z-index: 1; }
.dual-range-container .price-slider-fill { position: absolute; height: 100%; top: 0; background: #8e9a4f; border-radius: 4px; z-index: 1; }
.dual-range-container input[type="range"] { position: absolute; width: 100%; height: 24px; top: 0; left: 0; margin: 0; padding: 0; appearance: none; background: transparent; pointer-events: none; z-index: 2; outline: none; }
.dual-range-container input[type="range"]::-webkit-slider-runnable-track { appearance: none; width: 100%; height: 24px; background: transparent; border: none; }
.dual-range-container input[type="range"]::-webkit-slider-thumb { appearance: none; pointer-events: auto; width: 16px; height: 16px; background: #fff; border: 2px solid #8e9a4f; border-radius: 50%; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-top: 4px; }
.dual-range-container input[type="range"]::-moz-range-track { width: 100%; height: 24px; background: transparent; border: none; }
.dual-range-container input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; background: #fff; border: 2px solid #8e9a4f; border-radius: 50%; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,0.1); box-sizing: border-box; }
.price-labels-inline { display: flex; justify-content: space-between; font-size: 11px; color: #777; font-weight: 600; }

/* Price Inputs Grid */
.price-inputs-grid { display: flex; gap: 15px; margin-bottom: 15px; }
.price-input-box { flex: 1; }
.price-input-box label { display: block; text-align: center; font-size: 11px; color: #555; margin-bottom: 6px; font-weight: 500; }
.price-input-box .input-wrap { display: flex; align-items: center; border: 1px solid #e2e8f0; border-radius: 6px; padding: 6px 10px; background: #fff; }
.price-input-box .input-wrap span { font-size: 12px; color: #666; margin-right: 4px; }
.price-input-box .input-wrap input { width: 100%; border: none; outline: none; font-size: 13px; font-weight: 600; color: #111; padding: 0; background: transparent; }
.btn-apply-price-new { width: 100%; background: #e23e72; color: #fff; border: none; border-radius: 6px; padding: 10px; font-size: 13px; font-weight: 700; cursor: pointer; margin-top: 5px; transition: 0.2s; box-shadow: 0 4px 10px rgba(226, 62, 114, 0.2); }
.btn-apply-price-new:hover { background: #c82256; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(226, 62, 114, 0.3); }

/* Categories & Collection list items */
.filter-categories ul, .filter-collection ul { display: flex; flex-direction: column; gap: 10px; }
.filter-categories ul li a, .filter-collection ul li a { display: flex; align-items: center; justify-content: space-between; color: #555; font-size: 13.5px; font-weight: 500; transition: 0.2s; text-decoration: none; }
.filter-categories ul li a:hover, .filter-collection ul li a:hover, .filter-categories ul li a.active, .filter-collection ul li a.active { color: #111; font-weight: 600; }
.shop-main { flex: 1; min-width: 0; }
.shop-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.top-bar-left { display: flex; align-items: center; gap: 20px; }
.btn-filter-toggle { display: none; align-items: center; gap: 8px; background: #fff; border: 1px solid #eaeaea; padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; color: #111; transition: 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.btn-filter-toggle:hover { background: #f9f9f9; }
.results-count { font-size: 22px; font-weight: 700; color: #111; margin: 0; }
.results-count strong { color: #111; font-weight: 800; }
.shop-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #555; }
.shop-sort select { border: 1px solid #eaeaea; border-radius: 8px; padding: 8px 30px 8px 15px; outline: none; font-family: inherit; cursor: pointer; color: #111; font-weight: 600; appearance: none; background: #fff url('data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%23333" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 12px center; }

/* ─── SITE FOOTER ─── */
.footer-global-wrapper {
    background: radial-gradient(circle at 50% 30%, #fffcf5 0%, #fdf6eb 40%, #fbead0 75%, #f9dcb0 100%);
    border-top: 1px solid rgba(229, 201, 160, 0.6);
    width: 100%;
}
.footer-features-bar {
    background: transparent;
    padding: 40px 0;
    margin-top: 0; /* Spacing from preceding sections */
}

.site-footer {
    background-color: transparent;
    padding: 60px 0 40px 0;
    font-size: 14px;
    color: #4a443c;
}

.footer-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Features Row */
.footer-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #fff;
    border: 1px solid #e5c9a0;
    border-radius: 6px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(35, 31, 26, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 31, 26, 0.08);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background-color: #231f1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    color: #fff;
    stroke: currentColor;
}

.feature-text h5 {
    font-size: 13.5px;
    font-weight: 700;
    color: #231f1a;
    margin: 0 0 2px 0;
}

.feature-text p {
    font-size: 11.5px;
    color: #7a736a;
    margin: 0;
    line-height: 1.4;
}

/* 5 Column Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr 1.4fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-height: 65px;
    object-fit: contain;
    margin-bottom: 20px;
}

.brand-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #5d564e;
    margin-bottom: 24px;
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5d564e;
    font-size: 13.5px;
}

.contact-list li svg {
    color: #231f1a;
    flex-shrink: 0;
}

.contact-list li a {
    color: #5d564e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-list li a:hover {
    color: #231f1a;
}

/* Titles */
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #231f1a;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Link Lists */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: #5d564e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-col ul a:hover {
    color: #231f1a;
    transform: translateX(4px);
}

/* Newsletter Column */
.newsletter-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: #5d564e;
    margin-bottom: 16px;
}

.footer-newsletter-form {
    margin-bottom: 24px;
}

.footer-input-group {
    display: flex;
    background-color: #fff;
    border: 1px solid #d9bd93;
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(35, 31, 26, 0.04);
}

.footer-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 14px;
    outline: none;
    font-family: inherit;
    font-size: 13.5px;
    color: #231f1a;
}

.footer-input-group input::placeholder {
    color: #a39c94;
}

.footer-input-group button {
    background-color: #231f1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.footer-input-group button:hover {
    background-color: #0c0d12;
}

.footer-input-group button:active {
    transform: scale(0.95);
}

.footer-social-wrap h5 {
    font-size: 13px;
    font-weight: 700;
    color: #231f1a;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social Media Icons */
.footer-social-icons {
    display: flex;
    gap: 10px;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #d9bd93;
    background-color: transparent;
    color: #5d564e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.footer-social-icons a:hover {
    color: #fff;
    background-color: #231f1a;
    border-color: #231f1a;
    transform: translateY(-2px);
}

/* SEO Tags Cloud */
.footer-seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #e5c9a0;
    align-items: center;
}

.footer-seo-tags span {
    font-weight: 700;
    font-size: 13px;
    color: #231f1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-seo-tags a {
    font-size: 13px;
    color: #5d564e;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid #e5c9a0;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.footer-seo-tags a:hover {
    background-color: #231f1a;
    color: #fff;
    border-color: #231f1a;
}

/* Divider & Bottom Bar */
.footer-divider {
    height: 1px;
    background-color: #e5c9a0;
    margin: 10px 0 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #7a736a;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
}

.fb-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.we-accept-text {
    font-weight: 600;
    color: #5d564e;
    font-size: 12.5px;
}

.payment-methods {
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-icon-img {
    height: 24px;
    padding: 3px 6px;
    background-color: #ffffff;
    border: 1px solid rgba(229, 201, 160, 0.6);
    border-radius: 4px;
    object-fit: contain;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.payment-icon-img:hover {
    transform: translateY(-2px);
    border-color: #c4a472;
}

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

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .why-choose-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
        border-radius: 8px;
    }
    .why-choose-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 6px;
    }
    .why-choose-card-icon svg {
        width: 20px;
        height: 20px;
    }
    .why-choose-card-content h4 {
        font-size: 13.5px;
        margin-bottom: 4px;
    }
    .why-choose-card-content p {
        font-size: 11px;
        line-height: 1.4;
    }

    .footer-features-bar {
        margin-top: 0;
        padding: 30px 0;
        background: transparent;
    }
    .footer-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-col {
        border-bottom: 1px solid rgba(35, 31, 26, 0.08);
        padding: 12px 0;
    }
    .footer-col.brand-col {
        border-bottom: 1px solid rgba(35, 31, 26, 0.08);
        padding-bottom: 24px;
    }
    .footer-col.links-col h4 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
        padding: 8px 0;
        cursor: pointer;
    }
    .footer-col.links-col h4::after {
        content: '+';
        font-size: 18px;
        font-weight: 400;
        color: #7a736a;
        transition: transform 0.2s ease;
    }
    .footer-col.links-col.active h4::after {
        content: '−';
    }
    .footer-col.links-col ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 10px;
        padding: 0;
    }
    .footer-col.links-col.active ul {
        padding: 12px 0 8px 0;
    }
    .footer-col.newsletter-col {
        border-bottom: none;
        padding-top: 24px;
    }
    .footer-seo-tags {
        margin-top: 20px;
        padding: 20px 0;
    }
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
/* Empty State Styling */
.empty-state {
    text-align: center;
    padding: 60px 30px;
    background: #fff;
    border: 1.5px dashed var(--border);
    border-radius: 16px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.empty-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff0f5;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.empty-state h3 {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
}
.empty-state p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}
.btn-empty-state {
    box-shadow: 0 4px 15px rgba(233,30,99,0.2) !important;
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.mobile-sticky-actions { display: none; }

/* ─── PRODUCT DETAIL PAGE ─── */
.product-page { padding: 25px 0 60px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #777; margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: #555; text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: #aaa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }

/* — Main Two-Column Layout — */
.product-main { display: flex; gap: 50px; align-items: flex-start; margin-bottom: 28px; width: 100%; }

/* — Gallery — */
.product-gallery { flex: 1; min-width: 0; }
.gallery-desktop-grid { display: grid; gap: 12px; }

/* Single-image: 3-col flanked layout on desktop */
.gallery-desktop-grid.single-image {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;  /* 1:2:1 — flanks are half-width of center */
    gap: 0;
    align-items: stretch;
    width: 100%;
    background: #f9f9fa;
    border-radius: 16px;
    overflow: hidden;
}

/* Decorative flank images */
.gallery-flank {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

/* Product image cell in single-image flanked layout */
.gallery-desktop-grid.single-image .grid-image-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;   /* Center product image is a perfect 1:1 square */
    border-radius: 0;
    border: none;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    background: #fff;
    cursor: zoom-in;
}
.gallery-desktop-grid.single-image .grid-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .gallery-desktop-grid.single-image {
        grid-template-columns: 1fr;
        background: none;
        border-radius: 0;
        overflow: visible;
        gap: 0;
    }
    .gallery-flank {
        display: none !important;
    }
    .gallery-desktop-grid.single-image .grid-image-wrapper {
        aspect-ratio: 1;
        max-width: 450px;
        margin: 0 auto;
        border: 1px solid #eaeaea;
        border-radius: 12px;
    }
}


.gallery-desktop-grid.multi-image { grid-template-columns: repeat(2, 1fr); }
.grid-image-wrapper { background: #f9f9fa; border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1px solid #eaeaea; }
.grid-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.grid-image-wrapper:hover img { transform: scale(1.03); }
.gallery-mobile-carousel { display: none; }

/* — Details Column — */
.product-details { flex: 0 0 520px; min-width: 0; position: sticky; top: 100px; }
.product-title { font-size: 28px; font-weight: 800; color: #111; line-height: 1.25; margin-bottom: 16px; letter-spacing: -0.5px; }

/* Sale Ends In Ticker */
.sale-ticker-banner {
    background: #e0f2fe;
    border-radius: 8px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    width: 100%;
}
.ticker-timer {
    color: #0284c7;
    font-variant-numeric: tabular-nums;
}

/* Price Block Wrap */
.product-price-row-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 15px;
    position: relative;
    width: 100%;
}
.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 0;
}
.price-main { font-size: 32px; font-weight: 800; color: #111; }
.price-was { font-size: 18px; color: #aaa; text-decoration: line-through; font-weight: 500; }
.discount-badge { background: #e8f5e9; color: #2e7d32; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 6px; }
.inclusive-taxes-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    width: 100%;
}
.inclusive-taxes-subtext {
    font-size: 12px;
    color: #888;
    margin-bottom: 0;
    font-weight: 500;
}
.btn-share-top {
    background: transparent;
    border: none;
    padding: 6px;
    color: #4b5563;
    cursor: pointer;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.btn-share-top:hover {
    color: #111111;
    background: #f3f4f6;
    transform: scale(1.05);
}
.btn-share-top svg {
    display: block;
}

/* Rating Badge */
.product-rating-badge {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.rating-sep {
    color: #ddd;
    margin: 0 2px;
}
.rating-count {
    color: #888;
    font-weight: 500;
}

/* Offers Section */
.section-title-sm {
    font-size: 12px;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.offers-section {
    margin-bottom: 20px;
}
.offer-card {
    border: 1.5px solid #dbeafe;
    border-radius: 12px;
    background: #f8fafc;
    padding: 16px;
    position: relative;
    margin-top: 12px;
}
.offer-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.offer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.offer-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}
.offer-main-text {
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 600;
}
.btn-explore-offer {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: gap 0.2s;
}
.btn-explore-offer:hover {
    gap: 6px;
}
.offer-subtext {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Avatar stack */
.avatar-stack {
    display: flex;
    align-items: center;
}
.avatar-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-size: cover;
    background-position: center;
}
.avatar-dot:not(:first-child) {
    margin-left: -8px;
}
.avatar-1 { background-color: #ec4899; }
.avatar-2 { background-color: #3b82f6; }

/* Trust badge */
.trust-badge-row {
    background: #f0fdf4;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}
.avatar-stack-inline {
    display: flex;
    align-items: center;
}
.avatar-item {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
}
.avatar-item:not(:first-child) {
    margin-left: -10px;
}
.avatar-user-1 { background-image: url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=100&h=100&fit=crop'); }
.avatar-user-2 { background-image: url('https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=100&h=100&fit=crop'); }
.avatar-user-3 { background-image: url('https://images.unsplash.com/photo-1580489944761-15a19d654956?w=100&h=100&fit=crop'); }

.trust-text {
    font-size: 12.5px;
    color: #166534;
    font-weight: 500;
}

/* Swatches section */
.product-swatches-section {
    margin-bottom: 22px;
}
.swatches-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.swatch-item {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s;
    background: #f8fafc;
}
.swatch-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swatch-item:hover {
    border-color: #cbd5e1;
}
.swatch-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(233,30,99,0.15);
}

.product-short-desc { font-size: 14.5px; color: #555; line-height: 1.7; margin-bottom: 18px; border-left: 3px solid #eaeaea; padding-left: 14px; }

/* Stock status */
.stock-status { font-size: 13.5px; font-weight: 700; margin-bottom: 22px; display: flex; align-items: center; gap: 8px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.stock-status.in-stock { color: #16a34a; }
.stock-status.in-stock .stock-dot { background-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,0.25); }
.stock-status.out-stock { color: #dc2626; }
.stock-status.out-stock .stock-dot { background-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.25); }
.low-stock { font-size: 12px; background: #fff7ed; color: #c2410c; padding: 2px 8px; border-radius: 20px; font-weight: 600; }

/* Qty Selector */
.qty-selector { display: flex; align-items: center; gap: 0; margin-bottom: 20px; width: fit-content; border: 1.5px solid #eaeaea; border-radius: 10px; overflow: hidden; }
.qty-selector button { width: 44px; height: 44px; background: #f9f9fa; border: none; font-size: 20px; font-weight: 300; cursor: pointer; color: #333; transition: 0.2s; line-height: 1; display: flex; align-items: center; justify-content: center; }
.qty-selector button:hover { background: #f0f0f0; color: #111; }
.qty-selector input { width: 64px; height: 44px; border: none; border-left: 1.5px solid #eaeaea; border-right: 1.5px solid #eaeaea; text-align: center; font-size: 16px; font-weight: 700; font-family: inherit; outline: none; color: #111; }
.qty-selector input::-webkit-inner-spin-button, .qty-selector input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Gift wrap */
.gift-wrap-check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #555; margin-bottom: 16px; cursor: pointer; }
.gift-wrap-check input { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
#giftMsgBox textarea { width: 100%; border: 1.5px solid #eaeaea; border-radius: 10px; padding: 12px; font-family: inherit; font-size: 14px; resize: vertical; margin-bottom: 16px; outline: none; transition: 0.2s; }
#giftMsgBox textarea:focus { border-color: var(--primary); }

/* CTA Buttons */
.product-btn-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.product-btn-row .btn-primary { flex: 1; min-width: 160px; padding: 15px 24px; font-size: 15px; font-weight: 700; border-radius: 10px; box-shadow: 0 6px 20px rgba(233,30,99,0.2); }
.btn-secondary { background: #fff; color: #111; border: 2px solid #111; padding: 13px 24px; border-radius: 10px; font-weight: 700; font-size: 15px; text-align: center; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; }
.btn-secondary:hover { background: #111; color: #fff; }
.wishlist-btn-lg { background: #fff; border: 2px solid #eaeaea; border-radius: 10px; padding: 12px 18px; font-size: 14px; font-weight: 700; cursor: pointer; color: #555; transition: 0.2s; white-space: nowrap; }
.wishlist-btn-lg:hover { border-color: var(--primary); color: var(--primary); background: #fff0f5; }
.wishlist-btn-lg.active { border-color: #dc2626 !important; color: #dc2626 !important; background: #fff0f5 !important; }
.wishlist-btn-lg.active svg { fill: #dc2626 !important; stroke: #dc2626 !important; }

/* Add to Cart Success State */
.btn-added-green {
    background: #16a34a !important;
    border-color: #16a34a !important;
    box-shadow: 0 6px 20px rgba(22,163,74,0.2) !important;
}

/* Wishlist Heart Pop Animation */
@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.heart-pop-active {
    animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Delivery Details Section */
.delivery-details-section {
    margin-bottom: 24px;
}
.delivery-header-title {
    font-size: 12px;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Pincode Trigger Box */
.pincode-trigger-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.pincode-trigger-box:hover {
    border-color: #9ca3af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.pincode-trigger-box .pin-icon {
    width: 20px;
    height: 20px;
    color: #000000;
    flex-shrink: 0;
}
.pincode-trigger-box .trigger-text {
    font-size: 15px;
    color: #1f2937;
    font-weight: 400;
    line-height: 1.4;
}
.pincode-trigger-box .trigger-text strong {
    font-weight: 600;
    color: #000000;
}

/* Input Group */
.pincode-input-group {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 6px 6px 6px 16px;
    display: flex;
    align-items: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.pincode-input-group:focus-within {
    border-color: var(--primary, #e23e72);
    box-shadow: 0 0 0 3px rgba(226, 62, 114, 0.15);
}
.pincode-input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}
.pin-icon-input {
    width: 20px;
    height: 20px;
    color: #64748b;
    flex-shrink: 0;
}
.pincode-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 15px;
    font-family: inherit;
    font-weight: 600;
    color: #1f2937;
    outline: none;
    letter-spacing: 0.5px;
}
.pincode-input-wrapper input::placeholder {
    font-weight: 400;
    color: #94a3b8;
    letter-spacing: 0px;
}
.btn-check-pincode {
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-check-pincode:hover {
    background: var(--primary, #e23e72);
}

/* Results styling */
#deliveryResult {
    font-size: 13.5px;
    margin-top: 12px;
    font-weight: 600;
    line-height: 1.5;
    padding: 4px 6px;
}
.delivery-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.success-tick-icon {
    width: 18px;
    height: 18px;
    color: #16a34a;
    flex-shrink: 0;
}
.error-cross-icon {
    width: 18px;
    height: 18px;
    color: #dc2626;
    flex-shrink: 0;
}
.delivery-msg-text {
    font-size: 14.5px;
    color: #1f2937;
    font-weight: 550;
}
.delivery-msg-text strong {
    color: #000000;
    font-weight: 700;
}
.delivery-details-list {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.delivery-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
}
.detail-label {
    color: #6b7280;
    font-weight: 500;
}
.detail-value {
    color: #111827;
    font-weight: 600;
}
.detail-value.text-green {
    color: #16a34a;
}

/* Share */
.product-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-share span { font-size: 13px; font-weight: 700; color: #888; }
.product-share a, .product-share button { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 8px; background: #f5f5f5; border: 1px solid #eaeaea; color: #333; cursor: pointer; transition: 0.2s; text-decoration: none; }
.product-share a:hover, .product-share button:hover { background: #eee; }
.product-share a svg, .product-share button svg { flex-shrink: 0; }

/* — Tabs Wrapper Layout — */
.product-tabs-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    border-top: 1px solid #eaeaea;
    padding-top: 24px;
}
.tabs-left-column {
    min-width: 0;
    overflow: hidden;
}

@media (min-width: 992px) {
    .product-tabs-wrapper {
        grid-template-columns: minmax(0, 62%) minmax(0, 35%);
        justify-content: space-between;
    }
}

.tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    border-bottom: 1.5px solid #eaeaea;
    padding-bottom: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}
.tabs-nav::-webkit-scrollbar {
    display: none;
}
.tab-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
    border-radius: 0;
    margin-bottom: -1.5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.tab-btn:hover {
    color: var(--primary);
}
.tab-btn.active {
    color: var(--primary);
    font-weight: 700;
    border-bottom-color: var(--primary);
    background: transparent;
    box-shadow: none;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* Shipping and Returns info */
.shipping-info-body {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}
.shipping-info-body p {
    margin-bottom: 16px;
}
.shipping-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.shipping-list li {
    position: relative;
    padding-left: 20px;
}
.shipping-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--primary);
    font-weight: bold;
    font-size: 16px;
}

/* What's in the Box Card styling */
.whats-in-box-card {
    background: #fffcfc; /* Premium warm/pink tint */
    border: 1px solid rgba(226, 62, 114, 0.08);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(226, 62, 114, 0.02);
}
.whats-in-box-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.whats-in-box-card .box-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
}
.whats-in-box-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}
.box-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 576px) {
    .box-items-list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 14px;
    }
}

@media (min-width: 992px) {
    .box-items-list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1200px) {
    .box-items-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.box-items-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.bullet-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 3px;
}
.bullet-caret svg {
    width: 8px;
    height: 8px;
}
.item-text {
    font-size: 13.5px;
    font-weight: 550;
    color: #333;
    line-height: 1.4;
}
.description-body { font-size: 15px; color: #444; line-height: 1.8; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid #eaeaea; }
.specs-table th { text-align: left; font-size: 13px; font-weight: 700; color: #555; padding: 12px 15px; background: #f9fafb; width: 35%; }
.specs-table td { font-size: 14px; color: #222; padding: 12px 15px; }

/* — Reviews — */
.reviews-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.review-item { padding: 20px; background: #fafafa; border: 1px solid #eaeaea; border-radius: 12px; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.review-header .stars { color: #f59e0b; }
.review-header strong { font-size: 14px; color: #111; }
.review-date { font-size: 12px; color: #aaa; margin-left: auto; }
.review-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: #222; }
.review-item p { font-size: 14px; color: #555; line-height: 1.6; margin: 0; }

/* Write Review */
.write-review { background: #f9fafb; border: 1.5px solid #eaeaea; border-radius: 14px; padding: 28px; margin-top: 24px; }
.write-review h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.star-rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-bottom: 16px; }
.star-rating-input input { display: none; }
.star-rating-input label { font-size: 28px; color: #ddd; cursor: pointer; transition: 0.2s; }
.star-rating-input input:checked ~ label, .star-rating-input label:hover, .star-rating-input label:hover ~ label { color: #f59e0b; }
.write-review input[type="text"] { width: 100%; border: 1.5px solid #eaeaea; border-radius: 8px; padding: 11px 14px; font-size: 14px; font-family: inherit; outline: none; margin-bottom: 12px; transition: 0.2s; }
.write-review textarea { width: 100%; border: 1.5px solid #eaeaea; border-radius: 8px; padding: 12px 14px; font-size: 14px; font-family: inherit; outline: none; resize: vertical; margin-bottom: 14px; transition: 0.2s; }
.write-review input[type="text"]:focus, .write-review textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(226, 62, 114, 0.1); }

/* Reviews Empty State */
.reviews-empty-state {
    background: #ffffff;
    border: 1.5px dashed rgba(226, 62, 114, 0.2);
    border-radius: 16px;
    text-align: center;
    max-width: 520px;
    margin: 20px auto;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}
.reviews-empty-state .empty-state-icon {
    width: 72px;
    height: 72px;
    background: #fff5f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(226, 62, 114, 0.05);
}
.reviews-empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.reviews-empty-state p {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
    max-width: 380px;
    line-height: 1.6;
}
.btn-empty-state-login {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: #fff;
    padding: 11px 26px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(226, 62, 114, 0.15);
    border: none;
    cursor: pointer;
}
.btn-empty-state-login:hover {
    background: #d03061;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 62, 114, 0.25);
}



/* Product Page Sections Dividers and Spacing */
.product-page .section {
    border-top: 1px solid #eaeaea;
    padding-top: 48px;
    padding-bottom: 48px;
}
@media (max-width: 768px) {
    .product-page .section {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

/* Related Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Product detail page responsive */
@media (max-width: 900px) {
    .product-page { padding: 15px 16px 60px; }
    .product-main { flex-direction: column; gap: 20px; align-items: stretch; margin-bottom: 12px !important; }
    .product-gallery { width: 100%; }
    /* Mobile Gallery Carousel */
    .gallery-desktop-grid { display: none !important; }
    .gallery-mobile-carousel { display: block !important; width: 100%; }
    .gallery-mobile-carousel.single-image {
        display: flex !important;
        justify-content: center;
    }
    .gallery-mobile-carousel.single-image .carousel-main {
        max-width: 320px;
        margin: 0 auto;
    }
    .gallery-mobile-carousel.single-image .carousel-main img {
        object-fit: contain;
        background: #fff;
    }
    .carousel-main { background: #f9f9fa; border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1px solid #eaeaea; width: 100%; }
    .carousel-main img { width: 100%; height: 100%; object-fit: cover; }
    .carousel-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
    .carousel-thumbs .thumb-img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: 0.2s; background: #f9f9fa; }
    .carousel-thumbs .thumb-img.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(233,30,99,0.12); }
    
    .product-details { flex: none; width: 100%; position: static; }
    .product-title { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
    .product-cat-tag a { margin-bottom: 8px; }
    .product-rating { margin-bottom: 12px; gap: 8px; }
    
    .product-price-row-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
        margin-bottom: 12px;
    }
    .product-price-block {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        flex: 1;
        min-width: 0;
        margin-bottom: 0;
    }
    .price-main { font-size: 22px !important; font-weight: 800; white-space: nowrap; }
    .price-was { font-size: 14px !important; white-space: nowrap; }
    .discount-badge { font-size: 10px !important; padding: 2px 6px !important; font-weight: 700; white-space: nowrap; }
    .product-rating-badge {
        flex-shrink: 0;
        padding: 3px 6px;
        font-size: 11px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    
    .product-short-desc { font-size: 13.5px; line-height: 1.6; margin-bottom: 14px; padding-left: 10px; }
    .stock-status { margin-bottom: 16px; }
    
    .qty-selector { margin-bottom: 16px; }
    .qty-selector button { width: 38px; height: 38px; font-size: 16px; }
    .qty-selector input { width: 50px; height: 38px; font-size: 14px; }
    
    .gift-wrap-check { font-size: 13px; margin-bottom: 12px; }
    #giftMsgBox textarea { border-radius: 8px; padding: 10px; font-size: 13px; margin-bottom: 12px; }
    
    .product-btn-row { flex-direction: column; gap: 10px; margin-bottom: 20px; align-items: stretch; }
    .product-btn-row .btn-primary { padding: 13px 20px; font-size: 14px; border-radius: 8px; width: 100%; min-width: 0; }
    .btn-secondary { padding: 11px 20px; font-size: 14px; border-radius: 8px; width: 100%; }
    .wishlist-btn-lg { padding: 11px 16px; font-size: 13px; border-radius: 8px; width: 100%; text-align: center; display: flex; justify-content: center; }
    
    .delivery-details-section { margin-bottom: 8px !important; }
    .pincode-trigger-box { padding: 14px 16px; border-radius: 10px; }
    .pincode-trigger-box .trigger-text { font-size: 14px; }
    .pincode-input-group { padding: 4px 4px 4px 12px; border-radius: 10px; }
    .pincode-input-wrapper input { font-size: 14px; padding: 8px 0; }
    .btn-check-pincode { padding: 8px 16px; font-size: 11px; border-radius: 6px; }
    
    .product-tabs-wrapper { margin-bottom: 30px; padding-top: 16px !important; gap: 20px; grid-template-columns: minmax(0, 1fr) !important; }
    .tabs-left-column { min-width: 0; overflow: hidden; width: 100%; }
    .tabs-nav { margin-bottom: 18px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .tab-btn { padding: 10px 14px; font-size: 13px; flex-shrink: 0; }
    
    .description-body { font-size: 14px; line-height: 1.6; }
    .specs-table th, .specs-table td { padding: 10px; font-size: 13px; }
    .specs-table th { width: 40%; }
    
    .review-item { padding: 15px; border-radius: 10px; }
    .review-item h4 { font-size: 14px; }
    .review-item p { font-size: 13px; }
    
    .write-review { padding: 20px; border-radius: 10px; }
    .write-review h3 { font-size: 16px; margin-bottom: 14px; }
    .star-rating-input label { font-size: 24px; }
    .write-review input[type="text"], .write-review textarea { font-size: 13px; border-radius: 6px; padding: 10px; }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    /* Header Mobile Fixes */
    .header-main { height: 60px; padding: 0 10px; gap: 10px; flex-wrap: nowrap; }
    .header-left { gap: 10px !important; }
    .btn-all-categories { 
        width: 38px; height: 38px; 
        padding: 0 !important; 
        display: inline-flex;
        align-items: center;
        justify-content: center; 
        background: #f8fafc !important; 
        color: #0f172a !important; 
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
        margin-right: 0 !important;
    }
    .btn-all-categories:hover, .btn-all-categories:active { background: #f1f5f9 !important; border-color: #cbd5e1 !important; }
    .btn-all-categories .cat-grid-icon { width: 20px !important; height: 20px !important; stroke-width: 2px !important; stroke: #0f172a !important; }
    .btn-all-categories .menu-text, .btn-all-categories .chevron-icon { display: none !important; }
    .logo img { height: 35px; margin-top: 0; }
    
    .header-search { display: none; }
    .mobile-search-bar { display: block; padding: 8px 15px; background: #fff; }
    .mobile-search-bar .container { padding: 0; }
    .mobile-search-bar .search-form { width: 100%; border: 1.5px solid var(--border); border-radius: 8px; }
    
    /* ─── MOBILE HEADER ICON SYSTEM ─── */
    .header-actions-dock { 
        background: #f8fafc !important; 
        padding: 3px 6px !important; 
        gap: 4px !important; 
        align-items: center !important; 
        border-radius: 30px !important;
        border: 1px solid #e2e8f0 !important;
    }

    .dock-btn {
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        position: relative !important;
        color: #0f172a !important;
        cursor: pointer !important;
        transition: transform 0.15s ease, background 0.15s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .dock-btn:active { transform: scale(0.9) !important; background: rgba(0,0,0,0.05) !important; }
    .dock-btn .icon-text { display: none !important; }

    .dock-btn svg {
        width: 20px !important;
        height: 20px !important;
        stroke-width: 2px !important;
        stroke: #0f172a !important;
        fill: none;
        flex-shrink: 0;
        display: block;
    }

    .dock-btn.wishlist.active svg { stroke: #e11d48 !important; fill: #e11d48 !important; }

    .dock-btn.cart {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: var(--primary) !important;
    }
    .dock-btn.cart svg { stroke: #ffffff !important; width: 19px !important; height: 19px !important; }
    .dock-btn.cart .badge {
        position: absolute !important;
        top: -3px !important;
        right: -3px !important;
        background: #ffffff !important;
        color: var(--primary) !important;
        min-width: 16px !important; 
        height: 16px !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        border-radius: 10px !important;
        border: 2px solid #ffffff !important;
        box-shadow: 0 2px 5px rgba(225, 29, 72, 0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 3px !important;
    }

    /* Category Nav Mobile Scroll Fix */
    .main-nav-normal .nav-inner, .main-nav-overlap .nav-inner { height: auto; padding: 0; }
    .main-nav-normal .nav-list, .main-nav-overlap .nav-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 10px 15px;
        background: #fff;
        border: none;
        border-radius: 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .main-nav-normal .nav-list::-webkit-scrollbar, .main-nav-overlap .nav-list::-webkit-scrollbar { display: none; }
    .main-nav-normal .nav-list a, .main-nav-overlap .nav-list a { 
        white-space: nowrap; 
        padding: 6px 14px; 
        font-size: 13px; 
        border-radius: 30px; 
        background: #f5f5f5; 
        border: 1px solid transparent; 
    }
    .main-nav-normal .nav-list a:hover, .main-nav-overlap .nav-list a:hover,
    .main-nav-normal .nav-list a.active, .main-nav-overlap .nav-list a.active {
        background: var(--primary);
        color: #fff;
        box-shadow: 0 4px 10px rgba(226,62,114,0.2);
    }
    .btn-deals { display: none; }

    .promo-banners { grid-template-columns: 1fr; }
    .hero-content { max-width: 100%; }
    .hero-features-grid { grid-template-columns: 1fr; }
    .why-choose-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .trust-badges-row { flex-wrap: wrap; }
    .trust-badge { flex: 1 1 40%; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); padding: 15px; }

    /* Shop Page Mobile */
    .shop-layout { flex-direction: column; gap: 10px; padding-bottom: 0; }
    .results-count { font-size: 15px; font-weight: 700; color: #111; white-space: nowrap; }
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        z-index: 999999;
        border-radius: 0;
        border: none;
        overflow-y: auto;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 30px 25px;
    }
    .shop-sidebar::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }
    .shop-sidebar.active {
        left: 0;
        box-shadow: 5px 0 30px rgba(0,0,0,0.1), 0 0 0 10000px rgba(0,0,0,0.4);
    }
    .close-sidebar { display: flex; }
    .close-sidebar { display: flex; }
    .btn-filter-toggle { display: none !important; }
    .shop-sort { display: none !important; }
    .shop-top-bar { flex-direction: column; align-items: flex-start; gap: 15px; }
    .top-bar-left { width: 100%; justify-content: flex-start; }
    
    .mobile-sticky-actions {
        display: flex;
        position: fixed;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        max-width: 400px;
        background: #fff;
        border: 1px solid #eaeaea;
        border-radius: 12px;
        box-shadow: 0 5px 25px rgba(0,0,0,0.08);
        z-index: 500;
        overflow: hidden;
    }
    .mobile-action-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 14px 15px;
        background: none;
        border: none;
        color: #111;
        font-weight: 700;
        font-size: 13px;
        cursor: pointer;
        position: relative;
    }
    .mobile-action-divider {
        width: 1px;
        background: #eaeaea;
        margin: 12px 0;
    }
    .mobile-sort-btn {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }
    .sort-text {
        display: flex;
        flex-direction: column;
    }
    .sort-title { font-size: 13px; font-weight: 700; color: #111; line-height: 1.2; }
    .sort-active { font-size: 11px; font-weight: 500; color: #666; margin-top: 2px; line-height: 1.2; text-transform: capitalize; }
    .native-sort-select {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        opacity: 0;
        cursor: pointer;
    }
    .whatsapp-float { bottom: 90px; right: 20px; }

    /* Bottom padding so content clears sticky action bar */
    .shop-main { padding-bottom: 100px; }

    /* Sort label refinements */
    .sort-title { font-size: 12px; font-weight: 800; color: #111; line-height: 1.1; letter-spacing: 0.5px; }
    .sort-active { font-size: 12px; font-weight: 500; color: var(--primary); margin-top: 3px; line-height: 1.2; }
    .mobile-action-btn { letter-spacing: 0.5px; }
    .mobile-action-btn svg { flex-shrink: 0; color: #333; }
    .mobile-sticky-actions {
        border-top: 2px solid var(--border);
        border-radius: 16px;
        box-shadow: 0 -2px 20px rgba(0,0,0,0.06), 0 5px 25px rgba(0,0,0,0.08);
    }
}

/* Featured Collections */
.featured-collections {
}
.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.collection-banner-card {
    display: block;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    aspect-ratio: 2.2 / 1;
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4E1 100%);
}
.collection-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    color: #e23e72;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 150px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.collection-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.collection-banner-card:hover img {
    transform: scale(1.03);
}

/* Mid Banner Section */
.mid-banner-section {
    width: 100%;
    padding-top: 24px;
    padding-bottom: 24px;
}
.mid-banner-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.mid-banner-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mid-banner-carousel::-webkit-scrollbar {
    display: none;
}
.mid-banner-carousel .mid-banner-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    aspect-ratio: 2.67 / 1;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFF0F5 50%, #E0F7FA 100%);
    position: relative;
}
@media (max-width: 768px) {
    .mid-banner-carousel .mid-banner-card {
        aspect-ratio: 2.2 / 1;
    }
}
.mid-banner-carousel .mid-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    color: #e23e72;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.mid-banner-carousel .mid-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}
.mid-banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.mid-banner-dots .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.mid-banner-dots .dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}
.mid-banner-carousel .mid-banner-card:hover img {
    transform: scale(1.01);
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header-main { height: auto; padding: 12px 15px; gap: 8px; display: flex; align-items: center; justify-content: space-between; }
    .menu-text, .chevron-icon { display: none !important; }
    .btn-all-categories { padding: 0 !important; width: 38px; height: 38px; justify-content: center; }
    .header-search { display: none; }
    
    .mobile-search-bar {
        display: block;
        background: #fff;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0 15px;
        border-top: none;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    }
    .mobile-search-bar.active {
        max-height: 80px;
        opacity: 1;
        padding: 10px 15px;
        border-top: 1px solid var(--border);
        overflow: visible;
    }
    .mobile-search-bar .search-form { border-radius: 8px; }
    .mobile-search-bar .search-form input { padding: 10px 15px; }
    .mobile-search-bar .search-form button { min-height: 40px; width: 44px; }
    .mobile-search-bar .search-form button svg { width: 18px !important; height: 18px !important; }

    
    .logo { flex: 1; display: flex; justify-content: center; margin: 0; }
    .logo img { height: 35px; }
    
    .header-actions-dock { gap: 4px; padding: 0; background: none; box-shadow: none; }
    .dock-btn { padding: 8px; border-radius: 50%; }
    .dock-btn .icon-text { display: none; }
    .dock-btn.cart { padding: 8px 14px; border-radius: 30px; }
    
    .main-nav-normal, .main-nav-overlap {
        display: block !important;
        position: relative !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
        border-top: 1px solid var(--border) !important;
        border-bottom: 1px solid var(--border) !important;
        background: #fff;
    }
    .home-nav-hide-mobile { display: none !important; }
    .main-nav-normal .nav-inner, .main-nav-overlap .nav-inner {
        height: auto !important;
        flex-direction: row !important;
        padding: 0 !important;
    }
    .main-nav-normal .nav-list, .main-nav-overlap .nav-list {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding: 10px 15px !important;
        gap: 10px !important;
        width: 100% !important;
        text-align: left !important;
        border-radius: 0 !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .main-nav-normal .nav-list::-webkit-scrollbar, .main-nav-overlap .nav-list::-webkit-scrollbar {
        display: none !important;
    }
    .main-nav-normal .nav-list a, .main-nav-overlap .nav-list a {
        padding: 6px 16px !important;
        background: #f3f4f6 !important;
        border-radius: 30px !important;
        white-space: nowrap !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #374151 !important;
        display: inline-block !important;
        transition: all 0.2s ease;
    }
    .main-nav-normal .nav-list a.active, .main-nav-overlap .nav-list a.active {
        background: var(--primary) !important;
        color: #fff !important;
    }
    .main-nav-normal .nav-actions-mobile, .main-nav-overlap .nav-actions-mobile,
    .main-nav-normal .btn-deals, .main-nav-overlap .btn-deals {
        display: none !important;
    }
    
    .hero-slider-wrapper { height: 72vh; min-height: 420px; margin-bottom: 20px; }
    .hero-slider-wrapper.has-graphic-only { height: auto !important; min-height: auto !important; aspect-ratio: 16/9 !important; }
    .hero-slide { align-items: flex-end; justify-content: center; padding: 0 0 50px 0; background-position: center top !important; }
    .hero-slide.is-graphic-only { background-position: center center !important; background-size: cover !important; align-items: stretch !important; padding: 0 !important; }
    .hero-content {
        background: rgba(255,255,255,0.82);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 20px;
        padding: 18px 20px 20px;
        text-align: center;
        width: calc(100% - 24px);
        max-width: 100%;
        box-shadow: 0 4px 30px rgba(0,0,0,0.12);
        border: 1px solid rgba(255,255,255,0.6);
    }
    .hero-badge { display: none; }
    .hero-dots { display: none !important; }
    .hero-title { font-size: 24px; margin-bottom: 8px; line-height: 1.2; text-shadow: none; }
    .hero-desc { font-size: 13px; font-weight: 500; margin-bottom: 14px; line-height: 1.5; text-shadow: none; max-width: 100%; }
    .hero-features-grid { display: none; }
    .hero-actions { justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 0; }
    .hero-actions .btn { font-size: 12px; padding: 9px 16px; }
    .hero-actions .hero-btn-outline { background: rgba(255,255,255,0.9) !important; border-width: 1.5px !important; font-weight: 700; }
    .hs-arrow { display: none; }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .why-choose-card {
        padding: 16px 12px;
        border-radius: 8px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        background: #ffffff;
        border: 1px solid rgba(229, 201, 160, 0.5);
        box-shadow: 0 4px 10px rgba(35, 31, 26, 0.02);
    }
    .why-choose-card:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
    .why-choose-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 6px;
        background-color: #231f1a;
        color: #fff;
        margin: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .why-choose-card-icon svg {
        width: 20px;
        height: 20px;
        stroke: #fff;
        stroke-width: 2.2px;
    }
    .why-choose-card-content h4 {
        font-size: 13px;
        font-weight: 700;
        line-height: 1.3;
        margin: 0 0 4px 0;
        color: #231f1a;
    }
    .why-choose-card-content p {
        font-size: 11px;
        color: #7a736a;
        line-height: 1.4;
        margin: 0;
        display: block;
    }

    /* Gifts Under mobile */
    .budget-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .budget-card {
        border-radius: 0;
        aspect-ratio: 3 / 4;
    }

    .budget-card:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }

    /* Festival Spotlight mobile */
    .spotlight-row {
        flex-direction: column;
        gap: 20px;
    }
    .spotlight-badge {
        font-size: 10px;
        padding: 5px 10px;
        margin-bottom: 8px;
    }
    .spotlight-featured-card {
        border-radius: 12px;
        aspect-ratio: 1.6 / 1;
    }
    .spotlight-later-grid {
        gap: 10px;
    }
    .spotlight-mini-card {
        border-radius: 10px;
        aspect-ratio: 1.5 / 1;
    }
    .trust-badges-section { margin-top: -30px; margin-bottom: 20px; padding: 0 12px; }
    .trust-badges-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 0; padding: 16px 6px; border-radius: 16px; border: 1px solid rgba(0,0,0,0.04); }
    .trust-badge { flex-direction: column; text-align: center; justify-content: flex-start; padding: 0; border: none !important; gap: 6px; }
    .trust-badge .hq-icon { width: 36px; height: 36px; border-radius: 10px; margin: 0 auto; }
    .trust-badge .hq-icon svg { width: 18px; height: 18px; }
    .trust-badge .tb-text strong { font-size: 10px; line-height: 1.25; margin-bottom: 0; white-space: normal; color: #333; }
    .trust-badge .tb-text span { display: none; }
    .category-box { flex: 0 0 110px; padding: 12px 8px 10px; }
    .category-box span { font-size: 12px; }
    .cb-image { margin-bottom: 8px; }
    .cb-image img { max-height: 70px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card { border-radius: 12px; }
    .product-img-wrap { border-radius: 12px 12px 0 0; }
    .product-badges { top: 8px; left: 8px; }
    .badge-new { font-size: 9px; padding: 3px 6px; }
    .wishlist-btn { top: 8px; right: 8px; width: 28px; height: 28px; }
    .wishlist-btn svg { width: 14px; height: 14px; }
    .product-name { font-size: 12px; line-height: 1.4; margin-bottom: 6px; }
    .product-pricing-row { flex-wrap: wrap; justify-content: flex-start; gap: 4px 8px; margin-bottom: 6px; }
    .product-price { flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
    .price-current { font-size: 14px; }
    .price-original { font-size: 11px; }
    .price-discount { font-size: 10px; white-space: nowrap; margin-left: 0; }
    .stars svg { width: 10px; height: 10px; }
    .rating-count { font-size: 10px; }
    
    .section { padding-top: 24px; padding-bottom: 24px; }
    .section-header { margin-bottom: 16px; align-items: center; }
    .section-title { font-size: 15px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
    .view-all-pill { padding: 7px 14px; font-size: 11px; }
    .view-all-link { font-size: 12px; }
    .arrow-btn { width: 28px; height: 28px; font-size: 16px; }
    .categories-grid { gap: 10px; margin: 0 -15px; padding: 0 15px 14px 15px; scroll-snap-type: x mandatory; }
    .category-box { flex: 0 0 96px; padding: 14px 8px 12px; border-radius: 14px; scroll-snap-align: start; }
    .category-box span { font-size: 11.5px; font-weight: 700; color: #1a1a2e; }
    .cb-image { margin-bottom: 8px; }
    .cb-image img { max-height: 62px; }
    .premium-section-wrapper, .section-alternate-wrapper { padding: 0; }
    
    .shop-layout { flex-direction: column; gap: 20px; margin-top: 20px; margin-bottom: 40px; }
    .shop-sidebar { width: 100%; }
    .shop-top-bar { flex-direction: column; align-items: flex-start; gap: 15px; }

    .footer-grid-5 { grid-template-columns: 1fr; gap: 30px; }
    .footer-newsletter { flex-direction: column; text-align: center; padding: 25px 20px; gap: 20px; }
    .nl-left { flex-direction: column; gap: 15px; }
    .nl-text h3 { justify-content: center; font-size: 20px; }
    .nl-text p { font-size: 13px; }
    .nl-middle { width: 100%; max-width: 100%; margin: 0; }
    .newsletter-form-main { flex-direction: column; border-radius: 20px; padding: 10px; }
    .newsletter-form-main input { border-radius: 10px; text-align: center; }
    .newsletter-form-main button { border-radius: 10px; justify-content: center; }
    .nl-right { display: none; }
    
    .fb-inner { flex-direction: column; text-align: center; gap: 20px; }
    .fb-left { flex-direction: column; gap: 15px; }
    .fb-center p { font-size: 11px; }
    .fb-right { flex-direction: column; gap: 10px; }
    .made-with-love-badge { margin: 0 auto; }

    /* Featured Collections Mobile Grid */
    /* Featured Collections Mobile Grid */
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .collection-banner-card {
        border-radius: 0;
    }
    .collection-banner-card img {
        line-height: 85px;
        font-size: 13px;
    }
    .collection-banner-card:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
    .mid-banner-card {
        border-radius: 0;
        aspect-ratio: 3.2 / 1;
    }
    .mid-banner-card img {
        font-size: 14px;
    }
    .mid-banner-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Occasions Mobile Grid */
    .occasions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .occasion-card-new {
        border-radius: 0;
        aspect-ratio: 3 / 4;
    }
    .occasion-card-new:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
}

/* ─── LIGHTBOX MODAL ─── */
.product-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.product-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}
.lightbox-prev {
    left: 24px;
}
.lightbox-next {
    right: 24px;
}
.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.25s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .product-lightbox {
        padding: 0;
    }
    .lightbox-content {
        max-width: 100vw;
        max-height: 100vh;
        width: 100vw;
        height: 100vh;
    }
    .lightbox-content img {
        max-width: 100vw;
        max-height: 100vh;
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
        object-fit: contain;
    }
    .lightbox-btn {
        display: none !important;
    }
    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 50%;
        z-index: 10001;
    }
}

/* Share Modal / Bottom Sheet Style */
body.modal-open {
    overflow: hidden;
}
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: none;
    align-items: flex-end; /* Bottom sheet on mobile */
    justify-content: center;
}
.share-modal.active {
    display: flex;
}
.share-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}
.share-modal-content {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
    z-index: 100000;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px 20px;
}
.share-modal.active .share-modal-content {
    transform: translateY(0);
}

@media (min-width: 576px) {
    .share-modal {
        align-items: center; /* Centered modal on desktop */
    }
    .share-modal-content {
        border-radius: 20px;
        transform: translateY(30px);
        opacity: 0;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    }
    .share-modal.active .share-modal-content {
        transform: translateY(0);
        opacity: 1;
    }
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}
.share-modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.share-modal-close {
    background: transparent;
    border: none;
    color: #374151;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.share-modal-close:hover {
    background: #f3f4f6;
    color: #000000;
}

.share-modal-body {
    display: flex;
    flex-direction: column;
}
.share-option-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 8px;
    text-decoration: none;
    color: #1f2937;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 550;
    transition: background-color 0.2s;
}
.share-option-item:last-child {
    border-bottom: none;
}
.share-option-item:hover {
    background-color: #f9fafb;
}

.share-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.share-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

/* Brand specific icon colors */
.wa-icon {
    background: #e8f5e9;
    color: #25d366;
}
.insta-icon {
    background: #fdf2f8;
    color: #e1306c;
}
.x-icon {
    background: #f3f4f6;
    color: #000000;
}
.fb-icon {
    background: #eef2ff;
    color: #1877f2;
}
.pin-icon-brand {
    background: #fef2f2;
    color: #e60023;
}

/* Mobile Search & Mobile Account Styles */
.mobile-search-btn { display: none; }
.btn-account-mobile { display: none; }
.nav-actions-mobile { display: flex; align-items: center; gap: 15px; }

@media (max-width: 768px) {
    /* Mobile search btn: same 40x40 style as dock-btn */
    .mobile-search-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: none;
        color: #1a1a1a;
        cursor: pointer;
        padding: 0;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        transition: background 0.2s;
        -webkit-tap-highlight-color: transparent;
        flex-shrink: 0;
    }
    .mobile-search-btn:active, .mobile-search-btn.active {
        background: rgba(0,0,0,0.06) !important;
    }
    .mobile-search-btn svg {
        width: 22px !important;
        height: 22px !important;
        stroke: #1a1a1a;
        stroke-width: 1.8px !important;
        fill: none;
    }
    .dock-btn.account {
        display: none !important;
    }
    
    /* Mobile Account Navigation inside off-canvas/menu */
    .nav-actions-mobile {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.06);
        padding-top: 15px;
    }
    .btn-deals {
        width: 100% !important;
        justify-content: center;
        margin-top: 0 !important;
    }
    .btn-account-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 30px;
        font-size: 13px;
        font-weight: 700;
        background: #f5f5f5;
        color: #333;
        border: 1px solid var(--border);
        transition: all 0.2s ease;
        width: 100%;
    }
    .btn-account-mobile svg {
        width: 16px;
        height: 16px;
        stroke-width: 2px;
    }
    .btn-account-mobile:active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }
}

/* Featured Collections (Desktop 2x2 Grid, Mobile Slider) */
.featured-collections-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}
.collections-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}
.collection-slide {
    display: block;
    aspect-ratio: 2.2 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4E1 100%);
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.collection-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.collection-slide:hover img {
    transform: scale(1.02);
}
.collections-dots {
    display: none;
}

@media (max-width: 768px) {
    .featured-collections-slider-wrapper {
        overflow: hidden;
        border-radius: 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    }
    .collections-slider {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        gap: 0;
    }
    .collection-slide {
        flex: 0 0 100%;
        width: 100%;
        aspect-ratio: 1.8 / 1;
        border-radius: 0;
        box-shadow: none;
    }
    .collections-dots {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 6px;
        z-index: 10;
    }
    .collections-dots .dot {
        width: 6px;
        height: 6px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .collections-dots .dot.active {
        background: var(--primary);
        width: 18px;
        border-radius: 3px;
    }
}

/* Mobile Vertical Off-Canvas Drawer Styles */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: #fff;
    z-index: 1000000;
    box-shadow: 10px 0 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-drawer.active {
    transform: translateX(320px);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}
.drawer-logo img {
    height: 32px;
    display: block;
}
.drawer-close-btn {
    background: none;
    border: none;
    color: #4b5563;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.drawer-close-btn:active {
    background-color: #f3f4f6;
}
.drawer-close-btn svg {
    width: 22px;
    height: 22px;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px 20px;
    scrollbar-width: none;
}
.drawer-body::-webkit-scrollbar {
    display: none;
}

.drawer-section {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.drawer-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

/* Account Info Block inside Drawer */
.drawer-account-section {
    background: #fff0f5;
    margin-left: -20px;
    margin-right: -20px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(226, 62, 114, 0.1);
}
.drawer-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.user-avatar-wrap {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(225, 29, 72, 0.18);
    border: 2px solid #ffffff;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-avatar-initial {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #f43f5e);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-avatar-icon {
    width: 100%;
    height: 100%;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.user-welcome {
    font-size: 11.5px;
    color: #6b7280;
    font-weight: 500;
}
.user-name {
    font-size: 16.5px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.2px;
}
.drawer-login-btn {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.drawer-login-btn:active {
    opacity: 0.8;
}

.drawer-account-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.drawer-acc-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    border: 1px solid rgba(226, 62, 114, 0.12);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer-acc-pill svg {
    color: var(--primary);
    flex-shrink: 0;
}
.drawer-acc-pill:hover, .drawer-acc-pill:active {
    background: #ffffff;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15);
}
.drawer-acc-pill.text-danger {
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.15);
}
.drawer-acc-pill.text-danger svg {
    color: #dc2626;
}

/* Drawer Lists */
.drawer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.drawer-menu-list a {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}
.drawer-menu-list a:active {
    color: var(--primary);
}

.drawer-menu-list.sub-list a {
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
}

.drawer-footer {
    padding: 20px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.drawer-socials {
    display: flex;
    gap: 12px;
}
.drawer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}
.drawer-social-icon.wa-btn {
    background: #25D366;
}
.drawer-social-icon.insta-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.drawer-social-icon.fb-btn {
    background: #1877F2;
}
.drawer-social-icon.yt-btn {
    background: #FF0000;
}
.drawer-social-icon.tw-btn {
    background: #0f172a;
}
.drawer-social-icon:hover, .drawer-social-icon:active {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.drawer-copyright {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}

/* Original Colored Footer Social Media Icons */
.social-icons a {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}
.social-icons a.si-wa { background: #25D366 !important; }
.social-icons a.si-insta { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important; }
.social-icons a.si-fb { background: #1877F2 !important; }
.social-icons a.si-yt { background: #FF0000 !important; }
.social-icons a.si-pin { background: #BD081C !important; }
.social-icons a:active, .social-icons a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.18) !important;
}

/* Product Detail Page - Mobile Sticky Bottom Action Bar */
.product-mobile-sticky-actions {
    display: none;
}

@media (max-width: 768px) {
    .product-mobile-sticky-actions {
        display: flex !important;
        align-items: center;
        gap: 8px;
        position: fixed;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        max-width: 440px;
        background: rgba(255, 255, 255, 0.76);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: 14px;
        padding: 6px;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
        z-index: 500;
        box-sizing: border-box;
    }
    
    .sticky-wishlist-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        background: rgba(255, 255, 255, 0.85);
        color: #333;
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
    }
    .sticky-wishlist-btn.active {
        border-color: #fee2e2;
        background: #fef2f2;
        color: #dc2626;
    }
    .sticky-wishlist-btn svg {
        transition: transform 0.2s, fill 0.2s, stroke 0.2s;
        width: 18px;
        height: 18px;
    }
    
    .sticky-add-to-cart-btn {
        flex: 1.2;
        padding: 0 8px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
        margin: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        border: none !important;
    }
    
    .sticky-buy-now-btn {
        flex: 1;
        padding: 0 8px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        border: none !important;
        background: #111827 !important;
        color: #fff !important;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
        text-decoration: none;
        margin: 0 !important;
        width: auto !important;
        box-shadow: none !important;
    }
    
    /* Extra padding at the bottom of the page content to prevent overlap */
    .product-page {
        padding-bottom: 80px !important;
    }
}

/* ============================================================
   PAGE STYLES: Cart, Checkout, Auth, Account, Confirmation, Categories
   ============================================================ */

/* ─── SHARED ─── */
.page-title {
    font-size: 26px; font-weight: 800; color: #111;
    margin-bottom: 24px; padding-top: 0; letter-spacing: -0.4px;
}

/* ─── CART PAGE ─── */
/* .cart-page padding now set in universal rule above */
.cart-layout {
    display: grid; grid-template-columns: 1fr 360px;
    gap: 28px; align-items: start;
}
.cart-items-wrap {
    background: #fff; border-radius: 16px;
    border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow);
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table thead tr { background: #fafafa; border-bottom: 1px solid var(--border); }
.cart-table th {
    padding: 13px 20px; font-size: 11px; font-weight: 700;
    color: #999; text-transform: uppercase; letter-spacing: 0.6px; text-align: left;
}
.cart-table td {
    padding: 16px 20px; border-bottom: 1px solid #f5f5f5;
    font-size: 14px; color: #333; vertical-align: middle;
}
.cart-table tbody tr:last-child td { border-bottom: none; }
.cart-table tbody tr:hover { background: #fdfcfc; }
.cart-product-cell { display: flex !important; align-items: center; gap: 14px; }
.cart-product-cell img {
    width: 68px; height: 68px; object-fit: cover;
    border-radius: 10px; border: 1px solid var(--border); flex-shrink: 0;
}
.cart-product-cell a { font-weight: 600; font-size: 14px; color: #111; line-height: 1.4; }
.cart-product-cell a:hover { color: var(--primary); }
.gift-wrap-tag {
    display: inline-flex; align-items: center; gap: 4px; font-size: 11px;
    background: #fff3e0; color: #e65100; padding: 2px 8px;
    border-radius: 20px; font-weight: 600; margin-top: 4px;
}
.gift-msg-preview { font-size: 12px; color: #888; margin-top: 3px; font-style: italic; }
.remove-item {
    background: none; border: none; color: #888; font-size: 20px;
    cursor: pointer; padding: 4px 8px; border-radius: 6px; line-height: 1; transition: 0.2s;
}
.remove-item:hover { color: #dc2626; background: #fee2e2; }
.coupon-box {
    padding: 20px 24px; border-top: 1px solid var(--border); background: #fafafa;
    display: flex; flex-direction: column; align-items: flex-end;
}
.coupon-box h4 {
    font-size: 12px; font-weight: 700; color: #999;
    text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 12px;
    text-align: right; width: 100%;
}
#couponForm { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; max-width: 380px; width: 100%; justify-content: flex-end; }
#couponForm input[type="text"] {
    flex: 1; min-width: 140px; padding: 10px 16px;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 13px; font-weight: 600; font-family: inherit; outline: none; transition: 0.2s;
}
#couponForm input[type="text"]:focus { border-color: var(--primary); }
#couponForm button {
    padding: 10px 18px; border-radius: 8px; font-size: 13px;
    font-weight: 700; cursor: pointer; border: 1.5px solid transparent;
    font-family: inherit; transition: 0.2s;
}
#couponForm button[onclick="applyCoupon()"] { background: var(--primary); color: #fff; border-color: var(--primary); }
#couponForm button[onclick="applyCoupon()"]:hover { background: var(--primary-hover); }
#couponForm button[onclick="removeCoupon()"] { background: #fff; color: #dc2626; border-color: #fca5a5; }
#couponMsg { font-size: 12px; font-weight: 600; color: #16a34a; width: 100%; margin-top: 4px; text-align: right; }
.cart-summary {
    background: #fff; border-radius: 16px; border: 1px solid var(--border);
    padding: 24px; position: sticky; top: 90px; box-shadow: var(--shadow);
}
.cart-summary h3 {
    font-size: 15px; font-weight: 800; margin-bottom: 20px;
    padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.summary-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.summary-table td {
    padding: 9px 0; font-size: 14px; color: #666; border-bottom: 1px solid #f5f5f5;
}
.summary-table td:last-child { text-align: right; font-weight: 600; color: #111; }
.summary-table .total-row td {
    border-top: 2px solid var(--border); border-bottom: none;
    padding-top: 14px; font-size: 16px;
}
.summary-table .total-row strong { color: #111827; font-size: 18px; font-weight: 700; }
.summary-table .discount-row td { color: #16a34a; }
.free-ship { color: #16a34a; font-weight: 700; }
.free-ship-hint {
    font-size: 12px; background: #fffde7; color: #e65100;
    padding: 8px 12px; border-radius: 8px; margin-bottom: 16px; font-weight: 600; text-align: center;
}
.btn-full { width: 100%; margin-bottom: 10px; justify-content: center; display: flex; }
.btn-outline {
    background: #fff; color: #555; border: 1.5px solid var(--border);
    padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 14px;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: 0.2s;
    font-family: inherit;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.empty-cart {
    text-align: center; padding: 80px 20px; background: #fff;
    border-radius: 16px; border: 1px solid var(--border);
}
.empty-cart p { font-size: 18px; color: #888; margin-bottom: 24px; }

/* ─── CHECKOUT PAGE ─── */
/* .checkout-page padding now set in universal rule above */
.checkout-layout {
    display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start;
}
/* On desktop: always show all steps, hide mobile-only controls */
.checkout-section[data-step] { display: block; }
.btn-step-next { display: none; }
.checkout-left { display: flex; flex-direction: column; gap: 20px; }
.checkout-section {
    background: #fff; border-radius: 16px; border: 1px solid var(--border);
    padding: 24px 28px; box-shadow: var(--shadow);
}
.checkout-section h2 {
    font-size: 12px; font-weight: 800; color: #aaa;
    text-transform: uppercase; letter-spacing: 0.8px;
    margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.shipping-address-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
}
.shipping-address-header-row h2 {
    margin-bottom: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.use-saved-addr-link {
    background: none;
    border: none;
    color: #111;
    font-size: 12.5px;
    font-weight: 750;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    padding: 0;
}
.checkout-section input[type="text"],
.checkout-section input[type="email"],
.checkout-section input[type="tel"],
.checkout-section input[type="date"],
.checkout-section select,
.checkout-section textarea {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 14px; font-family: inherit; color: #111;
    background: #fff; margin-bottom: 12px; outline: none; transition: 0.2s;
}
.checkout-section input:focus,
.checkout-section select:focus,
.checkout-section textarea:focus {
    border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,0.07);
}
.checkout-section input::placeholder,
.checkout-section textarea::placeholder {
    font-size: 11.5px !important;
    font-weight: 400 !important;
    color: #9ca3af !important;
}
.checkout-section .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-section .form-row input { margin-bottom: 0; }
.checkout-section p { font-size: 13px; color: #999; margin-top: 4px; }
.checkout-section p a { color: var(--primary); font-weight: 600; }
.saved-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.saved-addr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.saved-addr-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}
.saved-addr-card.active {
    border-color: #111;
    background: #fafafa;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.07);
}
.saved-addr-card .card-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: #111;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}
.saved-addr-card.active .card-badge {
    color: #fff;
    background: #111;
}
.saved-addr-card strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a2e;
}
.saved-addr-card p {
    font-size: 12px;
    color: #5f6368;
    margin: 0;
    line-height: 1.4;
}
.saved-addr-card p.phone-num {
    margin-top: 4px;
    font-weight: 600;
    color: #3c4043;
}
.saved-addr-card .card-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.saved-addr-card.active .card-check {
    display: flex;
}
.saved-addr-card.add-new-card {
    border-style: dashed;
    border-color: #cbd5e1;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #fafafa;
}
.saved-addr-card.add-new-card:hover {
    border-color: #111;
    background: #f9f9f9;
}
.saved-addr-card.add-new-card .add-new-icon {
    font-size: 20px;
    color: #9ca3af;
    margin-bottom: 6px;
    font-weight: 300;
}
.saved-addr-card.add-new-card:hover .add-new-icon {
    color: #111;
}
.saved-addr-card.add-new-card strong {
    font-size: 12.5px;
    color: #4b5563;
}
.saved-addr-card.add-new-card p {
    font-size: 11px;
    color: #9ca3af;
}
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}
.checkbox-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #111;
    cursor: pointer;
    margin: 0;
}
.checkbox-label {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}
.form-group {
    margin-bottom: 12px;
}
.form-group input {
    margin-bottom: 0 !important;
}
.delivery-option, .payment-option {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer;
    margin-bottom: 10px; transition: 0.2s;
}
.delivery-option:last-child, .payment-option:last-child { margin-bottom: 0; }
.delivery-option:has(input:checked), .payment-option:has(input:checked) {
    border-color: #111; background: #f9f9f9;
}
.delivery-option input, .payment-option input { accent-color: #111; }
.delivery-option span, .payment-option span { font-size: 14px; font-weight: 600; color: #333; }
.pay-opt-label, .delivery-option span {
    display: flex; align-items: center; gap: 9px;
}
.gift-label, .gift-tag {
    display: inline-flex; align-items: center; gap: 3px;
}

/* ─── ADDRESS LABEL TABS (Icon Boxes) ─── */
.addr-label-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}
.addr-label-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 76px;
    height: 72px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
    user-select: none;
}
.addr-label-tab:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    transform: translateY(-1px);
}
.addr-label-tab.active {
    background: #111;
    border-color: #111;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}
.alt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: color 0.2s;
}
.addr-label-tab.active .alt-icon { color: #fff; }
.alt-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}
.addr-label-tab.active .alt-label { color: #fff; }
input[name="address_label"] { display: none !important; }

/* ─── CHECKOUT STEP FLOW (Mobile) ─── */
.checkout-steps {
    display: none;
}
.co-step-bar {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 16px 0 20px;
    overflow: hidden;
}
.co-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    cursor: pointer;
}
.co-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    left: calc(50% + 16px);
    right: calc(-50% + 16px);
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
    transition: background 0.3s;
}
.co-step.done:not(:last-child)::after { background: #111; }
.co-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    background: #fff;
    z-index: 1;
    position: relative;
    transition: all 0.2s;
}
.co-step.active .co-step-num { border-color: #111; color: #111; background: #111; color: #fff; }
.co-step.done .co-step-num { border-color: #111; background: #111; color: #fff; }
.co-step-label {
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    margin-top: 5px;
    text-align: center;
    transition: color 0.2s;
}
.co-step.active .co-step-label, .co-step.done .co-step-label { color: #111; }

/* ─── TRUST BADGES ─── */
.checkout-trust-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
}
.checkout-trust-badges .trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
}
.checkout-trust-badges .trust-badge svg { width: 13px; height: 13px; color: #16a34a; flex-shrink: 0; }
.checkout-summary {
    background: #fff; border-radius: 16px; border: 1px solid var(--border);
    padding: 24px; position: sticky; top: 90px; box-shadow: var(--shadow);
}
.checkout-summary h3 {
    font-size: 15px; font-weight: 800; margin-bottom: 20px;
    padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.checkout-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.checkout-item {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: 12px; border-bottom: 1px solid #f5f5f5;
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item img {
    width: 55px; height: 55px; object-fit: cover;
    border-radius: 8px; border: 1px solid var(--border); flex-shrink: 0;
}
.checkout-item div { flex: 1; min-width: 0; }
.checkout-item p { font-size: 13px; font-weight: 600; color: #333; line-height: 1.3; }
.checkout-item small { font-size: 11px; color: #e65100; }
.checkout-item strong { font-size: 13px; font-weight: 700; color: #111; white-space: nowrap; }
.checkout-summary .btn { font-size: 15px; padding: 14px 28px; border-radius: 12px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; }
.alert-danger { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }
.alert ul { margin-left: 18px; font-size: 14px; }

/* ─── MOBILE SELECTED ADDRESS BAR (Base / Desktop Hidden) ─── */
.mobile-addr-selected {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 20px;
    gap: 12px;
}
.mas-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.mas-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #111;
    flex-shrink: 0;
}
.mas-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.mas-label {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mas-name {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mas-addr {
    font-size: 11.5px;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mas-change-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.mas-change-btn:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

/* ─── MOBILE ADDRESS PICKER BOTTOM SHEET (Base / Desktop Hidden) ─── */
.addr-picker-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}
.addr-picker-overlay.active {
    opacity: 1;
    visibility: visible;
}
.addr-picker-sheet {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    max-height: 80%;
    background: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.addr-picker-sheet.active {
    transform: translateY(0);
}
.aps-handle {
    width: 36px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin: 12px auto 4px;
    flex-shrink: 0;
}
.aps-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}
.aps-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: #111;
    margin: 0;
}
.aps-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.aps-close:hover {
    color: #111;
}
.aps-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.aps-addr-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.aps-addr-item:hover {
    border-color: #cbd5e1;
    background: #f9fafb;
}
.aps-addr-item.selected {
    border-color: #111;
    background: #fafafa;
}
.aps-item-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.aps-addr-item.selected .aps-item-radio {
    border-color: #111;
}
.aps-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #111;
    transform: scale(0);
    transition: transform 0.2s;
}
.aps-addr-item.selected .aps-radio-dot {
    transform: scale(1);
}
.aps-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.aps-item-top {
    display: flex;
    align-items: center;
    gap: 8px;
}
.aps-item-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: #111;
    padding: 2px 6px;
    border-radius: 4px;
}
.aps-item-name {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}
.aps-item-addr {
    font-size: 12px;
    color: #4b5563;
    line-height: 1.4;
    margin: 0;
}
.aps-item-phone {
    font-size: 11.5px;
    font-weight: 600;
    color: #6b7280;
    margin: 2px 0 0;
}
.aps-add-new-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: #fff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
}
.aps-add-new-btn:hover {
    border-color: #111;
    color: #111;
    background: #f9fafb;
}

/* ─── ORDER CONFIRMATION ─── */
.confirmation-page {
    max-width: 520px;
    margin: 40px auto;
    padding: 0 16px;
}
.confirmation-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 16px -6px rgba(0, 0, 0, 0.02);
}
.confirm-icon-svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}
.success-checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    stroke-width: 4;
    stroke: #16a34a;
    stroke-miterlimit: 10;
    box-shadow: inset 0 0 0 #16a34a;
    animation: fill-checkmark .4s ease-in-out .4s forwards, scale-checkmark .3s ease-in-out .9s both;
}
.success-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: #16a34a;
    fill: none;
    animation: stroke-checkmark .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.success-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #fff;
    animation: stroke-checkmark .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}
@keyframes stroke-checkmark {
    100% {
        stroke-dashoffset: 0;
    }
}
@keyframes scale-checkmark {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}
@keyframes fill-checkmark {
    100% {
        box-shadow: inset 0 0 0 40px #16a34a;
    }
}

.confirmation-card h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #111827;
    margin-bottom: 8px;
}
.confirmation-card > p {
    font-size: 13.5px;
    color: #4b5563;
    margin-bottom: 24px;
}
.order-number-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.order-number-box span {
    font-size: 12.5px;
    color: #4b5563;
    font-weight: 600;
}
.order-number-box strong {
    font-size: 14.5px;
    font-weight: 700;
    color: #111827;
}
.order-summary-block {
    text-align: left;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-bottom: 20px;
}
.order-summary-block h3,
.shipping-info h3 {
    font-size: 11px;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}
.confirm-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}
.confirm-item:last-of-type {
    border-bottom: none;
}
.confirm-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.confirm-item-details {
    flex: 1;
}
.confirm-item-name {
    font-size: 12.5px;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
}
.confirm-item-price {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}
.shipping-info {
    text-align: left;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.shipping-info p {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 4px;
    line-height: 1.5;
}
.shipping-info p:last-child {
    margin-bottom: 0;
}
.confirm-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
.confirm-actions .btn {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    transition: all 0.15s ease;
    text-decoration: none;
    flex: 1;
    min-width: 140px;
}
.confirm-actions .btn-primary {
    background: #111827 !important;
    color: #fff !important;
    border: none !important;
}
.confirm-actions .btn-primary:hover {
    background: #1f2937 !important;
}
.confirm-actions .btn-outline {
    background: #fff !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
}
.confirm-actions .btn-outline:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #111827 !important;
}

/* ─── AUTH PAGES ─── */
.auth-page {
    min-height: calc(100vh - 200px); display: flex;
    align-items: center; justify-content: center; padding: 40px 20px;
}
.auth-card {
    background: #fff; border-radius: 24px; border: 1px solid var(--border);
    padding: 44px 48px; width: 100%; max-width: 440px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.auth-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.auth-card > p { font-size: 14px; color: #888; margin-bottom: 28px; }
.auth-card form { display: flex; flex-direction: column; gap: 14px; }
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"],
.auth-card input[type="tel"] {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 14px; font-family: inherit; color: #111;
    background: #fff; outline: none; transition: 0.2s;
}
.auth-card input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(233,30,99,0.07); }
.auth-card .btn { width: 100%; padding: 14px; font-size: 15px; border-radius: 10px; margin-top: 4px; }
.auth-card p { font-size: 13px; color: #999; text-align: center; margin-top: 4px; }
.auth-card p a, .auth-card a { color: var(--primary); font-weight: 600; }
.remember-me { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #555; cursor: pointer; }
.remember-me input { accent-color: var(--primary); }

/* ─── MODERN TWO-COLUMN AUTH CARD ─── */
.auth-card-modern {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 850px;
    min-height: 520px;
    display: grid;
    grid-template-columns: 340px 1fr;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}
.auth-sidebar {
    background: linear-gradient(135deg, var(--primary) 0%, #ff527b 60%, #ff8a65 100%);
    padding: 44px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.auth-sidebar-info h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.25;
}
.auth-sidebar-info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}
.auth-sidebar-graphic {
    width: 100%;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-sidebar-graphic svg {
    width: 220px;
    height: 220px;
}
.auth-form-area {
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Floating Label Form Groups */
.form-floating-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}
.form-floating-group input {
    width: 100%;
    padding: 20px 16px 8px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #111;
    background: #fff;
    outline: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-floating-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14.5px;
    color: #888;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}
.form-floating-group input:focus,
.form-floating-group input:not(:placeholder-shown) {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(226, 62, 114, 0.08);
}
.form-floating-group input:focus ~ label,
.form-floating-group input:not(:placeholder-shown) ~ label {
    top: 14px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* Actions Row */
.form-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.forgot-pass-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}
.forgot-pass-link:hover {
    color: #d03061;
}
.btn-auth-submit {
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(226, 62, 114, 0.15);
    margin-top: 6px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}
.btn-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(226, 62, 114, 0.25);
    color: #fff;
}
.auth-terms {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 24px;
    line-height: 1.5;
}
.auth-terms a {
    color: #555;
    text-decoration: underline;
    font-weight: 500;
}
.auth-terms a:hover {
    color: var(--primary);
}
.auth-footer-link {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 35px;
    font-weight: 550;
    border-top: 1px solid #f0f0f0;
    padding-top: 24px;
}
.auth-footer-link a {
    color: var(--primary);
    font-weight: 700;
    margin-left: 4px;
    text-decoration: none;
}
.auth-footer-link a:hover {
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .auth-card-modern {
        grid-template-columns: 1fr;
        max-width: 440px;
        min-height: auto;
        border-radius: 20px;
    }
    .auth-sidebar {
        display: none;
    }
    .auth-form-area {
        padding: 35px 25px;
    }
}

/* ─── ACCOUNT PAGES ─── */
/* .account-page padding now set in universal rule above */
.account-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }

/* Sidebar User Info Card */
.account-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.user-avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    background: #f5f5f5;
}
.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-avatar-initial {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #ff527b 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-info-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.user-info-name {
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-info-email {
    font-size: 11px;
    color: #666;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: rgba(226, 62, 114, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
    align-self: flex-start;
}

/* Sidebar Wrapper */
.account-sidebar {
    background: #fff; border-radius: 20px; border: 1px solid var(--border);
    padding: 12px; position: sticky; top: 100px; box-shadow: 0 8px 24px rgba(0,0,0,0.02);
    transition: box-shadow 0.3s;
    min-width: 0;
}
.account-sidebar:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}

/* Navigation Links with SVGs */
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav a {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    font-size: 14px; font-weight: 600; color: #5f6368; border-radius: 12px; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}
.account-nav a .nav-icon {
    width: 18px; height: 18px; color: #757575; transition: color 0.25s, transform 0.25s;
}
.account-nav a:hover {
    background: #fcf8f9; color: var(--primary);
    padding-left: 20px; /* Indent on hover */
}
.account-nav a:hover .nav-icon {
    color: var(--primary);
    transform: scale(1.1);
}
.account-nav a.active {
    background: linear-gradient(135deg, rgba(226, 62, 114, 0.06) 0%, rgba(255, 82, 123, 0.02) 100%);
    color: var(--primary);
    font-weight: 700;
}
.account-nav a.active .nav-icon {
    color: var(--primary);
}
.account-nav .logout-link {
    color: #e53e3e; margin-top: 8px;
    border-top: 1px solid var(--border); padding-top: 16px; border-radius: 12px;
}
.account-nav .logout-link .nav-icon { color: #e53e3e; }
.account-nav .logout-link:hover { background: #fff5f5; color: #c53030; }
.account-nav .logout-link:hover .nav-icon { color: #c53030; }

/* Main Customer Dashboard Card */
.account-main {
    background: #fff; border-radius: 20px; border: 1px solid var(--border);
    padding: 32px 40px; box-shadow: 0 8px 24px rgba(0,0,0,0.02);
    min-height: 450px; transition: box-shadow 0.3s;
    min-width: 0;
}
.account-main:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}
.account-main h1 {
    font-size: 22px; font-weight: 800; color: #1a1a1a; margin-bottom: 24px;
    padding-bottom: 18px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 10px;
}

/* Dashboard Greeting Banner */
.dashboard-welcome-banner {
    background: linear-gradient(135deg, rgba(226, 62, 114, 0.04) 0%, rgba(255, 138, 101, 0.04) 100%);
    padding: 22px 26px;
    border-radius: 16px;
    margin-bottom: 30px;
}
.dashboard-welcome-banner h1 {
    border-bottom: none; padding-bottom: 0; margin-bottom: 6px; font-size: 24px;
}
.dashboard-welcome-banner p {
    color: #555; font-size: 14px; margin: 0; line-height: 1.5;
}

/* Stats Cards */
.account-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}
.stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: ''; position: absolute; right: -20px; bottom: -20px; width: 80px; height: 80px;
    background: linear-gradient(135deg, rgba(226, 62, 114, 0.03) 0%, rgba(255, 138, 101, 0.03) 100%);
    border-radius: 50%;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(226, 62, 114, 0.06);
    border-color: rgba(226, 62, 114, 0.2);
}
.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    font-size: 13px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Order Filters */
.order-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #5f6368;
    background: #f5f5f5;
    border-radius: 30px;
    transition: all 0.2s;
    text-decoration: none;
}
.filter-chip:hover {
    background: #eee;
    color: #111;
}
.filter-chip.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(226, 62, 114, 0.25);
}

/* Form Styling within Account Settings */
.account-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"],
.account-form input[type="tel"],
.account-form select,
.account-form textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #111;
    background: #fff;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    margin-bottom: 20px;
}
.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(226, 62, 114, 0.08);
}
.account-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-form .btn { align-self: flex-start; min-width: 160px; padding: 12px 28px; border-radius: 12px; font-weight: 700; }

/* Profile Page Compact Layout */
.profile-compact-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 12px;
}
.profile-avatar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-right: 8px;
}
.profile-avatar-select {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.avatar-preview-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    background: #fdfdfd;
}
.avatar-preview-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-preview-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #ff527b 100%);
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.account-form label.avatar-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: #555 !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    white-space: nowrap;
    width: max-content;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 0;
}
.account-form label.avatar-upload-btn:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(226, 62, 114, 0.2);
}
.avatar-hint {
    font-size: 11px;
    color: #888;
    margin: 8px 0 0 0;
}
.profile-fields-col {
    display: flex;
    flex-direction: column;
}
@media (max-width: 768px) {
    .profile-compact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .profile-avatar-col {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border);
        padding-bottom: 24px;
    }
}

/* Address List Grid & Address Cards */
.address-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.address-card {
    padding: 24px;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    position: relative;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.address-card:hover {
    border-color: rgba(226, 62, 114, 0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}
.address-card.default {
    border-color: var(--primary);
    background: linear-gradient(135deg, #fff 0%, #fffbfd 100%);
}
.address-card-label {
    display: inline-flex;
    padding: 3px 10px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    align-self: flex-start;
}
.address-card p { font-size: 14px; color: #555; line-height: 1.7; margin: 10px 0; }
.address-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.address-card-actions a, .address-card-actions button {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: none;
    border: 1px solid rgba(233,30,99,0.3);
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.2s;
}
.address-card-actions a:hover, .address-card-actions button:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 8px rgba(226,62,114,0.15);
}
.address-card-actions .btn-danger {
    color: #e53e3e;
    border-color: rgba(229,62,98,0.3);
}
.address-card-actions .btn-danger:hover { background: #e53e3e; color: #fff; border-color: #e53e3e; }

/* ─── CATEGORIES PAGE ─── */
.categories-page { padding: 0 0 80px; }
.categories-page-hero {
    background: linear-gradient(135deg, #fff0f5 0%, #fce4ec 60%, #fff8e1 100%);
    padding: 52px 0 44px; text-align: center;
    margin-bottom: 40px; border-bottom: 1px solid rgba(233,30,99,0.08);
}
.categories-page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.categories-page-hero p { font-size: 15px; color: #888; }
.categories-full-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.cat-full-card {
    display: block; border-radius: 0; overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s; text-decoration: none;
}
.cat-full-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); color: inherit; }
.cat-full-card-image { aspect-ratio: 4/3; overflow: hidden; }
.cat-full-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.cat-full-card:hover .cat-full-card-image img { transform: scale(1.06); }
.cat-full-card-body { padding: 18px 20px; background: #fff; }
.cat-full-card-body h3 { font-size: 15px; font-weight: 800; color: #111; margin-bottom: 4px; }
.cat-full-card-body p { font-size: 13px; color: #888; margin-bottom: 12px; line-height: 1.4; }
.cat-full-card-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; color: var(--primary); transition: gap 0.2s;
}
.cat-full-card:hover .cat-full-card-cta { gap: 10px; }

/* ─── RESPONSIVE ─── */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.table-responsive .data-table {
    margin-bottom: 0;
    min-width: 600px; /* Force minimum width to enable clean horizontal scrolling instead of squeezing */
}

@media (max-width: 900px) {
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary, .checkout-summary { position: static; top: auto; }
    .checkout-summary { order: -1; }
    
    /* Account Layout Responsiveness */
    .account-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .account-sidebar { 
        position: static; 
        box-shadow: none !important; 
        background: transparent; 
        border: none; 
        padding: 0; 
        margin-bottom: 8px;
    }
    .account-user-card { display: none; } /* Hide user card on mobile sidebar tabs */
    
    /* Horizontal scrollable tab menu on mobile */
    .account-nav { 
        flex-direction: row; 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        gap: 8px; 
        justify-content: flex-start;
        padding: 0 0 10px 0;
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }
    .account-nav::-webkit-scrollbar {
        display: none; /* Hide scrollbar Safari/Chrome */
    }
    .account-nav a { 
        flex: 0 0 auto;
        padding: 6px 14px; 
        font-size: 12px; 
        border-radius: 20px; 
        background: #f5f5f5;
        border: 1px solid rgba(0, 0, 0, 0.03);
    }
    .account-nav a:hover {
        padding-left: 14px; /* Disable desktop hover indent */
    }
    .account-nav a.active {
        background: rgba(226, 62, 114, 0.08) !important;
        color: var(--primary) !important;
        border-color: rgba(226, 62, 114, 0.12);
    }
    .account-nav a .nav-icon { 
        display: none; /* Hide icons to keep tabs compact */
    }
    .account-nav a.active::before { display: none; }
    .account-nav .logout-link { 
        margin-top: 0; 
        border-top: none; 
        padding-top: 6px; 
        background: #fff5f5;
        border-color: rgba(229, 62, 62, 0.08);
    }
    .account-nav .logout-link:hover {
        background: #fff5f5;
    }
    .account-main { padding: 24px 20px; }
    
    .categories-full-grid { grid-template-columns: repeat(2, 1fr); }
    .confirmation-page { max-width: 100%; }
    .confirmation-card { padding: 32px 20px; }
    .auth-card { padding: 32px 24px; max-width: 100%; }
}
@media (max-width: 600px) {
    .cart-table thead { display: none; }
    .cart-table tr { display: flex; flex-wrap: wrap; padding: 14px; border-bottom: 1px solid var(--border); }
    .cart-table td { padding: 3px 6px; border: none; }
    .cart-product-cell { width: 100%; margin-bottom: 8px; }
    .checkout-section .form-row { grid-template-columns: 1fr; gap: 0; }
    .checkout-section .form-row input { margin-bottom: 12px; }
    .categories-full-grid { gap: 14px; }
    .confirm-actions { flex-direction: column; }
    .confirm-actions .btn { width: 100%; }

    /* Account styling for extra-small viewports */
    .account-main { padding: 20px 16px; border-radius: 12px; }
    .account-main h1 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; }
    .account-main .section-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
        flex-wrap: nowrap;
    }
    .account-main .section-header h1 {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        white-space: nowrap;
        font-size: 16px;
    }
    .account-main .section-header .btn {
        width: auto;
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 8px;
    }
    .account-stats { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
    .stat-card { padding: 18px; }
    .stat-num { font-size: 26px; }
    .account-form .form-row { grid-template-columns: 1fr; gap: 0; }
    .account-form input[type="text"],
    .account-form input[type="email"],
    .account-form input[type="password"],
    .account-form input[type="tel"],
    .account-form select,
    .account-form textarea {
        margin-bottom: 12px;
    }
}

/* ============================================================
   REMAINING PAGES: Track Order, Contact, Account, Status Badges
   ============================================================ */

/* ─── STATUS BADGES ─── */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    white-space: nowrap;
}
.status-pending      { background: #fffde7; color: #f59e0b; }
.status-confirmed    { background: #e0f2fe; color: #0284c7; }
.status-processing   { background: #ede9fe; color: #7c3aed; }
.status-shipped      { background: #ecfdf5; color: #059669; }
.status-out_for_delivery { background: #fff7ed; color: #ea580c; }
.status-delivered    { background: #dcfce7; color: #16a34a; }
.status-cancelled    { background: #fee2e2; color: #dc2626; }

/* ─── DATA TABLES (Orders, Dashboard) ─── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.data-table thead tr {
    background: #fafafa;
    border-bottom: 2px solid var(--border);
}
.data-table th {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: left;
    white-space: nowrap;
}
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
    vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #fafafa; }
.data-table td a {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(233,30,99,0.2);
    transition: 0.2s;
}
.data-table td a:hover { background: var(--primary); color: #fff; }

/* ─── ORDER FILTER CHIPS ─── */
.order-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.filter-chip {
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    background: #f5f5f5;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.filter-chip:hover { color: var(--primary); background: #fff0f5; border-color: rgba(233,30,99,0.2); }
.filter-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─── ACCOUNT DASHBOARD STATS ─── */
.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.stat-card {
    background: linear-gradient(135deg, #fff0f5 0%, #fce4ec 100%);
    border: 1px solid rgba(233,30,99,0.1);
    border-radius: 14px;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(233,30,99,0.1); }
.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.stat-card span:last-child {
    font-size: 13px;
    font-weight: 600;
    color: #888;
}
.account-main h2 {
    font-size: 16px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 24px 0 16px;
}
.account-main > p { font-size: 14px; color: #888; }
.account-main > p a { color: var(--primary); font-weight: 600; }
.account-main > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 16px;
    text-decoration: none;
}
.account-main > a:hover { gap: 10px; }

/* Account avatar block in sidebar */
.account-avatar {
    text-align: center;
    padding: 20px 16px 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}
.account-avatar img {
    width: 70px; height: 70px;
    border-radius: 50%; object-fit: cover;
    border: 3px solid var(--primary);
    margin: 0 auto 10px;
}
.avatar-placeholder {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #f06292 100%);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.account-avatar h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.account-avatar p { font-size: 12px; color: #999; }

/* ─── TRACK ORDER PAGE ─── */
.track-page { max-width: 760px; margin: 0 auto; }

.track-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.track-form input {
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #111;
    outline: none;
    transition: 0.2s;
    width: 100%;
}
.track-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(233,30,99,0.07); }
.track-form .btn { height: 48px; white-space: nowrap; border-radius: 10px; padding: 0 24px; }

.track-result {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.track-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
    flex-wrap: wrap;
}
.track-header h2 { font-size: 18px; font-weight: 800; color: #111; }
.track-result > p { font-size: 14px; color: #666; margin: 16px 0 0; }

/* Order Progress Stepper */
.order-progress {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    margin-bottom: 28px;
    padding: 0 8px;
}
.order-progress::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 28px;
    right: 28px;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    z-index: 1;
}
.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 2px solid var(--border);
    transition: 0.3s;
    flex-shrink: 0;
    position: relative;
}
.step-circle::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: transparent;
    transition: 0.3s;
}
.progress-step.done .step-circle {
    background: #dcfce7;
    border-color: #16a34a;
}
.progress-step.done .step-circle::after { background: #16a34a; }
.progress-step.current .step-circle {
    background: #fff0f5;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(233,30,99,0.12);
}
.progress-step.current .step-circle::after { background: var(--primary); }
.progress-step span {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-align: center;
    line-height: 1.3;
    max-width: 70px;
}
.progress-step.done span { color: #16a34a; }
.progress-step.current span { color: var(--primary); font-weight: 700; }

/* Status Log Timeline */
.status-log {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.status-log h3 {
    font-size: 12px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 16px;
}
.log-entry {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    padding-left: 20px;
}
.log-entry::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}
.log-entry:last-child { border-bottom: none; }
.log-time {
    font-size: 12px;
    color: #aaa;
    font-weight: 500;
    white-space: nowrap;
    min-width: 130px;
}
.log-status { font-size: 13px; font-weight: 700; color: #333; }
.log-entry p { font-size: 12px; color: #888; margin-top: 2px; }

/* ─── CONTACT PAGE ─── */
/* .contact-page padding now set in universal rule above */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}
.contact-form-card, .contact-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: var(--shadow);
}
.contact-form-card h2, .contact-info-card h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}
.contact-form-card p, .contact-info-card p {
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
    line-height: 1.6;
}
.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    margin-top: 16px;
}
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #111;
    background: #fff;
    outline: none;
    transition: 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233,30,99,0.07);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { margin-top: 20px; width: 100%; padding: 14px; font-size: 15px; border-radius: 10px; }
.alert-success { background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; font-size: 14px; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-info-text strong { font-size: 14px; font-weight: 700; color: #111; display: block; margin-bottom: 2px; }
.contact-info-text span { font-size: 13px; color: #777; }
.contact-map {
    margin-top: 20px;
    background: linear-gradient(135deg, #f9f9fa 0%, #f0f0f0 100%);
    border-radius: 12px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
}

/* ─── ACCOUNT PROFILE / ADDRESSES FORMS ─── */
.account-form { display: flex; flex-direction: column; gap: 16px; }
.account-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.account-form label {
    font-size: 12px;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"],
.account-form input[type="tel"],
.account-form select,
.account-form textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #111;
    background: #fff;
    outline: none;
    transition: 0.2s;
    width: 100%;
}
.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233,30,99,0.07);
}
.account-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-form .btn { align-self: flex-start; min-width: 160px; padding: 12px 28px; border-radius: 10px; }

/* Address card for addresses page */
.address-cards { display: flex; flex-direction: column; gap: 14px; }
.address-card {
    padding: 18px 20px;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    position: relative;
    background: #fff;
    transition: border-color 0.2s;
}
.address-card.default { border-color: var(--primary); background: #fff0f5; }
.address-card-label {
    display: inline-flex;
    padding: 3px 10px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.address-card p { font-size: 14px; color: #555; line-height: 1.7; }
.address-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.address-card-actions a, .address-card-actions button {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: none;
    border: 1px solid rgba(233,30,99,0.3);
    padding: 5px 14px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: 0.2s;
}
.address-card-actions a:hover, .address-card-actions button:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.address-card-actions .btn-danger {
    color: #dc2626;
    border-color: rgba(220,38,38,0.3);
}
.address-card-actions .btn-danger:hover { background: #dc2626; color: #fff; border-color: #dc2626; }

/* ─── AUTH PAGES ADDITIONS (Register, Forgot) ─── */
.auth-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo img { height: 50px; margin: 0 auto; }

/* ─── ACCOUNT MOBILE RESPONSIVE ─── */
@media (max-width: 768px) {
    /* Track Order */
    .track-page { max-width: 100%; }
    .track-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .track-form .btn { width: 100%; height: 48px; }
    .order-progress { gap: 0; padding: 0 4px; }
    .order-progress::before { left: 18px; right: 18px; }
    .step-circle { width: 28px; height: 28px; }
    .step-circle::after { inset: 5px; }
    .progress-step span { font-size: 10px; max-width: 52px; }
    .track-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .log-time { min-width: 100px; font-size: 11px; }

    /* Contact */
    .contact-layout { grid-template-columns: 1fr; }

    /* Account Dashboard stats */
    .account-stats { grid-template-columns: 1fr 1fr; }

    /* Account sidebar on mobile - horizontal scroll chips */
    .account-nav { flex-direction: row; overflow-x: auto; gap: 6px; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
    .account-nav::-webkit-scrollbar { display: none; }
    .account-nav a { white-space: nowrap; flex-shrink: 0; padding: 8px 16px; }
    .account-nav .logout-link { border-top: none; padding-top: 8px; border-radius: 10px; }

    /* Data table - card mode on mobile */
    .data-table thead { display: none; }
    .data-table tr {
        display: flex;
        flex-wrap: wrap;
        padding: 14px 16px;
        border-bottom: 1px solid var(--border);
        gap: 6px;
    }
    .data-table td {
        padding: 2px 4px;
        border: none;
        font-size: 13px;
    }
    .data-table td:first-child { font-weight: 700; color: #111; width: 100%; }

    /* Auth form row */
    .auth-card .form-row { grid-template-columns: 1fr; gap: 0; }
    .auth-card { padding: 28px 20px; }

    /* Account profile form row */
    .account-form .form-row { grid-template-columns: 1fr; }
    .account-form .btn { width: 100%; }

    /* Account main padding */
    .account-main { padding: 20px 18px; }
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    z-index: 9999;
    max-height: 420px;
    overflow-y: auto;
    padding: 8px 0;
}

.suggestion-group-title {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 16px 4px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s, transform 0.1s;
    cursor: pointer;
}

.suggestion-item:hover {
    background: #fdf2f8; /* Very light pink matching branding */
}

.suggestion-item.category-item {
    padding: 8px 16px;
}

.suggestion-icon {
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0f5;
    border-radius: 8px;
    color: var(--primary);
}

.suggestion-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #f9f9f9;
}

.suggestion-img-placeholder {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 20px;
}

.suggestion-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.suggestion-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-price {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    margin-top: 2px;
}


.suggestion-no-results {
    padding: 16px;
    font-size: 14px;
    color: #888;
    text-align: center;
}

/* ─── MOBILE: UNIVERSAL PAGE SPACING ─── */
@media (max-width: 768px) {
    /* Consistent container horizontal padding on mobile — use left/right ONLY
       so that vertical padding on elements like .header-main is NOT overridden */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* All inner pages: same top + bottom breathing room */
    /* padding-top/bottom only — never shorthand — to preserve container horizontal padding */
    .cart-page,
    .checkout-page,
    .contact-page,
    .track-page,
    .confirmation-page,
    .account-page,
    .categories-page {
        padding-top: 24px;
        padding-bottom: 60px;
    }

    /* Unified page title on mobile */
    .page-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

/* Clear Cart Button Style */
.btn-clear-cart {
    background: #fff;
    color: #dc2626;
    border: 1.5px solid #fee2e2;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-clear-cart:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    transform: translateY(-1px);
}

/* ============================================================
   SECURED CHECKOUT HEADER & EXIT MODAL & MOBILE BOTTOM SHEET
   ============================================================ */

/* Special Secured Header */
.secured-checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.btn-checkout-back {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.btn-checkout-back:hover {
    background-color: #f3f4f6;
}
.secured-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #4b5563;
    background: #f3f4f6;
    padding: 6px 14px;
    border-radius: 30px;
}

/* Clean Coupon Input Box in Checkout */
.checkout-coupon-input-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 4px 4px 4px 12px;
    max-width: 320px;
    transition: all 0.2s ease;
}
.checkout-coupon-input-box:focus-within {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.05);
}
.checkout-coupon-input-box input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 500;
    color: #111827;
    outline: none !important;
    box-shadow: none !important;
}
.checkout-coupon-input-box input:focus {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}
.checkout-coupon-input-box input::placeholder {
    color: #9ca3af;
    font-weight: 400;
    font-size: 11.5px !important;
}
.btn-apply-coupon {
    background: #111827;
    color: #fff;
    border: none;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 7px;
    transition: background 0.15s ease;
    letter-spacing: 0.5px;
}
.btn-apply-coupon:hover {
    background: #000;
    color: #fff;
}
.btn-apply-coupon.applied {
    background: #dc2626;
    color: #fff;
}
.btn-apply-coupon.applied:hover {
    background: #b91c1c;
    color: #fff;
}
.coupon-msg {
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 600;
}
.coupon-msg.success {
    color: #16a34a;
}
.coupon-msg.error {
    color: #dc2626;
}

/* Exit Abandonment Modal */
.exit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.exit-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.exit-modal-content {
    background: #fff;
    width: 90%;
    max-width: 440px;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.exit-modal-overlay.active .exit-modal-content {
    transform: translateY(0);
}
.exit-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: 0.2s;
}
.exit-modal-close:hover {
    background: #e5e7eb;
}
.exit-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
}
.exit-modal-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    font-weight: 500;
}
.text-orange {
    color: #f97316;
    font-weight: 700;
}
.feedback-prompt {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
}
.feedback-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1.5px solid #f3f4f6;
    margin-bottom: 8px;
    cursor: pointer;
    transition: 0.2s;
}
.feedback-option:hover {
    background: #f9fafb;
    border-color: #e5e7eb;
}
.feedback-option input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}
.feedback-option span {
    font-size: 13.5px;
    font-weight: 600;
    color: #4b5563;
}
.exit-modal-footer {
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
    margin-top: 16px;
}
.exit-footer-prompt {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    margin-bottom: 12px;
}
.exit-modal-actions {
    display: flex;
    gap: 10px;
}
.btn-continue-shopping {
    flex: 1.2;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 13.5px;
    font-weight: 750;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
}
.btn-continue-shopping:hover {
    background: #1f2937;
}
.btn-skip-exit {
    flex: 1;
    background: #fff;
    color: #111827;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    font-size: 13.5px;
    font-weight: 750;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
}
.btn-skip-exit:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Mobile summary collapsible header */
.mobile-summary-header {
    display: none; /* hidden on desktop */
}

/* Bottom Sheet Modal overlay */
.summary-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.summary-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}
.summary-sheet-content {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 80%;
    background: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.summary-sheet-overlay.active .summary-sheet-content {
    transform: translateY(0);
}
.summary-sheet-close-btn {
    position: fixed;
    bottom: calc(80% + 15px); /* Positioned above sheet */
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.summary-sheet-overlay.active .summary-sheet-close-btn {
    opacity: 1;
    visibility: visible;
}
.summary-sheet-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}
.summary-sheet-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}
.summary-sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}
.sheet-product-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.sheet-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sheet-product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
}
.spi-details {
    flex: 1;
}
.spi-details h4 {
    font-size: 13.5px;
    font-weight: 600;
    color: #111;
    line-height: 1.35;
    margin-bottom: 4px;
}
.spi-qty {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    display: block;
}
.gift-tag {
    font-size: 10px;
    background: #fff3e0;
    color: #e65100;
    padding: 1px 6px;
    border-radius: 4px;
    margin-top: 2px;
    display: inline-block;
    font-weight: 600;
}
.spi-pricing {
    text-align: right;
    display: flex;
    flex-direction: column;
}
.spi-price-old {
    font-size: 11px;
    text-decoration: line-through;
    color: #888;
}
.spi-price-new {
    font-size: 13.5px;
    font-weight: 750;
    color: #111;
}
.sheet-price-table {
    width: 100%;
    border-collapse: collapse;
}
.sheet-price-table td {
    padding: 10px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f3f4f6;
}
.sheet-price-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: #111;
}
.sheet-price-table .discount-row td {
    color: #16a34a;
}
.summary-sheet-footer {
    padding: 16px 24px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}
.to-pay-label {
    font-size: 16px;
    font-weight: 800;
    color: #111;
}
.to-pay-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

/* Mobile overrides for checkout */
@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .checkout-steps { display: block; }
    /* Hide all sections except active step on mobile */
    .checkout-section[data-step] { display: none; }
    .checkout-section[data-step].step-active { display: block; }
    /* On desktop always show */
    /* Next step button - shown only on mobile */
    .btn-step-next {
        width: 100%;
        padding: 13px;
        margin-top: 16px;
        background: #111;
        color: #fff;
        border: none;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
        font-family: inherit;
        cursor: pointer;
        letter-spacing: 0.3px;
        transition: background 0.2s;
    }
    .btn-step-next:hover { background: #333; }
    /* Mobile Address Picker Layout */
    .desktop-addr-section {
        display: none !important;
    }
    .mobile-addr-selected {
        display: flex !important;
    }

    /* Sticky bottom CTA bar for mobile checkout */
    .mobile-checkout-cta {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        padding: 12px 16px;
        z-index: 999;
        display: flex;
        gap: 10px;
        align-items: center;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    }
    .mobile-checkout-cta .cta-info {
        flex: 1;
        min-width: 0;
    }
    .mobile-checkout-cta .cta-step-label {
        font-size: 10px;
        font-weight: 600;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        display: block;
    }
    .mobile-checkout-cta .cta-step-title {
        font-size: 13px;
        font-weight: 700;
        color: #111;
        display: block;
    }
    .mobile-cta-back {
        display: none;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #f3f4f6;
        border: none;
        color: #1f2937;
        cursor: pointer;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }
    .mobile-cta-back:active {
        background: #e5e7eb;
        transform: scale(0.95);
    }
    .mobile-cta-btn {
        background: #111;
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 13px 22px;
        font-size: 13.5px;
        font-weight: 700;
        font-family: inherit;
        cursor: pointer;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: background 0.2s;
    }
    .mobile-cta-btn:hover { background: #333; }
    /* Add bottom padding to checkout left so content isn't hidden behind CTA bar */
    .checkout-left { padding-bottom: 80px; }
    /* Hide old inline next buttons */
    .btn-step-next { display: none !important; }
    /* Hide desktop summary panel */
    .checkout-summary {
        display: none !important;
    }
    .checkout-page {
        padding-bottom: 90px !important;
    }
    /* Show mobile collapsible summary bar fixed at bottom */
    .mobile-inline-summary-card {
        display: block;
        background: #ffffff;
        border: 1.5px solid var(--border);
        border-radius: 16px;
        padding: 16px;
        margin-bottom: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    }
    .misc-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1.5px solid #f3f4f6;
        padding-bottom: 12px;
        margin-bottom: 12px;
        cursor: pointer;
    }
    .misc-title-wrap {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .misc-title {
        font-size: 13.5px;
        font-weight: 800;
        color: #111827;
        letter-spacing: -0.3px;
    }
    .misc-subtitle {
        font-size: 11px;
        color: #6b7280;
        font-weight: 500;
    }
    .misc-view-items-btn {
        font-size: 11.5px;
        font-weight: 750;
        color: var(--primary);
        cursor: pointer;
        background: #fdf2f8;
        padding: 4px 10px;
        border-radius: 6px;
        transition: all 0.2s;
    }
    .misc-view-items-btn:hover {
        background: #fbcfe8;
    }
    .mobile-inline-summary-card .summary-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 13px;
    }
    .mobile-inline-summary-card .summary-table tr td {
        padding: 6px 0;
        color: #4b5563;
    }
    .mobile-inline-summary-card .summary-table tr td:last-child {
        text-align: right;
        font-weight: 700;
        color: #111827;
    }
    .mobile-inline-summary-card .summary-table tr.total-row {
        border-top: 1.5px solid #f3f4f6;
    }
    .mobile-inline-summary-card .summary-table tr.total-row td {
        padding-top: 10px;
        font-size: 14.5px;
    }
    .mobile-inline-summary-card .summary-table tr.total-row td:last-child {
        color: var(--primary);
        font-weight: 850;
    }
}

/* ─── DONATION CARD ──────────────────────────────────────────── */
/* ─── DONATION CARD ──────────────────────────────────────────── */
.donation-card-section {
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.donation-banner-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #f3f4f6;
}
.dbh-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}
.dbh-gift-icon {
    width: 42px; height: 42px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4b5563;
}
.dbh-title-wrap h3 {
    font-size: 14.5px;
    font-weight: 750;
    color: #111827;
    margin: 0 0 4px;
    line-height: 1.3;
}
.dbh-title-wrap p {
    font-size: 12.5px;
    color: #6b7280;
    margin: 0;
    line-height: 1.45;
    font-weight: 500;
}

.donation-options-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.donation-prompt-label {
    font-size: 11px;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.donation-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.donation-preset-btn {
    padding: 8px 16px;
    border: 1.5px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}
.donation-preset-btn:hover {
    background: #fafafa;
    border-color: #9ca3af;
}
.donation-preset-btn.active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}
.donation-preset-btn.custom-btn {
    border-style: dashed;
}
.donation-preset-btn.custom-btn.active {
    border-style: solid;
}

.custom-donation-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 6px 12px;
    background: #fafafa;
    width: 100%;
    max-width: 180px;
    margin-top: 10px;
    transition: all 0.2s ease;
}
.custom-donation-input-wrap:focus-within {
    border-color: #111827;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.05);
}
.custom-donation-input-wrap.hidden {
    display: none !important;
}
.custom-donation-input-wrap .input-prefix {
    font-size: 13.5px;
    font-weight: 600;
    color: #4b5563;
    margin-right: 4px;
}
.custom-donation-input-wrap input {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    font-size: 12.5px !important;
    color: #111827 !important;
    font-weight: 600 !important;
    outline: none !important;
    box-shadow: none !important;
}
.custom-donation-input-wrap input:focus {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}
.custom-donation-input-wrap input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}
/* Hide number spinners */
.custom-donation-input-wrap input[type=number]::-webkit-inner-spin-button, 
.custom-donation-input-wrap input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
.custom-donation-input-wrap input[type=number] {
    -moz-appearance: textfield;
}

/* ─── SUMMARY TABLE EXTRAS ───────────────────────────────────── */
.summary-table .donation-summary-row td {
    color: var(--primary);
    font-weight: 700;
}
.donation-val {
    font-weight: 700 !important;
}
.hidden { display: none !important; }

/* ─── ORDER DETAILS RESPONSIVE LAYOUT ─── */
.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.order-detail-header h1 {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.order-detail-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}
.order-detail-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #111;
    margin: 0 0 16px 0;
}
.order-detail-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 768px) {
    .order-detail-meta-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .order-detail-card {
        padding: 16px;
    }
}

/* ─── ACCOUNT WISHLIST PRODUCTS GRID ─── */
.account-main .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1200px) {
    .account-main .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .account-main .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}
@media (max-width: 480px) {
    .account-main .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}
@media (max-width: 380px) {
    .account-main .products-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ─── COMPACT ORDER STATUS SELECTOR ─── */
.order-filter-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.order-filter-label {
    font-size: 13px;
    font-weight: 700;
    color: #5f6368;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 0;
}
.order-filter-select {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #3c4043;
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.order-filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(226, 62, 114, 0.1);
}

/* ─── COUPONS MODAL SYSTEM ─── */
.coupons-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.coupons-modal.active {
    display: flex;
}
.coupons-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}
.coupons-modal-content {
    position: relative;
    z-index: 2;
    background: #fff;
    width: 90%;
    max-width: 460px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}
@keyframes modalScaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.coupons-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}
.coupons-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}
.close-coupons-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #9aa0a6;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}
.close-coupons-modal:hover {
    color: #3c4043;
}
.coupons-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}
.coupons-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.coupon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #fafafa;
    border: 1px dashed var(--border);
    border-radius: 12px;
    transition: all 0.2s;
}
.coupon-item:hover {
    border-color: var(--primary);
    background: rgba(226, 62, 114, 0.01);
}
.coupon-item-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding-right: 12px;
}
.coupon-badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: rgba(226, 62, 114, 0.08);
    border: 1px solid rgba(226, 62, 114, 0.15);
    border-radius: 6px;
    text-transform: uppercase;
}
.coupon-desc {
    margin: 0;
    font-size: 12px;
    color: #5f6368;
    line-height: 1.4;
}
.btn-copy-apply {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    height: fit-content;
}
.btn-copy-apply:hover {
    background: #c22f5d;
}
.no-coupons-state {
    text-align: center;
    color: #5f6368;
    padding: 32px 0;
    font-size: 13px;
}
.view-coupons-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}
.view-coupons-link:hover {
    opacity: 0.8;
}

/* Mobile Bottom Drawer Panel styling */
@media (max-width: 600px) {
    .coupons-modal {
        align-items: flex-end;
    }
    .coupons-modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        margin: 0;
    }
}
@keyframes modalSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ─── PREMIUM INNER PAGE HEADER ─── */
.inner-page-header {
    background: linear-gradient(135deg, #fff5eb 0%, #fff 100%);
    border-bottom: 1px solid rgba(229, 201, 160, 0.4);
    padding: 40px 0;
    margin-bottom: 40px;
    text-align: center;
}

.inner-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.breadcrumb-item.active {
    color: #111;
}

.breadcrumb-separator {
    color: rgba(0, 0, 0, 0.15);
    font-weight: normal;
}

.inner-header-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin: 0;
}

.inner-header-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin: 8px 0 0 0;
    max-width: 600px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .inner-page-header {
        padding: 20px 0;
        margin-bottom: 18px;
    }
    .breadcrumb-list {
        margin-bottom: 6px;
        font-size: 12px;
    }
    .inner-header-title {
        font-size: 23px;
    }
    .inner-header-subtitle {
        font-size: 12.5px;
        margin-top: 6px;
        line-height: 1.4;
    }
}

/* Prevent auto-zooming on mobile input/select focus */
@media (max-width: 860px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ============================================================
   REDESIGNED CHECKOUT PAYMENT & TRUST SYSTEM (PREMIUM DESIGN)
   ============================================================ */

/* Force hide mobile off-canvas drawer / overlays on desktop view */
@media (min-width: 769px) {
    .addr-picker-overlay, .addr-picker-sheet,
    .summary-sheet-overlay, .summary-sheet-content, .summary-sheet-close-btn,
    .mobile-checkout-cta {
        display: none !important;
    }
}

/* Beautiful custom payment option container */
.payment-option {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 16px 20px !important;
    border: 2px solid var(--border, #e5e7eb) !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    margin-bottom: 12px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: #fff !important;
    position: relative !important;
}
.payment-option:hover {
    border-color: #9ca3af !important;
    background: #fafafa !important;
}
.payment-option:has(input:checked) {
    border-color: #111827 !important;
    background: #fafafa !important;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.05) !important;
}
.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.pay-opt-custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-top: 2px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.payment-option:has(input:checked) .pay-opt-custom-radio {
    border-color: #111827;
    background: #fff;
}
.payment-option:has(input:checked) .pay-opt-custom-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #111827;
    border-radius: 50%;
}
.pay-opt-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.pay-opt-title {
    font-size: 14.5px;
    font-weight: 750;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pay-opt-icon {
    color: #6b7280;
    transition: color 0.2s ease;
    flex-shrink: 0;
}
.payment-option:has(input:checked) .pay-opt-icon {
    color: #111827;
}
.pay-opt-desc {
    font-size: 12.5px;
    color: #6b7280;
    line-height: 1.45;
    font-weight: 500;
}

/* Redesigned UPI payment container */
.upi-payment-details-box {
    background: #fafafa !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 20px !important;
    margin-top: 14px !important;
    margin-bottom: 20px !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Device screen mockup for QR code */
.upi-qr-terminal-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.upi-qr-terminal-mockup::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: #111827;
}
.upi-qr-code-wrap {
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
}
.upi-qr-code-wrap img {
    max-width: 100%;
    max-height: 100%;
}
.upi-scan-indicator {
    font-size: 11px;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.upi-scan-indicator::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: blinker 1.5s linear infinite;
}
@keyframes blinker {
    50% { opacity: 0; }
}

/* Timer and Copyable Info */
.upi-terminal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.upi-amount-banner {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.upi-amount-title {
    font-size: 11px;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.upi-amount-val {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.upi-id-copy-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.upi-id-title {
    font-size: 11px;
    font-weight: 750;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.upi-id-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 4px 6px 4px 12px;
}
.upi-id-box code {
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.btn-copy-upi {
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 7px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-copy-upi:hover {
    background: #e5e7eb;
    color: #111827;
}

/* Pay via UPI App deep link button */
.btn-launch-upi-app {
    display: none; /* Mobile only, set display block in media query */
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 13.5px;
    font-weight: 750;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}
.btn-launch-upi-app:active {
    transform: scale(0.98);
}

/* Visual countdown timer */
.upi-timer-alert {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.upi-timer-text {
    font-size: 12.5px;
    font-weight: 600;
    color: #92400e;
}
.upi-timer-countdown {
    font-size: 14.5px;
    font-weight: 800;
    color: #b45309;
    font-family: monospace;
}

/* Trust Badges */
.checkout-trust-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap;
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #6b7280;
    font-weight: 600;
}
.trust-badge-item svg {
    color: #10b981;
}

/* Custom drag & drop / stylish upload zone */
.screenshot-upload-dropzone {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
    text-align: center;
    gap: 6px;
}
.screenshot-upload-dropzone:hover {
    border-color: #111827;
    background: #f9fafb;
}
.screenshot-upload-dropzone .upload-icon {
    color: #9ca3af;
    transition: color 0.2s;
}
.screenshot-upload-dropzone:hover .upload-icon {
    color: #111827;
}
.screenshot-upload-dropzone .upload-text {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}
.screenshot-upload-dropzone .upload-subtext {
    font-size: 11px;
    color: #9ca3af;
}
.screenshot-upload-dropzone .upload-filename {
    font-size: 12px;
    color: #111827;
    font-weight: 700;
    margin-top: 4px;
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #d1d5db;
}
.hidden-file-input {
    display: none !important;
}

/* Responsive grid layout for UPI Terminal details */
@media (min-width: 601px) {
    .upi-payment-details-box {
        flex-direction: row;
        align-items: stretch;
    }
    .upi-qr-terminal-mockup {
        flex: 1;
        margin: 0;
    }
    .upi-terminal-sidebar {
        flex: 1.2;
        justify-content: space-between;
    }
}
@media (max-width: 768px) {
    .btn-launch-upi-app {
        display: flex;
    }
}

/* Gifting & Delivery Instructions Card Layout */
.gifting-options-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 12px;
}
.checkout-field-block {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.checkout-field-block.border-top {
    border-top: 1.5px solid #e5e7eb;
}
.cfb-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: default;
    margin: 0 !important;
}
.cfb-icon {
    color: #4b5563;
    margin-top: 2px;
    flex-shrink: 0;
}
.cfb-title {
    display: block;
    font-size: 14px;
    font-weight: 750;
    color: #111827;
}
.cfb-desc {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
    line-height: 1.35;
}
.checkout-field-block textarea {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #1f2937;
    font-family: inherit;
    resize: none;
    transition: all 0.2s ease;
    background: #fafafa;
}
.checkout-field-block textarea:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.08);
}
.instruction-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}
.qtag-btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 650;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.15s ease;
}
.qtag-btn:hover {
    background: #e5e7eb;
    color: #111827;
}
.qtag-btn:active {
    transform: scale(0.97);
}

.view-coupons-wrap {
    margin-top: 4px;
}
.btn-view-coupons {
    background: transparent;
    border: none;
    color: #4b5563;
    font-size: 12.5px;
    font-weight: 750;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}
.btn-view-coupons:hover {
    color: #111827;
}

/* Secure Razorpay Redirection Page */
.payment-redirection-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 16px;
}
.payment-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 480px;
    padding: 36px;
    text-align: center;
    box-sizing: border-box;
}
.payment-card-header {
    margin-bottom: 28px;
}
.lock-icon-wrap {
    width: 52px;
    height: 52px;
    background: #f0fdf4;
    color: #16a34a;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
}
.payment-card-header h1 {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}
.payment-card-header .subtitle {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.45;
    margin: 0;
    font-weight: 500;
}
.payment-order-details {
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 28px;
}
.pod-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.pod-row.border-top {
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
    padding-top: 12px;
}
.pod-label {
    font-size: 13px;
    color: #4b5563;
    font-weight: 500;
}
.pod-value {
    font-size: 13px;
    color: #111827;
    font-weight: 700;
}
.pod-label.total {
    font-size: 14.5px;
    color: #111827;
    font-weight: 800;
}
.pod-value.total {
    font-size: 16px;
    color: var(--primary);
    font-weight: 850;
}
.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.btn-pay-now {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 14.5px;
    font-weight: 750;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-pay-now:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}
.btn-pay-now:active {
    transform: translateY(0);
}
.btn-cancel-payment {
    background: transparent;
    border: 1.5px solid #e5e7eb;
    color: #4b5563;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.15s ease;
}
.btn-cancel-payment:hover {
    background: #f9fafb;
    color: #111827;
    border-color: #d1d5db;
}
.payment-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}
.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
}
.badge-item svg {
    color: #16a34a;
}

/* Compact Professional Toast */
.compact-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translate(-50%, -20px);
    z-index: 9999999;
    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 16px -6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 90vw;
    width: max-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.compact-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.compact-toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.2px;
}
.toast-error-icon {
    color: #ef4444; /* bright error red */
    flex-shrink: 0;
}

/* --- Premium Info Tooltips for Charges --- */
.info-tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    cursor: pointer;
    vertical-align: middle;
    color: #9ca3af;
    transition: color 0.15s ease;
}
.info-tooltip-trigger:hover {
    color: #374151;
}
.info-tooltip-trigger .info-icon {
    width: 14px;
    height: 14px;
    display: block;
}
/* Tooltip Popover */
.info-tooltip-trigger::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translate(-50%, 4px) scale(0.95);
    background: #1f2937;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: normal;
    width: 200px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    text-align: center;
}
.info-tooltip-trigger:hover::after {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}
/* Tooltip Arrow */
.info-tooltip-trigger::before {
    content: '';
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translate(-50%, 4px);
    border-width: 5px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}
.info-tooltip-trigger:hover::before {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* --- Premium Empty Cart Empty State --- */
.empty-cart-container {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}
.empty-cart-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.03), 0 20px 40px -10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.empty-cart-icon-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    background: #fdf2f8; /* Soft pink base */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary); /* Gifting Adda Pink theme color */
    margin-bottom: 24px;
}
.empty-cart-svg {
    stroke-dasharray: 80;
    stroke-dashoffset: 0;
    animation: cart-bounce 2s ease-in-out infinite;
}
.empty-cart-sparkle {
    position: absolute;
    color: #fbcfe8;
    font-size: 16px;
    animation: sparkle-glow 1.5s ease-in-out infinite alternate;
}
.empty-cart-sparkle.sparkle-1 {
    top: 15px;
    right: 15px;
}
.empty-cart-sparkle.sparkle-2 {
    bottom: 15px;
    left: 15px;
    animation-delay: 0.75s;
}
.empty-cart-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}
.empty-cart-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 28px 0;
    max-width: 320px;
}
.btn-continue-shopping-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e91e8c; /* Matches continue button theme */
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(233, 30, 140, 0.25);
    border: none;
    cursor: pointer;
}
.btn-continue-shopping-premium:hover {
    background: #d0157a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.35);
    color: #ffffff !important;
}
.btn-continue-shopping-premium svg {
    transition: transform 0.2s ease;
}
.btn-continue-shopping-premium:hover svg {
    transform: translateX(3px);
}

@keyframes cart-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes sparkle-glow {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 1; }
}

/* --- Premium Tracking Pages Styling --- */
.track-page {
    max-width: 680px;
    margin: 40px auto;
    padding: 0 20px;
}
.track-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.03), 0 20px 40px -10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.track-card-header {
    text-align: center;
    margin-bottom: 32px;
}
.track-icon-svg-wrap {
    width: 72px;
    height: 72px;
    background: #fdf2f8;
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.track-card-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}
.track-card-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}
.track-form-premium {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group-premium {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.form-group-premium label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #374151;
}
.form-group-premium input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #f9fafb;
}
.form-group-premium input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.08);
    outline: none;
}
.btn-track-submit-premium {
    background: #e91e8c;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(233, 30, 140, 0.2);
    margin-top: 10px;
}
.btn-track-submit-premium:hover {
    background: #d0157a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.3);
}

/* Tracking Result Card */
.track-result-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    margin-top: 30px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.03), 0 20px 40px -10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.track-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}
.track-res-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}
.track-result-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin: 0;
}
.status-badge-premium {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-badge-premium.status-pending { background: #fef3c7; color: #d97706; }
.status-badge-premium.status-confirmed { background: #dbeafe; color: #2563eb; }
.status-badge-premium.status-processing { background: #f3e8ff; color: #7c3aed; }
.status-badge-premium.status-shipped { background: #e0f2fe; color: #0284c7; }
.status-badge-premium.status-out_for_delivery { background: #dcfce7; color: #16a34a; }
.status-badge-premium.status-delivered { background: #dcfce7; color: #16a34a; }
.status-badge-premium.status-cancelled { background: #fee2e2; color: #dc2626; }

/* Progress Stepper */
.order-progress-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
}
.order-progress-stepper::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    height: 3px;
    background: #f3f4f6;
    z-index: 0;
    border-radius: 1.5px;
}
.progress-bar-highlight {
    position: absolute;
    top: 18px;
    left: 18px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1 0%, #10b981 100%);
    z-index: 0;
    border-radius: 1.5px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}
.progress-bar-highlight-vertical {
    display: none;
}
.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    z-index: 1;
    position: relative;
}
.stepper-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #9ca3af;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.stepper-title {
    font-size: 11.5px;
    font-weight: 550;
    color: #888888;
    text-align: center;
    max-width: 90px;
    transition: color 0.3s ease;
}
.stepper-icon {
    width: 15px;
    height: 15px;
    stroke-width: 1.8px;
    transition: transform 0.3s ease;
}

/* Stepper Color Branding (Pastel/Compact Custom Styling) */

/* 1. Pending (Placed) - Indigo */
.stepper-step.step-pending.is-done .stepper-circle,
.stepper-step.step-pending.is-current .stepper-circle {
    background: #e0e7ff;
    border-color: #818cf8;
    color: #4f46e5;
}
.stepper-step.step-pending.is-done .stepper-title,
.stepper-step.step-pending.is-current .stepper-title {
    color: #4f46e5;
    font-weight: 600;
}
.stepper-step.step-pending.is-current .stepper-circle {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

/* 2. Confirmed - Blue */
.stepper-step.step-confirmed.is-done .stepper-circle,
.stepper-step.step-confirmed.is-current .stepper-circle {
    background: #dbeafe;
    border-color: #60a5fa;
    color: #2563eb;
}
.stepper-step.step-confirmed.is-done .stepper-title,
.stepper-step.step-confirmed.is-current .stepper-title {
    color: #2563eb;
    font-weight: 600;
}
.stepper-step.step-confirmed.is-current .stepper-circle {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* 3. Processing (Preparing) - Amber */
.stepper-step.step-processing.is-done .stepper-circle,
.stepper-step.step-processing.is-current .stepper-circle {
    background: #fef3c7;
    border-color: #fbbf24;
    color: #b45309;
}
.stepper-step.step-processing.is-done .stepper-title,
.stepper-step.step-processing.is-current .stepper-title {
    color: #b45309;
    font-weight: 600;
}
.stepper-step.step-processing.is-current .stepper-circle {
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

/* 4. Shipped - Teal */
.stepper-step.step-shipped.is-done .stepper-circle,
.stepper-step.step-shipped.is-current .stepper-circle {
    background: #ccfbf1;
    border-color: #2dd4bf;
    color: #0f766e;
}
.stepper-step.step-shipped.is-done .stepper-title,
.stepper-step.step-shipped.is-current .stepper-title {
    color: #0f766e;
    font-weight: 600;
}
.stepper-step.step-shipped.is-current .stepper-circle {
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

/* 5. Out for Delivery - Purple */
.stepper-step.step-out_for_delivery.is-done .stepper-circle,
.stepper-step.step-out_for_delivery.is-current .stepper-circle {
    background: #f3e8ff;
    border-color: #a78bfa;
    color: #6d28d9;
}
.stepper-step.step-out_for_delivery.is-done .stepper-title,
.stepper-step.step-out_for_delivery.is-current .stepper-title {
    color: #6d28d9;
    font-weight: 600;
}
.stepper-step.step-out_for_delivery.is-current .stepper-circle {
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

/* 6. Delivered - Green */
.stepper-step.step-delivered.is-done .stepper-circle,
.stepper-step.step-delivered.is-current .stepper-circle {
    background: #d1fae5;
    border-color: #34d282;
    color: #047857;
}
.stepper-step.step-delivered.is-done .stepper-title,
.stepper-step.step-delivered.is-current .stepper-title {
    color: #047857;
    font-weight: 600;
}
.stepper-step.step-delivered.is-current .stepper-circle {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.stepper-step.is-current .stepper-icon {
    animation: float-icon 2.5s ease-in-out infinite;
}

@keyframes float-icon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

/* Courier Box */
.tracking-courier-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #374151;
}
.tracking-courier-box svg {
    color: var(--primary);
}
.tracking-courier-box .courier-name {
    color: #6b7280;
    font-size: 13px;
    margin-left: 4px;
}

/* Live Tracking */
.live-tracking-panel {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 24px;
    margin: 28px 0;
}
.live-tracking-title {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.live-pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: live-pulse 1.5s infinite;
}
.rider-map-view {
    height: 350px;
    width: 100%;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    background: #f3f4f6;
}
.map-status-text {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-top: 10px;
    text-align: center;
}

/* Status History Log */
.status-history-log {
    margin-top: 32px;
    border-top: 1px solid #f3f4f6;
    padding-top: 24px;
}
.status-history-log h3 {
    font-size: 12px;
    font-weight: 800;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}
.log-timeline {
    position: relative;
    padding-left: 20px;
}
.log-timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e5e7eb;
}
.timeline-item {
    position: relative;
    margin-bottom: 20px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-marker {
    position: absolute;
    left: -20px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e91e8c;
}
.timeline-item:first-child .timeline-marker {
    background: #e91e8c;
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.2);
}
.timeline-content {
    background: #ffffff;
}
.timeline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.timeline-status-label {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}
.timeline-time {
    font-size: 12px;
    color: #9ca3af;
}
.timeline-note {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

@keyframes live-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 600px) {
    .order-progress-stepper {
        flex-direction: column;
        gap: 20px;
        position: relative;
        padding-left: 16px;
        margin-bottom: 24px;
    }
    .order-progress-stepper::before {
        display: block !important;
        position: absolute;
        top: 18px;
        bottom: 18px;
        left: 34px;
        width: 3px;
        height: auto;
        background: #f3f4f6;
        z-index: 0;
    }
    .progress-bar-highlight {
        display: none;
    }
    .progress-bar-highlight-vertical {
        display: block;
        position: absolute;
        top: 18px;
        left: 34px;
        width: 3px;
        background: linear-gradient(180deg, #6366f1 0%, #10b981 100%);
        z-index: 0;
        border-radius: 1.5px;
        transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .stepper-step {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    .stepper-title {
        max-width: none;
        font-size: 13.5px;
    }
}

/* --- Premium Customer Orders Cards --- */
.order-tabs-premium {
    display: flex;
    gap: 10px;
    margin: 20px 0 28px 0;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.order-tabs-premium::-webkit-scrollbar {
    display: none;
}
.order-tab-pill {
    padding: 8px 18px;
    border-radius: 99px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
}
.order-tab-pill:hover {
    background: #e5e7eb;
    color: #111827;
}
.order-tab-pill.is-active {
    background: #fff0f5;
    color: var(--primary);
    border-color: rgba(233, 30, 140, 0.15);
}

.order-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}
.premium-order-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    overflow: hidden;
    transition: all 0.2s ease;
}
.premium-order-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.02), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    border-color: rgba(233, 30, 140, 0.08);
}
.order-card-top {
    background: #f9fafb;
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.order-meta-info {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}
.meta-label {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.meta-val {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.meta-val.highlight {
    color: #111827;
    font-weight: 700;
}
.order-id-status {
    display: flex;
    align-items: center;
    gap: 12px;
}
.order-number-tag {
    font-size: 13px;
    font-weight: 700;
    color: #4b5563;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 6px;
}
.order-card-body {
    padding: 24px;
    border-bottom: 1px solid #f3f4f6;
}
.order-items-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.preview-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.preview-img-wrap {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 1px solid #f3f4f6;
    overflow: hidden;
    position: relative;
    background: #f9fafb;
    flex-shrink: 0;
}
.preview-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preview-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.preview-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #111827;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}
.preview-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}
.preview-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}
.preview-price {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}
.more-items-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: #fff0f5;
    padding: 6px 12px;
    border-radius: 8px;
    align-self: flex-start;
}
.order-card-actions {
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #fafafa;
}
.btn-order-action {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn-order-action.primary {
    background: #e91e8c;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(233, 30, 140, 0.15);
}
.btn-order-action.primary:hover {
    background: #d0157a;
    box-shadow: 0 6px 15px rgba(233, 30, 140, 0.25);
}
.btn-order-action.outline {
    background: #ffffff;
    color: #4b5563;
    border: 1.5px solid #e5e7eb;
}
.btn-order-action.outline:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

@media (max-width: 600px) {
    .order-card-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 12px;
    }
    .order-meta-info {
        gap: 16px;
        width: 100%;
        justify-content: space-between;
    }
    .order-id-status {
        width: 100%;
        justify-content: space-between;
    }
    .order-card-actions {
        flex-direction: column;
        padding: 16px;
        gap: 8px;
    }
    .btn-order-action {
        width: 100%;
    }
}

/* ─── DEALS & SPECIAL OFFERS HUB STYLES ─── */
.deals-page-wrapper {
    background: #f8fafc;
    padding-bottom: 60px;
}

.deals-hero-section {
    padding: 32px 0 24px;
}

.deals-hero-image-banner {
    width: 100%;
    aspect-ratio: 2.67 / 1;
    overflow: hidden;
    border-radius: 0;
    border: 1px solid rgba(229, 201, 160, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.deals-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.deals-banner-countdown-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #231f1a;
    color: #fff;
    padding: 12px 20px;
    margin-top: 15px;
    border-radius: 0;
    border: 1px solid rgba(229, 201, 160, 0.4);
}
.countdown-bar-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #c4a472;
}
.countdown-boxes.mini {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cd-box.mini {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 800;
}
.cd-box.mini span {
    color: #dfba73;
}
.cd-box.mini small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.deals-hero-card {
    background: linear-gradient(135deg, #fffdf8 0%, #ffffff 60%, #fffcf5 100%);
    border: 1px solid rgba(229, 201, 160, 0.5);
    border-radius: 0;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 10px 30px rgba(35, 31, 26, 0.02);
    position: relative;
    overflow: hidden;
}

.deals-hero-content {
    max-width: 620px;
}

.deals-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(225, 29, 72, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(225, 29, 72, 0.2);
}

.deals-hero-title {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.deals-hero-subtitle {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Countdown Block */
.deals-countdown-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.countdown-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.countdown-boxes {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cd-box {
    background: #231f1a;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 54px;
    box-shadow: 0 4px 12px rgba(35, 31, 26, 0.1);
}
.cd-box span {
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    color: #dfba73;
}
.cd-box small {
    font-size: 9px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}
.cd-sep {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
}

.deals-hero-graphic {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.floating-deal-badge-graphic {
    width: 160px;
    height: 160px;
    animation: floatDeal 3s ease-in-out infinite;
}
@keyframes floatDeal {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Coupons Section */
.deals-coupons-section {
    padding: 24px 0 32px;
}
.section-heading-row {
    margin-bottom: 20px;
}
.section-heading-row h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-heading-row p {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.coupon-deal-card {
    background: #ffffff;
    border: 1.5px dashed rgba(225, 29, 72, 0.3);
    border-radius: 0;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.03);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.coupon-deal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.08);
    border-color: var(--primary);
}

.coupon-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.coupon-discount-tag {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.3px;
}
.coupon-min-order {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.coupon-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.coupon-code-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 3px 4px 3px 12px;
    gap: 8px;
}
.c-code {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
}
.btn-copy-code {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-copy-code.copied {
    background: #10b981;
}
.coupon-expiry {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

/* Filter Bar & Chips */
.deals-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 16px;
    border: 1px solid rgba(229, 201, 160, 0.4);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(35, 31, 26, 0.02);
    max-width: 100%;
    box-sizing: border-box;
}
.tier-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    min-width: 0;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.tier-chips::-webkit-scrollbar {
    display: none;
}
.tier-chips .chip {
    padding: 8px 18px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.tier-chips .chip:hover, .tier-chips .chip.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.sort-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.sort-selector select {
    padding: 6px 12px;
    border-radius: 0;
    border: 1px solid #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    cursor: pointer;
}

/* Deal Product Cards */
.deal-product-card {
    position: relative;
    border-radius: 0 !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.deal-product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08) !important;
    border-color: rgba(225, 29, 72, 0.3) !important;
}
.deal-product-card .product-badge-wrap {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.badge-discount {
    background: #e11d48 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    padding: 4px 8px !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3) !important;
}
.badge-savings {
    background: #0f172a !important;
    color: #38bdf8 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 3px 6px !important;
    border-radius: 0 !important;
}

.btn-deal-buy {
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    padding: 10px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-top: 10px;
}
.btn-deal-buy:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.empty-deals-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 0;
    border: 1px dashed #cbd5e1;
    max-width: 500px;
    margin: 40px auto;
}
.empty-deals-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.empty-deals-state h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
.empty-deals-state p {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

/* Toast Alert */
.deal-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 9999;
    align-items: center;
    gap: 8px;
    animation: toastPop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes toastPop {
    from { opacity: 0; transform: translate(-50%, 15px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 768px) {
    .deals-hero-image-banner {
        aspect-ratio: 2.2 / 1;
    }
    .deals-banner-countdown-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 10px;
    }
    .deals-hero-card {
        padding: 24px 20px;
        flex-direction: column;
        text-align: center;
    }
    .deals-live-badge {
        margin: 0 auto 12px;
    }
    .deals-hero-title {
        font-size: 1.5rem;
    }
    .countdown-boxes {
        justify-content: center;
    }
    .deals-hero-graphic {
        display: none;
    }
    .deals-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .sort-selector {
        justify-content: space-between;
        margin-top: 8px;
        border-top: 1px solid #eaeaea;
        padding-top: 12px;
        width: 100%;
    }
    .coupon-deal-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }
    .coupon-right {
        align-items: center;
    }
    .coupon-code-box {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================================
   Global Login/Signup Pop-up Modal (App-inspired UI)
   ============================================================ */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.auth-modal-container {
    position: fixed;
    z-index: 100001;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    pointer-events: none;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
}

/* Desktop Styles */
@media (min-width: 577px) {
    .auth-modal-container {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -45%) scale(0.96);
        width: 420px;
        border-radius: 24px;
        padding: 36px 32px;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    }
}

/* Mobile Bottom Sheet Styles */
@media (max-width: 576px) {
    .auth-modal-container {
        left: 0;
        bottom: 0;
        width: 100%;
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
        padding: 28px 24px 34px 24px;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        opacity: 1; /* Keep opacity 1, transition position only */
    }
}

/* Active State */
body.auth-modal-open {
    overflow: hidden !important;
}
body.auth-modal-open .auth-modal-overlay {
    opacity: 1;
    pointer-events: auto;
}
@media (min-width: 577px) {
    body.auth-modal-open .auth-modal-container {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        pointer-events: auto;
    }
}
@media (max-width: 576px) {
    body.auth-modal-open .auth-modal-container {
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* Close Button */
.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}
.auth-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.auth-modal-close svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
}

/* Header & Animated Icon */
.auth-modal-header {
    text-align: center;
    margin-bottom: 24px;
}
/* Animated Auth Icon (Premium Gifting Gift Box) */
.animated-auth-icon {
    width: 68px;
    height: 68px;
    display: block;
    margin: 0 auto 16px auto;
    stroke-width: 3;
    stroke: var(--primary);
    stroke-miterlimit: 10;
    filter: drop-shadow(0 4px 10px rgba(226, 62, 114, 0.15));
}
.animated-icon-circle {
    stroke-dasharray: 190;
    stroke-dashoffset: 190;
    stroke: var(--primary);
    fill: none;
    animation: stroke-checkmark .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.animated-icon-lid {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    stroke: var(--primary);
    fill: none;
    animation: stroke-checkmark .5s cubic-bezier(0.65, 0, 0.45, 1) .3s forwards;
}
.animated-icon-body {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    stroke: var(--primary);
    fill: none;
    animation: stroke-checkmark .5s cubic-bezier(0.65, 0, 0.45, 1) .6s forwards;
}
.animated-icon-ribbon-v {
    stroke-dasharray: 25;
    stroke-dashoffset: 25;
    stroke: var(--primary);
    fill: none;
    animation: stroke-checkmark .3s cubic-bezier(0.65, 0, 0.45, 1) .9s forwards;
}
.animated-icon-bow-l {
    stroke-dasharray: 25;
    stroke-dashoffset: 25;
    stroke: var(--primary);
    fill: none;
    animation: stroke-checkmark .4s cubic-bezier(0.65, 0, 0.45, 1) 1.1s forwards;
}
.animated-icon-bow-r {
    stroke-dasharray: 25;
    stroke-dashoffset: 25;
    stroke: var(--primary);
    fill: none;
    animation: stroke-checkmark .4s cubic-bezier(0.65, 0, 0.45, 1) 1.2s forwards;
}
.animated-icon-sparkle-1 {
    stroke-dasharray: 10;
    stroke-dashoffset: 10;
    stroke: #eab308;
    fill: none;
    animation: stroke-checkmark .3s cubic-bezier(0.65, 0, 0.45, 1) 1.4s forwards;
}
.animated-icon-sparkle-2 {
    stroke-dasharray: 10;
    stroke-dashoffset: 10;
    stroke: #eab308;
    fill: none;
    animation: stroke-checkmark .3s cubic-bezier(0.65, 0, 0.45, 1) 1.5s forwards;
}

.auth-modal-header h3 {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}
.auth-modal-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Tabs */
.auth-modal-tabs {
    display: flex;
    border-bottom: 1.5px solid #f1f5f9;
    margin-bottom: 24px;
    gap: 8px;
}
.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: center;
    border-radius: 0;
}
.auth-tab-btn:hover {
    color: var(--primary);
}
.auth-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 700;
}

/* Form Container & Tabs transition */
.auth-tab-content {
    display: none;
    animation: authFadeIn 0.3s ease;
}
.auth-tab-content.active {
    display: block;
}
@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-modal-container form {
    margin: 0;
}

/* Errors */
.auth-modal-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 20px;
    display: none;
    font-weight: 550;
    line-height: 1.4;
}

.auth-modal-container .btn-auth-submit {
    width: 100%;
    padding: 15px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 12px;
    margin-top: 8px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(226, 62, 114, 0.15);
    transition: all 0.2s ease;
}
.auth-modal-container .btn-auth-submit:hover {
    background: #d03061;
    box-shadow: 0 6px 20px rgba(226, 62, 114, 0.25);
    transform: translateY(-1px);
}
.auth-modal-container .btn-auth-submit:active {
    transform: translateY(0);
}

.auth-modal-container .auth-footer-text {
    text-align: center;
    font-size: 12.5px;
    color: #64748b;
    margin-top: 18px;
}
.auth-modal-container .auth-footer-text a {
    color: var(--primary);
    font-weight: 600;
}

/* Success Screen state */
.auth-success-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 10px;
    animation: authFadeIn 0.3s ease;
}
.auth-modal-container.success-active .auth-modal-header,
.auth-modal-container.success-active .auth-modal-tabs,
.auth-modal-container.success-active .auth-tab-content {
    display: none !important;
}
.auth-modal-container.success-active .auth-success-screen {
    display: flex !important;
}

.auth-success-screen h4 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.auth-success-screen p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* All Categories Page Styles */
.categories-page {
    padding-top: 40px;
    padding-bottom: 80px;
}
.categories-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.cat-full-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    border: 1.5px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.cat-full-card:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 30, 99, 0.15);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.06);
}
.cat-full-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-full-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cat-full-card:hover .cat-full-card-image img {
    transform: scale(1.04);
}
.cat-full-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}
.cat-full-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.cat-full-card-body h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    font-weight: 750;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    transition: color 0.2s ease;
}
.cat-full-card:hover .cat-full-card-body h3 {
    color: var(--primary);
}
.cat-full-card-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(233, 30, 99, 0.06);
    padding: 4px 10px;
    border-radius: 99px;
    border: 1px solid rgba(233, 30, 99, 0.1);
    white-space: nowrap;
}
.cat-full-card-body p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex: 1;
}
.cat-full-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-top: auto;
    transition: color 0.2s ease;
}
.cat-full-card-cta svg {
    transition: transform 0.2s ease;
    color: var(--primary);
}
.cat-full-card:hover .cat-full-card-cta {
    color: var(--primary);
}
.cat-full-card:hover .cat-full-card-cta svg {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .categories-full-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .cat-full-card-image {
        height: 180px;
    }
}
@media (max-width: 640px) {
    .categories-full-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .cat-full-card {
        border-radius: 0;
    }
    .cat-full-card-image {
        height: 130px;
    }
    .cat-full-card-body {
        padding: 14px;
    }
    .cat-full-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 8px;
    }
    .cat-full-card-body h3 {
        font-size: 14.5px;
    }
    .cat-full-card-count {
        font-size: 10px;
        padding: 2px 8px;
    }
    .cat-full-card-body p {
        font-size: 11.5px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    .cat-full-card-cta {
        font-size: 11.5px;
    }
}

/* Premium Dark style for View Cart button transition state */
.btn-view-cart-state {
    background: #111827 !important;
    border-color: #111827 !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(17,24,39,0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.btn-view-cart-state:hover {
    background: #1f2937 !important;
    border-color: #1f2937 !important;
    box-shadow: 0 8px 24px rgba(17,24,39,0.25) !important;
}





/* ============================================================
   COMING SOON TEASER PAGE STYLES
   ============================================================ */
.coming-soon-main {
    padding: 80px 0;
    background: var(--bg);
}
.coming-soon-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0 !important;
    padding: 60px 48px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pink-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 0 !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(233, 30, 99, 0.12);
}
.coming-soon-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.25;
}
.coming-soon-title em {
    font-style: normal;
    color: var(--primary);
}
.coming-soon-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.coming-soon-form-wrap {
    max-width: 520px;
    margin: 0 auto;
}
.coming-soon-input-group {
    display: flex;
    width: 100%;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 0 !important;
    overflow: hidden;
}
.coming-soon-input-group:focus-within {
    border-color: var(--primary);
}
.coming-soon-input-group input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    border-radius: 0 !important;
}
.coming-soon-input-group button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 32px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0 !important;
    transition: background 0.2s;
}
.coming-soon-input-group button:hover {
    background: var(--primary-hover);
}
.coming-soon-offerings {
    margin-top: 48px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}
.coming-soon-offering-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.coming-soon-offering-item h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}
.coming-soon-offering-item p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
}
@media (max-width: 768px) {
    .coming-soon-card {
        padding: 40px 24px;
    }
    .coming-soon-title {
        font-size: 2rem;
    }
    .coming-soon-input-group {
        flex-direction: column;
        border: none;
        gap: 12px;
        background: transparent;
    }
    .coming-soon-input-group input {
        border: 2px solid var(--border);
        height: 54px;
    }
    .coming-soon-input-group button {
        height: 54px;
        width: 100%;
    }
    .coming-soon-offerings {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
