@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

/* =========================
   VARIABLES & BASE
========================= */

:root {
  --ink:#28221f;
  --muted:#81736b;
  --cream:#fff8f3;
  --peach:#f3c6ad;
  --coral:#b85e43;
  --line:#eaded5;
}

* { box-sizing:border-box; }

html {
  scroll-behavior:smooth;
  max-width:100%;
  overflow-x:hidden;
}

body {
  margin:0;
  max-width:100%;
  overflow-x:hidden;
  background:#fffdfb;
  color:var(--ink);
  font-family:'DM Sans',sans-serif;
}

img { max-width:100%; }

[hidden] { display:none !important; }

h1,h2 {
  font-family:'Playfair Display',serif;
  font-weight:600;
}

/* =========================
   HEADER & NAVIGATION
========================= */

.top {
  min-height:82px;
  padding:0 7%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-bottom:1px solid var(--line);
  background:#fffdfb;
  position:sticky;
  top:0;
  z-index:100;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--ink);
  font-family:'Playfair Display',serif;
  font-size:22px;
  flex-shrink:0;
}

.brand img {
  width:52px;
  height:52px;
  object-fit:contain;
}

.brand small {
  display:block;
  font:9px 'DM Sans',sans-serif;
  letter-spacing:3px;
  color:var(--muted);
}

nav {
  display:flex;
  align-items:center;
  gap:32px;
}

nav a {
  color:var(--ink);
  text-decoration:none;
  font-size:13px;
}

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

.top-actions {
  display:flex;
  align-items:center;
  gap:10px;
}

.account-button {
  border:1px solid var(--line);
  background:#fffdfb;
  color:var(--ink);
  border-radius:30px;
  padding:12px 17px;
  font-weight:700;
  cursor:pointer;
}

/* Cart button: black */

.cart-button {
  border:0;
  background:#000;
  color:white;
  border-radius:30px;
  padding:13px 19px;
  font-weight:700;
  cursor:pointer;
}

.cart-button span {
  background:white;
  color:#000;
  border-radius:20px;
  padding:3px 7px;
  margin-left:8px;
}

/* Add to Cart: coral */

.add {
  width:100%;
  margin-top:12px;
  border:0;
  border-radius:9px;
  background:var(--coral);
  color:white;
  padding:13px 19px;
  font-weight:700;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
}

/* =========================
   BUTTONS & TEXT
========================= */

.primary {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:15px 22px;
  border:0;
  border-radius:30px;
  background:#000;
  color:white;
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
}

.eyebrow {
  font-size:10px;
  letter-spacing:2.5px;
  font-weight:800;
  color:var(--coral);
}

.sub {
  max-width:430px;
  color:var(--muted);
  line-height:1.8;
  font-size:14px;
  margin-bottom:28px;
}

.muted {
  font-size:13px;
  color:var(--muted);
  max-width:300px;
  line-height:1.7;
}

/* =========================
   HOMEPAGE HERO
========================= */

.hero {
  padding:85px 10%;
  min-height:480px;
  background:var(--cream);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.hero>div:first-child { max-width:620px; }

.hero h1 {
  font-size:clamp(42px,6vw,70px);
  line-height:1.07;
  margin:16px 0;
}

.hero h1 em { color:var(--coral); }

.hero-art {
  width:290px;
  height:290px;
  border-radius:50%;
  background:#f0d8c8;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  flex-shrink:0;
}

.hero-circle {
  width:205px;
  height:205px;
  border-radius:50%;
  background:#fff8f3;
  display:grid;
  place-items:center;
  font-size:115px;
  color:#d69b7e;
}

.hero-stamp {
  position:absolute;
  z-index:1;
  top:8px;
  right:-5px;
  background:var(--coral);
  color:white;
  border-radius:50%;
  width:83px;
  height:83px;
  display:grid;
  place-content:center;
  text-align:center;
  font-size:12px;
  line-height:1.25;
  font-weight:800;
  transform:rotate(12deg);
}

.hero-art>p {
  position:absolute;
  bottom:17px;
  left:-20px;
  font-size:9px;
  letter-spacing:2px;
  font-weight:800;
  line-height:1.6;
}

/* =========================
   MENU & CATALOG
========================= */

.home-page .menu-section { display:none; }

.menu-page .hero { display:none; }

.menu-page .menu-section { padding-top:65px; }

.menu-page .top nav,
.home-page .top nav { flex-wrap:wrap; }

.menu-section {
  width:100%;
  padding:75px 8% 90px;
}

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

.section-head h2,
.pickup h2 {
  font-size:38px;
  margin:8px 0;
}

.catalog {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));
  gap:24px;
}

.empty {
  grid-column:1/-1;
  text-align:center;
  padding:65px 20px;
  border:1px dashed var(--line);
  border-radius:18px;
  color:var(--muted);
}

.empty>div {
  font-size:36px;
  color:var(--coral);
}

.empty h3 {
  color:var(--ink);
  font-family:'Playfair Display',serif;
  font-size:23px;
  margin:10px;
}

.empty p { font-size:13px; }

.cake-card {
  min-width:0;
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background:white;
  animation:bakeryRise .65s cubic-bezier(.2,.7,.2,1) both;
  transition:transform .3s ease,box-shadow .3s ease;
}

.cake-card:nth-child(2) { animation-delay:.08s; }
.cake-card:nth-child(3) { animation-delay:.16s; }
.cake-card:nth-child(4) { animation-delay:.24s; }
.cake-card:nth-child(5) { animation-delay:.32s; }
.cake-card:nth-child(6) { animation-delay:.40s; }

.cake-card:hover {
  transform:translateY(-7px);
  box-shadow:0 15px 35px rgba(65,40,25,.12);
}

.cake-photo {
  width:100%;
  aspect-ratio:1/1;
  height:auto !important;
  background:var(--cream);
  border-radius:11px;
  overflow:hidden;
  display:grid;
  place-items:center;
  color:var(--coral);
  font-size:55px;
}

.cake-photo img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain !important;
  cursor:zoom-in;
  transition:transform .55s cubic-bezier(.2,.7,.2,1);
}

.cake-card:hover .cake-photo img { transform:scale(1.055); }

.cake-info {
  display:flex;
  align-items:start;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  margin:15px 3px 4px;
}

.cake-info h3 {
  font-family:'Playfair Display',serif;
  margin:0;
  font-size:20px;
}

.cake-info p,
.cake-desc {
  font-size:12px;
  color:var(--muted);
  margin:5px 3px;
}

.cake-info>b {
  color:var(--coral);
  white-space:nowrap;
}

.cake-desc {
  line-height:1.6;
  min-height:20px;
}

/* =========================
   CATALOG TABS & BADGES
========================= */

.catalog-tabs {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin:18px 0 22px;
}

.catalog-tab {
  border:1px solid #eadfd8;
  background:#fff;
  color:#6e5b51;
  border-radius:30px;
  padding:11px 19px;
  font:700 12px 'DM Sans',sans-serif;
  cursor:pointer;
  transition:.2s;
}

.catalog-tab.active {
  background:#292320;
  color:#fff;
  border-color:#292320;
}

.festive-badge,
.stock-badge {
  display:inline-block;
  margin:7px 5px 0 0;
  padding:5px 9px;
  border-radius:20px;
  font-size:10px;
  font-weight:800;
}

.festive-badge {
  background:#fff1d9;
  color:#87551b;
}

.stock-badge {
  background:#fff0ed;
  color:#a33;
}

.unavailable-note {
  font-size:12px;
  color:#a33;
  font-weight:700;
  margin:12px 0 0;
}

/* =========================
   PICKUP SECTION
========================= */

.pickup {
  width:100%;
  padding:65px 10%;
  background:#f7eee8;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
}

.pickup>div:first-child { max-width:470px; }

.pickup p {
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
}

.address {
  background:white;
  border-radius:14px;
  padding:25px 30px;
  min-width:260px;
}

.address span {
  font-size:9px;
  letter-spacing:2px;
  color:var(--coral);
  font-weight:800;
}

.address b {
  display:block;
  font-family:'Playfair Display',serif;
  font-size:21px;
  margin-top:12px;
}

.address p { margin-bottom:0; }

/* =========================
   FOOTER
========================= */

footer {
  padding:25px 8%;
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:11px;
  color:var(--muted);
}

footer b { color:var(--ink); }

/* =========================
   CART DRAWER
========================= */

.drawer-backdrop {
  position:fixed;
  inset:0;
  background:#1d1714a8;
  z-index:1000;
  display:flex;
  justify-content:flex-end;
}

.drawer-backdrop[hidden] { display:none; }

.drawer {
  width:min(480px,100%);
  height:100%;
  max-width:100%;
  min-width:0;
  overflow:auto;
  background:#fffdfb;
  padding:28px;
}

.drawer-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.drawer-head h2 {
  font-size:32px;
  margin:4px 0 20px;
}

.close,
.remove {
  border:0;
  background:transparent;
  font-size:28px;
  cursor:pointer;
  color:var(--ink);
}

.cart-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line);
  padding:13px 0;
}

.cart-row small {
  display:block;
  color:var(--muted);
  margin-top:5px;
}

.remove { font-size:24px; }

.small-empty { padding:25px 5px; }

.checkout { margin-top:20px; }

.total-line {
  display:flex;
  justify-content:space-between;
  padding:15px 0;
  border-top:1px solid var(--line);
  font-size:17px;
}

/* =========================
   FORMS
========================= */

form label {
  display:block;
  font-size:12px;
  font-weight:700;
  margin:14px 0;
}

input,
textarea {
  display:block;
  width:100%;
  margin-top:7px;
  padding:13px;
  border:1px solid var(--line);
  border-radius:8px;
  background:white;
  font:13px 'DM Sans',sans-serif;
  color:var(--ink);
}

input:focus,
textarea:focus {
  outline:2px solid #d9a38d;
  border-color:transparent;
}

.hint,
.form-note {
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
}

.full {
  width:100%;
  margin-top:15px;
}

.full:disabled { opacity:.6; }

.message {
  font-size:12px;
  color:#a33;
}

.form-note { text-align:center; }

.order-for {
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 13px;
  margin:15px 0;
}

.order-for legend {
  font-size:12px;
  font-weight:700;
  padding:0 5px;
}

.order-for label {
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:6px 14px 3px 0;
}

.order-for input {
  width:auto;
  margin:0;
  accent-color:var(--coral);
}

#recipientFields[hidden] { display:none; }

/* =========================
   ACCOUNT MODAL & PROFILE
========================= */

.account-backdrop {
  position:fixed;
  inset:0;
  z-index:1100;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:18px;
  background:rgba(29,23,20,.68);
}

.account-card {
  position:relative;
  background:#fffdfb;
  border-radius:18px;
  padding:30px;
  width:min(440px,100%);
  max-height:90vh;
  overflow:auto;
  box-shadow:0 20px 70px #1d171455;
  animation:bakeryPop .3s cubic-bezier(.2,.8,.2,1) both;
}

.account-card>.close {
  position:absolute;
  right:18px;
  top:12px;
}

.account-card h2 {
  font:600 32px 'Playfair Display',serif;
  margin:8px 0;
}

.account-copy {
  font-size:13px;
  line-height:1.6;
  color:var(--muted);
}

.account-card .hint {
  display:block;
  margin-top:14px;
}

.text-button {
  display:block;
  margin:14px auto 0;
  border:0;
  background:transparent;
  color:var(--coral);
  font-weight:700;
  cursor:pointer;
}

.signed-in-note {
  padding:12px;
  background:#f7eee8;
  border-radius:9px;
  font-size:12px;
  color:#6e5548;
}

.account-profile {
  margin:20px 0;
  padding:18px;
  background:#fff8f3;
  border:1px solid var(--line);
  border-radius:15px;
}

.profile-avatar {
  width:55px;
  height:55px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f3e0d5;
  color:var(--coral);
  font-size:30px;
  margin-bottom:18px;
}

.profile-row {
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  min-width:0;
}

.profile-row span {
  color:var(--muted);
  font-size:11px;
}

.profile-row b {
  font-size:14px;
  overflow-wrap:anywhere;
}

.logout-button {
  width:100%;
  margin-top:18px;
  padding:13px;
  border:1px solid var(--coral);
  border-radius:9px;
  background:white;
  color:#a34e36;
  font-weight:700;
  cursor:pointer;
}

/* Google sign-in */

.google-login {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  background:#fff !important;
  color:#333 !important;
  border:1px solid #ddd !important;
}

.google-login>span {
  font-size:21px;
  font-weight:800;
  color:#4285f4;
}

.login-divider {
  display:flex;
  align-items:center;
  gap:12px;
  margin:20px 0;
  color:#999;
  font-size:10px;
  letter-spacing:1.2px;
}

.login-divider::before,
.login-divider::after {
  content:"";
  flex:1;
  height:1px;
  background:#e8e0d9;
}

/* =========================
   CAKE DETAILS MODAL
========================= */

.cake-modal {
  position:relative;
  width:min(560px,100%);
  max-height:90vh;
  margin:auto;
  padding:24px;
  overflow:auto;
  background:#fff;
  border-radius:20px;
}

.cake-modal .close { float:right; }

.cake-modal h3 {
  font-family:'Playfair Display',serif;
  font-size:25px;
  margin:14px 0 5px;
}

.cake-modal img {
  display:block;
  width:100%;
  height:260px;
  max-height:none;
  object-fit:contain;
  object-position:center;
  background:#fff8f3;
  border-radius:13px;
}

.cake-modal .add { width:100%; }

.weight-options {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:16px 0;
}

.weight-option {
  border:1px solid #eadfd8;
  border-radius:9px;
  padding:11px 6px;
  background:#fff;
  color:#292320;
  font-weight:700;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}

.weight-option.active {
  border-color:var(--coral);
  background:#fff3ed;
  color:#9d482e;
}

.weight-option:hover { transform:translateY(-2px); }

.custom-weight {
  display:none;
  margin:12px 0;
}

.custom-weight.show { display:block; }

.custom-weight input {
  width:100%;
  padding:12px;
  border:1px solid #eadfd8;
  border-radius:8px;
}

.selected-price {
  font-size:18px;
  font-weight:800;
  margin:12px 0;
  color:var(--coral);
}

.cake-modal .weight-help {
  font-size:12px;
  color:#8a7d75;
}

.call-button {
  margin-top:12px;
  font-size:13px;
  padding:12px 16px;
}

/* Cake modal overlay */

#cakeModal {
  justify-content:center;
  align-items:center;
  padding:20px;
}

/* =========================
   CAKE PHOTO SLIDER
========================= */

.cake-slider {
  position:relative;
  isolation:isolate;
}

.cake-slider .cake-slide-image {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain !important;
  cursor:zoom-in;
}

.cake-slide-arrow {
  position:absolute;
  z-index:2;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #ffffffaa;
  border-radius:50%;
  background:#28221fbb;
  color:white;
  font-size:25px;
  line-height:1;
  cursor:pointer;
  padding:0;
}

.cake-slide-arrow:hover { background:var(--coral); }

.cake-slide-prev { left:9px; }
.cake-slide-next { right:9px; }

.cake-slider-count {
  position:absolute;
  z-index:2;
  top:10px;
  right:10px;
  padding:5px 9px;
  border-radius:20px;
  background:#28221fbb;
  color:white;
  font:600 10px 'DM Sans',sans-serif;
}

.cake-slider-dots {
  position:absolute;
  z-index:2;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 9px;
  border-radius:20px;
  background:#28221f88;
}

.cake-slider-dots button {
  width:7px;
  height:7px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#ffffff99;
  cursor:pointer;
  transition:width .2s,background .2s;
}

.cake-slider-dots button.active {
  width:19px;
  border-radius:8px;
  background:white;
}

.cake-modal .cake-photo {
  width:100%;
  height:240px !important;
  aspect-ratio:auto;
  margin:12px 0;
  border-radius:12px;
}

.cake-modal .cake-photo img {
  max-height:none;
  border-radius:12px;
}

/* Square slider in cake details popup */

.cake-modal-slider,
#cakeModalContent .cake-modal-slider {
  display:block !important;
  position:relative !important;
  width:min(100%,360px) !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:1/1 !important;
  margin:12px auto !important;
  overflow:hidden !important;
}

.cake-modal-slider .cake-slide-image,
#cakeModalContent .cake-modal-slider .cake-slide-image {
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}

/* =========================
   FULL-SCREEN IMAGE VIEWER
========================= */

.image-viewer {
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(20,15,12,.94);
  animation:bakeryFade .2s ease both;
}

.image-viewer img {
  display:block;
  max-width:94vw;
  max-height:88vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:14px;
  animation:bakeryPop .25s ease both;
}

#imageViewerClose {
  position:absolute;
  top:18px;
  right:22px;
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:50%;
  color:white;
  background:rgba(255,255,255,.12);
  font-size:30px;
  cursor:pointer;
  transition:background .2s ease,transform .2s ease;
}

#imageViewerClose:hover {
  background:rgba(255,255,255,.25);
  transform:rotate(90deg);
}

/* =========================
   CUSTOMER ORDER TRACKER
========================= */

.customer-orders {
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid var(--line);
}

.customer-orders-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:15px;
}

.customer-orders-head h3 {
  font-size:21px;
  margin:0;
}

.customer-orders-head p {
  font-size:12px;
  color:var(--muted);
  margin:5px 0 0;
}

#refreshMyOrders {
  width:38px;
  height:38px;
  border:1px solid var(--line);
  border-radius:50%;
  background:white;
  color:var(--coral);
  font-size:22px;
  cursor:pointer;
}

#refreshMyOrders:active { transform:rotate(90deg); }

.orders-loading {
  font-size:13px;
  color:var(--muted);
  padding:12px 0;
}

.orders-empty {
  text-align:center;
  padding:22px 10px;
  color:var(--muted);
}

.orders-empty>span {
  display:block;
  font-size:30px;
  color:var(--coral);
}

.orders-empty b {
  display:block;
  color:var(--ink);
  margin:8px;
}

.orders-empty p { font-size:12px; }

.customer-order-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:15px;
  margin:12px 0;
  animation:orderCardIn .35s ease both;
}

.customer-order-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}

.customer-order-top>div {
  display:grid;
  gap:4px;
}

.customer-order-top small {
  font-size:10px;
  letter-spacing:1px;
  color:var(--muted);
}

.customer-order-top b { font-size:12px; }

.customer-status {
  font-size:11px;
  font-weight:700;
  background:#f8eee8;
  color:var(--coral);
  padding:7px 10px;
  border-radius:20px;
}

.customer-order-items { margin:13px 0; }

.customer-order-item {
  font-size:12px;
  margin:5px 0;
  color:var(--muted);
}

.customer-order-item b { color:var(--ink); }

.customer-order-info {
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:12px;
  padding:7px 0;
  border-top:1px solid #f1eae5;
}

.customer-order-info span { color:var(--muted); }
.customer-order-info b { text-align:right; }

.order-timeline {
  display:flex;
  justify-content:space-between;
  gap:3px;
  margin:20px 0 5px;
}

.order-step {
  flex:1;
  min-width:0;
  text-align:center;
  position:relative;
}

.order-step:before {
  content:"";
  position:absolute;
  height:3px;
  background:#eadfd8;
  left:-50%;
  right:50%;
  top:9px;
  z-index:0;
}

.order-step:first-child:before { display:none; }

.order-step-dot {
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  margin:auto;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#eadfd8;
  color:white;
  font-size:11px;
  font-weight:800;
}

.order-step.done .order-step-dot,
.order-step.current .order-step-dot {
  background:var(--coral);
}

.order-step.done:before,
.order-step.current:before {
  background:var(--coral);
}

.order-step.current .order-step-dot {
  box-shadow:0 0 0 4px #f8e5dc;
  animation:orderPulse 1.8s infinite;
}

.order-step small {
  display:block;
  font-size:8px;
  line-height:1.25;
  margin-top:7px;
  color:var(--muted);
  overflow-wrap:anywhere;
}

.order-step.done small,
.order-step.current small {
  color:var(--ink);
  font-weight:700;
}

.order-cancelled {
  margin-top:16px;
  padding:10px;
  background:#fff0ed;
  color:#a33b30;
  border-radius:9px;
  font-size:12px;
}

/* =========================
   CLASSES PAGE
========================= */

.learn-main {
  max-width:1180px;
  margin:auto;
  padding:35px 24px 70px;
}

.learn-hero {
  min-height:440px;
  padding:75px 8%;
  border-radius:28px;
  background:linear-gradient(135deg,#fff0e6,#fff9f4 55%,#f8e2d8);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}

.learn-hero h1 {
  max-width:760px;
  font-size:clamp(2.5rem,6vw,5rem);
  line-height:1.08;
  margin:12px 0;
}

.learn-hero h1 em { color:#bd765c; }

.learn-hero .sub {
  max-width:590px;
  line-height:1.8;
}

.learn-coming {
  margin-top:25px;
  font-size:.75rem;
  letter-spacing:2px;
  font-weight:700;
  color:#a36d58;
}

.learn-info {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:35px;
  align-items:center;
  padding:75px 3%;
}

.learn-info h2,
.learn-register h2 {
  font-size:clamp(2rem,4vw,3rem);
  margin:10px 0;
}

.learn-info p,
.learn-register p { line-height:1.8; }

.learn-venue {
  padding:32px;
  background:#fff8f3;
  border:1px solid #f0ded3;
  border-radius:22px;
}

.learn-venue>span {
  font-size:.75rem;
  letter-spacing:1.5px;
  color:#a36d58;
  font-weight:700;
}

.learn-venue h3 {
  font-size:1.5rem;
  margin-bottom:8px;
}

.learn-register {
  text-align:center;
  padding:55px 20px;
  border-radius:25px;
  background:#fff0e6;
}

.learn-register .primary {
  display:inline-flex;
  margin-top:15px;
}

.learn-nav-call { text-decoration:none; }

/* =========================
   ANIMATIONS
========================= */

@keyframes bakeryRise {
  from {
    opacity:0;
    transform:translateY(22px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes bakeryFade {
  from { opacity:0; }
  to { opacity:1; }
}

@keyframes bakeryPop {
  from {
    opacity:0;
    transform:scale(.94) translateY(12px);
  }
  to {
    opacity:1;
    transform:scale(1) translateY(0);
  }
}

@keyframes orderCardIn {
  from {
    opacity:0;
    transform:translateY(9px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes orderPulse {
  50% { box-shadow:0 0 0 7px #f8e5dc; }
}

.add,
.primary {
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,opacity .2s ease;
}

.add:hover,
.primary:hover {
  transform:translateY(-2px);
  box-shadow:0 7px 18px rgba(65,40,25,.14);
}

.add:active,
.primary:active { transform:scale(.97); }

.drawer-backdrop:not([hidden]) {
  animation:bakeryFade .22s ease both;
}

#cakeModalContent>img {
  cursor:zoom-in;
  transition:transform .3s ease;
}

#cakeModalContent>img:hover { transform:scale(1.015); }

/* =========================
   MENU BUTTON COLOUR FIX
========================= */

/* Main action buttons in the menu and cart drawer */

.menu-page .primary,
.menu-page .view-button,
.menu-page .view,
.menu-page .place-order,
.menu-page .checkout button,
.menu-page .checkout .full,
.menu-page .cart-button,
.menu-page a.primary {
  background:#000 !important;
  color:#fff !important;
  border-color:#000 !important;
}

/* Keep every Add to Cart button coral */

.menu-page .add,
.menu-page .cake-modal .add {
  background:var(--coral) !important;
  color:#fff !important;
  border-color:var(--coral) !important;
}

/* Preserve category and weight selector colours */

.menu-page .catalog-tab,
.menu-page .weight-option {
  background:#fff;
  color:#292320;
}

.menu-page .catalog-tab.active {
  background:#292320;
  color:#fff;
}

/* =========================
   RESPONSIVE: LARGE SCREENS
========================= */

@media(min-width:1200px) {
  .top {
    padding-left:max(7%,calc((100vw - 1320px)/2));
    padding-right:max(7%,calc((100vw - 1320px)/2));
  }

  .hero {
    padding-left:max(10%,calc((100vw - 1180px)/2));
    padding-right:max(10%,calc((100vw - 1180px)/2));
  }

  .menu-section {
    padding-left:max(8%,calc((100vw - 1260px)/2));
    padding-right:max(8%,calc((100vw - 1260px)/2));
  }

  .catalog { grid-template-columns:repeat(4,minmax(0,1fr)); }
}

/* =========================
   RESPONSIVE: TABLETS
========================= */

@media(max-width:900px) {
  .top { padding:0 4%; }

  .hero { padding:65px 6%; }

  .pickup { padding:55px 6%; }

  .menu-section { padding:60px 5%; }

  .hero-art {
    width:230px;
    height:230px;
  }

  .hero-circle {
    width:165px;
    height:165px;
    font-size:90px;
  }
}

/* =========================
   RESPONSIVE: MOBILE
========================= */

@media(max-width:700px) {
  .top {
    height:auto;
    min-height:68px;
    padding:8px 4%;
    gap:8px;
    flex-wrap:wrap;
  }

  .brand {
    font-size:16px;
    gap:6px;
  }

  .brand img {
    width:38px;
    height:38px;
  }

  .brand small {
    font-size:7px;
    letter-spacing:2px;
  }

  .top-actions { gap:6px; }

  .account-button,
  .cart-button {
    padding:10px 11px;
    font-size:11px;
  }

  .top nav {
    display:flex;
    order:3;
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    padding:8px 0;
  }

  .top nav a { font-size:12px; }

  .hero {
    padding:45px 6%;
    gap:12px;
  }

  .hero>div:first-child { min-width:0; }

  .hero-art {
    width:120px;
    height:120px;
  }

  .hero-circle {
    width:82px;
    height:82px;
    font-size:44px;
  }

  .hero-stamp {
    width:48px;
    height:48px;
    font-size:7px;
  }

  .hero-art>p { display:none; }

  .section-head { display:block; }

  .muted { margin-top:8px; }

  .catalog {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .cake-photo {
    height:auto !important;
    aspect-ratio:1/1;
  }

  .cake-card { padding:9px; }

  .cake-info h3 { font-size:16px; }

  .cake-info>b { font-size:12px; }

  .cake-desc { font-size:11px; }

  .pickup { padding:42px 6%; }

  .address { min-width:0; }

  .drawer { padding:20px 16px; }

  .account-card { padding:25px 20px; }

  .order-for label { display:flex; }

  .weight-options { gap:6px; }

  .weight-option {
    font-size:12px;
    padding:10px 4px;
  }

  .cake-slide-arrow {
    width:30px;
    height:30px;
  }

  .learn-main { padding:20px 15px 45px; }

  .learn-hero {
    min-height:390px;
    padding:40px 25px;
  }

  .learn-info {
    grid-template-columns:1fr;
    padding:45px 5px;
  }

  .learn-venue { padding:24px; }

  .learn-register { padding:45px 18px; }

  .learn-info h2,
  .learn-register h2 { font-size:2rem; }

  .customer-order-card { padding:12px; }

  .order-step small { font-size:7px; }

  body.learn-page .drawer { padding:22px 17px; }

  body.learn-page .modal { padding:12px; }
}

/* =========================
   RESPONSIVE: SMALL PHONES
========================= */

@media(max-width:420px) {
  .brand { flex:1; }

  .top-actions { margin-left:auto; }

  .hero-art { display:none; }

  .hero { padding:38px 7%; }

  .catalog { grid-template-columns:repeat(2,minmax(0,1fr)); }

  .cake-info { display:block; }

  .cake-info>b {
    display:block;
    margin:7px 3px;
  }

  .section-head h2,
  .pickup h2 { font-size:28px; }

  .account-button,
  .cart-button { padding:9px; }

  .drawer-head h2 { font-size:27px; }
}

/* =========================
   ACCESSIBILITY & REDUCED MOTION
========================= */

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

  .customer-order-card,
  .order-step.current .order-step-dot {
    animation:none;
  }

  .cake-slide-arrow,
  .cake-slider-dots button {
    transition:none;
  }
}
/* FORCE VIEW BUTTONS BLACK */
.menu-page button:not(.add):not(.catalog-tab):not(.weight-option):not(.cake-slide-arrow):not(.close):not(.remove):not(.cake-slider-dots button),
.menu-page a.primary {
  background:#000 !important;
  color:#fff !important;
  border-color:#000 !important;
}

/* ADD TO CART STAYS CORAL */
.menu-page .add {
  background:#b85e43 !important;
  color:#fff !important;
  border-color:#b85e43 !important;
}
