@import url('https://cdn.jsdelivr.net/npm/vazirmatn@33.003/Vazirmatn-font-face.css');

:root {
  --bg: #080808;
  --bg2: #0f0f0f;
  --card: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.07);
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --glass-strong: rgba(20,20,20,0.75);
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --dim: #5a5a5a;
  --accent: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --header-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  direction: rtl;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Vazirmatn, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ========== Liquid Glass ========== */
.glass {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.glass-strong {
  background: var(--glass-strong);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ========== Header (Tourera floating pill) ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0 !important;
  background: transparent;
  border: none;
  height: 0 !important;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.header-pill {
  width: 100%;
  max-width: 920px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px 6px 16px;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  margin: 11px 0 0 0 !important;
  pointer-events: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: #fff;
  flex-shrink: 0;
  padding-left: 4px;
}
.logo svg {
  width: 26px;
  height: 26px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-desktop a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  position: relative;
  padding: 0;
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-btn:active {
  background: rgba(255,255,255,0.1);
}

.cart-badge {
  position: absolute;
  top: -2px;
  left: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #fff;
  color: #0a0a0a;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 50px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.header-cta:active {
  background: #e8e8e8;
}

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}
.menu-btn span {
  width: 16px;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
  display: block;
}


/* ========== Hero (Lumiere style) ========== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 80px 24px 48px;
  overflow: hidden;
  background: #050505;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  order: 0;
}
.hero-visual img {
  max-height: 480px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}
.hero-text {
  text-align: right;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}
.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: #fff;
}
.hero-text h1 em {
  font-style: italic;
  font-weight: 400;
  color: #c9b896;
}
.hero-text p {
  color: #999;
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 400px;
  line-height: 1.7;
  margin-right: 0;
  margin-left: auto;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  background: #c9b896;
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.hero-cta:active {
  background: #b8a785;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: none;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:active { background: #ddd; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text);
}
.btn-outline:active { background: var(--glass); }
.btn-sm { padding: 9px 16px; font-size: 0.8rem; }
.btn-block { width: 100%; }
.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-size: 1.1rem;
}

/* ========== Sections ========== */
.section {
  padding: 48px 20px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.section-head {
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.section-head p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ========== Product Card (exact iPhone UI structure) ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.product-card .img-box {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: #1a1a1a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .img-box img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}
.product-card .img-box {
  background: #0a0a0a;
}

.product-card .id-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.7rem;
  color: #777;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.product-card .img-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-card .img-actions button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.product-card .img-actions button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.product-card .body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  background: #141414;
}

.product-card .title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f5f5f5;
  margin: 0;
}

.product-card .rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #999;
}
.product-card .stars {
  display: inline-flex;
  gap: 1px;
  color: #f5c518;
}
.product-card .stars svg {
  width: 14px;
  height: 14px;
  fill: #f5c518;
  stroke: none;
}
.product-card .review-count {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #888;
}
.product-card .review-count svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.product-card .price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  gap: 10px;
}
.product-card .prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-card .old-price {
  font-size: 0.8rem;
  color: #777;
  text-decoration: line-through;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-card .discount {
  font-size: 0.72rem;
  color: #aaa;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  padding: 1px 6px;
  border-radius: 4px;
}
.product-card .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.product-card .cart-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.product-card .cart-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.product-card .cart-btn:active {
  background: #e0e0e0;
}

/* ========== Filters ========== */
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}
.filter-chip.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ========== Article cards ========== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.article-card {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.article-card .img-box {
  aspect-ratio: 16/10;
  background: #121212;
}
.article-card .img-box img { width:100%; height:100%; object-fit:cover; }
.article-card .body { padding: 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.article-card .tag { font-size:0.7rem; color:var(--muted); text-transform:uppercase; letter-spacing:1px; }
.article-card h3 { font-size:1.05rem; font-weight:600; line-height:1.4; }
.article-card p { color:var(--muted); font-size:0.85rem; flex:1; }
.article-card .meta { font-size:0.8rem; color:var(--dim); margin-top:6px; }

/* ========== Footer (Datawizz style) ========== */
.site-footer {
  margin-top: auto;
  padding: 24px 20px 24px;
  background: transparent;
  border: none;
}
body.has-bottom-nav .site-footer {
  padding-bottom: calc(24px + 80px + var(--safe-bottom));
}
@media (min-width: 769px) {
  body.has-bottom-nav .site-footer {
    padding-bottom: 24px;
  }
}
.footer-card {
  max-width: 1100px;
  margin: 0 auto;
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 40px 36px 28px;
  position: relative;
  overflow: hidden;
}
.footer-card::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 30%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(120,80,180,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.footer-cta-text {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  max-width: 420px;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-contact-label {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 4px;
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}
.footer-email svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-nav-row a {
  color: #ccc;
  font-size: 0.9rem;
}
.footer-nav-row a:hover { color: #fff; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.footer-brand svg {
  width: 40px;
  height: 40px;
}
.footer-brand span {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: #666;
  position: relative;
  z-index: 1;
}
.footer-bottom a { color: #888; margin-left: 16px; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-card { padding: 28px 20px 20px; border-radius: 20px; }
  .footer-brand span { font-size: 2rem; }
}

/* ========== Category page (app style) ========== */
.cat-search {
  margin-bottom: 20px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.cat-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cat-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  background: #0a0a0a;
}
.cat-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
}
.cat-card p {
  font-size: 0.75rem;
  color: #888;
}
.cat-product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cat-product-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px 14px;
}
.cat-product-row img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: #0a0a0a;
  flex-shrink: 0;
}
.cat-product-row .info { flex: 1; min-width: 0; }
.cat-product-row .name { font-weight: 600; font-size: 0.95rem; }
.cat-product-row .meta { font-size: 0.8rem; color: #888; }
.cat-product-row .price-num { font-weight: 700; margin-top: 2px; }
.cat-add {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0a;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.cat-add svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ========== Auth (sign in card) ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: #080808;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  padding: 36px 28px 32px;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.auth-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.auth-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
}
.auth-card h1 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 6px;
}
.auth-card .sub {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.5;
}
.auth-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  margin-bottom: 12px;
}
.auth-input svg {
  width: 18px;
  height: 18px;
  stroke: #888;
  fill: none;
  stroke-width: 1.7;
  flex-shrink: 0;
}
.auth-input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}
.auth-input input::placeholder { color: #666; }
.auth-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.auth-row a {
  font-size: 0.85rem;
  color: #aaa;
}
.auth-submit {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  color: #0a0a0a;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 20px;
}
.auth-divider {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 16px;
  position: relative;
}
.auth-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.auth-social button {
  width: 52px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #0a0a0a;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.auth-social button svg {
  width: 18px;
  height: 18px;
}
.auth-links {
  text-align: center;
  margin-top: 22px;
  font-size: 0.9rem;
  color: #888;
}
.auth-links a { color: #fff; font-weight: 600; }

/* ========== Accordion FAQ ========== */
.faq-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px;
}
.faq-section h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.faq-section > p {
  color: #888;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acc-item {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
}
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: right;
}
.acc-head svg {
  width: 18px;
  height: 18px;
  stroke: #aaa;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.acc-item.open .acc-head svg {
  transform: rotate(180deg);
}
.acc-body {
  display: none;
  padding: 0 18px 16px;
  color: #999;
  font-size: 0.9rem;
  line-height: 1.7;
}
.acc-item.open .acc-body {
  display: block;
}

/* ========== CTA Banner ========== */
.cta-banner {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 0 20px;
}
.cta-inner {
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 20%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(140,80,200,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.cta-content p {
  color: #999;
  font-size: 0.95rem;
  margin-bottom: 22px;
  max-width: 360px;
  line-height: 1.6;
}
.cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cta-btns .btn-primary {
  background: #fff;
  color: #0a0a0a;
  border-radius: 10px;
  padding: 12px 20px;
}
.cta-btns .btn-outline {
  border-radius: 10px;
  padding: 12px 20px;
}
.cta-testimonial {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  z-index: 1;
}
.cta-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
  color: #f5c518;
}
.cta-stars svg { width: 14px; height: 14px; fill: currentColor; }
.cta-testimonial blockquote {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 14px;
}
.cta-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #222;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.cta-author strong { display: block; font-size: 0.9rem; }
.cta-author span { font-size: 0.75rem; color: #888; }
@media (max-width: 700px) {
  .cta-inner { grid-template-columns: 1fr; padding: 28px 20px; }
}

/* ========== Forms ========== */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
.form-control {
  width: 100%;
  padding: 13px 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}
.form-control:focus { border-color: rgba(255,255,255,0.28); }
textarea.form-control { min-height: 110px; resize: vertical; }

/* ========== Auth (no header/footer) ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 400px;
  padding: 36px 28px;
}
.auth-card h1 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 6px;
}
.auth-card .sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.auth-card .btn { width: 100%; margin-top: 6px; }
.auth-links {
  text-align: center;
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--muted);
}
.auth-links a { color: var(--text); font-weight: 600; }

/* ========== 404 ========== */
.page-404 {
  min-height: calc(100vh - var(--header-h) - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
}
.tv-box {
  width: 240px;
  height: 190px;
  background: #161616;
  border: 3px solid #333;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.tv-screen {
  width: 88%;
  height: 72%;
  background: #000;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 3px;
}
.page-404 h1 { font-size: 1.7rem; margin-bottom: 10px; }
.page-404 p { color: var(--muted); margin-bottom: 24px; max-width: 320px; }

/* ========== Product Detail ========== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.gallery {
  background: #121212;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery img { width:100%; height:100%; object-fit:cover; }
.p-info h1 { font-size: 1.7rem; margin-bottom: 10px; }
.p-info .price-big { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.p-info .desc { color: var(--muted); margin-bottom: 22px; font-size: 0.95rem; line-height: 1.7; }
.size-row, .qty-row { margin-bottom: 20px; }
.size-row label, .qty-row label { display:block; margin-bottom:8px; font-size:0.85rem; color:var(--muted); }
.sizes { display:flex; gap:8px; flex-wrap:wrap; }
.size-btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.size-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-box button {
  width: 42px; height: 42px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.15rem;
  cursor: pointer;
}
.qty-box span { width: 44px; text-align: center; font-weight: 600; }

/* ========== Cart (mobile app style) ========== */
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}
.cart-item img {
  width: 72px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  background: #151515;
  flex-shrink: 0;
}
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .name { font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.cart-item .meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.cart-item .row { display: flex; justify-content: space-between; align-items: center; }
.cart-item .price { font-weight: 700; }
.cart-summary-box {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
}
.cart-summary-box .line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}
.cart-summary-box .line.total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--glass-border);
}

/* ========== Checkout (Stevia style) ========== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}
.checkout-block {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 18px;
}
.checkout-block h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
}
.pay-option.active {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
}
.pay-option input { accent-color: #fff; }
.checkout-side .line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.checkout-side .line.total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--glass-border);
}

/* ========== Loading ========== */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
#page-loader.hidden { display: none; }
.loader-glass {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.loader-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  animation: shine 1.4s ease-in-out infinite;
}
@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.loader-text { color: var(--muted); font-size: 0.9rem; }

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
}

/* ========== Utilities ========== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; width: 100%; }
.text-center { text-align: center; }
.mt-3 { margin-top: 16px; }
.mb-3 { margin-bottom: 16px; }

/* ========== Responsive — App-like Mobile ========== */
@media (max-width: 900px) {
  .hero-inner,
  .product-detail,
  .checkout-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .hero-visual img { max-height: 280px; }
  .footer-grid { gap: 24px; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
  .hero { min-height: 70vh; padding: 70px 16px 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-visual { order: -1; }
  .hero-visual img { max-height: 280px; }
  .hero-text { text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .section { padding: 36px 16px; }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card .body { padding: 12px 12px 14px; }
  .product-card .title { font-size: 0.9rem; }
  .product-card .price { font-size: 1.05rem; }
  .product-card .cart-btn { width: 40px; height: 40px; border-radius: 10px; }
  .product-card .cart-btn svg { width: 18px; height: 18px; }
  .header-pill { height: 52px; padding: 5px 6px 5px 12px; max-width: calc(100% - 24px); }
  .nav-desktop { display: none; }
  .header-cta { display: none; }
  .menu-btn { display: flex; }
  .logo { font-size: 0.95rem; }
  .article-grid { grid-template-columns: 1fr; }
  .checkout-layout { gap: 18px; }
}

@media (max-width: 420px) {
  .product-grid { gap: 10px; }
  .product-card .rating { font-size: 0.75rem; }
  .auth-card { padding: 28px 20px; }
}


/* ========== Bottom Nav (exact pill UI) ========== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 180;
  width: calc(100% - 32px);
  max-width: 380px;
  height: 58px;
  padding: 6px 8px;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  justify-content: space-between;
  align-items: center;
  gap: 2px;
  box-sizing: border-box;
}
.bottom-nav a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  min-width: 0;
  padding: 0 4px;
  transition: none;
}
.bottom-nav a .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.bottom-nav a .ico svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bottom-nav a .label {
  display: none;
  white-space: nowrap;
  font-size: 0.8rem;
  letter-spacing: 0.2px;
}
.bottom-nav a.active {
  flex: 1.6;
  background: #ffffff;
  color: #0a0a0a;
  padding: 0 14px;
  max-width: 130px;
}
.bottom-nav a.active .label {
  display: inline;
}
.bottom-nav a.active .ico svg {
  stroke: #0a0a0a;
}

/* body padding for floating bottom nav */
body.has-bottom-nav {
  padding-bottom: calc(90px + var(--safe-bottom));
}

/* ========== Mobile Sidebar (Freud style) ========== */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
}
.mobile-drawer.open { display: block; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: #0a0a0a;
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.drawer-header {
  background: #111111;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 28px 20px 22px;
  position: relative;
}
.drawer-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.drawer-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.drawer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 2px solid rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  overflow: hidden;
}
.drawer-avatar img { width:100%; height:100%; object-fit:cover; }
.drawer-name { font-weight: 700; font-size: 1.1rem; color: #fff; }
.drawer-status { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

.drawer-body {
  flex: 1;
  padding: 16px 12px;
}
.drawer-section {
  margin-bottom: 18px;
}
.drawer-section-title {
  font-size: 0.7rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 12px 8px;
}
.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.drawer-item:active,
.drawer-item.active {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}
.drawer-item .ico { width: 22px; height: 22px; display: grid; place-items: center; flex-shrink: 0; }
.drawer-item .ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.drawer-item.danger { color: #ff6b6b; }

.drawer-footer {
  padding: 14px 16px calc(14px + var(--safe-bottom));
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 10px;
}
.drawer-footer .btn { flex: 1; font-size: 0.8rem; padding: 11px 8px; }

/* ========== Search UI ========== */
.search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto 24px;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  backdrop-filter: blur(16px);
}
.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}
.search-bar input::placeholder { color: var(--dim); }
.search-bar .ico { color: var(--muted); display: grid; place-items: center; }
.search-bar .ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.search-suggest .ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #141414;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 10px;
  z-index: 50;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  display: none;
}
.search-dropdown.open { display: block; }
.search-group-title {
  font-size: 0.7rem;
  color: var(--dim);
  padding: 8px 10px 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.search-suggest {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.search-suggest:active { background: rgba(255,255,255,0.06); color: var(--text); }
.search-suggest .ico { color: var(--dim); }

/* ========== Order Tracking ========== */
.track-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}
.track-step {
  display: flex;
  gap: 14px;
  position: relative;
  padding-bottom: 24px;
}
.track-step:last-child { padding-bottom: 0; }
.track-step::before {
  content: '';
  position: absolute;
  right: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: var(--glass-border);
}
.track-step:last-child::before { display: none; }
.track-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 2px solid var(--glass-border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  z-index: 1;
}
.track-step.done .track-dot {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.track-step.active .track-dot {
  border-color: var(--text);
  background: rgba(255,255,255,0.15);
}
.track-content h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.track-content p { font-size: 0.8rem; color: var(--muted); }

.map-box {
  height: 160px;
  background: #151515;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  color: var(--dim);
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.pkg-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pkg-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.pkg-option.active {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
}
.pkg-option input { accent-color: #fff; }
.pkg-option .info { flex: 1; }
.pkg-option .info strong { display: block; font-size: 0.95rem; }
.pkg-option .info span { font-size: 0.8rem; color: var(--muted); }
.pkg-option .price { font-weight: 700; font-size: 0.95rem; }

@media (max-width: 768px) {
  .bottom-nav { display: flex; }
  body.has-bottom-nav { padding-bottom: calc(90px + var(--safe-bottom)); }
  .site-footer { margin-bottom: 0; }
}

/* ========== Professional polish ========== */
.section-head h2 {
  letter-spacing: -0.3px;
}
.form-control:focus {
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}
.btn:focus-visible,
.icon-btn:focus-visible,
.header-cta:focus-visible {
  outline: 2px solid rgba(255,255,255,0.4);
  outline-offset: 2px;
}
.product-card:focus-within {
  border-color: rgba(255,255,255,0.22);
}
a:focus-visible {
  outline: 2px solid rgba(255,255,255,0.35);
  outline-offset: 2px;
}

/* ========== Product Page (Nike-style detail) ========== */
.pp-page {
  min-height: 100vh;
  padding-bottom: calc(90px + var(--safe-bottom));
  background: var(--bg);
}
.pp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(16px);
}
.pp-topbar button,
.pp-topbar a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.pp-topbar svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.pp-gallery {
  padding: 0 16px 16px;
}
.pp-main-img {
  width: 100%;
  aspect-ratio: 1;
  background: #151515;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.pp-main-img img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}
.pp-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.pp-thumbs::-webkit-scrollbar { display: none; }
.pp-thumbs button {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #151515;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}
.pp-thumbs button.active {
  border-color: #fff;
}
.pp-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pp-info {
  padding: 8px 20px 24px;
}
.pp-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 8px;
}
.pp-rating .stars {
  color: #f5c518;
  display: inline-flex;
  gap: 1px;
}
.pp-rating .stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.pp-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.pp-brand {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 12px;
}
.pp-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.pp-price {
  font-size: 1.4rem;
  font-weight: 700;
}
.pp-old {
  font-size: 0.95rem;
  color: #666;
  text-decoration: line-through;
}
.pp-stock {
  font-size: 0.85rem;
  color: #7dffa0;
  margin-bottom: 20px;
}
.pp-stock.out {
  color: #ff6b6b;
}
.pp-label {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 10px;
  font-weight: 500;
}
.pp-colors {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.pp-color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
}
.pp-color.active {
  border-color: #fff;
  box-shadow: 0 0 0 2px #0a0a0a, 0 0 0 3px #fff;
}
.pp-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.pp-size {
  min-width: 52px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}
.pp-size.active {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}
.pp-desc {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.pp-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.pp-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.pp-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  overflow: hidden;
}
.pp-qty button {
  width: 40px;
  height: 44px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  font-family: inherit;
}
.pp-qty span {
  width: 36px;
  text-align: center;
  font-weight: 600;
}
.pp-add {
  flex: 1;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  color: #0a0a0a;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}
.pp-add svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* product card price left / cart right - ensure */
.product-card .price-row {
  direction: ltr;
  flex-direction: row;
}
.product-card .prices {
  text-align: left;
}
.product-card .price {
  direction: ltr;
}



/* English numerals for prices */
.price, .old-price, .pp-price, .pp-old, .product-card .price,
.product-card .old-price, .cart-item .price, .summary-row span:last-child,
.pp-price-row, .price-num {
  font-family: "Inter", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  direction: ltr;
  unicode-bidi: embed;
}

/* Product page desktop (large screens) */
@media (min-width: 768px) {
  .pp-page.pp-desktop-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 48px;
  }
  .pp-desktop-layout .pp-topbar {
    display: none;
  }
  .pp-breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }
  .pp-breadcrumb a { color: #aaa; }
  .pp-breadcrumb a:hover { color: #fff; }
  .pp-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
  }
  .pp-main-grid .pp-gallery {
    order: 2;
  }
  .pp-main-grid .pp-info-card {
    order: 1;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 28px;
  }
  .pp-main-img {
    aspect-ratio: 1;
    max-height: none;
    border-radius: 20px;
  }
  .pp-specs {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 16px 0 20px;
  }
  .pp-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
  }
  .pp-spec-row span:first-child { color: #888; }
  .pp-spec-row span:last-child { font-weight: 600; color: #fff; }
  .pp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
  }
  .pp-tag {
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    color: #ccc;
  }
  .pp-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
  }
  .pp-tab {
    padding: 14px 20px;
    background: transparent;
    border: none;
    color: #888;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
  }
  .pp-tab.active {
    color: #fff;
    border-bottom-color: #fff;
  }
  .pp-tab-content {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
  }
  .pp-related h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  .pp-mobile-only { display: none !important; }
  .pp-desktop-only { display: block; }
}
@media (max-width: 767px) {
  .pp-desktop-only { display: none !important; }
  .pp-breadcrumb { display: none; }
  .pp-specs { display: none; }
  .pp-tabs { display: none; }
  .pp-tab-content.pp-desktop-only { display: none !important; }
  .pp-related { display: none; }
  .pp-main-grid {
    display: block;
  }
  .pp-info-card {
    background: transparent;
    border: none;
    padding: 0;
  }
}

.product-card .cart-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}
.product-card .cart-btn svg circle {
  fill: currentColor;
  stroke: none;
}
.product-card .stars {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

@media (max-width: 767px) {
  body:has(.pp-page) > .site-header.pp-desktop-only {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .pp-desktop-only.site-header {
    display: flex !important;
  }
}

/* ========== Theme: Light / Dark ========== */
[data-theme="light"] {
  --bg: #f4f4f5;
  --bg2: #ffffff;
  --card: #ffffff;
  --text: #0a0a0a;
  --muted: #666666;
  --dim: #999999;
  --glass: rgba(0,0,0,0.04);
  --glass-border: rgba(0,0,0,0.1);
  --glass-strong: rgba(255,255,255,0.9);
}
[data-theme="light"] body { background: var(--bg); color: var(--text); }
[data-theme="light"] .header-pill {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
[data-theme="light"] .logo,
[data-theme="light"] .nav-desktop a { color: #333; }
[data-theme="light"] .nav-desktop a.active { color: #0a0a0a; background: rgba(0,0,0,0.06); }
[data-theme="light"] .icon-btn {
  border-color: rgba(0,0,0,0.12);
  color: #0a0a0a;
}
[data-theme="light"] .header-cta {
  background: #0a0a0a;
  color: #fff;
}
[data-theme="light"] .menu-btn { border-color: rgba(0,0,0,0.12); }
[data-theme="light"] .menu-btn span { background: #0a0a0a; }
[data-theme="light"] .product-card,
[data-theme="light"] .article-card,
[data-theme="light"] .cat-card,
[data-theme="light"] .cat-product-row,
[data-theme="light"] .footer-card,
[data-theme="light"] .cta-inner,
[data-theme="light"] .acc-item,
[data-theme="light"] .auth-card {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
  color: #0a0a0a;
}
[data-theme="light"] .product-card .img-box { background: #f0f0f0; }
[data-theme="light"] .product-card .title,
[data-theme="light"] .product-card .price { color: #0a0a0a; }
[data-theme="light"] .product-card .cart-btn {
  background: #0a0a0a;
  color: #fff;
}
[data-theme="light"] .bottom-nav {
  background: #0d0d0d;
  border-color: rgba(255,255,255,0.12);
}
[data-theme="light"] .hero { background: #eaeaea; }
[data-theme="light"] .hero-text h1 { color: #0a0a0a; }
[data-theme="light"] .footer-card::before,
[data-theme="light"] .cta-inner::before {
  background: radial-gradient(ellipse, rgba(120,80,180,0.12) 0%, transparent 70%);
}
[data-theme="light"] .drawer-panel { background: #fff; border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .drawer-header { background: #f5f5f5; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .drawer-name { color: #0a0a0a; }
[data-theme="light"] .drawer-item { color: #444; }
[data-theme="light"] .form-control {
  background: #f5f5f5;
  border-color: rgba(0,0,0,0.12);
  color: #0a0a0a;
}
[data-theme="light"] .auth-input {
  background: #f5f5f5;
  border-color: rgba(0,0,0,0.12);
}
[data-theme="light"] .auth-input input { color: #0a0a0a; }
[data-theme="light"] .auth-submit {
  background: #0a0a0a;
  color: #fff;
}

/* Theme toggle */
.theme-toggle {
  width: 52px;
  height: 28px;
  border-radius: 50px;
  border: none;
  background: #1a1a1a;
  position: relative;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
}
.theme-toggle .knob {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  display: grid;
  place-items: center;
}
.theme-toggle .knob svg {
  width: 12px;
  height: 12px;
}
[data-theme="light"] .theme-toggle {
  background: #e8e8e8;
  border-color: rgba(0,0,0,0.12);
}
[data-theme="light"] .theme-toggle .knob {
  transform: translateX(-24px);
  background: #0a0a0a;
  color: #fff;
}
[data-theme="light"] .theme-toggle .knob svg { stroke: #fff; fill: none; }

/* Purple glow accents */
.glow-purple {
  position: relative;
}
.glow-purple::after {
  content: '';
  position: absolute;
  inset: auto;
  bottom: -20%;
  left: 20%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(130,90,200,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ========== Cart mobile (food-app style) ========== */
.cart-page-mobile .cart-list {
  gap: 12px;
}
.cart-page-mobile .cart-item {
  background: #141414;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}
[data-theme="light"] .cart-page-mobile .cart-item {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
.cart-page-mobile .cart-item img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}
.cart-summary-fixed {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 20px;
  margin-top: 20px;
}
[data-theme="light"] .cart-summary-fixed {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
}
.cart-summary-fixed .line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #999;
  font-size: 0.95rem;
}
.cart-summary-fixed .line.total {
  color: var(--text, #fff);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
[data-theme="light"] .cart-summary-fixed .line.total {
  border-color: rgba(0,0,0,0.1);
  color: #0a0a0a;
}
.cart-checkout-btn {
  width: 100%;
  height: 52px;
  border-radius: 50px;
  background: #fff;
  color: #0a0a0a;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 16px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
[data-theme="light"] .cart-checkout-btn {
  background: #0a0a0a;
  color: #fff;
}

/* ========== Contact page ========== */
.contact-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 20px 48px;
}
.contact-hero h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
}
.contact-panel {
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(140,100,200,0.15) 0%, transparent 70%);
  pointer-events: none;
}
[data-theme="light"] .contact-panel {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}
[data-theme="light"] .contact-info-item { color: #444; }
.contact-info-item svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.7;
  flex-shrink: 0;
  margin-top: 2px;
}
[data-theme="light"] .contact-info-item svg { stroke: #0a0a0a; }
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.contact-form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .contact-panel { grid-template-columns: 1fr; padding: 24px; }
  .contact-form-grid { grid-template-columns: 1fr; }
}

/* ========== Invoice page ========== */
.invoice-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px 48px;
}
.invoice-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.invoice-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: radial-gradient(ellipse at bottom, rgba(120,80,180,0.12) 0%, transparent 70%);
  pointer-events: none;
}
[data-theme="light"] .invoice-card {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
}
.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.invoice-id { font-weight: 700; font-size: 1.1rem; }
.invoice-meta { font-size: 0.85rem; color: #888; text-align: left; }
.invoice-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #7dffa0;
  margin-bottom: 20px;
}
.invoice-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.invoice-item img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #0a0a0a;
}
.invoice-item .info { flex: 1; }
.invoice-item .price-num { font-weight: 700; }
.invoice-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.invoice-actions .btn { flex: 1; border-radius: 12px; height: 48px; }

/* ========== Shop desktop layout ========== */
@media (min-width: 900px) {
  .shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
  }
  .shop-sidebar {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 80px;
  }
  [data-theme="light"] .shop-sidebar {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
  }
  .shop-sidebar h4 {
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: #888;
  }
  .filter-range {
    width: 100%;
    margin: 12px 0;
  }
  .shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #888;
  }
}
@media (max-width: 899px) {
  .shop-sidebar { display: none; }
  .shop-toolbar { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 0.85rem; color: #888; }
}

/* Mobile filter sheet */
.filter-sheet {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.6);
}
.filter-sheet.open { display: block; }
.filter-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #141414;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.1);
}
[data-theme="light"] .filter-panel {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
}
.filter-panel h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.filter-group {
  margin-bottom: 20px;
}
.filter-group label {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
  cursor: pointer;
}
.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.filter-actions .btn { flex: 1; }

/* Shop mobile tabs */
.shop-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  scrollbar-width: none;
}
.shop-tabs button {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: #aaa;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.shop-tabs button.active {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}
[data-theme="light"] .shop-tabs button.active {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

/* ========== Theme: Dark / Light ========== */
[data-theme="light"] {
  --bg: #f4f4f5;
  --bg2: #ffffff;
  --card: rgba(0,0,0,0.03);
  --glass: rgba(255,255,255,0.85);
  --glass-border: rgba(0,0,0,0.08);
  --text: #0a0a0a;
  --muted: #666666;
  --dim: #999999;
  --accent: #0a0a0a;
}
[data-theme="light"] body { background: var(--bg); color: var(--text); }
[data-theme="light"] .header-pill,
[data-theme="light"] .footer-card,
[data-theme="light"] .product-card,
[data-theme="light"] .auth-card,
[data-theme="light"] .cta-inner,
[data-theme="light"] .acc-item,
[data-theme="light"] .cat-item,
[data-theme="light"] .checkout-block,
[data-theme="light"] .cat-summary-box {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  color: #0a0a0a;
}
[data-theme="light"] .header-pill { background: rgba(255,255,255,0.9); }
[data-theme="light"] .logo,
[data-theme="light"] .nav-desktop a { color: #333; }
[data-theme="light"] .nav-desktop a.active { color: #0a0a0a; background: rgba(0,0,0,0.06); }
[data-theme="light"] .icon-btn { border-color: rgba(0,0,0,0.1); color: #0a0a0a; }
[data-theme="light"] .icon-btn svg { stroke: #0a0a0a; }
[data-theme="light"] .header-cta { background: #0a0a0a; color: #fff; }
[data-theme="light"] .menu-btn { border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .menu-btn span { background: #0a0a0a; }
[data-theme="light"] .bottom-nav { background: #0d0d0d; }
[data-theme="light"] .hero { background: #eee; }
[data-theme="light"] .hero-text h1 { color: #0a0a0a; }
[data-theme="light"] .product-card .title { color: #0a0a0a; }
[data-theme="light"] .product-card .price { color: #0a0a0a; }
[data-theme="light"] .product-card .cart-btn { background: #0a0a0a; color: #fff; }
[data-theme="light"] .product-card .img-box { background: #f0f0f0; }
[data-theme="light"] .drawer-panel { background: #fff; }
[data-theme="light"] .drawer-header { background: #f5f5f5; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .drawer-name { color: #0a0a0a; }
[data-theme="light"] .drawer-item { color: #444; }
[data-theme="light"] .footer-brand span,
[data-theme="light"] .footer-cta-text { color: #0a0a0a; }
[data-theme="light"] .footer-card { background: #fff; }
[data-theme="light"] .footer-card::before {
  background: radial-gradient(ellipse, rgba(120,80,180,0.08) 0%, transparent 70%);
}
[data-theme="light"] .form-control,
[data-theme="light"] .auth-input {
  background: #f5f5f5;
  border-color: rgba(0,0,0,0.1);
  color: #0a0a0a;
}
[data-theme="light"] .auth-submit { background: #0a0a0a; color: #fff; }
[data-theme="light"] .section-head h2 { color: #0a0a0a; }

/* Theme toggle */
.theme-toggle {
  width: 52px;
  height: 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  background: #1a1a1a;
  padding: 3px;
  flex-shrink: 0;
}
.theme-toggle .knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px;
  right: 3px;
  transition: transform 0.2s;
  display: grid;
  place-items: center;
}
.theme-toggle .knob svg { width: 12px; height: 12px; }
[data-theme="light"] .theme-toggle {
  background: #e8e8e8;
}
[data-theme="light"] .theme-toggle .knob {
  transform: translateX(-24px);
  background: #0a0a0a;
  color: #fff;
}
[data-theme="light"] .theme-toggle .knob svg { stroke: #fff; fill: #fff; }

/* Purple glow accents */
.glow-purple {
  position: relative;
}
.glow-purple::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 20%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(120,80,180,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero.glow-purple::after {
  bottom: 0;
  left: 10%;
  width: 40%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(120,80,180,0.12) 0%, transparent 70%);
}

/* ========== Mobile Cart (food app style) ========== */
.cart-mobile {
  max-width: 420px;
  margin: 0 auto;
  padding: 16px 16px 24px;
}
.cart-mobile h1 {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}
.cart-m-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
[data-theme="light"] .cart-m-item { border-color: rgba(0,0,0,0.06); }
.cart-m-item img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: #151515;
}
.cart-m-item .info { flex: 1; min-width: 0; }
.cart-m-item .name { font-weight: 600; font-size: 0.95rem; }
.cart-m-item .meta { font-size: 0.8rem; color: var(--muted); margin: 2px 0 8px; }
.cart-m-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
}
[data-theme="light"] .cart-m-qty { border-color: rgba(0,0,0,0.1); }
.cart-m-qty button {
  width: 32px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
}
.cart-m-qty span { width: 28px; text-align: center; font-size: 0.9rem; font-weight: 600; }
.cart-m-item .price-num { font-weight: 700; font-size: 0.95rem; }
.cart-m-item .remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}
.cart-m-item .remove svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.cart-m-summary {
  margin-top: 20px;
  padding-top: 8px;
}
.cart-m-summary .line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}
.cart-m-summary .line.total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cart-m-checkout {
  width: 100%;
  height: 52px;
  margin-top: 16px;
  border-radius: 14px;
  background: #fff;
  color: #0a0a0a;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
[data-theme="light"] .cart-m-checkout { background: #0a0a0a; color: #fff; }

/* ========== Contact card ========== */
.contact-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 48px;
  position: relative;
}
.contact-card-ui {
  width: 100%;
  max-width: 420px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.contact-card-ui::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(120,80,180,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.contact-card-ui h1 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  position: relative;
}
.contact-info-list {
  list-style: none;
  margin-bottom: 24px;
  position: relative;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #ccc;
  font-size: 0.95rem;
}
.contact-info-list svg {
  width: 18px;
  height: 18px;
  stroke: #aaa;
  fill: none;
  stroke-width: 1.7;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-card-ui .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.contact-card-ui input,
.contact-card-ui textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  margin-bottom: 10px;
}
.contact-card-ui textarea { min-height: 90px; resize: vertical; }
.contact-card-ui .send-btn {
  width: 100%;
  height: 48px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

/* ========== Invoice ========== */
.invoice-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 20px 48px;
}
.invoice-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.invoice-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: radial-gradient(ellipse at bottom, rgba(120,80,180,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.invoice-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.invoice-head h1 { font-size: 1.2rem; }
.invoice-head .meta { font-size: 0.8rem; color: #888; text-align: left; }
.invoice-progress {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-bottom: 20px;
  overflow: hidden;
}
.invoice-progress span {
  display: block;
  height: 100%;
  width: 65%;
  background: #7c6cf0;
  border-radius: 2px;
}
.invoice-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.invoice-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #0a0a0a;
}
.invoice-item .info { flex: 1; }
.invoice-item .name { font-weight: 600; }
.invoice-item .meta { font-size: 0.8rem; color: #888; }
.invoice-item .price-num { font-weight: 700; }
.invoice-contact {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #aaa;
  position: relative;
  z-index: 1;
}
.invoice-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.invoice-actions .btn { flex: 1; border-radius: 12px; }

/* ========== Filter sheet mobile ========== */
.filter-sheet {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.6);
}
.filter-sheet.open { display: block; }
.filter-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: #141414;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  overflow-y: auto;
}
[data-theme="light"] .filter-panel { background: #fff; }
.filter-panel h3 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  color: var(--text);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}
.filter-row svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }
.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.filter-actions .btn { flex: 1; border-radius: 12px; }

/* Shop desktop layout */
.shop-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
  align-items: start;
}
.shop-sidebar {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  position: sticky;
  top: 80px;
}
[data-theme="light"] .shop-sidebar { background: #fff; border-color: rgba(0,0,0,0.08); }
.shop-sidebar h4 {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: var(--muted);
}
.price-range {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.price-range input[type="range"] { width: 100%; accent-color: #7c6cf0; }
.featured-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.featured-mini a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
}
.featured-mini img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #0a0a0a;
}
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.filter-open-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  font-size: 0.85rem;
}
@media (max-width: 900px) {
  .filter-open-btn { display: inline-flex; }
}

/* Shop mobile category chips */
.shop-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.shop-cats::-webkit-scrollbar { display: none; }
.shop-cats a {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
}
.shop-cats a.active {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
  font-weight: 600;
}
[data-theme="light"] .shop-cats a.active {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}


/* ========== Theme Light — complete ========== */
[data-theme="light"] {
  --bg: #f2f2f4;
  --bg2: #ffffff;
  --card: #ffffff;
  --glass: rgba(255,255,255,0.9);
  --glass-border: rgba(0,0,0,0.08);
  --text: #0a0a0a;
  --muted: #5c5c5c;
  --dim: #8a8a8a;
  --accent: #0a0a0a;
}
[data-theme="light"] body { background: var(--bg); color: var(--text); }
[data-theme="light"] .header-pill {
  background: rgba(255,255,255,0.92);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
[data-theme="light"] .logo { color: #0a0a0a; }
[data-theme="light"] .logo svg circle { stroke: #0a0a0a; }
[data-theme="light"] .logo svg path { fill: #0a0a0a; }
[data-theme="light"] .nav-desktop a { color: #555; }
[data-theme="light"] .nav-desktop a.active,
[data-theme="light"] .nav-desktop a:hover {
  color: #0a0a0a;
  background: rgba(0,0,0,0.06);
}
[data-theme="light"] .icon-btn {
  border-color: rgba(0,0,0,0.12);
  color: #0a0a0a;
  background: rgba(0,0,0,0.03);
}
[data-theme="light"] .icon-btn svg { stroke: #0a0a0a; }
[data-theme="light"] .cart-badge { background: #0a0a0a; color: #fff; }
[data-theme="light"] .header-cta { background: #0a0a0a; color: #fff; }
[data-theme="light"] .menu-btn { border-color: rgba(0,0,0,0.12); }
[data-theme="light"] .menu-btn span { background: #0a0a0a; }
[data-theme="light"] .hero { background: #e8e8ec; }
[data-theme="light"] .hero-text h1 { color: #0a0a0a; }
[data-theme="light"] .hero-text h1 em { color: #6b5b3e; }
[data-theme="light"] .hero-eyebrow,
[data-theme="light"] .hero-text p { color: #666; }
[data-theme="light"] .hero-cta { background: #0a0a0a; color: #fff; }
[data-theme="light"] .section-head h2 { color: #0a0a0a; }
[data-theme="light"] .section-head p { color: #666; }
[data-theme="light"] .product-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
[data-theme="light"] .product-card .img-box { background: #f5f5f7; }
[data-theme="light"] .product-card .body { background: #fff; }
[data-theme="light"] .product-card .title { color: #0a0a0a; }
[data-theme="light"] .product-card .price { color: #0a0a0a; }
[data-theme="light"] .product-card .old-price { color: #999; }
[data-theme="light"] .product-card .id-tag { color: #999; }
[data-theme="light"] .product-card .rating { color: #666; }
[data-theme="light"] .product-card .cart-btn { background: #0a0a0a; color: #fff; }
[data-theme="light"] .product-card .img-actions button {
  background: rgba(255,255,255,0.9);
  border-color: rgba(0,0,0,0.1);
  color: #0a0a0a;
}
[data-theme="light"] .product-card .img-actions button svg { stroke: #0a0a0a; }
[data-theme="light"] .search-bar {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .search-bar input { color: #0a0a0a; }
[data-theme="light"] .search-dropdown {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
[data-theme="light"] .search-suggest { color: #444; }
[data-theme="light"] .filter-chip {
  border-color: rgba(0,0,0,0.12);
  color: #555;
}
[data-theme="light"] .filter-chip.active {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}
[data-theme="light"] .article-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .article-card h3 { color: #0a0a0a; }
[data-theme="light"] .article-card p,
[data-theme="light"] .article-card .meta { color: #666; }
[data-theme="light"] .footer-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .footer-cta-text,
[data-theme="light"] .footer-brand span { color: #0a0a0a; }
[data-theme="light"] .footer-email { color: #0a0a0a; }
[data-theme="light"] .footer-nav-row a { color: #555; }
[data-theme="light"] .footer-bottom { border-color: rgba(0,0,0,0.08); color: #888; }
[data-theme="light"] .acc-item {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .acc-head { color: #0a0a0a; }
[data-theme="light"] .acc-body { color: #666; }
[data-theme="light"] .cta-inner {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .cta-content h2 { color: #0a0a0a; }
[data-theme="light"] .cta-content p { color: #666; }
[data-theme="light"] .cta-testimonial {
  background: #f5f5f7;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .cta-testimonial blockquote { color: #444; }
[data-theme="light"] .cta-btns .btn-primary { background: #0a0a0a; color: #fff; }
[data-theme="light"] .cta-btns .btn-outline {
  border-color: rgba(0,0,0,0.15);
  color: #0a0a0a;
}
[data-theme="light"] .drawer-panel { background: #fff; color: #0a0a0a; }
[data-theme="light"] .drawer-header {
  background: #f5f5f7;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .drawer-name { color: #0a0a0a; }
[data-theme="light"] .drawer-status { color: #666; }
[data-theme="light"] .drawer-item { color: #444; }
[data-theme="light"] .drawer-item:active,
[data-theme="light"] .drawer-item.active {
  background: rgba(0,0,0,0.05);
  color: #0a0a0a;
}
[data-theme="light"] .drawer-footer { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .auth-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .auth-card h1 { color: #0a0a0a; }
[data-theme="light"] .auth-input {
  background: #f5f5f7;
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .auth-input input { color: #0a0a0a; }
[data-theme="light"] .auth-submit { background: #0a0a0a; color: #fff; }
[data-theme="light"] .auth-social button {
  background: #f5f5f7;
  border-color: rgba(0,0,0,0.1);
  color: #0a0a0a;
}
[data-theme="light"] .cat-card,
[data-theme="light"] .cat-product-row {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .cat-card h3,
[data-theme="light"] .cat-product-row .name { color: #0a0a0a; }
[data-theme="light"] .cat-product-row .price-num { color: #0a0a0a; }
[data-theme="light"] .cat-add { background: #0a0a0a; color: #fff; }
[data-theme="light"] .shop-sidebar {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .cart-m-item { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .cart-m-item .name { color: #0a0a0a; }
[data-theme="light"] .cart-m-checkout { background: #0a0a0a; color: #fff; }
[data-theme="light"] .cart-m-summary .line.total { border-color: rgba(0,0,0,0.1); color: #0a0a0a; }
[data-theme="light"] .contact-card-ui {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
  color: #0a0a0a;
}
[data-theme="light"] .contact-card-ui h1 { color: #0a0a0a; }
[data-theme="light"] .contact-info-list li { color: #444; }
[data-theme="light"] .contact-card-ui input,
[data-theme="light"] .contact-card-ui textarea {
  background: #f5f5f7;
  border-color: rgba(0,0,0,0.1);
  color: #0a0a0a;
}
[data-theme="light"] .contact-card-ui .send-btn {
  border-color: rgba(0,0,0,0.2);
  color: #0a0a0a;
}
[data-theme="light"] .invoice-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  color: #0a0a0a;
}
[data-theme="light"] .invoice-item { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .invoice-item .name { color: #0a0a0a; }
[data-theme="light"] .filter-panel { background: #fff; }
[data-theme="light"] .filter-row {
  border-color: rgba(0,0,0,0.08);
  color: #0a0a0a;
}
[data-theme="light"] .pp-page { background: var(--bg); }
[data-theme="light"] .pp-topbar {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
[data-theme="light"] .pp-topbar a,
[data-theme="light"] .pp-topbar button {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.08);
  color: #0a0a0a;
}
[data-theme="light"] .pp-topbar svg { stroke: #0a0a0a; }
[data-theme="light"] .pp-main-img { background: #f0f0f2; }
[data-theme="light"] .pp-title { color: #0a0a0a; }
[data-theme="light"] .pp-price { color: #0a0a0a; }
[data-theme="light"] .pp-brand,
[data-theme="light"] .pp-label { color: #666; }
[data-theme="light"] .pp-desc { color: #666; }
[data-theme="light"] .pp-size {
  border-color: rgba(0,0,0,0.15);
  color: #0a0a0a;
}
[data-theme="light"] .pp-size.active {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}
[data-theme="light"] .pp-add { background: #0a0a0a; color: #fff; }
[data-theme="light"] .pp-qty {
  border-color: rgba(0,0,0,0.15);
}
[data-theme="light"] .pp-qty button { color: #0a0a0a; }
[data-theme="light"] .pp-info-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .pp-spec-row { border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .pp-spec-row span:last-child { color: #0a0a0a; }
[data-theme="light"] .pp-tab { color: #666; }
[data-theme="light"] .pp-tab.active { color: #0a0a0a; border-bottom-color: #0a0a0a; }
[data-theme="light"] .pp-tab-content {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .pp-thumbs button {
  background: #f0f0f2;
  border-color: transparent;
}
[data-theme="light"] .pp-thumbs button.active { border-color: #0a0a0a; }
[data-theme="light"] .track-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .success-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  color: #0a0a0a;
}

/* ========== Product page mobile fix ========== */
@media (max-width: 767px) {
  .pp-page {
    padding: 0 0 24px;
  }
  .pp-topbar {
    display: flex !important;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 16px;
    background: rgba(8,8,8,0.92);
    backdrop-filter: blur(16px);
  }
  [data-theme="light"] .pp-topbar {
    background: rgba(255,255,255,0.95);
  }
  .pp-main-grid {
    display: block !important;
  }
  .pp-gallery {
    padding: 0 16px 12px;
    order: 0 !important;
  }
  .pp-main-img {
    aspect-ratio: 1;
    border-radius: 16px;
    margin-bottom: 12px;
    background: #151515;
  }
  [data-theme="light"] .pp-main-img { background: #f0f0f2; }
  .pp-main-img img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    margin: 5% auto;
  }
  .pp-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .pp-thumbs button {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }
  .pp-info-card {
    background: transparent !important;
    border: none !important;
    padding: 8px 16px 24px !important;
    order: 1 !important;
  }
  .pp-title {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }
  .pp-price {
    font-size: 1.3rem;
  }
  .pp-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
    position: sticky;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    padding: 12px 0;
    z-index: 40;
  }
  .pp-add {
    flex: 1;
    height: 48px;
  }
  .pp-breadcrumb,
  .pp-specs,
  .pp-tabs,
  .pp-tab-content,
  .pp-related,
  .pp-tags {
    display: none !important;
  }
  .pp-mobile-only {
    display: block !important;
  }
  body:has(.pp-page) > .site-header.pp-desktop-only {
    display: none !important;
  }
}

/* ========== Track page ========== */
.track-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 88px 16px 32px;
}
.track-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
}
.track-card h2 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.track-card .sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.track-timeline {
  position: relative;
  padding-right: 8px;
}
.track-step {
  display: flex;
  gap: 14px;
  padding-bottom: 22px;
  position: relative;
}
.track-step:last-child { padding-bottom: 0; }
.track-step::before {
  content: '';
  position: absolute;
  right: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.1);
}
[data-theme="light"] .track-step::before { background: rgba(0,0,0,0.1); }
.track-step:last-child::before { display: none; }
.track-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: #1a1a1a;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
  font-size: 0.75rem;
}
[data-theme="light"] .track-dot {
  background: #f0f0f2;
  border-color: rgba(0,0,0,0.15);
}
.track-step.done .track-dot {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}
.track-step.active .track-dot {
  border-color: #fff;
  background: rgba(255,255,255,0.15);
}
[data-theme="light"] .track-step.active .track-dot {
  border-color: #0a0a0a;
  background: rgba(0,0,0,0.08);
}
.track-step h4 { font-size: 0.95rem; margin-bottom: 2px; }
.track-step p { font-size: 0.8rem; color: var(--muted); }

/* ========== Payment success ========== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
}
.success-card {
  width: 100%;
  max-width: 380px;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.success-icon svg {
  width: 36px;
  height: 36px;
  stroke: #22c55e;
  fill: none;
  stroke-width: 2.5;
}
.success-card h1 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.success-amount {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: Inter, system-ui, sans-serif;
  direction: ltr;
}
.success-card > .sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.success-details {
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 16px;
  text-align: right;
  margin-bottom: 24px;
}
[data-theme="light"] .success-details { background: #f5f5f7; }
.success-details .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.success-details .row span:last-child {
  color: var(--text);
  font-weight: 600;
}
.success-btn {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  background: #22c55e;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.success-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.success-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* Product topbar: left & right */
.pp-topbar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}
.pp-topbar a,
.pp-topbar button {
  flex-shrink: 0;
}

/* Accordion width stable */
.acc-item {
  width: 100%;
  box-sizing: border-box;
}
.acc-head {
  width: 100%;
  box-sizing: border-box;
}
.acc-body {
  width: 100%;
  box-sizing: border-box;
}

/* Filter accordion inside sheet */
.filter-acc {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
[data-theme="light"] .filter-acc {
  border-color: rgba(0,0,0,0.08);
}
.filter-acc-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: right;
}
.filter-acc-head svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s;
}
.filter-acc.open .filter-acc-head svg {
  transform: rotate(180deg);
}
.filter-acc-body {
  display: none;
  padding: 0 0 14px;
  width: 100%;
  box-sizing: border-box;
}
.filter-acc.open .filter-acc-body {
  display: block;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}
.filter-check input {
  width: 16px;
  height: 16px;
  accent-color: #7c6cf0;
}

/* 404 page cinematic */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 24px;
  text-align: center;
}
.page-404 .code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: clamp(6rem, 22vw, 12rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 48px;
  font-family: Inter, system-ui, sans-serif;
}
.page-404 .blob {
  width: clamp(80px, 18vw, 140px);
  height: clamp(80px, 18vw, 140px);
  margin: 0 -8px;
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  background: radial-gradient(circle at 35% 35%, #2a2a2a, #0a0a0a 70%);
  box-shadow:
    inset 12px 12px 24px rgba(255,255,255,0.04),
    inset -16px -16px 32px rgba(0,0,0,0.8),
    0 20px 40px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.page-404 .wake {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}
.page-404 .wake:hover {
  background: #222;
}

/* Article single */
.article-single {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 20px 48px;
}
.article-single .cover {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #151515;
  margin-bottom: 28px;
}
.article-single .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-single .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.article-single h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.3;
  margin-bottom: 20px;
}
.article-single .lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.article-single .content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
}
.article-single .content p {
  margin-bottom: 18px;
  color: var(--muted);
}
.article-single .content h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--text);
}

/* Spacing / container polish */
.section {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 20px;
}
.hero {
  padding-top: 88px;
}
@media (max-width: 767px) {
  .hero { padding-top: 72px; }
  .section { padding: 28px 16px; }
  .header-actions .header-cta { display: none; }
  .header-actions .theme-toggle {
    display: block;
  }
  .site-header .header-pill {
    max-width: calc(100% - 24px);
  }
}

/* Shop cats once */
.shop-cats + .shop-cats { display: none !important; }
.shop-toolbar + .shop-toolbar { display: none !important; }

/* Full footer always */
.footer-card {
  min-height: auto;
}
