/* ============================================================
   Christmas Preorder page
   Parisian pâtisserie meets classic European Christmas.
   ============================================================ */
body.xmas {
  --cream: #FAF8F5;
  --ivory: #FFFDF9;
  --burgundy: #811E2B;
  --burgundy-dark: #631620;
  --green: #24452D;
  --green-soft: #E7EDE6;
  --tan: #E9E0D5;
  --tan-light: #F4EEE6;
  --muted: #5E5650;
  --error: #A1212F;
  --font-script: 'Great Vibes', cursive;
  background: var(--cream);
  color: #241C1A;
}

.xmas h1, .xmas h2, .xmas h3 { color: var(--burgundy); }
.xmas .eyebrow { color: var(--green); }
.xmas .section-sub { color: var(--muted); }
.xmas .site-header { background: var(--cream); }

/* ---------- Hero ---------- */
.xmas-hero {
  position: relative;
  text-align: center;
  padding: 0 0 72px;
  background:
    linear-gradient(180deg, rgba(36, 69, 45, 0.035), rgba(36, 69, 45, 0) 70%),
    var(--cream);
  overflow: hidden;
}
.garland {
  position: relative;
  height: 96px;
  margin-bottom: 8px;
}
.garland > img:first-child {
  width: 100%;
  height: 100%;
}
.garland-bow {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 64px;
  transform: translateX(-50%);
}
.xmas-hero-inner { max-width: 760px; }
.xmas-hero h1 {
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.script-line {
  font-family: var(--font-script);
  color: var(--green);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}
.script-line-sm { font-size: clamp(28px, 4vw, 36px); margin: -6px 0 16px; }
.xmas-hero-sub {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 17px;
  color: var(--muted);
}
.pickup-pill {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 12px;
  padding: 12px 24px;
  margin-bottom: 32px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--ivory);
}
.pickup-pill > span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}
.pickup-pill strong {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--burgundy);
  font-weight: 600;
}
.xmas-noscript {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 16px;
  text-align: center;
  background: var(--tan-light);
}

/* ---------- Sections ---------- */
.xmas-section { padding: 80px 0; border-top: 1px solid var(--tan); position: relative; }
.xmas-section::before {
  /* small evergreen sprig divider */
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--cream);
  border: 1px solid var(--green);
}
.xmas-shooters { background: var(--ivory); }
.xmas-shooters::before { background: var(--ivory); }
.xmas-section .section-sub { margin-bottom: 40px; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; gap: 28px; }
.product-grid-2 { grid-template-columns: repeat(2, 1fr); }
.product-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border: 1px solid var(--tan);
  border-radius: 6px;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--tan-light);
}
.product-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  flex: 1;
}
.product-body h3 { font-size: 22px; }
.product-grid-4 .product-body { padding: 20px; }
.product-grid-4 .product-body h3 { font-size: 19px; }
.product-desc { color: var(--muted); font-size: 15px; }

.product-card-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 980px;
  margin: 32px auto 0;
}
.product-card-wide .product-media img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.product-card-wide .product-body { padding: 32px; }

.includes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  font-size: 14px;
  color: var(--muted);
}
.includes li::before { content: '✦ '; color: var(--green); font-size: 11px; }

.product-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.product-price .amount { font-family: var(--font-heading); font-size: 28px; font-weight: 600; color: var(--burgundy); }
.product-price .unit { color: var(--muted); font-size: 14px; }
.price-inline { color: var(--burgundy); }

.option-group { border: 0; display: flex; flex-direction: column; gap: 8px; }
.option-group legend {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}
.option-chip { display: block; cursor: pointer; }
.option-chip input { position: absolute; opacity: 0; pointer-events: none; }
.option-chip > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--tan);
  border-radius: 4px;
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.option-chip input:checked + span { border-color: var(--burgundy); box-shadow: inset 0 0 0 1px var(--burgundy); background: #FFF9F8; }
.option-chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.option-name { font-size: 15px; font-weight: 500; }
.option-price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--burgundy);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.option-detail { font-size: 14px; color: var(--muted); font-style: italic; margin-top: -4px; }

.product-flavor label,
.form-field label { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.product-flavor { display: flex; flex-direction: column; }

.add-row { display: flex; gap: 12px; align-items: stretch; margin-top: auto; flex-wrap: wrap; }
.add-btn { flex: 1 1 150px; cursor: pointer; }
.in-order { font-size: 13px; color: var(--green); min-height: 0; }
.in-order:empty { display: none; }
.in-order a { text-decoration: underline; font-weight: 600; }

.tag {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-approval { background: #F6E7E2; color: var(--burgundy-dark); }
.tag-quote { background: var(--tan-light); color: var(--muted); }
.tag-xmas { background: var(--green-soft); color: var(--green); }

/* ---------- Stepper ---------- */
.stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--tan);
  border-radius: 4px;
  background: var(--white);
  overflow: hidden;
  height: 46px;
}
.stepper-btn {
  width: 40px;
  border: 0;
  background: transparent;
  font-size: 20px;
  color: var(--burgundy);
  cursor: pointer;
}
.stepper-btn:hover { background: var(--tan-light); }
.stepper input {
  width: 52px;
  border: 0;
  border-left: 1px solid var(--tan);
  border-right: 1px solid var(--tan);
  text-align: center;
  font: inherit;
  font-weight: 600;
  -moz-appearance: textfield;
  appearance: textfield;
  background: transparent;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 2px solid var(--green); outline-offset: -2px; }

/* ---------- Shooters ---------- */
.shooter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shooter-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--tan);
  border-radius: 6px;
  padding: 16px 16px 20px;
  text-align: center;
}
.shooter-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  object-fit: cover;
  background: var(--tan-light);
}
.shooter-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-top: 8px;
}
.shooter-card h3 { font-size: 19px; }
.shooter-desc { font-size: 14px; color: var(--muted); flex: 1; }
.shooter-controls, .flavor-controls { display: flex; gap: 8px; justify-content: center; align-items: center; }
.shooter-controls { margin-top: 8px; }
.dozen-btn {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.dozen-btn:hover { background: var(--green); color: var(--white); }

.shooter-more { text-align: center; margin: 36px 0 8px; }
.shooter-more .btn { cursor: pointer; background: transparent; }
.shooter-classic {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--tan);
  border-radius: 6px;
}
.group-title {
  font-size: 18px;
  margin: 8px 0 12px;
}
.group-title:not(:first-child) { margin-top: 28px; }
.flavor-list { list-style: none; }
.flavor-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tan-light);
}
.flavor-row:last-child { border-bottom: 0; }
.flavor-name { font-weight: 500; }

.shooter-builder {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  margin-top: 48px;
  padding: 32px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--cream);
}
.builder-info h3 { font-size: 24px; margin-bottom: 8px; }
.builder-info p { color: var(--muted); font-size: 15px; }
.tier-table { margin-top: 18px; }
.rules-list { list-style: none; margin-top: 16px; font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
.rules-list li::before { content: '✦ '; color: var(--green); font-size: 11px; }

.builder-tally {
  background: var(--white);
  border: 1px solid var(--tan);
  border-radius: 6px;
  padding: 24px;
  align-self: start;
}
.tally-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: 12px; }
.tally-empty { color: var(--muted); font-size: 15px; }
.tally-lines, .tally-price { list-style: none; }
.tally-lines li, .tally-price li, .tally-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 15px;
}
.tally-total {
  border-top: 1px solid var(--tan);
  margin-top: 6px;
  padding-top: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--burgundy);
  font-weight: 600;
}
.tally-price li:first-child { font-weight: 600; }
.saving { color: var(--green); }
.tally-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.tally-btn { margin-top: 14px; width: 100%; text-align: center; }

/* ---------- Notices ---------- */
.notice {
  font-size: 14px;
  color: var(--muted);
  background: var(--tan-light);
  border-left: 3px solid var(--green);
  padding: 12px 16px;
  border-radius: 2px;
}
.notice ul { margin: 6px 0 0 18px; }
.notice-cold { border-left-color: #6A8CA8; }
.notice-review { border-left-color: var(--burgundy); background: #FBF1EE; margin-top: 12px; }
.notice-strong {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  border-left: 0;
  border: 1px solid var(--burgundy);
  background: var(--ivory);
  color: var(--burgundy-dark);
  font-weight: 600;
  font-size: 16px;
  padding: 18px 24px;
}

/* ---------- Steps ---------- */
.xmas-step-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.xmas-step-list li {
  background: var(--ivory);
  border: 1px solid var(--tan);
  border-radius: 6px;
  padding: 28px 22px;
  text-align: center;
}
.xmas-step-list .step-num {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 14px;
}
.xmas-step-list h3 { font-size: 19px; margin-bottom: 8px; }
.xmas-step-list p { font-size: 14px; color: var(--muted); }

/* ---------- Form ---------- */
.xmas-form-section { background: var(--ivory); }
.xmas-form-section::before { background: var(--ivory); }
.xmas-form-inner { max-width: 820px; }
.xmas-form { display: flex; flex-direction: column; gap: 24px; }
.form-card {
  border: 1px solid var(--tan);
  border-radius: 6px;
  background: var(--white);
  padding: 28px;
  min-width: 0;
}
.form-card legend {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--burgundy);
  padding: 0 10px;
  margin-left: -10px;
}
.form-card-plain { display: flex; flex-direction: column; gap: 16px; }
.form-help { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; }
.form-field-full { grid-column: 1 / -1; }
.optional { font-weight: 400; color: var(--muted); }

.xmas-form input[type="text"],
.xmas-form input[type="email"],
.xmas-form input[type="tel"],
.xmas-form input[type="date"],
.xmas-form input[type="time"],
.xmas-form select,
.xmas-form textarea,
.product-flavor select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--tan);
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  background: var(--white);
  color: inherit;
  min-height: 48px;
}
.xmas-form select:disabled { background: var(--tan-light); color: var(--muted); }
.xmas-form input:focus,
.xmas-form select:focus,
.xmas-form textarea:focus,
.product-flavor select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.xmas-form [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13px; margin-top: 6px; font-weight: 500; }
.field-error:empty { display: none; }

.check-row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin-top: 18px; font-size: 15px; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--burgundy); flex-shrink: 0; }
.check-row-agree { margin-top: 0; font-weight: 500; }
.early-fields { margin-top: 16px; padding: 18px; background: var(--cream); border-radius: 4px; }

.form-status {
  background: #FBEDEE;
  border: 1px solid var(--error);
  color: var(--error);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
}
.xmas-submit { width: 100%; font-size: 16px; padding: 18px; cursor: pointer; }
.xmas-submit:disabled { opacity: .7; cursor: wait; }
.xmas .form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* Summary */
#orderSummary:focus { outline: none; }
.summary-empty { color: var(--muted); }
.summary-empty a { color: var(--burgundy); text-decoration: underline; font-weight: 600; }
.summary-list { list-style: none; }
.summary-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--tan-light);
}
.summary-desc { display: flex; flex-direction: column; gap: 2px; }
.summary-name { font-weight: 600; }
.summary-opt, .summary-unit { font-size: 14px; color: var(--muted); }
.summary-qty { display: flex; gap: 10px; align-items: center; }
.summary-total { font-weight: 600; color: var(--burgundy); min-width: 80px; text-align: right; }
.summary-shooters { grid-template-columns: 1fr auto; }
.shooter-breakdown { grid-column: 1 / -1; list-style: none; padding-left: 14px; border-left: 2px solid var(--green-soft); }
.shooter-breakdown li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; flex-wrap: wrap; }
.shooter-breakdown .stepper { height: 40px; }
.summary-saving { grid-column: 1 / -1; color: var(--green); font-size: 14px; font-weight: 500; }
.summary-shooters .notice-review { grid-column: 1 / -1; margin-top: 0; }
.summary-edit { grid-column: 1 / -1; font-size: 14px; }
.summary-edit a { color: var(--burgundy); text-decoration: underline; }
.remove-btn {
  background: none;
  border: 0;
  color: var(--muted);
  text-decoration: underline;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 4px;
}
.remove-btn:hover { color: var(--error); }
.summary-footer { padding-top: 16px; }
.summary-grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--burgundy);
}
.summary-grand strong { font-size: 26px; }
.summary-meta { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Success */
.form-success {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 40px 28px;
}
.form-success:focus { outline: none; }
.script-accent { font-family: var(--font-script); font-size: 52px; color: var(--green); line-height: 1.1; }
.form-success h3 { font-size: 26px; margin: 8px 0 12px; }
.form-success p { color: var(--muted); max-width: 560px; margin: 0 auto 10px; }
.request-number strong { color: var(--burgundy); font-size: 20px; letter-spacing: 0.04em; }
.next-steps { text-align: left; max-width: 460px; margin: 16px auto; color: var(--muted); padding-left: 20px; }
.next-steps li { margin: 4px 0; }
.success-summary {
  text-align: left;
  background: var(--cream);
  border-radius: 4px;
  padding: 20px;
  margin: 24px 0;
}
.success-summary h4 { font-family: var(--font-heading); color: var(--burgundy); margin-bottom: 8px; font-size: 18px; }
.success-summary pre { white-space: pre-wrap; font-family: var(--font-body); font-size: 14px; color: #241C1A; margin-bottom: 10px; }
.success-summary p { max-width: none; margin: 0; }
.form-success a { color: var(--burgundy); font-weight: 600; }


/* ---------- Footer ---------- */
.xmas-footer { background: var(--green); color: #F2EDE4; text-align: center; padding: 56px 0 96px; }
.xmas-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-bow { width: 48px; }
.xmas-footer .footer-logo { font-family: var(--font-heading); font-size: 26px; color: #FFFDF9; }
.footer-script { font-family: var(--font-script); font-size: 30px; color: #F1D9C4; line-height: 1.1; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; font-size: 15px; }
.xmas-footer a { color: #FFFDF9; }
.xmas-footer a:hover { text-decoration: underline; }
.footer-back { font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.5); }
.footer-copy { font-size: 13px; opacity: .8; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .product-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .shooter-grid { grid-template-columns: repeat(2, 1fr); }
  .xmas-step-list { grid-template-columns: repeat(2, 1fr); }
  .shooter-builder { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .product-grid-2 { grid-template-columns: 1fr; }
  .product-card-wide { grid-template-columns: 1fr; }
  .product-card-wide .product-media img { min-height: 0; aspect-ratio: 4 / 3; }
  .product-card-wide .product-body { padding: 24px; }
}

@media (max-width: 720px) {
  .xmas-section { padding: 56px 0; }
  .garland { height: 64px; }
  .garland-bow { width: 48px; }
  .xmas-hero { padding-bottom: 48px; }
  .shooter-builder { padding: 20px; }
  .form-card { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .summary-line { grid-template-columns: 1fr auto; }
  .summary-qty { grid-column: 1 / 2; grid-row: 2; }
  .summary-total { grid-row: 1; grid-column: 2; }
  .summary-shooters .summary-total { grid-row: auto; }

}

@media (max-width: 560px) {
  .product-grid-4 { grid-template-columns: 1fr; }
  .shooter-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 0 -24px;
    padding: 0 24px 12px;
    -webkit-overflow-scrolling: touch;
  }
  .shooter-card { flex: 0 0 78%; scroll-snap-align: center; }
  .includes { grid-template-columns: 1fr; }
  .flavor-row { flex-wrap: wrap; }
  .shooter-classic { padding: 18px; }
  .pickup-pill strong { font-size: 18px; }
}



/* Lining numerals so prices and dates read clearly */
.xmas h1, .xmas h2, .xmas h3, .xmas legend, .pickup-pill strong, .product-price .amount,
.option-price, .tally-total, .summary-grand, .request-number { font-variant-numeric: lining-nums; }

.xmas-step-list .step-num { background: var(--ivory); }
.placeholder-img { object-fit: contain !important; background: #F4EEE6; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.add-btn { white-space: nowrap; padding-left: 16px; padding-right: 16px; }
@media (max-width: 560px) { .xmas-step-list { grid-template-columns: 1fr; } }

/* ---------- "The Christmas Menu" list in the hero ---------- */
.xmas-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  justify-items: center;
}
.glance {
  width: 100%;
  max-width: 560px;
  text-align: left;
  background: var(--ivory);
  border: 1px solid var(--tan);
  border-top: 3px solid var(--green);
  border-radius: 6px;
  padding: 24px 24px 18px;
}
.glance h2 {
  font-size: 24px;
  margin-bottom: 8px;
  text-align: center;
}
.glance-list, .glance-list ul { list-style: none; }
.glance-group { padding: 10px 0 4px; border-bottom: 1px solid var(--tan-light); }
.glance-group:last-child { border-bottom: 0; }
.glance-group-title {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 2px;
}
.glance-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 5px 0;
  color: #241C1A;
}
.glance-list a:hover .g-name { color: var(--burgundy); text-decoration: underline; }
.g-name { font-size: 15px; font-weight: 500; display: flex; flex-direction: column; }
.g-name small { font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.g-price {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--burgundy);
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}
.glance-note { font-size: 12.5px; color: var(--muted); font-style: italic; text-align: center; margin-top: 10px; }

@media (min-width: 1001px) {
  .xmas-hero-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    max-width: var(--max-width);
    gap: 48px;
  }
  .xmas-hero-grid .xmas-hero-inner { max-width: none; }
  .xmas-hero-grid .xmas-hero-inner .hero-actions .btn { padding-left: 22px; padding-right: 22px; }
  .glance { justify-self: stretch; }
}
@media (max-width: 560px) {
  .glance { padding: 20px 16px 14px; }
  .g-price { font-size: 15px; }
}
.xmas section[id], .xmas .product-card[id], #collection { scroll-margin-top: 104px; }
@media (min-width: 1001px) {
  .xmas-hero-grid .xmas-hero-inner h1 { font-size: 54px; }
  .xmas-hero-grid .script-line { font-size: 40px; margin-bottom: 14px; }
  .xmas-hero-grid .xmas-hero-sub { margin-bottom: 22px; }
  .xmas-hero-grid .pickup-pill { margin-bottom: 24px; }
  .xmas-hero { padding-bottom: 56px; }
  .glance { padding: 20px 24px 14px; }
  .glance-group { padding: 7px 0 3px; }
  .glance-list a { padding: 3px 0; }
}
.option-size { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* Wide card with a landscape photo shown in full (e.g. tiramisu tray) */
@media (min-width: 761px) {
  .product-card-landscape { grid-template-columns: 1.3fr 1fr; max-width: 1100px; }
  .product-card-landscape .product-media {
    display: flex;
    align-items: center;
    background: #F3EEE7;
  }
  .product-card-landscape .product-media img { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 760px) {
  .product-card-landscape .product-media img { aspect-ratio: 3 / 2; }
}

/* Wide card with a tall photo shown in full (e.g. brownie wreath) */
.product-card-portrait .product-media { display: flex; align-items: center; background: #F3EEE7; }
.product-card-portrait .product-media img { height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; }
@media (max-width: 760px) {
  .product-card-portrait .product-media img { max-height: 560px; object-fit: cover; }
}

/* ---------- Holiday discount ---------- */
.discount-callout {
  margin: -16px 0 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.02em;
}
.discount-callout::before { content: '✦ '; }
.discount-callout::after { content: ' ✦'; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 3px 0; }
.summary-discount { color: var(--green); font-weight: 600; }
.summary-grand { margin-top: 6px; }
.discount-note {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
}
.discount-note.is-applied { background: #F6E7E2; color: var(--burgundy-dark); }

/* ---------- Floating "My Preorder" tab ---------- */
.preorder-tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 95;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px;
  border: 0;
  border-radius: 8px 0 0 8px;
  background: var(--burgundy);
  color: #FFFDF9;
  font: inherit;
  cursor: pointer;
  box-shadow: -4px 6px 18px rgba(36, 28, 26, 0.22);
  transition: transform .25s ease, opacity .25s ease, background .15s ease;
}
.preorder-tab:hover { background: var(--burgundy-dark); }
.preorder-tab:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.preorder-tab-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preorder-tab-count {
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  background: #FFFDF9;
  color: var(--burgundy);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.preorder-tab-meta { display: none; }
.preorder-tab.is-hidden, .preorder-tab.is-done { transform: translate(120%, -50%); opacity: 0; pointer-events: none; }

/* ---------- Drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(36, 28, 26, 0.35);
  opacity: 0;
  transition: opacity .25s ease;
}
.drawer-backdrop.is-open { opacity: 1; }
.preorder-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: min(420px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  box-shadow: -10px 0 30px rgba(36, 28, 26, 0.2);
  transform: translateX(100%);
  transition: transform .25s ease;
}
.preorder-drawer.is-open { transform: translateX(0); }
body.drawer-open { overflow: hidden; }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--tan);
  border-top: 4px solid var(--green);
}
.drawer-head h2 { font-size: 22px; margin: 0; }
.drawer-close {
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
}
.drawer-close:hover { background: var(--tan-light); color: var(--burgundy); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-empty { color: var(--muted); padding: 20px 0 8px; }
.drawer-list { list-style: none; }
.drawer-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--tan-light);
}
.drawer-desc { display: flex; flex-direction: column; gap: 2px; }
.drawer-name { font-weight: 600; font-size: 15px; }
.drawer-opt { font-size: 13px; color: var(--muted); line-height: 1.5; }
.drawer-flag { font-size: 12px; color: var(--burgundy-dark); font-weight: 600; }
.drawer-price { font-weight: 600; color: var(--burgundy); white-space: nowrap; font-variant-numeric: lining-nums; }
.drawer-remove {
  width: 28px;
  height: 28px;
  border: 1px solid var(--tan);
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  font-size: 16px;
}
.drawer-remove:hover { color: var(--error); border-color: var(--error); }
.drawer-foot { padding: 16px 24px 24px; border-top: 1px solid var(--tan); background: var(--white); }
.drawer-totals { margin-bottom: 14px; }
.drawer-totals .summary-grand { font-size: 18px; }
.drawer-totals .summary-grand strong { font-size: 22px; }
.drawer-btn { display: block; width: 100%; text-align: center; cursor: pointer; }
.drawer-link {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: none;
  border: 0;
  color: var(--muted);
  text-decoration: underline;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* Phones: the tab becomes a bottom bar */
@media (max-width: 720px) {
  .preorder-tab {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: none;
    flex-direction: row;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: 999px;
  }
  .preorder-tab-label { writing-mode: horizontal-tb; transform: none; font-size: 15px; letter-spacing: .03em; text-transform: none; }
  .preorder-tab-count { order: 2; }
  .preorder-tab-meta { display: block; order: 3; margin-left: auto; font-size: 13px; opacity: .9; }
  .preorder-tab.is-hidden, .preorder-tab.is-done { transform: translateY(140%); }
  .preorder-drawer { width: 100vw; }
  .xmas-footer { padding-bottom: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  .preorder-tab, .preorder-drawer, .drawer-backdrop { transition: none; }
}
.preorder-drawer[hidden] { display: none; }
.glance-custom {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13.5px;
  text-align: center;
  line-height: 1.5;
}
.glance-custom a { color: var(--burgundy); font-weight: 600; text-decoration: underline; white-space: nowrap; }
@media (min-width: 1001px) {
  .glance h2 { margin-bottom: 4px; }
  .glance-note { margin-top: 6px; }
}
