@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root,[data-theme="dark"]{
  color-scheme: dark;
  --bg: #0b1220;
  --surface: #111827;
  --surface-2: #1f2937;
  --muted: #94a3b8;
  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.4);
  --danger: #ef4444;
  --success: #22c55e;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --card-border: rgba(148, 163, 184, 0.12);
  --nav-bg: rgba(15, 23, 42, 0.92);
  --nav-border: rgba(148, 163, 184, 0.35);
  --nav-glow: rgba(255, 255, 255, 0.07);
  --nav-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  --nav-item: rgba(148, 163, 184, 0.7);
  --nav-hover: rgba(255, 255, 255, 0.08);
  --chip-bg: rgba(15, 23, 42, 0.7);
  --overlay-start: rgba(15, 23, 42, 0);
  --overlay-mid: rgba(15, 23, 42, 0.85);
  --overlay-end: rgba(15, 23, 42, 0.97);
  --banner-bg: rgba(15, 23, 42, 0.92);
  --toast-bg: rgba(15, 23, 42, 0.88);
  --hero-glow: rgba(59, 130, 246, 0.25);
  --btn-ghost-bg: rgba(148, 163, 184, 0.15);
  --btn-ghost-color: #fff;
  --stock-bg: rgba(15, 23, 42, 0.6);
  --input-bg: #0f172a;
  --input-border: rgba(148, 163, 184, 0.35);
}
[data-theme="light"]{
  color-scheme: light;
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-2: #e2e8f0;
  --muted: #64748b;
  --text: #0f172a;
  --text-secondary: #475569;
  --accent: #2563eb;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --danger: #dc2626;
  --success: #16a34a;
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --card-border: rgba(0, 0, 0, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.88);
  --nav-border: rgba(0, 0, 0, 0.12);
  --nav-glow: rgba(255, 255, 255, 0.9);
  --nav-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  --nav-item: #64748b;
  --nav-hover: rgba(0, 0, 0, 0.05);
  --chip-bg: rgba(255, 255, 255, 0.85);
  --overlay-start: rgba(241, 245, 249, 0);
  --overlay-mid: rgba(241, 245, 249, 0.88);
  --overlay-end: rgba(241, 245, 249, 0.97);
  --banner-bg: rgba(255, 255, 255, 0.92);
  --toast-bg: rgba(255, 255, 255, 0.92);
  --hero-glow: rgba(37, 99, 235, 0.12);
  --btn-ghost-bg: rgba(0, 0, 0, 0.06);
  --btn-ghost-color: var(--text);
  --stock-bg: rgba(241, 245, 249, 0.7);
  --input-bg: #ffffff;
  --input-border: rgba(148, 163, 184, 0.75);
}
*{
  box-sizing: border-box;
}
html{
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body{
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: "Vazirmatn", "Tahoma", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
  position: relative;
}
img,video{
  max-width: 100%;
  height: auto;
}
a{
  color: inherit;
  text-decoration: none;
}
.app-shell{
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding-top: 66px;
  padding-bottom: max(120px, calc(120px + env(safe-area-inset-bottom, 0px)));
}
.app-shell--enamad{
  padding-bottom: 200px;
}
.shop-topbar{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 45;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 8px max(12px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}
.shop-topbar__brand{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}
.shop-topbar__brand img,.shop-topbar__logo-fallback{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--card-border);
}
.shop-topbar__logo-fallback{
  display: grid;
  place-items: center;
  background: var(--surface-2);
  font-weight: 800;
}
.shop-topbar__brand strong{
  font-size: 13px;
  max-width: 54vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-topbar__actions{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.shop-topbar__menu{
  display: none;
  align-items: center;
  gap: 14px;
}
.shop-topbar__menu a{
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 0;
}
.shop-topbar__menu a:hover{
  color: var(--text);
}
.shop-topbar__icon-btn--search svg{
  display: block;
}
.shop-topbar__icon-btn{
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 16px;
}
button.shop-topbar__icon-btn{
  font: inherit;
  color: var(--text);
  cursor: pointer;
  padding: 0;
}
.shop-topbar__badge{
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: #b91c1c;
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
  padding: 0 3px;
}
.site-footer--trust{
  margin-top: 20px;
  padding: 18px max(14px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)) 10px;
  border-top: 1px solid var(--card-border);
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface-2) 55%, transparent));
}
.enamad-trust{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.enamad-trust__link{
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.enamad-trust__link:hover,.enamad-trust__link:focus-visible{
  opacity: 0.92;
  transform: scale(1.02);
}
.enamad-trust__img{
  display: block;
  max-width: 125px;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
}
.hero{
  padding: 16px 16px 14px;
  background: radial-gradient(circle at top right, var(--hero-glow), transparent 55%);
  border-bottom: 1px solid var(--card-border);
}
.hero.hero--compact{
  padding: 10px 16px 12px;
}
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-slideshow{
  position: relative;
  width: 100%;
  margin: 14px 0 0;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  touch-action: pan-y;
  user-select: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.hero-slideshow__stage{
  position: relative;
  overflow: hidden;
}
.hero-slideshow__track{
  display: flex;
  will-change: transform;
}
.hero-slideshow__slide{
  flex: 0 0 100%;
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  text-decoration: none;
}
.hero-slideshow__slide--static{
  cursor: default;
  color: inherit;
}
.hero-slideshow__slide--static:hover .hero-slideshow__img{
  transform: none;
}
.hero-slideshow__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  transition: transform 0.5s ease;
}
.hero-slideshow__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.08) 100%
  );
}
.hero-slideshow__content{
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-slideshow__badge{
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 6px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.hero-slideshow__name{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-slideshow__price{
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.hero-slideshow__price-wrap{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-slideshow__price--sale{
  font-size: 16px;
  font-weight: 700;
  color: #fca5a5;
}
.hero-slideshow__price-original{
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: line-through;
}
.hero-slideshow__disc{
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(239,68,68,0.25);
  color: #fca5a5;
  font-size: 11px;
  font-weight: 700;
  direction: ltr;
}
.hero-slideshow__cta{
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  margin-top: 2px;
  transition: background 0.2s;
}
.hero-slideshow__slide:hover .hero-slideshow__cta{
  background: rgba(255,255,255,0.25);
}
a.hero-slideshow__cta--link{
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.hero-slideshow__cta--link:hover{
  background: rgba(255,255,255,0.25);
}
.hero-slideshow__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.hero-slideshow__arrow:hover{ background: rgba(0,0,0,0.6); }
.hero-slideshow__arrow--prev{ right: 8px; }
.hero-slideshow__arrow--next{ left: 8px; }
.hero-slideshow__dots{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px 10px;
  background: #111;
  z-index: 10;
}
.hero-slideshow__dot{
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hero-slideshow__dot::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transform: translate(-50%, -50%);
  transition: background 0.2s, width 0.2s, border-radius 0.2s;
}
.hero-slideshow__dot--active::after{
  width: 22px;
  border-radius: 4px;
  background: #fff;
}
@media (min-width: 640px) {.hero-slideshow{
    width: 100%;
    margin: 16px 0 0;
    border-radius: 20px;
  }
.hero-slideshow__slide{ height: 400px; }
.hero-slideshow__name{ font-size: 22px; }}
@media (min-width: 1024px) {.hero-slideshow{
    max-width: 900px;
    margin: 20px auto 0;
  }
.hero-slideshow__slide{ height: 460px; }
.hero-slideshow__name{ font-size: 26px; }}
.hero-slideshow.home-section{
  box-sizing: border-box;
  padding-inline: 0;
  margin-inline: max(14px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  width: auto;
  max-width: 100%;
}
@media (min-width: 640px) {.hero-slideshow.home-section{
    margin-inline: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }}
@media (min-width: 900px) {.hero-slideshow.home-section{
    margin-inline: auto;
    max-width: min(900px, calc(100% - 2 * max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px))));
  }}
@media (min-width: 1024px) {.hero-slideshow.home-section{
    max-width: 900px;
  }}
#shop-search{
  scroll-margin-top: 76px;
}
.catalog-search-dock{
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  z-index: 5;
  background: var(--surface);
  border-bottom: 1px solid var(--card-border);
  overflow-x: hidden;
}
.catalog-search-dock:not(.catalog-search-dock--open){
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  left: 0;
  top: 0;
  pointer-events: none;
}
.catalog-search-dock.catalog-search-dock--open{
  position: relative;
  left: auto;
  top: auto;
  padding: 10px 16px 12px;
  pointer-events: auto;
}
.shop-public-banner{
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.shop-public-banner__inner{
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.shop-public-banner__line{
  display: block;
}
.search-box{
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon-wrap{
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  max-width: 22px;
  min-height: 22px;
  max-height: 22px;
  color: var(--muted);
  pointer-events: none;
  flex-shrink: 0;
}
.search-icon-wrap .search-icon{
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  min-height: 18px;
  max-height: 18px;
  display: block;
}
.search-box input{
  width: 100%;
  min-width: 0;
  flex: 1 1 0;
  padding: 12px 42px 12px 40px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--surface);

  color: #f8fafc;
  -webkit-text-fill-color: #f8fafc;
  caret-color: var(--accent);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
[data-theme="light"] .search-box input{
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
}
.search-box input::placeholder{
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
  opacity: 1;
  font-size: 13px;
}
.search-box input:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.search-clear{
  position: absolute;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.search-clear:hover{
  color: var(--text);
}
.search-clear svg{
  width: 14px;
  height: 14px;
}
.view-toggle{
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  padding-top: 8px;
}
.view-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.view-btn svg{
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.view-btn.active{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.view-btn:hover:not(.active){
  border-color: var(--accent);
  color: var(--text);
}
.hidden{
  display: none !important;
}
.catalog{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 12px 20px 30px;
}
.product-card{
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover{
  transform: translateY(-2px);
}
.chip{
  position: absolute;
  top: 12px;
  right: 12px;
  width: fit-content;
  max-width: calc(50% - 18px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: var(--chip-bg);
}
.chip--in{ color: var(--success); }
.chip--out{ color: var(--danger); }
.chip--special{
  right: auto;
  left: 12px;
  color: #fff;
  background: rgba(220, 38, 38, 0.82);
}
.special-offer-section{
  margin: 18px 0 10px;
}
.home-promo-banners{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.home-promo-banners--wide1 .home-promo-banner-card{

  flex: 0 1 min(100%, calc(2 * clamp(132px, 46vw, 200px) + 10px));
  width: min(100%, calc(2 * clamp(132px, 46vw, 200px) + 10px));
  max-width: 100%;
}
.home-promo-banners--grid4 .home-promo-banner-card{
  flex: 0 1 clamp(132px, 46vw, 200px);
  width: clamp(132px, 46vw, 200px);
  max-width: 100%;
}
.home-promo-banner-card{
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  min-height: 130px;
  border: 1px solid var(--border);
  background: var(--card-bg, rgba(15, 23, 42, 0.2));
}
.home-promo-banner-card img{
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.home-promo-banner-card__title{
  position: absolute;
  right: 8px;
  left: 8px;
  bottom: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 12px;
  background: rgba(2, 6, 23, 0.62);
  color: #fff;
}
.catalog--special{
  margin-top: 0;
}
.product-info{
  padding: 16px 16px 18px;
}
.product-info h3{
  margin: 0 0 8px;
  font-size: 18px;
}
.price{
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--accent);
}
.views{
  color: var(--muted);
  font-size: 12px;
}
.empty-state{
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
}
.product-page{
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 100px;
}
.media-slider{
  position: relative;
  width: 100%;
  flex-shrink: 0;
  background: var(--surface);

}
.media-track{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.media-track::-webkit-scrollbar{
  display: none;
}
.media-item{
  flex: 0 0 100%;
  width: 100%;
  height: clamp(200px, 42vh, 340px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.media-item img{
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
@media (min-width: 768px) and (max-width: 1180px) {.media-item{
    height: clamp(320px, 52vh, 560px);
  }
.media-item img{
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }}
.media-indicators{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 6px 0 2px;
}
.media-indicators .dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--muted);
  opacity: 0.4;
  transition: all 0.3s ease;
  cursor: pointer;
}
.media-indicators .dot.active{
  background: var(--accent);
  opacity: 1;
  width: 20px;
}
.swipe-hint{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  padding: 3px 0 5px;
  transition: opacity 0.4s ease;
}
.swipe-hint svg{
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  opacity: 0.5;
  animation: swipe-nudge 1.8s ease-in-out infinite;
}
@keyframes swipe-nudge {
  0%, 100% { transform: translateX(0); }
  40%       { transform: translateX(-4px); }
  60%       { transform: translateX(4px); }
}
.product-page-badge{
  position: absolute;
  top: 12px;
  width: fit-content;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}
.product-page-badge--special{
  left: 12px;
  background: rgba(220, 38, 38, 0.82);
  color: #fff;
}
.product-page-badge--in{
  right: 12px;
  background: var(--chip-bg);
  color: var(--success);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.product-page-badge--out{
  right: 12px;
  background: var(--chip-bg);
  color: var(--danger);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.media-slider .product-page__fav{
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.62);
  color: transparent;
  font-size: 0;
  cursor: pointer;
}
.product-info{
  padding: 14px 16px 0;
  display: flex;
  flex-direction: column;
}
.product-info__name{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
.product-info__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.product-info__meta span{
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--surface);
  border-radius: 6px;
  padding: 3px 9px;
}
.product-variant-picker{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 12px;
}
.product-variant-picker__row{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}
.product-variant-picker__label{
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.product-variant-picker__options{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
.product-variant-option{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.product-variant-option--text{
  min-width: 36px;
  justify-content: center;
  border-radius: 8px;
  font-weight: 600;
}
.product-variant-option.is-active{
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent);
}
.product-variant-option.is-out-of-stock{
  opacity: 0.65;
}
.product-variant-option.is-out-of-stock .product-variant-option__name::after{
  content: " · ناموجود";
  font-size: 10px;
  color: var(--text-secondary);
}
.product-variant-option.is-disabled,.product-variant-option:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}
.product-variant-option__name{
  white-space: nowrap;
}
.product-color-swatch{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--text) 20%, transparent);
  flex-shrink: 0;
}
.product-color-swatch--text{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  background: var(--bg);
  color: var(--text-secondary);
}
.product-info__price{
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.product-info__price-wrap{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.product-info__price--sale{
  font-size: 22px;
  font-weight: 700;
  color: #ef4444;
}
.product-info__price-original{
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
}
.product-info__discount-badge{
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  font-size: 13px;
  font-weight: 700;
  direction: ltr;
}
.related-card__price-wrap{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.related-card__price--sale{
  color: #ef4444;
  font-weight: 700;
  font-size: 13px;
}
.related-card__price-original{
  font-size: 11px;
  color: var(--muted);
  text-decoration: line-through;
}
.product-info__desc{
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.product-info__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.product-trust-row{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-trust-row span{
  font-size: 11px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--surface);
}
.stock{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--stock-bg);
  width: fit-content;
}
.btn{
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s ease;
}
.btn:active{ opacity: 0.85; }
.btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-primary{
  background: var(--accent);
  color: white;
}
.btn-ghost{
  background: var(--btn-ghost-bg);
  color: var(--btn-ghost-color);
}
.btn-whatsapp{
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.btn-whatsapp:hover{ opacity: 0.88; }
.btn-danger{
  background: var(--danger);
  color: white;
}
.bottom-nav{
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 20px;
  background: var(--nav-bg);
  border: 1.5px solid var(--nav-border);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  box-shadow:
    var(--nav-shadow),
    0 0 0 1px var(--nav-glow) inset;
  z-index: 20;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;

  max-width: calc(100% - 12px);
  box-sizing: border-box;
  overflow-x: auto;
  scrollbar-width: none;
}
.bottom-nav::-webkit-scrollbar{ display: none; }
.bottom-nav a,.bottom-nav button{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 500;
  color: var(--nav-item);
  padding: 8px 14px;
  border-radius: 14px;
  transition: all 0.25s ease;
  position: relative;
  min-width: 52px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.bottom-nav a:hover,.bottom-nav button:hover{
  color: var(--text);
  background: var(--nav-hover);
}
.bottom-nav a.active{
  color: #fff;
  background: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.bottom-nav a.active svg{
  filter: drop-shadow(0 0 4px var(--accent-glow));
}
.bottom-nav svg{
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}
.bottom-nav__icon-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bottom-nav__badge{
  position: absolute;
  top: -5px;
  left: -6px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 3px;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 0 0 2px var(--nav-bg);
}
.bottom-nav a.active .bottom-nav__badge{
  box-shadow: 0 0 0 2px var(--accent);
}
.bottom-nav__about-icon{
  stroke-width: 2;
}
@media (max-width: 899px) and (min-width: 380px) {.bottom-nav{
    gap: 6px;
    padding: 7px 10px;
    border-radius: 22px;
  }
.bottom-nav a,.bottom-nav button{
    font-size: 11px;
    padding: 9px 16px;
    min-width: 56px;
    gap: 3px;
    border-radius: 16px;
  }
.bottom-nav svg{
    width: 22px;
    height: 22px;
  }
.theme-toggle svg{
    width: 22px;
    height: 22px;
  }}
@media (max-width: 899px) and (min-height: 720px) {.bottom-nav a,.bottom-nav button{
    padding: 10px 16px;
  }}
.theme-toggle{
  color: var(--nav-item);
}
.theme-toggle:hover{
  color: var(--text);
  background: var(--nav-hover);
}
.theme-toggle svg{
  width: 20px;
  height: 20px;
}
.theme-toggle .icon-sun,.theme-toggle .icon-moon{ display: none; }
[data-theme="dark"] .theme-toggle .icon-sun{ display: block; }
[data-theme="light"] .theme-toggle .icon-moon{ display: block; }
.install-banner{
  position: fixed;
  right: 16px;
  left: 16px;
  bottom: calc(90px + env(safe-area-inset-bottom));
  background: var(--banner-bg);
  border: 1px solid var(--nav-border);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 30;
}
.install-banner__text{
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.install-banner__actions{
  display: flex;
  gap: 8px;
}
.toast{
  position: fixed;
  top: 16px;
  right: 50%;
  transform: translateX(50%);
  background: var(--toast-bg);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--nav-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 40;
  font-size: 13px;
}
.hidden{
  display: none;
}
.offline{
  display: flex;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.catalog.view-2col{
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px 12px 30px;
}
.catalog.view-2col .product-info{
  padding: 10px 10px 12px;
}
.catalog.view-2col .product-info h3{
  font-size: 13px;
  margin: 0 0 5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog.view-2col .price{
  font-size: 13px;
  margin-bottom: 0;
}
.catalog.view-2col .views{
  font-size: 11px;
}
.catalog.view-2col .chip{
  font-size: 10px;
  padding: 4px 8px;
  top: 6px;
  right: 6px;
}
.catalog.view-2col .chip--special{
  right: auto;
  left: 6px;
}
@media (min-width: 900px) {.catalog{
    grid-template-columns: repeat(2, 1fr);
    max-width: 960px;
    margin: 0 auto;
  }
.catalog.view-2col{
    grid-template-columns: repeat(4, 1fr);
  }
.hero{
    padding: 32px 32px 10px;
  }
.hero.hero--compact{
    padding: 16px 32px 12px;
  }}
.related-section{
  margin: 24px 0 0;
  padding: 0 16px;
}
.related-section__head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.related-section__title{
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  flex: 1;
  min-width: 0;
}
.related-section__all{
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent, #3b82f6);
  text-decoration: none;
  white-space: nowrap;
}
.related-section__all:hover{
  text-decoration: underline;
}
.related-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.related-card{
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.related-card:active{ transform: scale(0.97); }
.related-card__img{
  position: relative;
  height: 110px;
  overflow: hidden;
}
.related-card__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.related-card__info{
  padding: 8px 10px 10px;
}
.related-card__name{
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card__price{
  margin: 0;
  font-size: 11px;
  color: var(--text-secondary);
}
.local-seo{
  margin: 24px 16px calc(24px + var(--nav-h, 72px) + env(safe-area-inset-bottom, 0px));
  padding: 16px;
  border: 1px solid var(--border, rgba(148, 163, 184, 0.25));
  border-radius: 14px;
  background: var(--card, rgba(15, 23, 42, 0.35));
}
.local-seo__nap{
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.local-seo__name{
  font-size: 1.05rem;
  color: var(--text, #f8fafc);
}
.local-seo__row{
  margin: 0;
  font-size: 13px;
  color: var(--muted, #94a3b8);
  line-height: 1.6;
}
.local-seo__label{
  color: var(--text, #e2e8f0);
  font-weight: 600;
  margin-left: 6px;
}
.local-seo__row a{
  color: var(--accent, #3b82f6);
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
}
.local-seo .social-profiles--inline{
  justify-content: flex-start;
  padding: 0 0 12px;
  border: 0;
  margin: 0;
}
.local-seo__map{
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(148, 163, 184, 0.2));
}
.local-seo__map iframe{
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}
.local-seo__map-link{
  display: block;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  color: var(--accent, #3b82f6);
  text-decoration: none;
  background: rgba(59, 130, 246, 0.08);
}
.social-profiles{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  align-items: center;
  padding: 14px 16px calc(14px + var(--nav-h, 72px) + env(safe-area-inset-bottom, 0px));
  margin: 0;
  border-top: 1px solid var(--border, rgba(148, 163, 184, 0.25));
  background: transparent;
}
.social-profiles__link{
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted, #94a3b8);
}
.social-profiles__link:hover,.social-profiles__link:focus-visible{
  color: var(--accent, #3b82f6);
}
.social-profiles__link--instagram:hover,.social-profiles__link--instagram:focus-visible{
  color: #e1306c;
}
.social-profiles__link--whatsapp:hover,.social-profiles__link--whatsapp:focus-visible{
  color: #25d366;
}
.whatsapp-fab{
  position: fixed;
  left: max(20px, env(safe-area-inset-left, 0px));
  bottom: calc(var(--nav-h, 72px) + 16px + env(safe-area-inset-bottom, 0px));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.whatsapp-fab:hover,.whatsapp-fab:focus-visible{
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}
.flash-list{
  margin: 12px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flash{
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid transparent;
}
.flash--success{
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #10b981;
}
.flash--error{
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #ef4444;
}
.flash--warning{
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #f59e0b;
}
.password-field{
  position: relative;
  display: block;
  width: 100%;
}
.password-field > input{
  padding-inline-end: 46px;
  width: 100%;
  box-sizing: border-box;
}
.password-toggle-btn{
  position: absolute;
  inset-inline-end: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.password-toggle-btn:hover{
  color: var(--accent);
  background: rgba(59, 130, 246, 0.12);
}
.cart-qty-stepper:focus-within{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.captcha-img{
  width: 170px;
  max-width: 100%;
  height: 56px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}
.status{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
}
.nav-badge{
  position: absolute;
  top: 2px;
  inset-inline-end: 6px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #b91c1c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  padding: 0 4px;
}
.product-cart-form{
  display: inline-flex;
}
.bundle-purchase-box{
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 16px;
  margin: 0 0 20px;
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bundle-purchase-box__prices{
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.bundle-purchase-box__price{
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}
.bundle-purchase-box__original{
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: line-through;
}
.bundle-purchase-box__discount-badge{
  font-size: 12px;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border-radius: 20px;
  padding: 2px 10px;
}
.bundle-purchase-box__saving{
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}
.bundle-purchase-box__btn{
  align-self: stretch;
}
.cart-qty-form{
  display: inline-flex;
  align-items: center;
}
.cart-qty-stepper{
  display: inline-flex;
  flex-direction: row;
  align-items: stretch;
  direction: ltr;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--input-bg);
  max-width: 100%;
}
.cart-qty-display{
  display: inline-block;
  font-family: "Vazirmatn", "Tahoma", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  unicode-bidi: plaintext;
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-font-smoothing: antialiased;
}
[data-theme="light"] .cart-qty-display{
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}
html[data-theme="light"] .cart-qty-display[style]{
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}
.empty-state{
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}
.empty-state p{
  margin-bottom: 14px;
  font-size: 14px;
}
.page-wrap{
  max-width: 540px;
  margin: 0 auto;
  padding: 16px 16px 100px;
}
.page-wrap--shop-browse{
  max-width: min(920px, 100%);
}
.page-section-header{
  margin-bottom: 18px;
}
.page-back-link{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 8px;
}
.page-back-link svg{ width: 16px; height: 16px; }
.page-section-header h1{
  margin: 0;
  font-size: 20px;
}
.profile-form__field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profile-form__field label{
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.profile-form__field input,.profile-form__field textarea,.profile-form__field select{
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}
.profile-form__field input[type="file"]{
  padding: 8px 12px;
  cursor: pointer;
}
.profile-form__field input:focus,.profile-form__field textarea:focus,.profile-form__field select:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.city-picker{
  position: relative;
}
.city-suggestions{
  display: none;
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.city-suggestions--open{
  display: block;
}
.city-suggestions__item{
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: right;
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
}
.city-suggestions__item:hover,.city-suggestions__item.is-active{
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.profile-form__field--city input[disabled]{
  opacity: 0.65;
}
.home-stock-filter-sentinel{
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}
.home-stock-filter-wrap{
  margin-top: 14px;
  padding: 10px max(14px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)) 12px;
  box-sizing: border-box;
}
.home-stock-filter-wrap.is-fixed{
  position: fixed;
  top: var(--home-stock-filter-top, 58px);
  left: 0;
  right: 0;
  z-index: 40;
  margin-top: 0;
  background: color-mix(in srgb, var(--bg, var(--surface)) 96%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.home-stock-filter{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.home-stock-filter__label{
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}
.home-stock-filter__chips{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.home-stock-filter__chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.home-stock-filter__chip:hover{
  border-color: var(--accent);
  color: var(--text);
}
.home-stock-filter__chip.is-active{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.home-stock-filter-empty{
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--card-border);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.home-section.is-home-stock-section-empty .shop-grid--h-scroll{
  display: none;
}
.home-section-stock-empty{
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--card-border);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.home-section__filter-hint{
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.shop-grid--h-scroll > .product-card.is-home-stock-hidden,.shop-grid--h-scroll > .home-see-all-card.is-home-stock-hidden{
  display: none !important;
}
@media (min-width: 900px) {.home-stock-filter-wrap{
    padding-inline: max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    max-width: 960px;
    margin-inline: auto;
  }
.home-stock-filter-wrap.is-fixed{
    left: 0;
    right: 0;
    max-width: none;
    margin-inline: 0;
    padding-inline: max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }
.home-stock-filter-wrap.is-fixed .home-stock-filter,.home-stock-filter-wrap.is-fixed .home-stock-filter-empty{
    max-width: 960px;
    margin-inline: auto;
  }}
.collection-stock-filter-wrap{
  margin: 0 0 14px;
}
.collection-stock-filter-wrap .home-stock-filter-empty{
  margin-top: 8px;
}
.page-wrap .collection-stock-filter{
  width: 100%;
}
@media (min-width: 900px) {.page-wrap .collection-stock-filter-wrap{
    max-width: 960px;
    margin-inline: auto;
  }}
.home-section{
  margin-top: 18px;
  box-sizing: border-box;
  padding-inline: max(14px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}
.home-section .shop-grid--h-scroll{
  margin-inline: 0;
  padding-inline: 0;
}
@media (min-width: 900px) {.home-section{
    padding-inline: max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    max-width: 960px;
    margin-inline: auto;
  }}
.shop-section-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
  gap: 8px;
}
.shop-section-head--title-only{
  justify-content: flex-start;
}
.shop-section-head h2{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.shop-section-head a{
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.store-collection-subtitle{
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 13px;
}
.shop-category-filters{
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface, rgba(255, 255, 255, 0.04));
}
.shop-category-filters__row{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.shop-category-filters__field{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: min(100%, 200px);
  flex: 1 1 160px;
}
.shop-category-filters__label{
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.shop-category-filters__select{
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg, #111);
  color: var(--text);
  font-size: 14px;
}
.shop-category-filters__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-inline-start: auto;
}
.shop-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.shop-grid--h-scroll{
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  margin-inline: -2px;
  padding-inline: 2px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.shop-grid--h-scroll > .store-card,.shop-grid--h-scroll > .home-see-all-card{
  flex: none;
  width: clamp(140px, 44vw, 200px);
  max-width: 100%;
  scroll-snap-align: start;
}
.home-see-all-card{
  --ha-muted: var(--text-secondary);

  box-sizing: border-box;
  direction: rtl;
  text-decoration: none;
  cursor: pointer;
  color: var(--ha-muted);
  align-self: stretch;
  min-height: 0;
  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 8px;
  overflow: hidden;

  container-type: inline-size;
  container-name: home-see-all;

  border: 1px solid var(--border);
  border-top-color: var(--success);
  border-right-color: var(--success);
  border-bottom-color: var(--success);
  border-radius: 14px;

  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0)), var(--surface);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
[data-theme="light"] .home-see-all-card{
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.home-see-all-card__stack{
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
@supports (width: 1cqmin) {.home-see-all-card__stack{
    gap: clamp(12px, 12cqmin, 18px);
  }}
.home-see-all-card__graphic{
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.home-see-all-card__illus{
  display: block;
  width: 62px;
  height: auto;
  aspect-ratio: 1;
  color: var(--ha-muted);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    filter 0.2s ease;
}
@supports (width: 1cqi) {.home-see-all-card__illus{
    width: clamp(56px, 48cqi, 78px);
  }}
.home-see-all-card__label{
  margin: 0;
  max-width: 11em;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--ha-muted);
  letter-spacing: -0.02em;
}
@supports (width: 1cqi) {.home-see-all-card__label{
    font-size: clamp(13px, 9.5cqi, 15px);
  }}
.home-see-all-card:hover{
  border-left-color: var(--border);
  border-top-color: color-mix(in srgb, var(--success) 78%, black);
  border-right-color: color-mix(in srgb, var(--success) 78%, black);
  border-bottom-color: color-mix(in srgb, var(--success) 78%, black);
}
.home-see-all-card:hover .home-see-all-card__illus{
  color: color-mix(in srgb, var(--success) 38%, var(--ha-muted));
  transform: scale(1.04);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--success) 28%, transparent));
}
.home-see-all-card:hover .home-see-all-card__label{
  color: color-mix(in srgb, var(--success) 15%, var(--ha-muted));
}
.home-see-all-card:focus-visible{
  outline: 2px solid var(--success);
  outline-offset: 2px;
}
.store-card{
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0)), var(--surface);
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
  container-type: inline-size;
  container-name: store-card;
}
.store-card__media-wrap{
  position: relative;
}
.store-card__media{
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0b1220;
}
.store-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.25s ease;
}
.store-card:hover .store-card__media img{
  transform: scale(1.03);
}
.store-card__chip{
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
}
.store-card__chip--special{
  right: auto;
  left: 8px;
  background: rgba(239, 68, 68, 0.88);
  border-color: rgba(255,255,255,0.28);
}
.store-card__chip--in{
  background: rgba(22, 163, 74, 0.86);
}
.store-card__chip--out{
  background: rgba(100, 116, 139, 0.86);
}
.store-card__media-wrap .store-card__fav{
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.62);
  color: transparent;
  font-size: 0;
  cursor: pointer;
}
.store-card__fav::before{
  content: "♡";
  color: #e2e8f0;
  font-size: 17px;
  line-height: 1;
}
.store-card__fav.is-active::before{
  content: "♥";
  color: #ef4444;
}
.store-card__body{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  min-width: 0;
}
.store-card__name{
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-card__meta{
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-card__price-wrap{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.store-card__price{
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}
.store-card__price--sale{
  color: #22c55e;
}
.store-card__price-original{
  color: var(--muted);
  font-size: 12px;
  text-decoration: line-through;
}
.store-card__discount{
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #ef4444;
  padding: 3px 7px;
  border-radius: 999px;
}
.store-card__actions{
  margin-top: 2px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.store-card__actions .btn{
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 6px;
  font-size: 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
@container store-card (max-width: 280px) {.store-card__actions{
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }
.store-card__actions .btn{
    flex: none;
    width: 100%;
    padding: 7px 8px;
    font-size: 11px;
  }}
@supports not (container-type: inline-size) {@media (max-width: 420px) {.store-card__actions{
      flex-direction: column;
      align-items: stretch;
      gap: 5px;
    }
.store-card__actions .btn{
      flex: none;
      width: 100%;
      padding: 7px 8px;
      font-size: 11px;
    }}}
.category-tiles{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.category-tiles.category-tiles--browse-all{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  margin-inline: 0;
  padding-inline: 0;
  padding-bottom: 0;
}
.category-tiles.category-tiles--browse-all .category-tile{
  width: auto;
  max-width: none;
  min-height: 118px;
  scroll-snap-align: unset;
}
@media (min-width: 480px) {.category-tiles.category-tiles--browse-all{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (min-width: 900px) {.category-tiles.category-tiles--browse-all{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
.category-tiles.category-tiles--browse-all .category-tile{
    min-height: 132px;
  }}
.category-tiles.category-tiles--home-eight{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  margin-inline: 0;
  padding-inline: 0;
  padding-bottom: 0;
}
.category-tiles.category-tiles--home-eight .category-tile{
  width: auto;
  max-width: none;
  min-height: 104px;
  scroll-snap-align: unset;
}
.category-tiles.category-tiles--home-eight .category-tile__content{
  min-height: 104px;
  padding: 8px 6px;
}
.category-tiles.category-tiles--home-eight .category-tile__content strong{
  font-size: 12px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-tiles.category-tiles--home-eight .category-tile__content small{
  font-size: 10px;
}
.category-tiles.category-tiles--home-eight .category-tile__icon{
  font-size: 16px;
}
.category-tiles.category-tiles--home-eight .home-see-all-card{
  width: 100%;
  min-width: 0;
  min-height: 104px;
  border-radius: 14px;
  align-self: stretch;
}
.category-tiles.category-tiles--home-eight .home-see-all-card .home-see-all-card__stack{
  gap: 8px;
}
.category-tiles.category-tiles--home-eight .home-see-all-card .home-see-all-card__illus{
  width: 44px;
}
.category-tiles.category-tiles--home-eight .home-see-all-card .home-see-all-card__label{
  font-size: 12px;
  max-width: 100%;
}
.category-tile{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  min-height: 130px;
  color: #fff;
  text-decoration: none;
}
.category-tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  inset: 0;
}
.category-tile__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.2), rgba(2,6,23,0.82));
}
.category-tile__content{
  position: relative;
  z-index: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 130px;
  gap: 4px;
}
.category-tile__icon{
  font-size: 20px;
}
.category-tile__content strong{
  font-size: 14px;
}
.category-tile__content small{
  color: #cbd5e1;
  font-size: 11px;
}
.brand-strip{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.brand-pill{
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-pill span{
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}
.brand-pill small{
  color: var(--text-secondary);
  font-size: 11px;
}
.bundle-cards-strip{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 640px) {.bundle-cards-strip{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (min-width: 1024px) {.bundle-cards-strip{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
.bundle-home-card{
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.bundle-home-card:hover,.bundle-home-card:focus-visible{
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.bundle-home-card__icon{
  color: var(--accent);
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}
.bundle-home-card__name{
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.bundle-home-card__count{
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}
.bundle-home-card__desc{
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.5;
}
body.catalog-search-modal-open{
  overflow: hidden;
  touch-action: none;
}
:root{
  --catalog-search-modal-top: 132px;
}
.catalog-search-modal{
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--catalog-search-modal-top) 12px 24px;
  box-sizing: border-box;
  pointer-events: none;
}
.catalog-search-modal.hidden{
  display: none;
}
.catalog-search-modal__backdrop{
  position: fixed;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--catalog-search-modal-top);
  background: rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}
.catalog-search-modal__dialog{
  position: relative;
  z-index: 1;
  pointer-events: auto;
  flex-shrink: 0;
  width: min(94vw, 440px);
  max-height: min(72vh, 520px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.catalog-search-modal__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.catalog-search-modal__title{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.catalog-search-modal__close{
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.catalog-search-modal__close:hover{
  background: var(--nav-hover);
}
.catalog-search-modal__list{
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 8px 12px;
}
.catalog-search-modal__row{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  margin-bottom: 4px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.catalog-search-modal__row:last-child{
  margin-bottom: 0;
}
.catalog-search-modal__row:hover,.catalog-search-modal__row:focus-visible{
  background: var(--surface-2);
  border-color: var(--card-border);
}
.catalog-search-modal__thumb{
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.catalog-search-modal__row-body{
  min-width: 0;
  flex: 1;
}
.catalog-search-modal__row-title{
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  color: var(--text);
}
.catalog-search-modal__row-meta{
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.catalog-search-modal__row-price{
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}
.catalog-search-modal__empty{
  margin: 0;
  padding: 20px 16px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.quick-view-modal{
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}
.quick-view-modal.hidden{
  display: none;
}
.quick-view-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.quick-view-modal__card{
  position: relative;
  z-index: 1;
  width: min(92vw, 420px);
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 14px;
  display: grid;
  gap: 8px;
}
.quick-view-modal__close{
  position: absolute;
  top: 8px;
  left: 8px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}
.quick-view-modal__img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.quick-view-modal__card h3{
  margin: 0;
  font-size: 16px;
  color: var(--text);
}
.quick-view-modal__card p{
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
}
.quick-view-modal__card strong{
  color: #22c55e;
  font-size: 15px;
}
.quick-view-modal__card span{
  color: var(--text-secondary);
  font-size: 13px;
}
.catalog .shop-section-head{
  grid-column: 1 / -1;
}
@media (min-width: 900px) {.app-shell{
    padding-top: 74px;
  }
.shop-topbar{
    height: 64px;
    padding: 8px 22px;
  }
.shop-topbar__brand strong{
    max-width: none;
    font-size: 14px;
  }
.shop-topbar__menu{
    display: inline-flex;
  }
.product-page{
    padding-bottom: 120px;
  }
.shop-grid:not(.shop-grid--h-scroll){
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
.shop-grid--h-scroll > .store-card,.shop-grid--h-scroll > .home-see-all-card{
    width: clamp(160px, 22vw, 220px);
  }
.category-tiles:not(.category-tiles--h-scroll):not(.category-tiles--home-eight):not(.category-tiles--browse-all){
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
.category-tiles.category-tiles--home-eight{
    gap: 10px;
  }
.category-tiles.category-tiles--home-eight .category-tile,.category-tiles.category-tiles--home-eight .category-tile__content{
    min-height: 128px;
  }
.category-tiles.category-tiles--home-eight .category-tile__content{
    padding: 12px;
  }
.category-tiles.category-tiles--home-eight .category-tile__content strong{
    font-size: 14px;
  }
.category-tiles.category-tiles--home-eight .category-tile__content small{
    font-size: 11px;
  }
.category-tiles.category-tiles--home-eight .category-tile__icon{
    font-size: 20px;
  }
.category-tiles.category-tiles--home-eight .home-see-all-card{
    min-height: 128px;
  }
.category-tiles.category-tiles--home-eight .home-see-all-card .home-see-all-card__illus{
    width: 52px;
  }
.category-tiles.category-tiles--home-eight .home-see-all-card .home-see-all-card__label{
    font-size: 14px;
  }
.brand-strip{
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }}
.lux-promo-modal{
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s ease, visibility 0.38s ease;
}
.lux-promo-modal.lux-promo-modal--open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.lux-promo-open{
  overflow: hidden;
}
.lux-promo-modal__backdrop{
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(15, 23, 42, 0.55), rgba(2, 6, 23, 0.88));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lux-promo-modal__shell{
  position: relative;
  max-width: 420px;
  width: 100%;
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}
.lux-promo-modal.lux-promo-modal--open .lux-promo-modal__shell{
  transform: translateY(0) scale(1);
  opacity: 1;
}
.lux-promo-modal__glow{
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.55),
    rgba(244, 63, 94, 0.35),
    rgba(99, 102, 241, 0.45)
  );
  filter: blur(12px);
  opacity: 0.75;
  z-index: 0;
}
.lux-promo-modal__card{
  position: relative;
  z-index: 1;
  border-radius: 20px;
  padding: 26px 22px 20px;
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.97), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.lux-promo-modal__close{
  position: absolute;
  top: 10px;
  left: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lux-promo-modal__close:hover{
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}
.lux-promo-modal__badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.lux-promo-modal__badge--discount{
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.25), rgba(245, 158, 11, 0.15));
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.lux-promo-modal__badge--product{
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.3), rgba(99, 102, 241, 0.15));
  color: #c7d2fe;
  border: 1px solid rgba(165, 180, 252, 0.35);
}
.lux-promo-modal__title{
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.lux-promo-modal__body{
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}
.lux-promo-modal__body p{
  margin: 0 0 8px;
}
.lux-promo-modal__code-box{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(251, 191, 36, 0.45);
}
.lux-promo-modal__code-label{
  font-size: 11px;
  font-weight: 600;
  color: rgba(252, 211, 77, 0.85);
}
.lux-promo-modal__code{
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fef3c7;
}
.lux-promo-modal__footer{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}
.lux-promo-modal__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s;
}
.lux-promo-modal__btn:active{
  transform: scale(0.98);
}
.lux-promo-modal__btn--ghost{
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.lux-promo-modal__btn--ghost:hover{
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}
.lux-promo-modal__btn--primary{
  background: linear-gradient(135deg, #f59e0b, #ea580c, #c026d3);
  color: #fff;
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.35);
}
.lux-promo-modal__btn--primary:hover{
  box-shadow: 0 12px 32px rgba(234, 88, 12, 0.5);
}
.lux-promo-modal__btn--compact{
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}
.bundle-customize-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
}
.bundle-customize-header__counter{
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 20px;
  padding: 3px 12px;
}
.bundle-customize-progress{
  height: 5px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 18px;
}
.bundle-customize-progress__fill{
  height: 100%;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff));
  border-radius: 3px;
  transition: width .3s ease;
  min-width: 4px;
}
.bundle-customize-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.bundle-customize-card{
  position: relative;
  border: 2px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .1s;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  user-select: none;
}
.bundle-customize-card:hover{
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.bundle-customize-card--selected{
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.bundle-customize-card__check{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
  z-index: 1;
}
.bundle-customize-card--selected .bundle-customize-card__check{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.bundle-customize-card__check svg{
  width: 13px;
  height: 13px;
  opacity: 0;
  transition: opacity .15s;
}
.bundle-customize-card--selected .bundle-customize-card__check svg{ opacity: 1; }
.bundle-customize-card__img{
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--bg);
}
.bundle-customize-card__img--placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.bundle-customize-card__body{
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.bundle-customize-card__name{
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bundle-customize-card__brand{
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.bundle-customize-card__price{
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin: 4px 0 0;
  direction: ltr;
  text-align: right;
}
.bundle-customize-footer{
  position: sticky;
  bottom: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}
.bundle-customize-footer__prices{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bundle-customize-footer__original{
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}
.bundle-customize-footer__badge{
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 20px;
  padding: 2px 8px;
}
.bundle-customize-footer__price{
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.bundle-customize-footer__saving{
  font-size: 12px;
  color: #16a34a;
  margin: 0;
}
.bundle-customize-footer__btn{
  width: 100%;
  min-height: 48px;
}
.bundle-customize-footer__btn:disabled{
  opacity: 0.55;
  cursor: not-allowed;
}
