:root {
  --c-primary: #0096c7;
  --c-secondary: #00b4d8;
  --c-light: #48cae4;
  --c-purple: #7b86dc;
  --c-magenta: #ad42d4;
  --bg: #f6fbfe;
  --surface: #ffffff;
  --text: #15202b;
  --muted: #5a6b7a;
  --line: rgba(72, 202, 228, 0.35);
  --radius: 22px;
  --shadow: 0 8px 28px rgba(0, 150, 199, 0.08);
  --grad: linear-gradient(135deg, #0096c7, #7b86dc, #ad42d4);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(72, 202, 228, 0.22), transparent 60%),
    radial-gradient(800px 400px at 100% 0%, rgba(173, 66, 212, 0.1), transparent 50%),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='80' viewBox='0 0 220 80'%3E%3Cpath d='M0 40 Q 20 20 40 40 T 80 40 T 120 40 T 160 40 T 200 40 T 240 40' fill='none' stroke='%230096C7' stroke-width='1.4'/%3E%3Cpath d='M0 52 H 220' fill='none' stroke='%237B86DC' stroke-width='0.6'/%3E%3C/svg%3E");
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(246, 251, 254, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}

.logo .dot {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(72, 202, 228, 0.18);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: var(--shadow);
}

.cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.75rem;
  display: grid;
  place-items: center;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  padding: 28px 0 48px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 0;
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  background:
    linear-gradient(160deg, rgba(0, 150, 199, 0.92), rgba(123, 134, 220, 0.88) 55%, rgba(173, 66, 212, 0.85)),
    var(--c-primary);
  color: #fff;
  border: 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 28px rgba(255, 255, 255, 0.08);
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  margin: 8px 0 12px;
}

h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; margin: 0 0 10px; }

.lede {
  margin: 0;
  max-width: 36ch;
  line-height: 1.5;
  color: inherit;
  opacity: 0.92;
}

.muted { color: var(--muted); line-height: 1.6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 18px rgba(173, 66, 212, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: #fff;
  color: var(--c-primary);
  border: 1px solid var(--line);
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.product-art {
  aspect-ratio: 1;
  height: auto;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  background: #f4f8fb;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.vinyl {
  position: absolute;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  right: 16px;
  bottom: 12px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 7px, #1a1a2e 8px 12px, transparent 13px),
    repeating-radial-gradient(circle at 50% 50%, #111 0 3px, #222 4px 7px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.price {
  font-weight: 600;
  color: var(--c-primary);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-purple);
  margin-bottom: 6px;
}

.wave {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wave svg { width: 100%; height: 48px; }

.filters label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 12px 0 6px;
}

select,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
}

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

.product-card h3 { font-size: 1.05rem; }

.product-link {
  display: block;
  color: inherit;
}

.product-link:hover h3 { color: var(--c-primary); }

.carousel-stage {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f8fb;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(21, 32, 43, 0.12);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.carousel-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #f4f8fb;
}

.carousel-thumb[aria-selected="true"] {
  border-color: var(--c-primary);
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-buy h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

.product-buy .swatches { margin: 16px 0 4px; }

.row {
  display: flex;
  gap: 8px;
  margin: 10px 0 12px;
}

.row select { flex: 1; }

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item .mini {
  width: 88px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty button {
  border: 0;
  background: transparent;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.totals {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
}

.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.empty {
  text-align: center;
  padding: 40px 16px;
}

.swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.swatch {
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.swatch.is-selected,
.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--c-primary);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid .full { grid-column: 1 / -1; }

.notice {
  background: rgba(72, 202, 228, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9 {
    grid-column: span 12;
  }
  .nav-links { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item .line-total { grid-column: 2; }
}
