@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --gold: #f4b027;
  --gold-2: #ffd76e;
  --gold-soft: #fff3d6;
  --orange: #ff7b1c;
  --orange-2: #ff9f43;
  --orange-deep: #d85a00;
  --ink: #35260f;
  --ink-2: #6d5838;
  --ink-3: #978261;
  --cream: #fff9ef;
  --paper: #ffffff;
  --line: #f0dfc2;
  --line-2: #e7d2ad;
  --ok: #2f8f5b;
  --danger: #c7432b;
  --shadow-sm: 0 4px 14px rgba(143, 92, 12, .09);
  --shadow: 0 14px 36px rgba(143, 92, 12, .14);
  --shadow-lg: 0 26px 60px rgba(121, 74, 5, .20);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 30px;
  --head: 'Fredoka', 'Avenir Next Rounded', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --body: 'Nunito', 'Avenir Next Rounded', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(244, 176, 39, .10) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.16; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 12px; }
.shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.hidden { display: none !important; }
.muted { color: var(--ink-2); }
.tiny { font-size: 12px; }
.upper { text-transform: uppercase; letter-spacing: .14em; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.stack { display: flex; flex-direction: column; gap: 12px; }

/* ---------- announce + header ---------- */
.announce {
  background: linear-gradient(90deg, var(--orange-deep), var(--orange), var(--gold));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 0;
}
.announce-inner { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.announce-dot { width: 5px; height: 5px; background: #fff; border-radius: 50%; opacity: .8; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 249, 239, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(143, 92, 12, .06);
}
.nav-wrap { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 8px;
  box-shadow: 0 6px 16px rgba(255, 123, 28, .35), inset 0 2px 0 rgba(255,255,255,.6);
  transform: rotate(-6deg);
}
.brand-mark span { background: #fff8e8; border-radius: 3px; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(3) { background: var(--ink); }
.brand-text strong { display: block; font-family: var(--head); font-size: 20px; letter-spacing: .06em; line-height: 1; }
.brand-text small { display: block; font-size: 8px; font-weight: 800; letter-spacing: .13em; color: var(--orange-deep); margin-top: 5px; }

.main-nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.main-nav a { font-weight: 800; font-size: 14px; color: var(--ink-2); position: relative; padding: 8px 0; white-space: nowrap; }
.main-nav a::after {
  content: ''; position: absolute; bottom: 2px; inset-inline-start: 0; height: 3px; width: 0;
  border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--orange)); transition: width .22s;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-wrap {
  display: flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 5px 10px; box-shadow: var(--shadow-sm);
}
.lang-globe { color: var(--orange); font-size: 15px; }
.lang-wrap select { border: 0; background: transparent; font-weight: 800; font-size: 12px; outline: none; cursor: pointer; padding: 2px; }
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 13px; border: 1.5px solid var(--line);
  background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: .2s;
}
.icon-btn:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 8px 18px rgba(244,176,39,.25); }
.icon-btn .ico { width: 20px; height: 20px; }
.icon-btn .count {
  position: absolute; top: -6px; inset-inline-end: -6px; min-width: 19px; height: 19px; padding: 0 4px;
  border-radius: 10px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--cream);
}
.menu-btn { display: none; }
.ico { display: inline-block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.search-row { display: flex; align-items: center; gap: 14px; padding: 0 0 14px; }
.search-form {
  flex: 1; display: flex; align-items: center; gap: 10px; background: #fff;
  border: 2px solid var(--line); border-radius: 999px; padding: 5px 6px 5px 18px;
  box-shadow: var(--shadow-sm); transition: .2s;
}
[dir="rtl"] .search-form { padding: 5px 18px 5px 6px; }
.search-form:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(244,176,39,.14); }
.search-form > .ico { color: var(--orange); }
.search-form input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 60px; font-size: 14px; }
.search-form input::placeholder { color: var(--ink-3); }
.brand-chip-live {
  display: flex; align-items: center; gap: 8px; background: var(--gold-soft); border: 1.5px dashed var(--gold);
  border-radius: 999px; padding: 7px 16px; white-space: nowrap;
}
.brand-chip-label { font-size: 11px; color: var(--ink-2); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.brand-chip-value { font-family: var(--head); font-weight: 700; color: var(--orange-deep); }

/* ---------- buttons ---------- */
.btn {
  border: 0; border-radius: 14px; padding: 12px 22px; font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .18s, box-shadow .18s, background .18s; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--orange)); color: #3b2405; box-shadow: 0 8px 18px rgba(244,176,39,.34), inset 0 2px 0 rgba(255,255,255,.7); }
.btn-gold:hover { box-shadow: 0 12px 26px rgba(244,176,39,.46), inset 0 2px 0 rgba(255,255,255,.7); }
.btn-orange { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff; box-shadow: 0 8px 18px rgba(255,123,28,.3); }
.btn-ghost { background: #fff; border: 1.5px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 11px; }
.btn-block { width: 100%; }
.btn .ico { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 74px; }
.hero::before {
  content: ''; position: absolute; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,190,80,.45), rgba(255,190,80,0) 68%);
  top: -320px; inset-inline-end: -220px; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,123,28,.22), transparent 70%);
  bottom: -280px; inset-inline-start: -160px; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 900;
  letter-spacing: .18em; color: var(--orange-deep); background: #fff; border: 1.5px solid var(--gold);
  border-radius: 999px; padding: 7px 14px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }
.hero h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--gold), var(--orange) 60%, var(--orange-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 610px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.hero-trust .ico { color: var(--orange); width: 20px; height: 20px; }
.hero-art { position: relative; min-height: 420px; display: grid; place-items: center; }
.hero-disc {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: conic-gradient(from 30deg, var(--gold-2), var(--orange-2), var(--gold), var(--orange), var(--gold-2));
  box-shadow: 0 30px 70px rgba(216,90,0,.3), inset 0 0 0 18px rgba(255,255,255,.55);
  animation: float 7s ease-in-out infinite;
}
.hero-disc::before {
  content: ''; position: absolute; inset: 46px; border-radius: 50%; background: var(--cream);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.8), 0 10px 24px rgba(120,70,0,.15);
}
.hero-pixel { position: relative; z-index: 2; width: 190px; height: 190px; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 7px; transform: rotate(-8deg); }
.hero-pixel i { border-radius: 8px; background: var(--gold-soft); box-shadow: inset 0 -3px 0 rgba(216,90,0,.12); }
.hero-pixel i.on { background: linear-gradient(135deg, var(--gold), var(--orange)); }
.hero-pixel i.dark { background: var(--ink); }
.hero-sticker {
  position: absolute; background: #fff; border: 2px solid var(--line); border-radius: 16px;
  padding: 10px 16px; font-weight: 900; font-size: 13px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px; z-index: 3;
}
.hero-sticker .ico { color: var(--orange); }
.hero-sticker.s1 { top: 24px; inset-inline-end: 6px; transform: rotate(6deg); }
.hero-sticker.s2 { bottom: 26px; inset-inline-start: 0; transform: rotate(-5deg); }
.hero-sticker.s3 { top: 46%; inset-inline-start: -24px; transform: rotate(3deg); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(3deg); } }

/* ---------- sections ---------- */
.section { padding: 62px 0; }
.section-tint { background: linear-gradient(180deg, #fffdf8, #fff6e7); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); }
.section-head p { color: var(--ink-2); max-width: 600px; margin: 8px 0 0; }
.kicker { font-size: 11px; font-weight: 900; letter-spacing: .16em; color: var(--orange); text-transform: uppercase; margin-bottom: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-deep); font-weight: 900; font-size: 14px; }
.link-arrow .ico { width: 16px; height: 16px; }
[dir="rtl"] .link-arrow .ico { transform: scaleX(-1); }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cat-tile {
  position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 20px 18px; min-height: 152px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-sm); transition: .22s; overflow: hidden;
}
.cat-tile::after { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: var(--gold-soft); inset-inline-end: -32px; top: -34px; opacity: .8; }
.cat-tile:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.cat-ico { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--gold-2), var(--orange)); display: grid; place-items: center; color: #4a2a00; box-shadow: 0 6px 14px rgba(244,176,39,.3); position: relative; z-index: 1; }
.cat-ico .ico { width: 24px; height: 24px; }
.cat-tile h3 { font-size: 16px; position: relative; z-index: 1; }
.cat-tile small { display: block; color: var(--ink-3); font-size: 11px; font-weight: 800; margin-top: 4px; }
.reg-dot { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; background: #fff2e8; color: #b3470d; border: 1px solid #ffcba6; border-radius: 999px; font-size: 9px; font-weight: 900; padding: 3px 8px; letter-spacing: .04em; }

/* brand strip */
.brand-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.brand-card {
  border: 2px solid var(--line); background: #fff; border-radius: var(--r); padding: 20px 16px;
  text-align: center; cursor: pointer; transition: .2s; position: relative; overflow: hidden;
}
.brand-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--b1), var(--b2)); }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand-card.active { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,123,28,.12), var(--shadow); }
.brand-orb { width: 56px; height: 56px; margin: 8px auto 12px; border-radius: 18px; background: linear-gradient(135deg, var(--b1), var(--b2)); box-shadow: inset 0 3px 0 rgba(255,255,255,.6), 0 10px 20px rgba(120,70,0,.18); transform: rotate(-6deg); }
.brand-card h4 { font-size: 15px; }
.brand-card small { color: var(--ink-3); font-size: 11px; font-weight: 800; }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 18px; }
.product-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: .22s; display: flex; flex-direction: column; position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.product-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--gold-soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-media img { transform: scale(1.05); }
.badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.badge { background: #fff; border-radius: 8px; padding: 4px 9px; font-size: 10px; font-weight: 900; letter-spacing: .04em; box-shadow: var(--shadow-sm); }
.badge.hand { background: var(--ink); color: #fff; }
.badge.sale { background: var(--orange); color: #fff; }
.badge.reg { background: #fff0e2; color: #a33c00; border: 1px solid #ffc89d; }
.fav-btn { position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.fav-btn.on { color: var(--orange); }
.fav-btn .ico { width: 18px; height: 18px; }
.fav-btn.on .ico { fill: currentColor; }
.product-body { padding: 15px 15px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product-brand { font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.product-title { font-family: var(--head); font-size: 15px; font-weight: 600; line-height: 1.3; min-height: 39px; }
.product-meta { font-size: 11px; color: var(--ink-3); font-weight: 700; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price { font-family: var(--head); font-size: 21px; font-weight: 700; color: var(--ink); }
.price.old { font-size: 13px; color: var(--ink-3); text-decoration: line-through; }
.rating { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--ink-2); }
.rating .star { color: var(--gold); letter-spacing: 1px; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.card-actions .btn { padding: 10px 12px; font-size: 12px; }
.quick-btn { width: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; }
.quick-btn:hover { border-color: var(--gold); }
.quick-btn .ico { width: 18px; height: 18px; }

/* ---------- category page ---------- */
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 800; color: var(--ink-3); padding: 22px 0 14px; }
.crumbs a:hover { color: var(--orange); }
.crumbs .ico { width: 13px; height: 13px; }
[dir="rtl"] .crumbs .ico { transform: scaleX(-1); }
.cat-hero {
  background: linear-gradient(120deg, #fff4dd, #ffe6c4 55%, #ffd9a5); border: 1.5px solid var(--line-2);
  border-radius: var(--r-lg); padding: 30px; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.cat-hero::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 30px solid rgba(255,255,255,.45); inset-inline-end: -90px; top: -110px; }
.cat-hero h1 { font-size: clamp(28px, 3.6vw, 44px); }
.cat-hero p { color: var(--ink-2); margin: 8px 0 0; max-width: 620px; position: relative; }
.cat-hero .cat-ico { width: 74px; height: 74px; border-radius: 22px; }
.cat-hero .cat-ico .ico { width: 38px; height: 38px; }
.count-pill { background: #fff; border: 1.5px solid var(--gold); border-radius: 999px; padding: 8px 16px; font-weight: 900; font-size: 13px; color: var(--orange-deep); box-shadow: var(--shadow-sm); }

.notice {
  background: #fff6ea; border: 1.5px solid #ffc98d; border-radius: var(--r); padding: 16px 18px;
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px;
}
.notice .ico { color: var(--orange); margin-top: 2px; }
.notice strong { display: block; font-family: var(--head); margin-bottom: 3px; }
.notice p { margin: 0; font-size: 13px; color: var(--ink-2); }

.brand-switch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.brand-switch > span { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-inline-end: 4px; }
.switch-chip {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 8px 15px; font-weight: 800; font-size: 13px; transition: .18s;
}
.switch-chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.switch-chip.active { border-color: var(--orange); background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(255,123,28,.1); }
.switch-dot { width: 14px; height: 14px; border-radius: 5px; background: linear-gradient(135deg, var(--b1), var(--b2)); transform: rotate(45deg); }

.sub-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.sub-pill { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 800; color: var(--ink-2); }
.sub-pill:hover { border-color: var(--gold); color: var(--ink); }
.sub-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sub-pill.reg::after { content: ' ●'; color: var(--orange); font-size: 8px; }

.shop-layout { display: grid; grid-template-columns: 236px 1fr; gap: 24px; align-items: start; }
.filter-panel { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-sm); position: sticky; top: 172px; }
.filter-panel h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.filter-panel h3 .ico { color: var(--orange); }
.filter-group { border-top: 1px solid var(--line); padding: 14px 0; }
.filter-group:first-of-type { border-top: 0; }
.filter-group h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 10px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { border: 1.5px solid var(--line); background: #fff; border-radius: 9px; padding: 5px 10px; font-size: 11px; font-weight: 800; color: var(--ink-2); }
.opt:hover { border-color: var(--gold); }
.opt.on { background: var(--gold-soft); border-color: var(--orange); color: var(--orange-deep); }
.price-inputs { display: flex; gap: 8px; }
.price-inputs input { width: 100%; min-width: 0; border: 1.5px solid var(--line); border-radius: 9px; padding: 7px 9px; font-size: 12px; outline: none; }
.price-inputs input:focus { border-color: var(--gold); }
.check-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.check-row input { accent-color: var(--orange); margin-top: 3px; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .count-text { font-size: 13px; font-weight: 800; color: var(--ink-2); }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--ink-3); }
.sort-wrap select { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 10px; font-weight: 800; font-size: 12px; outline: none; }

/* ---------- detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; padding-top: 8px; }
.gallery-main {
  border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--gold-soft);
  box-shadow: var(--shadow); aspect-ratio: 1;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.thumb { border: 2px solid var(--line); background: #fff; border-radius: 12px; overflow: hidden; padding: 0; aspect-ratio: 1; }
.thumb.active { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,123,28,.15); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-note { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--ink-3); margin-top: 10px; font-weight: 700; }
.detail-info .pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.detail-pill { background: var(--gold-soft); color: var(--orange-deep); border: 1px solid var(--gold); border-radius: 999px; padding: 4px 11px; font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.detail-info h1 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 12px; }
.detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.detail-price { font-family: var(--head); font-size: 38px; font-weight: 700; margin-bottom: 6px; }
.attr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.attr { background: #fff; border: 1.5px solid var(--line); border-radius: 13px; padding: 10px 13px; }
.attr small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 900; }
.attr strong { font-size: 13px; font-weight: 800; }
.detail-desc { color: var(--ink-2); font-size: 14px; margin-bottom: 18px; }
.buy-row { display: flex; gap: 10px; align-items: center; margin: 18px 0; flex-wrap: wrap; }
.qty-box { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 13px; background: #fff; overflow: hidden; }
.qty-box button { width: 38px; height: 46px; border: 0; background: transparent; font-size: 18px; font-weight: 900; color: var(--orange); }
.qty-box span { min-width: 34px; text-align: center; font-weight: 900; }
.trust-list { display: grid; gap: 9px; border-top: 1px solid var(--line); padding-top: 16px; }
.trust-list div { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; color: var(--ink-2); }
.trust-list .ico { color: var(--orange); width: 17px; height: 17px; }

/* ---------- info pages ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 30px; margin: 30px 0 10px; }
.prose p { color: var(--ink-2); font-size: 15px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.value-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); }
.value-card .cat-ico { margin-bottom: 14px; }
.value-card h3 { font-size: 18px; margin-bottom: 6px; }
.value-card p { font-size: 13px; color: var(--ink-2); margin: 0; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dir-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-sm); }
.dir-card h3 { font-size: 17px; margin-bottom: 8px; }
.dir-card .sub-list { display: flex; flex-wrap: wrap; gap: 5px; }
.dir-card .sub-list span { background: var(--gold-soft); border-radius: 7px; padding: 3px 8px; font-size: 10px; font-weight: 800; color: var(--ink-2); }
.dir-card .sub-list span.reg { background: #ffecdd; color: #a33c00; }

.cta-band {
  background: linear-gradient(120deg, var(--ink), #5a3c12 60%, var(--orange-deep)); color: #fff;
  border-radius: var(--r-lg); padding: 44px; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap; margin-top: 60px; position: relative; overflow: hidden;
}
.cta-band::after { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,183,77,.18); inset-inline-end: -70px; top: -110px; }
.cta-band h2 { font-size: 32px; }
.cta-band p { color: rgba(255,255,255,.8); margin: 8px 0 0; }

/* ---------- drawer / modal / toast ---------- */
.scrim { position: fixed; inset: 0; background: rgba(44, 28, 6, .38); backdrop-filter: blur(3px); z-index: 60; opacity: 0; pointer-events: none; transition: .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; inset-inline-end: 0; height: 100%; width: min(430px, 100%); background: var(--cream);
  z-index: 70; transform: translateX(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; border-inline-start: 1px solid var(--line);
}
[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 22px; }
.drawer-body { flex: 1; overflow: auto; padding: 16px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 20px; background: #fff; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-2); }
.empty-state .ico { width: 48px; height: 48px; color: var(--gold); margin-bottom: 14px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.cart-line h4 { font-size: 13px; line-height: 1.25; }
.cart-line .price { font-size: 16px; }
.cart-line .row { justify-content: space-between; }
.line-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.line-qty button { border: 0; background: transparent; width: 24px; height: 24px; font-weight: 900; color: var(--orange); }
.line-qty span { font-size: 12px; font-weight: 900; min-width: 18px; text-align: center; }
.sum-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; padding: 5px 0; color: var(--ink-2); }
.sum-row.total { font-size: 18px; color: var(--ink); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }

.modal-wrap { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: rgba(44,28,6,.45); backdrop-filter: blur(4px); }
.modal { width: min(760px, 100%); max-height: 92vh; overflow: auto; background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.modal-head h3 { font-size: 22px; }
.modal-body { padding: 22px 24px 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.field input, .field select { border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 12px; background: #fff; outline: none; }
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,176,39,.15); }
.checkout-sec { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 14px; }
.checkout-sec h4 { font-size: 15px; margin-bottom: 12px; }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay-card { border: 2px solid var(--line); border-radius: 14px; padding: 14px 12px; background: #fff; text-align: center; cursor: pointer; transition: .18s; }
.pay-card:hover { border-color: var(--gold); }
.pay-card.active { border-color: var(--orange); background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(255,123,28,.1); }
.pay-card .ico { width: 26px; height: 26px; color: var(--orange); margin-bottom: 6px; }
.pay-card strong { display: block; font-size: 13px; }
.pay-card small { display: block; font-size: 10px; color: var(--ink-3); margin-top: 3px; line-height: 1.3; }
.crypto-box { margin-top: 12px; background: var(--gold-soft); border: 1.5px dashed var(--gold); border-radius: 13px; padding: 12px; }
.crypto-box .field { margin-top: 10px; }
.demo-note { display: flex; gap: 8px; align-items: flex-start; background: #fff6e7; border: 1px solid var(--gold); border-radius: 12px; padding: 11px 13px; font-size: 12px; color: var(--ink-2); font-weight: 700; margin-top: 14px; }
.demo-note .ico { color: var(--orange); }

.toast { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 100; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 18px; font-weight: 800; font-size: 13px; box-shadow: var(--shadow-lg); transform: translateY(140%); opacity: 0; transition: .28s; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ---------- footer ---------- */
.site-footer { background: #fff4e2; border-top: 1px solid var(--line-2); margin-top: 40px; padding: 50px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 34px; }
.footer-col h4 { font-size: 15px; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--ink-2); font-weight: 700; padding: 3px 0; }
.footer-col a:hover { color: var(--orange); }
.footer-about p { font-size: 12px; color: var(--ink-2); margin-top: 12px; max-width: 320px; }
.trust-mini { display: flex; gap: 8px; margin-top: 14px; }
.trust-mini span { width: 36px; height: 36px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--orange); }
.news-form { display: flex; gap: 8px; margin-top: 10px; }
.news-form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 11px; padding: 9px 12px; background: #fff; outline: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line-2); margin-top: 34px; padding-top: 18px; font-size: 11px; color: var(--ink-3); font-weight: 700; }
.footer-pay { display: flex; align-items: center; gap: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .main-nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 14px 20px; flex-wrap: wrap; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .menu-btn { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 340px; }
  .discount-ignore { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .filter-panel .filter-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 20px; }
  .detail-grid { grid-template-columns: 1fr; gap: 22px; }
  .brand-strip { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1240px); }
  .announce-inner { gap: 8px; font-size: 10px; }
  .nav-wrap { min-height: 64px; gap: 10px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 7px; }
  .brand-mark { width: 36px; height: 36px; padding: 6px; }
  .lang-wrap { padding: 4px 7px; }
  .nav-actions { gap: 5px; }
  .icon-btn { width: 36px; height: 36px; }
  .search-row { flex-direction: column; align-items: stretch; }
  .brand-chip-live { justify-content: center; }
  .hero { padding: 38px 0 50px; }
  .hero h1 { font-size: 40px; }
  .hero-art { min-height: 300px; }
  .hero-disc { width: 280px; height: 280px; }
  .hero-disc::before { inset: 36px; }
  .hero-pixel { width: 150px; height: 150px; }
  .hero-sticker { font-size: 11px; padding: 7px 11px; }
  .section { padding: 44px 0; }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-body { padding: 11px; }
  .product-title { font-size: 13px; min-height: 34px; }
  .price { font-size: 17px; }
  .card-actions .btn { font-size: 11px; padding: 8px; }
  .quick-btn { width: 34px; }
  .cat-hero { padding: 22px; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .pay-grid, .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 16px; }
}

[dir="rtl"] .hero-pixel { transform: rotate(8deg); }
[dir="rtl"] .brand-mark { transform: rotate(6deg); }
[dir="rtl"] .brand-orb { transform: rotate(6deg); }
[dir="rtl"] .switch-dot { transform: rotate(-45deg); }
[dir="rtl"] .lang-globe { font-size: 17px; }
[dir="rtl"] .footer-pay { direction: ltr; }
