/* =============================================================
   PALM AVE CATERING — charcuterie.css
   Shop / configurator page styles
   Relies on css/styles.css for brand variables and base reset
   ============================================================= */


/* ── NAV ─────────────────────────────────────────────────────── */

.shop-nav {
  background: rgba(255, 249, 240, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58, 34, 34, 0.06);
  transition: box-shadow 0.3s ease;
  padding: 0.6rem 0;
}

.shop-nav.scrolled {
  box-shadow: 0 2px 20px rgba(58, 34, 34, 0.12);
}

.shop-nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.shop-nav-back {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(58, 34, 34, 0.6);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.shop-nav-back:hover { color: var(--color-green); }

.btn-cart {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-dark);
  color: var(--color-cream);
  border: none;
  border-radius: 100px;
  padding: 0.45rem 1.05rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-cart:hover { background: var(--color-green); transform: translateY(-1px); }

.cart-badge {
  background: var(--color-green);
  color: #fff;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.2rem;
  line-height: 1;
  transition: transform 0.15s;
}
.btn-cart:hover .cart-badge { background: #fff; color: var(--color-green); }

.cart-btn-label { font-size: 0.82rem; }


/* ── HERO ────────────────────────────────────────────────────── */

.shop-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(58,34,34,0.92) 0%, rgba(40,26,18,0.87) 100%),
    url('../assets/images/charcuterie-fruit-skewers.jpg') center / cover no-repeat;
  padding: calc(var(--nav-height, 88px) + 2.5rem) 1.5rem 3rem;
  text-align: center;
}

.shop-hero-inner { max-width: 600px; margin: 0 auto; }

.shop-hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 0.6rem;
}

.shop-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--color-cream);
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.shop-hero-sub {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: rgba(255, 249, 240, 0.75);
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.shop-hero-pickup-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 249, 240, 0.12);
  border: 1px solid rgba(255, 249, 240, 0.24);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.42rem 1rem;
  border-radius: 100px;
}


/* ── CONFIGURATOR SECTION ────────────────────────────────────── */

.shop-body { background: var(--color-cream-mid, #f2ebe0); }

.configurator-section {
  padding: 3rem 0 4rem;
}


/* ── CONFIG STEPS ────────────────────────────────────────────── */

.config-step {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(58, 34, 34, 0.07);
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.config-step-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid rgba(58, 34, 34, 0.06);
}

.config-step-num {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--color-dark);
  color: var(--color-cream);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.config-step-num--opt {
  background: rgba(58, 34, 34, 0.18);
  color: var(--color-dark);
}

.config-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-dark);
  margin: 0 0 0.2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.config-optional-badge {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(58, 34, 34, 0.45);
  background: rgba(58, 34, 34, 0.07);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.config-step-sub {
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: rgba(58, 34, 34, 0.5);
  margin: 0;
  line-height: 1.5;
}


/* ── SIZE CARDS ──────────────────────────────────────────────── */

.size-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

@media (max-width: 640px) {
  .size-card-grid { grid-template-columns: 1fr; }
}

.size-card {
  position: relative;
  background: var(--color-cream, #fff9f0);
  border: 2px solid rgba(58, 34, 34, 0.1);
  border-radius: 14px;
  padding: 1.1rem 1.1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  user-select: none;
}

.size-card:hover {
  border-color: rgba(153, 183, 68, 0.5);
  box-shadow: 0 6px 24px rgba(58, 34, 34, 0.09);
  transform: translateY(-2px);
}

.size-card:focus-visible {
  outline: 3px solid var(--color-green);
  outline-offset: 2px;
}

.size-card--featured {
  border-color: rgba(153, 183, 68, 0.4);
  background: #fff;
}

/* Selected state */
.size-card--selected {
  border-color: var(--color-green) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(153, 183, 68, 0.18) !important;
  transform: translateY(-2px);
}

/* Check icon (hidden until selected) */
.size-card-check {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  color: var(--color-green);
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 1;
}
.size-card--selected .size-card-check {
  opacity: 1;
  transform: scale(1);
}

/* "Most Popular" ribbon — now a static inline pill above the image */
.size-card-ribbon {
  display: inline-block;
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.22rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.65rem;
  white-space: nowrap;
}

/* Board photo / placeholder */
.size-card-img {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: linear-gradient(145deg, #f0ddb8 0%, #dfc490 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.size-card-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 100%;
  width: 100%;
}

.size-card-img-icon {
  font-size: 2.2rem;
  line-height: 1;
  opacity: 0.55;
}

.size-card-img-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: rgba(58, 34, 34, 0.45);
  font-style: italic;
}

.size-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  margin-top: 0.3rem;
}

.size-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-dark);
  margin: 0;
}

.size-card-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-green);
}

.size-card--selected .size-card-price { color: var(--color-green); }

.size-card-serves {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-green-dark, #7a9436);
  margin-bottom: 0.1rem;
}

.size-card-dim {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(58, 34, 34, 0.42);
  margin-bottom: 0.65rem;
}

.size-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(58, 34, 34, 0.07);
  padding-top: 0.6rem;
}

.size-card-list li {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(58, 34, 34, 0.65);
  padding: 0.18rem 0 0.18rem 0.9rem;
  position: relative;
  line-height: 1.4;
}

.size-card-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}


/* ── CONFIG OPTION GROUPS ────────────────────────────────────── */

.config-group {
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(58, 34, 34, 0.07);
}

.config-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.config-group-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.03em;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.config-req-tag {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c0392b;
  background: rgba(192, 57, 43, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

.config-count-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(58, 34, 34, 0.45);
}

/* Included badge (honey on med/lg) */
.config-included-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-green-dark, #7a9436);
  background: rgba(153, 183, 68, 0.1);
  border: 1px solid rgba(153, 183, 68, 0.3);
  padding: 0.45rem 1rem;
  border-radius: 100px;
}


/* ── OPTION PILLS (radio / checkbox styled as chips) ─────────── */

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Hide the actual input */
.option-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.option-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid rgba(58, 34, 34, 0.14);
  border-radius: 100px;
  background: var(--color-cream, #fff9f0);
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  user-select: none;
  line-height: 1.3;
}

.option-pill:hover {
  border-color: var(--color-green);
  background: rgba(153, 183, 68, 0.07);
}

.option-input:checked + .option-pill {
  border-color: var(--color-green);
  background: var(--color-green);
  color: #fff;
}

.option-input:focus-visible + .option-pill {
  outline: 3px solid var(--color-green);
  outline-offset: 2px;
}

.option-pill-note {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.75;
  line-height: 1;
}

.option-input:checked + .option-pill .option-pill-note {
  opacity: 0.85;
}


/* ── ADDON CARDS (checkbox style) ────────────────────────────── */

.addon-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(58, 34, 34, 0.1);
  border-radius: 10px;
  background: var(--color-cream, #fff9f0);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  margin-bottom: 0.55rem;
}

.addon-card:last-child { margin-bottom: 0; }

.addon-card:hover {
  border-color: var(--color-green);
  background: rgba(153, 183, 68, 0.04);
}

.addon-card-input {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--color-green);
  cursor: pointer;
}

.addon-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.1rem;
}

.addon-card-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
}

.addon-card-desc {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(58, 34, 34, 0.5);
  line-height: 1.4;
}

.addon-card-price {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-green);
  white-space: nowrap;
  flex-shrink: 0;
}

.addon-card:has(.addon-card-input:checked) {
  border-color: var(--color-green);
  background: rgba(153, 183, 68, 0.06);
}

.addons-grid { display: flex; flex-direction: column; }


/* ── WINE SELECTOR ───────────────────────────────────────────── */

.wine-selector {
  border: 1.5px solid rgba(58, 34, 34, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.wine-none-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  background: var(--color-cream, #fff9f0);
  border-bottom: 1px solid rgba(58, 34, 34, 0.08);
  cursor: pointer;
}

.wine-none-row input[type="radio"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-green);
  cursor: pointer;
  flex-shrink: 0;
}

.wine-none-label {
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(58, 34, 34, 0.6);
}

/* Filter tabs */
.wine-tabs {
  display: flex;
  background: rgba(58, 34, 34, 0.04);
  border-bottom: 1px solid rgba(58, 34, 34, 0.08);
}

.wine-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 0.6rem 0.5rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(58, 34, 34, 0.5);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.wine-tab:hover { color: var(--color-dark); background: rgba(58, 34, 34, 0.04); }

.wine-tab.active {
  color: var(--color-green-dark, #7a9436);
  background: rgba(153, 183, 68, 0.1);
  box-shadow: inset 0 -2px 0 var(--color-green);
}

/* Wine list */
.wine-list {
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.wine-list::-webkit-scrollbar { width: 4px; }
.wine-list::-webkit-scrollbar-track { background: transparent; }
.wine-list::-webkit-scrollbar-thumb { background: rgba(58, 34, 34, 0.15); border-radius: 4px; }

/* Wine row */
.wine-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid rgba(58, 34, 34, 0.06);
  cursor: pointer;
  transition: background 0.12s;
}

.wine-row:last-child { border-bottom: none; }
.wine-row:hover { background: rgba(153, 183, 68, 0.05); }

.wine-radio {
  width: 0.95rem;
  height: 0.95rem;
  accent-color: var(--color-green);
  cursor: pointer;
  flex-shrink: 0;
}

/* Red / White / Rosé type tag */
.wine-row-type {
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.wine-type--red   { background: rgba(139, 0, 0, 0.1);   color: #8b0000; }
.wine-type--white { background: rgba(180, 150, 40, 0.12); color: #7a6820; }
.wine-type--rose  { background: rgba(220, 100, 120, 0.1); color: #a04050; }

.wine-row-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.wine-row-name {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wine-row-region {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(58, 34, 34, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wine-row-price {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-green);
  white-space: nowrap;
  flex-shrink: 0;
}

.wine-row:has(.wine-radio:checked) {
  background: rgba(153, 183, 68, 0.08);
}


/* ── SUMMARY PANEL (right, sticky) ──────────────────────────── */

.summary-panel {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(58, 34, 34, 0.08);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-height, 88px) + 1rem);
}

.summary-panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid rgba(58, 34, 34, 0.07);
  display: flex;
  align-items: center;
}

.summary-empty {
  text-align: center;
  padding: 1.5rem 0;
}

.summary-empty-icon {
  font-size: 2.2rem;
  margin-bottom: 0.65rem;
  opacity: 0.35;
}

.summary-empty p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(58, 34, 34, 0.4);
  line-height: 1.6;
  margin: 0;
}

/* Summary rows */
#summaryContent .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 0.32rem 0;
  border-bottom: 1px solid rgba(58, 34, 34, 0.05);
}

#summaryContent .summary-row:last-child { border-bottom: none; }

#summaryContent .summary-row span:first-child {
  color: rgba(58, 34, 34, 0.55);
  flex-shrink: 0;
}

#summaryContent .summary-row span:last-child {
  color: var(--color-dark);
  font-weight: 600;
  text-align: right;
  min-width: 0;
  word-break: break-word;
}

#summaryContent .summary-row--main {
  padding: 0.5rem 0 0.6rem;
  margin-bottom: 0.2rem;
}

#summaryContent .summary-row--main span:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-dark);
}

#summaryContent .summary-row--main span:last-child {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-green);
}

#summaryContent .summary-row--pending span:last-child {
  color: rgba(58, 34, 34, 0.3);
  font-weight: 400;
  font-style: italic;
}

#summaryContent .summary-row--addon span:first-child {
  color: rgba(58, 34, 34, 0.45);
  font-style: italic;
}

#summaryContent .summary-row--addon span:last-child {
  color: var(--color-green);
  font-weight: 700;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 2px solid rgba(58, 34, 34, 0.1);
}

.summary-total-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-dark);
}

.summary-total-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-dark);
}


/* ── ADD TO CART ─────────────────────────────────────────────── */

.config-atc {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(58, 34, 34, 0.07);
  padding: 1.5rem 2rem;
  text-align: center;
}

.config-error {
  display: flex;
  align-items: center;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.22);
  color: #a02010;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: left;
}

.btn-atc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--color-green);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
}

.btn-atc:hover { background: var(--color-green-dark, #7a9436); transform: translateY(-1px); }
.btn-atc:disabled { opacity: 0.75; transform: none; cursor: default; }

.atc-price { font-weight: 800; }

.config-atc-note {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: rgba(58, 34, 34, 0.45);
  margin-top: 0.75rem;
  margin-bottom: 0;
  line-height: 1.5;
}


/* ── CHECKOUT SECTION ────────────────────────────────────────── */

.checkout-section {
  background: var(--color-cream, #fff9f0);
  padding: 5rem 0;
  border-top: 1px solid rgba(58, 34, 34, 0.08);
}

.checkout-section-header { margin-bottom: 3rem; }

.checkout-section-sub {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: rgba(58, 34, 34, 0.6);
  max-width: 440px;
  margin: 0 auto;
}

.checkout-panel {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(58, 34, 34, 0.07);
  padding: 1.75rem;
  margin-bottom: 1rem;
}

.checkout-panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid rgba(58, 34, 34, 0.07);
  display: flex;
  align-items: center;
}


/* ── CART ITEMS ──────────────────────────────────────────────── */

.cart-empty {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(58, 34, 34, 0.4);
  text-align: center;
  padding: 1.25rem 0;
  margin: 0;
}

.cart-row {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(58, 34, 34, 0.07);
}
.cart-row:last-child { border-bottom: none; }

.cart-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.cart-row-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-dark);
  display: block;
  margin-bottom: 0.4rem;
}

.cart-row-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.cart-detail-chip {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(58, 34, 34, 0.65);
  background: rgba(58, 34, 34, 0.05);
  border-radius: 100px;
  padding: 0.15rem 0.55rem;
  white-space: nowrap;
}

.cart-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.cart-row-price {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: rgba(58, 34, 34, 0.3);
  cursor: pointer;
  padding: 0.1rem 0.2rem;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}
.cart-remove-btn:hover { color: #c0392b; background: rgba(192, 57, 43, 0.08); }


/* ── CART TOTALS ─────────────────────────────────────────────── */

.cart-totals {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1.5px solid rgba(58, 34, 34, 0.08);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(58, 34, 34, 0.65);
  padding: 0.28rem 0;
}

.cart-tax-rate { font-size: 0.75rem; opacity: 0.7; }

.cart-total-row--grand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  border-top: 1.5px solid rgba(58, 34, 34, 0.1);
  margin-top: 0.35rem;
  padding-top: 0.6rem;
}


/* ── PICKUP INFO & PAYMENT NOTE ──────────────────────────────── */

.pickup-info-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(153, 183, 68, 0.08);
  border: 1px solid rgba(153, 183, 68, 0.25);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-top: 1.25rem;
}

.pickup-info-icon { color: var(--color-green); font-size: 1.05rem; margin-top: 0.1rem; flex-shrink: 0; }
.pickup-info-label { font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-green-dark, #7a9436); margin: 0 0 0.12rem; }
.pickup-info-address { font-family: var(--font-body); font-size: 0.87rem; font-weight: 600; color: var(--color-dark); margin: 0; line-height: 1.5; }

.payment-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(58, 34, 34, 0.5);
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
}

.btn-add-another {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  border: 1.5px dashed rgba(58, 34, 34, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(58, 34, 34, 0.55);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-add-another:hover { border-color: var(--color-green); color: var(--color-green); background: rgba(153, 183, 68, 0.04); }


/* ── CHECKOUT FORM ───────────────────────────────────────────── */

.checkout-form-divider { border-color: rgba(58, 34, 34, 0.08); margin: 1.1rem 0; }

.required-star { color: var(--color-green); margin-left: 0.1rem; }

.form-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.32rem;
}

.form-control,
.form-select {
  font-family: var(--font-body);
  font-size: 0.87rem;
  border-color: rgba(58, 34, 34, 0.16);
  border-radius: 8px;
  padding: 0.58rem 0.85rem;
  color: var(--color-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 0.2rem rgba(153, 183, 68, 0.18);
}

.btn-place-order {
  background: var(--color-green);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-place-order:hover { background: var(--color-green-dark, #7a9436); color: #fff; transform: translateY(-1px); }
.btn-place-order:disabled { opacity: 0.75; transform: none; cursor: default; }

.checkout-form-note {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: rgba(58, 34, 34, 0.45);
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
  line-height: 1.5;
}


/* ── ORDER SUCCESS ───────────────────────────────────────────── */

.order-success-section { padding: 6rem 0; background: var(--color-cream-mid, #f2ebe0); }

.order-success-box {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid rgba(58, 34, 34, 0.08);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 8px 40px rgba(58, 34, 34, 0.1);
}

.order-success-check {
  width: 3.75rem;
  height: 3.75rem;
  background: var(--color-green);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
}

.order-success-title { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; color: var(--color-dark); margin-bottom: 0.7rem; }
.order-success-body { font-family: var(--font-body); font-size: 0.9rem; color: rgba(58, 34, 34, 0.65); line-height: 1.65; margin-bottom: 1.1rem; }
.order-success-pickup { font-family: var(--font-body); font-size: 0.83rem; font-weight: 600; color: var(--color-green); margin-bottom: 1.75rem; }

.order-success-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.btn-dark-brand {
  background: var(--color-dark);
  color: var(--color-cream);
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn-dark-brand:hover { opacity: 0.82; color: var(--color-cream); }

.order-success-actions .btn-primary-brand { padding: 0.65rem 1.35rem; font-size: 0.88rem; }


/* ── FOOTER ──────────────────────────────────────────────────── */

.shop-footer { background: var(--color-dark); padding: 1.4rem 0; }

.shop-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.9rem;
  text-align: center;
}

.shop-footer-brand { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--color-cream); text-decoration: none; }
.shop-footer-brand:hover { color: var(--color-green); }
.shop-footer-sep { color: rgba(255, 249, 240, 0.25); }
.shop-footer-pickup { font-family: var(--font-body); font-size: 0.78rem; color: rgba(255, 249, 240, 0.55); }
.shop-footer-email { font-family: var(--font-body); font-size: 0.78rem; color: rgba(255, 249, 240, 0.55); text-decoration: none; transition: color 0.15s; }
.shop-footer-email:hover { color: var(--color-green); }

@media (max-width: 575px) {
  .shop-footer-sep { display: none; }
  .shop-footer-inner { flex-direction: column; gap: 0.2rem; }
}


/* ── RESPONSIVE ──────────────────────────────────────────────── */

@media (max-width: 991px) {
  .summary-panel { position: static; }
  .configurator-section { padding: 2rem 0 3rem; }
}

@media (max-width: 767px) {
  .config-step { padding: 1.4rem; }
  .config-atc { padding: 1.25rem; }
  .checkout-panel { padding: 1.35rem; }
  .wine-list { max-height: 220px; }
}
