/* ============ KNALLFROSCH DESIGN SYSTEM ============ */

:root {
  --cream:        #FFF8EC;
  --cream-deep:   #F4ECDB;
  --ink:          #1A1A2E;
  --ink-soft:     #4A4A60;
  --tomato:       #FF5C39;
  --tomato-deep:  #E63946;
  --sun:          #FFD93D;
  --mint:         #2D9596;
  --sky:          #4A90E2;
  --pink:         #FFB4A2;
  --lilac:        #C8B6FF;

  --shadow-pop:   6px 6px 0 var(--ink);
  --shadow-card:  0 1px 0 rgba(26,26,46,0.04), 0 8px 24px -12px rgba(26,26,46,0.18);
  --radius:       16px;
  --radius-lg:    28px;
  --radius-pill:  999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Subtile Papier-Textur im Hintergrund */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.18 0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ============ Display Typography ============ */

.display {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
}

/* ============ Header ============ */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 800;
  font-size: 22px;
}

.logo-mark {
  width: auto;
  height: 44px;
  display: block;
  object-fit: contain;
}

.nav {
  display: none;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
}

.nav a {
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--tomato);
  transition: right .3s ease;
}

.nav a:hover::after { right: 0; }

.header-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s ease, background .15s ease;
}

.header-cta:hover {
  background: var(--tomato);
  transform: translateY(-1px);
}

@media (min-width: 880px) {
  .nav { display: flex; }
}

/* ============ Hero ============ */

.hero {
  padding: 56px 0 32px;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--cream);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45,149,150,0.6); }
  100% { box-shadow: 0 0 0 12px rgba(45,149,150,0); }
}

.hero-title {
  font-size: clamp(48px, 9vw, 124px);
  margin: 0 0 20px;
}

.hero-title .dot { color: var(--ink-soft); }
.hero-title em {
  color: var(--tomato);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero-sub {
  max-width: 620px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.hero-sub strong { color: var(--ink); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid var(--ink);
}

.btn-primary {
  background: var(--tomato);
  color: var(--cream);
  box-shadow: var(--shadow-pop);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-checks span::before {
  content: "✅ ";
  margin-right: 4px;
}

/* ============ Filter Bar ============ */

.filter-bar {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: var(--cream);
  padding: 18px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.filter-pills::-webkit-scrollbar { display: none; }

.pill {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  background: var(--cream);
  font-weight: 700;
  font-size: 14px;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.pill:hover { background: var(--cream-deep); }

.pill.active {
  background: var(--ink);
  color: var(--cream);
}

.pill .count {
  background: var(--cream-deep);
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--ink);
}

.pill.active .count {
  background: rgba(255,248,236,0.18);
  color: var(--cream);
}

/* ============ Section ============ */

.section {
  padding: 56px 0;
  position: relative;
}

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

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  margin: 0;
}

.section-title em {
  color: var(--tomato);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.section-sub {
  color: var(--ink-soft);
  max-width: 480px;
  margin: 8px 0 0;
}

/* ============ Product Grid ============ */

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: var(--ink);
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}

.card-media {
  position: relative;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

/* Card-Hintergrund-Varianten (zyklisch nach Index) */
.bg-1  { background: radial-gradient(circle at 30% 20%, #FFE0B5 0%, #FF8A65 100%); }
.bg-2  { background: radial-gradient(circle at 70% 30%, #B5E48C 0%, #2D9596 100%); }
.bg-3  { background: radial-gradient(circle at 50% 70%, #FFC8DD 0%, #C8B6FF 100%); }
.bg-4  { background: radial-gradient(circle at 20% 80%, #FFE066 0%, #FF6B6B 100%); }
.bg-5  { background: radial-gradient(circle at 60% 30%, #A2D2FF 0%, #4A90E2 100%); }
.bg-6  { background: radial-gradient(circle at 30% 60%, #FCD5CE 0%, #FF5C39 100%); }
.bg-7  { background: radial-gradient(circle at 70% 70%, #CDB4DB 0%, #6A4C93 100%); }
.bg-8  { background: radial-gradient(circle at 40% 40%, #FFFAA0 0%, #FFD93D 100%); }
.bg-9  { background: radial-gradient(circle at 50% 50%, #B8E0D2 0%, #2D9596 100%); }

.card-illu {
  font-size: clamp(72px, 14vw, 120px);
  filter: drop-shadow(4px 4px 0 rgba(26,26,46,0.18));
  transition: transform .4s ease;
}

.card:hover .card-illu {
  transform: scale(1.06) rotate(-4deg);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.card-badge-popular {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--sun);
  border: 2px solid var(--ink);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  transform: rotate(4deg);
}

.card-badge-soon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--pink);
  border: 2px solid var(--ink);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  margin: 0;
}

.card-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

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

.price-num {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
}

.price-lbl {
  font-size: 12px;
  color: var(--ink-soft);
}

.card-btn {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s ease;
}

.card-btn:hover { background: var(--tomato); }

/* ============ Product Detail ============ */

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 32px 0;
}

@media (min-width: 760px) {
  .product-detail { grid-template-columns: 1fr 1fr; }
}

.product-hero {
  aspect-ratio: 4/3;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 200px;
  filter: drop-shadow(6px 6px 0 rgba(26,26,46,0.18));
}

.product-info h1 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  margin: 12px 0 16px;
}

.product-info .price-num {
  font-size: 36px;
  color: var(--tomato);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.meta-tag {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--cream-deep);
  border: 1.5px solid var(--ink);
  font-weight: 600;
}

.spec-list {
  list-style: none;
  padding: 16px 20px;
  margin: 20px 0;
  background: var(--cream-deep);
  border-radius: var(--radius);
  border: 1.5px dashed rgba(26,26,46,0.18);
}

.spec-list li {
  padding: 6px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(26,26,46,0.1);
}

.spec-list li:last-child { border-bottom: none; }
.spec-list strong { font-weight: 700; }

/* ============ CTA Strip ============ */

.cta-strip {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0;
  margin: 56px 0 0;
}

.cta-strip h2 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1;
  margin: 0 0 12px;
}

.cta-strip h2 em {
  color: var(--sun);
  font-style: italic;
}

.cta-strip p {
  color: rgba(255,248,236,0.78);
  margin: 0 0 24px;
}

.cta-strip .btn-primary {
  background: var(--tomato);
  color: var(--cream);
  border-color: var(--cream);
  box-shadow: 6px 6px 0 var(--cream);
}

.cta-strip .btn-primary:hover {
  box-shadow: 8px 8px 0 var(--cream);
}

.cta-strip .btn-ghost {
  border-color: var(--cream);
  color: var(--cream);
}

.cta-strip .btn-ghost:hover {
  background: var(--cream);
  color: var(--ink);
}

/* ============ Footer ============ */

.footer {
  padding: 48px 0 32px;
  background: var(--cream-deep);
  border-top: 2px solid var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer h4 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  margin: 0 0 12px;
  font-size: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  font-size: 14px;
  padding: 4px 0;
  color: var(--ink-soft);
}

.footer a:hover { color: var(--tomato); }

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(26,26,46,0.15);
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* ============ A11y ============ */

:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ Legal-Seiten (Impressum, Datenschutz) ============ */

.legal-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal-content h2 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin: 32px 0 12px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}

.legal-content h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 24px 0 8px;
}

.legal-content p { margin: 0 0 14px; }

.legal-content ul {
  padding-left: 24px;
  margin: 0 0 16px;
}

.legal-content li { padding: 3px 0; }

.legal-content a {
  color: var(--tomato);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.legal-content a:hover { color: var(--tomato-deep); }

.legal-content strong { color: var(--ink); }

/* ============ FAQ Accordion ============ */

.faq-item {
  border-bottom: 2px solid var(--ink);
  padding: 20px 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 22px);
  padding: 4px 0;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 28px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: transform .25s ease, background .25s ease, color .25s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--tomato);
  color: var(--cream);
}

.faq-body {
  padding: 16px 0 4px;
  color: var(--ink-soft);
}

.faq-body p { margin: 0 0 10px; }

.faq-body a {
  color: var(--tomato);
  text-decoration: underline;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}
/* ============ CART BUTTON in Header ============ */

.cart-button {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--cream);
    font-size: 18px;
    text-decoration: none;
    margin-left: 12px;
    transition: background .15s ease, transform .15s ease;
}

.cart-button:hover {
    background: var(--sun);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--tomato);
    color: var(--cream);
    border: 2px solid var(--cream);
    border-radius: 999px;
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    padding: 0 6px;
}

/* ============ CART PAGE ============ */

.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 880px) {
    .cart-layout { grid-template-columns: 1fr 320px; }
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 16px;
    padding: 16px;
    background: var(--cream);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    align-items: flex-start;
}

@media (max-width: 600px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-areas:
            "img body"
            "side side";
    }
    .cart-item-img { grid-area: img; }
    .cart-item-body { grid-area: body; }
    .cart-item-side { grid-area: side; flex-direction: row; justify-content: space-between; align-items: center; }
}

.cart-item-img {
    width: 100px;
    height: 80px;
    background: var(--cream-deep);
    border-radius: var(--radius);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-body h3 {
    font-family: 'Fraunces', serif;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-size: 20px;
    margin: 0 0 4px;
}

.cart-item-body h3 a {
    color: var(--ink);
    text-decoration: none;
}

.cart-item-body h3 a:hover {
    color: var(--tomato);
}

.cart-item-meta {
    color: var(--ink-soft);
    font-size: 14px;
    margin: 0 0 12px;
}

.cart-item-controls {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.cart-item-controls label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item-controls label span {
    font-size: 11px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cart-item-controls input {
    width: 70px;
    padding: 6px 8px;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--cream);
    font: inherit;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.cart-item-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    text-align: right;
}

.cart-item-total strong {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 22px;
    display: block;
}

.cart-item-total small {
    font-size: 11px;
    color: var(--ink-soft);
}

/* === Cart Summary === */
.cart-summary {
    position: sticky;
    top: 100px;
    background: var(--cream);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 4px 4px 0 var(--ink);
    align-self: start;
}

.cart-summary h3 {
    font-family: 'Fraunces', serif;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-size: 22px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ink);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-size: 14px;
}

.summary-row strong, .summary-row span:last-child {
    font-weight: 700;
}

.summary-total {
    border-top: 2px dashed var(--ink);
    padding-top: 12px;
    margin-top: 8px;
    font-size: 17px;
}
/* ============ ADD TO CART FORM ============ */

.add-to-cart-form {
    margin-top: 24px;
    padding: 24px;
    background: var(--cream-deep);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
}

.cart-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .cart-form-grid { grid-template-columns: 1fr 1fr; }
    .cart-form-grid label:first-child { grid-column: 1 / -1; }
}

.cart-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-form-grid label span {
    font-weight: 600;
    font-size: 13px;
}

.cart-form-grid input {
    padding: 10px 12px;
    border: 2px solid var(--ink);
    border-radius: 8px;
    background: var(--cream);
    font: inherit;
    width: 100%;
}

.cart-form-grid input:focus {
    outline: none;
    border-color: var(--tomato);
    box-shadow: 0 0 0 3px rgba(255,92,57,0.2);
}

/* ============ AVAILABILITY STATUS ============ */

.availability-status {
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-weight: 600;
    text-align: center;
    border: 2px solid var(--ink);
    transition: background .2s ease;
}

.availability-idle {
    background: var(--cream);
    color: var(--ink-soft);
}

.availability-checking {
    background: var(--sun);
    color: var(--ink);
}

.availability-available {
    background: #B8E0D2;
    color: var(--ink);
}

.availability-blocked {
    background: #FFADAD;
    color: var(--ink);
}

.availability-error {
    background: #FFD8B1;
    color: var(--ink);
}
/* ============ BOOKING SECTION ============ */

.booking-section {
    margin-top: 48px;
    padding: 32px;
    background: var(--cream-deep);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: 4px 4px 0 var(--ink);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 880px) {
    .booking-grid { grid-template-columns: 1fr 320px; }
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--ink-soft);
}

.calendar-legend .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    border: 1.5px solid var(--ink);
}

.dot-free      { background: #B8E0D2; }
.dot-blocked   { background: #FFADAD; }
.dot-selected  { background: var(--tomato); }

.booking-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-options {
    display: flex;
    gap: 12px;
}

.booking-options label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-options label span {
    font-weight: 600;
    font-size: 13px;
}

.booking-options input {
    padding: 10px 12px;
    border: 2px solid var(--ink);
    border-radius: 8px;
    background: var(--cream);
    font: inherit;
    width: 100%;
}

.add-to-cart-form {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

/* ============ FLATPICKR THEMING ============ */

.flatpickr-calendar.inline {
    background: var(--cream);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: 4px 4px 0 var(--ink);
    width: 100%;
    max-width: 100%;
    padding: 8px;
}

.flatpickr-months {
    background: var(--ink);
    border-radius: 8px 8px 0 0;
    padding: 6px 0;
    margin: -8px -8px 8px;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-current-month input.cur-year,
.flatpickr-monthDropdown-months {
    color: var(--cream) !important;
    fill: var(--cream) !important;
}

.flatpickr-prev-month, .flatpickr-next-month {
    fill: var(--cream) !important;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
    fill: var(--sun) !important;
}

.flatpickr-weekday {
    color: var(--ink) !important;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.flatpickr-day {
    color: var(--ink);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all .15s ease;
    font-weight: 500;
}

.flatpickr-day:hover:not(.flatpickr-disabled) {
    background: var(--sun);
    border-color: var(--ink);
}

.flatpickr-day.today {
    border-color: var(--mint);
    color: var(--mint);
    font-weight: 700;
}

.flatpickr-day.today.selected {
    color: var(--cream);
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--tomato) !important;
    border-color: var(--ink) !important;
    color: var(--cream) !important;
    font-weight: 700;
}

.flatpickr-day.flatpickr-disabled {
    background: rgba(255,173,173,0.4) !important;
    color: var(--ink-soft) !important;
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.6;
}

.flatpickr-day.flatpickr-disabled:hover {
    background: rgba(255,173,173,0.4) !important;
    border-color: transparent !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: rgba(26,26,46,0.25);
}
/* ============ INQUIRY FORM ============ */

.inquiry-form .form-card {
    background: var(--cream);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 16px;
}

.inquiry-form .form-card h3 {
    font-family: 'Fraunces', serif;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-size: 22px;
    margin: 0 0 16px;
}

.inquiry-form label {
    display: block;
    margin-bottom: 14px;
}

.inquiry-form label > span {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}

.inquiry-form label > span small {
    font-weight: 400;
    color: var(--ink-soft);
}

.inquiry-form input[type="text"],
.inquiry-form input[type="email"],
.inquiry-form input[type="tel"],
.inquiry-form input[type="number"],
.inquiry-form input[type="date"],
.inquiry-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--ink);
    border-radius: 10px;
    background: var(--cream);
    font: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--tomato);
    box-shadow: 0 0 0 3px rgba(255,92,57,0.2);
}

.inquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .inquiry-form .form-row { grid-template-columns: 1fr; }
}

.inquiry-form .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    cursor: pointer;
}

.inquiry-form .checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--tomato);
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.inquiry-form .checkbox span {
    font-size: 14px;
    line-height: 1.5;
}

/* === Inquiry Layout === */

.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 880px) {
    .inquiry-grid { grid-template-columns: 1fr 340px; }
}

/* === Delivery toggle === */

.delivery-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 500px) {
    .delivery-toggle { grid-template-columns: 1fr; }
}

.delivery-option input[type="radio"] {
    display: none;
}

.delivery-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 20px 16px;
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    background: var(--cream);
    cursor: pointer;
    transition: all .15s ease;
}

.delivery-card strong { font-size: 16px; }
.delivery-card span { font-size: 13px; color: var(--ink-soft); }

.delivery-option input[type="radio"]:checked + .delivery-card {
    background: var(--sun);
    box-shadow: 4px 4px 0 var(--ink);
    transform: translate(-2px, -2px);
}

.delivery-option:hover .delivery-card {
    background: var(--cream-deep);
}

/* === Inquiry Summary === */

.inquiry-summary {
    position: sticky;
    top: 100px;
    background: var(--cream);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 4px 4px 0 var(--ink);
    align-self: start;
}

.inquiry-summary h3 {
    font-family: 'Fraunces', serif;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-size: 22px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ink);
}

.summary-items {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-items li {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(26,26,46,0.15);
}

.summary-items li:last-child {
    border-bottom: none;
}

.summary-item-img {
    width: 50px;
    height: 40px;
    background: var(--cream-deep);
    border-radius: 6px;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.summary-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-item-img span { font-size: 24px; }

.summary-item-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-item-body strong {
    font-size: 14px;
    line-height: 1.3;
}

.summary-item-body span {
    font-size: 12px;
    color: var(--ink-soft);
}

.summary-item-price {
    font-weight: 700;
    font-size: 14px;
}

/* ============ THANKS PAGE ============ */

.thanks-card {
    background: var(--sun);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    box-shadow: 4px 4px 0 var(--ink);
}

.thanks-summary {
    background: var(--cream);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: left;
    margin: 24px auto;
    max-width: 600px;
}

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

@media (min-width: 600px) {
    .thanks-grid { grid-template-columns: 1fr 1fr; }
}

.thanks-grid > div {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(26,26,46,0.15);
}

.thanks-grid strong {
    display: block;
    font-size: 12px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.thanks-grid span {
    font-weight: 600;
}
/* ============ PRODUCT GALLERY ============ */

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-main {
    aspect-ratio: 4/3;
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream-deep);
}

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

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 8px;
}

.gallery-thumb {
    aspect-ratio: 4/3;
    padding: 0;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream-deep);
    cursor: pointer;
    transition: all .15s ease;
    opacity: 0.4;
    filter: grayscale(60%);
    position: relative;
}

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

.gallery-thumb:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

.gallery-thumb.active {
    opacity: 1;
    filter: grayscale(0%);
    border-color: var(--tomato);
    border-width: 3px;
    box-shadow: 0 0 0 2px var(--cream), 0 0 0 5px var(--tomato);
    transform: translateY(-2px);
}

.gallery-thumb.active::after {
    content: "✓";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: var(--tomato);
    color: var(--cream);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
