* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent;
    /* border-radius: 0 !important;  */
}
:root {
  --gucci-serif: "Acme", sans-serif;
  --gucci-sans: "Acme", sans-serif;
}
body {
  --bg: #000;
  --primary: #101010;
  --color-white: #000;
  --color-black: #fff;
  --secondary: #8b5cf6;
  --accent: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #22c55e;
  --bg-secondary: #0a0a0a;
  --bg-card2: #1a1a1a;
  --bg-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #000;
  --real-white: #ffffff;
  --real-black: #000;
  --border: #2a2a2a;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --grey-color: #bbb;
  --color-gray-300: #2a2a2a;
  --secondary-surface: #1a1a1a;
  --primary-bg: #fff;
  --text-color: #fff;
  --primary-action: #e0e0e0;
  font-family: "Acme", sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
}
body.light-mode {
  --bg: #ffff;
  --primary: #f8f9fa;
  --color-white: #fff;
  --color-black: #000;
  --secondary: #8b5cf6;
  --accent: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #22c55e;
  --bg-secondary: #0a0a0a;
  --bg-card: #1a1a1a;
  --bg-card2: #fff;
  --text-primary: #000;
  --text-secondary: #fff;
  --real-white: #ffffff;
  --real-black: #000;
  --border: #2a2a2a;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --grey-color: #bbb;
  --color-gray-300: #e0e0e0;
  --secondary-surface: #ffffff;
}
a { color: inherit; text-decoration: none; }

.loading-screen { position: fixed; inset: 0; background: var(--bg); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity .4s, visibility .4s; }
.loading-screen.hidden { opacity: 0; visibility: hidden; }
.loading-spinner { width: 50px; height: 50px; border: 4px solid var(--color-gray-300); border-top-color: var(--text-primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.main-content { opacity: 0; transition: opacity .6s; }
.main-content.visible { opacity: 1; }

/* ---- HEADER (identical to storefront) ---- */
header { position: fixed; top: 0; width: 100%; height: 65px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 100px; z-index: 100; transition: all .9s cubic-bezier(.16,1,.3,1); color: #fff; }
header.scrolled { background: var(--bg); color: var(--text-primary); height: 65px; padding: 0 100px; display: flex; justify-content: space-between; }
.nav-left { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; opacity: 1; transition: opacity .3s; z-index: 10; background: none; border: none; color: inherit; cursor: pointer; display: flex; align-items: center; gap: 5px; }
header.scrolled .nav-left { opacity: 1; display: none; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 5px; z-index: 10; }
.icon-btn { background: none; border: none; color: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; height: 30px; width: 30px; }
.icon-btn-wrapper { display: flex; align-items: center; justify-content: center; height: 30px; width: 30px; }
.icon-btn svg { width: 25px; height: 25px; stroke-width: 2; }
.nav-left svg { width: 20px; height: 20px; stroke-width: 2; }
.icon-btn i { font-size: 20px; stroke-width: 2; }
.nav-left i { width: 20px; height: 25px; stroke-width: 2; font-size: 20px; }
.logo-container { display: flex; justify-content: center; align-items: center; }
.logo { font-family: Acme, sans-serif; font-weight: 400; font-style: normal; font-size: 10vw; letter-spacing: .1em; transition: all .9s cubic-bezier(.16, 1, .3, 1); position: absolute; top: 10vh; pointer-events: none; z-index: 1; }
.logo a { text-decoration: none; color: #fff; }
header.scrolled .logo { 
   font-size: 30px !important;
    letter-spacing: .1em;
    top: 25% !important;
    left: 5%;
    transform: translateY(-10%);
    position: absolute;
    pointer-events: all;
    color: var(--text-primary);
}
header.scrolled .logo a { color: var(--text-primary); }
.cart-badge { position: absolute; top: -4px; right: -4px; background: #000; color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; opacity: 0; transform: scale(.8); transition: all .3s; }
.cart-badge.show { opacity: 1; transform: scale(1); }
.chat-badge { position: absolute; top: -4px; right: -4px; background: #e74c3c; color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ---- HERO (identical to storefront) ---- */
.hero { background-image: url(../../img/hero\ \(5\).jpg); position: relative; height: 80vh; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 80px; overflow: hidden; background-size: cover; background-position: center; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.231); z-index: 1; }
.hero-content { position: relative; z-index: 5; text-align: center; color: #fff; width: 90%; display: flex; flex-direction: column; align-items: center; }
.hero-text-overlay { margin-bottom: 30px; }
.hero-brand-name { font-family: var(--gucci-serif); font-size: clamp(36px,8vw,80px); font-weight: bold; margin: 0 0 10px 0; text-shadow: 0 2px 20px rgba(0,0,0,0.5); letter-spacing: 2px; }
.hero-tagline { font-family: "Acme", sans-serif; font-size: clamp(14px,3vw,22px); margin: 0; opacity: 0.9; text-shadow: 0 1px 10px rgba(0,0,0,0.4); }
.btn-group { display: flex; gap: 12px; justify-content: center; }
.gucci-btn {  font-family: 'Acme'; background: #fff; color: #000; border: none; border-radius: 100px; padding: 16px 40px; font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; transition: opacity .3s; }
.gucci-btn:hover { opacity: .8; }

/* ---- MARQUEE ---- */
.marquee-section { padding: 10px 0 0; overflow: hidden; background: var(--bg); }
.fade-edges { margin: 10px 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.overflow-hidden { overflow: hidden; }
.flex { display: flex; }
.pr-2 { padding-right: 8px; }
@keyframes marquee-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.marquee-left { animation: marquee-left 45s linear infinite; }
.marquee-right { animation: marquee-right 45s linear infinite; }
.marquee-left-fast { animation: marquee-left 30s linear infinite; }
.marquee-right-fast { animation: marquee-right 30s linear infinite; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; background: rgba(0,0,0,0.04); border: 1px solid var(--color-gray-300); color: var(--text-primary); transition: all 0.2s ease; cursor: pointer; user-select: none; }
.pill:hover { background: rgba(0, 85, 255, 0.15); border-color: rgba(0, 60, 255, 0.4); }

/* ---- LATEST UPDATES (STORIES) ---- */
.updates-section {
    padding: 40px 20px;
    min-height: auto;
}

#checkoutCouponInput{
    font-family: 'Acme';
}

.status-container {
    overflow: hidden;
    padding: 12px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.status-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: status-scroll 40s linear infinite;
    padding: 0 20px;
}

@keyframes status-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.status-card {
    flex: 0 0 203px;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.status-card:hover {
    transform: scale(1.02);
}

.status-card .status-image,
.status-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.status-card .status-video {
    transform: translateZ(0);
    will-change: transform;
}

.status-avatar-ring {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #25D366 0deg, #25D366 360deg);
    padding: 3px;
    z-index: 2;
}

.status-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 3px solid #0a0a0a;
    color: white;
    font-family: Acme, sans-serif;
}

.status-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-size: 14px;
    font-weight: 500;

    letter-spacing: 1px;
}

.story-timer {
    position: absolute;
    top: 0;
    right: 0;
    background: white;
    color: #000;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 0 0 0 16px;
    font-weight: 700;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.2);
    font-family: 'Courier New', monospace;
}

/* ---- STATUS VIEWER MODAL ---- */
.status-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.status-viewer.active {
    display: flex;
    opacity: 1;
}

.status-fullscreen {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.progress-container {
    position: absolute;
    top: 15px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 100;
}

.progress-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    flex-grow: 1;
    border-radius: 200px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #ffffff;
    width: 0%;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(52, 52, 52, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.close-btn:hover {
    background: rgba(0,0,0,0.8);
}

.close-btn svg {
    width: 20px;
    height: 20px;
}

.status-header {
    position: absolute;
    top: 30px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
}

.status-header .status-avatar-ring {
    position: static;
    width: 44px;
    height: 44px;
}

.status-username {
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;

    text-transform: capitalize;
}

.interaction-sidebar {
    position: absolute;
    right: 20px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 10001;
}

.interaction-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s;
}

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

.interaction-btn svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.interaction-label {
    color: white;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);

}

.order-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: none;
    padding: 16px 50px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 10001;
     font-family: "Acme", sans-serif;
}

.order-btn:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}

.order-label {
    color: black;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1.5px;
    text-transform: uppercase;

}

@media (max-width: 768px) {
    .hero {
         background-image: url(../../img/hero\ \(1\).jpg);
    }
    .updates-section {
        padding: 20px 10px;
    }
    .status-card {
        flex: 0 0 160px;
        height: 280px;
    }
    .status-container {
        padding: 8px 0;
    }
    .interaction-sidebar {
        right: 15px;
        bottom: 100px;
        gap: 20px;
    }
    .interaction-btn svg {
        width: 22px;
        height: 22px;
    }
    .order-btn {
        padding: 14px 40px;
        bottom: 20px;
    }
    .logo{
        top: 20vh !important;
        font-size: 12vw !important;
    }
    .delsel{
        flex-direction: column;
    }
}

/* ---- STICKY TOGGLE ---- */
.view-toggle { display: flex; justify-content: center; gap: 10px; padding: 16px 20px; background: var(--bg); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--color-gray-300); }
.toggle-btn { padding: 10px 30px; border-radius: 50px; border: 2px solid var(--text-primary); background: transparent; color: var(--text-primary); font-family: "Acme", sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; letter-spacing: 1px; }
.toggle-btn.active { background: var(--text-primary); color: var(--bg); }

/* ---- CONTENT AREA ---- */
.content-area { padding: 20px; max-width: 1200px; margin: 0 auto; }
.category-section { margin-bottom: 30px; }
.section-title { font-family: "Acme", sans-serif; font-size: 20px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; padding-left: 12px; border-left: 4px solid var(--text-primary); }

/* ---- PRODUCT GRID ---- */
.arrivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    grid-auto-flow: dense;
}

.product-card.tall { grid-row: span 2; height: 620px; }
.product-card.wide { grid-column: span 2; }

.arrivals-grid.uniform-view { grid-template-columns: repeat(4, 1fr) !important; }
.arrivals-grid.uniform-view .product-card { grid-row: span 1 !important; grid-column: span 1 !important; height: 350px !important; }

.arrivals-grid.carousel-view {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
    scrollbar-width: none;
    max-width: 100%;
}
.arrivals-grid.carousel-view::-webkit-scrollbar { display: none; }
.arrivals-grid.carousel-view .product-card {
    min-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
    grid-row: span 1 !important;
    grid-column: span 1 !important;
    height: auto !important;
}
.arrivals-grid.carousel-view .product-card img {
    height: 420px;
}
.arrivals-grid.carousel-view .product-card video {
    height: 420px;
}

@media (max-width: 1024px) {
    .arrivals-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .product-card.wide { grid-column: span 1; }
}
@media (max-width: 768px) {
    .arrivals-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card { height: 280px; }
    .product-card.tall { grid-row: span 1; height: 280px; }
    .product-card.wide { grid-column: span 2; }
    .arrivals-grid.uniform-view { grid-template-columns: 1fr !important; gap: 20px; }
    .arrivals-grid.uniform-view .product-card { height: 450px !important; }
    .arrivals-grid.carousel-view .product-card { max-width: 70%; }
    .arrivals-grid.carousel-view .product-card .product-image-wrapper  {
    height: 320px;
}
    .arrivals-grid.carousel-view .product-card .product-image-wrapper  img {
    height: 320px;
    
}
}

.layout-btn {
    background: var(--real-black);
    border: 3px solid var(--real-white);
    color: var(--real-white);
    padding: 20px;
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Acme', sans-serif;
    font-size: 18px;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.layout-btn i { width: 18px; height: 18px; }

.category-panel-header { padding: 30px 20px 20px; }
.category-panel-title { font-family: var(--gucci-serif); font-size: 28px; letter-spacing: 3px; text-transform: uppercase; font-weight: 300; margin-bottom: 8px; color: var(--text-primary); }
.category-panel-subtitle { font-size: 12px; color: var(--text-primary); letter-spacing: 1px; text-transform: uppercase; }
.category-list { padding: 0; }
.category-item { display: flex; align-items: center; padding: 0; cursor: pointer; transition: all 0.3s; position: relative; overflow: hidden; margin-bottom: 10px; }
.category-item:hover { transform: translateX(5px); }
.category-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(to right, rgba(0,0,0,0.05), transparent); transition: width 0.4s; }
.category-item:hover::before { width: 100%; }
.category-item-image { width: 120px; height: 160px; object-fit: cover; flex-shrink: 0; border-radius: 15px; }
.category-item-content { flex: 1; padding: 20px 25px; display: flex; align-items: center; justify-content: space-between; background: var(--bg); color: var(--text-primary); border: 2px solid var(--color-gray-300); border-left: none; position: relative; z-index: 1; border-radius: 0px 10px 10px 0px; }
.category-item-info { flex: 1; color: var(--text-primary); }
.category-item-name { font-weight: 400; margin-bottom: 8px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-primary); }
.category-item-price { font-size: 16px; color: var(--text-primary); font-weight: 600; letter-spacing: 0.5px; }
.category-item-arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--text-primary); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform 0.3s; flex-shrink: 0; }
.category-item:hover .category-item-arrow { transform: translateX(5px); }

.profile-action-btn { padding: 16px; border: none; border-radius: 100px; font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; transition: all 0.3s; }
.profile-action-btn.primary { background: #000; color: white; }
.profile-action-btn.primary:hover { background: #333; }
.profile-action-btn.secondary { background: white; color: #000; border: 2px solid #000; }
.profile-action-btn.secondary:hover { background: #f5f5f5; }
.profile-action-btn.danger { background: #ff4444; color: white; }
.profile-action-btn.danger:hover { background: #cc0000; }
@media (max-width: 768px) {
    .category-panel-header { padding: 20px 15px 15px; }
    .category-panel-title { font-size: 22px; letter-spacing: 2px; }
    .category-item-image { width: 100px; height: 140px; }
    .category-item-content { padding: 15px; }
    .category-item-name { font-size: 14px; letter-spacing: 1px; }
    .category-item-price { font-size: 14px; }
    .category-item-arrow { width: 35px; height: 35px; font-size: 16px; }
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.95) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding-bottom: 40px;
    width: 100%;
    gap: 30px;
}
.pag-btn {
    background: black;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 25px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    font-family: "Acme", sans-serif;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pag-btn:hover:not(:disabled) { background: #fff; color: #000; }
.pag-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pag-info { color: var(--text-primary); font-size: 12px; font-weight: 700; letter-spacing: 1px; font-family: "Acme", sans-serif; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 20px;
    height: 300px;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

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

.product-image-wrapper.has-variant .product-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-image-wrapper.has-variant .product-img-main { opacity: 1; z-index: 1; }
.product-image-wrapper.has-variant .product-img-variant { opacity: 0; z-index: 2; }
.product-image-wrapper.has-variant:hover .product-img-main { opacity: 0; }
.product-image-wrapper.has-variant:hover .product-img-variant { opacity: 1; }
.product-card .product-overlay,
.product-card .product-info { z-index: 3; }

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(255, 255, 255, 0.4));
    color: white;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-name {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;

}

.product-price {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;

}

.product-card .vendor-tag {
    display: inline-block;
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 50px;
    background: rgba(255,255,255,0.2);
    margin-top: 4px;
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    transition: all .2s;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.product-card .vendor-tag:hover {
    background: #fff;
    color: #000;
}

/* Stock badge on product cards */
.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 5;

}

.stock-badge.in-stock {
    background: rgba(220, 252, 231, 0.9);
    color: #15803d;
}

.stock-badge.low-stock {
    background: rgba(254, 243, 199, 0.9);
    color: #d97706;
}

.stock-badge.out-of-stock {
    background: rgba(254, 226, 226, 0.9);
    color: #dc2626;
}

/* ---- VENDOR GRID ---- */
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.vendor-card { position: relative; background: var(--bg); height: 285px; border: 1px solid var(--color-gray-300); border-radius: 16px; overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.vendor-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.12); }
.vendor-card .vendor-hero { height: 190px; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 900; color: #fff; font-family: "Acme", sans-serif; position: relative; overflow: hidden; }
.vendor-card .vendor-hero img { width: 100%; height: 100%; object-fit: cover; position: absolute; padding: 0px; background: inherit; }
.vendor-card .vendor-hero .initials { font-size: 48px; font-weight: 900; z-index: 1; }
.vendor-card .vendor-info { padding: 12px 14px 14px; }
.vendor-card .vendor-name { font-size: 16px; font-weight: 700; }
.vendor-card .vendor-tagline, .vendor-card .vendor-subtext { font-size: 12px; color: var(--text-primary); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.vendor-card .vendor-meta  { position: absolute; bottom: 8px; display: flex; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--text-primary); }

/* ---- SKELETON LOADERS ---- */
.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.skeleton-loader { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.2s ease infinite; border-radius: 12px; }
.skeleton-card { aspect-ratio: 3/4; }
.skeleton-vendor-card { height: 220px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---- PRODUCT DETAIL PANEL (side panel) ---- */
.panel-main-image { width: 100%; height: 450px; object-fit: contain; border-radius: 10px; background: black; }
.panel-thumbnails { display: flex; gap: 10px; overflow-x: auto; margin-bottom: 25px; padding-bottom: 10px; }
.panel-thumbnail { flex: 0 0 80px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid var(--text-primary); transition: border 0.3s; overflow: hidden; }
.panel-thumbnail.selected { border-color: red; }
.panel-product-name { font-family: var(--gucci-serif); font-size: 24px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; font-weight: 300; }
.panel-product-price { font-size: 20px; font-weight: 500; margin-bottom: 25px; }
.panel-section-title { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; color: var(--text-primary); }
.panel-description { font-size: 17px; line-height: 1.8; color: var(--text-primary) !important; margin-bottom: 30px; }
.panel-btn { flex: 1; padding: 15px; border: none; font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; transition: all 0.3s; border-radius: 100px; background: var(--bg); width: 100%; }
.panel-btn.primary { border: 2px solid var(--color-black); color: var(--text-primary); }
.disabled-btn { background: #e2e8f0 !important; color: var(--text-primary) !important; cursor: not-allowed !important; border: none !important; }
.proceed-btn { width: 100%; position: sticky; left: 0; bottom: 0; padding: 0; padding-bottom: 20px; z-index: 11; }
.size-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
.size-error { color: #ff4444; font-size: 16px; margin-top: -15px; margin-bottom: 15px; display: none; }
.size-error.show { display: block; }
.sf-variant-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sf-variant-chip { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--secondary-surface, #e0e0e0); border-radius: 10px; cursor: pointer; transition: all 0.2s ease; background: var(--grey-color, #fff); color: var(--real-black); font-size: 14px; font-weight: 500; position: relative; }
.sf-variant-chip.sf-chip-selected { border-color: var(--color-black, #000); color: var(--text-primary); background: var(--secondary-surface, #f0f0f0); font-weight: 600; box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.sf-chip-soldout { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.sf-chip-check { display: none; margin-left: auto; color: #22c55e; font-size: 16px; }
.sf-selected-info { display: none; align-items: center; justify-content: space-between; margin-top: 16px; padding: 12px 16px; background: var(--secondary-surface, #f8f8f8); border-radius: 10px; font-size: 14px; border: 1px solid var(--secondary-surface, #e0e0e0); }
.sf-selected-label { font-weight: 600; color: var(--text-primary, #000); }
.sf-selected-stock { color: var(--text-secondary, #666); font-size: 13px; }
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 24px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #ff4d4d; }
input:checked + .slider:before { transform: translateX(20px); }
.addon-item-card { transition: all 0.3s ease; border: 1px solid transparent; }
.addon-item-card:hover { transform: translateY(-2px); }
.active-addon { border: 2px solid red !important; }

/* ---- VENDOR DETAIL PANEL ---- */
.vendor-detail-panel .vd-hero { width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; position: relative; }
.vendor-detail-panel .vd-hero img { width: 100%; height: 100%; object-fit: cover; }
.vendor-detail-panel .vd-hero .vd-initials { font-size: 60px; font-weight: 900; color: #fff; font-family: "Acme", sans-serif; }
.vendor-detail-panel .vd-name { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.vendor-detail-panel .vd-tagline { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; }
.vd-contact { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.vd-contact i { width: 18px; }
.vendor-detail-panel .vd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.vendor-detail-panel .vd-thumb { border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; text-align: center; }
.vendor-detail-panel .vd-thumb.active { border-color: var(--text-primary); }
.vendor-detail-panel .vd-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.vendor-detail-panel .vd-product-name { font-size: 12px; font-weight: 600; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vendor-detail-panel .vd-product-price { font-size: 11px; font-weight: 700; color: var(--text-secondary); }
.vendor-detail-panel .vd-visit-btn { display: block; width: 100%; padding: 14px; border-radius: 50px; border: 2px solid var(--text-primary); background: transparent; color: var(--text-primary); font-weight: 700; font-size: 14px; cursor: pointer; text-align: center; font-family: "Acme", sans-serif; margin-top: 15px; transition: all .2s; letter-spacing: 1px; }
.vendor-detail-panel .vd-visit-btn:hover { background: var(--text-primary); color: var(--bg); }

/* ---- SEARCH ---- */
/* --- Search Panel --- */
.search-container { padding: 10px; min-height: 100vh; color: var(--text-primary); }
.search-input-wrapper { position: relative; margin-bottom: 40px; }
.search-input { font-family: "Acme", sans-serif; width: 100%; background: var(--bg); border: none; padding: 18px 25px; padding-right: 60px; border-radius: 40px; font-size: 16px; color: var(--text-primary); outline: none; }
.search-input:focus { outline: none; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.search-icon-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: var(--primary); border: none; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search-icon-btn svg { width: 20px; height: 20px; stroke: var(--color-black); }
.section-label { color: var(--text-primary); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.trending-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; margin-top: 10px; }
.search-tag { padding: 10px 15px; border: 1.5px solid var(--color-black); border-radius: 25px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; background: var(--bg); color: var(--text-primary); }
.search-tag:hover { background: var(--text-primary); color: var(--bg); }
.quick-search-list { display: flex; flex-direction: column; }
.quick-item { display: flex; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--color-gray-300); cursor: pointer; transition: opacity 0.2s; }
.quick-item:hover { opacity: 0.7; }
.item-emoji { font-size: 20px; margin-right: 20px; }
.item-text { font-size: 16px; font-weight: 500; color: var(--text-primary); }
@media (max-width: 768px) {
    .search-container { padding: 0; }
    .search-input-wrapper { margin-bottom: 30px; }
    .search-input { padding: 15px 50px 15px 18px; font-size: 14px; }
    .search-icon-btn { width: 38px; height: 38px; }
    .search-icon-btn svg { width: 18px; height: 18px; }
    .trending-tags { gap: 8px; }
    .search-tag { padding: 8px 12px; font-size: 12px; }
    .quick-item { padding: 14px 0; }
    .vendor-card .vendor-hero {
    height: 160px;
    }
}

.search-bar { position: relative; margin-bottom: 15px; }
.search-bar input { width: 100%; padding: 12px 16px; border-radius: 50px; border: 1px solid var(--color-gray-300); font-family: "Acme", sans-serif; font-size: 14px; background: var(--bg); color: var(--text-primary); outline: none; }
.search-bar input:focus { border-color: var(--text-primary); }
.search-results { max-height: 400px; overflow-y: auto; }

/* ========== PANEL SYSTEM (identical to storefront) ========== */
.panel-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999; opacity: 0; visibility: hidden; transition: all .3s; pointer-events: none; }
.panel-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }

.side-panel { position: fixed; bottom: 0; right: 0; width: 45%; height: 100vh; background: var(--primary); z-index: 1000; border-radius: 0; transform: translateY(100%); transition: transform .4s cubic-bezier(.16,1,.3,1); overflow-y: auto; box-shadow: 0 -10px 40px rgba(0,0,0,.15); }
.side-panel.open { transform: translateY(0); }
.side-panel .panel-holder { 
    display: none; 
    justify-content: center; 
    cursor: grab; 
    touch-action: none; 
    position: sticky;
    padding: 10px 0;
    top: 0;
    width: 100%;
    background: var(--primary);
    z-index: 11;
}
.side-panel .panel-holder::before { 
    content: ''; 
    width: 70%;
    height: 12px;
    border-radius: 100px;
    margin: 15px auto;
    cursor: grab;
    display: block;
    background: #ddd;
}
.panel-header { display: flex; justify-content: flex-end; padding: 0 20px; position: relative; z-index: 1; }
.panel-content { padding: 30px; position: relative; z-index: 1; background: var(--primary); }
.panel-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-primary); padding: 5px; line-height: 1; }

/* ========== STOREFRONT-IDENTICAL PROFILE PANEL ========== */
.profile-container { padding:25px 5px; padding-top: 0; }
.view-screen { display: none; }
.view-screen.active { display: block; }

.profile-header-premium { text-align: center; margin-bottom: 25px; padding-top: 10px; }
.profile-avatar-wrapper { position: relative; width: 80px; margin: 0 auto 12px; }
.profile-avatar-large { 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    background: linear-gradient( -45deg, #9ea1a1 0%, #3b3b3b 25%, #000000 50%, #e2e2e2 75%, #9ea1a1 100% ); 
    background-size: 400% 400%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 32px; 
    font-weight: 700; 
    border: 2px solid #bdc3c7;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.5);
    animation: silverShimmer 6s ease-in-out infinite;
    color: var(--text-primary); 
    margin: 0 auto; 
    position: relative; 
    overflow: hidden;
 }
   @keyframes silverShimmer {
  0% {
  background-position: 0% 50%;
  }
  50% {
  background-position: 100% 50%;
  }
  100% {
  background-position: 0% 50%;
  }
  }
  .profile-avatar-large::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient( 135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50% );
  border-radius: 50%;
  pointer-events: none;
  }
.online-badge { width: 18px; height: 18px; background: #22c55e; border: 3px solid var(--bg); border-radius: 50%; position: absolute; bottom: 2px; right: 2px; }
.profile-name { font-family: var(--gucci-serif); font-size: 22px; font-weight: 700; margin-bottom: 2px; }
.profile-email { font-family: "Acme", sans-serif; font-size: 14px; color: var(--text-primary); }

.profile-menu-container { padding: 0 5px; }
.menu-group-label { font-size: 12px; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; margin-top: 20px; padding: 0 10px; }
.modern-menu-item { font-family: 'Acme'; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; background: var(--bg); border: none; cursor: pointer; border-radius: 12px; transition: background .2s; text-align: left; margin-bottom: 4px; }
.modern-menu-item:hover { background: #3c3c3c; }
body.light-mode .modern-menu-item:hover { background: #f0f0f0; }
.menu-icon { font-size: 22px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--color-gray-300); border-radius: 10px; flex-shrink: 0; }
.menu-text { flex: 1; min-width: 0; }
.menu-title { display: block; font-size: 15px; font-weight: 500; color: var(--text-primary); }
.menu-subtitle { display: block; font-size: 12px; color: var(--text-primary); margin-top: 2px; }
.menu-arrow { font-size: 14px; color: var(--text-primary); }
.theme-toggle-switch { width: 44px; height: 24px; background: #ddd; border-radius: 12px; position: relative; flex-shrink: 0; transition: background .3s; }
body.light-mode .theme-toggle-switch { background: #000; }
.switch-ball { width: 20px; height: 20px; background: #fff; border-radius: 50%; position: absolute; top: 2px; left: 2px; transition: transform .3s; box-shadow: 0 2px 4px rgba(0,0,0,.2); }
body.light-mode .switch-ball { transform: translateX(20px); }

.profile-footer-minimal { text-align: center; padding: 20px 10px 10px; border-top: 1px solid var(--color-gray-300); margin-top: 20px; }
.profile-footer-buttons { display: flex; justify-content: center; gap: 20px; margin-bottom: 10px; }
.logout-link-btn {width: 100%; background: #fdf2f2; border: none; color: #ef4444; font-family: "Acme", sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; padding: 10px 20px; border-radius: 8px; transition: background .2s; }
.logout-link-btn:hover { background: #fef2f2; }
.delete-link-btn { width:100%; background: red; border: none; color: var(--text-secondary); font-family: "Acme", sans-serif; font-size: 13px; cursor: pointer; padding: 10px 20px; border-radius: 100px; transition: background .2s; }
.delete-link-btn:hover { background: #f5f5f5; }
.app-version { font-size: 11px; color: var(--text-primary); }

/* --- VIEW HEADER (orders, requests, addresses) --- */
.view-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0; margin-bottom: 10px; }
.back-btn { background: none; border: none; font-size: 16px; cursor: pointer; color: var(--text-primary); font-family: "Acme", sans-serif; padding: 6px 12px; border-radius: 8px; transition: background .2s; }
.back-btn:hover { background: #f5f5f5; }
.view-title { font-size: 18px; font-weight: 500;  }
.add-request-btn { background: var(--text-primary); color: var(--bg); border: none; padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: "Acme", sans-serif; }

/* --- ORDER CARDS (identical to storefront) --- */
.detailed-order-card {
    background: var(--bg);
    border: 1px solid var(--color-black);
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.2s ease;
 }
.order-card-header { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--text-primary);
    padding-bottom: 8px;
 }
.order-date { font-size: 12px; color: var(--text-primary); }
.status-badge-premium.paid{
    background: var(--primary);
    color: var(--text-primary);
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 3px dashed var(--text-primary);
}
#ordersContainer{
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
button{
    font-family:"Acme", sans-serif;
}
.status-badge-premium { padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.status-badge-premium.pending { background: rgba(243,156,18,.1); color: #f39c12; }
.status-badge-premium.processing { background: rgba(52,152,219,.1); color: #3498db; }
.status-badge-premium.dispatched { background: rgba(46,204,113,.1); color: #2ecc71; }
.status-badge-premium.delivered { background: rgba(46,204,113,.1); color: #2ecc71; }
.status-badge-premium.cancelled { background: rgba(231,76,60,.1); color: #e74c3c; }
.order-item-row { display: flex; align-items: center; margin-bottom: 8px; }
.order-item-media-container { width: 80px; height: 80px; background: #f5f5f5; border-radius: 8px; overflow: hidden; flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; }
.order-item-media-container img, .order-item-media-container video { width: 100%; height: 100%; object-fit: cover; }
.order-item-info { margin-left: 12px; flex: 1; }
.order-item-name { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.order-item-meta { font-size: 12px; color: var(--text-secondary); }
.order-item-price { font-size: 13px; font-weight: 600; }
.order-card-footer { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 15px; border-top: 1px solid #222; margin-top: 10px; font-family:"Acme", sans-serif; }
.order-footer-left { display: flex; flex-direction: column; gap: 2px; }
.order-ref { font-size: 10px; color: var(--text-primary); font-family: monospace; }
.order-total-price { font-weight: 700; font-size: 16px; }
.view-receipt-btn { 
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
 }
.view-receipt-btn:hover { opacity: .85; }

/* --- RECEIPT --- */
.receipt-panel-view { padding: 0 10px; }
.receipt-container {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0px auto;
}
.receipt-card-main {
    background: #fdfdfa;
    color: #333;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.watermark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}
.watermark-item {
    font-family: Acme, sans-serif;
    font-size: 30px;
    transform: rotate(-30deg);
    white-space: nowrap;
    margin: 20px;
}
.scalloped-edge {
    height: 15px;
    width: 100%;
    background: black;
    background-size: 20px 20px;
}
.scalloped-edge.top {
    border-radius: 15px 15px 0 0;
    height: 8px;
    background-image: radial-gradient(circle at 10px -5px, transparent 10px, #fdfdfa 10px);
}
.scalloped-edge.bottom {
    border-radius: 0 0 15px 15px;
    background-image: radial-gradient(circle at 10px 20px, transparent 10px, #fdfdfa 10px);
}
.receipt-logo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand-name {
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 16px;
    color: #000;
    margin: 0;
    font-family: Acme, sans-serif;
}
.receipt-type {    
     margin: 0;
    text-transform: capitalize;
 }
.receipt-amount-section { margin: 15px 0; }
.amount-display {
    font-size: 36px;
    font-weight: 500;
    color: #00a85a;
    margin: 15px 0 5px 0;
    line-height: 30px;
}
.status-text {
    font-weight: 600;
    color: #000;
    font-size: 18px;
    margin: 0;
}
.timestamp { margin-top: 5px; }
.receipt-divider-dash {
    border-top: 1px dashed #ddd;
    margin: 10px 0;
}
.details-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}
.details-row .label { color: #888; }
.details-row .value { font-weight: 500; color: #000; }
.receipt-breakdown { text-align: left; }
.sec-title {
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
}
.item-line {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 5px;
}
.item-line.total-paid-row {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #000;
    font-weight: 500;
    font-size: 1.25em;
    color: #000;
}
.receipt-footer-msg { font-size: 15px; }
.receipt-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}
.btn-print {
    background: var(--bg);
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    padding: 12px;
    font-weight: normal;
    border-radius: 100px;
    cursor: pointer;
}
.btn-share {
    background: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    padding: 12px;
    border-radius: 100px;
    cursor: pointer;
}
.back-btn-minimal {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
}

/* --- ADDRESSES --- */
.empty-state-luxury { text-align: center; padding: 40px 20px; }
.empty-state-luxury p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.panel-btn { padding: 12px 24px; border-radius: 50px; border: none; font-family: "Acme", sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity .2s; }
.panel-btn.primary { background: var(--bg); color: var(--text-primary); }
.panel-btn.secondary { background: var(--color-gray-300); color: var(--text-primary); border: 1px solid var(--color-gray-300); }
.panel-btn:hover { opacity: .85; }

/* ========== STOREFRONT-IDENTICAL CART PANEL ========== */
.contact-content { padding: 5px; }
.contact-title { 
    font-size: 1.7rem;
    margin-bottom: 20px;
    font-family: Acme;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}
.cart-empty { text-align: center; padding: 50px 0; }
.cart-empty-icon { font-size: 50px; margin-bottom: 10px; }
.cart-empty p { font-size: 14px; color: var(--text-primary); margin-bottom: 20px; }
.cart-items-wrapper { max-height: calc(92vh - 0px); overflow-y: auto; padding-right: 5px; }
.cart-item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--color-gray-300); }
.cart-item img, .cart-item video { width: 90px; height: 100px; object-fit: cover; border-radius: 15px; flex-shrink: 0; }
.cart-item > div:last-child { flex: 1; }
.cart-item .cart-item-name { font-weight: 500; font-size: 14px; margin: 5px 0; }
.cart-item .cart-item-size { font-size: 12px; color: var(--text-primary); margin-bottom: 4px; }
.cart-item .cart-item-price { font-weight: 600; font-size: 15px; }
.cart-qty-controls { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.cart-qty-btn { width: 30px; height: 30px; border: 1px solid var(--color-gray-300); background: var(--bg); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--text-primary); transition: background .2s; }
.cart-qty-btn:hover { background: var(--text-primary); color: var(--bg); }
.cart-qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.cart-qty { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-remove-btn { font-family: 'Acme'; margin-left: auto; color: #ef4444; border: none; background: none; font-size: 11px; font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: .5px; padding: 4px 8px; border-radius: 6px; transition: background .2s; }
.cart-remove-btn:hover { background: #fef2f2; }
.cart-summary { background: var(--bg); padding: 20px; border-radius: 16px; margin-top: 10px; }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-family: "Acme", sans-serif; color: var(--text-primary); }
.cart-total span:first-child { font-size: 14px; font-weight: 600; }
.cart-total span:last-child { font-size: 20px; font-weight: 500 !important; }
.cart-checkout-btn { width: 100%; padding: 14px; background: var(--bg); color: var(--text-primary); border: 2px solid var(--color-black); border-radius: 50px; font-family: "Acme", sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 12px; transition: opacity .2s; }
.cart-checkout-btn:hover { opacity: .9; }
.cart-stock-warning { color: #4db7ff; font-size: 10px; font-weight: 800; margin-top: 4px; letter-spacing: .5px; }
.cart-special-label { color: var(--text-primary); font-size: 10px; font-weight: 800; margin-top: 4px; letter-spacing: .5px; }

/* ========== AUTH FORMS ========== */
.auth-form-container { padding: 10px 0; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.form-input { width: 100%; padding: 14px; background: var(--color-gray-300); border: 1px solid var(--color-gray-300); border-radius: 12px; font-family: "Acme", sans-serif; font-size: 14px; color: var(--text-primary); outline: none; transition: border-color .2s; }
.form-input:focus { border-color: var(--text-primary); }
.form-input-textarea { width: 100%; padding: 14px; background: var(--color-gray-300); border: 1px solid var(--color-gray-300); border-radius: 12px; font-family: "Acme", sans-serif; font-size: 14px; color: var(--text-primary); outline: none; resize: vertical; min-height: 80px; }
.otp-input { width: 50px; height: 50px; text-align: center; font-size: 20px; font-weight: 700; border: 2px solid var(--color-gray-300); border-radius: 12px; outline: none; font-family: "Acme", sans-serif; background: var(--bg); color: var(--text-primary); transition: border-color .2s; }
.otp-input:focus { border-color: var(--text-primary); }

/* ========== TOAST / NOTIFICATION ========== */
.mamag-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--text-primary); color: var(--bg); padding: 14px 28px; border-radius: 50px; font-family: "Acme", sans-serif; font-size: 13px; font-weight: 600; z-index: 9999; opacity: 0; transition: all .4s; pointer-events: none; max-width:90vw;text-align:center;white-space:normal;word-wrap:break-word; }
.mamag-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.mamag-toast.error { background: #ef4444; }

/* ========== SUCCESS MESSAGE ========== */
#successMessage { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background: #000; color: #fff; padding: 16px 24px; border-radius: 16px; z-index: 9999; text-align: center; opacity: 0; visibility: hidden; transition: all .4s; min-width: 200px; }
#successMessage.show { opacity: 1; visibility: visible; }
.success-message-title { font-weight: 700; font-size: 15px; }
.success-message-text { font-size: 12px; opacity: .8; margin-top: 4px; }

/* ========== SMALL LOADER ========== */
.loader { width: 24px; height: 24px; border: 3px solid #eee; border-top-color: #000; border-radius: 50%; animation: spin .8s linear infinite; margin: 10px auto; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    header { padding: 0 20px; height: 65px; }
    header.scrolled .contc { display: none; }
    header.scrolled { padding: 0 20px; }
    .logo { font-size: 10vw; top: 30vh; }
    header.scrolled .logo { font-size: 25px !important; letter-spacing: 0; position: relative; left: 0; top: auto !important; transform: none; }
    .btn-group { flex-direction: row; width: 100%; }
    .gucci-btn { width: 50%; padding: 15px 0; min-width: unset; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card { height: 280px; }
    .product-name { font-size: 11px; }
    .product-price { font-size: 14px; }
    .side-panel { min-width: 100%; max-height: 80%; height: fit-content; border-radius: 50px 50px 0 0; }
    .side-panel .panel-holder { display: flex;}
    .vendor-grid { grid-template-columns: 1fr 1fr; }
    .skeleton-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-items-wrapper { max-height: calc(92vh - 260px); }
    .cart-item img, .cart-item video { width: 80px; height: 100px; }
    .profile-name { font-size: 20px; }
    .panel-content {
    padding: 0px 10px 30px;
}
}

/* ── Chat UI (identical to storefront) ── */
.sf-chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 40px);
  overflow: hidden;
  background: var(--bg);
  border-radius: 15px;
}
.sf-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 16px;
  flex-shrink: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--color-gray-300);
}
.sf-chat-back {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  color: var(--text-primary);
  line-height: 1;
}
.sf-chat-header-info h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}
.sf-chat-messages {
  overflow-y: auto;
  padding: 10px;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-height: 0;
}
.panel-vendor-name{
        margin-bottom: 7px;
    text-decoration: underline;
}
.sf-chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #9ca3af;
  text-align: center;
}
.sf-chat-empty p {
  font-size: 13px;
  margin: 0;
}
.sf-message-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 85%;
  align-self: flex-start;
}
.sf-message-row.outgoing {
  align-self: flex-end;
}
.sf-message-bubble {
  background: #000;
  color: #fff;
  padding: 12px 16px;
  border-radius: 16px 16px 4px 16px;
  font-size: 14px;
  line-height: 1.5;
}
.sf-message-row:not(.outgoing) .sf-message-bubble {
  background: var(--bg-card2);
  color: var(--text-primary);
  border-radius: 16px 16px 16px 4px;
}
.sf-message-bubble p {
  margin: 0;
}
.sf-message-time {
  font-size: 10px;
  color: #9ca3af;
  display: block;
  margin-top: 4px;
  text-align: right;
}
.sf-message-row.outgoing .sf-message-time {
  color: rgba(255,255,255,0.6);
  text-align: right;
}
.sf-quoted-message {
  background: rgba(255,255,255,0.1);
  border-left: 3px solid rgba(255,255,255,0.5);
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.sf-message-row:not(.outgoing) .sf-quoted-message {
  background: rgba(0,0,0,0.05);
  border-left: 3px solid #3b82f6;
  color: #6b7280;
}
.sf-sent-orders {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sf-sent-order-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 500;
  color: #111827;
}
.sf-sent-order-ref {
  color: #1500ff;
}
.sf-chat-input-area {
  padding: 10px 16px 14px;
  flex-shrink: 0;
  background: var(--primary);
}
.sf-chat-input-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 6px 6px 6px 14px;
  background: var(--bg);
  transition: border-color 0.2s;
}
.sf-chat-input-wrapper:focus-within {
  border-color: #000;
}
.sf-chat-input-wrapper textarea {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  font-size: 14px;
  line-height: 1.5;
  font-family: inherit;
  min-height: 24px;
  max-height: 120px;
  padding: 4px 0;
  background: transparent;
  color: var(--text-primary);
}
.sf-chat-input-wrapper button {
  background: var(--bg-card);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.sf-chat-input-wrapper button:hover {
  background: #333;
}
.sf-product-link {
  color: #3b82f6;
  text-decoration: underline;
  cursor: pointer;
  word-break: break-all;
}
.sf-message-row:not(.outgoing) .sf-product-link {
  color: #2563eb;
}
.bottomsendtext {
  border-radius: 10px;
  overflow: hidden;
}

/* ── Chat Mode Panel Layout ── */
.side-panel.chat-mode {
  overflow: hidden;
}
.side-panel.chat-mode .panel-content {
  overflow: hidden;
  padding: 20px;
}
.side-panel.chat-mode .panel-content .sf-chat-messages {
  flex: 1;
  min-height: 0;
}

@media (max-width: 768px) {
  .side-panel.chat-mode {
    max-height: 90%;
    min-height: 65%;
  }
  .side-panel.chat-mode .panel-content {
    padding: 0px;
  }
  .side-panel.chat-mode .sf-chat-container {
    height: calc(80vh - 60px);
    border-radius: 0;
  }
  .side-panel.chat-mode .sf-chat-header {
    padding: 010px;
    border-radius: 0;
    flex-shrink: 0;
  }
  .side-panel.chat-mode .sf-chat-orders-tray {
    max-height: 100px;
    overflow-y: auto;
  }
  .side-panel.chat-mode #sfChatOrders {
    padding: 0 10px;
  }
}

/* ── Order Tray ── */
.sf-chat-orders {
  background: var(--bg);
  flex-shrink: 0;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
.sf-chat-orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}
.sf-chat-orders-header span:last-child {
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  color: #111;
}
.sf-chat-orders-tray {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  scrollbar-width: thin;
}
.sf-order-card {
  flex: 0 0 250px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.sf-order-card:hover {
  border-color: #9ca3af;
}
.sf-order-card.selected {
  border: 2px dashed #000;
  background: #f0f9ff;
}
.sf-order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}
.sf-order-ref {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}
.sf-order-status {
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 20px;
  white-space: nowrap;
}
.sf-order-status.processing { background: #fef3c7; color: #d97706; }
.sf-order-status.delivered  { background: #dcfce7; color: #15803d; }
.sf-order-status.pending    { background: #fef3c7; color: #d97706; }
.sf-order-status.cancelled  { background: #fee2e2; color: #dc2626; }
.sf-order-status.shipped    { background: #dbeafe; color: #2563eb; }
.sf-order-status.dispatched { background: #e0e6e0; color: green; border: 2px dashed green; }
.sf-order-status.paid       { background: #fff; color: #000; border: 2px dashed #000; }
.sf-order-card-date {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 8px;
}
.sf-order-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sf-order-amount {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}
.sf-orders-loading,
.sf-orders-empty {
  font-size: 12px;
  color: #9ca3af;
  padding: 10px 0;
  white-space: nowrap;
}

/* ========== FOOTER ========== */
.mp-footer {
    background: var(--color-black);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 50px 20px 0;
    margin-top: 60px;
}
.mp-footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
.mp-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.mp-footer-heading {
    font-family: "Acme", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-white);
    margin-bottom: 20px;
}
.mp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mp-footer-links li {
    margin-bottom: 12px;
}
.mp-footer-links a {
    color: var(--color-white);
    font-size: 14px;
    text-decoration: none;
    transition: all 300ms ease;
    font-family: "Acme", sans-serif;
}
.mp-footer-links a:hover {
    transform: scale(1.1);
}
.mp-social-links {
    display: flex;
    gap: 12px;
}
.mp-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: all 0.3s;
}
.mp-social-icon:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateY(-2px);
}
.mp-social-icon svg {
    width: 18px;
    height: 18px;
}
.mp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 25px 0;
    text-align: center;
}
.mp-footer-copyright {
    color: var(--color-white);
    font-size: 13px;
    font-family: "Acme", sans-serif;
}

/* ========== CHECKOUT + DELIVERY PANEL ========== */
.checkout-items { margin-bottom:15px; }
.checkout-item { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid var(--color-gray-300); }
.checkout-item-left { flex:1; }
.checkout-item-name { font-weight:600; font-size:14px; }
.checkout-item-vendor { font-size:11px; color:var(--text-primary); opacity:0.7; }
.checkout-item-meta { font-size:12px; color:var(--text-primary); margin-top:2px; }
.checkout-item-price { font-weight:600; font-size:14px; }
.checkout-summary-box { background:var(--color-gray-300); padding:15px; border-radius:12px; margin-bottom:10px; }
.checkout-total-row { display:flex; justify-content:space-between; align-items:center; padding:6px 0; font-size:14px; }
.coupon-section { display:flex; gap:8px; margin:10px 0; }
.coupon-section input { flex:1; }
.method-toggle { display:flex; gap:10px; margin:15px 0; }
.checkout-form .form-group { margin-bottom:12px; }
.form-group { margin-bottom:20px; }
.form-label { display:block; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; margin-bottom:5px; color:var(--text-primary); }
.form-input { width:100%; padding:12px 16px; border-radius:100px; border:1px solid var(--color-gray-300); background:var(--bg); color:var(--text-primary); font-family:"Acme",sans-serif; font-size:14px; outline:none; box-sizing:border-box; }
.form-input:focus { border-color:var(--color-black); }
.form-input-textarea { border-radius:20px; resize:none; min-height:60px; }
.dropdown-wrapper { position:relative; cursor:pointer; }
.dropdown-selected { padding:12px 16px; border-radius:100px; border:1px solid var(--color-gray-300); background:var(--bg); color:var(--text-primary); font-family:"Acme",sans-serif; font-size:14px; }
.dropdown-options { position:absolute; top:100%; left:0; right:0; background:var(--bg); border:1px solid var(--color-gray-300); border-radius:12px; z-index:10; max-height:200px; overflow-y:auto; }
.dropdown-option { padding:10px 16px; cursor:pointer; font-size:13px; text-transform: uppercase; color:var(--text-primary); transition:background 0.2s; }
.dropdown-option:hover { background:var(--color-gray-300); }
.status { display:none; padding:12px; border-radius:8px; font-size:13px; text-align:center; margin:10px 0; }
.status.error { background:#fef2f2; color:#ef4444; display:block; }
.status.success { background:#f0fdf4; color:#27ae60; display:block; }

.delivery-advice-banner { display:flex; align-items:center; gap:10px; padding:12px 16px; background:var(--color-gray-300); border-radius:12px; font-size:13px; margin-bottom:15px; }
.delivery-advice-icon { font-size:18px; }
.delivery-selector { margin-bottom:15px; }
.delivery-selector .form-group { margin-bottom:10px; }
.delivery-vendors { display:flex; flex-direction:column; gap:12px; margin:15px 0; }
.delivery-vendor-card { background:var(--color-gray-300); border-radius:12px; padding:15px; }
.delivery-vendor-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.delivery-vendor-name { font-weight:700; font-size:14px; }
.delivery-vendor-total { font-weight:600; font-size:14px; }
.delivery-vendor-items { margin-bottom:8px; }
.delivery-vendor-item { display:flex; justify-content:space-between; font-size:12px; color:var(--text-secondary); padding:3px 0; }
.delivery-vendor-fee { display:flex; justify-content:space-between; font-size:13px; font-weight:600; border-top:1px solid rgba(0,0,0,0.08); padding-top:8px; }
.delivery-fee-unset { color:#e67e22; font-weight:400; font-size:12px; }

/* ========== TOAST NOTIFICATION ========== */
.mamag-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.4s;
    font-family: "Acme", sans-serif;
    pointer-events: none;
    max-width: 90vw;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.mamag-toast.show {
    opacity: 1;
}
@media (max-width: 768px){
.mp-footer-grid{
    grid-template-columns: 1fr 1fr;
}

}