:root {
  --shop-ink: #172838;
  --shop-ink-soft: #526477;
  --shop-paper: #f7f4ed;
  --shop-white: #fff;
  --shop-gold: #e8a116;
  --shop-line: rgba(23, 40, 56, 0.22);
}

.map-shop-page,
.map-product-page {
  background: var(--shop-paper);
  color: var(--shop-ink);
}

.map-shop-page .site-shell,
.map-product-page .site-shell {
  max-width: none;
}

.shop-migration-notice {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(23, 40, 56, 0.22);
  background: #f0b33d;
  color: var(--shop-ink);
  text-align: center;
}

.shop-migration-notice p {
  max-width: 74rem;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 1.55;
}

.shop-migration-notice a {
  color: var(--shop-ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.shop-migration-notice a:hover,
.shop-migration-notice a:focus-visible {
  color: #fff;
}

.shop-brand-lockup {
  gap: 0.18rem;
}

.shop-brand-name {
  color: #fffaf0;
  font-family: "Bellefair", "Times New Roman", serif;
  font-size: clamp(1.22rem, 2vw, 1.72rem);
  letter-spacing: 0.11em;
  line-height: 0.95;
  text-transform: uppercase;
}

.shop-brand-parent {
  color: #e8a116;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
}

.map-shop-page .nav-menu summary,
.map-product-page .nav-menu summary {
  padding-bottom: 0.2rem;
}

.shop-shell {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

.shop-intro {
  padding: clamp(72px, 9vw, 132px) 0 52px;
  text-align: center;
}

.shop-eyebrow,
.product-eyebrow,
.placeholder-label {
  margin: 0 0 14px;
  color: #9a6810;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.shop-intro h1,
.product-copy h1 {
  margin: 0;
  font-family: "Bellefair", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.shop-intro h1 {
  font-size: clamp(2.6rem, 5vw, 5.7rem);
  line-height: 0.98;
}

.shop-intro p:last-child {
  max-width: 720px;
  margin: 26px auto 0;
  color: var(--shop-ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.shop-catalog {
  padding: 24px 0 clamp(90px, 11vw, 160px);
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--shop-line);
}

.catalog-heading h2 {
  margin: 0;
  font-family: "Bellefair", "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  font-weight: 400;
}

.catalog-heading p {
  margin: 0;
  color: var(--shop-ink-soft);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(42px, 5vw, 78px) clamp(24px, 3.2vw, 48px);
  padding-top: 8px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-card-media,
.placeholder-art {
  aspect-ratio: 7 / 5;
  overflow: hidden;
  background: #e6e0d5;
  outline: 1px solid rgba(154, 104, 16, 0.5);
  outline-offset: 8px;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.018);
}

.product-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 22px;
}

.product-card h3 {
  display: -webkit-box;
  width: 100%;
  min-height: 2.2em;
  margin: 0;
  overflow: hidden;
  font-family: "Bellefair", "Times New Roman", serif;
  font-size: clamp(1.3rem, 1.55vw, 1.68rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.018em;
  text-wrap: balance;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-summary {
  margin: 14px 0 0;
  color: var(--shop-ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.product-price {
  margin: auto 0 0;
  padding-top: 18px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
}

.product-link,
.product-purchase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 22px;
  padding: 0 25px;
  border: 1px solid var(--shop-gold);
  background: var(--shop-gold);
  color: #111d27;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.product-link:hover,
.product-link:focus-visible,
.product-purchase:hover,
.product-purchase:focus-visible {
  background: transparent;
  color: inherit;
}

.placeholder-art {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(23, 40, 56, 0.05) 25%, transparent 25%) 0 0 / 36px 36px,
    linear-gradient(315deg, rgba(23, 40, 56, 0.05) 25%, transparent 25%) 0 0 / 36px 36px,
    #e9e4da;
}

.placeholder-art::before {
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 40, 56, 0.18);
  border-radius: 50%;
  content: "";
}

.placeholder-art .placeholder-label {
  position: absolute;
  margin: 0;
  color: rgba(23, 40, 56, 0.55);
}

.placeholder-card .product-card-copy {
  opacity: 0.64;
}

.coming-soon {
  margin-top: 20px;
  color: var(--shop-ink-soft);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Individual product */
.map-product-page {
  background: var(--shop-ink);
  color: #f7f3ea;
}

.map-product-page .site-footer {
  background: #f7f4ed;
  color: var(--shop-ink);
}

.map-product-page .topbar {
  color: #f7f3ea;
}

.product-detail {
  width: min(1660px, calc(100% - 64px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: clamp(64px, 7vw, 110px) 0 clamp(80px, 9vw, 140px);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(520px, 1.24fr);
  gap: clamp(54px, 7vw, 118px);
  align-items: start;
}

.product-copy {
  position: sticky;
  top: 124px;
  padding-top: 6px;
}

.product-copy h1 {
  max-width: 16ch;
  color: #fffaf0;
  font-size: clamp(2.45rem, 4.1vw, 5rem);
  line-height: 0.98;
}

.product-price-large {
  margin: 22px 0 0;
  color: #f5c460;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.product-description {
  max-width: 62ch;
  margin: 34px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.72;
}

.product-description strong {
  color: #fffaf0;
}

.product-purchase {
  width: min(100%, 420px);
  min-height: 64px;
  margin-top: 30px;
}

.checkout-note {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: rgba(255, 250, 240, 0.56);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.8rem;
}

.product-gallery {
  min-width: 0;
}

.slideshow-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 7 / 5;
  background: #fff;
  border: 1px solid var(--shop-gold);
  outline: 1px solid rgba(232, 161, 22, 0.34);
  outline-offset: 10px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}

.slideshow-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 22px;
}

.slide-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: transparent;
  color: #fffaf0;
  cursor: pointer;
  font-size: 1.35rem;
  transition: border-color 180ms ease, background 180ms ease;
}

.slide-arrow:hover,
.slide-arrow:focus-visible {
  border-color: var(--shop-gold);
  background: rgba(232, 161, 22, 0.1);
}

.slide-status {
  min-width: 58px;
  color: rgba(255, 250, 240, 0.68);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  text-align: center;
}

.gallery-caption {
  margin: 16px 0 0;
  color: rgba(255, 250, 240, 0.58);
  font-size: 0.84rem;
  text-align: center;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-copy {
    position: static;
  }

  .product-copy h1 {
    max-width: 19ch;
  }
}

@media (max-width: 640px) {
  .shop-migration-notice {
    padding: 0.8rem 1rem;
    text-align: left;
  }

  .shop-shell,
  .product-detail {
    width: min(100% - 30px, 1480px);
  }

  .shop-intro {
    padding-top: 54px;
    text-align: left;
  }

  .shop-intro p:last-child {
    margin-left: 0;
  }

  .catalog-heading {
    align-items: start;
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-detail {
    padding-top: 48px;
  }

  .product-detail-grid {
    gap: 46px;
  }

  .product-copy h1 {
    font-size: clamp(2.3rem, 12vw, 3.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card-media img,
  .product-link,
  .product-purchase,
  .slide-arrow {
    transition: none;
  }
}
