﻿/* Extracted from inline <style> blocks, order preserved */

/* --------- Theme Tokens --------- */
:root{
  --bg: #F6F7FB;          /* page background */
  --surface: #FFFFFF;     /* cards */
  --surface-2: rgba(255,255,255,.78); /* glass */
  --text: #0F172A;        /* primary text */
  --muted: #64748B;       /* secondary text */
  --border: rgba(15,23,42,.10);

  --brand: #6D28D9;
  --brand-2: #8B5CF6;
  --brand-soft: rgba(109,40,217,.12);

  --danger: #EF4444;
  --shadow: 0 12px 34px rgba(2,6,23,.08);
}

/* ---- style block #1 ---- */
body {
            font-family: 'Vazirmatn', sans-serif;
            --bottom-nav-h: 72px;
            padding-bottom: 0;
            background: var(--bg);
            color: var(--text);
        }
        @media (max-width: 1023px) {
            body {
                padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px)); /* Space for fixed bottom nav on mobile */
            }
        }

        /* Responsive Images Global Rule */
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        /* Simple animation for the loader */
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .loader {
            border: 4px solid rgba(0, 0, 0, .1);
            border-left-color: #312e81; /* Indigo-900 */
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }
        /* Hide scrollbar for horizontal containers */
        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .no-scrollbar {
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }
        /* Navigation + Mega Menu Styling */
        header nav {
            overflow: visible;
        }
        .nav-item {
            position: relative;
            padding: 0 12px 16px;
            margin-bottom: -16px;
        }
        .nav-item--seller {
            padding-bottom: 0;
            margin-bottom: 0;
        }
        .nav-item > a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            height: 56px;
            font-size: 0.95rem;
            font-weight: 600;
            color: #374151;
            transition: color 0.2s ease;
        }
        .nav-item > a:hover {
            color: #312e81;
        }
        .nav-seller-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            height: 56px;
            font-size: 0.95rem;
            font-weight: 700;
            color: #312e81;
            padding: 0 8px;
        }
        .nav-seller-link:hover {
            color: #1d1c7a;
        }
        .mega-menu {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            width: 640px;
            max-width: 80vw;
            background-color: #ffffff;
            box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
            border-radius: 18px;
            padding: 1.25rem 1.5rem;
            border: 1px solid rgba(99, 102, 241, 0.1);
            opacity: 0;
            transform: translateY(6px);
            transition: opacity 0.25s ease, transform 0.25s ease;
            z-index: 50;
        }
        .nav-item:hover .mega-menu,
        .nav-item:focus-within .mega-menu {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }
        .mega-menu a {
            color: #1f2937;
            font-size: 0.9rem;
            font-weight: 500;
            border-radius: 8px;
            padding: 4px 6px;
            transition: background 0.15s ease, color 0.15s ease;
        }
        .mega-menu a:hover {
            background: rgba(99, 102, 241, 0.12);
            color: #312e81;
        }
        @media (max-width: 1024px) {
            .nav-item > a {
                font-size: 0.85rem;
                padding: 0 6px;
            }
            .mega-menu {
                width: calc(100vw - 2rem);
                right: 50%;
                transform: translate(50%, 6px);
            }
            .nav-item:hover .mega-menu,
            .nav-item:focus-within .mega-menu {
                transform: translate(50%, 0);
            }
        }
        /* Story Border Styling */
        .stories-border {
            padding: 3px; /* border thickness */
            /* Instagram-like gradient */
            background: linear-gradient(to top right, #ff007f, #f72c49, #fc6721, #f4b455); 
            border-radius: 50%;
            transition: transform 0.3s ease;
            cursor: pointer;
            width: 79px; 
            height: 84px; 
            box-sizing: content-box;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .stories-border:hover {
            transform: scale(1.05);
        }
        .story-image-wrapper {
            background-color: white;
            padding: 4px; /* inner padding to show border */
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%; /* fill parent .stories-border */
            height: 100%;
        }
        .story-image {
            width: 70px; 
            height: 70px;
            object-fit: cover;
            border-radius: 50%;
        }
        
        /* Reels Modal Styling */
        .reels-container {
            width: 100%;
            max-width: 360px; /* Standard vertical video size */
            height: 100%;
            max-height: 640px;
            background-color: black;
            position: relative;
            border-radius: 12px;
            overflow: hidden;
        }
        .reel-item {
            display: none;
            width: 100%;
            height: 100%;
            position: relative;
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        .reel-item.active {
            display: block;
            opacity: 1;
        }
        .reel-progress-bar {
            height: 2px;
            background-color: rgba(255, 255, 255, 0.3);
            position: absolute;
            top: 8px;
            right: 8px;
            left: 8px;
            border-radius: 1px;
            overflow: hidden;
            display: flex;
            gap: 4px;
        }
        .reel-progress-segment {
            flex-grow: 1;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.6);
        }
        .reel-progress-fill {
            height: 100%;
            background-color: white;
            width: 0;
            transition: width 0.1s linear;
        }
/* Mobile Nav Bar Style */
.bottom-nav {
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
            height: var(--bottom-nav-h, 72px);
            padding-bottom: env(safe-area-inset-bottom, 0px);
        }
        .bottom-nav-icon{
            font-size: 20px;
            line-height: 1;
        }
        .bottom-nav-item.active {
            color: #312e81; /* Indigo-900 for active state */
            background-color: #eef2ff; /* Indigo-50 for background */
            border-radius: 12px;
        }

/* Ú©Ø§Ø±Øª Ù…Ø­ØµÙˆÙ„ Ù…ÛŒÙ†ÛŒÙ…Ø§Ù„ + Ù„Ø§Ú©Ú†Ø±ÛŒ â€“ Ù¾Ø±ÙˆÚ˜Ù‡ ÛŒÚ© Ø¯Ù‚ÛŒÙ‚Ù‡ */
.product-card {
    direction: rtl;
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card__inner {
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover .product-card__inner {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    border-color: rgba(79, 70, 229, 0.35);
}
.product-card__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f6;
}
.product-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}
.product-card:hover .product-card__image {
    transform: scale(1.03);
}
.product-card__badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(79, 70, 229, 0.96);
    color: #f9fafb;
}
.product-card__info {
    padding-top: 10px;
}
.product-card__brand {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 4px;
}
.product-card__title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.6;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}
.product-card__price-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.product-card__price-main {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}
.product-card__price-currency {
    font-size: 11px;
    font-weight: 500;
    margin-right: 4px;
    color: #6b7280;
}
.product-card__price-old {
    font-size: 11px;
    color: #dc2626;
    text-decoration: line-through;
}
.product-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #6b7280;
}
.product-card__rating-star {
    color: #f59e0b;
    font-size: 13px;
}
.product-card__rating-value {
    font-weight: 600;
    color: #111827;
}
.product-card__rating-count {
    color: #9ca3af;
}
.product-card__add {
    margin-top: 10px;
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: #ffffff;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 10px;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.product-card__add:hover {
    background: #111827;
    border-color: #111827;
    color: #f9fafb;
    transform: translateY(-1px);
}

/* --------- Header + Search Overlay (Step 1) --------- */
.header{
  position: sticky; top:0; z-index: 50;
  background: var(--surface-2);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__row{
  height: 80px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 10px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 16px;
}
.subnav__row{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 16px;
}

@media (min-width: 640px){
  .header__row,
  .subnav__row{
    padding-inline: 24px;
  }
}

@media (min-width: 1024px){
  .header__row,
  .subnav__row{
    padding-inline: 32px;
  }
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:900; text-decoration: none; color: inherit; }
.brand__logo{
  width:34px;
  height:34px;
  border-radius:14px;
  background: url("../img/logo.png") center/contain no-repeat;
  background-color: transparent;
}
.brand__name{ font-size:14px; }

.searchTrigger{
  flex:1;
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--border);
  background: var(--surface-2);
  border-radius: 16px;
  padding: 10px 12px;
  cursor:pointer;
  min-height: 44px;
  min-width: 0;
}
.searchTrigger__text{ color:var(--muted); font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.header__actions{ display:flex; align-items:center; gap:8px; }
.iconBtn{
  width:40px; height:40px;
  border-radius:14px;
  border:1px solid var(--border);
  background: var(--surface);
  display:grid; place-items:center;
  position:relative;
  text-decoration: none;
  color: inherit;
}
.badge{
  position:absolute;
  top:-6px; right:-6px;
  min-width:18px; height:18px;
  padding:0 6px;
  border-radius:999px;
  background:var(--danger); color:#fff;
  font-size:11px; font-weight:800;
  display:grid; place-items:center;
}

.subnav{ display:none; border-top:1px solid rgba(15,23,42,.08); }
.subnav__row{ display:flex; gap:14px; padding:10px 0; color:var(--muted); font-size:13px; position:relative; }
.subnav__row a{ text-decoration:none; color: inherit; }
.subnav__row a:hover{ color:var(--text); }

.headerCats{
    display:none;
  }
  
.headerCats.nav-item{
  position:relative;
  z-index: 60;
  padding: 0 0 14px;
  margin-bottom: -14px;
}
.headerCats > a.subnavDropdown__link{
  height: 44px;
  padding: 0 12px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: var(--surface);
  font-weight:900;
  color: var(--text);
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}
.headerCats > a.subnavDropdown__link::after{  content:""; }

.headerCats .mega-menu{
  top: 100%;
  right: 0;
  width: min(860px, 92vw);
  border:1px solid var(--border);
  background: var(--surface);
}

/* bridge to prevent hover flicker between trigger and menu */
.headerCats::after{
  content:"";
  position:absolute;
  right:0;
  left:0;
  top: 44px;
  height: 14px;
}

/* ensure it opens even if it has `hide` class */
.headerCats:hover .mega-menu,
.headerCats:focus-within .mega-menu{
  display:block;
  opacity: 1;
  transform: translateY(0);
}
.headerCats:hover .mega-menu.hide,
.headerCats:focus-within .mega-menu.hide{
  display:block;
}

.subnavDropdown.nav-item{
  padding: 0 0 14px;
  margin-bottom: -14px;
}
.subnavDropdown > a.subnavDropdown__link{
  height:auto;
  padding: 10px 12px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: var(--surface);
  font-weight:900;
  color: var(--text);
  gap:8px;
}
.subnavDropdown > a.subnavDropdown__link::after{  content:""; }

.subnavDropdown .mega-menu{
  width: min(860px, 92vw);
  top: 100%;
  right: 0;
  border:1px solid var(--border);
  background: var(--surface);
}
.subnavDropdown::after{
  content:"";
  position:absolute;
  right:0;
  left:0;
  top: 44px;
  height: 14px;
}
.subnavDropdown:hover .mega-menu,
.subnavDropdown:focus-within .mega-menu{
  display:block;
  opacity: 1;
  transform: translateY(0);
}
.subnavDropdown:hover .mega-menu.hide,
.subnavDropdown:focus-within .mega-menu.hide{
  display:block;
}
.megaMenuGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.megaCol{ min-width:0; }
.megaTitle{
  font-size:12px;
  font-weight:950;
  color: var(--text);
  margin: 0 0 8px;
}
.subnavDropdown .mega-menu a{
  display:block;
  padding: 6px 8px;
  border-radius: 12px;
  font-size:13px;
  color: var(--muted);
  text-decoration:none;
}
.subnavDropdown .mega-menu a:hover{
  background: var(--brand-soft);
  color: var(--brand);
}

@media (max-width: 1024px){
  .megaMenuGrid{ grid-template-columns: 1fr; }
}

@media (min-width: 900px){
    .subnav{ display:block; }
    .headerCats{ display:block; }
  }
  @media (min-width: 640px){
    .headerCats{ display:block; }
  }

@media (max-width: 420px){
  .brand__name{ display:none; }
  .header__actions{ gap:6px; }
  .iconBtn{ width:36px; height:36px; border-radius:12px; }
  .brand__logo{ width:30px; height:30px; border-radius:12px; }
  .searchTrigger{ padding: 9px 10px; border-radius: 14px; }
  .searchTrigger__text{ font-size:12px; }
}

/* Search Overlay */
.searchOverlay{
  position:fixed; inset:0; z-index: 80;
  display:grid; place-items:start center;
}
.searchOverlay__backdrop{
  position:absolute; inset:0;
  background: rgba(2,6,23,.55);
}
.searchOverlay__panel{
  position:relative;
  width:min(720px, 92%);
  margin-top: 14px;
  background:#fff;
  border-radius: 22px;
  border:1px solid rgba(15,23,42,.10);
  box-shadow: 0 20px 60px rgba(2,6,23,.25);
  overflow:hidden;
}
.searchOverlay__top{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.searchOverlay__title{ font-weight:900; }
.searchOverlay__inputWrap{
  display:flex; align-items:center; gap:10px;
  padding: 12px;
}
.searchOverlay__inputWrap input{
  width:100%;
  border:1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  padding: 12px 12px;
  outline:none;
  font-size:14px;
}
.searchOverlay__hint{ padding: 0 12px 12px; color:#64748b; font-size:12px; }
.searchOverlay__results{ padding: 0 12px 14px; max-height: 55vh; overflow:auto; }

.hidden{ display:none !important; }

/* --------- Hero Slider (Step 2) --------- */
.hero{ padding: 12px 0 6px; }

.heroFrame{
  position:relative;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid var(--border);
  background: #e2e8f0;
  box-shadow: var(--shadow);
}

.heroSlide{
  display:block;
  aspect-ratio: 21/9;
}
@media (min-width: 901px){
  .heroSlide{
    aspect-ratio: auto;
    height: clamp(260px, 30vw, 420px);
  }
}
@media (max-width: 900px){
  .heroSlide{ aspect-ratio: 16/9; }
}
@media (max-width: 640px){
  .heroSlide{ aspect-ratio: 16/10; }
}

.heroSlide img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center;
  background:#e2e8f0;
}

/* dots */
.heroDots{
  position:absolute;
  left:12px; bottom:12px;
  display:flex; gap:8px;
}
.heroDot{
  width:8px; height:8px;
  border-radius:999px;
  background: rgba(255,255,255,.65);
  border:1px solid rgba(0,0,0,.08);
  cursor:pointer;
}
.heroDot.isActive{
  width:18px;
  background:#fff;
}

/* nav buttons: ÙÙ‚Ø· Ø¯Ø³Ú©ØªØ§Ù¾ ÛŒØ§ ÙˆÙ‚ØªÛŒ Ù‡Ø§ÙˆØ± Ù…ÛŒØ´Ù‡ */
.heroNav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:42px; height:42px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  cursor:pointer;
  display:none;
}
.heroPrev{ right:12px; }
.heroNext{ left:12px; }

@media (min-width: 900px){
  .heroNav{ display:grid; place-items:center; }
}

/* Full-bleed hero on desktop (take full page width) */
@media (min-width: 900px){
  .hero{
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 0 0 10px;
  }
  .hero > .container{
    max-width: none;
    width: 100%;
    padding-inline: 0;
  }
  .heroFrame{
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}

/* progress bar */
.heroProgress{
  position:absolute;
  right:0; left:0; bottom:0;
  height:3px;
  background: rgba(255,255,255,.20);
}
.heroProgress span{
  display:block;
  height:100%;
  width:0%;
  background:#fff;
}

/* --------- Quick Category Chips (Step 3) --------- */
.section{ padding: 0; margin-top: 18px; }
@media (min-width: 900px){
  .section{ margin-top: 22px; }
}

.chips{
  display:flex;
  gap:10px;
  overflow:auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar{ height: 0; }

.chip{
  flex:0 0 auto;
  scroll-snap-align:start;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: var(--surface-2);
  font-size:13px;
  white-space:nowrap;
  transition: transform .12s ease, background .12s ease;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
}
.chip:active{ transform: scale(.98); }

.chip--all{
  background: rgba(15,23,42,.06);
  font-weight:800;
}

.chip.is-active{
  border-color: rgba(109,40,217,.25);
  background: var(--brand-soft);
  color: var(--brand);
  font-weight:800;
}

/* --------- Stories + Reels (Step 4) --------- */
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 10px;
}
.section-title{
  font-weight: 900;
  font-size: 14px;
  color:var(--text);
}
.section-link{
  font-size: 12px;
  color:var(--muted);
  text-decoration:none;
}
.section-link:hover{ color:var(--brand); }

.stories{
  display:flex;
  gap:12px;
  overflow:auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.stories::-webkit-scrollbar{ height:0; }

.story{
  flex:0 0 auto;
  width:86px;
  border:none;
  background:transparent;
  padding:0;
  cursor:pointer;
  scroll-snap-align:start;
  text-align:center;
}

.story__img{
  width:76px; height:76px;
  margin:0 auto 6px;
  display:block;
  border-radius:999px;
  object-fit:cover;
  border:3px solid #fff;
  background:#e2e8f0;
}

.story__title{
  display:block;
  font-size:11px;
  color:#475569;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:86px;
}

@media (min-width: 900px){
  .story{ width:96px; }
  .story__img{ width:84px; height:84px; }
  .story__title{ font-size:12px; max-width:96px; }
}

.reelsModal{
  position:fixed; inset:0; z-index:90;
}
.reelsModal__backdrop{
  position:absolute; inset:0;
  background: rgba(2,6,23,.72);
}
.reelsModal__panel{
  position:relative;
  height:100%;
  display:flex;
  flex-direction:column;
  padding: 10px;
}
.reelsTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.reelsProgress{
  flex:1;
  display:flex;
  gap:6px;
}
.reelsProgress span{
  height:3px;
  flex:1;
  background: rgba(255,255,255,.25);
  border-radius:999px;
  overflow:hidden;
}
.reelsProgress span i{
  display:block;
  height:100%;
  width:0%;
  background:#fff;
}

.reelsClose{
  width:42px; height:42px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
}

.reelsContent{
  flex:1;
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  align-items:center;
  gap:10px;
  padding-top: 10px;
}

.reelsNav{
  width:44px; height:44px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
}
@media (max-width: 640px){
  .reelsNav{ display:none; }
  .reelsContent{ grid-template-columns: 1fr; }
}

.reel{
  position:relative;
  height: calc(100vh - 90px);
  border-radius:22px;
  overflow:hidden;
  background:#0b1220;
  border:1px solid rgba(255,255,255,.10);
}
.reel img{
  width:100%; height:100%;
  object-fit:cover;
  opacity:.95;
}
.reelMeta{
  position:absolute;
  left:12px; right:12px; bottom:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.reelTitle{
  color:#fff;
  font-weight:900;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.reelCTA{
  padding:10px 12px;
  border-radius:16px;
  background:#fff;
  color:#0f172a;
  font-weight:900;
  text-decoration:none;
}

/* --------- Featured Stores (Step 5) --------- */
.storesRail{
  display:flex;
  gap:12px;
  overflow:auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.storesRail::-webkit-scrollbar{ height:0; }

.storeCard{
  flex:0 0 190px;
  scroll-snap-align:start;
  border-radius: 20px;
  border:1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow);
  padding: 12px;
  display:flex;
  gap:10px;
  align-items:center;
  transition: transform .18s ease;
  text-decoration:none;
  color: inherit;
}
.storeCard:active{ transform: scale(.99); }

.storeAvatar{
  width:48px; height:48px;
  border-radius: 18px;
  background: linear-gradient(135deg, #94a3b8, #cbd5e1);
  flex:0 0 auto;
}

.storeInfo{ min-width:0; }
.storeName{
  font-weight:950;
  font-size:13px;
  margin:0 0 4px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.storeMeta{
  font-size:12px;
  color:var(--muted);
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap: wrap;
}
.storeBadge{
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(15,23,42,.04);
}

@media (min-width: 900px){
  .storeCard{ flex-basis: 220px; }
  .storeAvatar{ width:54px; height:54px; }
}

/* --------- Product Rail + Standard Product Card (Step 6) --------- */
.productRail{
  display:flex;
  gap:12px;
  overflow:auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.productRail::-webkit-scrollbar{ height:0; }

.productRail .product-card{
  flex:0 0 220px;
  scroll-snap-align:start;
  border-radius: 20px;
  border:1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow:hidden;
}
@media (min-width: 768px){
  .productRail .product-card{ flex-basis: 260px; }
}

.productRail .product-card .product-media{
  position:relative;
  overflow:hidden;
  background:#e2e8f0;
  aspect-ratio: 4 / 5;
}
.productRail .product-card .product-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1);
  transition: transform .35s ease;
  display:block;
}
.productRail .product-card:hover .product-media img{
  transform: scale(1.04);
}

.productRail .product-card .badge-discount{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  font-size:12px;
  font-weight:900;
  padding:6px 8px;
  border-radius: 999px;
  background: var(--danger);
  color:#fff;
  border: 1px solid rgba(255,255,255,.35);
}

.productRail .product-card .store-pill{
  position:absolute;
  left:10px;
  bottom:10px;
  z-index:2;
  font-size:11px;
  padding:6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.90);
  border:1px solid var(--border);
  color:var(--text);
  text-decoration:none;
  max-width: calc(100% - 20px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.productRail .product-card .action-dock{
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  display:flex;
  gap:8px;
}
.productRail .product-card .icon-btn{
  width:36px;
  height:36px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.35);
  background: rgba(2,6,23,.18);
  color:#fff;
  backdrop-filter: blur(10px);
  cursor:pointer;
}
.productRail .product-card .icon-btn:active{ transform: scale(.98); }

.productRail .product-card .product-body{
  padding: 10px 12px 0;
}
.productRail .product-card .product-title{
  margin:0 0 10px;
  font-size:13px;
  font-weight:800;
  color:var(--text);
  line-height: 1.7;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
  min-height: 44px;
}
.productRail .product-card .price-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.productRail .product-card .price-final{
  color:var(--danger);
  font-weight:950;
  font-size:14px;
  white-space:nowrap;
}
.productRail .product-card .price-old{
  color:#94a3b8;
  text-decoration: line-through;
  font-size:12px;
  white-space:nowrap;
}
.productRail .product-card .price-save{
  padding-top: 6px;
  color:var(--muted);
  font-size:12px;
}

.productRail .product-card .product-footer{
  padding: 10px 12px 12px;
}
.productRail .product-card .cta-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height: 44px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: var(--brand);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.productRail .product-card .cta-btn:hover{
  background: var(--brand-2);
}
.productRail .product-card .cta-side{
  width:34px;
  display:grid;
  place-items:center;
  opacity:.95;
}

@media (max-width: 420px){
  .productRail .product-card .cta-btn,
  .productsGrid .product-card .cta-btn{
    gap:8px;
    padding-inline: 10px;
    font-size:12px;
    white-space:nowrap;
    overflow:hidden;
  }
  .productRail .product-card .cta-side,
  .productsGrid .product-card .cta-side{
    width:30px;
  }
}

@media (max-width: 360px){
  .productRail .product-card .cta-side,
  .productsGrid .product-card .cta-side{
    display:none;
  }
  .productRail .product-card .cta-btn,
  .productsGrid .product-card .cta-btn{
    justify-content:center;
  }
}

/* --------- Flash V2 (Time Tunnel) --------- */
.flashV2{
    --flash-accent: #09b563;
    border:1px solid var(--border);
    background: linear-gradient(135deg, rgba(15,23,42,.92), rgba(15,23,42,.82));
    border-radius: 26px;
    box-shadow: 0 18px 55px rgba(2,6,23,.08);
    overflow:hidden;
  }

.flashV2__head{
    position:relative;
    padding: 16px;
    display:grid;
    grid-template-columns: 1fr auto;
    align-items:center;
    gap:16px;
    min-height: 76px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background:
      radial-gradient(520px 180px at 15% 0%, rgba(109,40,217,.24), transparent 60%),
      radial-gradient(520px 200px at 90% 20%, rgba(9,181,99,.32), transparent 60%),
      linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.4)),
      #0b1220;
    color:#fff;
  }
.flashV2__head::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(120deg, transparent 18%, rgba(255,255,255,.22) 28%, transparent 38%);
    opacity:.18;
    transform: translateX(-22%);
    animation: flashSheen 4.4s ease-in-out infinite;
    pointer-events:none;
  }
@keyframes flashSheen{
    0%{ transform: translateX(-22%); opacity:.04; }
    28%{ opacity:.18; }
    58%{ opacity:.08; }
    100%{ transform: translateX(18%); opacity:.04; }
  }

.flashV2__rail{ padding: 12px 12px 16px; }

.flashMark{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}
.flashBadge{
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-weight:900;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.flashWordmark{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.flashEyebrow{
  font-size:11px;
  color: rgba(255,255,255,.75);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.flashWordmark__title{
  font-weight:950;
  font-size:20px;
  letter-spacing: -0.3px;
  line-height:1.1;
  color:#fff;
  text-shadow:
    0 12px 36px rgba(0,0,0,.35),
    0 1px 0 rgba(255,255,255,.12);
}
.flashWordmark__sub{
  font-weight:850;
  font-size:11px;
  color: rgba(255,255,255,.78);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.flashSpark{
  font-size: 22px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  color:#0b1220;
  background: linear-gradient(135deg, var(--flash-accent), #8b5cf6);
  box-shadow: 0 16px 38px rgba(9,181,99,.28);
  border: 1px solid rgba(255,255,255,.55);
}
.flashSpacer{ display:none; }

.flashTimer{
  display:flex;
  align-items:center;
  gap:10px;
  direction:ltr;
  color:#fff;
  font-variant-numeric: tabular-nums;
  justify-self:end;
  position:relative;
}
.flashTimer::before{
  content:"زمان باقی‌مانده";
  position:absolute;
  top:-16px;
  right:0;
  font-size:11px;
  font-weight:800;
  color: rgba(255,255,255,.78);
  direction:rtl;
}
.flashTime{
  min-width: 64px;
  height: 46px;
  padding: 0 10px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(9,181,99,1), rgba(7,150,82,1));
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:950;
  font-size:18px;
  box-shadow:
    0 14px 30px rgba(2,6,23,.10),
    inset 0 1px 0 rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.25);
}
.flashColon{
  font-weight:950;
  font-size:18px;
  color: currentColor;
  opacity:.95;
  transform: translateY(-1px);
}

.flashTimer.is-urgent .flashTime{
  animation: flashPulse 1.2s ease-in-out infinite;
  box-shadow: 0 14px 34px rgba(9,181,99,.28);
}
@keyframes flashPulse{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-1px); }
}

.flashEnded{
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(9,181,99,.10);
  border:1px solid rgba(9,181,99,.22);
  color: var(--flash-accent);
  font-weight:950;
  font-size:13px;
  white-space: nowrap;
}

@media (max-width: 640px){
  .flashV2__head{
    grid-template-columns: 1fr;
    gap:12px;
    padding: 14px 12px;
  }
  .flashTimer{ justify-self:start; }
  .flashTimer::before{ position:static; display:block; margin-bottom:6px; }
  .flashBadge{ padding: 9px 10px; }
  .flashTime{ min-width:56px; height:42px; font-size:17px; }
}

@media (max-width: 420px){
  .flashV2__head{
    grid-template-columns: 1fr;
    gap:12px;
    padding: 14px 12px 12px;
  }
  .flashTimer{
  display:flex;
  align-items:center;
  gap:10px;
  direction:ltr;
  color:#fff;
  font-variant-numeric: tabular-nums;
  justify-self:end;
  position:relative;
}
.flashTimer::before{
  content:"زمان باقی‌مانده";
  position:absolute;
  top:-16px;
  right:0;
  font-size:11px;
  font-weight:800;
  color: rgba(255,255,255,.78);
  direction:rtl;
}
  .flashSpark{ width: 38px; height: 38px; border-radius: 15px; }
  .flashWordmark__title{ font-size:17px; }
  .flashTime{ min-width: 56px; height: 42px; font-size:17px; }
}

/* --------- Best Sellers Grid (Step 8) --------- */
.productsGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
@media (min-width: 768px){
  .productsGrid{
    grid-template-columns: repeat(4, 1fr);
    gap:14px;
  }
}

.productsGrid .product-card{
  border-radius: 20px;
  border:1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.productsGrid .product-card .product-media{
  position:relative;
  overflow:hidden;
  background:#e2e8f0;
  aspect-ratio: 4 / 5;
}
.productsGrid .product-card .product-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1);
  transition: transform .35s ease;
  display:block;
}
.productsGrid .product-card:hover .product-media img{
  transform: scale(1.04);
}
.productsGrid .product-card .badge-discount{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  font-size:12px;
  font-weight:900;
  padding:6px 8px;
  border-radius: 999px;
  background: var(--danger);
  color:#fff;
  border: 1px solid rgba(255,255,255,.35);
}
.productsGrid .product-card .store-pill{
  position:absolute;
  left:10px;
  bottom:10px;
  z-index:2;
  font-size:11px;
  padding:6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.90);
  border:1px solid var(--border);
  color:var(--text);
  text-decoration:none;
  max-width: calc(100% - 20px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.productsGrid .product-card .action-dock{
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  display:flex;
  gap:8px;
}
.productsGrid .product-card .icon-btn{
  width:36px;
  height:36px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.35);
  background: rgba(2,6,23,.18);
  color:#fff;
  backdrop-filter: blur(10px);
  cursor:pointer;
}
.productsGrid .product-card .icon-btn:active{ transform: scale(.98); }
.productsGrid .product-card .product-body{ padding: 10px 12px 0; }
.productsGrid .product-card .product-title{
  margin:0 0 10px;
  font-size:13px;
  font-weight:800;
  color:var(--text);
  line-height: 1.7;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
  min-height: 44px;
}
.productsGrid .product-card .price-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.productsGrid .product-card .price-final{
  color:var(--danger);
  font-weight:950;
  font-size:14px;
  white-space:nowrap;
}
.productsGrid .product-card .price-old{
  color:#94a3b8;
  text-decoration: line-through;
  font-size:12px;
  white-space:nowrap;
}
.productsGrid .product-card .price-save{
  padding-top: 6px;
  color:var(--muted);
  font-size:12px;
}
.productsGrid .product-card .product-footer{ padding: 10px 12px 12px; }
.productsGrid .product-card .cta-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height: 44px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: var(--brand);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.productsGrid .product-card .cta-btn:hover{
  background: var(--brand-2);
}
.productsGrid .product-card .cta-side{
  width:34px;
  display:grid;
  place-items:center;
  opacity:.95;
}

/* --------- Segments + Inline Banners (Step 9.5) --------- */
.segments{
  display:flex;
  gap:10px;
  overflow:auto;
  padding: 6px 2px 10px;
  -webkit-overflow-scrolling: touch;
}
.segments::-webkit-scrollbar{ height:0; }

.segment{
  flex:0 0 auto;
  border:1px solid var(--border);
  background: var(--surface-2);
  color:var(--text);
  border-radius: 16px;
  padding:10px 12px;
  font-weight:800;
  font-size:13px;
  cursor:pointer;
  white-space:nowrap;
  font-family: inherit;
}
.segment.is-active{
  border-color: rgba(109,40,217,.25);
  background: var(--brand-soft);
  color:var(--brand);
}
.segmentPanel{ margin-top: 8px; }

.inlineBanner{
  display:block;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#e2e8f0;
  box-shadow: var(--shadow);
}
.inlineBanner img{
  width:100%;
  aspect-ratio: 16/5;
  object-fit:contain;
  object-position:center;
  background:#e2e8f0;
  display:block;
}
@media (max-width:640px){
  .inlineBanner img{ aspect-ratio: 16/7; }
}

/* Triple banners */
.triple-banners{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;                    /* فاصله بین بنرها */
}

.triple-banner{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f3f4f6;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* ارتفاع حرفه‌ای بدون fixed height: با aspect-ratio کنترل می‌کنیم */
.triple-banner img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 2 / 1;
}

/* Hover */
.triple-banner:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}

/* Mobile */
@media (max-width: 900px){
  .triple-banners{
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 20px;
  }
  .triple-banner img{
    aspect-ratio: 16 / 9;
  }
}

/* --------- Blog Section (Home) --------- */
.blogWrap{
  display:flex;
  gap:12px;
  overflow:auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.blogWrap::-webkit-scrollbar{ height:0; }

.blogCard{
  flex:0 0 260px;
  scroll-snap-align:start;
  border-radius: 22px;
  border:1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:block;
  transition: transform .18s ease;
  text-decoration:none;
  color: inherit;
}
.blogCard:hover{ transform: translateY(-2px); }

.blogThumb{
  aspect-ratio: 16/10;
  background:#e2e8f0;
}
.blogThumb img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}

.blogBody{ padding:12px; }
.blogMeta{
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
}
.blogTitle{
  margin:0 0 8px;
  font-size:14px;
  font-weight:950;
  line-height:1.7;
}
.blogExcerpt{
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

@media (min-width: 900px){
  .blogWrap{
    overflow: visible;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:14px;
  }
.blogCard{ flex:unset; width:auto; }
}

/* --------- Footer (Step 10.1) --------- */
.footer{
  margin-top: 18px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  text-align: center;
}
.footer > .container{
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 640px){
  .footer > .container{ padding-inline: 24px; }
}
@media (min-width: 1024px){
  .footer > .container{ padding-inline: 32px; }
}
@media (max-width: 1023px){
  /* Keep footer visually attached while bottom-nav overlays */
  .footer{
    padding-bottom: calc(18px + var(--bottom-nav-h, 72px) + env(safe-area-inset-bottom, 0px));
  }
}

.footerTrust{
  display:flex;
  gap:8px;
  overflow:auto;
  padding: 16px 2px 10px;
  -webkit-overflow-scrolling: touch;
}
.footerTrust::-webkit-scrollbar{ height:0; }

.footerTrust__item{
  flex:0 0 270px;
  display:flex; gap:10px; align-items:center;
  padding: 12px;
  border-radius: 18px;
  border:1px solid var(--border);
  background: var(--surface);
  text-align: right;
}
.footerTrust__icon{ font-size:20px; }
.footerTrust__title{ font-weight:950; font-size:13px; }
.footerTrust__sub{ color: var(--muted); font-size:12px; margin-top:2px; }

.footerGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 10px 0 16px;
}

.footerCol{
  border:1px solid var(--border);
  background: var(--surface);
  border-radius: 22px;
  padding: 14px;
  text-align: right;
}

.footerTitle{
  margin:0 0 10px;
  font-size:15px;
  font-weight:950;
  line-height:1.9;
}
.footerText{
  margin:0 0 12px;
  color: var(--muted);
  font-size:13px;
  line-height:2;
}
.footerCtas{ display:flex; gap:10px; flex-wrap:wrap; justify-content: flex-start; }
.footerLinkStrong{
  padding:10px 12px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: rgba(15,23,42,.04);
  font-weight:900;
  font-size:13px;
  text-decoration:none;
  color: inherit;
}

.footerHeading{
  margin:0 0 10px;
  font-size:14px;
  font-weight:950;
}

.footerLinks{
  display:grid;
  gap:8px;
  color: var(--muted);
  font-size:13px;
  justify-items: start;
}
.footerLinks a{ text-decoration:none; color: inherit; }
.footerLinks a:hover{ color:var(--brand); }

.footerContact{ display:grid; gap:10px; color: var(--muted); font-size:13px; }
.footerContact{ justify-items: start; }
.footerContact a{ color: inherit; text-decoration:none; }
.footerContact a:hover{ color:var(--brand); }
.footerContact__row{ display:flex; gap:8px; align-items:flex-start; line-height:1.9; }
.footerContact__label{ color:var(--text); font-weight:900; min-width:52px; }

.footerBadges{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top: 14px;
}
.badgeBox{
  border-radius: 18px;
  border: 1px dashed rgba(109,40,217,.25);
  background: var(--surface);
  padding: 12px;
  text-align:center;
}
.badgeBox__title{ font-weight:950; font-size:13px; margin-bottom:6px; }
.badgeBox__ph{ color: var(--muted); font-size:12px; line-height:1.8; }

.footerBottom{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding: 12px 0 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size:12px;
  align-items: center;
}
.footerBottom__links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content: center;
}
.footerBottom__links a{ text-decoration:none; color: inherit; }
.footerBottom__links a:hover{ color:var(--brand); }

@media (min-width: 900px){
  .footerTrust{
    overflow:visible;
    display:grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    justify-items: stretch;
  }
  .footerTrust__item{ flex:unset; width: 100%; }

  .footerGrid{
    grid-template-columns: 2.6fr 1fr 1fr 1.2fr;
    gap: 14px;
  }

  .footerBottom{
    flex-direction:row;
    align-items:center;
    justify-content:center;
  }
}

/* Seller strip CTA */
.btn-pro{
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  height: 42px;
  min-width: 150px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}
.btn-pro__bg{
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #34d399, #10b981);
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 22px rgba(52,211,153,.18);
}
.btn-pro__text,
.btn-pro__icon{
  position: relative;
  z-index: 1;
  color: #0b1a13;
  font-weight: 900;
}
.btn-pro__icon{
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.16);
}
.btn-pro:active .btn-pro__bg{ transform: scale(0.99); }
.btn-pro:hover .btn-pro__bg{ transform: translateY(-1px); box-shadow: 0 14px 26px rgba(52,211,153,.24); }

/* ===== Seller Strip PRO ===== */
.seller-strip.pro{
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.seller-strip__wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
}

.seller-strip__glass{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  /* glass */
  background: linear-gradient(135deg, rgba(17,24,39,0.04), rgba(17,24,39,0.02));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(17,24,39,0.08);
  box-shadow:
    0 12px 30px rgba(17,24,39,0.06),
    inset 0 1px 0 rgba(255,255,255,0.55);
}

.seller-strip__left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.seller-strip__badge{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(17,24,39,0.85);
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(17,24,39,0.10);
}

.seller-strip__badge .dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot{
  0%,100%{ transform: scale(1); opacity: .9; }
  50%{ transform: scale(1.15); opacity: 1; }
}

.seller-strip__text{ min-width: 0; }
.seller-strip__title{
  margin: 0;
  font-size: 14px;
  font-weight: 950;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seller-strip__subtitle{
  margin: 3px 0 0;
  font-size: 12px;
  color: rgba(17,24,39,0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seller-strip__right{ flex: 0 0 auto; }

/* ===== CTA Button PRO ===== */
.btn-pro{
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  height: 42px;
  min-width: 160px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
}

.btn-pro__bg{
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #111827, #0b1220);
  box-shadow: 0 10px 24px rgba(17,24,39,0.18);
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-pro::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,0.85), rgba(244,63,94,0.75), rgba(16,185,129,0.65));
  filter: blur(0);
  opacity: 0.9;
  z-index: -1;
}

.btn-pro__text{
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 950;
  font-size: 13px;
  letter-spacing: .1px;
}

.btn-pro__icon{
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .18s ease, background .18s ease;
}

.btn-pro:hover .btn-pro__bg{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17,24,39,0.22);
}
.btn-pro:hover .btn-pro__icon{
  transform: translateX(-2px);
  background: rgba(255,255,255,0.12);
}
.btn-pro:active .btn-pro__bg{
  transform: translateY(0) scale(0.99);
}

/* ===== Background Decorations (subtle, professional) ===== */
.orb{
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: .55;
  pointer-events: none;
}

.orb--a{
  width: 240px; height: 240px;
  right: -90px; top: -120px;
  background: radial-gradient(circle, rgba(99,102,241,0.55), transparent 60%);
  animation: floatA 6.5s ease-in-out infinite;
}
.orb--b{
  width: 260px; height: 260px;
  left: -120px; bottom: -140px;
  background: radial-gradient(circle, rgba(16,185,129,0.40), transparent 60%);
  animation: floatB 7.5s ease-in-out infinite;
}

@keyframes floatA{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(-12px, 10px); }
}
@keyframes floatB{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(14px, -10px); }
}

/* subtle decorative grid (avoid clashing with Tailwind's .grid utility) */
.bg-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(17,24,39,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,24,39,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .25;
  mask-image: radial-gradient(circle at 30% 40%, black 0%, transparent 65%);
  pointer-events: none;
}

/* soft moving shine */
.shine{
  position: absolute;
  inset: -40%;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.35) 48%, transparent 60%);
  transform: translateX(-30%) rotate(8deg);
  animation: shineMove 3.6s ease-in-out infinite;
  opacity: .55;
  pointer-events: none;
}

@keyframes shineMove{
  0%{ transform: translateX(-30%) rotate(8deg); opacity: .15; }
  45%{ opacity: .55; }
  100%{ transform: translateX(30%) rotate(8deg); opacity: .15; }
}

/* ===== Responsive ===== */
@media (max-width: 640px){
  .seller-strip__glass{
    flex-direction: column;
    align-items: stretch;
  }
  .seller-strip__title,
  .seller-strip__subtitle{
    white-space: normal;
  }
  .btn-pro{ width: 100%; }
}


