:root {
  --shop-cream: #f6f1e8;
  --shop-sand: #e7dcc8;
  --shop-ink: #21313b;
  --shop-muted: #5f6d72;
  --shop-accent: #b75d3f;
  --shop-leaf: #6d8c69;
  --shop-white: #fffdfa;
}

.shop-shell {
  background:
    radial-gradient(circle at top left, rgba(183, 93, 63, 0.12), transparent 34%),
    linear-gradient(180deg, var(--shop-white) 0%, var(--shop-cream) 100%);
  color: var(--shop-ink);
}

.shop-hero {
  padding: 48px 0 24px;
}

.shop-kicker {
  color: var(--shop-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.shop-title {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.96;
  margin-bottom: 18px;
}

.shop-intro {
  color: var(--shop-muted);
  font-size: 1.08rem;
  max-width: 42rem;
}

.shop-panel {
  background: rgba(255, 253, 250, 0.8);
  border: 1px solid rgba(33, 49, 59, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(33, 49, 59, 0.08);
}

.shop-feature {
  overflow: hidden;
}

.shop-feature-copy {
  padding: 32px;
}

.shop-badge {
  background: rgba(109, 140, 105, 0.14);
  border-radius: 999px;
  color: var(--shop-leaf);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.shop-price {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.shop-subtle {
  color: var(--shop-muted);
}

.shop-button {
  background: var(--shop-ink);
  border: 0;
  border-radius: 999px;
  color: var(--shop-white);
  display: inline-block;
  font-weight: 700;
  padding: 14px 22px;
  text-decoration: none;
}

.shop-button:hover {
  color: var(--shop-white);
  opacity: 0.92;
  text-decoration: none;
}

.shop-button-secondary {
  background: transparent;
  border: 1px solid rgba(33, 49, 59, 0.2);
  color: var(--shop-ink);
}

.shop-button-disabled {
  background: rgba(33, 49, 59, 0.12);
  color: var(--shop-muted);
  cursor: default;
}

.shop-grid {
  padding: 24px 0 56px;
}

.shop-card {
  background: var(--shop-white);
  border: 1px solid rgba(33, 49, 59, 0.08);
  border-radius: 22px;
  height: 100%;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.shop-card:hover {
  box-shadow: 0 16px 50px rgba(33, 49, 59, 0.12);
  transform: translateY(-3px);
}

.shop-card a {
  color: inherit;
  text-decoration: none;
}

.shop-card-body {
  padding: 20px;
}

.shop-card-image,
.shop-detail-image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.shop-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 12px;
}

.shop-meta-pill {
  background: rgba(231, 220, 200, 0.7);
  border-radius: 999px;
  font-size: 0.9rem;
  padding: 8px 12px;
}

.shop-section {
  padding: 32px 0;
}

.shop-detail {
  padding: 44px 0 60px;
}

.shop-detail-copy {
  padding-left: 10px;
}

.shop-variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.shop-variant {
  background: var(--shop-white);
  border: 1px solid rgba(33, 49, 59, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
}

.shop-variant input {
  margin-right: 8px;
}

.shop-info-card {
  background: rgba(255, 253, 250, 0.9);
  border: 1px solid rgba(33, 49, 59, 0.08);
  border-radius: 22px;
  padding: 22px;
}

.shop-list {
  color: var(--shop-muted);
  margin: 0;
  padding-left: 18px;
}

.shop-list li + li {
  margin-top: 8px;
}

.shop-richtext {
  color: var(--shop-ink);
  line-height: 1.7;
}

.shop-richtext > :first-child {
  margin-top: 0;
}

.shop-richtext > :last-child {
  margin-bottom: 0;
}

.shop-richtext h1,
.shop-richtext h2,
.shop-richtext h3,
.shop-richtext h4,
.shop-richtext h5,
.shop-richtext h6 {
  color: var(--shop-ink);
  line-height: 1.25;
  margin: 1.5rem 0 0.75rem;
}

.shop-richtext p,
.shop-richtext ul,
.shop-richtext ol,
.shop-richtext blockquote {
  margin: 0 0 1rem;
}

.shop-richtext ul,
.shop-richtext ol {
  padding-left: 1.4rem;
}

.shop-richtext li + li {
  margin-top: 0.35rem;
}

.shop-richtext a {
  color: #295479;
  text-decoration: underline;
}

.shop-nav {
  padding: 16px 0 0;
}

.shop-nav a {
  color: var(--shop-ink);
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-right: 16px;
  text-transform: uppercase;
}

.shop-nav a.active {
  color: var(--shop-accent);
}

.shop-overview-card {
  position: relative;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  text-align: left;
}

.shop-related-media,
.shop-gallery-tile {
  background-color: #fff;
  background-origin: content-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-clip: content-box;
  border-radius: 8px;
  border: 1px solid #e6e0d5;
  padding: 12px;
}

.shop-gallery-main {
  background-color: #fff;
  background-origin: content-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-clip: content-box;
  border-radius: 8px;
  border: 1px solid #e6e0d5;
  height: 440px;
  padding: 16px;
}

.shop-gallery-stage {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
}

.shop-gallery-main-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  width: 100%;
}

.shop-gallery-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e6e0d5;
  border-radius: 999px;
  color: var(--shop-ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.75rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.shop-gallery-thumb {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 8px;
  display: block;
  padding: 0;
  width: 100%;
}

.shop-gallery-thumb.active {
  border-color: #7DA2A9;
}

.shop-gallery-thumb-image {
  background-color: #fff;
  background-origin: content-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-clip: content-box;
  border-radius: 6px;
  border: 1px solid #e6e0d5;
  display: block;
  height: 95px;
  padding: 8px;
  width: 100%;
}

.shop-lightbox {
  align-items: center;
  background: rgba(16, 25, 31, 0.88);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1100;
}

.shop-lightbox.is-open {
  display: flex;
}

.shop-lightbox-dialog {
  max-height: 92vh;
  max-width: 92vw;
  position: relative;
  width: min(960px, 100%);
}

.shop-lightbox-stage {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
}

.shop-lightbox-image {
  background: #fff;
  background-origin: content-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-clip: content-box;
  border-radius: 12px;
  min-height: 70vh;
  padding: 24px;
  width: 100%;
}

.shop-lightbox-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 999px;
  color: var(--shop-ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 2rem;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.shop-lightbox-nav:disabled {
  cursor: default;
  opacity: 0.4;
}

.shop-lightbox-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 999px;
  color: var(--shop-ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.8rem;
  height: 44px;
  justify-content: center;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
}

@media (max-width: 767px) {
  .shop-hero {
    padding-top: 28px;
  }

  .shop-feature-copy,
  .shop-detail-copy {
    padding: 24px 18px;
  }

  .shop-gallery-main {
    height: 280px;
  }

  .shop-gallery-stage {
    gap: 8px;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .shop-gallery-nav {
    font-size: 1.4rem;
    height: 40px;
    width: 40px;
  }

  .shop-lightbox {
    padding: 12px;
  }

  .shop-lightbox-image {
    min-height: 58vh;
    padding: 14px;
  }

  .shop-lightbox-stage {
    gap: 10px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .shop-lightbox-nav {
    font-size: 1.5rem;
    height: 44px;
    width: 44px;
  }
}

@media (min-width: 992px) {
  .shop-buy-panel {
    position: sticky;
    top: 100px;
  }
}
