:root {
  --bg: #f4ece4;
  --surface: #fffdfb;
  --surface-alt: #ebe0d4;
  --choco: #421d08;
  --choco-deep: #291104;
  --ink: #2b160c;
  --muted: #6c5244;
  --line: #decbbb;
  --cookie: #f6b980;
  --accent: #b2562a;
  --accent-soft: #f3c497;
  --green-bg: #e4f4e8;
  --green-ink: #1f6434;
  --soldout-bg: #fae4e2;
  --soldout-ink: #9c2b23;
  --display: 'Fredoka', 'Nunito', 'Trebuchet MS', rounded, sans-serif;
  --sans: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 6px 20px rgba(66, 29, 8, 0.06);
  --shadow-md: 0 16px 38px rgba(66, 29, 8, 0.11);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p, h1, h2, h3, dl, dd, dt, ul, ol {
  margin: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -120px;
  background: var(--choco);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 200;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

/* Fixed Background Falling Cookies Layer */
.cookie-fall-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.falling-cookie {
  position: absolute;
  will-change: transform;
  opacity: 0.2;
  filter: drop-shadow(0 6px 10px rgba(66, 29, 8, 0.08));
}

/* Elevate page layers above falling cookies */
.topline,
.header,
.choco-drip-wrap,
main,
.footer {
  position: relative;
  z-index: 1;
}

/* Topbar & Header */
.topline {
  background: var(--choco-deep);
  color: var(--bg);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  text-align: center;
}

.topline .sep {
  color: var(--cookie);
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 236, 228, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 16px;
  mix-blend-mode: multiply;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}

.nav a {
  padding: 8px 4px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--choco);
}

.cart-trigger {
  gap: 10px;
}

.cart-badge {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--cookie);
  color: var(--choco-deep);
  font-size: 12px;
  font-weight: 800;
}

/* Chocolate Drip at Top */
.choco-drip-wrap {
  width: 100%;
  height: 82px;
  margin-bottom: -36px;
  pointer-events: none;
  overflow: hidden;
}

.choco-drip-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Typography & Buttons */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--choco);
}

h1 em, h2 em {
  font-style: normal;
  color: var(--accent);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
}

.btn-primary {
  background: var(--choco);
  color: var(--bg);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent);
}

.btn-ghost {
  background: var(--surface);
  color: var(--choco);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--choco);
}

.btn-outline {
  background: transparent;
  color: var(--choco);
  border-color: var(--choco);
}

.btn-outline:hover {
  background: var(--choco);
  color: var(--bg);
}

.btn-cream {
  background: var(--cookie);
  color: var(--choco-deep);
}

.btn-cream:hover:not(:disabled) {
  background: #ffd1a3;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--choco);
}

.pill-accent {
  background: #fbe3cf;
  border-color: #ebc29e;
  color: var(--choco);
}

.pill-choco {
  background: var(--choco);
  border-color: var(--choco);
  color: var(--bg);
}

.pill-pickup {
  background: #f5dfca;
  border-color: #e3bb95;
  color: var(--choco);
}

.pill-muted {
  background: #e7ddd3;
  border-color: #d3c3b5;
  color: var(--muted);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding-block: 56px 76px;
}

.hero h1 {
  font-size: clamp(44px, 5.4vw, 74px);
  margin-bottom: 20px;
}

.intro {
  max-width: 48ch;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-facts {
  list-style: none;
  padding: 0;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--choco);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-frame {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--surface);
  aspect-ratio: 4 / 4.3;
  background: var(--surface-alt);
  transition: transform 0.25s ease;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-frame:hover img {
  transform: scale(1.03);
}

/* Sections */
.section {
  padding-block: 80px;
}

.surface-alt {
  background: rgba(235, 224, 212, 0.72);
  border-block: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(32px, 3.8vw, 48px);
}

.section-heading > p {
  max-width: 390px;
  color: var(--muted);
  font-weight: 600;
}

.price-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Cookie Cards */
.cookie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-card.is-soldout {
  opacity: 0.86;
}

.product-card.is-soldout .product-media img {
  filter: grayscale(40%);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f8f5f1;
}

.product-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.18);
  transition: transform 0.4s ease;
}

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

.stock-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stock-badge.is-available {
  background: var(--green-bg);
  color: var(--green-ink);
}

.stock-badge.is-soldout {
  background: var(--soldout-bg);
  color: var(--soldout-ink);
}

.product-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.product-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-title-row h3 {
  font-size: 24px;
}

.price-tag {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.product-desc {
  font-size: 15px;
  color: var(--muted);
}

/* Ingredients Accordion */
.ingredients-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13.5px;
}

.ingredients-wide {
  margin-bottom: 32px;
  background: var(--surface);
  padding: 14px 20px;
}

.ingredients-box summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--choco);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ingredients-box summary::-webkit-details-marker {
  display: none;
}

.ingredients-box summary::after {
  content: '+';
  font-size: 18px;
  color: var(--accent);
}

.ingredients-box[open] summary::after {
  content: '−';
}

.ingredients-content {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 6px;
  line-height: 1.55;
}

.product-actions {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  height: 46px;
  padding: 0 6px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--choco);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.qty-btn:hover:not(:disabled) {
  background: var(--surface-alt);
}

.qty-val {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
}

.btn-add {
  flex: 1;
}

.drop-box-tip {
  margin-top: 24px;
  text-align: center;
  font-size: 14.5px;
  color: var(--choco);
  background: var(--surface);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-md);
  padding: 14px 20px;
}

/* Brownie Stack */
.brownie-stack {
  display: grid;
  gap: 32px;
}

.brownie-feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.brownie-gallery {
  display: grid;
  gap: 12px;
}

.thumb-main,
.thumb-row a,
.thumb-pair a,
.photo-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.thumb-main {
  aspect-ratio: 4 / 3;
}

.thumb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.thumb-row a,
.thumb-pair a {
  aspect-ratio: 1 / 1;
}

.thumb-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.brownie-gallery img,
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.brownie-gallery a:hover img,
.photo-card:hover img {
  transform: scale(1.03);
}

.brownie-config {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.config-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brownie-config h3 {
  font-size: 28px;
}

.config-group {
  display: grid;
  gap: 8px;
}

.config-label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--choco);
}

.option-pills {
  display: grid;
  gap: 8px;
}

.option-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  font-size: 14.5px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.option-pill:has(input:checked) {
  border-color: var(--accent);
  background: #fdf6ef;
}

.option-pill small {
  color: var(--muted);
  font-weight: 600;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}

.input-field {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
}

.input-field:focus {
  outline: none;
  border-color: var(--accent);
}

.schrift-box {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--line);
}

.helper-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.schrift-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.config-footer {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.live-price {
  display: flex;
  flex-direction: column;
}

.live-price span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.live-price strong {
  font-family: var(--display);
  font-size: 26px;
  color: var(--choco);
}

/* Fruit Drops & Gallery Grids */
.fruit-banner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.fruit-banner h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.fruit-banner p {
  max-width: 60ch;
  color: var(--muted);
}

.social-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.sub-label {
  font-weight: 800;
  color: var(--choco);
  margin-bottom: 16px;
}

.four-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.three-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.photo-card {
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
}

.gallery-note {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.gallery-note a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Split Sections (Ablauf & FAQ) */
.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.split-lead h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  margin-bottom: 14px;
}

.split-lead p:last-child {
  color: var(--muted);
  max-width: 42ch;
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-family: var(--display);
  font-size: 24px;
  color: var(--accent);
}

.steps h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.steps p {
  font-size: 14.5px;
  color: var(--muted);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  padding: 18px 36px 18px 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--choco);
  cursor: pointer;
  position: relative;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-body {
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  display: grid;
  gap: 10px;
}

.faq-body a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}

/* Order & Contact Band */
.contact-band {
  background: var(--choco);
  color: var(--bg);
  padding-block: 80px;
}

.contact-band h2 {
  color: var(--bg);
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 14px;
}

.contact-band h2 em,
.contact-band .eyebrow {
  color: var(--cookie);
}

.order-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: start;
}

.cart-intro {
  color: #e6d8cc;
  margin-bottom: 24px;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.cart-empty {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(246, 185, 128, 0.4);
  border-radius: var(--radius-md);
  padding: 20px;
  color: #e6d8cc;
  font-size: 14.5px;
}

.cart-row {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cart-row-info h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  color: var(--bg);
}

.cart-row-meta {
  font-size: 13px;
  color: #decbc0;
  margin-top: 2px;
}

.cart-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-mini-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--bg);
  font-weight: 800;
  cursor: pointer;
}

.cart-row-price {
  font-weight: 800;
  color: var(--cookie);
  min-width: 72px;
  text-align: right;
}

.cart-summary {
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.summary-total {
  font-size: 19px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.summary-total strong {
  font-family: var(--display);
  font-size: 24px;
  color: var(--cookie);
}

.pickup-warning {
  font-size: 13.5px;
  background: rgba(246, 185, 128, 0.16);
  border: 1px solid rgba(246, 185, 128, 0.45);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #ffe3c4;
}

.contact-meta {
  display: grid;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-meta dt {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cookie);
}

.contact-meta a:hover {
  text-decoration: underline;
}

/* Order Form */
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row-zip-city {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label,
.field-group-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #f7ece2;
}

.field label small {
  font-weight: 400;
  color: #cbb8ab;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 15px;
}

.field input[type="date"] {
  color-scheme: dark;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #baa496;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cookie);
  background: rgba(255, 255, 255, 0.13);
}

.field .is-invalid {
  border-color: #ff8e86 !important;
  background: rgba(217, 83, 79, 0.16) !important;
}

.field-hint {
  font-size: 12.5px;
  color: var(--cookie);
  line-height: 1.4;
}

.field-error {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffb4ae;
  line-height: 1.4;
}

.field-error:empty {
  display: none;
}

.radio-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.radio-pill:has(input:checked) {
  border-color: var(--cookie);
  background: rgba(246, 185, 128, 0.18);
}

.radio-pill.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.order-info-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--cookie);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px;
  color: #f3e6da;
}

.form-status {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
}

.form-status.is-success {
  background: rgba(72, 168, 104, 0.2);
  border: 1px solid rgba(114, 214, 147, 0.5);
  color: #d9fae4;
}

.form-status.is-error {
  background: rgba(217, 83, 79, 0.2);
  border: 1px solid rgba(235, 130, 127, 0.5);
  color: #fde2e1;
}

.form-status a {
  text-decoration: underline;
  font-weight: 800;
}

/* Footer with Original Logo */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 36px;
  padding-block: 44px;
}

.footer-logo-link img {
  width: 130px;
  height: auto;
  border-radius: 20px;
  mix-blend-mode: multiply;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  align-items: flex-end;
  text-align: right;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-weight: 700;
  color: var(--choco);
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Lightbox */
.lightbox {
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  max-width: min(92vw, 860px);
  max-height: 90vh;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(29, 13, 5, 0.84);
  backdrop-filter: blur(6px);
}

.lightbox img {
  max-height: 86vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--choco);
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* Responsive */
@media (max-width: 1050px) {
  .hero,
  .brownie-feature-card,
  .split-section,
  .order-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .four-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-inner {
    flex-wrap: wrap;
    padding-block: 8px;
  }
  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
    font-size: 13.5px;
  }
  .choco-drip-wrap {
    height: 54px;
    margin-bottom: -18px;
  }
  .cookie-grid,
  .three-photo-grid,
  .form-row,
  .form-row-zip-city,
  .radio-pills,
  .schrift-rows {
    grid-template-columns: 1fr;
  }
  .contact-card,
  .brownie-feature-card {
    padding: 20px;
  }
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-meta {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .four-photo-grid {
    grid-template-columns: 1fr;
  }
  .actions .btn,
  .config-footer .btn,
  .form-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .cookie-fall-layer {
    display: none;
  }
}
