/* ==========================================================================
   Vikenty — clean Tebex theme
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --bg: #0c1312;
  --bg-2: #111a19;
  --surface: #15201e;
  --surface-2: #1a2725;
  --line: rgba(214, 232, 226, 0.08);
  --line-strong: rgba(214, 232, 226, 0.16);
  --text: #e9efec;
  --muted: #93a39e;
  --accent: #6cc3a8;
  --accent-ink: #0b1a16;
  --warm: #e0a36f;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1200px;
  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-brand: "Cinzel", Georgia, serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 500; font-size: 14px; letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #82d1b8; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line); color: var(--text);
  transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.badge-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 600; display: grid; place-items: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 19, 18, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 40px; height: 40px; }
.brand-name { font-family: var(--ff-brand); font-weight: 700; font-size: 18px; letter-spacing: .14em; line-height: 1; }
.brand-sub { display: block; font-family: var(--ff-body); font-size: 9.5px; letter-spacing: .32em; color: var(--accent); margin-top: 5px; font-weight: 500; }

.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted);
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.is-active { color: var(--text); background: var(--surface-2); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.search {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); width: 210px;
  transition: border-color .2s;
}
.search:focus-within { border-color: var(--accent); }
.search svg { width: 16px; height: 16px; flex-shrink: 0; }
.search input { background: none; border: 0; outline: 0; color: var(--text); width: 100%; font: inherit; font-size: 13px; }
.search input::placeholder { color: var(--muted); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 75% 10%, rgba(224, 163, 111, .22), transparent 60%),
    radial-gradient(900px 500px at 10% 100%, rgba(108, 195, 168, .10), transparent 60%),
    linear-gradient(180deg, #13201d 0%, var(--bg) 100%);
}
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,19,18,.95) 0%, rgba(12,19,18,.6) 50%, rgba(12,19,18,.2) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 40%);
}
.hero-mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; }
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center;
  gap: 40px; padding: 110px 0 120px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -.01em;
  margin: 20px 0 22px;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero p.lead { max-width: 460px; color: var(--muted); font-size: 16.5px; margin: 0 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-emblem { justify-self: center; width: min(320px, 80%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }

/* ---------- Perks ---------- */
.perks { border-bottom: 1px solid var(--line); }
.perks-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.perk strong { display: block; font-weight: 500; font-size: 14px; }
.perk span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0 0; }
.section:last-of-type { padding-bottom: 110px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2 {
  font-family: var(--ff-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1; margin: 12px 0 0;
}
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--accent); white-space: nowrap; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 5; padding: 24px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); isolation: isolate;
}
.cat-card .media { position: absolute; inset: 0; z-index: -2; transition: transform .6s ease; }
.cat-card .media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,19,18,0) 30%, rgba(12,19,18,.92) 100%);
}
.cat-card:hover .media { transform: scale(1.05); }
.cat-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(12,19,18,.55); backdrop-filter: blur(6px); border: 1px solid var(--line-strong);
  color: var(--accent); margin-bottom: auto;
}
.cat-icon svg { width: 20px; height: 20px; }
.cat-card h3 { font-family: var(--ff-display); font-size: 28px; font-weight: 600; margin: 0 0 4px; line-height: 1.1; }
.cat-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.cat-card .go {
  position: absolute; right: 24px; bottom: 26px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text);
  transition: background .2s, color .2s, border-color .2s;
}
.cat-card .go svg { width: 16px; height: 16px; }
.cat-card:hover .go { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.product-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.product-media { position: relative; display: block; overflow: hidden; background: var(--surface-2); }
.product-media img { width: 100%; height: auto; transition: transform .6s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.tag {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(12,19,18,.7); backdrop-filter: blur(6px); color: var(--accent); border: 1px solid rgba(108,195,168,.3);
}
.tag.warm { color: var(--warm); border-color: rgba(224,163,111,.35); }
.product-body { display: flex; flex-direction: column; gap: 2px; padding: 18px 18px 18px; flex: 1; }
.product-body h3 { font-size: 15.5px; font-weight: 500; margin: 0; }
.product-body .sub { font-size: 13px; color: var(--muted); }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; }
.price { font-size: 17px; font-weight: 600; }
.price del { font-size: 13px; color: var(--muted); font-weight: 400; margin-right: 6px; }
.add-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-size: 13px;
  transition: background .2s, color .2s, border-color .2s;
}
.add-btn svg { width: 15px; height: 15px; }
.add-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Category / package pages ---------- */
.page-head { padding: 72px 0 8px; }
.page-head h1 { font-family: var(--ff-display); font-weight: 600; font-size: clamp(36px, 4.5vw, 56px); margin: 12px 0 8px; line-height: 1.05; }
.page-head p { color: var(--muted); max-width: 620px; margin: 0; }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.package-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding: 48px 0 110px; }
.package-gallery { align-self: start; min-width: 0; }
.package-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.package-media img { width: 100%; height: auto; }

/* Multi-image gallery: swipeable track + arrows + thumbnails */
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; height: auto; scroll-snap-align: start; }
/* Images keep their own ratio (no crop); shorter ones are centred vertically */
.gallery-track { align-items: center; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(12, 19, 18, .7); color: var(--text); font-size: 26px; line-height: 1;
  display: grid; place-items: center; padding: 0 0 3px; cursor: pointer; backdrop-filter: blur(6px);
  transition: background .2s, color .2s;
}
.gallery-nav:hover { background: var(--accent); color: var(--accent-ink); }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery-thumb {
  flex: 0 0 96px; aspect-ratio: 16 / 10; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--surface); cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: .85; }
.gallery-thumb.is-active { opacity: 1; border-color: var(--accent); }
.package-info h1 { font-family: var(--ff-display); font-size: 44px; font-weight: 600; margin: 8px 0 12px; line-height: 1.05; }
.package-info .price { font-size: 26px; display: block; margin-bottom: 24px; }
.package-desc { color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; margin-top: 28px; }

.empty { padding: 60px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.footer-grid h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-about p { color: var(--muted); font-size: 14px; margin: 16px 0 20px; max-width: 280px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; }
.pay-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-list span {
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-strong);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted);
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .search { display: none; }
  .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .perks-list { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: grid; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 72px 0 80px; }
  .hero-emblem { display: none; }
  .package-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cat-grid, .product-grid, .perks-list, .footer-grid { grid-template-columns: 1fr; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cat-card { aspect-ratio: 16 / 10; }
}

/* ---------- Tebex pages (basket, toasts, description) ---------- */
.section-tight { padding-top: 40px; }
.page-desc, .store-description { color: var(--muted); max-width: 720px; }
.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 100; max-width: 360px;
  padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface-2);
  border: 1px solid var(--line-strong); font-size: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.toast-error, .toast-danger { border-color: rgba(224, 111, 111, .5); }
.toast-success { border-color: rgba(108, 195, 168, .5); }
.basket > * { max-width: 720px; }
.basket-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.basket-item { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.basket-item > span:first-child { flex: 1; }
.basket-remove { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); border: 1px solid var(--line); }
.basket-remove:hover { color: var(--text); border-color: var(--line-strong); }
.basket-total { display: flex; justify-content: space-between; padding: 24px 0; font-size: 18px; }

/* Legal footer required by Tebex */
:root {
  --tebex-legal-footer-background-color: #111a19;
  --tebex-legal-footer-text-color: #93a39e;
  --tebex-legal-footer-border-color: rgba(214, 232, 226, 0.08);
  --tebex-legal-footer-max-width: 1200px;
}

/* ---------- Subcategories: dropdown menu + tabs ---------- */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-item .chevron { width: 14px; height: 14px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px;
  display: flex; flex-direction: column; padding: 6px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.main-nav .dropdown a { border-radius: 8px; padding: 9px 12px; }
.main-nav .dropdown a:hover, .main-nav .dropdown a.is-active { background: var(--surface-2); color: var(--text); }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-item:hover .chevron { transform: rotate(180deg); }

.subcat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.subcat-tabs a {
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; color: var(--muted);
  border: 1px solid var(--line-strong); transition: color .2s, border-color .2s, background .2s;
}
.subcat-tabs a:hover { color: var(--text); border-color: var(--accent); }
.subcat-tabs a.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Purchase buttons ---------- */
.buy-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.add-btn.is-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.add-btn.is-added { border-color: rgba(108,195,168,.45); color: var(--accent); }
.add-btn.is-disabled { opacity: .45; cursor: not-allowed; }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.package-price .price { font-size: 26px; display: block; margin-bottom: 24px; }
.package-info .buy-actions .add-btn, .package-info > .add-btn { height: 46px; padding: 0 22px; font-size: 14px; }

@media (max-width: 820px) {
  .nav-item { display: flex; flex-direction: column; }
  .nav-item .chevron { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0;
  }
}

/* ---------- Currency switcher ---------- */
.currency-btn {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--text); font-size: 13px; font-weight: 500;
}
.currency-btn:hover { border-color: var(--accent); }
.currency-btn .chevron { width: 14px; height: 14px; }
.currency-switch .dropdown { left: auto; right: 0; min-width: 110px; }
.currency-switch .dropdown a { padding: 8px 12px; border-radius: 8px; font-size: 13px; color: var(--muted); }
.currency-switch .dropdown a:hover, .currency-switch .dropdown a.is-active { background: var(--surface-2); color: var(--text); }
.currency-switch.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }

/* ---------- Countdown + card footer ---------- */
.tag-right { left: auto; right: 12px; color: var(--warm); border-color: rgba(224,163,111,.35); font-variant-numeric: tabular-nums; }
.product-foot { flex-wrap: wrap; gap: 10px; }

/* ---------- Basket: quantities + coupons ---------- */
.basket-name { flex: 1; display: flex; flex-direction: column; }
.basket-gift { font-size: 12px; color: var(--accent); }
.basket-qty {
  width: 64px; height: 36px; padding: 0 10px; border-radius: 8px; text-align: center;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); font: inherit;
}
.basket-qty:disabled { opacity: .5; }
.basket-update { background: none; border: 0; padding: 14px 0 0; cursor: pointer; font: inherit; font-size: 13px; }
.coupons { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.coupon-form { display: flex; gap: 10px; }
.coupon-form input {
  flex: 1; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--text); font: inherit; font-size: 14px; outline: 0;
}
.coupon-form input:focus { border-color: var(--accent); }
.coupon-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.coupon-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.coupon-list li span { flex: 1; color: var(--muted); }
.coupon-list strong { color: var(--accent); letter-spacing: .04em; }

@media (max-width: 820px) {
  .currency-switch .dropdown { position: absolute; padding: 6px; background: var(--surface); border: 1px solid var(--line-strong); opacity: 0; visibility: hidden; }
  .currency-switch.is-open .dropdown { opacity: 1; visibility: visible; }
}
@media (max-width: 560px) {
  .basket-item { flex-wrap: wrap; }
  .coupon-form { flex-direction: column; }
}
button.btn-ghost { background: transparent; }
.tag-right { text-transform: none; letter-spacing: .02em; }

/* ---------- Forms: login, package options, CMS pages, gifting ---------- */
.narrow > * { max-width: 720px; }
.btn { white-space: nowrap; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.form-panel { display: grid; gap: 20px; }
.form-panel form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span, .form-panel label { font-size: 14px; color: var(--muted); }
.form-panel input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
.form-panel select, .form-panel textarea {
  width: 100%; height: 44px; padding: 0 14px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: 14px; outline: 0;
}
.form-panel textarea { height: auto; min-height: 110px; padding: 12px 14px; }
.form-panel input:focus, .form-panel select:focus, .form-panel textarea:focus { border-color: var(--accent); }
.form-panel button:not(.btn), .form-panel input[type="submit"] {
  height: 44px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 500; font-size: 14px;
}
.form-panel a:not(.btn) { color: var(--accent); }
.field-suffix { display: flex; gap: 10px; align-items: center; }
.field-suffix em { font-style: normal; color: var(--muted); font-size: 14px; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; }

.text-content { color: var(--muted); line-height: 1.75; }
.text-content h1, .text-content h2, .text-content h3 { color: var(--text); font-family: var(--ff-display); font-weight: 600; line-height: 1.2; }
.text-content a { color: var(--accent); }
.text-content img { border-radius: var(--radius-sm); }

.gift-box { margin-top: 16px; }
.gift-box summary { cursor: pointer; font-size: 14px; color: var(--accent); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.gift-box summary::-webkit-details-marker { display: none; }
.gift-box summary::before { content: "🎁"; }
.gift-box[open] summary { margin-bottom: 12px; }

/* Language menu sits in the footer: open upwards */
.locale-switch .dropdown { top: auto; bottom: calc(100% + 8px); }
.footer-bottom { align-items: center; }
/* Products without an image keep a 16:10 placeholder frame */
.product-media:not(:has(img)), .package-media:not(:has(img)) { aspect-ratio: 16 / 10; }

/* ---------- Basket quantity stepper ---------- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty .basket-qty { width: 44px; height: 34px; border: 0; border-radius: 0; background: transparent; padding: 0; -moz-appearance: textfield; }
.qty .basket-qty::-webkit-inner-spin-button, .qty .basket-qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 34px; height: 34px; border: 0; background: transparent; color: var(--text); font-size: 16px; line-height: 1; }
.qty-btn:hover { background: var(--surface-2); color: var(--accent); }
.qty-fixed { font-size: 14px; color: var(--muted); min-width: 44px; text-align: center; }
.basket-form.is-live .basket-update { display: none; }
.basket-form.is-updating { opacity: .55; pointer-events: none; transition: opacity .2s; }

/* ---------- Final review fixes ---------- */
.mobile-only { display: none; }
@media (max-width: 820px) { .main-nav .mobile-only { display: block; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; color: var(--accent); } }
.search[hidden] { display: none; }
.add-btn.is-disabled:hover { background: transparent; color: var(--text); border-color: var(--line-strong); }
.toast { display: flex; align-items: flex-start; gap: 12px; }
.toast-close { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 18px; line-height: 1; padding: 0; }
.toast-close:hover { color: var(--text); }