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

:root {
  --brand-pink: #D81B60;
  --brand-pink-dark: #AD1457;
  --brand-pink-hot: #FF1493;
  --brand-blush: #FCE4EC;
  --brand-blush-deep: #F8BBD9;
  --brand-cream: #FDFBF7;
  --brand-white: #FFFFFF;
  --brand-brown: #3E2723;
  --brand-brown-soft: #5D4037;
  --brand-caramel: #C0843D;
  --shadow-soft: 0 8px 32px rgba(216, 27, 96, 0.12);
  --shadow-card: 0 4px 20px rgba(62, 39, 35, 0.08);
  --radius-lg: 1.25rem;
  --radius-pill: 50rem;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--brand-brown);
  background: linear-gradient(180deg, var(--brand-blush) 0%, var(--brand-cream) 35%, var(--brand-cream) 100%);
  overflow-x: clip;
}

img {
  max-width: 100%;
}

main {
  flex: 1;
}

h1, h2, h3, .brand-script {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--brand-pink);
}

.brand-script {
  font-style: italic;
  font-size: 1.35rem;
  color: var(--brand-pink-dark);
}

/* Navbar */
.navbar-brand-cookie {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-white) !important;
  letter-spacing: 0.02em;
}

.navbar-brand-cookie small {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: -2px;
}

.bg-cookie {
  background: linear-gradient(135deg, var(--brand-pink) 0%, var(--brand-pink-hot) 100%) !important;
  box-shadow: 0 4px 20px rgba(216, 27, 96, 0.25);
}

.bg-cookie-dark {
  background: linear-gradient(135deg, var(--brand-pink-dark) 0%, var(--brand-brown) 100%) !important;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600;
}

.navbar .nav-link:hover {
  color: #fff !important;
}

.btn-cart-nav {
  background: var(--brand-white) !important;
  color: var(--brand-pink) !important;
  font-weight: 700;
  border: none;
}

.btn-cart-nav:hover {
  background: var(--brand-blush) !important;
  color: var(--brand-pink-dark) !important;
}

.btn-cart-nav--compact {
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem !important;
  min-height: 40px;
  position: relative;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--brand-pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.cart-badge--dark {
  background: var(--brand-pink-dark);
}

.badge.bg-cookie-dark {
  background-color: var(--brand-pink-dark) !important;
}

/* Buttons */
.btn-cookie {
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-hot));
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.35rem;
  box-shadow: 0 4px 14px rgba(216, 27, 96, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cookie:hover,
.btn-cookie:focus {
  background: linear-gradient(135deg, var(--brand-pink-dark), var(--brand-pink));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 27, 96, 0.45);
}

.btn-outline-cookie {
  border: 2px solid var(--brand-pink);
  color: var(--brand-pink);
  font-weight: 700;
  border-radius: var(--radius-pill);
}

.btn-outline-cookie:hover {
  background: var(--brand-pink);
  color: #fff;
}

.btn-cookie:disabled,
.btn-cookie.disabled {
  opacity: 0.45;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

/* Hero */
.hero-split {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 2rem;
  min-height: 420px;
  background: var(--brand-blush);
}

.hero-split__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-split__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(253, 251, 247, 0.97) 0%,
    rgba(252, 228, 236, 0.88) 42%,
    rgba(216, 27, 96, 0.15) 100%
  );
}

.hero-split__content {
  position: relative;
  z-index: 2;
  padding: 3rem 0 3.5rem;
}

.hero-split h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero-split .lead {
  color: var(--brand-brown-soft);
  font-size: 1.05rem;
  max-width: 32rem;
}

.hero-heart {
  color: var(--brand-pink-hot);
  font-size: 1.25rem;
}

/* Brand story */
.brand-story {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.brand-story__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
}

.brand-story__body {
  padding: 2rem;
}

.menu-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
}

.menu-banner img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
}

/* Events / catering */
.events-section__inner {
  padding: 2.25rem 1.5rem;
  background: linear-gradient(160deg, var(--brand-white) 0%, var(--brand-blush) 100%);
  border: 1px solid var(--brand-blush-deep);
}

.events-section__lead {
  max-width: 40rem;
  line-height: 1.65;
  font-size: 1.02rem;
}

.events-tag {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: var(--brand-white);
  border: 1px solid var(--brand-blush-deep);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-brown-soft);
  box-shadow: var(--shadow-card);
}

@media (max-width: 575.98px) {
  .events-section__inner {
    padding: 1.5rem 1rem;
  }

  .events-section h2 {
    font-size: 1.65rem;
  }

  .events-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }
}

/* Feature cards */
.feature-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-blush-deep);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.feature-card h5 {
  color: var(--brand-pink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
}

.feature-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(216, 27, 96, 0.2));
}

/* Product cards */
.product-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--brand-blush-deep) !important;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft) !important;
}

.product-card .card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brand-pink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card .card-title::before {
  content: '♥ ';
  font-size: 0.85em;
  color: var(--brand-pink-hot);
}

.product-img-wrap {
  background: var(--brand-cream);
  padding: 0.75rem;
  border-bottom: 3px solid var(--brand-blush-deep);
}

.product-img,
.product-detail-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius-lg) - 0.5rem);
}

.product-detail-img {
  height: 380px;
  object-fit: contain;
  background: var(--brand-cream);
}

.img-placeholder {
  background: linear-gradient(145deg, var(--brand-blush), var(--brand-blush-deep));
  color: var(--brand-pink);
  font-size: 3rem;
  min-height: 220px;
  border-radius: calc(var(--radius-lg) - 0.5rem);
}

.price-tag {
  color: var(--brand-pink);
  font-weight: 800;
  font-size: 1.1rem;
}

.text-brand-pink {
  color: var(--brand-pink);
}

/* Page headers */
.page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-header h1 {
  margin-bottom: 0.25rem;
}

.page-header .subtitle {
  color: var(--brand-brown-soft);
  font-size: 1rem;
}

/* Forms & panels */
.panel-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-blush-deep);
  box-shadow: var(--shadow-card);
}

.panel-card .card-body,
.panel-card.panel-body {
  padding: 1.5rem;
}

/* Forms — prevent iOS zoom, larger taps */
.form-control,
.form-select,
.form-control-lg,
textarea.form-control {
  font-size: 16px;
}

.form-control-lg {
  min-height: 48px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 0.2rem rgba(216, 27, 96, 0.2);
}

.choice-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.choice-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--brand-cream);
  border: 1px solid var(--brand-blush-deep);
  border-radius: 0.85rem;
  min-height: 48px;
}

.choice-option .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.choice-option .form-check-label {
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}

/* Box builder — card + pill stepper */
.box-flavor-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1.5px solid var(--brand-blush-deep);
  background: var(--brand-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.box-flavor-card.is-active {
  border-color: var(--brand-pink);
  background: linear-gradient(180deg, #fff 0%, var(--brand-blush) 100%);
  box-shadow: 0 4px 16px rgba(216, 27, 96, 0.12);
}

.box-flavor-card__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.box-flavor-card__img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.85rem;
  flex-shrink: 0;
  background: var(--brand-cream);
}

.box-flavor-card__info {
  min-width: 0;
  flex: 1;
}

.box-flavor-card__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand-pink);
  line-height: 1.2;
}

.box-flavor-card__desc {
  font-size: 0.8rem;
  color: var(--brand-brown-soft);
  margin-top: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qty-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 11.5rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.3rem;
  background: var(--brand-blush);
  border-radius: 999px;
}

.qty-stepper__btn {
  width: 2.6rem;
  height: 2.6rem;
  min-height: 2.6rem;
  border: none;
  border-radius: 50%;
  background: var(--brand-white);
  color: var(--brand-pink);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(62, 39, 35, 0.08);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.qty-stepper__btn--plus {
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-hot));
  color: #fff;
  box-shadow: 0 3px 10px rgba(216, 27, 96, 0.35);
}

.qty-stepper__btn:disabled {
  opacity: 0.35;
  box-shadow: none;
}

.qty-stepper__btn:not(:disabled):active {
  transform: scale(0.94);
}

.qty-stepper__value {
  width: 2.75rem;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-brown);
  padding: 0;
  -moz-appearance: textfield;
}

.qty-stepper__value::-webkit-outer-spin-button,
.qty-stepper__value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.box-progress {
  background: var(--brand-blush-deep);
}

/* Conversion / offers */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.hero-eyebrow {
  font-size: 1.1rem;
}

.hero-trust {
  max-width: 28rem;
}

.order-step {
  background: var(--brand-white);
  border: 1px solid var(--brand-blush-deep);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1rem;
  height: 100%;
  box-shadow: var(--shadow-card);
}

.order-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-hot));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.order-step__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  color: var(--brand-pink);
  margin-bottom: 0.35rem;
}

.order-step__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--brand-brown-soft);
}

.box-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--brand-white);
  border: 1.5px solid var(--brand-blush-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: inherit;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.box-offer:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}

.box-offer--featured {
  border-color: var(--brand-pink);
  background: linear-gradient(165deg, #fff 0%, var(--brand-blush) 100%);
}

.box-offer__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--brand-pink);
  color: #fff;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.box-offer__emoji {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.box-offer__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: var(--brand-pink);
  margin-bottom: 0.25rem;
}

.box-offer__price {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand-pink);
  margin-bottom: 0.25rem;
}

.box-offer__hint {
  font-size: 0.85rem;
  color: var(--brand-brown-soft);
  margin-bottom: 0.5rem;
}

.final-cta {
  background: linear-gradient(160deg, var(--brand-white) 0%, var(--brand-blush) 100%);
}

@media (max-width: 575.98px) {
  .box-flavor-card {
    padding: 0.9rem;
  }

  .box-flavor-card__img {
    width: 64px;
    height: 64px;
  }

  .qty-stepper {
    max-width: none;
    width: 100%;
  }

  .qty-stepper__btn {
    width: 3rem;
    height: 3rem;
    min-height: 3rem;
    font-size: 1.5rem;
  }

  .qty-stepper__value {
    width: 3.25rem;
    font-size: 1.25rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .box-offer {
    padding: 1.35rem 1rem;
  }
}

.product-add-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.product-qty-input {
  width: 4.5rem;
  max-width: 4.5rem;
  flex-shrink: 0;
}

.mobile-action-bar__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0.5rem;
}

.has-mobile-bar--tall {
  padding-bottom: calc(7.5rem + env(safe-area-inset-bottom));
}

.product-detail-title {
  font-size: clamp(1.6rem, 6vw, 2.5rem);
  word-break: break-word;
}

.product-detail-desc {
  font-size: 1.05rem;
}

.form-check-input:checked {
  background-color: var(--brand-pink);
  border-color: var(--brand-pink);
}

.list-group-item {
  border-color: var(--brand-blush-deep);
  background: var(--brand-white);
}

.breadcrumb a {
  color: var(--brand-pink);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--brand-pink-dark);
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--brand-pink-dark), var(--brand-brown));
  color: rgba(255, 255, 255, 0.95);
  padding: 2.5rem 0;
  margin-top: auto;
}

.site-footer .brand-script {
  color: var(--brand-blush);
  font-size: 1.5rem;
}

.site-footer .footer-phone {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.site-footer .footer-phone:hover,
.site-footer .footer-email:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer .footer-email {
  color: inherit;
  text-decoration: none;
  word-break: break-word;
}

/* Admin / login tweaks */
.admin-body {
  background: #FDFBF7;
  min-height: 100vh;
}

.admin-tabs .nav-link {
  border-radius: 999px;
  font-weight: 700;
  color: var(--brand-brown-soft);
  background: var(--brand-white);
  border: 1px solid var(--brand-blush-deep);
  padding: 0.55rem 1.1rem;
}

.admin-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-hot));
  border-color: transparent;
  color: #fff;
}

.admin-status-card {
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  border: 1px solid var(--brand-blush-deep);
  background: var(--brand-white);
  box-shadow: var(--shadow-card);
  height: 100%;
}

.admin-status-card.is-ready {
  border-color: #81c784;
  background: linear-gradient(160deg, #fff 0%, #e8f5e9 100%);
}

.admin-status-card.is-missing {
  border-color: #ffcc80;
  background: linear-gradient(160deg, #fff 0%, #fff8e1 100%);
}

.admin-status-card__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-brown-soft);
}

.admin-status-card__value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--brand-pink);
  line-height: 1.2;
}

.admin-status-card__hint {
  font-size: 0.8rem;
  color: var(--brand-brown-soft);
}

.setup-steps {
  padding-left: 1.15rem;
}

.setup-steps li {
  margin-bottom: 0.35rem;
}

.setup-steps code {
  font-size: 0.78rem;
  word-break: break-all;
}

.login-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--brand-blush) 0%, var(--brand-cream) 50%, var(--brand-blush-deep) 100%);
}

.alert-success {
  background-color: #e8f5e9;
  border-color: #c8e6c9;
  color: #2e7d32;
}

/* Site layout */
.container-site {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

.site-section {
  padding-left: max(0.75rem, env(safe-area-inset-left));
  padding-right: max(0.75rem, env(safe-area-inset-right));
}

/* Touch-friendly controls */
.btn-cookie,
.btn-outline-cookie,
.btn-cart-nav,
.form-control,
.form-select,
.nav-link-mobile {
  min-height: 44px;
}

.btn-cookie.btn-sm {
  min-height: 40px;
}

/* Mobile nav */
.nav-link-mobile {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem !important;
  border-radius: 0.75rem;
  font-size: 1.05rem;
}

.navbar-collapse.show .nav-link-mobile:active,
.navbar-collapse.collapsing .nav-link-mobile:active {
  background: rgba(255, 255, 255, 0.15);
}

/* Sticky mobile action bar (cart / checkout) */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 0.75rem max(1rem, env(safe-area-inset-right)) calc(0.75rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--brand-blush-deep);
  box-shadow: 0 -8px 24px rgba(62, 39, 35, 0.1);
  backdrop-filter: blur(8px);
}

.has-mobile-bar {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

/* Checkout: show summary first on small screens */
.checkout-summary-mobile {
  order: -1;
}

/* Admin tables */
.table-responsive-mobile {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
}

.admin-nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-nav-actions .btn {
  min-height: 40px;
}

/* Reduce motion on touch devices */
@media (hover: none) {
  .product-card:hover,
  .feature-card:hover {
    transform: none;
  }

  .btn-cookie:hover {
    transform: none;
  }
}

/* ——— Tablet & phone: stack hero / brand images correctly ——— */
@media (max-width: 991.98px) {
  .hero-split {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .hero-split__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: min(58vh, 520px);
    object-fit: cover;
    object-position: center center;
    order: 1;
  }

  .hero-split__overlay {
    display: none;
  }

  .hero-split__content {
    order: 2;
    padding: 1.75rem 0 2rem;
    background: linear-gradient(
      180deg,
      rgba(253, 251, 247, 0.98) 0%,
      var(--brand-blush) 100%
    );
  }

  .brand-story {
    display: flex;
    flex-direction: column;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .brand-story > [class*="col-"] {
    width: 100%;
    max-width: 100%;
  }

  .brand-story__img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
  }

  .brand-story__body {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .menu-banner img {
    max-height: none;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
  }

  .checkout-summary-mobile {
    margin-bottom: 0.5rem;
  }

  .panel-card.sticky-lg-top {
    position: static !important;
  }
}

/* ——— Phone ——— */
@media (max-width: 575.98px) {
  .navbar-brand-cookie {
    font-size: 1.1rem;
    max-width: calc(100vw - 10.5rem);
    line-height: 1.2;
  }

  .navbar-brand-cookie .brand-name {
    display: block;
    white-space: normal;
  }

  .navbar-brand-cookie .brand-tagline {
    font-size: 0.55rem;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-top: 2px;
  }

  .hero-split {
    margin-bottom: 1.25rem;
    border-radius: 0 0 1rem 1rem;
  }

  .hero-split__image {
    max-height: min(52vh, 440px);
    aspect-ratio: 4 / 5;
  }

  .hero-split__content {
    padding: 1.5rem 0 2rem;
  }

  .hero-split h1 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    line-height: 1.15;
  }

  .hero-split .lead {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-split .btn-cookie {
    width: 100%;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .brand-story__img {
    aspect-ratio: 4 / 5;
  }

  .brand-story__body {
    padding: 1.25rem;
  }

  .menu-banner {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    border-radius: 1rem;
  }

  .menu-banner img {
    aspect-ratio: 16 / 10;
  }

  .page-header {
    margin-bottom: 1.25rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .page-header .subtitle {
    font-size: 0.95rem;
    padding: 0 0.25rem;
  }

  .product-card .card-title {
    font-size: 1.15rem;
  }

  .product-card .card-body {
    padding: 1rem;
  }

  .product-img,
  .product-detail-img,
  .img-placeholder {
    height: 200px;
    min-height: 200px;
  }

  .product-detail-img {
    height: 260px;
  }

  .product-card .d-flex.justify-content-between {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem;
  }

  .product-card .btn-cookie {
    width: 100%;
  }

  .panel-card.panel-body {
    padding: 1.15rem;
  }

  .site-footer {
    padding: 1.75rem 0 calc(1.75rem + env(safe-area-inset-bottom));
  }

  .site-footer .brand-script {
    font-size: 1.2rem;
  }

  .footer-contact {
    word-break: break-word;
    line-height: 1.6;
  }

  .price-tag.fs-2,
  .price-tag.fs-4,
  .price-tag.fs-3 {
    font-size: 1.5rem !important;
  }

  .breadcrumb {
    font-size: 0.875rem;
    flex-wrap: wrap;
  }

  .cart-item-row {
    flex-wrap: wrap;
  }

  .btn-stack-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .btn-stack-mobile .btn {
    width: 100%;
  }

  .input-group-mobile-full {
    max-width: 100% !important;
    width: 100%;
  }

  .qty-input-mobile {
    width: 100%;
    max-width: 8rem;
  }

  .w-sm-auto {
    width: 100% !important;
  }

  .events-section .btn {
    width: 100%;
  }

  .feature-card {
    padding: 1.25rem !important;
  }

  .admin-topbar {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem;
  }

  .admin-topbar .admin-nav-actions {
    width: 100%;
  }

  .admin-topbar .admin-nav-actions .btn {
    flex: 1 1 auto;
    font-size: 0.8rem;
  }

  .stat-card .card-body {
    padding: 0.85rem;
  }

  .stat-card .fs-3 {
    font-size: 1.35rem !important;
  }

  .lead {
    font-size: 1.05rem;
  }
}

@media (min-width: 576px) {
  .w-sm-auto {
    width: auto !important;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .navbar-brand-cookie {
    font-size: 0.95rem;
    max-width: calc(100vw - 9.5rem);
  }

  .navbar-brand-cookie .brand-tagline {
    display: none;
  }

  .btn-cart-nav--compact {
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem !important;
  }

  .hero-split h1 {
    font-size: 1.5rem;
  }

  .qty-stepper__btn {
    width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
  }
}
