@font-face {
  font-family: "Wildbad Avenir";
  src: url("assets/fonts/avenir-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
}

@font-face {
  font-family: "Wildbad Avenir";
  src: url("assets/fonts/avenir-heavy.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

/* Typografie der Wildbadmühle-Webseite:
   Überschriften, Unterkategorien und Bedienelemente: Avenir.
   Fließtexte und Erläuterungen: Avenir Light. */

:root {
  --header-color: #aa1124;
  --red: var(--header-color);
  --banner-color: var(--header-color);
  --red-dark: #710b18;
  --red-soft: #f8e7ea;
  --navy: #2c2276;
  --cream: #fffcfc;
  --cream-deep: #e0ceba;
  --gold: #c0a27f;
  --ink: #2f2e2d;
  --muted: #5d5c5b;
  --line: #e0ceba;
  --white: #fff;
  --shadow: 0 18px 55px rgba(70, 38, 37, .11);
  --radius: 22px;
}

* { box-sizing: border-box; }
.ui-icon { display: block; width: 1.35em; height: 1.35em; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--cream); font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-weight: 300; line-height: 1.65; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2, h3 { font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-weight: 700; }
h1, h2 { letter-spacing: -.02em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 14px; }
h3 { font-size: 1.25rem; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--white); padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.eyebrow { margin-bottom: 10px; color: var(--red); font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.centered { text-align: center; }

.site-header { position: relative; z-index: 20; color: white; background: var(--red); border-bottom: 1px solid rgba(255,255,255,.14); }
.header-inner { width: min(1280px, calc(100% - 40px)); min-height: 100px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: block; width: 230px; flex: 0 0 auto; }
.brand img { width: 100%; height: 78px; object-fit: contain; object-position: left center; }
.header-copy { display: flex; flex-direction: column; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.3); }
.header-copy strong { font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-size: 1.28rem; font-weight: 700; }
.header-copy span { opacity: .78; font-size: .85rem; }
.cart-link { position: relative; margin-left: auto; display: flex; align-items: center; gap: 9px; color: white; text-decoration: none; font-weight: 750; }
.cart-link > span:first-child { display: grid; place-items: center; width: 43px; height: 43px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.cart-link .ui-icon { width: 23px; height: 23px; stroke-width: 1.9; }
.cart-link b { position: absolute; left: 30px; top: -5px; display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 6px; color: var(--red); background: white; border-radius: 50%; font-size: .73rem; }

.stepper { color: white; background: var(--red-dark); font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; }
.stepper ol { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 16px 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.stepper li { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; opacity: .55; }
.stepper li:not(:last-child)::after { content: ""; position: absolute; left: calc(50% + 70px); right: calc(-50% + 70px); top: 19px; height: 1px; background: rgba(255,255,255,.35); }
.stepper li.active, .stepper li.complete { opacity: 1; }
.stepper li > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-weight: 800; }
.stepper li.active > span { color: var(--red-dark); background: var(--white); border-color: white; }
.stepper li.complete > span { color: var(--red-dark); background: var(--gold); border-color: var(--gold); }
.stepper b, .stepper small { display: block; }
.stepper b { font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-size: .86rem; font-weight: 700; }
.stepper small { font-size: .72rem; opacity: .75; }
.stepper li > span { font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-weight: 700; }

.hero { min-height: 580px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; padding-block: 70px; }
.hero > * { min-width: 0; }
.hero-copy { padding-left: clamp(0px, 3vw, 42px); }
.hero-copy h1 em { color: var(--red); font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { max-width: 580px; color: var(--muted); font-size: 1.12rem; }
.hero-promises { display: flex; flex-wrap: wrap; gap: 11px 22px; margin-top: 30px; color: var(--navy); font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .01em; }
.hero-gallery { position: relative; min-height: 450px; }
.hero-gallery::before { content: ""; position: absolute; inset: 4% 0 2% 8%; border-radius: 50% 45% 48% 52%; background: var(--red-soft); transform: rotate(-5deg); }
.hero-gallery img { position: absolute; object-fit: cover; box-shadow: var(--shadow); }
.hero-gallery img:first-child { width: 70%; height: 75%; right: 2%; top: 0; border-radius: 48% 52% 30px 48%; }
.hero-gallery img:nth-child(2) { width: 46%; height: 48%; left: 1%; bottom: 0; border: 9px solid #fffdf9; border-radius: 50% 22px 50% 50%; }
.fresh-seal { position: absolute; right: 4%; bottom: 3%; display: grid; place-items: center; width: 125px; height: 125px; color: white; background: var(--red); border: 2px solid white; outline: 1px solid var(--red); border-radius: 50%; text-align: center; font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-weight: 700; transform: rotate(7deg); }

.selection-section { padding-block: 86px 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 38px; }
.section-heading > div { max-width: 700px; }
.section-heading > div > p:last-child { color: var(--muted); margin-bottom: 0; }
.search-field { min-width: 300px; display: flex; align-items: center; gap: 9px; padding: 13px 15px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; }
.pickup-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, .72fr); gap: 28px; align-items: start; }
.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.store-card { position: relative; min-height: 190px; display: grid; grid-template-columns: auto 1fr auto; gap: 15px; padding: 24px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 18px; text-align: left; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.store-card:hover { transform: translateY(-3px); box-shadow: 0 13px 30px rgba(70,38,37,.09); }
.store-card.selected { border: 2px solid var(--red); background: linear-gradient(145deg, #fff 65%, var(--red-soft)); box-shadow: 0 12px 35px rgba(181,18,43,.12); }
.store-pin { display: grid; place-items: center; width: 39px; height: 39px; color: var(--red); background: var(--red-soft); border-radius: 50%; font-size: 1.35rem; }
.store-pin .ui-icon { width: 20px; height: 20px; }
.store-content { display: flex; flex-direction: column; gap: 9px; }
.store-content strong { font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-size: 1rem; font-weight: 700; }
.store-content small { color: var(--muted); line-height: 1.45; }
.store-content em { color: var(--navy); font-size: .8rem; font-style: normal; font-weight: 750; }
.store-content mark { width: fit-content; padding: 4px 8px; color: #356743; background: #edf8ef; border-radius: 20px; font-size: .7rem; font-weight: 700; }
.radio-dot { width: 20px; height: 20px; border: 2px solid #cbbdb6; border-radius: 50%; }
.selected .radio-dot { border: 6px solid var(--red); }
.empty-state { grid-column: 1 / -1; padding: 40px; color: var(--muted); background: white; border: 1px dashed var(--line); border-radius: 18px; text-align: center; }
.api-status { margin: 0 0 22px; padding: 12px 16px; border-radius: 12px; font-size: .78rem; font-weight: 600; }
.api-status.success { color: #185b31; background: #edf8f0; border: 1px solid #ccebd5; }
.api-status.warning { color: #74450b; background: #fff6e8; border: 1px solid #efd3a6; }
.pickup-card { position: sticky; top: 20px; padding: 28px; background: var(--cream); border: 1px solid #ecdbc8; border-radius: var(--radius); box-shadow: var(--shadow); }
.pickup-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.pickup-card-head h3, .pickup-card-head p { margin-bottom: 0; }
.pickup-card-head h3 { font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-size: 1.05rem; font-weight: 700; }
.icon-disc { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 auto; color: white; background: var(--red); border-radius: 50%; font-size: 1.5rem; }
.icon-disc .ui-icon { width: 25px; height: 25px; }
.muted-box { position: relative; margin-bottom: 20px; padding: 16px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 12px; }
.chosen-store strong, .chosen-store span { display: block; }
.chosen-store strong { color: var(--ink); }
.chosen-store span { padding-right: 48px; font-size: .82rem; }
.chosen-store button { position: absolute; right: 12px; top: 50%; padding: 0; color: var(--red); background: none; border: 0; cursor: pointer; transform: translateY(-50%); font-size: .74rem; font-weight: 750; }
.field { display: block; margin-top: 17px; }
.field > span { display: block; margin-bottom: 7px; font-size: .78rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 49px; padding: 11px 13px; color: var(--ink); background: white; border: 1px solid #dacac1; border-radius: 10px; outline: none; }
.field textarea { min-height: 105px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(181,18,43,.1); }
.field input:disabled, .field select:disabled { opacity: .55; cursor: not-allowed; }
.field-hint { margin: 12px 0 20px; color: var(--muted); font-size: .72rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; border: 0; border-radius: 11px; font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-primary { color: white; background: var(--red); box-shadow: 0 9px 20px rgba(181,18,43,.2); }
.button-primary:hover:not(:disabled) { background: var(--red-dark); }
.button-secondary { color: var(--red); background: var(--red-soft); }
.button-outline { color: var(--ink); background: white; border: 1px solid var(--line); }
.button:disabled { opacity: .43; cursor: not-allowed; box-shadow: none; }
.button-wide { width: 100%; }
.safe-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--muted); }

.how-it-works { padding-block: 95px; background: var(--cream); }
.feature-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-grid article { position: relative; padding: 34px; background: white; border: 1px solid #ecdfd5; border-radius: var(--radius); text-align: center; }
.feature-grid article > span { position: absolute; left: 20px; top: 16px; color: var(--cream-deep); font: 700 2.5rem "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; }
.feature-icon { position: relative; width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 22px; color: white; background: var(--red); border-radius: 50%; font-size: 1.6rem; }
.feature-icon .ui-icon { width: 32px; height: 32px; stroke-width: 1.7; }
.feature-grid p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

.site-footer { padding: 56px 0 24px; color: rgba(255,255,255,.88); background: var(--red); text-align: center; }
.site-footer img { width: 205px; height: 70px; margin: auto; object-fit: contain; }
.site-footer p { margin: 10px 0 26px; }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 28px; padding: 22px 0; border-block: 1px solid rgba(255,255,255,.12); }
.site-footer nav a { font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; text-decoration: none; font-size: .78rem; font-weight: 700; }
.site-footer small { display: block; margin-top: 22px; opacity: .6; }

.legal-main { min-height: 60vh; padding-block: 72px; }
.legal-navigation { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.legal-navigation a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 700; }
.legal-navigation a:hover, .legal-navigation a:focus-visible { color: var(--white); background: var(--red); border-color: var(--red); }
.legal-document { width: 100%; min-height: 780px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }

/* Sortiment */
.shop-main { padding-block: 35px 100px; }
.pickup-bar { margin-bottom: 30px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; color: white; background: var(--banner-color); border-radius: 17px; }
.pickup-bar .pickup-symbol { display: grid; place-items: center; width: 42px; height: 42px; background: rgba(255,255,255,.12); border-radius: 50%; }
.pickup-symbol .ui-icon { width: 21px; height: 21px; }
.pickup-bar strong, .pickup-bar small { display: block; }
.pickup-bar small { opacity: .72; }
.pickup-bar a { margin-left: auto; color: white; font-size: .8rem; }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.catalog-heading p:last-child { color: var(--muted); }
.catalog-search { min-width: 260px; }
.category-tabs { position: sticky; top: 0; z-index: 10; display: flex; gap: 9px; overflow-x: auto; padding: 11px 0 20px; background: var(--cream); scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { flex: 0 0 auto; padding: 9px 16px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-size: .78rem; font-weight: 700; }
.category-tab.active { color: white; background: var(--red); border-color: var(--red); }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 17px; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-image-wrap { position: relative; aspect-ratio: 1.15 / 1; overflow: hidden; background: var(--cream); cursor: pointer; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover img { transform: scale(1.04); }
.product-badge { position: absolute; left: 12px; top: 12px; padding: 5px 9px; color: var(--red-dark); background: rgba(255,255,255,.92); border-radius: 999px; font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-size: .62rem; font-weight: 700; }
.product-info { padding: 16px; }
.product-info small { color: var(--muted); }
.product-info h3 { min-height: 2.4em; margin: 5px 0 8px; font-size: 1.18rem; }
.product-info > p { height: 3.8em; overflow: hidden; color: var(--muted); font-size: .8rem; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price strong { display: block; color: var(--red); font-size: 1.08rem; }
.price small { display: block; font-size: .65rem; }
.add-button { width: 42px; height: 42px; padding: 0; color: white; background: var(--red); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.4rem; box-shadow: 0 7px 15px rgba(181,18,43,.2); }
.quantity-control { display: grid; grid-template-columns: 34px 32px 34px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; text-align: center; }
.quantity-control button { height: 36px; color: var(--red); background: white; border: 0; cursor: pointer; font-weight: 850; }
.quantity-control output { font-size: .84rem; font-weight: 800; }
.cart-panel { position: sticky; top: 72px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cart-panel-head { display: flex; align-items: center; gap: 12px; padding: 22px; color: white; background: var(--banner-color); }
.cart-panel-head h2 { margin: 0; font: 700 1.45rem "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; }
.cart-panel-head span { margin-left: auto; opacity: .7; font-size: .78rem; }
.cart-panel-head > span:first-child { display: grid; place-items: center; width: 28px; margin-left: 0; opacity: 1; }
.cart-panel-head > span:first-child .ui-icon { width: 24px; height: 24px; }
.cart-empty { padding: 45px 24px; color: var(--muted); text-align: center; }
.cart-empty i { width: 65px; height: 65px; display: grid; place-items: center; margin: 0 auto 16px; background: var(--cream); border-radius: 50%; font-size: 1.7rem; font-style: normal; }
.cart-empty i .ui-icon { width: 30px; height: 30px; color: var(--red); }
.cart-lines { max-height: 390px; overflow-y: auto; padding: 9px 22px; }
.cart-line { display: grid; grid-template-columns: 55px 1fr auto; gap: 11px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 55px; height: 55px; object-fit: cover; border-radius: 9px; }
.cart-line h3 { margin: 0 0 7px; font-size: .95rem; }
.cart-line strong { font-size: .82rem; }
.cart-line .quantity-control { grid-template-columns: 27px 25px 27px; width: 79px; }
.cart-line .quantity-control button { height: 28px; }
.cart-summary { padding: 20px 22px 23px; background: var(--cream); }
.cart-summary-row { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 6px; font-size: .82rem; }
.cart-summary-row.total { margin-top: 14px; padding-top: 14px; border-top: 1px solid #d9c8b8; font-size: 1.08rem; font-weight: 850; }
.cart-summary small { display: block; margin: -1px 0 16px; color: var(--muted); font-size: .68rem; }
.mobile-cart-button { position: fixed; left: 18px; right: 18px; bottom: 15px; z-index: 30; display: none; justify-content: space-between; padding-inline: 20px; }
.cart-close { display: none; margin-left: auto; color: white; background: none; border: 0; font-size: 1.4rem; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 100; padding: 11px 18px; color: white; background: var(--banner-color); border-radius: 999px; box-shadow: var(--shadow); transform: translate(-50%, 120px); transition: transform .25s; font-size: .82rem; }
.toast.show { transform: translate(-50%, 0); }
.modal { width: min(780px, calc(100% - 30px)); padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 30px 90px rgba(31,17,17,.3); }
.modal::backdrop { background: rgba(25,20,25,.62); backdrop-filter: blur(4px); }
.modal-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.modal-image { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.modal-copy { padding: 38px; }
.modal-copy h2 { font-size: 2.1rem; }
.modal-copy p { color: var(--muted); }
.modal-close { position: absolute; right: 12px; top: 12px; z-index: 1; width: 38px; height: 38px; color: var(--ink); background: white; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 4px 13px rgba(0,0,0,.15); }
.detail-list { margin: 24px 0; padding: 17px 0; border-block: 1px solid var(--line); font-size: .8rem; max-height: 310px; overflow: auto; }
.detail-list section + section { margin-top: 18px; }
.detail-list h3 { margin: 0 0 5px; font-family: "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; font-size: .78rem; }
.detail-list p { margin: 0; font-size: .78rem; line-height: 1.55; }
.nutrition-list { margin: 8px 0 0; }
.nutrition-list div { display: flex; justify-content: space-between; gap: 20px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.nutrition-list dt, .nutrition-list dd { margin: 0; }
.product-meta { margin: -10px 0 18px; color: var(--muted); font-size: .7rem; }
.product-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 220px; background: var(--cream); font-size: 3rem; }

/* Checkout und Bestätigung */
.checkout-main { padding-block: 48px 100px; }
.checkout-title { margin-bottom: 30px; }
.checkout-title p { color: var(--muted); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .65fr); gap: 28px; align-items: start; }
.checkout-column { display: grid; gap: 20px; }
.panel { padding: 27px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.panel-heading > span { display: grid; place-items: center; width: 35px; height: 35px; color: white; background: var(--red); border-radius: 50%; font-weight: 850; }
.panel-heading h2 { margin: 0; font: 700 1.55rem "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.radio-card { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; border: 2px solid var(--red); border-radius: 13px; background: var(--red-soft); }
.radio-card input { accent-color: var(--red); }
.paypal-logo { margin-left: auto; color: #003087; font-size: 1.35rem; font-weight: 900; font-style: italic; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; color: var(--muted); font-size: .78rem; }
.checkbox-row input { margin-top: 3px; accent-color: var(--red); }
.order-card { position: sticky; top: 25px; overflow: hidden; padding: 0; }
.order-card > header { padding: 24px 25px; color: white; background: var(--banner-color); }
.order-card > header h2 { margin: 0 0 5px; color: white; font: 700 1.55rem "Wildbad Avenir", Avenir, "Avenir Next", Arial, sans-serif; }
.order-card > header a { color: white; font-size: .75rem; opacity: .8; }
.order-pickup { padding: 19px 24px; background: var(--cream); border-bottom: 1px solid var(--line); }
.order-pickup strong, .order-pickup span { display: block; }
.order-pickup span { margin-top: 4px; color: var(--muted); font-size: .77rem; }
.checkout-lines { padding: 8px 24px; }
.checkout-line { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.checkout-line span small { display: block; margin-top: 3px; color: var(--muted); font-size: .68rem; }
.checkout-line b:first-child { color: var(--red); }
.checkout-total { padding: 20px 24px 24px; }
.checkout-total .cart-summary-row.total { font-size: 1.2rem; }
.paypal-button { margin-top: 18px; color: #17316d; background: #ffc439; box-shadow: 0 8px 18px rgba(221,160,0,.2); }
.paypal-button:hover:not(:disabled) { background: #f6b900; }
.prototype-note { margin-top: 14px; padding: 11px 13px; color: #7b631e; background: #fff8da; border-radius: 9px; font-size: .7rem; }
.payment-message { min-height: 1.4em; margin-top: 12px; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.payment-message.error { padding: 10px 12px; color: #8b1024; background: #fff0f2; border: 1px solid #efc1c8; border-radius: 9px; }
.payment-check-card h1 { margin-bottom: 16px; font-size: clamp(2.3rem, 5vw, 4rem); }
.payment-spinner { width: 76px; height: 76px; margin: 0 auto 25px; border: 7px solid var(--red-soft); border-top-color: var(--red); border-radius: 50%; animation: payment-spin .9s linear infinite; }
.payment-result-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 25px; color: white; border-radius: 50%; font-size: 2rem; font-weight: 800; }
.payment-result-icon.failure { background: var(--red); }
.payment-result-icon.warning { background: #a66b00; }
@keyframes payment-spin { to { transform: rotate(360deg); } }
.confirmation-main { min-height: 650px; padding-block: 70px 110px; }
.confirmation-card { width: min(760px, 100%); margin: auto; padding: clamp(28px, 6vw, 65px); background: white; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); text-align: center; }
.success-icon { width: 82px; height: 82px; display: grid; place-items: center; margin: 0 auto 25px; color: white; background: #2f7c4c; border-radius: 50%; font-size: 2.2rem; }
.confirmation-card > p { color: var(--muted); }
.order-number { display: inline-block; margin: 12px 0 28px; padding: 8px 14px; color: var(--navy); background: #efeff7; border-radius: 999px; font-weight: 850; }
.confirmation-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin: 10px 0 28px; background: var(--line); border: 1px solid var(--line); border-radius: 15px; text-align: left; }
.confirmation-details div { padding: 18px; background: var(--cream); }
.confirmation-details small, .confirmation-details strong { display: block; }
.confirmation-details small { color: var(--muted); margin-bottom: 4px; }
.confirmation-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 30px; }
  .pickup-layout { grid-template-columns: 1fr; }
  .pickup-card { position: static; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 780px) {
  .shell, .header-inner { width: min(100% - 28px, 680px); }
  .header-inner { min-height: 78px; gap: 13px; }
  .brand { width: 165px; }
  .brand img { height: 58px; }
  .header-copy { display: none; }
  .cart-link > span:nth-child(2) { display: none; }
  .stepper ol { width: calc(100% - 24px); }
  .stepper li { gap: 6px; }
  .stepper li > div { display: none; }
  .stepper li:not(:last-child)::after { left: calc(50% + 20px); right: calc(-50% + 20px); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 50px; }
  .hero-gallery { min-height: 350px; }
  .hero-copy { padding: 0; }
  .selection-section { padding-block: 65px; }
  .section-heading, .catalog-heading { display: block; }
  .search-field { width: 100%; min-width: 0; margin-top: 20px; }
  .store-grid, .feature-grid { grid-template-columns: 1fr; }
  .shop-layout { display: block; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-panel { position: fixed; inset: 0; z-index: 50; display: none; border: 0; border-radius: 0; }
  .cart-panel.open { display: block; overflow-y: auto; }
  .cart-close { display: block; }
  .cart-lines { max-height: none; }
  .mobile-cart-button { display: flex; }
  .toast { bottom: 80px; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-image { min-height: 260px; max-height: 330px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-card { position: static; grid-row: 1; }
}

@media (max-width: 520px) {
  h1 { font-size: 2.35rem; }
  .hero-copy h1 { max-width: 100%; }
  .hero-gallery { min-height: 290px; }
  .fresh-seal { width: 96px; height: 96px; font-size: .75rem; }
  .hero-promises { display: grid; }
  .store-card { min-height: 170px; padding: 18px; }
  .pickup-card, .panel { padding: 21px; }
  .feature-grid article { padding: 28px 20px; }
  .pickup-bar { align-items: flex-start; }
  .pickup-bar a { margin-left: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: 42% 58%; }
  .product-image-wrap { height: 100%; aspect-ratio: auto; }
  .product-info h3 { min-height: 0; }
  .product-info > p { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .confirmation-details { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
