:root {
  --ali: #ff5a5f;
  --ali-deep: #e63946;
  --orange: #ff7a45;
  --ink: #16181d;
  --muted: #707887;
  --bg: #f7f8fa;
  --card: #ffffff;
  --line: #eceef2;
  --gold: #f5a623;
  --green: #1fab5a;
  --shadow: 0 8px 24px rgba(20, 22, 30, 0.07);
  --radius: 14px;
}

/* ---------- dark theme ---------- */
.dark {
  --ali: #ff6b70;
  --ali-deep: #ff7b81;
  --ink: #e8eaf0;
  --muted: #9aa3b4;
  --bg: #0f1116;
  --card: #1a1d25;
  --line: #2a2e3a;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.dark .badge.choice { background: #000; }
.dark .reassure-grid div:nth-child(1) .ic { background: #3a241f; }
.dark .reassure-grid div:nth-child(2) .ic { background: #1f2a3a; }
.dark .reassure-grid div:nth-child(3) .ic { background: #1d3328; }
.dark .reassure-grid div:nth-child(4) .ic { background: #38301c; }
.dark .pdp-bar { background: rgba(20, 23, 30, .82); }
.dark .nav { background: rgba(30, 34, 44, .92); }
.dark .nav:hover { background: #2a2e3a; }
.dark .buybar { background: rgba(20, 23, 30, .95); }
.dark .dots .dot { background: #3a3f4d; }
.dark .stock-track { background: #2a2e3a; }
.dark .skel .media, .dark .skel .line,
.dark .gallery-skel, .dark .info-skel .line {
  background: linear-gradient(90deg, #1f232c 25%, #262b35 37%, #1f232c 63%);
  background-size: 400% 100%;
}
.dark .country-pick.compact { box-shadow: 0 1px 2px rgba(0,0,0,.3); }

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
img { max-width: 100%; }
a { color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ---------- theme toggle ---------- */
.theme-toggle {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  cursor: pointer; font-size: 16px; line-height: 1; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.theme-toggle:hover { transform: translateY(-1px) rotate(-8deg); border-color: #cfd3db; }
.dark .theme-toggle:hover { border-color: #3a3f4d; }
.theme-toggle:focus-visible { outline: 2px solid var(--ali); outline-offset: 2px; }

/* ---------- promo bar ---------- */
.promo-bar {
  background: linear-gradient(90deg, #1a1c22 0%, #23262f 50%, #1a1c22 100%);
  color: #f3f4f6;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 16px;
  letter-spacing: .2px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.promo-bar .sep { opacity: .35; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ---------- hero ---------- */
.hero {
  background: var(--card);
  padding: 28px 18px 34px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 1100px; margin: 0 auto; }
.hero-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.brand { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-width: 0; }
.logo { font-size: 26px; font-weight: 900; letter-spacing: -.5px; display: inline-flex; align-items: center; gap: 9px; }
.logo .logo-text span { color: var(--ali); }
.logo-mark { display: inline-block; vertical-align: middle; border-radius: 8px; }
.tag {
  font-size: 12px; font-weight: 700; color: var(--ali-deep);
  background: var(--card); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px;
}
.country-pick {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted); max-width: 100%; flex-shrink: 0;
}
.country-pick select {
  padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); font-weight: 700; color: var(--ink); cursor: pointer;
  max-width: 180px; text-overflow: ellipsis;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 46px); line-height: 1.05; margin: 18px 0 8px;
  font-weight: 900; letter-spacing: -1px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--ali) 0%, var(--orange) 55%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .sub { font-size: clamp(15px, 2.2vw, 19px); color: #4b4b4f; max-width: 720px; margin: 0 0 16px; }
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; }
.trust {
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 13px; font-size: 13px; font-weight: 600;
}
.trust strong { color: var(--ali-deep); }

/* ---------- main ---------- */
main { max-width: 1100px; margin: 0 auto; padding: 26px 18px 40px; }
.section-head h2 { font-size: 24px; margin: 6px 0 2px; font-weight: 900; }
.section-head { margin-bottom: 14px; }

.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* ---------- card ---------- */
.card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dfe2e8; }
.card:focus-visible { outline: 3px solid var(--ali); outline-offset: 2px; }

.media { position: relative; aspect-ratio: 1/1; background: var(--bg); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* mini carousel inside home cards */
.c-carousel { position: absolute; inset: 0; overflow: hidden; }
.c-track { display: flex; height: 100%; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.c-slide { min-width: 100%; height: 100%; }
.c-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--ink); font-size: 19px; line-height: 1;
  display: flex; align-items: center; justify-content: center; padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.18); opacity: 0; transition: opacity .15s ease, background .15s ease;
}
.card:hover .c-nav { opacity: 1; }
.c-nav:hover { background: #fff; }
.c-nav.prev { left: 7px; }
.c-nav.next { right: 7px; }
.c-dots {
  position: absolute; left: 0; right: 0; bottom: 7px; z-index: 3;
  display: flex; justify-content: center; gap: 5px;
}
.c-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 3px rgba(0,0,0,.3); transition: width .2s ease, background .2s ease; }
.c-dot.on { width: 16px; border-radius: 999px; background: #fff; }
@media (hover: none) { .c-nav { opacity: 1; } }
.badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 6px; }
.badge {
  font-size: 11px; font-weight: 700; color: #fff; padding: 4px 8px; border-radius: 7px;
  background: var(--ali); letter-spacing: .3px; text-transform: uppercase;
}
.badge.hot { background: var(--ali-deep); }
.badge.choice { background: #111; }
.discount-flag {
  position: absolute; top: 8px; right: 8px; background: var(--gold); color: #1d1d1f;
  font-weight: 800; font-size: 13px; padding: 5px 9px; border-radius: 999px;
}

.body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.title {
  font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere; word-break: break-word;
  min-height: 38px;
}
.rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 1px; }
.sold { color: var(--green); font-weight: 700; }

.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-size: 22px; font-weight: 900; color: var(--ali-deep); font-variant-numeric: tabular-nums; }
.was { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.save { font-size: 12px; font-weight: 800; color: var(--green); }

.stock { margin-top: 2px; }
.stock-text { font-size: 11.5px; font-weight: 700; color: var(--ali-deep); margin-bottom: 4px; }
.stock-track { height: 6px; background: #f1e3dd; border-radius: 999px; overflow: hidden; }
.stock-fill { height: 100%; background: var(--ali); border-radius: 999px; }

.cta {
  margin-top: auto; text-align: center; font-weight: 700; font-size: 14.5px;
  color: #fff; background: var(--ali);
  padding: 11px 12px; border-radius: 10px; letter-spacing: .2px;
  transition: filter .15s ease;
}
.card:hover .cta { filter: brightness(1.05); }
.cta .arrow { transition: transform .15s ease; display: inline-block; }
.card:hover .cta .arrow { transform: translateX(4px); }

.viewing {
  font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px;
}
.viewing .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }

/* skeleton */
.skel { pointer-events: none; }
.skel .media, .skel .line { background: linear-gradient(90deg,#f4e9e4 25%,#fbeee9 37%,#f4e9e4 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; }
.skel .line { height: 12px; border-radius: 6px; margin: 8px 13px; }
.skel .line.short { width: 50%; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ---------- reassure ---------- */
.reassure { margin-top: 44px; }
.reassure h3 { font-size: 22px; font-weight: 900; margin-bottom: 16px; letter-spacing: -.3px; }
.reassure-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.reassure-grid div {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.reassure-grid div:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dfe2e8; }
.reassure-grid .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; font-size: 25px;
}
.reassure-grid div:nth-child(1) .ic { background: #fff0eb; }
.reassure-grid div:nth-child(2) .ic { background: #eaf4ff33; background: #eef5ff; }
.reassure-grid div:nth-child(3) .ic { background: #eafaf0; }
.reassure-grid div:nth-child(4) .ic { background: #fff6e3; }
.reassure-grid b { display: block; margin: 12px 0 5px; font-size: 15.5px; }
.reassure-grid p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty a { color: var(--ali-deep); font-weight: 700; }

/* ---------- footer ---------- */
.foot { margin: 48px 0 0; padding: 0; font-size: 12.5px; color: var(--muted); }
.foot-cta {
  width: min(1100px, calc(100% - 36px)); margin: 0 auto;
  background: linear-gradient(120deg, var(--ali) 0%, var(--orange) 58%, var(--gold) 100%);
  color: #fff; border-radius: 20px; padding: 28px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 16px 38px rgba(255, 90, 95, .28);
}
.foot-cta h3 { margin: 0 0 5px; font-size: 23px; font-weight: 900; color: #fff; letter-spacing: -.3px; }
.foot-cta p { margin: 0; opacity: .94; font-size: 14px; }
.foot-btn {
  background: #fff; color: var(--ali-deep); font-weight: 800; text-decoration: none;
  padding: 13px 24px; border-radius: 999px; white-space: nowrap; font-size: 14.5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16); transition: transform .15s ease, box-shadow .15s ease;
}
.foot-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 0, 0, .22); }
.foot-bottom {
  max-width: 1100px; margin: 26px auto 0; padding: 24px 18px 54px;
  border-top: 1px solid var(--line);
}
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 900; color: var(--ink); margin-bottom: 9px; }
.foot-brand b { color: var(--ali); }
.foot-brand img { border-radius: 7px; }
.foot-bottom p { margin: 6px 0 0; line-height: 1.55; }
.foot a { color: var(--ali-deep); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 16px; bottom: 16px; z-index: 50;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.16); padding: 11px 14px; max-width: 300px;
  display: flex; gap: 10px; align-items: center; animation: slidein .35s ease;
}
.toast img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.toast .t-txt { font-size: 12.5px; line-height: 1.35; }
.toast .t-txt b { color: var(--ali-deep); }
.toast .t-time { color: var(--muted); font-size: 11px; }
@keyframes slidein { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 680px) {
  .hero { padding: 16px 14px 22px; }
  .hero-top { gap: 10px; flex-wrap: nowrap; }
  .brand { gap: 8px; flex-wrap: wrap; min-width: 0; flex: 1 1 auto; }
  .logo { font-size: 20px; }
  .logo-mark { width: 26px; height: 26px; }
  .tag { display: none; }
  .country-pick { font-size: 12px; gap: 6px; flex: 0 0 auto; }
  .country-pick label { display: none; }
  .country-pick select { max-width: 130px; padding: 8px 10px; font-size: 16px; }
  .theme-toggle { width: 34px; height: 34px; font-size: 15px; }
  .hero h1 { font-size: clamp(22px, 7vw, 30px); margin: 12px 0 6px; letter-spacing: -.5px; }
  .hero .sub { font-size: 14.5px; margin-bottom: 12px; }
  .trust-row { gap: 6px; }
  .trust { font-size: 11.5px; padding: 5px 9px; }
  .promo-bar { font-size: 11px; gap: 4px 8px; padding: 7px 12px; line-height: 1.25; }
  .promo-bar .sep { display: none; }
  .promo-bar .pb-long { display: none; }
  main { padding: 16px 14px 30px; }
  .section-head h2 { font-size: 19px; }
  .reassure h3 { font-size: 19px; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .title { font-size: 12.5px; min-height: 34px; }
  .price { font-size: 17px; }
  .was { font-size: 12px; }
  .rating { font-size: 11px; }
  .body { padding: 9px 10px 11px; gap: 6px; }
  .cta { font-size: 13px; padding: 9px; }
  .badge { font-size: 10px; padding: 3px 6px; }
  .discount-flag { font-size: 11.5px; padding: 4px 7px; }
  .reassure-grid { grid-template-columns: 1fr; gap: 10px; }
  .reassure-grid div { padding: 14px; }
  .foot-cta { flex-direction: column; align-items: flex-start; text-align: left; padding: 20px; }
  .foot-cta h3 { font-size: 18px; }
  .foot-btn { width: 100%; text-align: center; }
}

@media (max-width: 360px) {
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .title { font-size: 13.5px; }
}

/* =====================================================================
   PRODUCT DETAIL PAGE (PDP)
   ===================================================================== */
.pdp-body { background: var(--bg); }
.pdp-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line); padding: 10px 16px;
}
.pdp-bar .back {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; text-decoration: none;
  font-size: 20px; font-weight: 800; color: var(--ink);
  border: 1px solid var(--line); background: var(--card);
}
.pdp-bar .back:hover { background: var(--bg); }
.brand-mini { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; font-size: 18px; font-weight: 900; letter-spacing: -.5px; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.brand-mini .logo-mark { flex: 0 0 auto; }
.brand-mini .logo-text { overflow: hidden; text-overflow: ellipsis; }
.brand-mini .logo-text span { color: var(--ali); }
.country-pick.compact { margin: 0 0 0 auto; float: none; min-width: 0; flex: 0 1 auto; display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.country-pick.compact .cp-pin { font-size: 13px; line-height: 1; flex: 0 0 auto; }
.country-pick.compact select {
  max-width: 100%; width: auto; box-sizing: border-box;
  padding: 4px 4px; border: none; border-radius: 8px;
  background: transparent; font-weight: 600; color: var(--ink); cursor: pointer; font-size: 13.5px;
  text-overflow: ellipsis; outline: none;
}

.pdp { max-width: 1080px; margin: 0 auto; padding: 22px 18px 90px; }
.pdp-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }

/* ----- gallery / carousel ----- */
.gallery { position: sticky; top: 78px; }
.carousel {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--card); aspect-ratio: 1/1;
}
.track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.slide { min-width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--card); }
.nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--ink); font-size: 26px; line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.16); display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease; z-index: 2;
}
.carousel:hover .nav { opacity: 1; }
.nav:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.nav.prev { left: 10px; }
.nav.next { right: 10px; }
.counter {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; font-variant-numeric: tabular-nums;
}
.discount-flag.big {
  position: absolute; top: -10px; right: -8px; left: auto; z-index: 5;
  font-size: 15px; padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

.dots { display: flex; justify-content: center; gap: 7px; margin: 12px 0 2px; }
.dots .dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: #d4d8e0; transition: width .2s ease, background .2s ease;
}
.dots .dot.on { width: 22px; border-radius: 999px; background: var(--ali); }

.thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs .thumb {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; background: var(--card); padding: 0; cursor: pointer;
}
.thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs .thumb.on { border-color: var(--ali); }

/* ----- info column ----- */
.info { display: flex; flex-direction: column; gap: 14px; }
.pill-badge {
  align-self: flex-start; font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .4px; color: #fff; background: var(--ali-deep); padding: 5px 10px; border-radius: 7px;
}
.pdp-title { font-size: clamp(20px, 3vw, 28px); font-weight: 800; line-height: 1.25; margin: 0; letter-spacing: -.4px; }
.rating-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.rating-row .stars { color: var(--gold); letter-spacing: 1px; }
.rating-row .rate-num { font-weight: 800; color: var(--ink); }
.rating-row .sold { color: var(--green); font-weight: 700; }
.rating-row .dot-sep { opacity: .5; }

.price-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-box .price { font-size: 32px; font-weight: 900; color: var(--ali-deep); }
.price-box .was { font-size: 16px; color: var(--muted); text-decoration: line-through; }
.price-box .off { font-size: 13px; font-weight: 800; color: #fff; background: var(--green); padding: 3px 8px; border-radius: 7px; }
.save-line { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--green); }
.price-note { margin-top: 4px; font-size: 12.5px; color: var(--muted); }

.pdp-stock { margin: 2px 0; }
.cta.big { font-size: 16.5px; padding: 15px; border-radius: 12px; }
.cta.big .arrow { transition: transform .15s ease; display: inline-block; }
.cta.big:hover .arrow { transform: translateX(4px); }

.perks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.perks li { font-size: 13.5px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.perks b { font-weight: 700; }

.pdp-missing { text-align: center; padding: 70px 20px; }
.pdp-missing h2 { font-size: 22px; margin: 0 0 6px; }
.pdp-missing a { color: var(--ali-deep); font-weight: 700; }

/* skeleton for pdp */
.skel-pdp { animation: none; }
.gallery-skel { aspect-ratio: 1/1; border-radius: var(--radius); background: linear-gradient(90deg,#eceef2 25%,#f4f5f8 37%,#eceef2 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; }
.info-skel .line { height: 16px; border-radius: 7px; margin: 0 0 14px; background: linear-gradient(90deg,#eceef2 25%,#f4f5f8 37%,#eceef2 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; }
.info-skel .line.short { width: 55%; }

/* ----- recommendations ----- */
.recs { border-top: 1px solid var(--line); background: var(--card); }
.recs-inner { max-width: 1080px; margin: 0 auto; padding: 28px 18px 40px; }
.recs-title { font-size: 22px; font-weight: 900; margin: 0 0 2px; letter-spacing: -.4px; }
.recs-sub { margin: 0 0 18px; font-size: 14px; color: var(--muted); }

/* ----- sticky mobile buy bar ----- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; align-items: center; gap: 12px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 10px 16px;
  box-shadow: 0 -6px 20px rgba(0,0,0,.06);
}
.buybar-price { display: flex; flex-direction: column; line-height: 1.1; }
.buybar-price .price { font-size: 20px; font-weight: 900; color: var(--ali-deep); }
.buybar-price .was { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.buybar .cta { margin: 0; flex: 1; padding: 13px; }

@media (max-width: 820px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery { position: relative; top: auto; min-width: 0; max-width: 100%; }
  .info { min-width: 0; }
  .buybar { display: flex; }
  .pdp { padding-bottom: 12px; }
  .recs-inner { padding-bottom: 90px; }
  .info .cta.big { display: none; }
}

@media (max-width: 560px) {
  .pdp-bar { gap: 8px; padding: 9px 12px; }
  .pdp-bar .back { width: 34px; height: 34px; font-size: 18px; }
  .brand-mini { font-size: 16px; }
  .country-pick.compact { padding: 4px 10px; }
  .country-pick.compact select { font-size: 16px; }
  .pdp { padding: 14px 14px 14px; }
  .gallery { width: 100%; max-width: 420px; margin: 0 auto; position: relative; top: auto; }
  .carousel { width: 100%; max-width: 100%; aspect-ratio: 1 / 1; }
  .carousel .slide img { object-fit: contain; }
  .thumbs .thumb { width: 54px; height: 54px; }
  .pdp-title { font-size: clamp(18px, 5vw, 22px); }
  .price-box { padding: 14px; }
  .price-box .price { font-size: 27px; }
  .recs-inner { padding: 22px 14px 90px; }
  .recs-title { font-size: 19px; }
  .buybar { padding: 9px 12px; gap: 10px; }
  .buybar-price .price { font-size: 18px; }
}

