/* ==========================================================================
   SunTeam v2 — Shop landing (/shop page 1)
   ========================================================================== */

/* ---------- hero ---------- */
.sl-hero { position: relative; padding: 18px 0 30px; color: #fff; background: #0F1013; overflow: hidden; isolation: isolate; border-radius: 0 0 40px 40px; }
.sl-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sl-bg i { position: absolute; border-radius: 50%; filter: blur(90px); }
.sl-bg .o1 { width: 620px; height: 620px; left: -140px; top: -180px; background: rgba(255,212,0,.32); animation: sl-drift 16s ease-in-out infinite; }
.sl-bg .o2 { width: 480px; height: 480px; right: 8%; bottom: -220px; background: rgba(46,156,91,.3); animation: sl-drift 20s ease-in-out infinite reverse; }
.sl-bg .o3 { width: 360px; height: 360px; right: -80px; top: -60px; background: rgba(79,195,247,.18); animation: sl-drift 18s ease-in-out infinite; }
.sl-bg .grain { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
@keyframes sl-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(60px, 40px); } }
.sl-hero .crumbs-row, .sl-hero .crumbs-row a { color: rgba(255,255,255,.55); }
.sl-hero .crumbs-row span { color: #fff; }
.sl-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: center; }
.sl-copy { display: flex; flex-direction: column; gap: 16px; padding-block: 10px; }
.sl-eyebrow { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #A7F3D0; font-size: var(--fs-sm); font-weight: 700; }
.sl-copy h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 900; line-height: 1.35; }
.sl-copy h1 span { background: linear-gradient(90deg, #FFE45C, #FFB300); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sl-copy > p { margin: 0; color: rgba(255,255,255,.72); line-height: 2; max-width: 540px; }
.sl-search { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 60px; padding: 6px 18px 6px 6px; border-radius: 999px; background: #fff; color: var(--text-3); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.sl-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--text); font-size: var(--fs-md); }
.sl-search .btn { height: 48px; padding-inline: 22px; }
.sl-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.sl-quick a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding-inline: 14px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-size: var(--fs-sm); font-weight: 700; color: #fff; transition: background .2s; }
.sl-quick a:hover { background: var(--sun-400); color: #111318; }
.sl-stats { display: flex; gap: 22px; margin-top: 4px; }
.sl-stats b { display: block; font-size: var(--fs-2xl); font-weight: 900; color: var(--sun-400); line-height: 1.2; }
.sl-stats span { font-size: var(--fs-xs); color: rgba(255,255,255,.6); }

/* turntable */
.sl-stage { position: relative; height: 500px; }
.st-sun { position: absolute; left: 50%; top: 38%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFF3B0, #FFD400 55%, #E0A800); box-shadow: 0 0 120px rgba(255,212,0,.45); animation: sl-breathe 6s ease-in-out infinite; }
.st-sun i { position: absolute; inset: -40px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255,212,0,.22) 0 4deg, transparent 4deg 14deg); mask-image: radial-gradient(circle, transparent 58%, #000 60%, #000 72%, transparent 74%); animation: spin-slow 60s linear infinite; }
.st-ring { position: absolute; left: 50%; top: 47%; width: 78%; height: 22%; transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed rgba(255,255,255,.18); }
.st-item { position: absolute; left: 50%; top: 40%; width: 190px; height: 190px; display: grid; place-items: center; border-radius: 36px; background: #fff; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); transition: box-shadow .4s; will-change: transform; }
.st-item img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.st-item.is-front { box-shadow: 0 0 0 4px var(--sun-400), 0 40px 70px -24px rgba(0,0,0,.8); }
.st-card { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); width: min(340px, 90%); display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 20px; color: var(--text); text-align: center; z-index: 120; }
.st-card small { display: inline-flex; align-items: center; justify-content: center; gap: 4px; color: var(--accent-ink); font-weight: 800; font-size: var(--fs-xs); }
.st-card b { font-size: var(--fs-sm); line-height: 1.7; }
.st-card > span { font-weight: 900; color: var(--accent-ink); }
.st-card.pop { animation: sl-pop .5s var(--ease); }
.st-nav { position: absolute; top: 34%; inset-inline: 0; display: flex; justify-content: space-between; z-index: 130; pointer-events: none; }
.st-nav button { pointer-events: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px); cursor: pointer; }
.st-nav button:hover { background: var(--sun-400); color: #111318; }
@keyframes sl-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes sl-pop { 0% { transform: translateX(-50%) scale(.94); opacity: .4; } 100% { transform: translateX(-50%) scale(1); opacity: 1; } }

.sl-trust { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.sl-trust > div { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.sl-trust .ic { width: 34px; height: 34px; padding: 7px; flex: none; border-radius: 11px; background: var(--sun-400); color: #111318; }
.sl-trust b { display: block; font-size: var(--fs-sm); }
.sl-trust small { font-size: var(--fs-xs); color: rgba(255,255,255,.55); }

/* ---------- categories bento ---------- */
.sl-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 14px; }
.sc-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border-radius: 26px; overflow: hidden; isolation: isolate; background: linear-gradient(150deg, hsl(var(--hue) 90% 94%), hsl(var(--hue) 70% 86%)); transition: transform .4s var(--ease), box-shadow .4s; }
.sc-tile.big { grid-column: span 2; grid-row: span 2; }
.sc-tile::after { content: ""; position: absolute; width: 220px; height: 220px; bottom: -90px; left: -60px; border-radius: 50%; background: hsl(var(--hue) 80% 78% / .7); z-index: -1; transition: transform .6s var(--ease); }
.sc-tile:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px hsl(var(--hue) 60% 30% / .6); }
.sc-tile:hover::after { transform: scale(1.3); }
.sc-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: #fff; color: hsl(var(--hue) 70% 30%); box-shadow: var(--sh-1); }
.sc-txt b { display: block; font-size: var(--fs-lg); font-weight: 900; color: #111318; }
.sc-tile.big .sc-txt b { font-size: var(--fs-2xl); }
.sc-txt small { font-weight: 700; color: hsl(var(--hue) 50% 28%); }
.sc-imgs { position: absolute; left: 12px; bottom: 12px; display: flex; direction: ltr; }
.sc-imgs img { width: 74px; height: 74px; margin-right: -22px; padding: 6px; border-radius: 20px; background: #fff; object-fit: contain; box-shadow: 0 10px 20px -10px rgba(17,19,24,.4); transform: rotate(calc((var(--k) - 1) * 8deg)); transition: transform .4s var(--ease); }
.sc-tile.big .sc-imgs img { width: 130px; height: 130px; margin-right: -36px; border-radius: 28px; }
.sc-tile:hover .sc-imgs img { transform: rotate(calc((var(--k) - 1) * 14deg)) translateY(-6px); }
.sc-go { position: absolute; top: 16px; left: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #111318; color: #fff; opacity: 0; transform: scale(.7); transition: all .3s var(--ease); }
.sc-tile:hover .sc-go { opacity: 1; transform: none; }

/* ---------- bestsellers ---------- */
.sl-best { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sb-card { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.sb-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1.5px var(--sun-400), 0 24px 44px -28px rgba(17,19,24,.45); }
.sb-rank { position: absolute; top: 6px; inset-inline-start: 12px; z-index: 2; font-size: 3.2rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 2px #111318; opacity: .9; }
.sl-best li:nth-child(-n+3) .sb-rank { color: var(--sun-400); -webkit-text-stroke: 2px #111318; }
.sb-img { display: grid; place-items: center; aspect-ratio: 1; padding: 16px; background: radial-gradient(circle at 50% 60%, var(--sun-50), var(--surface)); }
.sb-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.sb-card:hover .sb-img img { transform: scale(1.06) rotate(-2deg); }
.sb-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.sb-body > small { font-size: var(--fs-xs); color: var(--text-3); }
.sb-body b { font-size: var(--fs-sm); line-height: 1.7; flex: 1; }
.sb-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.sb-orders { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; background: var(--mint-soft); color: var(--mint); font-size: 11px; font-weight: 800; }
.sb-price { font-weight: 900; font-size: var(--fs-sm); }
.sb-price small { font-weight: 600; color: var(--text-3); font-size: 10px; }

/* ---------- deal ---------- */
.sl-deal { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 34px; overflow: hidden; background: linear-gradient(120deg, #111318 40%, #2A2200); color: #fff; }
.sd-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.sd-disc { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFF3B0, #FFD400 55%, #E0A800); box-shadow: 0 0 100px rgba(255,212,0,.4); animation: sl-breathe 6s ease-in-out infinite; }
.sd-art img { position: relative; width: 280px; height: 280px; padding: 18px; border-radius: 40px; background: #fff; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0,0,0,.4)); animation: sl-float 6s ease-in-out infinite; }
.sd-badge { position: absolute; top: 30px; inset-inline-end: 40px; width: 92px; height: 92px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #F04438; color: #fff; font-size: 1.6rem; font-weight: 900; transform: rotate(12deg); box-shadow: 0 14px 30px -10px rgba(240,68,56,.7); }
.sd-badge small { font-size: 10px; font-weight: 700; }
.sd-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(24px, 4vw, 44px); }
.sd-tag { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 6px 14px; border-radius: 999px; background: var(--sun-400); color: #111318; font-weight: 900; font-size: var(--fs-sm); }
.sd-body h2 { font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); font-weight: 900; line-height: 1.6; }
.sd-body p { margin: 0; color: rgba(255,255,255,.65); line-height: 2; font-size: var(--fs-sm); }
.sd-price { display: flex; align-items: baseline; gap: 10px; }
.sd-price del { color: rgba(255,255,255,.45); }
.sd-price b { font-size: 2rem; font-weight: 900; color: var(--sun-400); }
.sd-price span { color: rgba(255,255,255,.6); }
.sd-timer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sd-timer > span { width: 100%; font-size: var(--fs-xs); color: rgba(255,255,255,.55); }
.sd-timer div { display: flex; flex-direction: column; align-items: center; min-width: 62px; padding: 8px; border-radius: 16px; background: rgba(255,255,255,.08); }
.sd-timer b { font-size: 1.5rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.sd-timer small { font-size: 10px; color: rgba(255,255,255,.55); }
.sd-timer i { font-style: normal; font-weight: 900; color: var(--sun-400); }
.sd-body .btn { align-self: flex-start; }
@keyframes sl-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

/* ---------- voice of customers ---------- */
.sl-voice { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.sv-head { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 100px; }
.sv-head p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); }
.sv-rated { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.sv-rated a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sv-rated img { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; background: #fff; }
.sv-rated b { display: block; font-size: var(--fs-sm); }
.sv-rated small { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-3); }
.sv-stars { display: inline-flex; gap: 2px; }
.sv-stars i { width: 13px; height: 13px; background: #E4E2DA; -webkit-mask: var(--star-mask) center / contain no-repeat; mask: var(--star-mask) center / contain no-repeat; }
.sv-stars i.on { background: #F5B400; }
:root { --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E"); }
.sv-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sv-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease); }
.sv-card:hover { transform: translateY(-3px); }
.sv-card > b { font-weight: 900; }
.sv-card p { margin: 0; color: var(--text-2); line-height: 2; font-size: var(--fs-sm); flex: 1; }
.sv-card footer { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.sv-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-soft); color: var(--accent-ink); font-weight: 900; }
.sv-card footer > span:nth-child(2) { flex: 1; }
.sv-card footer b { display: block; font-size: var(--fs-sm); }
.sv-card footer small { font-size: var(--fs-xs); color: var(--text-3); }
.sv-prod img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- bands ---------- */
.sl-bands { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sl-band { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 28px; transition: transform .35s var(--ease); }
.sl-band:hover { transform: translateY(-4px); }
.sl-band svg { width: 86px; height: 86px; flex: none; }
.sl-band div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sl-band small { font-size: var(--fs-xs); font-weight: 800; }
.sl-band b { font-size: var(--fs-lg); font-weight: 900; }
.sl-band span { font-size: var(--fs-sm); line-height: 1.8; }
.sl-band > .ic { flex: none; }
.sl-band.coin { background: linear-gradient(120deg, #FFF3B0, #FFD400); color: #111318; }
.sl-band.coin small { color: #7A5800; }
.sl-band.affiliate { background: #111318; color: #fff; }
.sl-band.affiliate small { color: #7DD3FC; }
.sl-band.affiliate span { color: rgba(255,255,255,.7); }

/* catalog header under the landing */
.shop-hero.is-catalog { padding-top: 34px; }

@media (prefers-reduced-motion: reduce) { .sl-bg i, .st-sun, .st-sun i, .sd-disc, .sd-art img { animation: none; } }
@media (max-width: 1100px) {
  .sl-best { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sl-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sl-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .sl-hero-grid, .sl-deal, .sl-voice, .sl-bands { grid-template-columns: 1fr; }
  .sl-stage { height: 420px; order: -1; }
  .st-sun { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
  .st-item { width: 140px; height: 140px; border-radius: 28px; }
  .sv-head { position: static; }
  .sd-art { min-height: 300px; }
}
@media (max-width: 560px) {
  .sl-hero { border-radius: 0 0 26px 26px; }
  .sl-search { height: 54px; }
  .sl-search .btn { height: 42px; padding-inline: 14px; }
  .sl-stage { height: 360px; }
  .st-item { width: 110px; height: 110px; border-radius: 22px; }
  .sl-cats { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .sc-tile.big { grid-row: span 1; }
  .sc-tile.big .sc-imgs img { width: 74px; height: 74px; margin-right: -22px; border-radius: 20px; }
  .sl-best, .sv-track { grid-template-columns: 1fr 1fr; }
  .sl-trust { grid-template-columns: 1fr 1fr; }
  .sd-art img { width: 200px; height: 200px; }
  .sd-disc { width: 220px; height: 220px; }
}
