@font-face {
  font-family: "Link Sans Product";
  src: url("../assets/fonts/LinkSans.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

:root {
  --blue: #1269f0;
  --blue-deep: #0b55ca;
  --ink: #0c2530;
  --muted: #526773;
  --soft: #f5fbff;
  --soft-blue: #e9f5ff;
  --line: rgba(12, 37, 48, .10);
  --card: #ffffff;
  --yellow: #ffc842;
  --yellow-soft: #ffe680;
  --shadow: 0 12px 28px rgba(12, 37, 48, .08);
  --shadow-strong: 0 20px 44px rgba(12, 37, 48, .13);
  --radius: 22px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--soft); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Link Sans Product", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(18,105,240,.10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 60%, #eef8ff 100%);
  padding-bottom: env(safe-area-inset-bottom);
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; }

.store-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 28px));
  margin: 12px auto 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(12,37,48,.06);
  backdrop-filter: blur(12px);
}

.brand-lockup,
.store-nav { display: inline-flex; align-items: center; min-width: 0; }
.brand-lockup { gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.025em; }
.brand-lockup img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.store-nav { gap: 8px; color: #334e5b; }
.store-nav a { padding: 9px 11px; border-radius: 999px; white-space: nowrap; font-weight: 700; }
.store-nav a:hover { background: var(--soft-blue); }
.lang-switch {
  min-width: 46px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.store-page { width: min(1120px, calc(100% - 28px)); margin: 20px auto 70px; }
.store-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 6px 2px 10px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 5px;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 800;
}
.store-intro h1,
.detail-copy h1 { margin: 0; font-size: clamp(30px, 4.2vw, 46px); line-height: 1; letter-spacing: -.05em; }
.store-intro p:not(.eyebrow) { max-width: 680px; margin: 9px 0 0; color: var(--muted); font-size: clamp(14px, 1.5vw, 17px); line-height: 1.45; }
.market-pill {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.products-section { padding: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: clamp(24px, 3.2vw, 34px); line-height: 1; letter-spacing: -.04em; }
.visually-soft { display: none; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #38515d;
  cursor: pointer;
  font-weight: 700;
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.filter-tab:hover { transform: translateY(-1px); background: var(--soft-blue); }
.filter-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 8px 22px rgba(12,37,48,.055);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(18,105,240,.22); }
.product-art { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f1f5f8; }
.product-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .30s ease; }
.product-card:hover .product-art img { transform: scale(1.018); }
.product-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(12,37,48,.08);
}
.product-badge.free { color: #097a43; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 15px; }
.product-type { color: var(--blue-deep); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.product-title { margin: 6px 0 0; font-size: 20px; line-height: 1.18; letter-spacing: -.03em; }
.product-title a:hover { color: var(--blue-deep); }
.product-subtitle { margin: 6px 0 0; color: #38515d; font-size: 14px; line-height: 1.35; font-weight: 700; }
.product-footer { margin-top: auto; padding-top: 14px; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.price { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.microcopy { color: var(--muted); font-size: 11px; line-height: 1.3; text-align: right; max-width: 160px; }
.product-actions { display: grid; grid-template-columns: .82fr 1.18fr; gap: 8px; }
.detail-button,
.product-button,
.sticky-cta,
.back-pill,
.slider-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.detail-button { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.detail-button:hover { background: var(--soft-blue); }
.product-button { padding: 0 14px; text-align: center; }
.product-button--primary,
.sticky-cta { color: #fff; background: var(--blue); box-shadow: 0 12px 22px rgba(18,105,240,.20); }
.product-button--primary:hover,
.sticky-cta:hover { background: var(--blue-deep); }
.product-button--free { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 20px rgba(176,117,0,.12); }
.detail-button:hover,
.product-button:hover,
.sticky-cta:hover,
.back-pill:hover,
.slider-button:hover { transform: translateY(-2px); }
.pressable:active,
.detail-button:active,
.product-button:active,
.sticky-cta:active,
.back-pill:active,
.slider-button:active { transform: translateY(0) scale(.98); }
.reveal { animation: cardIn .36s ease both; animation-delay: var(--delay, 0ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Product detail pages */
.detail-page .store-page { margin-bottom: 104px; }
.detail-shell {
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
  gap: clamp(18px, 3.2vw, 34px);
  align-items: start;
  padding: clamp(12px, 2.5vw, 22px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 28px rgba(12,37,48,.055);
}
.detail-media { position: sticky; top: 88px; }
.product-slider { display: grid; gap: 12px; }
.slider-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}
.slider-track { display: flex; width: 100%; height: 100%; transition: transform .28s ease; }
.slider-slide { flex: 0 0 100%; height: 100%; margin: 0; }
.slider-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(12,37,48,.10);
}
.slider-button:hover { transform: translateY(-50%) scale(1.03); }
.slider-button:active { transform: translateY(-50%) scale(.98); }
.slider-button.prev { left: 10px; }
.slider-button.next { right: 10px; }
.slider-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(12,37,48,.72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.slider-dots { display: flex; justify-content: center; gap: 7px; }
.slider-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(12,37,48,.18); cursor: pointer; transition: width .16s ease, background .16s ease; }
.slider-dot.is-active { width: 22px; background: var(--blue); }
.slider-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; text-align: center; }
.detail-copy { padding: 4px 0; }
.detail-copy .product-badge { position: static; display: inline-flex; width: fit-content; margin-bottom: 12px; box-shadow: none; border: 1px solid var(--line); }
.detail-copy .lead { margin: 14px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.5; }
.detail-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0; }
.detail-price strong { font-size: clamp(28px, 4vw, 42px); line-height: 1; letter-spacing: -.04em; }
.detail-price span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 20px; }
.detail-actions .product-button { min-width: 190px; }
.back-pill { min-width: 130px; padding: 0 18px; background: #fff; border: 1px solid var(--line); }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.info-card { padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.info-card h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.02em; }
.info-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: #355260; line-height: 1.42; }
.info-card li { position: relative; padding-left: 18px; }
.info-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-deep); font-weight: 800; }
.mobile-detail-bar { display: none; }
:focus-visible { outline: 3px solid rgba(18,105,240,.35); outline-offset: 3px; }

@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-shell { grid-template-columns: 1fr; }
  .detail-media { position: static; }
}

@media (max-width: 700px) {
  body { background: linear-gradient(180deg, #ffffff 0%, #f6fbff 55%, #edf8ff 100%); }
  .store-topbar { width: calc(100% - 18px); margin-top: 9px; padding: 8px 9px; }
  .brand-lockup span { font-size: 15px; }
  .brand-lockup img { width: 38px; height: 38px; }
  .store-nav a { display: none; }
  .store-page { width: calc(100% - 18px); margin-top: 12px; margin-bottom: 42px; }
  .store-intro { align-items: start; flex-direction: column; gap: 10px; padding: 2px 0 12px; }
  .store-intro h1 { font-size: 30px; }
  .store-intro p:not(.eyebrow) { font-size: 14px; margin-top: 7px; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; margin-inline: -2px; scrollbar-width: none; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { flex: 0 0 auto; min-height: 38px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { border-radius: 22px; }
  .product-art { aspect-ratio: 1.04 / 1; }
  .product-body { padding: 14px; }
  .product-title { font-size: 19px; }
  .product-actions { grid-template-columns: 1fr 1.12fr; }
  .detail-button,
  .product-button { min-height: 48px; }
  .microcopy { display: none; }
  .detail-shell { padding: 12px; border-radius: 24px; box-shadow: none; }
  .slider-frame { border-radius: 22px; aspect-ratio: 1.03 / 1; }
  .slider-button { min-width: 40px; min-height: 40px; }
  .detail-copy h1 { font-size: 30px; }
  .detail-copy .lead { font-size: 15px; }
  .detail-actions { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .detail-page .store-page { margin-bottom: 110px; }
  .mobile-detail-bar {
    position: fixed;
    z-index: 40;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 8px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 42px rgba(12,37,48,.16);
    backdrop-filter: blur(12px);
  }
  .mobile-detail-bar .mobile-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
    font-size: 15px;
    border: 1px solid var(--line);
  }
  .sticky-cta { min-height: 50px; }
}

@media (max-width: 420px) {
  .store-page { width: calc(100% - 14px); }
  .store-topbar { width: calc(100% - 14px); }
  .product-actions { grid-template-columns: 1fr; }
  .mobile-detail-bar { grid-template-columns: .72fr 1.28fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}


/* Store polish v1.2.10 — cleaner conversion layout */
:root {
  --ink: #173342;
  --muted: #5f7280;
  --line: rgba(23, 51, 66, .11);
  --shadow: 0 10px 24px rgba(23, 51, 66, .075);
}

.store-topbar {
  box-shadow: 0 6px 18px rgba(23, 51, 66, .055);
}

.brand-lockup {
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #173342;
}

.store-nav a,
.lang-switch,
.filter-tab,
.product-badge,
.product-type,
.detail-button,
.product-button,
.sticky-cta,
.back-pill,
.slider-button {
  font-weight: 700;
}

.store-intro h1,
.detail-copy h1 {
  color: #173342;
  font-weight: 700;
  letter-spacing: -0.032em;
}

.store-intro h1 {
  font-size: clamp(28px, 3.2vw, 38px);
}

.detail-copy h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
}

.eyebrow,
.product-type {
  font-weight: 700;
  letter-spacing: .055em;
}

.product-grid {
  gap: 16px;
}

.product-card {
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(23, 51, 66, .045);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(23, 51, 66, .08);
}

.product-title {
  color: #142f3e;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-subtitle {
  color: #4d6471;
  font-weight: 500;
}

.price {
  color: #142f3e;
  font-weight: 700;
}

.microcopy {
  color: #657884;
}

.filter-tab.is-active {
  background: #173342;
  border-color: #173342;
}

.product-button--primary,
.sticky-cta {
  background: #1269f0;
  box-shadow: 0 10px 20px rgba(18, 105, 240, .18);
}

.detail-shell {
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 22px rgba(23, 51, 66, .045);
}

.info-card h2 {
  font-weight: 700;
}

@media (max-width: 700px) {
  .store-topbar {
    border-radius: 20px;
  }

  .store-intro h1,
  .detail-copy h1 {
    font-size: 28px;
  }

  .product-card {
    border-radius: 19px;
  }
}

/* Wrong-market guard: light, practical, not a new hero */
.market-guard {
  width: min(1120px, calc(100% - 28px));
  margin: 10px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(18,105,240,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 22px rgba(12,37,48,.055);
  color: #284653;
}
.market-guard[hidden] { display: none !important; }
.market-guard__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.market-guard__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.market-guard__text strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.01em;
}
.market-guard__text span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.market-guard__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.market-guard__switch,
.market-guard__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.market-guard__switch {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 8px 16px rgba(18,105,240,.16);
}
.market-guard__dismiss { background: #fff; color: var(--muted); }
.market-guard__switch:hover { background: var(--blue-deep); }
.market-guard__dismiss:hover { color: var(--ink); background: var(--soft-blue); }

@media (max-width: 640px) {
  .market-guard { width: calc(100% - 18px); margin-top: 8px; border-radius: 16px; padding: 10px; }
  .market-guard__inner { align-items: stretch; flex-direction: column; gap: 10px; }
  .market-guard__actions { display: grid; grid-template-columns: 1fr auto; }
  .market-guard__switch { min-height: 42px; }
}


/* v1.2.12 — split language from market/currency, leaner store entry */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.store-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 4px 0 12px;
}

.store-intro { display: none; }

.market-switch {
  min-width: 54px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #173342;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch {
  min-width: 46px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.market-switch:hover,
.lang-switch:hover {
  transform: translateY(-1px);
  background: var(--soft-blue);
}

.store-nav {
  gap: 7px;
}

.market-pill {
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  color: #516878;
  font-weight: 650;
}

.detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 14px;
}

.detail-toolbar .back-pill {
  min-height: 40px;
  min-width: 0;
  padding: 0 14px;
  font-size: 14px;
}

.detail-copy .detail-actions .back-pill {
  display: none;
}

.detail-copy h1 {
  font-weight: 680;
  letter-spacing: -0.026em;
}

.product-title {
  font-weight: 680;
}

.brand-lockup {
  font-weight: 680;
}

@media (max-width: 700px) {
  .store-nav {
    gap: 6px;
  }
  .store-nav a#weeklyLink {
    display: none;
  }
  .market-switch,
  .lang-switch {
    min-width: 44px;
    min-height: 36px;
    font-size: 13px;
  }
  .store-toolbar {
    justify-content: flex-start;
    margin: 4px 0 10px;
  }
  .detail-toolbar {
    position: sticky;
    top: 70px;
    z-index: 25;
    margin: 8px 0 10px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 20px rgba(23,51,66,.055);
    backdrop-filter: blur(12px);
  }
  .detail-toolbar .back-pill {
    min-height: 38px;
    font-size: 13px;
  }
  .detail-toolbar .market-pill {
    display: none;
  }
  .detail-page .store-topbar {
    top: 0;
  }
  .detail-shell {
    margin-top: 0;
  }
  .slider-note {
    margin-bottom: 4px;
  }
}
