.shop-hero {
  text-align: center;
  padding: 30px 40px 16px;
}

.shop-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 44px;
  color: var(--gold-light);
  text-shadow: 0 0 30px rgba(201,146,42,.45);
}

.shop-sub {
  margin-top: 8px;
  color: rgba(208,185,140,.75);
  font-family: 'EB Garamond', serif;
}

.shop-filters {
  padding: 12px 38px 18px;
  display: grid;
  gap: 10px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-label {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  color: rgba(208,185,140,.6);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-right: 4px;
}

.filter-pill {
  border: 1px solid rgba(122,85,32,.45);
  border-radius: 999px;
  padding: 5px 11px;
  background: rgba(20,10,2,.66);
  color: var(--text-pale);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-pill.active,
.filter-pill:hover {
  color: var(--gold-bright);
  border-color: rgba(201,146,42,.65);
}

.filter-row {
  display: flex;
  gap: 10px;
}

.filter-row select {
  border: 1px solid rgba(122,85,32,.45);
  border-radius: 18px;
  background: rgba(20,10,2,.7);
  color: var(--text-pale);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  padding: 6px 12px;
}

.search-wrap {
  flex: 1;
  display: flex;
  border: 1px solid rgba(122,85,32,.45);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(20,10,2,.7);
}

.search-wrap input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 7px 12px;
  background: transparent;
  color: var(--text-pale);
}

.search-wrap button {
  border: 0;
  background: transparent;
  color: rgba(208,185,140,.65);
  width: 40px;
  cursor: pointer;
}

.shop-grid-section {
  padding: 0 max(14px, env(safe-area-inset-left)) 2.5rem max(14px, env(safe-area-inset-right));
  max-width: 72rem;
  margin: 0 auto;
}

.shop-section-label {
  margin-bottom: 1rem;
}

.shop-empty {
  grid-column: 1 / -1;
}

.shop-grid {
  padding: 0 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.15rem;
}

/* ——— Product cards (listing) ——— */
.shop-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(122, 85, 32, 0.42);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(168deg, rgba(28, 16, 8, 0.97) 0%, rgba(10, 6, 3, 0.99) 100%);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.shop-card:hover {
  border-color: rgba(201, 146, 42, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.shop-card-media-wrap {
  position: relative;
}

.shop-card-media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.shop-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0602;
}

.shop-card-media--placeholder {
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(201, 146, 42, 0.22) 0%, transparent 60%),
    linear-gradient(165deg, rgba(32, 18, 8, 0.98) 0%, rgba(8, 5, 2, 1) 100%);
}

.shop-card-media-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(201, 146, 42, 0.35);
}

.shop-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.shop-card:hover .shop-card-img {
  transform: scale(1.05);
}

.shop-card-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.shop-card-type-pill,
.shop-card-badge {
  pointer-events: none;
  text-decoration: none;
  border-bottom: none;
}

.shop-card-type-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(122, 85, 32, 0.5);
  background: rgba(8, 5, 2, 0.75);
  color: rgba(232, 213, 168, 0.92);
  backdrop-filter: blur(6px);
}

.shop-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 146, 42, 0.55);
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.35), rgba(201, 146, 42, 0.2));
  color: var(--gold-bright, #f5d070);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.shop-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.9rem 1rem 1rem;
  min-height: 0;
}

.shop-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
  margin-bottom: 0.45rem;
}

.shop-card-chips:empty {
  display: none;
}

.shop-card-chip {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(122, 85, 32, 0.35);
  color: rgba(208, 185, 140, 0.7);
  background: rgba(0, 0, 0, 0.2);
}

.shop-card-title {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.shop-card-desc {
  margin: 0.45rem 0 0;
  color: rgba(223, 208, 182, 0.78);
  font-family: 'EB Garamond', serif;
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.shop-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(122, 85, 32, 0.28);
}

.shop-card-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.shop-card-price-label {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(208, 185, 140, 0.45);
}

.shop-price {
  font-family: 'Cinzel', serif;
  color: var(--gold-bright, #f5d070);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* Legacy aliases (PDP / other views) */
.shop-card-bg {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(201, 146, 42, 0.2) 0%, rgba(22, 12, 4, 0.9) 72%);
}

.shop-card-bg--placeholder {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 146, 42, 0.18) 0%, transparent 55%),
    linear-gradient(165deg, rgba(35, 20, 8, 0.95) 0%, rgba(12, 7, 2, 0.98) 100%);
}

.shop-card-content {
  padding: 12px;
}

.shop-badge {
  display: inline-block;
  border: 1px solid rgba(122, 85, 32, 0.5);
  border-radius: 999px;
  font-size: 9px;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  color: var(--gold-pale);
}

.shop-meta {
  margin-top: 8px;
  color: rgba(208, 185, 140, 0.6);
  font-size: 10px;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
}

.shop-dot {
  margin: 0 5px;
}

.shop-bottom {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shop-add-cart-form {
  margin: 0;
  padding: 0;
  border: 0;
  display: inline-block;
}

.shop-buy-btn {
  text-decoration: none;
  border: 1px solid rgba(122,85,32,.62);
  border-radius: 999px;
  padding: 6px 11px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  color: var(--gold-pale);
  letter-spacing: .1em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(44,24,6,.88) 0%, rgba(20,11,3,.94) 100%);
  cursor: pointer;
  appearance: none;
  font: inherit;
}

.shop-buy-btn:hover {
  border-color: rgba(201,146,42,.75);
  color: var(--gold-bright);
}

.shop-card-link,
.shop-card-media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.shop-card-title-link {
  color: var(--gold-light, #e8b84b);
  text-decoration: none;
  border-bottom: none;
}

.shop-card-title-link:hover {
  color: var(--gold-bright, #f5d070);
}

.shop-buy-btn--link {
  display: inline-block;
}

.shop-buy-btn--card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  border: none;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #1a0a00;
  background: linear-gradient(135deg, #e8b84b 0%, #c9922a 100%);
  box-shadow: 0 2px 14px rgba(201, 146, 42, 0.3);
  transition: filter 0.15s, box-shadow 0.15s, transform 0.15s;
}

.shop-buy-btn--card:hover {
  color: #1a0a00;
  filter: brightness(1.08);
  box-shadow: 0 4px 18px rgba(201, 146, 42, 0.45);
  transform: translateX(2px);
}

.shop-buy-btn--card svg {
  flex-shrink: 0;
  transition: transform 0.15s;
}

.shop-buy-btn--card:hover svg {
  transform: translateX(2px);
}

@media (max-width: 400px) {
  .shop-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-buy-btn--card {
    width: 100%;
  }
}

.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(208,185,140,.72);
  font-family: 'EB Garamond', serif;
}

.shop-product-page {
  padding: 24px 38px 34px;
}

.shop-product-top {
  margin-bottom: 14px;
}

.shop-back-link {
  display: inline-block;
  text-decoration: none;
  border: 1px solid rgba(122,85,32,.45);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-pale);
  background: rgba(20,10,2,.66);
}

.shop-back-link:hover {
  border-color: rgba(201,146,42,.65);
  color: var(--gold-bright);
}

.shop-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 18px;
}

.shop-product-media {
  border: 1px solid rgba(122,85,32,.46);
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(201,146,42,.2) 0%, rgba(22,12,4,.9) 72%);
}

.shop-product-media--placeholder {
  min-height: 320px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,146,42,.18) 0%, transparent 55%),
    linear-gradient(165deg, rgba(35,20,8,.95) 0%, rgba(12,7,2,.98) 100%);
}

.shop-product-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.shop-product-info {
  border: 1px solid rgba(122,85,32,.46);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(25,14,5,.95) 0%, rgba(12,7,2,.96) 100%);
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
  padding: 16px;
}

.shop-product-title {
  margin-top: 8px;
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--gold-light);
}

.shop-product-short {
  margin-top: 10px;
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: rgba(223,208,182,.92);
}

.shop-product-description {
  margin-top: 14px;
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(223,208,182,.9);
}

.shop-product-buy {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

@media (min-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) and (min-width: 520px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .filter-row {
    flex-direction: column;
  }

  .shop-hero {
    padding: 20px max(14px, env(safe-area-inset-left)) 14px max(14px, env(safe-area-inset-right));
  }

  .shop-title {
    font-size: clamp(26px, 9vw, 40px);
  }

  .shop-filters {
    padding: 10px max(14px, env(safe-area-inset-left)) 14px max(14px, env(safe-area-inset-right));
  }

  .shop-grid {
    grid-template-columns: 1fr;
    padding: 18px max(14px, env(safe-area-inset-left)) 24px max(14px, env(safe-area-inset-right));
  }

  .shop-product-page {
    padding: 18px max(14px, env(safe-area-inset-left)) 24px max(14px, env(safe-area-inset-right));
  }

  .shop-product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shop-product-image,
  .shop-product-media--placeholder {
    min-height: 220px;
  }

  .shop-product-info {
    padding: 14px;
  }

  .shop-product-short,
  .shop-product-description {
    font-size: 16px;
  }

  .shop-product-buy {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-product-buy .shop-buy-btn {
    width: 100%;
    text-align: center;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shop-flow {
  padding-bottom: 140px;
}

.shop-flash-status {
  margin-top: 14px;
  color: rgba(167, 243, 208, 0.95);
  font-family: 'EB Garamond', serif;
  font-size: 15px;
}

.shop-flash-err {
  margin-top: 14px;
  color: #fecaca;
  font-family: 'EB Garamond', serif;
  font-size: 15px;
}

.shop-floating-cart-root {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1100;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
  max-width: min(360px, calc(100vw - 32px));
}

.shop-floating-cart-fab {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(201,146,42,.75);
  background: linear-gradient(145deg, rgba(44,28,10,.98) 0%, rgba(18,10,4,.99) 100%);
  box-shadow: 0 8px 28px rgba(0,0,0,.55), 0 0 0 1px rgba(201,146,42,.12), inset 0 1px 0 rgba(255,220,160,.08);
  color: var(--gold-bright);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.shop-floating-cart-fab:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 36px rgba(0,0,0,.6), 0 0 22px rgba(201,146,42,.22);
}

.shop-floating-cart-fab:focus-visible {
  outline: 2px solid rgba(201,146,42,.85);
  outline-offset: 3px;
}

.shop-floating-cart-fab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.shop-floating-cart-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  color: rgba(8,5,1,.95);
  background: linear-gradient(135deg, #f0c66a, #c9922a);
  border: 1px solid rgba(40,22,6,.6);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.shop-floating-cart-panel {
  width: min(360px, calc(100vw - 32px));
  max-height: min(70vh, 420px);
  display: flex;
  flex-direction: column;
}

.shop-floating-cart-panel[hidden] {
  display: none !important;
}

.shop-floating-cart-inner {
  border: 1px solid rgba(122,85,32,.55);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(28,16,6,.97) 0%, rgba(12,7,2,.98) 100%);
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.shop-floating-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.shop-floating-cart-close {
  border: 0;
  background: transparent;
  color: rgba(208,185,140,.65);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  border-radius: 6px;
  transition: color .15s ease;
}

.shop-floating-cart-close:hover {
  color: var(--gold-bright);
}

.shop-floating-cart-title {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.shop-floating-cart-lines {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
}

.shop-floating-cart-line {
  border-bottom: 1px solid rgba(122,85,32,.25);
  padding: 8px 0;
}

.shop-floating-cart-line:last-child {
  border-bottom: 0;
}

.shop-floating-cart-line-info {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: rgba(223,208,182,.9);
  font-family: 'EB Garamond', serif;
}

.shop-floating-cart-pname {
  flex: 1;
  min-width: 0;
}

.shop-floating-cart-pline {
  font-family: 'Cinzel', serif;
  color: var(--gold-bright);
  font-size: 11px;
  white-space: nowrap;
}

.shop-floating-cart-line-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.shop-floating-cart-qty-form {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.shop-floating-cart-qty {
  width: 52px;
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid rgba(122,85,32,.45);
  background: rgba(20,10,2,.75);
  color: var(--text-pale);
  font-size: 12px;
}

.shop-floating-cart-update {
  border: 0;
  background: transparent;
  color: rgba(201,146,42,.85);
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}

.shop-floating-cart-remove {
  border: 0;
  background: transparent;
  color: rgba(248,113,113,.75);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 2px 4px;
}

.shop-floating-cart-total {
  display: flex;
  justify-content: space-between;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  color: rgba(208,185,140,.85);
  margin-bottom: 10px;
}

.shop-floating-cart-actions {
  text-align: center;
}

.shop-floating-cart-checkout {
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 12px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(8,5,1,.95);
  background: linear-gradient(135deg, #e8b84b, #a67a28);
  border: 1px solid rgba(201,146,42,.8);
}

.shop-floating-cart-checkout:hover {
  filter: brightness(1.06);
  color: rgba(8,5,1,.95);
}

.shop-floating-cart-muted {
  font-size: 11px;
  color: rgba(208,185,140,.55);
}

.shop-checkout-hero {
  padding-bottom: 8px;
}

.shop-checkout-flash-status {
  margin: 10px auto 0;
  max-width: 520px;
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  color: rgba(167, 243, 208, 0.9);
  text-align: center;
}

.shop-checkout-line-tag {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.85);
  vertical-align: middle;
  margin-left: 4px;
}

.shop-floating-cart-tag {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.8);
  margin-left: 4px;
}

.shop-floating-cart-line--membership .shop-floating-cart-line-actions {
  justify-content: flex-end;
}

.shop-checkout-wrap {
  padding: 8px 38px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}

.shop-checkout-summary {
  border: 1px solid rgba(122,85,32,.4);
  border-radius: 10px;
  padding: 16px 18px;
  background: rgba(20,10,2,.55);
  align-self: start;
}

.shop-checkout-h2 {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: var(--gold-light);
  margin: 0 0 12px;
  letter-spacing: .08em;
}

.shop-checkout-h3 {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  color: rgba(208,185,140,.85);
  margin: 16px 0 8px;
  letter-spacing: .06em;
}

.shop-checkout-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  color: rgba(223,208,182,.9);
}

.shop-checkout-lines li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(122,85,32,.2);
}

.shop-checkout-subtotal {
  margin: 12px 0 0;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  color: var(--gold-bright);
}

.shop-checkout-wallet-hint {
  margin: 10px 0 0;
  font-family: 'EB Garamond', serif;
  font-size: 13px;
  color: rgba(208,185,140,.78);
}

.shop-checkout-back-link {
  color: rgba(208,185,140,.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.shop-checkout-back-link:hover {
  color: var(--gold-bright);
}

.shop-checkout-pay-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.shop-checkout-pay-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(122,85,32,.45);
  background: rgba(20,10,2,.45);
  cursor: pointer;
}
.shop-checkout-pay-option:has(input:disabled) {
  cursor: not-allowed;
}
.shop-checkout-pay-option--disabled {
  opacity: 0.55;
}
.shop-checkout-pay-option input {
  margin-top: 4px;
  accent-color: #c9922a;
}
.shop-checkout-pay-option-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shop-checkout-pay-title {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(208,185,140,.9);
}
.shop-checkout-pay-sub {
  font-family: 'EB Garamond', serif;
  font-size: 13px;
  color: rgba(208,185,140,.65);
  line-height: 1.4;
}
.shop-checkout-pay-sub a {
  color: rgba(230, 200, 120, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shop-checkout-form {
  border: 1px solid rgba(122,85,32,.4);
  border-radius: 10px;
  padding: 18px 20px 22px;
  background: rgba(14,8,2,.6);
}

.shop-checkout-note {
  font-size: 13px;
  color: rgba(208,185,140,.72);
  font-family: 'EB Garamond', serif;
  margin: 0 0 14px;
}

.shop-checkout-errors {
  background: rgba(127,29,29,.35);
  border: 1px solid rgba(248,113,113,.35);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #fecaca;
}

.shop-checkout-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(208,185,140,.65);
  margin: 10px 0 4px;
}

.shop-optional {
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  color: rgba(208,185,140,.45);
}

.shop-checkout-input,
.shop-checkout-select,
.shop-checkout-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(122,85,32,.45);
  border-radius: 8px;
  padding: 8px 11px;
  background: rgba(20,10,2,.75);
  color: var(--text-pale);
  font-family: 'EB Garamond', serif;
  font-size: 15px;
}

.shop-checkout-textarea {
  resize: vertical;
  min-height: 72px;
}

.shop-checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shop-checkout-us-note {
  font-size: 13px;
  color: rgba(208, 185, 140, 0.78);
  margin: 0 0 14px;
  line-height: 1.45;
  font-family: 'EB Garamond', serif;
}

.shop-checkout-field-hint {
  margin: 4px 0 10px;
  font-size: 12px;
  color: rgba(208, 185, 140, 0.5);
  font-family: 'EB Garamond', serif;
}

.shop-req {
  color: #fbbf24;
  font-weight: 600;
}

.shop-checkout-row--city-state {
  grid-template-columns: minmax(0, 1fr) minmax(140px, 200px) minmax(96px, 120px);
  align-items: end;
  gap: 12px;
}

.shop-checkout-field-grow,
.shop-checkout-field-state,
.shop-checkout-field-zip {
  min-width: 0;
}

.shop-checkout-submit {
  margin-top: 18px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  color: rgba(8,5,1,.95);
  background: linear-gradient(135deg, #e8b84b, #a67a28);
}

.shop-checkout-submit:hover {
  filter: brightness(1.05);
}

.shop-checkout-legal {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(208,185,140,.5);
  font-family: 'EB Garamond', serif;
}

.shop-confirm-wrap {
  padding: 12px 38px 48px;
  max-width: 640px;
  margin: 0 auto;
}

.shop-confirm-card {
  border: 1px solid rgba(122,85,32,.45);
  border-radius: 12px;
  padding: 22px 24px;
  background: rgba(20,10,2,.55);
}

.shop-confirm-lead {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--gold-light);
  margin: 0 0 8px;
}

.shop-confirm-meta {
  font-family: 'EB Garamond', serif;
  font-size: 15px;
  color: rgba(223,208,182,.88);
  margin: 0 0 12px;
}

.shop-confirm-items {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(208,185,140,.8);
  font-size: 14px;
}

.shop-confirm-links {
  margin: 18px 0 0;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .06em;
}

.shop-confirm-links a {
  color: rgba(201,146,42,.95);
  text-decoration: none;
}

.shop-confirm-links a:hover {
  text-decoration: underline;
}

.shop-checkout-wrap--payment-step .shop-checkout-summary {
  align-self: start;
}

/* Embedded payment only: single column (Stripe shows line items). */
.shop-checkout-wrap--embedded-solo {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(720px, 100%);
}

.shop-checkout-payment-column {
  border: 1px solid rgba(122,85,32,.4);
  border-radius: 10px;
  padding: 16px 18px;
  background: rgba(20,10,2,.55);
  align-self: start;
}

.shop-checkout-payment-column .shop-checkout-note {
  margin-bottom: 10px;
}

.shop-checkout-payment-column .shop-checkout-note a {
  color: rgba(201,146,42,.95);
}

.shop-checkout-payment-mount {
  min-height: 480px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .shop-checkout-wrap {
    grid-template-columns: 1fr;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
    padding-bottom: max(40px, env(safe-area-inset-bottom));
  }

  .shop-checkout-row {
    grid-template-columns: 1fr;
  }

  .shop-checkout-row--city-state {
    grid-template-columns: 1fr;
  }
}

/* --- Ecommerce PDP redesign (/shop/product/{id}) --- */
.shop-product-page--ecom {
  padding-top: 20px;
}

.shop-product-top--ecom {
  margin-bottom: 10px;
}

.shop-pdp-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 14px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(208,185,140,.62);
}

.shop-pdp-breadcrumbs a {
  color: rgba(208,185,140,.82);
  text-decoration: none;
}

.shop-pdp-breadcrumbs a:hover {
  color: var(--gold-bright);
}

.shop-pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.shop-pdp-gallery {
  min-width: 0;
}

.shop-pdp-media {
  min-height: 460px;
  max-height: 78vh;
}

.shop-pdp-image {
  min-height: 460px;
  object-fit: cover;
}

.shop-pdp-gallery-note {
  margin-top: 8px;
  font-family: 'EB Garamond', serif;
  font-size: 13px;
  color: rgba(208,185,140,.62);
}

.shop-pdp-buybox {
  border: 1px solid rgba(122,85,32,.46);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(25,14,5,.95) 0%, rgba(12,7,2,.96) 100%);
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
  padding: 16px;
  position: sticky;
  top: 14px;
}

.shop-pdp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.shop-pdp-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201,146,42,.5);
  border-radius: 999px;
  padding: 4px 9px;
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-pale);
  background: rgba(201,146,42,.12);
}

.shop-pdp-chip--subtle {
  border-color: rgba(122,85,32,.46);
  color: rgba(208,185,140,.82);
  background: rgba(20,10,2,.7);
}

.shop-pdp-title {
  margin-top: 12px;
  line-height: 1.18;
}

.shop-pdp-short {
  margin-top: 9px;
  font-size: 17px;
}

.shop-pdp-price-row {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop-pdp-price {
  font-size: 30px;
  line-height: 1;
}

.shop-pdp-tax-note {
  font-family: 'EB Garamond', serif;
  font-size: 13px;
  color: rgba(208,185,140,.62);
}

.shop-pdp-cart-form {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-pdp-qty-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.shop-pdp-qty-label {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(208,185,140,.8);
}

.shop-pdp-qty {
  width: 120px;
  border: 1px solid rgba(122,85,32,.45);
  border-radius: 10px;
  background: rgba(20,10,2,.75);
  color: var(--text-pale);
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  padding: 8px 10px;
}

.shop-pdp-buy-btn {
  width: 100%;
  padding: 11px 16px;
  text-align: center;
  font-size: 11px;
  letter-spacing: .12em;
}

.shop-pdp-perks {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
  color: rgba(223,208,182,.88);
  font-family: 'EB Garamond', serif;
  font-size: 14px;
}

.shop-pdp-detail-card {
  margin-top: 18px;
  border: 1px solid rgba(122,85,32,.46);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(25,14,5,.95) 0%, rgba(12,7,2,.96) 100%);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  overflow: hidden;
}

.shop-pdp-detail-head {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(122,85,32,.4);
}

.shop-pdp-detail-head h2 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.shop-pdp-description {
  margin-top: 0;
  padding: 15px 16px 14px;
}

.shop-pdp-empty {
  margin: 0;
  padding: 15px 16px 14px;
  color: rgba(208,185,140,.75);
  font-family: 'EB Garamond', serif;
}

.shop-pdp-specs {
  border-top: 1px solid rgba(122,85,32,.3);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-pdp-spec {
  padding: 12px 14px;
  border-right: 1px solid rgba(122,85,32,.24);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.shop-pdp-spec:last-child {
  border-right: 0;
}

.shop-pdp-spec span {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(208,185,140,.62);
}

.shop-pdp-spec strong {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: rgba(223,208,182,.92);
  font-weight: 500;
}

@media (max-width: 980px) {
  .shop-pdp-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .shop-pdp-buybox {
    position: static;
  }

  .shop-pdp-media,
  .shop-pdp-image {
    min-height: 320px;
  }

  .shop-pdp-specs {
    grid-template-columns: 1fr;
  }

  .shop-pdp-spec {
    border-right: 0;
    border-bottom: 1px solid rgba(122,85,32,.24);
  }

  .shop-pdp-spec:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .shop-pdp-breadcrumbs {
    font-size: 9px;
    margin-bottom: 10px;
  }

  .shop-pdp-title {
    font-size: clamp(25px, 8vw, 34px);
  }

  .shop-pdp-short,
  .shop-pdp-description {
    font-size: 16px;
  }

  .shop-pdp-media,
  .shop-pdp-image {
    min-height: 220px;
  }
}

