/* SponsoredShopping.com — bright, clean retail */
:root {
  --ink: #1c1f24;
  --ink-soft: #4b5563;
  --paper: #ffffff;
  --paper-2: #fbfaf7;
  --paper-3: #f3f1ea;
  --mute: #7a8088;
  --line: #e8e6df;
  --gold: #d4a017;
  --gold-bright: #f0c14b;
  --gold-soft: #fff6d6;
  --coral: #e11d48;
  --amazon: #ff9900;
  --sky: #0f766e;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 40px rgba(28, 31, 36, 0.06);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(240, 193, 75, 0.18), transparent 55%),
    radial-gradient(700px 360px at 95% 0%, rgba(255, 255, 255, 0.9), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 50%, #ffffff 100%);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { font-family: inherit; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo-link { display: inline-flex; align-items: center; }
.logo-img { width: min(220px, 58vw); height: auto; }

.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1c1f24 !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.84rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-amazon {
  background: var(--amazon);
  color: #111;
}

.btn-amazon:hover { background: #ffb84d; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-gold {
  background: linear-gradient(135deg, #fff1b0, var(--gold-bright) 40%, var(--gold));
  color: #1c1f24;
  box-shadow: 0 10px 24px rgba(212, 160, 23, 0.25);
}

/* Homepage hero */
.hero-light {
  position: relative;
  min-height: min(84vh, 760px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf5 45%, #fbfaf7 100%);
}

.hero-glow {
  position: absolute;
  inset: 10% 20% auto;
  height: 280px;
  background: radial-gradient(circle, rgba(240, 193, 75, 0.35), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-center {
  position: relative;
  padding: 5rem 0 4rem;
  max-width: 720px;
}

.hero-logo {
  width: min(520px, 88vw);
  height: auto;
  margin: 0 auto 1.25rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gold-star {
  position: absolute;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(240, 193, 75, 0.55);
  animation: twinkle 2.8s ease-in-out infinite;
  font-size: 1.1rem;
}

.gold-star.s1 { top: 8%; left: 8%; animation-delay: 0s; }
.gold-star.s2 { top: 18%; right: 12%; font-size: 1.6rem; animation-delay: 0.4s; }
.gold-star.s3 { bottom: 22%; left: 14%; font-size: 0.9rem; animation-delay: 0.8s; }
.gold-star.s4 { bottom: 28%; right: 18%; font-size: 1.3rem; animation-delay: 1.1s; }
.gold-star.s5 { top: 42%; left: 4%; font-size: 0.8rem; animation-delay: 1.5s; }

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 auto 1.6rem;
  animation: rise 0.9s var(--ease) 0.1s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  animation: rise 0.9s var(--ease) 0.18s both;
}

/* Sections */
.section { padding: 4.25rem 0; }
.section-soft { background: rgba(255, 255, 255, 0.65); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

.section-head p {
  margin: 0;
  color: var(--mute);
  max-width: 34ch;
  font-size: 0.95rem;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Categories */
.cat-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, 17vw);
  gap: 0.75rem;
}

.cat-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 160px;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.cat-tile:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.cat-tile:nth-child(2) { grid-column: span 3; }
.cat-tile:nth-child(3) { grid-column: span 4; }
.cat-tile:nth-child(4) { grid-column: span 3; grid-row: span 2; }
.cat-tile:nth-child(5) { grid-column: span 4; }
.cat-tile:nth-child(6) { grid-column: span 5; }
.cat-tile:nth-child(7) { grid-column: span 6; }
.cat-tile:nth-child(8) { grid-column: span 6; }

.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cat-tile:hover img { transform: scale(1.06); }

.cat-tile .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20, 22, 26, 0.62) 100%);
}

.cat-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
}

.cat-meta strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600;
  display: block;
  line-height: 1.05;
}

.cat-meta span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
}

.cat-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 2;
}

/* Product mosaic */
.product-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 0.85rem;
}

.product-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.product-tile:hover {
  border-color: #ebd58a;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-tile .thumb {
  aspect-ratio: 1;
  background: var(--paper-2);
  overflow: hidden;
}

.product-tile .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.7rem;
  transition: transform 0.5s var(--ease);
}

.product-tile:hover .thumb img { transform: scale(1.04); }

.product-tile .meta { padding: 0.75rem 0.8rem 0.95rem; }

.product-tile .title {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
  margin: 0 0 0.4rem;
}

.product-tile .price-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-bottom: 0.12rem;
}

.product-tile .price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--coral);
  margin: 0;
  line-height: 1;
}

/* Brands */
.brand-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
  padding: 1rem 0;
}

.brand-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: #b0b4ae;
}

.brand-track a:hover { color: var(--gold); }

/* Shop pages */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  line-height: 0.95;
}

.page-hero p { margin: 0; color: var(--mute); }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--mute);
}

.pagination {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  background: #fff;
}

.pagination .current {
  background: var(--gold);
  border-color: var(--gold);
  color: #1c1f24;
}

/* ========== Product microsite ========== */
.product-site {
  padding-bottom: 3.5rem;
}

.product-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  padding: 2rem 0 1.5rem;
  align-items: start;
}

.product-gallery-main {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.product-gallery-main img {
  max-height: 460px;
  width: 100%;
  object-fit: contain;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.product-thumb {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.35rem;
  cursor: pointer;
  aspect-ratio: 1;
}

.product-thumb.is-active,
.product-thumb:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(240, 193, 75, 0.25);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-crumb {
  margin: 0;
  color: var(--mute);
  font-size: 0.82rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.product-crumb a:hover { color: var(--gold); }

.product-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  color: var(--mute);
  font-size: 0.88rem;
}

.stars { color: var(--gold); letter-spacing: 0.04em; }
.star.empty { color: #d7d3c8; }
.star.half { opacity: 0.65; }

.product-price-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.product-price-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.product-price-line {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.product-price-line strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--coral);
  line-height: 1;
}

.product-price-line s {
  color: var(--mute);
  font-size: 1rem;
}

.product-badge {
  display: inline-block;
  margin-top: 0.55rem;
  margin-right: 0.45rem;
  background: var(--gold-soft);
  color: #8a6a10;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-stock {
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--sky);
  font-size: 0.84rem;
  font-weight: 600;
}

.product-intro {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.product-buy-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.product-buy-row.center { justify-content: center; }

.product-quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.product-quick-facts div {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.product-quick-facts dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-bottom: 0.2rem;
}

.product-quick-facts dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.88rem;
}

.product-toc {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding: 0.35rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
  position: sticky;
  top: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.product-toc a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.product-toc a:hover {
  border-color: var(--gold);
  color: #8a6a10;
}

.product-block {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.product-block-soft {
  background: linear-gradient(180deg, rgba(255, 253, 245, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 2rem 1.25rem;
  margin: 1.25rem auto;
}

.product-block-head {
  margin-bottom: 1.15rem;
}

.product-block-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}

.product-block-head p {
  margin: 0;
  color: var(--mute);
}

.product-subhead {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 1.6rem 0 0.7rem;
}

.product-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.product-bullets li {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 2.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.product-bullets li::before {
  content: "★";
  position: absolute;
  left: 0.9rem;
  top: 0.95rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.product-bullets.compact li {
  padding: 0.7rem 0.9rem 0.7rem 2.2rem;
}

.product-prose {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 70ch;
}

.product-prose p { margin: 0 0 1rem; }

.product-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.product-table th,
.product-table td {
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.product-table tr:last-child th,
.product-table tr:last-child td { border-bottom: 0; }

.product-table th {
  width: 42%;
  color: var(--mute);
  font-weight: 600;
  background: var(--paper-2);
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.product-gallery-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0.75rem;
}

.product-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-buy-finale {
  padding: 2rem 0 0.5rem;
}

.product-buy-finale-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fffdf5, #fff7df);
  border: 1px solid #edd89a;
  box-shadow: var(--shadow);
}

.product-finale-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--coral);
  margin: 0.15rem 0;
  line-height: 1;
}

.product-finale-title {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42ch;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
  color: var(--mute);
  font-size: 0.85rem;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.disclosure {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.55;
}

/* Motion */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .product-hero,
  .product-grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery-main { min-height: 320px; }
  .product-gallery-main img { max-height: 320px; }

  .cat-wall {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .cat-tile:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .cat-tile:nth-child(1),
  .cat-tile:nth-child(4) {
    grid-column: span 2;
  }

  .product-quick-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .product-mosaic { grid-template-columns: repeat(2, 1fr); }
  .product-toc { top: 58px; }
}
