/* Syra Dev - storefront styles */
:root {
  --bg: #0B0B0C;
  --bg-2: #0F0F11;
  --surface: #141416;
  --surface-2: #17161A;
  --surface-3: #1B1B1E;
  --line: #1F1F22;
  --line-2: #232327;
  --text: #F2EFE9;
  --text-2: #D9D4CA;
  --muted: #B5B0A6;
  --muted-2: #8E897F;
  --gold: #E6B04A;
  --gold-ink: #17130B;
  --gold-soft: #2A2418;
  --warm: #17150F;
  --ok: #7FD39A;
  --radius-card: 4px 18px 4px 18px;
  --max: 1240px;
  --display: 'Chakra Petch', sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--gold); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Chamfered shapes, echoing the logo's cut corners */
.cut { clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.cut-s { clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px; border: 0; cursor: pointer;
  font-weight: 800; font-size: 15px; transition: filter .15s, background .15s, color .15s;
}
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { filter: brightness(1.08); color: var(--gold-ink); }
.btn-ghost { background: var(--surface-2); color: var(--text); font-weight: 700; }
.btn-ghost:hover { background: #1E1B15; color: var(--gold); }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: wait; }
.icon { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--gold); flex: none; }
.logo-img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .08em; color: var(--text); }
.brand-name b { color: var(--gold); font-weight: 700; }
.brand-sub { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 auto; }
.main-nav a { padding: 10px 14px; font-size: 15px; font-weight: 600; color: #C9C4BA; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }
.main-nav a[aria-current="page"] { font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.basket-btn { position: relative; width: 44px; height: 44px; padding: 0; min-height: 44px; }
.basket-count { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.basket-count[hidden] { display: none; }
.lang { position: relative; }
.lang-btn { width: 44px; height: 44px; padding: 0; min-height: 44px; }
.flag { display: inline-flex; width: 22px; height: 15px; flex: none; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.flag svg { width: 100%; height: 100%; display: block; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px; margin: 0; padding: 6px; list-style: none; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.lang-menu[hidden] { display: none; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 10px; border: 0; background: none; color: var(--text-2); font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.lang-menu button:hover, .lang-menu button[aria-current="true"] { background: #1E1B15; color: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; min-height: 44px; }

@media (max-width: 1060px) {
  .header-actions .label { display: none; }
  .header-actions .btn-social { padding: 0; width: 44px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; padding: 8px 0 4px; }
  .main-nav.open { display: flex; }
  .header-row { flex-wrap: wrap; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 480px) {
  .brand-sub { display: none; }
  .header-actions { gap: 6px; }
  .header-actions .btn-social { display: none; }
}

/* ---------- Section heads ---------- */
.section { padding: 96px 0 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.eyebrow { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--gold); }
.h2 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(30px, 4vw, 42px); font-weight: 700; line-height: 1.1; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--gold); }

/* ---------- Hero ---------- */
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 48px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(42px, 6vw, 64px); line-height: 1.02; letter-spacing: -.01em; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-visual { flex: 1 1 420px; min-width: 0; height: 480px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 600px) { .hero-visual { height: 360px; } .logo-stage { transform: scale(.75); } }

/* ---------- Animated logo ---------- */
.logo-stage { position: relative; width: 360px; height: 360px; }
.logo-stage .layer { position: absolute; inset: 0; border-radius: 50%; }
.half { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.half-s { clip-path: polygon(0 0, 87.6% 0, 17.7% 100%, 0 100%); }
.half-d { clip-path: polygon(87.6% 0, 100% 0, 100% 100%, 17.7% 100%); }
.glow { position: absolute; inset: -60px; border-radius: 50%; background: radial-gradient(closest-side, var(--gold), transparent); }
.spark { position: absolute; left: 50%; top: 50%; border-radius: 50%; }

@keyframes slamS { 0% { transform: translate(-220px, 150px) rotate(-14deg); opacity: 0 } 55% { opacity: 1 } 78% { transform: translate(6px, -4px) rotate(1deg) } 100% { transform: none; opacity: 1 } }
@keyframes slamD { 0% { transform: translate(220px, -150px) rotate(14deg); opacity: 0 } 55% { opacity: 1 } 78% { transform: translate(-6px, 4px) rotate(-1deg) } 100% { transform: none; opacity: 1 } }
@keyframes glitchS { 0%, 93% { opacity: 0; transform: none } 94% { opacity: 1; transform: translate(-5px, 3px) } 96% { opacity: 1; transform: translate(2px, -1px) } 97%, 100% { opacity: 0; transform: none } }
@keyframes glitchD { 0%, 93% { opacity: 0; transform: none } 94% { opacity: 1; transform: translate(5px, -3px) } 96% { opacity: 1; transform: translate(-2px, 1px) } 97%, 100% { opacity: 0; transform: none } }
@keyframes fullLoop { 0%, 93% { opacity: 1 } 94%, 96% { opacity: 0 } 97%, 100% { opacity: 1 } }
@keyframes flash { 0% { transform: rotate(35deg) scaleY(0); opacity: 0 } 30% { transform: rotate(35deg) scaleY(1); opacity: 1 } 100% { transform: rotate(35deg) scaleY(1.1); opacity: 0 } }
@keyframes flashLoop { 0%, 93%, 100% { opacity: 0 } 94.5% { opacity: .9 } 97% { opacity: 0 } }
@keyframes wave { 0% { transform: scale(.9); opacity: .9; border-width: 6px } 100% { transform: scale(1.9); opacity: 0; border-width: 1px } }
@keyframes ringIn { 0% { transform: scale(1.25); opacity: 0 } 100% { transform: scale(1); opacity: 1 } }
@keyframes ring { 0% { transform: scale(1); opacity: .7 } 100% { transform: scale(1.35); opacity: 0 } }
@keyframes spark { 0% { transform: translate(0, 0) scale(1); opacity: 1 } 100% { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0 } }
@keyframes shake { 0%, 100% { transform: none } 20% { transform: translate(-7px, 4px) } 40% { transform: translate(6px, -3px) } 60% { transform: translate(-4px, 2px) } 80% { transform: translate(2px, -1px) } }
@keyframes glint { 0% { background-position: 160% 0 } 35%, 100% { background-position: -60% 0 } }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
@keyframes rise { 0% { opacity: 0; transform: translateY(28px); filter: blur(6px) } 100% { opacity: 1; transform: none; filter: none } }
@keyframes glow { 0% { opacity: 0 } 35% { opacity: .55 } 100% { opacity: .18 } }

.m-shake { animation: shake .45s .8s ease-out both; }
.m-float { animation: float 6s 2s ease-in-out infinite; }
.m-s { animation: slamS .8s cubic-bezier(.7, 0, .3, 1) both, glitchS 6s .8s infinite; }
.m-d { animation: slamD .8s cubic-bezier(.7, 0, .3, 1) both, glitchD 6s .8s infinite; }
.m-full { opacity: 0; animation: fullLoop 6s .8s infinite; }
.m-flash { position: absolute; left: 50%; top: 50%; width: 8px; height: 560px; margin: -280px 0 0 6px; background: #fff; box-shadow: 0 0 24px 8px var(--gold); animation: flash .6s .78s ease-out both; }
.m-flash-loop { position: absolute; left: 50%; top: 50%; width: 4px; height: 380px; margin: -190px 0 0 8px; background: #fff; box-shadow: 0 0 18px 6px var(--gold); transform: rotate(35deg); opacity: 0; animation: flashLoop 6s .8s infinite; }
.m-wave { border: 6px solid var(--gold); opacity: 0; animation: wave .9s .8s cubic-bezier(.2, .8, .2, 1) both; }
.m-wave2 { border: 6px solid var(--text); opacity: 0; animation: wave 1.2s .9s cubic-bezier(.2, .8, .2, 1) both; }
.m-ring { inset: -12px !important; border: 2px solid var(--gold); opacity: 0; animation: ring 2.8s 2.2s ease-out infinite; }
.m-ring-in { inset: -12px !important; border: 2px solid var(--gold); box-shadow: 0 30px 90px #000; animation: ringIn .5s .8s cubic-bezier(.2, .8, .2, 1) both; }
.m-spark { opacity: 0; animation: spark .8s .8s cubic-bezier(.1, .7, .3, 1) both; }
.m-glint { position: absolute; inset: 0; background: linear-gradient(126deg, transparent 42%, rgba(255, 226, 160, .6) 50%, transparent 58%); background-size: 250% 100%; mix-blend-mode: screen; animation: glint 4.5s 1.8s ease-in-out infinite; }
.m-glow { opacity: 0; animation: glow 1.6s .8s ease-out both; }
.m-rise { opacity: 0; animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .m-shake, .m-float, .m-s, .m-d, .m-full, .m-flash, .m-flash-loop, .m-wave, .m-wave2, .m-ring, .m-ring-in, .m-spark, .m-glint, .m-glow, .m-rise { animation: none; }
  .m-full, .m-ring-in, .m-rise { opacity: 1; }
  .m-s, .m-d, .m-flash, .m-flash-loop, .m-wave, .m-wave2, .m-spark, .m-ring { opacity: 0; }
  .m-glow { opacity: .18; }
  .card, .card:hover { transition: none; transform: none; }
}

/* ---------- Latest release ---------- */
.latest { display: flex; flex-wrap: wrap; background: var(--surface); border-top: 3px solid var(--gold); }
.latest-media { flex: 1 1 620px; min-width: 0; position: relative; aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.latest-media img { width: 100%; height: 100%; object-fit: cover; }
.latest-body { flex: 1 1 380px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.latest-title { margin: 0; font-family: var(--display); font-size: clamp(34px, 4vw, 48px); font-weight: 700; line-height: 1.02; }
.latest-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: auto; padding-top: 8px; }
.price-lg { font-family: var(--display); font-size: 34px; font-weight: 700; }
.badge { display: inline-block; padding: 5px 10px; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.badge-dark { background: var(--bg); color: var(--text-2); }
.badge-free { background: var(--ok); color: #0B1A10; }
.meta { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: var(--radius-card); background: var(--surface); overflow: hidden; transition: transform .2s, border-color .2s; }
.card:hover { border-color: #5A4A2C; transform: translateY(-3px); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--surface-3); border-bottom: 2px solid var(--gold); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .badge { position: absolute; top: 12px; left: 12px; }
.card-media .badge-free { left: auto; right: 12px; }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 20px; flex: 1 1 auto; }
.card-title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; flex: 1 1 auto; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--gold); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--display); font-size: 22px; font-weight: 700; }
.price s { font-size: 15px; color: var(--muted-2); margin-right: 6px; font-weight: 500; }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
/* Category tiles: custom line art per category, diagonal cut from the logo, clear item count */
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 260px; padding: 22px; border: 1px solid var(--line-2); border-radius: var(--radius-card); background: var(--surface); overflow: hidden; transition: transform .2s, border-color .2s; isolation: isolate; }
.tile:hover { border-color: #5A4A2C; transform: translateY(-3px); color: var(--text); }
.tile::before { content: ""; position: absolute; z-index: -1; left: 58%; top: -30%; width: 18px; height: 160%; background: var(--gold); opacity: .07; transform: rotate(36deg); transition: opacity .3s; }
.tile:hover::before { opacity: .14; }
.tile-art { position: absolute; z-index: -1; right: -4px; top: 58px; width: 130px; height: 130px; color: var(--gold); opacity: .55; transition: opacity .3s, transform .4s; }
.tile:hover .tile-art { opacity: .9; transform: translateY(-4px) rotate(-2deg); }
.tile-count { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.tile-count b { font-family: var(--display); font-size: 22px; line-height: 1; }
.tile-name { font-family: var(--display); font-size: 28px; font-weight: 700; }
.tile-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--gold); }

/* ---------- YouTube ---------- */
.yt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.yt-frame { flex: 1 1 560px; min-width: 0; position: relative; aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; border: 0; cursor: pointer; background: var(--surface-3); color: var(--muted); font-size: 14px; }
.yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.yt-facade > span { position: relative; }
.play-btn { width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.yt-facade:hover .play-btn { transform: scale(1.08); }
.yt-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.yt-copy p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Custom work ---------- */
.cta-box { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding: 44px 48px; background: var(--warm); }
.cta-box > div { flex: 1 1 480px; min-width: 0; }
.cta-box h2 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.15; }
.cta-box p { margin: 0; font-size: 16px; color: var(--muted); }
@media (max-width: 600px) { .cta-box { padding: 32px 24px; } .latest-body { padding: 28px 22px; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); background: #08080A; font-size: 14px; color: var(--muted-2); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-logo { width: 28px; height: 28px; box-shadow: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-legal { border-top: 1px solid #18181B; }
.footer-legal .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 20px; padding-bottom: 28px; font-size: 13px; line-height: 1.6; }
.footer-legal b { color: var(--muted); }

/* ---------- Page header (category, basket…) ---------- */
.page-head { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-head .wrap { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted-2); }
.crumbs a { color: var(--muted); }
.page-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 52px); line-height: 1.05; }
.page-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 640px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 32px 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid #2E2E33; background: var(--surface); color: var(--text-2); font-weight: 700; font-size: 14px; cursor: pointer; }
.chip:hover { border-color: #5A4A2C; }
.chip[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--gold-ink); }
.count { font-size: 14px; color: var(--muted-2); }

/* ---------- Package page ---------- */
.pkg { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 40px; align-items: flex-start; }
.pkg-gallery { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pkg-main { aspect-ratio: 16 / 10; background: var(--surface-3); overflow: hidden; border-bottom: 2px solid var(--gold); }
.pkg-main img, .pkg-main iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.thumb { padding: 0; border: 2px solid transparent; background: var(--surface-3); aspect-ratio: 16 / 10; overflow: hidden; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.thumb[aria-current="true"] { border-color: var(--gold); }
.thumb[aria-current="true"] img, .thumb:hover img { opacity: 1; }
.pkg-side { flex: 1 1 360px; min-width: 0; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--surface); }
.pkg-side h1 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.5vw, 40px); line-height: 1.08; }
.pkg-videos { padding-top: 64px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; margin-top: 24px; }
.video-grid.single { grid-template-columns: minmax(0, 960px); }
.video-grid .yt-frame { flex: none; }
.pkg-desc { padding-top: 48px; max-width: 820px; color: var(--text-2); font-size: 16px; line-height: 1.7; }
.pkg-desc h1, .pkg-desc h2, .pkg-desc h3, .pkg-desc h4 { font-family: var(--display); color: var(--text); line-height: 1.2; margin: 1.6em 0 .6em; }
.pkg-desc h4 { font-size: 22px; }
.pkg-desc p { margin: 0 0 1em; }
.pkg-desc ul { padding-left: 1.2em; }
.pkg-desc li p { margin: 0 0 .4em; }
.pkg-desc a { color: var(--gold); text-decoration: underline; }
.pkg-desc img { height: auto; margin: 1em 0; }
.pkg-desc iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
@media (max-width: 1000px) { .pkg-side { position: static; } }

/* ---------- Basket ---------- */
.basket { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 40px; align-items: flex-start; }
.basket-items { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.line { display: flex; align-items: center; gap: 18px; padding: 14px; background: var(--surface); }
.line img { width: 120px; aspect-ratio: 16 / 10; object-fit: cover; flex: none; }
.line-name { flex: 1 1 auto; min-width: 0; font-weight: 700; }
.line-price { font-family: var(--display); font-size: 20px; font-weight: 700; }
.remove { min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; background: var(--surface-2); color: var(--muted); cursor: pointer; }
.remove:hover { color: #FF8A7A; }
.summary { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--surface); position: sticky; top: 96px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.summary-total { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--text); }
.user-pill { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.user-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.empty { padding: 64px 24px; text-align: center; color: var(--muted); background: var(--surface); }
.empty h2 { margin: 0 0 8px; font-family: var(--display); color: var(--text); }
@media (max-width: 600px) { .line { flex-wrap: wrap; } .line img { width: 100%; } }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 820px; padding-top: 40px; color: var(--text-2); line-height: 1.7; }
.prose h2 { font-family: var(--display); color: var(--text); font-size: 26px; margin: 2em 0 .6em; }
.prose a { color: var(--gold); text-decoration: underline; }
.prose .todo { color: #FFB86B; }

/* ---------- Loading / errors / toast ---------- */
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-3) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.2s infinite linear; min-height: 280px; border-radius: var(--radius-card); }
@keyframes sk { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }
.error-box { padding: 24px; background: #1E1412; color: #FFB4A8; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translateX(-50%) translateY(20px); opacity: 0; padding: 14px 20px; background: var(--surface-2); border-left: 3px solid var(--gold); color: var(--text); font-weight: 600; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }
