:root {
  --store-black: #050505;
  --store-gold: #b8860b;
  --store-gold-hover: #d4af37;
  --store-bg: #f8f5ef;
  --store-surface: #ffffff;
  --store-text: #111111;
  --store-muted: #6f665c;
  --store-border: rgba(5, 5, 5, 0.1);
  --store-danger: #b12704;
  --store-success: #067d62;
  --store-shadow: 0 18px 46px rgba(5, 5, 5, 0.08);
}

.store-page {
  background: linear-gradient(180deg, #ffffff 0%, var(--store-bg) 100%);
  color: var(--store-text);
  min-height: 70vh;
  padding: clamp(1.25rem, 4vw, 3rem) 0;
}

.store-shell {
  margin: 0 auto;
  max-width: 1500px;
  padding: 0 1rem;
  width: 100%;
}

.store-section,
.store-panel {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: 1.25rem;
  box-shadow: var(--store-shadow);
}

.store-eyebrow {
  color: var(--store-gold);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-title {
  color: var(--store-black);
  font-weight: 950;
  line-height: 1.08;
  margin: 0;
}

.store-muted {
  color: var(--store-muted);
}

.store-btn,
.store-btn-outline,
.store-btn-dark,
.store-icon-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 850;
  gap: 0.5rem;
  justify-content: center;
  min-height: 42px;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.store-btn:hover,
.store-btn-outline:hover,
.store-btn-dark:hover {
  box-shadow: 0 14px 26px rgba(5, 5, 5, 0.14);
  text-decoration: none;
  transform: translateY(-1px);
}

.store-btn {
  background: var(--store-gold);
  border: 1px solid var(--store-gold);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
}

.store-btn:hover {
  background: var(--store-gold-hover);
  border-color: var(--store-gold-hover);
  color: var(--store-black);
}

.store-btn-outline {
  background: #ffffff;
  border: 1px solid rgba(184, 134, 11, 0.45);
  color: var(--store-black);
  padding: 0.65rem 1.15rem;
}

.store-btn-outline:hover {
  background: var(--store-bg);
  border-color: var(--store-gold);
  color: var(--store-black);
}

.store-btn-dark {
  background: var(--store-black);
  border: 1px solid var(--store-black);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
}

.store-btn-dark:hover {
  background: #242424;
  border-color: #242424;
  color: #ffffff;
}

.store-icon-btn {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--store-black);
  height: 42px;
  padding: 0;
  width: 42px;
}

.store-icon-btn:hover,
.store-icon-btn.is-active {
  background: #fff7f7;
  border-color: rgba(177, 39, 4, 0.18);
  color: var(--store-danger);
}

.store-icon-btn.is-active i,
.store-icon-btn:hover i {
  font-weight: 900;
}

.store-product-card {
  background: #ffffff;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 1.1rem;
  box-shadow: 0 10px 24px rgba(5, 5, 5, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.store-product-card:hover {
  box-shadow: 0 20px 42px rgba(5, 5, 5, 0.13);
  transform: translateY(-3px);
}

.store-product-media {
  background: #f4f0e7;
  display: block;
  overflow: hidden;
  position: relative;
}

.store-product-media::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.store-product-media img,
.store-product-placeholder {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 0.28s ease;
  width: 100%;
}

.store-product-placeholder {
  align-items: center;
  color: var(--store-muted);
  display: flex;
  font-weight: 800;
  justify-content: center;
}

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

.store-product-heart {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  z-index: 2;
}

.store-product-badge {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: var(--store-success);
  font-size: 0.75rem;
  font-weight: 850;
  left: 0.85rem;
  padding: 0.35rem 0.65rem;
  position: absolute;
  top: 0.85rem;
  z-index: 2;
}

.store-product-badge.is-out {
  color: var(--store-danger);
}

.store-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.store-product-kicker {
  color: var(--store-muted);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.store-product-title {
  color: var(--store-black);
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  min-height: 2.7rem;
  text-decoration: none;
}

.store-product-title:hover {
  color: var(--store-gold);
  text-decoration: none;
}

.store-product-price {
  color: var(--store-black);
  font-size: 1rem;
  font-weight: 950;
  margin-top: 0.65rem;
}

.store-product-price.is-sale {
  color: var(--store-danger);
}

.store-rating {
  align-items: center;
  color: var(--store-gold);
  display: flex;
  font-size: 0.85rem;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.store-variant-select,
.store-form-control {
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: 999px;
  min-height: 42px;
}

.store-variant-select:focus,
.store-form-control:focus {
  border-color: var(--store-gold);
  box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.18);
}

.store-variant-pill {
  background: var(--store-bg);
  border: 1px solid rgba(184, 134, 11, 0.22);
  border-radius: 999px;
  color: var(--store-muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  overflow: hidden;
  padding: 0.55rem 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-empty {
  padding: clamp(2rem, 7vw, 4rem);
  text-align: center;
}

.store-empty-icon {
  align-items: center;
  background: var(--store-black);
  border-radius: 999px;
  color: var(--store-gold-hover);
  display: inline-flex;
  font-size: 2rem;
  height: 84px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 84px;
}

.store-summary {
  position: sticky;
  top: 96px;
}

.store-summary-row,
.store-summary-total {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.store-summary-row {
  color: var(--store-muted);
  margin-bottom: 0.85rem;
}

.store-summary-row strong {
  color: var(--store-black);
}

.store-summary-total {
  border-top: 1px solid var(--store-border);
  margin-top: 1rem;
  padding-top: 1rem;
}

.store-summary-total strong {
  color: var(--store-gold);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 950;
  text-align: right;
}

.store-checkout-step {
  align-items: center;
  background: var(--store-black);
  border-radius: 999px;
  color: var(--store-gold-hover);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 950;
  height: 32px;
  justify-content: center;
  margin-right: 0.55rem;
  width: 32px;
}

.checkout-address-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.checkout-address-header h2 {
  align-items: center;
  display: flex;
  gap: 0.55rem;
}

.checkout-address-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.checkout-toggle {
  align-items: center;
  background: var(--store-black);
  border: 1px solid var(--store-black);
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 900;
  gap: 0.45rem;
  justify-content: center;
  min-height: 42px;
  padding: 0.6rem 1rem;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.checkout-toggle:hover {
  background: #242424;
  border-color: #242424;
  box-shadow: 0 12px 24px rgba(5, 5, 5, 0.14);
}

.checkout-toggle-outline {
  background: #ffffff;
  border-color: rgba(184, 134, 11, 0.45);
  color: var(--store-black);
}

.checkout-toggle-outline:hover {
  background: var(--store-bg);
  border-color: var(--store-gold);
  color: var(--store-black);
}

.checkout-toggle i {
  color: var(--store-gold-hover);
  font-size: 1.1rem;
}

.checkout-saved-address,
.checkout-address-empty {
  border-top: 1px solid var(--store-border);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.checkout-address-empty {
  align-items: center;
  background: rgba(184, 134, 11, 0.08);
  border: 1px dashed rgba(184, 134, 11, 0.42);
  border-radius: 1rem;
  color: var(--store-muted);
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
}

.checkout-address-empty i {
  color: var(--store-gold);
  font-size: 1.4rem;
}

.checkout-page {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--store-bg) 100%);
}

.checkout-hero {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 1.5rem;
  box-shadow: 0 22px 60px rgba(5, 5, 5, 0.08);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.checkout-hero-main,
.checkout-hero-actions {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.checkout-hero-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.checkout-icon {
  align-items: center;
  background: #050505;
  border-radius: 1rem;
  color: var(--store-gold-hover);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.15rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.checkout-pill,
.checkout-count {
  align-items: center;
  background: #fffaf0;
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 999px;
  color: var(--store-black);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
}

.checkout-alert {
  border-radius: 1rem;
  font-weight: 750;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
}

.checkout-alert-danger {
  background: #fff1f0;
  border: 1px solid rgba(177, 39, 4, 0.22);
  color: var(--store-danger);
}

.checkout-layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
}

.checkout-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.checkout-card,
.checkout-summary {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(5, 5, 5, 0.09);
  border-radius: 1.35rem;
  box-shadow: 0 20px 48px rgba(5, 5, 5, 0.075);
}

.checkout-card {
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.checkout-accordion-card {
  overflow: hidden;
  padding: 0;
}

.checkout-accordion-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  text-align: left;
  width: 100%;
}

.checkout-accordion-toggle:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(184, 134, 11, 0.3);
  outline: 0;
}

.checkout-section-title {
  color: var(--store-black);
  display: block;
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.2;
  margin-top: 0.2rem;
}

.checkout-section-summary {
  color: var(--store-muted);
  display: block;
  font-size: 0.88rem;
  line-height: 1.4;
  margin-top: 0.25rem;
}

.checkout-accordion-icon {
  align-items: center;
  background: #050505;
  border-radius: 999px;
  color: var(--store-gold-hover);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 1.15rem;
  height: 42px;
  justify-content: center;
  margin-left: 1rem;
  width: 42px;
}

.checkout-accordion-body {
  border-top: 1px solid rgba(5, 5, 5, 0.08);
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.checkout-saved-field {
  margin-bottom: 1rem;
}

.checkout-transition-panel,
.checkout-inline-panel {
  max-height: 1200px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.2s ease, margin 0.28s ease, padding 0.28s ease;
}

.checkout-transition-panel.is-hidden,
.checkout-inline-panel.is-hidden {
  border-width: 0;
  margin-bottom: 0;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  padding-top: 0;
  pointer-events: none;
}

.checkout-card-head {
  align-items: flex-start;
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.checkout-card-head h2,
.checkout-summary-head h2 {
  color: var(--store-black);
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.2;
  margin: 0.2rem 0 0;
}

.checkout-card-head p,
.checkout-summary-head p {
  color: var(--store-muted);
  font-size: 0.92rem;
  margin: 0.25rem 0 0;
}

.checkout-field-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-field-grid-address {
  margin-top: 1rem;
}

.checkout-field-wide {
  grid-column: 1 / -1;
}

.checkout-field label,
.checkout-field > label {
  color: var(--store-black);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 0.45rem;
}

.checkout-field .form-control,
.checkout-field .form-select,
.checkout-field select,
.checkout-field textarea,
.checkout-field input:not([type="checkbox"]):not([type="radio"]) {
  background-color: #ffffff;
  border: 1px solid rgba(5, 5, 5, 0.14);
  border-radius: 0.9rem;
  color: var(--store-black);
  min-height: 48px;
  width: 100%;
}

.checkout-field textarea.form-control,
.checkout-field textarea {
  min-height: 92px;
  resize: vertical;
}

.checkout-field .form-control:focus,
.checkout-field .form-select:focus,
.checkout-field select:focus,
.checkout-field textarea:focus,
.checkout-field input:focus {
  border-color: var(--store-gold);
  box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.16);
}

.checkout-error {
  color: var(--store-danger);
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0.4rem 0 0;
}

.checkout-help {
  color: var(--store-muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 0.4rem;
}

.checkout-saved-row {
  align-items: end;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.checkout-mini-action {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(184, 134, 11, 0.4);
  border-radius: 999px;
  color: var(--store-black);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 900;
  gap: 0.45rem;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1rem;
}

.checkout-mini-action:hover {
  background: #fffaf0;
  border-color: var(--store-gold);
}

.checkout-note {
  align-items: center;
  background: #fffaf0;
  border: 1px dashed rgba(184, 134, 11, 0.35);
  border-radius: 1rem;
  color: var(--store-muted);
  display: flex;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
}

.checkout-note i {
  color: var(--store-gold);
  font-size: 1.2rem;
}

.checkout-check-row {
  align-items: center;
  background: #fffaf0;
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 1rem;
  display: flex;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
}

.checkout-check-row label {
  color: var(--store-black);
  font-weight: 850;
  margin: 0;
}

.checkout-option-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-option {
  align-items: flex-start;
  background: #fbfaf7;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 1.05rem;
  cursor: pointer;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 0;
  min-height: 118px;
  padding: 1rem;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.checkout-option:hover {
  background: #ffffff;
  border-color: rgba(184, 134, 11, 0.35);
  box-shadow: 0 12px 28px rgba(5, 5, 5, 0.08);
  transform: translateY(-1px);
}

.checkout-option input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.checkout-option:has(input:checked) {
  background: #fffaf0;
  border-color: var(--store-gold);
  box-shadow: 0 16px 34px rgba(184, 134, 11, 0.16);
}

.checkout-option-icon {
  align-items: center;
  background: #ffffff;
  border-radius: 0.9rem;
  color: var(--store-gold);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.25rem;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.checkout-option-body strong {
  color: var(--store-black);
  display: block;
  font-size: 0.96rem;
  font-weight: 950;
}

.checkout-option-body small {
  color: var(--store-muted);
  display: block;
  line-height: 1.45;
  margin-top: 0.3rem;
}

.checkout-radio-dot {
  background: #ffffff;
  border: 2px solid rgba(5, 5, 5, 0.18);
  border-radius: 999px;
  display: inline-flex;
  height: 20px;
  margin-top: 0.2rem;
  width: 20px;
}

.checkout-option:has(input:checked) .checkout-radio-dot {
  background: radial-gradient(circle, #ffffff 0 35%, var(--store-black) 38%);
  border-color: var(--store-black);
}

.checkout-inline-panel {
  background: #fffdf8;
  border: 1px solid rgba(184, 134, 11, 0.18);
  border-radius: 1rem;
  margin-top: 0.95rem;
  padding: 1rem;
}

.checkout-payment-instructions {
  align-items: center;
  background: #ecfdf5;
  border: 1px solid rgba(6, 125, 98, 0.18);
  border-radius: 0.85rem;
  color: #064e3b;
  display: flex;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  padding: 0.85rem;
}

.checkout-payment-icon {
  align-items: center;
  background: #067d62;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.4rem;
  justify-content: center;
  width: 2.4rem;
}

.checkout-payment-instructions span,
.checkout-payment-instructions small {
  display: block;
}

.checkout-payment-copy-body {
  min-width: 0;
  width: 100%;
}

.checkout-payment-number-row {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin: 0.1rem 0;
}

.checkout-payment-instructions strong {
  color: #052e24;
  display: block;
  font-size: 1.08rem;
  line-height: 1.2;
  margin: 0;
}

.checkout-copy-number {
  align-items: center;
  background: rgba(6, 125, 98, 0.1);
  border: 0;
  border-radius: 999px;
  color: #064e3b;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 1rem;
  justify-content: center;
  height: 28px;
  padding: 0;
  position: relative;
  width: 28px;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.checkout-copy-number i {
  line-height: 1;
}

.checkout-copy-number:hover,
.checkout-copy-number.is-copied {
  background: #067d62;
  box-shadow: 0 8px 18px rgba(6, 125, 98, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.checkout-copy-number:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(6, 125, 98, 0.2);
  outline: 0;
}

.checkout-copy-status {
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 850;
  min-height: 1.1rem;
}

.checkout-payment-instructions small {
  color: #047857;
  font-size: 0.82rem;
  line-height: 1.35;
}

.checkout-delivery-status {
  align-items: center;
  background: #ecfdf5;
  border: 1px solid rgba(6, 125, 98, 0.2);
  border-radius: 1rem;
  color: #065f46;
  display: flex;
  font-size: 0.86rem;
  font-weight: 850;
  gap: 0.65rem;
  margin-top: 0.95rem;
  padding: 0.85rem 1rem;
}

.checkout-delivery-status i {
  font-size: 1.1rem;
}

.checkout-delivery-status.is-error {
  background: #fff7ed;
  border-color: rgba(177, 39, 4, 0.24);
  color: var(--store-danger);
}

.checkout-summary-wrap {
  min-width: 0;
  position: sticky;
  top: 98px;
}

.checkout-summary {
  overflow: hidden;
  padding: 1.1rem;
}

.checkout-summary-status {
  align-items: flex-start;
  background: linear-gradient(135deg, #050505, #1c1c1c);
  border-radius: 1rem;
  color: #ffffff;
  display: flex;
  gap: 0.8rem;
  padding: 1rem;
}

.checkout-summary-status > span {
  align-items: center;
  background: rgba(212, 175, 55, 0.16);
  border-radius: 0.85rem;
  color: var(--store-gold-hover);
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.checkout-summary-status small {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checkout-summary-status strong {
  display: block;
  font-size: 1rem;
  font-weight: 950;
  margin-top: 0.15rem;
}

.checkout-summary-status p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0.25rem 0 0;
}

.checkout-summary-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
}

.checkout-summary-title {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
}

.checkout-items {
  border-bottom: 1px solid var(--store-border);
  border-top: 1px solid var(--store-border);
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  max-height: 310px;
  overflow-y: auto;
  padding: 1rem 0;
}

.checkout-item {
  align-items: flex-start;
  background: #fbfaf7;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 1rem;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
}

.checkout-item img,
.checkout-item-placeholder {
  border-radius: 0.8rem;
  height: 60px;
  object-fit: cover;
  width: 60px;
}

.checkout-item-placeholder {
  align-items: center;
  background: #eee7db;
  color: var(--store-muted);
  display: inline-flex;
  justify-content: center;
}

.checkout-item-body {
  min-width: 0;
  width: 100%;
}

.checkout-item-top {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.checkout-item-top strong {
  color: var(--store-black);
  font-size: 0.92rem;
  font-weight: 950;
}

.checkout-item-top span {
  color: var(--store-black);
  flex: 0 0 auto;
  font-size: 0.88rem;
  font-weight: 950;
  white-space: nowrap;
}

.checkout-item-body small {
  color: var(--store-muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 0.18rem;
}

.checkout-totals {
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
}

.checkout-totals > div {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.checkout-totals span {
  color: var(--store-muted);
  font-size: 0.9rem;
}

.checkout-totals strong {
  color: var(--store-black);
  font-size: 0.95rem;
  font-weight: 950;
  text-align: right;
}

.checkout-total-row {
  border-top: 1px solid var(--store-border);
  margin-top: 0.25rem;
  padding-top: 1rem;
}

.checkout-total-row span {
  color: var(--store-black);
  font-weight: 950;
}

.checkout-total-row strong {
  color: var(--store-gold);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.checkout-place-order {
  align-items: center;
  background: linear-gradient(135deg, var(--store-black), #252525);
  border: 1px solid var(--store-black);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(5, 5, 5, 0.18);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 950;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1rem;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  width: 100%;
}

.checkout-place-order:hover {
  background: linear-gradient(135deg, #252525, var(--store-black));
}

.checkout-place-order:disabled {
  cursor: wait;
  opacity: 0.72;
}

.checkout-place-order i {
  color: var(--store-gold-hover);
}

.checkout-trust-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.checkout-trust-grid span {
  align-items: center;
  background: #fffaf0;
  border: 1px solid rgba(184, 134, 11, 0.18);
  border-radius: 0.9rem;
  color: var(--store-black);
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 0.35rem;
  justify-content: center;
  min-height: 70px;
  padding: 0.6rem;
  text-align: center;
}

.checkout-trust-grid i {
  color: var(--store-gold);
  font-size: 1rem;
}

.checkout-continue-link {
  color: var(--store-muted);
  display: block;
  font-size: 0.88rem;
  font-weight: 900;
  margin-top: 0.9rem;
  text-align: center;
  text-decoration: none;
}

.checkout-continue-link:hover {
  color: var(--store-black);
}

.cart-toast-region {
  bottom: 1rem;
  display: grid;
  gap: 0.75rem;
  max-width: min(420px, calc(100vw - 2rem));
  position: fixed;
  right: 1rem;
  z-index: 1085;
}

.cart-toast {
  align-items: flex-start;
  background: #050505;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 0.75rem;
  box-shadow: 0 18px 40px rgba(5, 5, 5, 0.28);
  color: #ffffff;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  opacity: 0;
  padding: 1rem;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cart-toast-icon {
  align-items: center;
  background: linear-gradient(180deg, #d4af37, #b8860b);
  border-radius: 999px;
  color: #050505;
  display: inline-flex;
  font-size: 1.05rem;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.cart-toast-body strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.35;
}

.cart-toast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.cart-toast-link {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 850;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
}

.cart-toast-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
}

.cart-toast-link-primary {
  background: #d4af37;
  border-color: #d4af37;
  color: #050505;
}

.cart-toast-link-primary:hover {
  background: #f0c96a;
  border-color: #f0c96a;
  color: #050505;
}

.cart-toast-close {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0;
}

.cart-toast-close:hover {
  color: #ffffff;
}

.cart-button-spinner {
  animation: cartButtonSpin 0.75s linear infinite;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  display: inline-block;
  height: 1em;
  width: 1em;
}

.js-add-to-cart-form button[disabled],
.js-add-to-cart-form button.is-loading {
  cursor: wait;
  opacity: 0.78;
  pointer-events: none;
}

@keyframes cartButtonSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991.98px) {
  .store-summary {
    position: static;
  }

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

  .checkout-summary-wrap {
    position: static;
  }

  .checkout-hero {
    flex-direction: column;
  }

  .checkout-hero-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .checkout-page {
    overflow-x: hidden;
    padding-bottom: 5.75rem;
  }

  .checkout-page .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .checkout-place-order {
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    box-shadow: 0 14px 34px rgba(5, 5, 5, 0.32);
    left: 0.75rem;
    margin: 0;
    position: fixed;
    right: 0.75rem;
    width: auto;
    z-index: 1030;
  }

  .checkout-accordion-toggle,
  .checkout-accordion-body,
  .checkout-card,
  .checkout-summary {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .checkout-field .form-control,
  .checkout-field .form-select,
  .checkout-field select,
  .checkout-field textarea,
  .checkout-field input:not([type="checkbox"]):not([type="radio"]) {
    font-size: 16px;
    min-height: 48px;
  }
  .checkout-hero-main {
    align-items: flex-start;
  }

  .checkout-hero-actions .store-btn-outline,
  .checkout-pill {
    width: 100%;
  }

  .checkout-field-grid,
  .checkout-option-grid {
    grid-template-columns: 1fr;
  }

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

  .checkout-mini-action {
    width: 100%;
  }

  .checkout-card-head {
    gap: 0.7rem;
  }

  .checkout-option {
    min-height: 0;
  }

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

  .checkout-item-top {
    flex-direction: column;
    gap: 0.25rem;
  }

  .checkout-address-header {
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-address-actions,
  .checkout-toggle {
    width: 100%;
  }

  .cart-toast-region {
    bottom: 0.75rem;
    left: 0.75rem;
    max-width: none;
    right: 0.75rem;
  }

  .cart-toast {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cart-toast-close {
    position: absolute;
    right: 0.85rem;
    top: 0.85rem;
  }
}


/* ===== Smart responsive checkout refinements ===== */
.checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
}

.checkout-card,
.checkout-summary,
.checkout-hero {
  backdrop-filter: blur(10px);
}

.checkout-option.is-selected,
.checkout-option:has(input:checked) {
  background: linear-gradient(180deg, #fffaf0, #ffffff);
  border-color: var(--store-gold);
  box-shadow: 0 16px 34px rgba(184, 134, 11, 0.16);
}

.checkout-option.is-selected .checkout-option-icon,
.checkout-option:has(input:checked) .checkout-option-icon {
  background: var(--store-black);
  color: var(--store-gold-hover);
}

.checkout-field input.is-invalid,
.checkout-field select.is-invalid,
.checkout-field textarea.is-invalid,
.checkout-field .form-control.is-invalid,
.checkout-field .form-select.is-invalid {
  border-color: var(--store-danger);
  box-shadow: 0 0 0 0.18rem rgba(177, 39, 4, 0.12);
}

.checkout-place-order:focus-visible,
.checkout-option:focus-within,
.store-btn-outline:focus-visible,
.checkout-copy-number:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.35);
  outline-offset: 3px;
}

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

@media (min-width: 992px) {
  .checkout-summary-wrap {
    top: 88px;
  }

  .checkout-main {
    gap: 1.15rem;
  }
}

@media (max-width: 767.98px) {
  .store-page {
    padding-top: 0.85rem;
  }

  .checkout-hero {
    border-radius: 1.1rem;
    margin-bottom: 0.9rem;
  }

  .checkout-icon {
    height: 42px;
    width: 42px;
  }

  .checkout-section-title,
  .checkout-card-head h2,
  .checkout-summary-head h2 {
    font-size: 1.05rem;
  }

  .checkout-section-summary,
  .checkout-card-head p {
    font-size: 0.84rem;
  }

  .checkout-accordion-icon {
    flex-basis: 36px;
    height: 36px;
    width: 36px;
  }

  .checkout-item img,
  .checkout-item-placeholder {
    height: 52px;
    width: 52px;
  }
}

@media (max-width: 575.98px) {
  .checkout-page {
    padding-bottom: 6.5rem;
  }

  .checkout-hero-main {
    gap: 0.75rem;
  }

  .checkout-accordion-toggle {
    align-items: flex-start;
    min-height: auto;
  }

  .checkout-option {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0.85rem;
  }

  .checkout-payment-instructions {
    align-items: flex-start;
  }

  .checkout-totals {
    gap: 0.65rem;
  }

  .checkout-place-order {
    min-height: 54px;
  }
}

/* ===== Compact mobile-first checkout header and clean card fit ===== */
.checkout-hero-compact {
  display: block;
  padding: clamp(0.85rem, 2.4vw, 1.25rem);
}

.checkout-top-row {
  align-items: center;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: 100%;
}

.checkout-title-block {
  min-width: 0;
}

.checkout-title-block .store-title {
  font-size: clamp(1.25rem, 4vw, 2rem);
  overflow-wrap: anywhere;
}

.checkout-hero-note {
  font-size: 0.92rem;
  margin-top: 0.45rem;
  padding-left: calc(38px + 0.65rem);
}

.checkout-back-btn {
  align-items: center;
  background: var(--store-black);
  border: 1px solid var(--store-black);
  border-radius: 999px;
  color: var(--store-gold-hover);
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  width: 38px;
}

.checkout-back-btn:hover,
.checkout-back-btn:focus-visible {
  background: #222;
  box-shadow: 0 10px 22px rgba(5, 5, 5, 0.18);
  color: var(--store-gold-hover);
  outline: 3px solid rgba(212, 175, 55, 0.28);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.checkout-pill-compact {
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  white-space: nowrap;
}

.checkout-smart-card,
.checkout-card,
.checkout-summary {
  max-width: 100%;
  min-width: 0;
}

.checkout-smart-card {
  background: linear-gradient(180deg, #ffffff, #fffdf8);
  border: 1px solid rgba(184, 134, 11, 0.16);
  border-radius: 1.15rem;
  box-shadow: 0 14px 34px rgba(5, 5, 5, 0.065);
  overflow: hidden;
}

.checkout-smart-card::before {
  background: linear-gradient(90deg, var(--store-gold), rgba(212, 175, 55, 0.18));
  content: "";
  display: block;
  height: 4px;
  width: 100%;
}

.checkout-smart-card .checkout-accordion-toggle {
  background: #ffffff;
}

.checkout-smart-card .checkout-accordion-body {
  background: #fffdf8;
}

.checkout-smart-card .checkout-field-grid {
  width: 100%;
}

.checkout-smart-card .checkout-field,
.checkout-smart-card .checkout-field-wide {
  min-width: 0;
}

.checkout-smart-card .checkout-field input,
.checkout-smart-card .checkout-field select,
.checkout-smart-card .checkout-field textarea,
.checkout-smart-card .checkout-field .form-control,
.checkout-smart-card .checkout-field .form-select {
  box-sizing: border-box;
  max-width: 100%;
}

.checkout-card-head > span:last-child,
.checkout-accordion-toggle .checkout-card-head > span:last-child {
  min-width: 0;
}

@media (max-width: 767.98px) {
  .checkout-page .container {
    max-width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .checkout-layout,
  .checkout-main {
    gap: 0.85rem;
    max-width: 100%;
    overflow: visible;
    width: 100%;
  }

  .checkout-hero-compact,
  .checkout-card,
  .checkout-summary {
    border-radius: 1rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .checkout-accordion-toggle,
  .checkout-accordion-body,
  .checkout-card,
  .checkout-summary {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .checkout-card-head {
    gap: 0.6rem;
    min-width: 0;
  }

  .store-checkout-step {
    flex: 0 0 30px;
    height: 30px;
    margin-right: 0;
    width: 30px;
  }

  .checkout-accordion-icon {
    flex: 0 0 34px;
    height: 34px;
    margin-left: 0.5rem;
    width: 34px;
  }

  .checkout-field-grid,
  .checkout-field-grid-address,
  .checkout-option-grid {
    gap: 0.75rem;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .checkout-page {
    overflow-x: clip;
  }

  .checkout-top-row {
    gap: 0.5rem;
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }

  .checkout-back-btn {
    height: 36px;
    width: 36px;
  }

  .checkout-pill-compact {
    font-size: 0.76rem;
    gap: 0.35rem;
    min-height: 32px;
    padding: 0.38rem 0.55rem;
  }

  .checkout-title-block .store-eyebrow {
    font-size: 0.68rem;
  }

  .checkout-title-block .store-title {
    font-size: 1.18rem;
    line-height: 1.12;
  }

  .checkout-hero-note {
    font-size: 0.82rem;
    line-height: 1.45;
    padding-left: 0;
  }

  .checkout-smart-card {
    border-radius: 0.95rem;
    box-shadow: 0 10px 26px rgba(5, 5, 5, 0.055);
  }

  .checkout-section-title {
    font-size: 1rem;
  }

  .checkout-section-summary {
    font-size: 0.8rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .checkout-field label,
  .checkout-field > label {
    font-size: 0.8rem;
  }

  .checkout-check-row {
    align-items: flex-start;
  }

  .checkout-option {
    border-radius: 0.9rem;
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    width: 100%;
  }

  .checkout-option-icon {
    height: 40px;
    width: 40px;
  }

  .checkout-payment-instructions,
  .checkout-delivery-status,
  .checkout-inline-panel {
    border-radius: 0.9rem;
  }
}

@media (max-width: 380px) {
  .checkout-pill-compact {
    font-size: 0.7rem;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .checkout-pill-compact i {
    display: none;
  }

  .checkout-title-block .store-title {
    font-size: 1.08rem;
  }
}

/* ===== Mobile fix: Customer and Address cards must never shrink left ===== */
#contactSection,
#addressSection,
#contactSection *,
#addressSection * {
  box-sizing: border-box;
}

#contactSection,
#addressSection {
  display: block;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

#contactSection .checkout-accordion-toggle,
#addressSection .checkout-accordion-toggle {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
}

#contactSection .checkout-card-head,
#addressSection .checkout-card-head {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 32px minmax(0, 1fr);
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

#contactSection .checkout-card-head > span:last-child,
#addressSection .checkout-card-head > span:last-child {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

#contactSection .checkout-accordion-body,
#addressSection .checkout-accordion-body,
#deliveryAddressFields {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

#contactSection .checkout-field-grid,
#addressSection .checkout-field-grid {
  display: grid;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

#contactSection .checkout-field,
#addressSection .checkout-field,
#contactSection .checkout-field-wide,
#addressSection .checkout-field-wide {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

#contactSection input,
#contactSection select,
#contactSection textarea,
#addressSection input,
#addressSection select,
#addressSection textarea {
  display: block;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

@media (max-width: 767.98px) {
  .checkout-page,
  .checkout-page .container,
  .checkout-layout,
  .checkout-main {
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
    width: 100%;
  }

  .checkout-layout {
    display: block;
  }

  .checkout-main {
    display: grid;
    gap: 0.9rem;
  }

  #contactSection,
  #addressSection {
    border: 1px solid rgba(184, 134, 11, 0.14);
    border-radius: 1rem;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    transform: none;
  }

  #contactSection .checkout-accordion-toggle,
  #addressSection .checkout-accordion-toggle {
    padding: 0.95rem;
  }

  #contactSection .checkout-accordion-body,
  #addressSection .checkout-accordion-body {
    padding: 0.95rem;
  }

  #contactSection .checkout-field-grid,
  #addressSection .checkout-field-grid,
  #addressSection .checkout-field-grid-address {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #contactSection .checkout-accordion-icon,
  #addressSection .checkout-accordion-icon {
    flex: 0 0 34px;
    height: 34px;
    margin-left: 0;
    width: 34px;
  }
}

@media (max-width: 420px) {
  .checkout-page .container {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  #contactSection .checkout-accordion-toggle,
  #addressSection .checkout-accordion-toggle {
    gap: 0.45rem;
    grid-template-columns: minmax(0, 1fr) 32px;
    padding: 0.8rem;
  }

  #contactSection .checkout-accordion-body,
  #addressSection .checkout-accordion-body {
    padding: 0.8rem;
  }

  #contactSection .checkout-card-head,
  #addressSection .checkout-card-head {
    gap: 0.55rem;
    grid-template-columns: 28px minmax(0, 1fr);
  }

  #contactSection .store-checkout-step,
  #addressSection .store-checkout-step {
    flex-basis: 28px;
    font-size: 0.78rem;
    height: 28px;
    width: 28px;
  }

  #contactSection .checkout-accordion-icon,
  #addressSection .checkout-accordion-icon {
    flex-basis: 32px;
    height: 32px;
    width: 32px;
  }
}
