.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 {
  padding: 24px 38px 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shop-card {
  border: 1px solid rgba(122,85,32,.46);
  border-radius: 10px;
  overflow: hidden;
  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);
}

.shop-card-bg {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(201,146,42,.2) 0%, rgba(22,12,4,.9) 72%);
  overflow: hidden;
}

.shop-card-bg--placeholder {
  min-height: 120px;
  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-card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

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

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

.shop-card-title {
  margin-top: 8px;
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 16px;
}

.shop-card-desc {
  margin-top: 6px;
  color: rgba(223,208,182,.86);
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  min-height: 44px;
}

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

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

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

.shop-price {
  font-family: 'Cinzel', serif;
  color: var(--gold-bright);
  font-size: 20px;
}

.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-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(208,185,140,.72);
  font-family: 'EB Garamond', serif;
}

@media (max-width: 980px) {
  .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));
  }
}

.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;
  }
}

