:root {
  --primary: #7147ee;
  --primary-2: #8b65ff;
  --primary-3: #efeaff;
  --primary-4: #f7f4ff;
  --ink: #17152a;
  --muted: #77738d;
  --line: #e9e6f1;
  --white: #fff;
  --surface: #fff;
  --surface-soft: #fbfaff;
  --success: #35b96d;
  --danger: #ee5f77;
  --warning: #ffb62c;
  --shadow: 0 18px 55px rgba(87, 63, 159, .10);
  --shadow-sm: 0 9px 28px rgba(84, 61, 151, .08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfaff;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 8% 8%, rgba(141, 104, 255, .12), transparent 30%),
    radial-gradient(circle at 94% 18%, rgba(216, 205, 255, .28), transparent 26%),
    linear-gradient(180deg, #fdfcff 0, #fff 46%, #faf9ff 100%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
svg { flex: 0 0 auto; }
.container { width: min(calc(100% - 34px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.91);
  border-bottom: 1px solid rgba(230,226,241,.9);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { position: relative; display: inline-flex; align-items: center; color: var(--primary); font-weight: 900; line-height: 1; }
.brand-word { font-size: 35px; letter-spacing: -2px; }
.brand-dot { position: absolute; width: 7px; height: 7px; border-radius: 99px; background: #ff7fa6; top: -1px; left: -1px; box-shadow: 0 0 0 5px rgba(255,127,166,.12); }
.main-nav { display: flex; align-items: center; gap: 25px; margin-inline-start: 8px; }
.main-nav a { color: #59556a; font-size: 14px; font-weight: 600; padding: 25px 0 21px; position: relative; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; right: 50%; left: 50%; bottom: 13px; height: 3px; border-radius: 9px; background: var(--primary); transition: .25s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a:hover::after, .main-nav a.active::after { right: 12%; left: 12%; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.header-search, .mobile-search { height: 43px; display: flex; align-items: center; gap: 10px; border: 1px solid #ece9f3; background: #f7f6fb; border-radius: 14px; padding: 0 14px; color: #8a8598; }
.header-search { width: 260px; }
.header-search input, .mobile-search input { border: 0; outline: 0; width: 100%; background: transparent; color: var(--ink); font-size: 12px; }
.header-search:focus-within, .mobile-search:focus-within { border-color: #c8b9ff; box-shadow: 0 0 0 4px rgba(113,71,238,.08); background: #fff; }
.mobile-search-wrap { display: none; padding-bottom: 12px; }
.menu-toggle { display: none; border: 0; background: #f2effd; color: var(--primary); border-radius: 12px; width: 42px; height: 42px; align-items: center; justify-content: center; }

.btn { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 13px; padding: 10px 20px; font-weight: 700; font-size: 13px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 12px 28px rgba(113,71,238,.27); }
.btn-primary:hover { box-shadow: 0 15px 32px rgba(113,71,238,.35); }
.btn-outline { color: var(--primary); border-color: #d9d0fb; background: #fff; }
.btn-outline:hover { background: var(--primary-4); }
.btn-soft { color: var(--primary); background: var(--primary-3); }
.btn-small { min-height: 41px; padding: 8px 15px; white-space: nowrap; }
.btn-block { width: 100%; }
.icon-btn { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: #777187; transition: .2s; }
.icon-btn:hover, .icon-btn.is-favorite { color: #e94b84; border-color: #f3b7cd; background: #fff3f7; }

.hero { position: relative; overflow: hidden; min-height: 350px; background: linear-gradient(105deg, #f4efff 0%, #fff 56%, #faf7ff 100%); border-bottom: 1px solid #ede9f7; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 380px; height: 380px; right: -170px; top: -170px; border: 1px solid rgba(145,111,255,.13); box-shadow: 0 0 0 50px rgba(145,111,255,.03), 0 0 0 105px rgba(145,111,255,.025); }
.hero::after { width: 480px; height: 260px; left: -180px; bottom: -175px; background: rgba(151,119,255,.09); filter: blur(5px); transform: rotate(-14deg); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.18fr .82fr; gap: 35px; align-items: center; min-height: 350px; }
.hero-copy { padding: 44px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); background: rgba(255,255,255,.75); border: 1px solid #e9e1ff; border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 800; }
.hero h1 { max-width: 720px; margin: 15px 0 10px; font-size: clamp(31px, 4vw, 49px); line-height: 1.35; letter-spacing: -1.7px; }
.hero p { margin: 0 0 24px; max-width: 650px; color: #686378; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.hero-visual img { width: min(100%, 520px); object-fit: contain; filter: drop-shadow(0 24px 25px rgba(95,69,167,.14)); transform: translateY(21px); }
.floating-badge { position: absolute; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; color: var(--primary); background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); animation: floaty 4.2s ease-in-out infinite; }
.floating-badge.badge-one { top: 70px; right: 25px; }
.floating-badge.badge-two { top: 112px; left: 22px; animation-delay: -1.7s; color: #ee5e95; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

.category-dock { position: relative; z-index: 5; margin-top: -28px; }
.category-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; padding: 13px; background: rgba(255,255,255,.96); border: 1px solid #eeebf5; border-radius: 22px; box-shadow: var(--shadow); }
.category-item { min-height: 64px; display: flex; justify-content: center; align-items: center; gap: 11px; padding: 8px 12px; border-left: 1px solid #efedf5; transition: .2s; }
.category-item:last-child { border-left: 0; }
.category-item:hover { background: #fbf9ff; transform: translateY(-2px); }
.category-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.category-item span:last-child { font-size: 12px; font-weight: 700; white-space: nowrap; }
.tone-orange { color: #ff8d42; background: #fff2e9; }
.tone-red { color: #f66a74; background: #fff0f1; }
.tone-pink { color: #ed5d9e; background: #ffedf7; }
.tone-blue { color: #557eff; background: #edf2ff; }
.tone-cyan { color: #37a9ce; background: #ecfaff; }
.tone-green { color: #35b96d; background: #ebfaef; }
.tone-purple { color: var(--primary); background: var(--primary-3); }

.section { padding: 38px 0 8px; }
.section-lg { padding-top: 58px; }
.section-head { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: -.7px; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.see-all { color: var(--primary); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; }

.featured-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.featured-card { min-height: 98px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 17px; display: flex; align-items: center; gap: 13px; box-shadow: 0 8px 28px rgba(58,42,112,.035); transition: .22s; }
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #ddd5f6; }
.shop-mark { width: 58px; height: 58px; border-radius: 17px; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 25px; font-weight: 700; flex: 0 0 auto; border: 1px solid rgba(0,0,0,.04); }
.mark-gold { background: #fff8e7; color: #bd8941; }
.mark-olive { background: #f7f8e9; color: #8e9550; }
.mark-pink { background: #fff0f7; color: #c74689; }
.mark-purple { background: #eee8ff; color: #6940dc; }
.mark-green { background: #e9faef; color: #28a85f; }
.featured-card h3 { margin: 0 0 2px; font-size: 13px; line-height: 1.45; }
.featured-card small { display: block; color: var(--muted); font-size: 10px; }
.rating { margin-top: 4px; color: #817b8d; font-size: 10px; display: flex; align-items: center; gap: 4px; }
.rating .icon { color: #ffb522; fill: #ffb522; stroke-width: 1; }

.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.showcase-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 30px rgba(62,45,117,.04); transition: .25s ease; }
.showcase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.showcase-image { position: relative; height: 122px; overflow: hidden; background: #ece9f3; }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.showcase-card:hover .showcase-image img { transform: scale(1.05); }
.category-tag { position: absolute; top: 10px; right: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.88); color: #5c5277; box-shadow: 0 4px 12px rgba(0,0,0,.08); font-size: 9px; font-weight: 800; backdrop-filter: blur(8px); }
.showcase-body { padding: 13px; }
.showcase-title-row { display: flex; justify-content: space-between; gap: 8px; }
.showcase-card h3 { margin: 0; font-size: 14px; }
.showcase-meta { display: flex; align-items: center; gap: 5px; color: #777287; font-size: 10px; }
.showcase-actions { margin-top: 12px; display: flex; gap: 8px; }
.showcase-actions .btn { min-height: 36px; padding: 7px 12px; flex: 1; font-size: 10px; }
.showcase-actions .icon-btn { width: 36px; height: 36px; }

.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.service-card { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: .22s; }
.service-card:hover { transform: translateY(-4px); border-color: #dcd2fb; box-shadow: var(--shadow-sm); }
.service-card .category-icon { width: 46px; height: 46px; }
.service-card h3 { margin: 0; font-size: 13px; }
.service-card p { margin: 1px 0; color: var(--muted); font-size: 10px; }

.login-strip { margin: 34px 0 0; border-radius: 20px; background: linear-gradient(100deg, #ede7ff, #fbf9ff); border: 1px solid #e2d8ff; padding: 17px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; }
.login-strip-icon { width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: var(--primary); background: rgba(255,255,255,.8); }
.login-strip h3 { margin: 0 0 2px; font-size: 15px; }
.login-strip p { margin: 0; color: var(--muted); font-size: 11px; }

.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role-card { overflow: hidden; min-height: 150px; border: 1px solid var(--line); border-radius: 20px; position: relative; background: #fff; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; transition: .25s; }
.role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.role-card.owner { background: linear-gradient(135deg, #f1ebff, #fff); }
.role-card.vendor { background: linear-gradient(135deg, #eef5ff, #fff); }
.role-card.member { background: linear-gradient(135deg, #ecfbf3, #fff); }
.role-card img { height: 100%; width: 100%; object-fit: cover; opacity: .78; mix-blend-mode: multiply; }
.role-copy { padding: 20px; }
.role-copy h3 { margin: 0 0 5px; font-size: 18px; }
.role-copy p { margin: 0 0 12px; color: var(--muted); font-size: 11px; }
.role-link { color: var(--primary); font-size: 11px; font-weight: 800; }

.site-footer { margin-top: 62px; background: #f6f4fb; border-top: 1px solid #e8e4f0; padding: 42px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 45px; }
.footer-grid h3 { margin: 0 0 15px; font-size: 14px; }
.footer-grid section > a:not(.brand):not(.store-badge) { display: block; color: #706c7d; font-size: 12px; margin: 6px 0; }
.footer-grid section > a:hover { color: var(--primary); }
.footer-brand p, .app-download p { color: #706c7d; font-size: 12px; max-width: 290px; }
.footer-logo .brand-word { font-size: 34px; }
.socials { display: flex; gap: 8px; margin-top: 15px; }
.socials a { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: #fff; color: #70698a; border: 1px solid #e7e3ef; font-size: 10px; font-weight: 800; }
.store-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #dfdae9; border-radius: 12px; padding: 8px 12px; font-size: 11px; }
.footer-bottom { min-height: 64px; border-top: 1px solid #e4e0eb; margin-top: 34px; display: flex; justify-content: space-between; align-items: center; color: #8d8998; font-size: 11px; }
.mobile-bottom-nav { display: none; }

/* Inner pages */
.page-hero { padding: 54px 0 42px; background: linear-gradient(110deg, #eee8ff, #fff 62%); border-bottom: 1px solid #ebe6f5; }
.page-hero h1 { margin: 0 0 8px; font-size: 37px; }
.page-hero p { margin: 0; color: var(--muted); }
.filter-bar { margin-top: -24px; position: relative; z-index: 3; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 14px; display: flex; gap: 10px; align-items: center; }
.filter-bar input, .filter-bar select { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #faf9fd; outline: 0; padding: 8px 13px; color: var(--ink); }
.filter-bar input { flex: 1; }
.page-content { padding: 44px 0; }
.empty-state { text-align: center; background: #fff; border: 1px dashed #dcd5ee; border-radius: 20px; padding: 50px 20px; }

/* Store page */
.store-cover { min-height: 260px; padding: 34px 0; background: linear-gradient(100deg, rgba(35,25,49,.78), rgba(97,61,141,.25)), url('../images/store-boutique.jpg') center/cover; color: #fff; }
.store-cover-inner { min-height: 190px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.store-identity { display: flex; align-items: center; gap: 18px; }
.store-logo { width: 82px; height: 82px; display: flex; align-items: center; justify-content: center; border-radius: 23px; background: rgba(255,255,255,.93); color: var(--primary); font-size: 28px; font-weight: 900; box-shadow: 0 15px 30px rgba(0,0,0,.16); }
.store-identity h1 { margin: 0; font-size: 34px; }
.store-identity p { margin: 4px 0 0; color: rgba(255,255,255,.83); }
.store-stats { display: flex; gap: 10px; }
.store-stat { min-width: 100px; padding: 12px; text-align: center; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); }
.store-stat strong { display: block; font-size: 17px; }
.store-stat span { font-size: 10px; color: rgba(255,255,255,.78); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: .2s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.product-card img { width: 100%; height: 175px; object-fit: cover; }
.product-body { padding: 15px; }
.product-body h3 { margin: 0 0 8px; font-size: 14px; }
.price { font-weight: 900; color: #2c2938; font-size: 13px; }
.old-price { margin-right: 6px; color: #aaa5b2; font-size: 10px; text-decoration: line-through; }
.product-actions { margin-top: 13px; display: flex; gap: 8px; }
.product-actions form { flex: 1; }

/* Auth */
.auth-page { min-height: calc(100vh - 76px); padding: 55px 0; background: linear-gradient(120deg, rgba(244,240,255,.94), rgba(255,255,255,.95)), url('../images/lavender-bg.jpg') center/cover; }
.auth-layout { min-height: 580px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid rgba(225,219,239,.9); border-radius: 30px; background: rgba(255,255,255,.92); box-shadow: 0 30px 80px rgba(69,48,127,.16); }
.auth-art { padding: 55px; position: relative; background: linear-gradient(145deg, #eee8ff, #faf8ff); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.auth-art::before { content:""; position:absolute; width:410px; height:410px; left:-190px; bottom:-220px; border-radius:50%; border:1px solid rgba(112,70,238,.14); box-shadow:0 0 0 60px rgba(112,70,238,.04),0 0 0 120px rgba(112,70,238,.025); }
.auth-art img { width: 440px; max-width: 100%; margin: 0 auto -8px; filter: drop-shadow(0 20px 26px rgba(79,55,143,.14)); }
.auth-art h2 { margin: 0 0 8px; font-size: 29px; }
.auth-art p { margin: 0; color: var(--muted); max-width: 480px; }
.auth-card { padding: 58px; display: flex; flex-direction: column; justify-content: center; }
.auth-card .brand { margin-bottom: 28px; align-self: flex-start; }
.auth-card h1 { margin: 0 0 7px; font-size: 30px; }
.auth-card > p { margin: 0 0 25px; color: var(--muted); font-size: 13px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; }
.form-control { width: 100%; min-height: 48px; border-radius: 13px; border: 1px solid #e2deeb; background: #faf9fd; padding: 10px 14px; outline: 0; transition: .2s; }
.form-control:focus { border-color: #b9a8fa; background: #fff; box-shadow: 0 0 0 4px rgba(113,71,238,.08); }
.form-hint { color: var(--muted); font-size: 10px; margin-top: 5px; }
.alert { border-radius: 13px; padding: 11px 13px; margin-bottom: 16px; display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
.alert-error { color: #ad2941; background: #fff0f3; border: 1px solid #ffd3dc; }
.alert-success { color: #1c7b48; background: #eefaF3; border: 1px solid #c9eed8; }
.demo-accounts { margin-top: 22px; padding: 15px; border: 1px dashed #d8cff5; border-radius: 15px; background: #faf8ff; }
.demo-accounts strong { display: block; margin-bottom: 7px; font-size: 11px; }
.demo-accounts code { display: block; direction: ltr; text-align: left; color: #6e55ba; font-size: 10px; line-height: 1.8; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.cart-card, .cart-summary { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 15px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f0edf5; }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 92px; height: 70px; object-fit: cover; border-radius: 13px; }
.cart-summary { align-self: start; position: sticky; top: 98px; }
.summary-line { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; color: var(--muted); font-size: 12px; }
.summary-line.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 15px; color: var(--ink); font-weight: 900; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 12px; }
  .header-search { width: 205px; }
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .app-download { display: none; }
}

@media (max-width: 920px) {
  body { padding-bottom: 66px; }
  .site-header { position: sticky; }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand-word { font-size: 31px; }
  .main-nav { display: none; position: absolute; top: 64px; right: 17px; left: 17px; padding: 13px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; gap: 0; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 12px; border-radius: 10px; }
  .main-nav a::after { display: none; }
  .main-nav a.active { background: var(--primary-4); }
  .header-search { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-search-wrap { display: block; }
  .mobile-search { width: 100%; }
  .header-actions .btn { padding-inline: 12px; font-size: 11px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { text-align: center; padding: 34px 0 0; }
  .hero p { margin-inline: auto; font-size: 14px; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: 270px; }
  .hero-visual img { height: 310px; width: auto; transform: translateY(25px); }
  .category-dock { margin-top: 0; padding-top: 13px; background: #fff; }
  .category-row { grid-template-columns: repeat(7, minmax(92px, 1fr)); overflow-x: auto; border-radius: 0; box-shadow: none; border-right: 0; border-left: 0; padding-inline: 17px; scrollbar-width: none; }
  .category-row::-webkit-scrollbar { display: none; }
  .category-item { flex-direction: column; gap: 5px; border: 0; min-height: 80px; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: 1fr; }
  .role-card { min-height: 165px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-grid section:nth-child(4) { display: none; }
  .mobile-bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 120; height: 66px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #e4e0ec; background: rgba(255,255,255,.96); backdrop-filter: blur(15px); box-shadow: 0 -8px 25px rgba(55,39,106,.08); }
  .mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #8b8698; font-size: 9px; }
  .mobile-bottom-nav a.active { color: var(--primary); }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-card { min-height: 570px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .store-cover-inner { align-items: flex-start; flex-direction: column; justify-content: end; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .header-inner { width: calc(100% - 24px); }
  .header-actions .btn svg { display: none; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 12px; }
  .hero-copy { padding-top: 25px; }
  .hero-visual { height: 225px; }
  .hero-visual img { height: 265px; }
  .floating-badge { display: none; }
  .section { padding-top: 29px; }
  .section-head h2 { font-size: 19px; }
  .section-head p { display: none; }
  .featured-grid { display: flex; overflow-x: auto; margin-inline: -12px; padding-inline: 12px; gap: 10px; scrollbar-width: none; }
  .featured-grid::-webkit-scrollbar { display: none; }
  .featured-card { min-width: 205px; }
  .showcase-grid { display: flex; overflow-x: auto; margin-inline: -12px; padding-inline: 12px; gap: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .showcase-grid::-webkit-scrollbar { display:none; }
  .showcase-card { min-width: 82%; scroll-snap-align: center; }
  .showcase-image { height: 150px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .service-card { flex-direction: column; align-items: flex-start; gap: 7px; }
  .service-card .category-icon { width: 40px; height: 40px; }
  .login-strip { grid-template-columns: auto 1fr; padding: 14px; }
  .login-strip .btn { grid-column: 1 / -1; width: 100%; }
  .login-strip p { font-size: 9px; }
  .role-card { grid-template-columns: 1fr 1.05fr; min-height: 140px; }
  .role-copy { padding: 14px; }
  .role-copy h3 { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid section:nth-child(4) { display: block; }
  .footer-bottom { margin-bottom: 0; flex-direction: column; justify-content: center; gap: 2px; }
  .page-hero { padding: 35px 0 44px; }
  .page-hero h1 { font-size: 28px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .showcase-grid.inner-grid { display: grid; grid-template-columns: 1fr; overflow: visible; margin: 0; padding: 0; }
  .showcase-grid.inner-grid .showcase-card { min-width: 0; }
  .auth-page { padding: 18px 0; }
  .auth-layout { border-radius: 22px; }
  .auth-card { padding: 32px 23px; min-height: 560px; }
  .auth-card h1 { font-size: 25px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card img { height: 125px; }
  .product-body { padding: 11px; }
  .product-actions { flex-direction: column; }
  .store-cover { min-height: 315px; }
  .store-identity { align-items: flex-start; }
  .store-logo { width: 66px; height: 66px; border-radius: 18px; }
  .store-identity h1 { font-size: 25px; }
  .store-stats { width: 100%; }
  .store-stat { flex: 1; min-width: 0; }
  .cart-row { grid-template-columns: 70px 1fr; }
  .cart-row > :last-child { grid-column: 2; }
}

.footer-domain{display:inline-flex;margin-top:10px;color:var(--primary);font-weight:800;direction:ltr}


/* ===== Hajiabad localization build v2 ===== */
.locality-banner{background:linear-gradient(90deg,#6f3ff5,#8c62ff);color:#fff;font-size:13px}
.locality-banner .container{min-height:36px;display:flex;align-items:center;justify-content:center;gap:12px;text-align:center}
.locality-banner strong{font-weight:800}
.locality-banner span{opacity:.9}
.brand-local{display:flex!important;align-items:center;gap:9px}
.brand-mark{display:inline-flex;align-items:center;position:relative}
.brand-location{font-size:11px;font-weight:800;color:#6f3ff5;background:#f1ebff;border:1px solid #dfd2ff;padding:4px 8px;border-radius:999px;white-space:nowrap}
.hero-city{color:#6f3ff5;white-space:nowrap}
.city-proof{display:inline-flex;align-items:center;gap:7px;color:#5c38c9;background:#f4efff;border:1px solid #e2d7ff;border-radius:999px;padding:8px 13px;font-size:13px;font-weight:800;margin:4px 0 14px}
.build-label{display:inline-flex;align-items:center;background:#f1ebff;color:#6341c8;border-radius:999px;padding:4px 9px;font-size:10px;margin-inline-start:8px}
@media (max-width: 768px){
  .locality-banner .container{min-height:32px;font-size:11px;gap:5px;flex-direction:column;padding:4px 14px}
  .locality-banner span{display:none}
  .brand-location{font-size:9px;padding:3px 6px}
  .build-label{display:none}
}
