/* ===================== GLOBAL ===================== */
/* Trial set 1: Outfit (display) + Plus Jakarta Sans (UI). Loaded via Google Fonts. */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --primary: #e8ab1f;
  --primary-dark: #c9941a;
  --primary-light: #fef3d9;
  --accent: #ff6b35;
  --dark: #1a1a2e;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  /* Fixed nav height + 2px underlap so heroes never leave a hairline of page bg. */
  --storefront-nav-h: 70px;
  --storefront-nav-underlap: 2px;
  --storefront-hero-pull: calc(-1 * var(--storefront-nav-h) - var(--storefront-nav-underlap));
  /* Product / box / store-info sheets — same footprint everywhere. */
  --sheet-modal-width: 560px;
  --sheet-modal-height: min(70vh, 640px);
}

@media (max-width: 991.98px) {
  :root {
    /* Slightly taller purchase sheets on phone. */
    --sheet-modal-height: min(78vh, 700px);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background: #f5f5f5;
  color: var(--dark);
  padding-top: var(--storefront-nav-h);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3,
.section-title,
.category-section-title,
.checkout-card-title,
.checkout-hero h1,
.profile-hero h1,
.hero-section h1,
.store-hero-overlay h1,
.page-hero h1,
.footer-brand,
.footer-heading,
.navbar-storefront .navbar-brand,
.account-offer-card__code,
.cart-store-name,
.custom-section-title,
.box-section-title {
  font-family: var(--font-display);
  letter-spacing: 0;
}

main {
  flex: 1 0 auto;
}

/* Footer margin set in the main .site-footer rule below */

/* Lock page scroll while cart / purchase sheets are open.
   Avoid position:fixed — restoring it jumps the page to the top then back. */
html.cart-open,
body.cart-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

/* Allow scrolling inside sheets / cart / login while the page is locked. */
html.cart-open .custom-modal,
html.cart-open .box-modal,
html.cart-open .cart-sidebar,
html.cart-open .login-modal,
body.cart-open .custom-modal,
body.cart-open .box-modal,
body.cart-open .cart-sidebar,
body.cart-open .login-modal {
  touch-action: pan-y;
}

html.cart-open .custom-modal-body,
html.cart-open .box-modal-body,
html.cart-open .cart-sidebar-body,
html.cart-open .login-modal-body,
body.cart-open .custom-modal-body,
body.cart-open .box-modal-body,
body.cart-open .cart-sidebar-body,
body.cart-open .login-modal-body {
  touch-action: pan-y;
  overscroll-behavior: contain;
}

/* ===================== NAVBAR ===================== */
/* Keep Bootstrap .fixed-top (position:fixed). Do NOT set position:relative here —
   that was un-pinning the bar and leaving a white gap above it. */
.navbar-storefront {
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  height: var(--storefront-nav-h);
  min-height: var(--storefront-nav-h);
  padding: 0;
  z-index: 1030;
  overflow: visible;
  display: flex;
  align-items: center;
}

.navbar-storefront > .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-storefront .navbar-brand {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-storefront .navbar-brand .brand-icon {
  font-size: 1.8rem;
}

.navbar-storefront .navbar-nav.me-auto {
  gap: 0.35rem;
}

.navbar-storefront .nav-link {
  font-weight: 500;
  color: var(--gray-800) !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.navbar-storefront .nav-link:hover,
.navbar-storefront .nav-link.active {
  background: var(--primary-light);
  color: var(--primary) !important;
}

.navbar-storefront .nav-link.active {
  font-weight: 700;
}

.btn-cart-nav {
  position: relative;
  background: var(--primary) !important;
  color: white !important;
  border-radius: 999px !important;
  padding: 0.45rem 1.15rem !important;
  font-size: 0.85rem !important;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700 !important;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-left: 10px;
  border: none !important;
  box-shadow: 0 8px 18px rgba(232, 171, 31, 0.32);
}

.btn-cart-nav:hover {
  background: color-mix(in srgb, var(--primary) 82%, #000) !important;
  color: #fff !important;
  filter: none !important;
  box-shadow: 0 10px 22px rgba(232, 171, 31, 0.4);
  transform: translateY(-1px);
}

.btn-cart-nav.is-active:not(.is-disabled, :disabled) {
  box-shadow: 0 0 0 3px rgba(232, 171, 31, 0.28), 0 8px 18px rgba(232, 171, 31, 0.32);
}

/* The cart is not usable while the checkout page is open, so the menu button
   is disabled and says why on hover — muted, no yellow glow. */
.btn-cart-nav.is-disabled,
.btn-cart-nav:disabled,
.btn-cart-nav.is-active.is-disabled,
.btn-cart-nav.is-active:disabled {
  background: #eef0f3 !important;
  color: var(--gray-600) !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  cursor: not-allowed;
  opacity: 1;
  pointer-events: none;
}

.btn-cart-nav.is-disabled:hover,
.btn-cart-nav:disabled:hover,
.btn-cart-nav.is-disabled:focus,
.btn-cart-nav:disabled:focus,
.btn-cart-nav.is-active.is-disabled:hover,
.btn-cart-nav.is-active:disabled:hover {
  background: #eef0f3 !important;
  color: var(--gray-600) !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

.btn-cart-nav.is-disabled #cartBadge,
.btn-cart-nav:disabled #cartBadge {
  background: #9aa0a6;
}

@keyframes navbar-panel-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (max-width: 991.98px) {
  .navbar-storefront .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    transition: background-color 0.2s;
  }

  .navbar-storefront .navbar-toggler:hover {
    background: var(--gray-100);
  }

  .navbar-storefront .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-storefront .navbar-toggler:focus-visible {
    box-shadow: 0 0 0 3px var(--primary-light);
  }

  .navbar-storefront .navbar-toggler-icon {
    position: relative;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--dark);
    transition: background-color 0.2s;
  }

  .navbar-storefront .navbar-toggler-icon::before,
  .navbar-storefront .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--dark);
    transition: transform 0.25s ease;
  }

  .navbar-storefront .navbar-toggler-icon::before {
    transform: translateY(-7px);
  }

  .navbar-storefront .navbar-toggler-icon::after {
    transform: translateY(7px);
  }

  .navbar-storefront .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
  }

  .navbar-storefront .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
  }

  .navbar-storefront .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
  }

  /* Bootstrap animates the height on .collapsing; the fade and slide only use
     opacity and transform, and height stays first so Bootstrap reads its
     duration. Keep above sticky category nav (1020). */
  .navbar-storefront .navbar-collapse {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    padding: 8px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    z-index: 1040;
  }

  .navbar-storefront .navbar-collapse.collapsing,
  .navbar-storefront .navbar-collapse.show {
    animation: navbar-panel-in 0.2s ease;
  }

  .navbar-storefront .navbar-toggler[aria-expanded="false"] + .navbar-collapse.collapsing {
    animation: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: height 0.35s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .navbar-storefront .navbar-nav {
    width: 100%;
  }

  .navbar-storefront .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-storefront .navbar-nav .nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    color: #495057 !important;
    padding: 9px 12px 9px 20px !important;
    border-radius: 10px;
  }

  .navbar-storefront .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 11px;
    bottom: 11px;
    width: 3px;
    border-radius: 2px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
  }

  .navbar-storefront .navbar-nav .nav-link:hover,
  .navbar-storefront .navbar-nav .nav-link.active {
    background: var(--primary-light);
    color: var(--dark) !important;
  }

  .navbar-storefront .navbar-nav .nav-link.active {
    font-weight: 600;
  }

  .navbar-storefront .navbar-nav .nav-link:hover::before,
  .navbar-storefront .navbar-nav .nav-link.active::before {
    transform: scaleY(1);
  }

  .navbar-storefront .navbar-nav.align-items-center {
    flex-direction: row;
    align-items: center !important;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-200);
  }

  .navbar-storefront .navbar-nav.align-items-center .nav-item {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .navbar-storefront .btn-login,
  .navbar-storefront .btn-cart-nav,
  .navbar-storefront .nav-user-profile {
    width: 100%;
    height: 40px;
    justify-content: center;
    margin-left: 0;
    padding: 0 12px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap;
  }

  .navbar-storefront .btn-login,
  .navbar-storefront .nav-user-profile {
    display: flex;
    background: white;
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
  }

  .navbar-storefront .btn-login:hover,
  .navbar-storefront .nav-user-profile:hover,
  .navbar-storefront .nav-user-profile:focus {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--dark);
  }

  .navbar-storefront .nav-user-profile.is-active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
  }

  .navbar-storefront .btn-cart-nav {
    border: none !important;
    box-shadow: none;
  }

  .navbar-storefront .btn-cart-nav:not(.is-disabled, :disabled) {
    background: var(--primary) !important;
    color: #fff !important;
  }

  .navbar-storefront .btn-cart-nav:not(.is-disabled, :disabled):hover {
    background: color-mix(in srgb, var(--primary) 82%, #000) !important;
    color: white !important;
  }

  .navbar-storefront .btn-cart-nav.is-active:not(.is-disabled, :disabled) {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  }

  .btn-user {
    width: 100%;
    justify-content: center;
  }

  .user-menu {
    width: 100%;
  }

  .user-arrow,
  .user-arrow-icon {
    display: none;
  }

  .btn-logout-mobile {
    display: block;
    width: 100%;
    padding: 0.4rem;
    background: none;
    border: none;
    font-size: 0.75rem;
    color: #d47a7a;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s;
  }

  .btn-logout-mobile:hover {
    color: #c0392b;
  }
}

#cartBadge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #691818;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* ===================== HOME SLIDER (below yellow banner) ===================== */
.home-hero-slider {
  position: relative;
  isolation: isolate;
}

.home-hero-slider--below-banner {
  --slide-w: min(72vw, 980px);
  --slide-gap: 0.85rem;
  margin: 1.25rem auto 0;
  max-width: 1140px;
  width: calc(100% - 2rem);
  padding-top: 0;
  background: transparent;
  overflow: visible;
}

.home-hero-slider.is-draggable {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.home-hero-slider.is-dragging {
  cursor: grabbing;
}

.home-hero-slider__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 180px;
  max-height: min(52vh, 420px);
  overflow: hidden;
  border-radius: 24px;
  background: #111;
}

.home-hero-slider__slide {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.55s ease;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.home-hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.home-hero-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-hero-slider__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem) 3.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 55%, transparent 100%);
  color: #fff;
  pointer-events: none;
}

.home-hero-slider__content .home-hero-slider__cta {
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
}

.home-hero-slider__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-hero-slider__subtitle {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 500;
  opacity: 0.95;
  line-height: 1.4;
}

.home-hero-slider__cta {
  display: inline-flex;
  margin-top: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.home-hero-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-hero-slider__nav:hover,
.home-hero-slider__nav:focus-visible {
  background: #fff;
  outline: none;
}

.home-hero-slider__nav--prev { left: 0.85rem; }
.home-hero-slider__nav--next { right: 0.85rem; }

.home-hero-slider__nav .web-icon,
.home-hero-slider__nav .web-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: inherit;
}

.home-hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.home-hero-slider__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-hero-slider__dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

/* Desktop: Popeyes-style peek of prev/next slides on the sides. */
@media (min-width: 768px) {
  .home-hero-slider--below-banner {
    width: 100%;
    max-width: none;
    margin: 1.5rem 0 0;
    padding: 0;
    overflow: hidden;
  }

  .home-hero-slider__track {
    aspect-ratio: auto;
    height: clamp(260px, 28vw, 400px);
    max-height: none;
    min-height: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
  }

  .home-hero-slider__slide {
    inset: auto;
    top: 0;
    left: 50%;
    width: var(--slide-w);
    height: 100%;
    border-radius: 20px;
    background: #111;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    transform: translateX(-50%) scale(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .home-hero-slider__slide.is-active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 3;
  }

  .home-hero-slider__slide.is-prev {
    transform: translateX(calc(-50% - 100% - var(--slide-gap))) scale(0.96);
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    z-index: 1;
  }

  .home-hero-slider__slide.is-next {
    transform: translateX(calc(-50% + 100% + var(--slide-gap))) scale(0.96);
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    z-index: 1;
  }

  .home-hero-slider__nav {
    z-index: 6;
  }

  .home-hero-slider__nav--prev {
    left: calc(50% - (var(--slide-w) / 2) - 0.15rem);
    transform: translate(-50%, -50%);
  }

  .home-hero-slider__nav--next {
    right: auto;
    left: calc(50% + (var(--slide-w) / 2) + 0.15rem);
    transform: translate(-50%, -50%);
  }

  .home-hero-slider__dots {
    bottom: auto;
    top: calc(100% + 0.75rem);
  }

  .home-hero-slider__dot {
    background: rgba(28, 28, 30, 0.28);
  }

  .home-hero-slider__dot.is-active {
    background: var(--primary);
  }

  .home-hero-slider--below-banner {
    /* Dots sit under the track; shared section gap lives on .home-stores. */
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .home-hero-slider--below-banner {
    width: calc(100% - 1.25rem);
    margin-top: 0.75rem;
    padding-bottom: 0;
  }

  .home-hero-slider__track {
    aspect-ratio: 2 / 1;
    min-height: 120px;
    max-height: 168px;
    border-radius: 16px;
  }

  .home-hero-slider__content {
    padding: 0.65rem 0.85rem 1.75rem;
  }

  .home-hero-slider__title {
    font-size: 1.05rem;
  }

  .home-hero-slider__subtitle {
    font-size: 0.8rem;
  }

  .home-hero-slider__cta {
    margin-top: 0.45rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
  }

  .home-hero-slider__nav {
    width: 2rem;
    height: 2rem;
  }

  .home-hero-slider__nav--prev { left: 0.35rem; }
  .home-hero-slider__nav--next { right: 0.35rem; }
}

/* ===================== HOME STORES + BESTSELLERS ===================== */
/* Same vertical gap: slider → "As nossas lojas" and lojas → "Os Favoritos". */
.home-stores {
  padding: 2.5rem 0 0;
}

.home-bestsellers {
  padding: 2.5rem 0 1.25rem;
  background: #f7f4ef;
}

.home-bestsellers__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.home-bestsellers__trophy,
.home-bestsellers__trophy.web-icon,
.home-bestsellers__trophy.web-icon svg,
.home-bestsellers__title .web-icon-trophy,
.home-bestsellers__title .web-icon-trophy svg {
  color: var(--primary);
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
}

.home-bestsellers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.home-bestsellers__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  color: inherit;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 0.55rem 0.45rem 0.55rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  width: 100%;
  font: inherit;
}

.home-bestsellers__card:hover,
.home-bestsellers__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.home-bestsellers__cat {
  display: block;
  margin: 0 0 0.35rem;
  padding: 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500, #6b7280);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-bestsellers__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
}

.home-bestsellers__media.has-photo {
  background: transparent;
}

.home-bestsellers__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0.15rem;
  transition: transform 0.3s ease;
}

.home-bestsellers__card:hover .home-bestsellers__media img {
  transform: scale(1.04);
}

.home-bestsellers__name {
  margin: 0.45rem 0 0;
  padding: 0 0.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Store picker for a favorite product — size from .custom-modal sheet vars. */
.bestseller-store-modal {
  display: flex;
  flex-direction: column;
}

.bestseller-store-modal__header.custom-modal-header {
  padding: 0;
}

.bestseller-store-modal__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem 0.65rem;
  flex-shrink: 0;
}

.bestseller-store-modal__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding-right: 0.25rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  min-height: 34px;
  line-height: 1.2;
}

.bestseller-store-modal__icon,
.bestseller-store-modal__icon .web-icon,
.bestseller-store-modal__icon .web-icon svg {
  color: var(--primary);
}

.bestseller-store-modal__icon .web-icon,
.bestseller-store-modal__icon .web-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.bestseller-store-modal__close {
  position: static;
  flex-shrink: 0;
  margin: 0;
}

.bestseller-product-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 1.15rem 0.85rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fafafa;
  flex-shrink: 0;
}

.bestseller-product-row__img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}

.bestseller-product-row__img--empty {
  display: inline-block;
  background: transparent;
}

.bestseller-product-row__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}

.bestseller-product-row__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.bestseller-product-row__desc {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bestseller-store-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: none !important;
  padding: 0 1.15rem 1.15rem !important;
  max-height: none;
  overflow-y: auto;
  flex: 1 1 auto;
}

.bestseller-store-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 52px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bestseller-store-row:hover,
.bestseller-store-row:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(232, 171, 31, 0.16);
  outline: none;
}

.bestseller-store-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  flex: 1 1 auto;
}

.bestseller-store-row__name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bestseller-store-row__price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.bestseller-store-row__badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.bestseller-store-row.is-open .bestseller-store-row__badge {
  background: #d1fae5;
  color: #065f46;
}

.bestseller-store-row.is-closed .bestseller-store-row__badge {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 991.98px) {
  .home-bestsellers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .home-stores {
    padding-top: 2rem;
  }

  .home-bestsellers {
    padding: 2rem 0 0.75rem;
  }

  .home-bestsellers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .home-bestsellers__card {
    padding: 0.4rem 0.4rem 0.5rem;
  }

  .home-bestsellers__trophy,
  .home-bestsellers__trophy.web-icon,
  .home-bestsellers__trophy.web-icon svg,
  .home-bestsellers__title .web-icon-trophy,
  .home-bestsellers__title .web-icon-trophy svg {
    width: 1.65rem;
    height: 1.65rem;
  }

  .home-bestsellers__cat {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
  }

  .home-bestsellers__name {
    font-size: 0.8rem;
    margin-top: 0.35rem;
  }
}

.web-icon-trophy,
.web-icon-trophy svg { color: var(--primary); }

/* ===================== HERO SECTION ===================== */
.hero-section {
  background: var(--primary);
  color: white;
  padding: 3rem 0 4rem;
  margin-top: var(--storefront-hero-pull);
  padding-top: calc(var(--storefront-nav-h) + var(--storefront-nav-underlap) + 3rem);
  border-radius: 0 0 40px 40px;
}

.hero-section h1 {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.search-wrapper {
  position: relative;
  max-width: 500px;
}

.search-wrapper input {
  width: 100%;
  padding: 1rem 1.2rem 1rem 3rem;
  border: none;
  border-radius: 60px;
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
}

.search-wrapper input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3), var(--shadow-lg);
}

.search-wrapper .search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--gray-600);
  display: inline-flex;
  line-height: 0;
}

/* Delivery platform links under the home title, set in /gh/settings. */
.hero-platform-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 1.25rem;
}

/* overflow clips the logo's own background to the radius. */
.hero-platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.2s;
}

.hero-platform-link:hover {
  transform: translateY(-2px);
}

.hero-platform-link img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 206px;
  object-fit: contain;
}

.hero-platform-link.is-text {
  height: 48px;
  padding: 0 1.25rem;
  background: white;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .hero-platform-links {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  .hero-platform-link img,
  .hero-platform-link.is-text {
    height: 56px;
  }

  .hero-platform-link img {
    max-width: 240px;
  }
}

/* ===================== SECTION TITLES ===================== */
.section-title {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title .web-icon,
.section-title .web-icon svg {
  color: var(--primary);
}

/* Home teasers → /ofertas — same soft green CTA as /ofertas personal link. */
.home-stores-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.35rem;
}

.home-stores-head .section-title {
  margin-bottom: 0;
}

.home-offers-refs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.55rem;
  margin: 0;
  flex: 1 1 260px;
  max-width: 560px;
}

@media (max-width: 575.98px) {
  .home-stores-head {
    flex-direction: column;
    align-items: stretch;
  }

  .home-offers-refs {
    grid-template-columns: 1fr;
    max-width: none;
    flex: 1 1 auto;
    width: 100%;
  }
}

.home-offers-ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.home-offers-ref--public {
  border: 1px solid rgba(71, 85, 105, 0.32);
  background: linear-gradient(180deg, #e8eef5 0%, #f1f5f9 42%, #fff 100%);
  color: #334155;
}

.home-offers-ref--public:hover,
.home-offers-ref--public:focus-visible {
  border-color: rgba(71, 85, 105, 0.55);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  background: linear-gradient(180deg, #e2e8f0 0%, #eef2f7 45%, #fff 100%);
  color: #1e293b;
  outline: none;
}

.home-offers-ref--public .home-offers-ref__chevron {
  color: #64748b;
}

.home-offers-ref--personal {
  border: 1px solid rgba(22, 163, 74, 0.45);
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
  color: #166534;
}

.home-offers-ref--personal:hover,
.home-offers-ref--personal:focus-visible {
  border-color: rgba(22, 163, 74, 0.75);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.16);
  background: linear-gradient(180deg, #dcfce7 0%, #fff 100%);
  color: #14532d;
  outline: none;
}

.home-offers-ref--personal .home-offers-ref__chevron {
  color: #16a34a;
}

.home-offers-ref__chevron {
  flex: 0 0 auto;
  display: inline-flex;
}

.home-offers-ref__chevron .web-icon,
.home-offers-ref__chevron .web-icon svg {
  color: inherit;
  stroke: currentColor;
}

/* Delivery figure on the footer top-right. Height:0 anchor so the painted
   image only extends UP — never creates scroll/white space below the footer. */
/* Base XY stays identical in every frame; only Y nudges in px so the
   infinite loop never jumps (no %/calc mix between keyframes). */
@keyframes home-footer-float {
  0%, 100% { transform: translate3d(12%, 30%, 0) translateY(0); }
  50% { transform: translate3d(12%, 30%, 0) translateY(-10px); }
}

@keyframes home-footer-float-mobile {
  0%, 100% { transform: translate3d(14%, 42%, 0) translateY(0); }
  50% { transform: translate3d(14%, 42%, 0) translateY(-6px); }
}

html:has(.home-footer-figure),
body:has(.home-footer-figure) {
  overflow-x: clip;
}

body:has(.home-footer-figure) .site-footer {
  position: relative;
  z-index: 2;
  overflow: visible;
}

body:has(.home-footer-figure) .site-footer > .container {
  position: relative;
  z-index: 1;
}

/* Collapsed while still in <main> (before the relocate script). */
main > .home-footer-figure {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-footer > .home-footer-figure {
  position: absolute;
  right: 0;
  top: 0;
  bottom: auto;
  left: auto;
  z-index: 0;
  /* Zero-height pin at the footer top — img grows upward only. */
  width: min(400px, 32vw);
  height: 0;
  max-width: 38%;
  margin: 0;
  padding: 0;
  opacity: 1;
  pointer-events: none;
  overflow: visible;
  line-height: 0;
}

.site-footer > .home-footer-figure img {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: min(400px, 32vw);
  height: min(440px, 36vw);
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  user-select: none;
  /* Resting pose matches 0%/100% keyframes so the 0.4s delay does not jump. */
  transform: translate3d(12%, 30%, 0) translateY(0);
  animation: home-footer-float 5.5s ease-in-out 0.4s infinite;
  will-change: transform;
  backface-visibility: hidden;
}

@media (max-width: 991.98px) {
  .site-footer > .home-footer-figure {
    right: 0;
    width: min(170px, 40vw);
    max-width: 44%;
  }

  .site-footer > .home-footer-figure img {
    width: min(170px, 40vw);
    height: min(200px, 48vw);
    transform: translate3d(14%, 42%, 0) translateY(0);
    animation-name: home-footer-float-mobile;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer > .home-footer-figure img {
    animation: none !important;
    transform: translate3d(12%, 30%, 0) translateY(0);
  }

  @media (max-width: 991.98px) {
    .site-footer > .home-footer-figure img {
      transform: translate3d(14%, 42%, 0) translateY(0);
    }
  }
}

/* ===================== STORE CARDS ===================== */
.store-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.store-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.store-card-info-btn.menu-icon-chip {
  position: absolute;
  z-index: 5;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.store-card-info-btn.menu-icon-chip .web-icon,
.store-card-info-btn.menu-icon-chip .web-icon svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
}

.store-status-detail {
  margin-top: 6px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  line-height: 1.25;
}

.store-status-detail > .web-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
}

.store-status-detail > .web-icon svg {
  display: block;
  width: 1em;
  height: 1em;
}

.store-status-detail__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}

.store-status-detail__line {
  font-weight: 600;
}

.store-status-detail__note {
  font-weight: 500;
  opacity: 0.92;
}

.store-status-detail.is-open {
  color: #065f46;
}

.store-status-detail.is-closed {
  color: #991b1b;
}

/* Store schedule modal — sheet size from .custom-modal (560×min 420). */
.store-schedule-modal .custom-modal-header {
  padding: 1.25rem 1.25rem 0.5rem;
}

.store-schedule-modal .custom-modal-top {
  margin-bottom: 0;
  align-items: flex-start;
}

.store-schedule-modal .custom-modal-title {
  font-size: 1.15rem;
  margin: 0;
  min-height: 0;
}

.store-schedule-modal .custom-modal-baseprice {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.store-schedule-modal .custom-modal-body {
  padding: 0 1.25rem 1.35rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* Same segmented control as login Email/Telefone. */
.store-schedule-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.2rem;
  margin-bottom: 1rem;
  border-radius: 0.6rem;
  background: #f1f5f9;
}

.store-schedule-tab {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 0.45rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600, #64748b);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.store-schedule-tab.is-active {
  background: #fff;
  color: var(--primary, #c9921a);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.store-schedule-tab:focus-visible {
  outline: 2px solid var(--primary, #c9921a);
  outline-offset: 1px;
}

.store-schedule-tab:disabled {
  opacity: 0.45;
  cursor: default;
}

/* Both panes share one grid cell so the modal height stays on the taller tab. */
.store-schedule-panes {
  display: grid;
}

.store-schedule-pane {
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
}

.store-schedule-pane.is-active {
  visibility: visible;
  pointer-events: auto;
}

.store-schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f1f2f4;
}

.store-schedule-row:last-child {
  border-bottom: none;
}

.store-schedule-day {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--dark);
  min-width: 6.5rem;
}

.store-schedule-ranges {
  flex: 1;
  text-align: right;
}

.store-schedule-range {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-800);
  font-variant-numeric: tabular-nums;
}

.store-schedule-msg {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-600);
}

.store-schedule-row.is-open-now .store-schedule-day,
.store-schedule-range.is-open-now,
.store-schedule-msg.is-open-now {
  color: #065f46;
}

.store-schedule-range.is-open-now {
  font-weight: 700;
}

.store-schedule-closed {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-500);
}

.store-schedule-empty {
  padding: 1.4rem 0.5rem;
  text-align: center;
  font-size: 0.84rem;
  color: var(--gray-500);
}

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

.store-card:hover .store-card-img img {
  transform: scale(1.08);
}

.store-delivery-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.store-card-body {
  padding: 1rem 1.2rem 1.2rem;
}

.store-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.store-card-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.25;
}

.store-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.store-rating {
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

a.store-rating:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.store-hero-rating {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

a.store-hero-rating:hover {
  text-decoration: underline;
}

.store-rating .web-icon svg,
.store-hero-rating .web-icon svg {
  fill: currentColor;
  stroke: currentColor;
}

.store-rating-count {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.65;
}

.store-category {
  background: var(--gray-100);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.store-fee {
  font-weight: 500;
}

/* ===================== STORE HERO (Products Page) ===================== */
.store-hero {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  margin-top: var(--storefront-hero-pull);
  /* Image starts under the nav; overlay content keeps its own padding. */
  padding-top: var(--storefront-nav-underlap);
}

.store-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0,0,0,0.85));
  display: flex;
  align-items: flex-end;
  padding-bottom: 2rem;
}

.store-hero-overlay h1 {
  color: white;
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.store-hero-info {
  display: flex;
  gap: 16px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  flex-wrap: wrap;
  align-items: center;
}

/* Opening status on the hero. The hero sits on a dark photo overlay, so the
   status is a light pill: open in green, closed in red pointing at the next
   opening. Mirrors the colours used on the store cards. */
.store-hero-status {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.store-hero-status > .web-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
}

.store-hero-status > .web-icon svg {
  display: block;
  width: 1em;
  height: 1em;
}

.store-hero-status .store-status-detail__note {
  font-weight: 500;
}

.store-hero-status.is-open {
  background: #d1fae5;
  color: #065f46;
}

.store-hero-status.is-closed {
  background: #fee2e2;
  color: #991b1b;
}

/* Clock (and any icon) follows the pill / status text colour. */
.store-hero-status .web-icon,
.store-hero-status .web-icon svg,
.store-status-detail .web-icon,
.store-status-detail .web-icon svg {
  color: currentColor;
  stroke: currentColor;
}

/* ===================== CATEGORY NAV (sticky) ===================== */
.category-sticky-wrapper {
  position: sticky;
  top: 70px;
  /* Below fixed navbar (1030) so the mobile menu stays on top. */
  z-index: 1020;
  background: #f5f5f5;
  padding: 0.5rem 0 0;
  border-bottom: 1px solid var(--gray-200);
  isolation: isolate;
}

.category-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 0.45rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-section-title {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-top: 0;
  color: var(--dark);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 0.4rem;
}

.category-section {
  margin-bottom: 1.25rem;
  scroll-margin-top: calc(128px + var(--verify-banner-h, 0px));
}

.category-section:last-child {
  margin-bottom: 0;
}

#productsContainer {
  padding-top: 1.75rem;
}

/* Tight gap between product list and footer (mobile + desktop). */
.products-listing {
  padding-bottom: 0.5rem !important;
}

.category-btn {
  white-space: nowrap;
  padding: 0.5rem 1.2rem;
  border: 2px solid var(--gray-200);
  background: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.category-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.category-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(232, 171, 31, 0.22);
}

.category-btn.active .web-icon,
.category-btn.active .web-icon svg,
.category-btn.active .web-icon-box,
.category-btn.active .web-icon-box svg {
  color: #fff !important;
  stroke: currentColor;
}

/* ===================== PRODUCT CARDS ===================== */
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

@media (min-width: 576px) {
  .category-section .product-card {
    overflow: visible;
  }
}

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

.product-card-img {
  height: 160px;
  overflow: hidden;
}

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

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

.category-section .product-card-img img {
  object-position: center bottom;
  transform-origin: center bottom;
}

.product-card-body {
  padding: 0.8rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.3rem;
  color: var(--dark);
}

.product-card-price {
  display: inline-block;
  font-weight: 700;
  color: var(--dark);
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.product-ingredients {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.4;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-add-cart {
  /* Keep Bootstrap .btn :hover/:active/:focus from wiping the fill to transparent. */
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: color-mix(in srgb, var(--primary) 78%, white);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: color-mix(in srgb, var(--primary) 78%, white);
  --bs-btn-active-border-color: transparent;
  background: var(--primary);
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  width: 100%;
  transition: background 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  justify-content: center;
  text-align: center;
}

/* Product / box cards: price + add CTA. Desktop circle/expand below; mobile restores list layout. */
.product-card-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  width: 100%;
  margin-top: auto;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.product-card-cta .product-card-price {
  margin-bottom: 0;
  flex: 0 1 auto;
  text-align: left;
}

.btn-add-cart:hover,
.btn-add-cart:active,
.btn-add-cart:focus,
.btn-add-cart:focus-visible,
.btn.btn-add-cart:hover,
.btn.btn-add-cart:active,
.btn.btn-add-cart:focus,
.btn.btn-add-cart:focus-visible {
  background: color-mix(in srgb, var(--primary) 78%, white);
  background-color: color-mix(in srgb, var(--primary) 78%, white);
  color: #fff;
  border-color: transparent;
}

/* Desktop only: round + ball; expands left on + hover. Plus stays fixed on the right. */
@media (min-width: 576px) {
  .product-card .btn-add-cart.btn,
  .box-card .btn-add-cart.btn,
  .product-card .btn-add-cart,
  .box-card .btn-add-cart {
    --add-btn-size: 3.25rem;
    box-sizing: border-box;
    position: relative;
    width: var(--add-btn-size) !important;
    height: var(--add-btn-size) !important;
    min-width: var(--add-btn-size) !important;
    min-height: var(--add-btn-size) !important;
    max-width: var(--add-btn-size) !important;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    margin: 0 0 0 auto;
    line-height: 1 !important;
    box-shadow: 0 6px 16px rgba(232, 171, 31, 0.35);
    display: block !important;
    white-space: nowrap;
    flex-shrink: 0;
    overflow: hidden;
    transition:
      width 0.45s ease,
      max-width 0.45s ease,
      padding 0.45s ease,
      border-radius 0.4s ease,
      box-shadow 0.35s ease,
      background 0.25s ease,
      background-color 0.25s ease;
  }

  /* Fixed square on the right — never moves; opaque fill masks label bleed. */
  .product-card .btn-add-cart-plus,
  .box-card .btn-add-cart-plus {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    z-index: 1;
    width: var(--add-btn-size);
    height: var(--add-btn-size);
    margin: 0;
    padding: 0;
    pointer-events: none;
    background: var(--primary);
    border-radius: 50%;
    color: #fff;
  }

  .product-card .btn-add-cart:hover:not(.btn-disabled) .btn-add-cart-plus,
  .box-card .btn-add-cart:hover:not(.btn-disabled) .btn-add-cart-plus,
  .product-card .btn-add-cart:focus-visible:not(.btn-disabled) .btn-add-cart-plus,
  .box-card .btn-add-cart:focus-visible:not(.btn-disabled) .btn-add-cart-plus,
  .product-card .btn-add-cart:active:not(.btn-disabled) .btn-add-cart-plus,
  .box-card .btn-add-cart:active:not(.btn-disabled) .btn-add-cart-plus {
    background: color-mix(in srgb, var(--primary) 78%, white);
    border-radius: 0;
  }

  .product-card .btn-add-cart-label,
  .box-card .btn-add-cart-label {
    display: block;
    box-sizing: border-box;
    height: var(--add-btn-size);
    max-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    color: transparent;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: var(--add-btn-size);
    /* Hide paint as soon as collapse starts; width finishes after. */
    transition:
      max-width 0.45s ease,
      padding 0.45s ease,
      opacity 0.15s ease,
      color 0.15s ease,
      visibility 0s linear 0.2s;
  }

  @media (hover: hover) {
    .product-card .btn-add-cart.btn:hover:not(.btn-disabled),
    .box-card .btn-add-cart.btn:hover:not(.btn-disabled),
    .product-card .btn-add-cart:hover:not(.btn-disabled),
    .box-card .btn-add-cart:hover:not(.btn-disabled),
    .product-card .btn-add-cart:focus-visible:not(.btn-disabled),
    .box-card .btn-add-cart:focus-visible:not(.btn-disabled) {
      width: auto !important;
      max-width: 16rem !important;
      aspect-ratio: auto;
      padding: 0 var(--add-btn-size) 0 0 !important;
      border-radius: 999px !important;
      box-shadow: 0 8px 18px rgba(232, 171, 31, 0.42);
    }

    .product-card .btn-add-cart:hover:not(.btn-disabled) .btn-add-cart-label,
    .box-card .btn-add-cart:hover:not(.btn-disabled) .btn-add-cart-label,
    .product-card .btn-add-cart:focus-visible:not(.btn-disabled) .btn-add-cart-label,
    .box-card .btn-add-cart:focus-visible:not(.btn-disabled) .btn-add-cart-label {
      max-width: 10rem;
      padding-left: 1.15rem;
      padding-right: 0.35rem;
      opacity: 1;
      visibility: visible;
      color: #fff;
      transition:
        max-width 0.45s ease,
        padding 0.45s ease,
        opacity 0.25s ease 0.05s,
        color 0.25s ease 0.05s,
        visibility 0s linear 0s;
    }
  }
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.7rem;
  border: none;
  border-radius: 0.6rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}
.btn-submit:hover {
  background: var(--primary-dark);
}
.btn-submit .web-icon,
.btn-submit .web-icon svg {
  color: inherit;
}

/* The card's two actions sit side by side, and stack when the card is narrow. */
.order-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.order-card-actions .btn {
  flex: 1 1 150px;
  margin: 0;
}

/* Downloading the invoice is secondary to viewing the order, so it is outlined
   rather than filled. */
.btn-invoice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-invoice:hover {
  background: var(--gray-100);
  border-color: var(--gray-600);
  color: var(--dark);
}

/* Inside the modal it is a single full-width action. */
.order-modal .btn-invoice {
  margin-top: 0.8rem;
}

/* ===================== CART SIDEBAR ===================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1040;
}

.cart-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: #fafafa;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.14);
  visibility: hidden;
}

.cart-sidebar.open {
  right: 0;
  visibility: visible;
}

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-sidebar-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin: 0;
}

.cart-sidebar-title span {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.9rem;
}

.btn-close-cart {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.btn-close-cart:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}

.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem 1.25rem;
}

.empty-cart-state {
  text-align: center;
  padding: 3rem 0;
  color: var(--gray-600);
}

.empty-cart-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  color: var(--gray-600);
}
.empty-cart-state .empty-icon .web-icon svg {
  width: 1em;
  height: 1em;
}

.empty-cart-title {
  font-weight: 600;
  color: var(--dark);
}

.empty-cart-title {
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

/* Cart items */
.cart-store-group {
  margin-bottom: 0.85rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 0.85rem 0.9rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.cart-store-name {
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 0.55rem;
  padding: 0 0 0.45rem;
  border: none;
  border-bottom: 1px solid rgba(232, 171, 31, 0.22);
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  box-shadow: none;
}

.cart-store-name:hover,
.cart-store-name:focus,
.cart-store-name:focus-visible,
.cart-store-name:active {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
  outline: none;
}

.cart-store-name-text {
  flex: 1 1 auto;
  min-width: 0;
}

.cart-store-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s ease;
  color: var(--primary);
}

.cart-store-chevron .web-icon,
.cart-store-chevron .web-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  color: inherit;
  stroke: currentColor;
}

.cart-store-group:not(.is-collapsed) .cart-store-chevron {
  transform: rotate(90deg);
}

.cart-store-group.is-collapsed .cart-store-name {
  margin-bottom: 0;
  padding-bottom: 0.35rem;
  border-bottom-color: transparent;
}

.cart-store-group.is-collapsed .cart-store-items {
  display: none;
}

.cart-item {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-clickable {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
  padding: 2px 4px;
  margin: -2px -4px;
  border-radius: 6px;
  transition: background 0.2s;
}

.cart-item-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 5.5rem;
}

.cart-item-clickable:hover {
  background: var(--primary-light);
}

.cart-item-clickable .cart-item-name::after {
  content: '';
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  margin-left: 0.3em;
  vertical-align: -0.08em;
  opacity: 0.55;
  background-color: #c9921a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.85rem;
  text-align: right;
  line-height: 1.2;
  white-space: nowrap;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.qty-btn {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 0;
  line-height: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  color: var(--dark);
  flex-shrink: 0;
}

/* Geometric + / − — no font metrics. */
.qty-btn::before,
.qty-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.qty-btn::after {
  width: 11px;
  height: 2px;
}

.qty-btn--plus::before {
  width: 2px;
  height: 11px;
}

.qty-btn--minus::before {
  content: none;
}

.qty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fffaf0;
  box-shadow: 0 4px 10px rgba(232, 171, 31, 0.16);
}

.cart-item-qty span {
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 16px;
  text-align: center;
}

.cart-sidebar-footer {
  padding: 1rem 1.15rem 1.15rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  /* Checkout + Limpar side-by-side on every viewport. */
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: stretch;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.04);
}

.cart-sidebar-footer .cart-total-row,
.cart-sidebar-footer .cart-deposit-row {
  grid-column: 1 / -1;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.btn-checkout {
  width: 100%;
  margin: 0;
  padding: 0.6rem 0.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 18px rgba(232, 171, 31, 0.28);
}

.btn-checkout:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 22px rgba(201, 146, 26, 0.32);
}

/* Checkout is unavailable while every store is closed — muted, no yellow glow. */
.btn-checkout.is-disabled,
.btn-checkout:disabled {
  background: var(--gray-300);
  color: var(--gray-600);
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
  transform: none;
}

.btn-checkout.is-disabled:hover,
.btn-checkout:disabled:hover,
.btn-checkout.is-disabled:focus,
.btn-checkout:disabled:focus {
  background: var(--gray-300);
  box-shadow: none;
  filter: none;
  transform: none;
}

.btn-clear-cart {
  width: auto;
  min-width: 5.5rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  background: transparent;
  color: #dc3545;
  border: 1.5px solid #f1aeb5;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.2s;
  cursor: pointer;
  justify-content: center;
  text-align: center;
}

.btn-clear-cart:hover {
  background: #fff0f0;
  color: #dc3545;
  border-color: #dc3545;
}

/* ===================== FLOATING CART BAR (Products Page) ===================== */
.floating-cart-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 1060;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
}

.floating-cart-bar.show {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
  pointer-events: all;
  visibility: visible !important;
  background: var(--primary);
}

.floating-cart-bar.show:hover {
  background: var(--primary-dark);
}

.floating-cart-bar.cart-open-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.floating-cart-bar:hover {
  transform: translateX(-50%) translateY(-2px);
  background: #2a2a3e;
}

.floating-cart-bar .cart-bar-label {
  white-space: nowrap;
}

/* Always show the short label ("Carrinho") on every viewport. */
.floating-cart-bar .cart-bar-label--full {
  display: none !important;
}

.floating-cart-bar .cart-bar-label--short {
  display: inline;
}

/* Compact circle when the bubble overlaps the footer — same size as scroll-to-top. */
.floating-cart-bar.is-compact,
.floating-cart-bar.is-compact.show {
  left: auto;
  right: 72px;
  bottom: 80px;
  width: 44px !important;
  height: 44px;
  min-width: 44px;
  padding: 0;
  gap: 0;
  border-radius: 50%;
  justify-content: center;
  transform: none !important;
}

.floating-cart-bar.is-compact .cart-bar-label,
.floating-cart-bar.is-compact .cart-bar-total {
  display: none !important;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.floating-cart-bar.is-compact .cart-bar-icon {
  font-size: 1.15rem;
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.floating-cart-bar.is-compact .cart-bar-count {
  top: -4px;
  left: -4px;
  right: auto;
  width: 18px;
  height: 18px;
  font-size: 0.58rem;
  border: 1px solid #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

@media (max-width: 576px) {
  .floating-cart-bar.is-compact,
  .floating-cart-bar.is-compact.show {
    right: 60px;
    bottom: 70px;
    width: 38px !important;
    height: 38px;
    min-width: 38px;
  }

  .floating-cart-bar.is-compact .cart-bar-icon {
    font-size: 1.05rem;
  }

  .floating-cart-bar.is-compact .cart-bar-count {
    top: -5px;
    left: -5px;
    width: 17px;
    height: 17px;
  }
}

.cart-bar-icon {
  position: relative;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.cart-bar-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #691818;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-bar-total {
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 60px;
}

.cart-bar-action {
  background: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===================== TOAST ===================== */
.toast-container {
  position: fixed;
  top: 108px; /* below Entrar / Carrinho on desktop */
  right: 20px;
  z-index: 1045;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(360px, calc(100vw - 24px));
  pointer-events: none;
}

.toast-notification {
  background: white;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--primary);
  pointer-events: auto;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.toast-notification.show {
  transform: translateX(0);
}

@media (max-width: 576px) {
  /* Same placement + slide-in as desktop (top-right, from the right). */
  .toast-container {
    top: 78px;
    right: 12px;
    left: auto;
    bottom: auto;
    max-width: min(320px, calc(100vw - 24px));
  }

  .toast-notification {
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
    gap: 8px;
    border-left-width: 3px;
    transform: translateX(120%);
  }

  .toast-notification.show {
    transform: translateX(0);
  }

  .toast-notification .web-icon,
  .toast-notification .web-icon svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
  }
}

/* ===================== CART ITEM EXTRAS ===================== */
.cart-item-extras {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin-top: 0.2rem;
}

.cart-item-extra {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-600);
  line-height: 1.2;
  margin-top: 0;
}

.cart-item-box-qty {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
}

/*
 * Same geometric + as .qty-btn--plus (colour + bar style), just smaller.
 */
.cart-item-extra-plus {
  position: relative;
  display: block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  color: var(--gray-600);
  line-height: 0;
  font-size: 0;
}

.cart-item-extra-plus::before,
.cart-item-extra-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Horizontal bar (same role as .qty-btn::after). */
.cart-item-extra-plus::after {
  width: 7px;
  height: 2px;
}

/* Vertical bar (same role as .qty-btn--plus::before). */
.cart-item-extra-plus::before {
  width: 2px;
  height: 7px;
}

.checkout-item-info > .cart-item-extras {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.checkout-item-info > .cart-item-extra {
  display: flex;
  white-space: normal;
}

/* ===================== CUSTOMIZATION MODAL ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1060;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.custom-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: var(--sheet-modal-width);
  height: var(--sheet-modal-height);
  min-height: var(--sheet-modal-height);
  max-height: var(--sheet-modal-height);
  margin: 0 auto;
  background: white;
  border-radius: 20px 20px 0 0;
  z-index: 1070;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), height 0.28s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1), min-height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
  overflow: hidden; /* keep scrollbar inside the rounded sheet */
  touch-action: pan-y;
}

.custom-modal.is-dragging,
.box-modal.is-dragging {
  transition: none;
}

.sheet-drag-handle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0 0.15rem;
  cursor: grab;
  touch-action: none;
}

.sheet-drag-handle::before {
  content: '';
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: var(--gray-300);
}

.custom-modal.open {
  transform: translateY(0);
}

.custom-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s;
  touch-action: manipulation;
}

.custom-modal-close:hover {
  background: var(--gray-200);
}

.custom-modal-header {
  padding: 0.65rem 1.5rem 0.5rem;
  flex-shrink: 0;
  background: white;
  position: relative;
  z-index: 1;
  touch-action: none;
}

.custom-modal-body {
  padding: 0.75rem 1.5rem 0.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}

.custom-modal-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 0;
  padding-right: 30px;
}

.custom-modal-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-modal-title {
  font-weight: 700;
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
  transition: font-size 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-modal-desc {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.4;
  transition: font-size 0.25s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.25s ease, opacity 0.2s ease, margin 0.25s ease;
}

.custom-modal-baseprice {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-600);
  transition: font-size 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

/* Product / schedule sheet header shrinks while the body scrolls. */
.custom-modal.is-header-compact .custom-modal-header {
  padding-top: 0.35rem;
  padding-bottom: 0.25rem;
}

.custom-modal.is-header-compact .custom-modal-img {
  width: 44px;
  height: 44px;
}

.custom-modal.is-header-compact .custom-modal-title {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.custom-modal.is-header-compact .custom-modal-desc {
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.custom-modal.is-header-compact .custom-modal-baseprice {
  font-size: 0.75rem;
}

.custom-section {
  margin-bottom: 1.2rem;
}

.custom-section-title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.custom-section-title .web-icon,
.custom-section-title .web-icon svg,
.cart-item-extra .web-icon:not(.web-icon-recycle),
.cart-item-extra .web-icon:not(.web-icon-recycle) svg {
  color: var(--primary);
}

.cart-item-extra .web-icon-recycle,
.cart-item-extra .web-icon-recycle svg {
  color: #16a34a;
}

.custom-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.7rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .custom-option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
  }
}

.custom-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.custom-option input {
  display: none;
}

.custom-option-label {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.25;
}

.custom-option-price {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  gap: 0.28em;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Geometric + — same construction as .cart-item-extra-plus, sized for option rows */
.custom-option-price-plus {
  position: relative;
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  flex-shrink: 0;
  color: currentColor;
  line-height: 0;
  font-size: 0;
  vertical-align: middle;
}

.custom-option-price-plus::before,
.custom-option-price-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.custom-option-price-plus::after {
  width: 100%;
  height: 2px;
}

.custom-option-price-plus::before {
  width: 2px;
  height: 100%;
}

.custom-modal-footer {
  position: relative;
  z-index: 2;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: white;
  margin-top: 0;
}

.custom-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.8rem;
}

.custom-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.custom-qty span {
  min-width: 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

.custom-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.custom-total--inline {
  margin-bottom: 0;
  flex: 1;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.custom-total--deposit {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-600, #6b7280);
}

.custom-total-price {
  color: var(--dark);
  font-size: 1.2rem;
}

.btn-custom-add {
  width: 100%;
  padding: 0.45rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  justify-content: center;
  text-align: center;
}

.btn-custom-add:hover:not(.btn-disabled),
.btn-custom-add:active:not(.btn-disabled) {
  background: color-mix(in srgb, var(--primary) 78%, white);
  color: #fff;
}

.btn-disabled,
.btn-custom-add.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
  background: var(--primary);
  color: #fff;
}

.btn-custom-add.btn-disabled:hover,
.btn-custom-add.btn-disabled:active {
  background: var(--primary);
  opacity: 0.5;
  color: #fff;
}

/* ===================== BUILD BOX MODAL ===================== */
.box-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: var(--sheet-modal-width);
  height: var(--sheet-modal-height);
  min-height: var(--sheet-modal-height);
  max-height: var(--sheet-modal-height);
  margin: 0 auto;
  background: white;
  border-radius: 20px 20px 0 0;
  z-index: 1070;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), height 0.28s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1), min-height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
  overflow: hidden; /* sheet chrome; options pad for hanging info chips */
  touch-action: pan-y;
}

.box-item-info-panel {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: white;
  border-radius: inherit;
  padding: 1.25rem 1.5rem 1.5rem;
  overflow-y: auto;
}

.box-item-info-panel[hidden] {
  display: none !important;
}

.box-item-info-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  flex-shrink: 0;
}

.box-item-info-name {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}

.box-item-info-back.menu-icon-chip {
  margin: 0;
  width: 34px;
  height: 34px;
  background: var(--gray-100);
  box-shadow: none;
  color: var(--dark);
}

.box-item-info-back.menu-icon-chip:hover,
.box-item-info-back.menu-icon-chip:focus-visible {
  background: var(--gray-200);
}

.box-item-info-back .web-icon,
.box-item-info-back .web-icon svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
}

.box-item-info-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.box-item-info-img {
  width: 100%;
  aspect-ratio: 1;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
}

.box-item-info-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--gray-600);
  white-space: pre-wrap;
}

.box-modal.open {
  transform: translateY(0);
}

.box-modal-header {
  padding: 0.65rem 1.5rem 0.5rem;
  flex-shrink: 0;
  background: white;
  position: relative;
  z-index: 1;
  touch-action: none;
}

.box-modal-top {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-right: 30px;
}

.box-modal-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.box-modal-title {
  font-weight: 700;
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
  transition: font-size 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.box-modal-desc {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gray-600);
  transition: font-size 0.25s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.25s ease, opacity 0.2s ease;
}

.box-modal.is-header-compact .box-modal-header {
  padding-top: 0.35rem;
  padding-bottom: 0.25rem;
}

.box-modal.is-header-compact .box-modal-img {
  width: 40px;
  height: 40px;
}

.box-modal.is-header-compact .box-modal-title {
  font-size: 0.95rem;
  margin-bottom: 0.05rem;
}

.box-modal.is-header-compact .box-modal-desc {
  font-size: 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.box-modal-body {
  flex: 1;
  overflow-y: auto;
  /* Match header gutters (1.5rem); stable gutter so the scrollbar does not
     pull the cards visually to the right. */
  padding: 0.75rem 1.5rem 0.5rem;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}

.box-section {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.box-section:last-child {
  border-bottom: none;
}

.box-section-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.box-section-title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  margin: 0;
}

.box-section-counter {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 2px 10px;
  border-radius: 20px;
}

.box-section-counter.complete {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.box-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  /* Info chip is in-flow now — no extra right pad (that skewed L/R gutters). */
  padding-right: 0;
}

.box-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  overflow: visible;
}

@media (hover: hover) and (pointer: fine) {
  .box-option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
  }
}

.box-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.box-option-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.box-option-info {
  flex: 1;
  min-width: 0;
  padding-right: 0.25rem;
}

/* Info chip sits on the same row, to the right of +/- (no hang over neighbours). */
.box-option-info-btn.menu-icon-chip {
  position: static;
  top: auto;
  right: auto;
  margin: 0 0 0 auto;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-self: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
  order: 3;
}

.box-option:has(.box-option-stepper) .box-option-info-btn.menu-icon-chip {
  margin-left: 0.35rem;
}

.box-option-info-btn .web-icon,
.box-option-info-btn .web-icon svg {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
}

.box-option.selected .box-option-info-btn {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.box-option-name {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
}

.box-option-price {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--dark);
  line-height: 1.25;
  white-space: nowrap;
}

.box-option-qty {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--primary);
  color: white;
  padding: 1px 7px;
  border-radius: 10px;
  margin-top: 2px;
}

.box-option-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}

.box-option.selected .box-option-check {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.box-option-check .web-icon,
.box-option-check .web-icon svg {
  color: inherit;
}

.box-option-stepper {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  flex-shrink: 0;
  order: 2;
}

.box-option-step-btn {
  position: relative;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
  border-radius: 6px;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.box-option-step-btn::before,
.box-option-step-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.box-option-step-btn::after {
  width: 10px;
  height: 2px;
}

.box-option-step-btn--plus::before {
  width: 2px;
  height: 10px;
}

.box-option-step-btn--minus::before {
  content: none;
}

.box-option-step-count {
  min-width: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.box-modal-footer {
  position: relative;
  z-index: 2;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: white;
}

/* Stack the total above the button, as .custom-modal-footer does for
   products, so both modals share the same footer layout. */
.box-footer-row {
  display: flex;
  flex-direction: column;
}

/* Match .custom-total so the box modal's total reads the same as a product's:
   the label and price sit on one row, split to the edges. */
.box-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}

.box-total-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
}

.box-card {
  cursor: pointer;
  transition: all 0.3s;
}

.box-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.box-card .btn-add-cart {
  cursor: pointer;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: #1c1c1e;
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 0;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  border-radius: 40px 40px 0 0;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.footer-desc {
  opacity: 0.7;
  line-height: 1.5;
  max-width: 260px;
}

.footer-heading {
  font-weight: 700;
  color: white;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}

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

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a,
.footer-links span {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a {
  cursor: pointer;
}

.footer-links span {
  cursor: default;
}

.footer-links a:hover,
.footer-links a.active {
  color: var(--primary);
}

.footer-links a.active {
  font-weight: 700;
}

/* Custom store pages: same as other footer links; yellow only when .active. */

.footer-pwa-install {
  margin-top: 0.75rem;
}

.pwa-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.pwa-install-btn__icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  background-color: var(--primary);
  -webkit-mask-image: url('/images/pwa-install.png');
  mask-image: url('/images/pwa-install.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.pwa-install-ios-hint {
  color: #fff;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

.footer-lower {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-prefs {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 0 0.35rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
}

.footer-links.footer-contact a,
.footer-links.footer-contact span {
  color: #fff;
}

.footer-links.footer-contact a:hover,
.footer-links.footer-contact a:hover span {
  color: #fff;
}

.footer-links.footer-contact .web-icon,
.footer-links.footer-contact .web-icon svg,
.footer-links.footer-contact a:hover .web-icon,
.footer-links.footer-contact a:hover .web-icon svg {
  color: #e8ab1f;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--primary);
  opacity: 1;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--primary-dark);
}

@media (max-width: 767.98px) {
  .site-footer .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .site-footer .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-lower {
    margin-top: 0.5rem;
  }

  .footer-social {
    order: 1;
    padding: 0.75rem 0 0.5rem;
  }

  .footer-prefs {
    order: 2;
    padding: 0 0 1rem;
  }

  .footer-bottom {
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (min-width: 768px) {
  .footer-lower {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    gap: 0;
  }

  .footer-bottom {
    order: 1;
    flex: 1 1 auto;
    border-top: none;
    padding: 0;
    margin: 0;
  }

  /* Preferências before social icons, with clear gap. */
  .footer-prefs {
    order: 2;
    width: auto;
    justify-content: flex-end;
    padding: 0;
    margin-right: 1.25rem;
  }

  .footer-social {
    order: 3;
    margin-left: 0;
    padding: 0;
  }
}

/* ===================== SCROLL TO TOP ===================== */
.scroll-top-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  z-index: 1030;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-top-btn .web-icon,
.scroll-top-btn .web-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

@media (max-width: 576px) {
  .scroll-top-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    bottom: 70px;
    right: 14px;
  }
}

/* ===================== CHECKOUT PAGE ===================== */
.checkout-hero {
  background: #1c1c1e;
  color: white;
  padding: 3rem 0 2.5rem;
  margin-top: var(--storefront-hero-pull);
  padding-top: calc(var(--storefront-nav-h) + var(--storefront-nav-underlap) + 2rem);
  text-align: center;
  border-radius: 0 0 40px 40px;
}
.checkout-hero h1 { font-weight: 800; font-size: 2rem; margin-bottom: 0.3rem; }
.checkout-hero p { color: rgba(255, 255, 255, 0.9); margin-bottom: 0; font-size: 0.95rem; }

.checkout-section {
  padding: 2rem 0 2.5rem;
}

.checkout-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.checkout-card-title {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(232, 171, 31, 0.22);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.checkout-section .checkout-card-title .web-icon,
.checkout-section .checkout-card-title .web-icon svg {
  color: var(--primary);
}

.checkout-section .payment-option[data-payment="2"] .payment-option-icon .web-icon,
.checkout-section .payment-option[data-payment="2"] .payment-option-icon .web-icon svg {
  color: var(--primary);
}

.checkout-label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 0.3rem;
}

/* "Receber Fatura por email": a full-width tap target, with the checkbox itself
   enlarged so it is easy to hit on a phone. */
.invoice-opt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  margin: 0;
  padding: 0.2rem 0;
}

.invoice-opt input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid var(--primary);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  display: grid;
  place-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.invoice-opt input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 0.12s ease;
  background-color: #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}

.invoice-opt input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.invoice-opt input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.invoice-opt input[type="checkbox"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.checkout-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.9rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  background: white;
}

.checkout-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 171, 31, 0.16);
}

.checkout-input.mb-3:has(+ .invalid-feedback) {
  margin-bottom: 0 !important;
}

.checkout-input.mb-3 + .invalid-feedback {
  margin-top: 0;
  margin-bottom: 1rem !important;
}

.storefront-bs-select-wrap.mb-3:has(+ .invalid-feedback) {
  margin-bottom: 0 !important;
}

.storefront-bs-select-wrap.mb-3 + .invalid-feedback {
  margin-top: 0;
  margin-bottom: 1rem !important;
}

.checkout-textarea {
  resize: vertical;
  min-height: 60px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  background: #fff;
}

.payment-option:hover {
  border-color: rgba(232, 171, 31, 0.55);
  background: #fffaf0;
}

.payment-option.selected {
  border-color: var(--primary);
  background: #fffaf0;
  box-shadow: 0 8px 18px rgba(232, 171, 31, 0.14);
}

.payment-option input { display: none; }

.payment-option-icon { font-size: 1.3rem; }

.payment-option-label {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Order summary sidebar */
.checkout-summary {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

/* The coupon card and the summary are pinned together as one unit.
   They used to be sticky individually, which meant the coupon card scrolled up
   and slid *behind* the summary: a sticky element is painted over content in
   normal flow, so the summary's white card hid it as they overlapped.
   Sticking the wrapper instead keeps the two cards in document order, so the
   coupon card can never end up underneath the summary. */
.checkout-summary-wrap {
  position: sticky;
  top: calc(90px + var(--verify-banner-h, 0px));
}

.checkout-store-group {
  margin-bottom: 1rem;
}

.checkout-store-name {
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.checkout-item:last-child { border-bottom: none; }

.checkout-item-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.checkout-item-info { flex: 1; min-width: 0; }

.checkout-item-name {
  font-weight: 600;
  font-size: 0.83rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-item-extras {
  font-size: 0.7rem;
  color: var(--gray-600);
  line-height: 1.3;
}

.checkout-item-qty {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-600);
  flex-shrink: 0;
}

.checkout-item-price {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dark);
  flex-shrink: 0;
  min-width: 55px;
  text-align: right;
}

.checkout-item-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.checkout-qty-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
}

.checkout-item-total {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

.checkout-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 0.8rem 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0.4rem;
}

.summary-total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
}

/* ===== COUPON (CHECKOUT) =====
   The coupon gets its own card above the summary, because applying a code is a
   step the customer takes rather than a line of the order. The border colour is
   the whole feedback mechanism: neutral while typing, green once the code is
   accepted, red when it is not, and green-and-locked when the customer's stamp
   card is full and the prize is applied for them. */
.checkout-coupon-card {
  margin-bottom: 1rem;
}

.checkout-coupon-card .checkout-card-title {
  margin-bottom: 0.7rem;
}

.checkout-coupon {
  margin: 0;
}

.checkout-coupon-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  outline: none;
}

.checkout-coupon-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 171, 31, 0.16);
}

.checkout-coupon-input.is-valid {
  border-color: #16a34a;
}

.checkout-coupon-input.is-invalid {
  border-color: #dc2626;
}

/* Prize state: locked, because the coupon is applied automatically and its
   code is deliberately never shown to the customer. */
.checkout-coupon-input.is-prize {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #166534;
  font-weight: 600;
  cursor: not-allowed;
}

.checkout-coupon-msg {
  font-size: 0.76rem;
  margin-top: 0.3rem;
  min-height: 0;
}

/* The verdicts, gathered directly above the Place Order button. Spaced off the
   totals above so it reads as its own block rather than as a last totals row,
   and the button keeps its own margin below. */
.checkout-feedback {
  margin-top: 0.9rem;
}

.checkout-coupon-msg.is-valid {
  color: #16a34a;
}

.checkout-coupon-msg.is-invalid {
  color: #dc2626;
}

.checkout-coupon-msg.is-prize {
  color: #166534;
  font-weight: 600;
}

/* ===== STAMP-CARD VERDICT (CHECKOUT) =====
   Says whether the order being built will stamp the customer's card, and when
   it will not, why. Green when the order counts, red when it falls short or the
   order does not advance the card. The colours are the whole message, so each
   state carries its own background, border and text colour rather than just a
   coloured word — a customer who does not read the sentence still sees the
   difference. */
.card-stamp-note {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin-top: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid transparent;
  font-size: 0.76rem;
  line-height: 1.45;
}

/* Green: the order earns a stamp. */
.card-stamp-note.is-valid {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

/* Red: the order earns nothing, or is spending the prize. */
.card-stamp-note.is-invalid {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* Amber: no card rule to report on, e.g. the value is fine but the customer is
   a guest, so the card cannot be credited to anybody. */
.card-stamp-note.is-muted {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.card-stamp-note-icon {
  flex: 0 0 auto;
  font-size: 0.9rem;
  line-height: 0;
  display: inline-flex;
}
.card-stamp-note-icon .web-icon svg {
  width: 1.1em;
  height: 1.1em;
}
.card-stamp-note.is-valid .web-icon,
.card-stamp-note.is-valid .web-icon svg { color: #16a34a; }
.card-stamp-note.is-invalid .web-icon,
.card-stamp-note.is-invalid .web-icon svg { color: #dc2626; }
.card-stamp-note.is-muted .web-icon,
.card-stamp-note.is-muted .web-icon svg { color: #2563eb; }

.card-stamp-note-body {
  flex: 1 1 auto;
  min-width: 0;
}

.card-stamp-note-title {
  display: block;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

/* The reason, in the same block but not bold: it explains the verdict rather
   than repeating it. */
.card-stamp-note-reason {
  display: block;
  font-weight: 400;
}

/* The coupon discount, in green — the same treatment the admin POS gives it. */
.summary-row-discount span {
  color: #16a34a;
  font-weight: 600;
}

.btn-back-store {
  display: block;
  text-align: center;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}

.btn-back-store:hover {
  color: var(--primary);
}

.checkout-empty {
  display: none;
  text-align: center;
  padding: 4rem 1rem;
}

.checkout-section.checkout-empty-active {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 70px - 200px);
}

.checkout-section.checkout-empty-active > .container {
  width: 100%;
}

.checkout-section.checkout-empty-active .checkout-empty {
  width: 100%;
}

@media (max-width: 992px) {
  /* The wrapper carries the stickiness, so it is what has to be released on a
     narrow screen — a sticky card would otherwise pin itself over the form. */
  .checkout-summary-wrap {
    position: static;
  }
}

/* ===================== LOGIN MODAL ===================== */
.login-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 400px;
  max-width: 90vw;
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  overflow: hidden; /* keep scrollbar inside the rounded sheet */
  overscroll-behavior: contain;
  background: white;
  border-radius: var(--radius);
  z-index: 1070;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

.login-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Close-only header — title/subtitle removed from the popup. */
.login-modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 12px 0;
  background: white;
}

.login-modal-header--bare {
  margin-bottom: -6px;
}

.login-modal-header .custom-modal-close {
  position: static;
  flex: 0 0 auto;
  margin: 0;
}

@media (max-width: 575.98px) {
  .login-modal .login-modal-body {
    padding: 0.35rem 1.25rem 1.25rem;
  }

  .login-modal-header {
    padding: 10px 10px 0;
  }
}

@media (min-width: 992px) {
  #logoutMobileItem {
    display: none !important;
  }
}

.login-modal-body {
  padding: 0.75rem 1.5rem 1.5rem;
  text-align: left;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  overscroll-behavior: contain;
}

.login-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.login-title {
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--bs-heading-color);
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.login-subtitle {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  text-align: left;
}

.login-form {
  text-align: left;
}

.login-hint {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-align: center;
}

.login-register-link {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-600);
  margin-top: 0.8rem;
}

.login-register-link a {
  color: var(--gray-600);
  text-decoration: underline;
  transition: color 0.2s;
}

.login-register-link a:hover {
  color: var(--dark);
}

/* ===================== USER MENU ===================== */
.btn-login {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px !important;
  padding: 0.45rem 1.15rem !important;
  font-weight: 600 !important;
  font-size: 0.85rem;
  color: var(--gray-800);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn-login:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: var(--primary-light);
  box-shadow: 0 4px 12px rgba(232, 171, 31, 0.18);
}

.user-menu {
  position: relative;
}

.btn-user {
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 0.3rem 0.8rem 0.3rem 0.3rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-user:hover {
  background: var(--primary);
  color: white;
}

.push-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-push-later {
  background: transparent;
  border: none;
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem;
  cursor: pointer;
}

.btn-push-later:hover {
  color: var(--dark);
}

.user-avatar {
  font-size: 1.1rem;
}

.user-arrow,
.user-arrow-icon {
  font-size: 0.6rem;
  transition: transform 0.2s;
}
.user-arrow-icon svg {
  width: 0.9em;
  height: 0.9em;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s;
  z-index: 1060;
  overflow: hidden;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown a {
  display: block;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s;
}

.user-dropdown a:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ===================== PROFILE PAGE ===================== */
.profile-hero {
  background: #1c1c1e;
  color: white;
  padding: 3rem 0 2.5rem;
  margin-top: var(--storefront-hero-pull);
  padding-top: calc(var(--storefront-nav-h) + var(--storefront-nav-underlap) + 2rem);
  text-align: center;
  border-radius: 0 0 40px 40px;
}

.profile-hero h1 { font-weight: 800; font-size: 2rem; margin-bottom: 0.3rem; }
/* Colour alpha — not opacity — so .order-status text stays solid white. */
.profile-hero p { color: rgba(255, 255, 255, 0.9); margin-bottom: 0; font-size: 0.95rem; }
.profile-hero .order-status { color: #fff !important; }

.profile-section {
  --account-gap: 0.85rem;
  padding: var(--account-gap) 0 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Logged-in account area: menu + one panel (orders or profile). */
.account-area {
  display: flex;
  flex-direction: column;
  gap: var(--account-gap);
}
.account-area > .account-complete-hint {
  margin: 0;
}

.account-area-menu {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  overflow-x: auto;
  padding: 0.35rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.account-area-menu::-webkit-scrollbar {
  display: none;
}

.account-area-menu__item {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
  min-height: 40px;
  padding: 0.45rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  text-align: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.account-area-menu__item:hover {
  color: var(--dark);
  background: rgba(255, 255, 255, 0.85);
}

.account-area-menu__item.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(232, 171, 31, 0.28);
}

.account-area-menu__item.is-active:hover {
  color: #fff;
  background: var(--primary);
}

.account-area-menu__item.is-disabled {
  background: transparent;
  border-color: transparent;
  color: var(--gray-400);
  cursor: default;
  pointer-events: none;
}

/* Icon only, scrolling with the tabs. Widens to show its label on hover
   (pointer devices only) and on keyboard focus. */
.account-area-logout {
  display: flex;
  flex: 0 0 auto;
  margin: 0;
}

.account-area-logout__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 40px;
  min-height: 40px;
  padding: 0 0.85rem;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  color: #dc2626;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.account-area-logout__label {
  display: inline-block;
  overflow: hidden;
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  transition: max-width 0.25s ease, margin-left 0.25s ease, opacity 0.2s ease;
}

.account-area-logout__btn:focus-visible {
  background: #fef2f2;
  border-color: #dc2626;
}

.account-area-logout__btn:focus-visible .account-area-logout__label {
  max-width: 12rem;
  margin-left: 0.4rem;
  opacity: 1;
}

@media (hover: hover) {
  .account-area-logout__btn:hover {
    background: #fef2f2;
    border-color: #dc2626;
  }

  .account-area-logout__btn:hover .account-area-logout__label {
    max-width: 12rem;
    margin-left: 0.4rem;
    opacity: 1;
  }
}

.account-area-logout__btn .web-icon,
.account-area-logout__btn .web-icon svg {
  color: inherit;
}

.account-area-panel {
  flex: 1;
  min-width: 0;
}

.profile-sidebar {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

/* The right-hand column sticks as a whole rather than card by card: two sticky
   siblings pin at the same offset and slide over each other while scrolling. */
.profile-col {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .profile-col {
    align-self: flex-start;
    position: sticky;
    top: calc(90px + var(--verify-banner-h, 0px));
  }
}

/* ===== PURCHASE CARD (ACCOUNT) — same language as account offer coupons ===== */
.card-panel {
  position: relative;
  width: 100%;
  border: 1px solid rgba(232, 171, 31, 0.55);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  background: linear-gradient(180deg, #fffaf0 0%, #fff 55%);
  box-shadow: 0 10px 28px rgba(232, 171, 31, 0.12);
  margin-bottom: 0;
}

.card-panel.is-ready {
  border-color: rgba(34, 197, 94, 0.45);
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 55%);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.1);
}

.card-panel__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a6b00;
  background: rgba(232, 171, 31, 0.18);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.card-panel__auto {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  max-width: 46%;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9a6b00;
  background: rgba(232, 171, 31, 0.14);
  border: 1px solid rgba(232, 171, 31, 0.35);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  line-height: 1.2;
  text-align: center;
}

.card-panel.is-ready .card-panel__badge {
  color: #166534;
  background: rgba(34, 197, 94, 0.16);
}

.card-panel.is-ready .card-panel__auto {
  color: #166534;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

.card-panel__title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin: 0 0 1rem;
  line-height: 1.2;
  padding-right: 7.5rem;
}

.card-panel-slots {
  display: flex;
  gap: clamp(4px, 1.2vw, 8px);
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
}

.card-slot {
  flex: 1 1 0;
  min-width: 0;
  max-width: 44px;
  aspect-ratio: 1;
  height: auto;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid rgba(232, 171, 31, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card-slot.is-filled {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(232, 171, 31, 0.28);
}

.card-panel.is-ready .card-slot {
  border-color: rgba(34, 197, 94, 0.35);
}

.card-panel.is-ready .card-slot.is-filled {
  background: #16a34a;
  border-color: #16a34a;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25);
}

.card-panel__meta {
  margin: 0.85rem 0 0;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.55;
}

.card-panel__meta--ready {
  font-weight: 600;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-panel__meta--min {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--gray-500, #9ca3af);
}

.card-panel__meta--auto {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: #9a6b00;
}

.profile-not-logged {
  text-align: center;
  padding: 3rem 0;
}

.order-card {
  background: #fff;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  margin-bottom: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-100);
}

.order-store {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-left: 6px;
}

.order-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0.3rem;
}

.order-info span {
  flex-shrink: 0;
}

/* Status pill colours come from order_statuses.color (same as production /
   /gh orders), applied inline as background + white text. These rules are
   only the fallback when a status has no colour in the database. */
.order-status-aguarda-pagamento,
.order-status-pendente,
.order-status-fabrico,
.order-status-logistica,
.order-status-pronta,
.order-status-em-entrega,
.order-status-concluida,
.order-status-cancelada,
.order-status-unknown {
  background: #455a64;
  color: #fff;
}

.order-card .accordion-button {
  padding: 0.95rem 1.15rem;
  background: linear-gradient(180deg, #fffaf0 0%, #fff 70%);
  box-shadow: none !important;
  border-radius: 18px !important;
  display: flex;
  align-items: center;
  transition: background 0.18s ease;
}

.order-card .accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, #fffaf0 0%, #fff 70%);
  color: var(--dark);
  border-radius: 18px 18px 0 0 !important;
  border-bottom: 1px solid rgba(232, 171, 31, 0.18);
}

.order-card .accordion-button:hover {
  background: linear-gradient(180deg, #fff3d6 0%, #fffaf0 70%);
}

.order-card .accordion-button::after {
  margin-left: auto;
  flex-shrink: 0;
  background-size: 12px;
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.order-card .accordion-collapse {
  border-radius: 0 0 18px 18px;
}

.order-acc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.order-acc-header .order-id {
  flex-shrink: 0;
}

.order-acc-store {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 80px;
}

.order-acc-header .order-date {
  flex-shrink: 0;
}

.order-acc-header .order-status {
  flex-shrink: 0;
}

.order-acc-total {
  font-weight: 800;
  color: var(--dark);
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 8px;
}

.order-id {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--dark);
}

.order-date {
  font-size: 0.78rem;
  color: var(--gray-600);
}

.order-card-body {
  padding: 1rem 1.2rem 1.15rem;
}

.order-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  color: #fff;
  /* No background here on purpose: this rule comes after the per-slug colour
     rules above, so setting one would override every one of them. An
     unrecognised status is handled by the higher-specificity rule below. */
}

/* The fallback needs the extra class on the selector to outweigh a known slug,
   and it sits last so nothing after it can reset the colours. */
.order-status.order-status-unknown {
  background: #f3f4f6;
  color: #374151;
}

.status-preparing {
  background: #fff3cd;
  color: #856404;
}

.status-on-the-way {
  background: #cce5ff;
  color: #004085;
}

.status-delivered {
  background: #d4edda;
  color: #155724;
}

.order-card-body {
  padding: 0.8rem 1.2rem 1rem;
}

.order-items {
  margin-bottom: 0.5rem;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.3rem 0;
  font-size: 0.85rem;
}

.order-item-name {
  flex: 1;
  font-weight: 500;
}

.order-item-qty {
  color: var(--gray-600);
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

.order-item-price {
  font-weight: 600;
  min-width: 55px;
  text-align: right;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gray-200);
  font-weight: 700;
  font-size: 0.95rem;
}

.order-total-price {
  color: var(--primary);
}

/* ===== Order lines table (My Orders card + details modal) =====
   Shared by both surfaces so an order reads the same in each. */
.order-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.order-items-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--gray-600);
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.order-items-table td {
  padding: 0.3rem 0;
  vertical-align: middle;
}

.order-items-table .oi-img {
  width: 46px;
}

.order-items-table .oi-qty {
  width: 46px;
  text-align: center;
  color: var(--gray-600);
  font-weight: 600;
}

.order-items-table .oi-price {
  width: 80px;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.order-items-table .oi-name {
  color: var(--dark);
  font-weight: 600;
}

/* Every product row ends with a rule so the line before Depósito (Volta)
   is always there — boxes get theirs from .oi-sub-row-last instead. */
.order-items-table .oi-row td {
  border-bottom: 1px solid var(--gray-200);
}

/* Box + contents are one block: tight gap under the box name and between lines. */
.order-items-table .oi-row-box td {
  border-bottom: none;
  padding-bottom: 0.05rem;
}

.order-items-table .oi-sub-row td {
  border-bottom: none;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.3;
  vertical-align: baseline;
}

.order-items-table .oi-sub-row-last td {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gray-200);
}

/* A box's contents: under the box name, lightly inset, no leading dash. */
.order-items-table .oi-sub {
  padding-left: 0.35rem;
  font-size: 0.7rem;
  color: var(--gray-600);
  line-height: 1.35;
}

.order-items-table .oi-sub .cart-item-extra {
  margin-top: 0;
}

/* Same qty prefix as cart / checkout box lines. */
.order-items-table .oi-box-qty,
.order-items-table .cart-item-box-qty {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* Anything in brackets — a size, a quantity, a deposit marker — is muted, so the
   product name reads first and its detail second. Shared by an item's own row
   and by the box contents listed underneath it. */
.order-items-table .oi-muted {
  color: var(--gray-600);
  font-weight: 400;
}

/* The totals sit on the same grid: the label ends where the Qty column does and
   the figure lines up under Price, so subtotal + deposit = total reads down. */
.order-items-table .oi-total-label {
  text-align: right;
  padding-right: 0.6rem;
}

.order-items-table .oi-total-value {
  text-align: right;
  white-space: nowrap;
}

.order-items-table .oi-total .oi-total-label,
.order-items-table .oi-total .oi-total-value {
  padding-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.order-items-table .oi-total-main .oi-total-label,
.order-items-table .oi-total-main .oi-total-value {
  padding-top: 0.45rem;
  border-top: 2px solid var(--gray-300);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.order-items-table .oi-total-main .oi-total-value {
  color: var(--primary);
}

/* The coupon discount, in green — the same treatment the admin POS gives it, so
   a discount reads as money saved wherever an order is displayed. */
.order-items-table .oi-total-discount .oi-total-label,
.order-items-table .oi-total-discount .oi-total-value {
  color: #16a34a;
  font-weight: 600;
}

/* ===================== ORDER DETAILS MODAL ===================== */
.order-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 520px;
  max-width: 95vw;
  max-height: 85vh;
  background: white;
  border-radius: var(--radius);
  z-index: 1070;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden; /* keep scrollbar inside the rounded sheet */
}

.order-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.order-modal-header {
  padding: 1.25rem 1.5rem 0.75rem;
  flex-shrink: 0;
  background: white;
  position: relative;
  z-index: 1;
}

.order-modal-body {
  padding: 0.75rem 1.5rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.order-modal-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.order-modal-top .order-modal-title {
  margin-right: auto;
}

/* The badge keeps its shape beside a long reference, and the close button is
   pushed to the far edge. */
.order-modal-top .order-status {
  flex-shrink: 0;
}

.order-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.order-modal-close:hover {
  background: var(--gray-200);
}

.order-modal-title {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0;
}

.order-modal-info {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span:first-child {
  color: var(--gray-600);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.info-row span:last-child {
  font-weight: 600;
  text-align: right;
}

.order-modal-subtitle {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.order-modal-items {
  margin-bottom: 0.5rem;
}

/* ===== Order details accordion (mirrors the admin production modal) ===== */
.order-acc {
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.order-acc:last-child {
  margin-bottom: 0;
}

.order-acc-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.5rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #f8fafc;
  color: #2d3748;
  user-select: none;
}
.order-acc-header-row > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.order-acc-header-row:hover {
  background: #edf2f7;
}

.order-acc-header-row .arrow {
  display: inline-block;
  transition: transform 0.2s;
  font-size: 0.6rem;
  color: #a0aec0;
}

.order-acc-header-row .arrow.open {
  transform: rotate(180deg);
}

.order-acc-body {
  padding: 0.5rem 0.8rem 0.7rem;
  border-top: 1px solid var(--gray-200);
}

.order-acc-body.hidden {
  display: none;
}

@media (max-width: 576px) {
  .order-modal {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    width: 100vw;
    max-width: 100vw;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
  }

  .order-modal.open {
    transform: translateY(0);
  }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .store-card-img {
    height: 140px;
  }

  .store-hero {
    height: 200px;
  }

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

  .cart-sidebar {
    width: 100vw;
  }

  .floating-cart-bar {
    width: 60%;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    gap: 10px;
    border-radius: 40px;
  }

  .floating-cart-bar .cart-bar-total {
    font-size: 0.85rem;
    min-width: 40px;
  }

  .floating-cart-bar .cart-bar-label--full {
    display: none;
  }

  .floating-cart-bar .cart-bar-label--short {
    display: inline;
    white-space: nowrap;
    font-size: 0.9rem;
  }

.floating-cart-bar .cart-bar-icon {
  font-size: 1.1rem;
}
.floating-cart-bar .web-icon,
.floating-cart-bar .web-icon svg {
  color: inherit;
}

  .product-card-img {
    height: 130px;
  }
}

@media (max-width: 575.98px) {
  .category-section .category-section-title {
    margin-bottom: 0;
  }

  .category-section .col-md-4 {
    margin-bottom: 0;
  }

  .category-section .product-card,
  .category-section .box-card {
    flex-direction: row;
    align-items: stretch;
    height: auto;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    border-bottom: 1px solid #dedede;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .category-section .product-card:hover,
  .category-section .box-card:hover {
    transform: none;
    box-shadow: none;
  }

  .category-section .product-card:hover .product-card-img img {
    transform: none;
  }

  .category-section .product-card-img {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    align-self: center;
    margin: 0 8px 0 12px;
    overflow: hidden;
  }

  .category-section .product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .category-section .product-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
    column-gap: 8px;
    row-gap: 2px;
    flex: 1;
    min-width: 0;
    min-height: 112px;
    padding: 8px 12px 8px 0;
    align-items: start;
    align-content: start;
  }

  /* Flip wrappers must not break the phone list-row grid. */
  .category-section .product-card-flip,
  .category-section .product-card-flip-inner,
  .category-section .product-card-face--front,
  .category-section .product-card-top {
    display: contents;
  }

  .category-section .product-card-info-btn,
  .category-section .product-card-face--back,
  .category-section .product-card-flip-back {
    display: none !important;
  }

  .category-section .product-card-name {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    text-align: left;
    margin-bottom: 0;
    font-size: 0.92rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Restore pre-desktop CTA layout: price top-right, + bottom-right. */
  .category-section .product-card-cta {
    display: contents;
  }

  .category-section .product-card-price {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    white-space: nowrap;
    margin-bottom: 0;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--dark);
  }

  .category-section .product-ingredients {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: 0;
    /* Leave room for the + button in the bottom-right. */
    padding-right: 2.75rem;
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }

  .custom-modal-img {
    width: 112px;
    height: 112px;
    border-radius: 0;
    object-fit: contain;
  }

  .category-section .box-card .product-card-name {
    grid-column: 1;
    grid-row: 1;
  }

  .category-section .box-card .product-card-price {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
  }

  .category-section .box-card .product-ingredients {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-right: 2.75rem;
  }

  /* Always bottom-right of the card body, beside the image. */
  .category-section .btn-add-cart {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: end;
    justify-self: end;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    padding: 0 !important;
    margin: 0;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--primary);
    color: #fff;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(232, 171, 31, 0.35);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    line-height: 1 !important;
    gap: 0 !important;
  }

  .category-section .btn-add-cart-plus {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: transparent;
    border-radius: 50%;
    color: #fff;
  }

  .category-section .btn-add-cart-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px !important;
    max-width: 0 !important;
    opacity: 0 !important;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* Product-card flip: base layout (phone keeps ingredients on the front; desktop flips). */
.product-card-flip {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0.45rem;
}

.product-card-flip-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

.product-card-face--front {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}

.product-card-top .product-card-name {
  flex: 1 1 auto;
  margin-bottom: 0;
  min-width: 0;
}

/* Shared circular icon chip — info / Voltar / box-option (same size & style). */
.menu-icon-chip {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}

.menu-icon-chip:hover,
.menu-icon-chip:focus-visible {
  color: var(--dark);
  background: #f7f7f7;
}

.menu-icon-chip .web-icon,
.menu-icon-chip .web-icon svg,
.menu-icon-chip .web-icon-info,
.menu-icon-chip .web-icon-info svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  color: inherit;
  stroke: currentColor;
  opacity: 1;
  visibility: visible;
}

.product-card-info-btn {
  margin: -0.35rem -0.4rem 0 0;
  display: none;
}

.product-card-face--back {
  display: none;
}

.product-card-flip-back {
  margin: -0.35rem -0.4rem 0 0;
  display: none;
}

.product-ingredients--back {
  font-size: 0.92rem;
  line-height: 1.45;
  -webkit-line-clamp: 8;
  margin-top: 0;
  margin-bottom: 0;
}

/* Desktop: image behind content for ALL category cards (pizzas, boxes, salads, drinks…).
   Phone list rows stay untouched (max-width: 575.98px). */
@media (min-width: 576px) and (hover: hover) {
  /* Footprint ≈ old 160px image strip + body so the photo reads on large desktop. */
  .category-section .product-card {
    position: relative;
    overflow: visible;
    min-height: 280px;
  }

  .category-section .product-card > .product-card-img {
    position: absolute;
    inset: 0;
    height: auto;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    background: #f5f5f5;
  }

  .category-section .product-card > .product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform-origin: center center;
  }

  .category-section .product-card > .product-card-body {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: inherit;
    background: transparent;
    isolation: isolate;
  }

  /* Name top-left — light contrast only, no frosted chip. */
  .category-section .product-card > .product-card-body > .product-card-name,
  .category-section .product-card .product-card-face--front .product-card-name {
    margin-bottom: auto;
    align-self: flex-start;
    max-width: 100%;
    background: none;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 10px rgba(255, 255, 255, 0.75);
  }

  .category-section .product-card .product-card-top {
    margin-bottom: auto;
    width: 100%;
  }

  .category-section .product-card .product-card-top .product-card-name {
    margin-bottom: 0;
  }

  /* Price / Oferta sit under the + ball, same column on the right. */
  .category-section .product-card > .product-card-body > .product-card-cta {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }

  .category-section .product-card > .product-card-body .product-card-price {
    font-size: 0.72rem;
    line-height: 1.2;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.9);
  }

  .category-section .product-card:hover > .product-card-img img {
    transform: scale(1.06);
  }

  .category-section .product-card:has(.product-card-flip.is-flipped):hover > .product-card-img img {
    transform: none;
  }
}

/* Desktop info reveal for ingredients (phone keeps row layout + front ingredients).
   Soft melt/settle fade — no rotateY card spin. Same pattern for every category. */
@media (min-width: 576px) {
  /* Info chip hangs at the card's top-right; back stays in the face header row. */
  .category-section .product-card-info-btn {
    display: inline-flex;
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 6;
    width: 34px;
    height: 34px;
    margin: 0;
  }

  .category-section .product-card-info-btn .web-icon,
  .category-section .product-card-info-btn .web-icon svg {
    width: 17px;
    height: 17px;
    min-width: 17px;
    min-height: 17px;
  }

  .category-section .product-card-flip-back {
    display: inline-flex;
    position: static;
    top: auto;
    right: auto;
    width: 36px;
    height: 36px;
    margin: -0.35rem -0.4rem 0 0;
    flex-shrink: 0;
  }

  .category-section .product-card-top .product-card-name {
    font-size: 0.95rem;
    padding-right: 0.35rem;
  }

  .category-section .product-ingredients--phone {
    display: none;
  }

  .category-section .product-card-flip {
    flex: 1 1 auto;
    margin-bottom: 0.45rem;
    overflow: visible; /* let the info chip hang past the card corner */
  }

  .category-section .product-card-flip-inner {
    position: relative;
    flex: 1 1 auto;
    min-height: 8rem;
    overflow: visible;
  }

  .category-section .product-card-face--front {
    height: 100%;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.38s ease-out, transform 0.38s ease-out;
  }

  .category-section .product-card-flip.is-flipped .product-card-face--front {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
    pointer-events: none;
  }

  .category-section .product-card-body > .product-card-cta {
    flex-shrink: 0;
  }

  .category-section .product-card-body .product-card-price {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.9);
  }

  .category-section .product-card-face--back {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 0;
    padding: 0.55rem 0.65rem;
    overflow: hidden; /* no horizontal (or stray) scrollbar when info opens */
    background: rgba(255, 255, 255, 0.82);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(10px) scale(1.02);
    pointer-events: none;
    transition: opacity 0.38s ease-out, transform 0.38s ease-out;
  }

  .category-section .product-card-flip.is-flipped .product-card-face--back {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .category-section .product-card-face--back .product-card-top {
    margin-bottom: 0.35rem;
    margin-top: 0;
    width: 100%;
    flex-shrink: 0;
  }

  .category-section .product-card-face--back .product-card-name {
    flex: 1 1 auto;
    margin-bottom: 0;
    min-width: 0;
    text-align: left;
  }

  .category-section .product-card-face--back .product-ingredients--back {
    flex: 1 1 auto;
    align-self: stretch;
    margin-top: 0;
    margin-bottom: 0;
    color: var(--dark);
    font-size: 0.92rem;
    line-height: 1.45;
    -webkit-line-clamp: 10;
    line-clamp: 10;
    overflow: hidden;
  }

  .category-section .product-card-body .btn-add-cart {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 0 3rem;
    padding-top: calc(var(--storefront-nav-h) + var(--storefront-nav-underlap) + 2rem);
  }

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

  .navbar-storefront .navbar-brand {
    font-size: 1.3rem;
  }
}

/* ===================== WEB ICONS (same SVGs / colours as dashboard) ===================== */
.web-icon {
  display: inline-flex;
  vertical-align: middle;
  line-height: 0;
}
.web-icon svg {
  display: block;
  flex-shrink: 0;
}

.web-icon-recycle,
.web-icon-recycle svg { color: #16a34a; }
.web-icon-box,
.web-icon-box svg { color: inherit; }
.web-icon-star,
.web-icon-star svg { color: #ca8a04; }
.web-icon-gift,
.web-icon-gift svg { color: #db2777; }
.web-icon-ticket,
.web-icon-percent,
.web-icon-ticket svg,
.web-icon-percent svg { color: var(--primary); }
.web-icon-mail,
.web-icon-mail svg { color: #64748b; }
.web-icon-eye,
.web-icon-file-text,
.web-icon-clipboard-list,
.web-icon-eye svg,
.web-icon-file-text svg,
.web-icon-clipboard-list svg { color: #2563eb; }
.web-icon-pencil,
.web-icon-pencil svg { color: #c9921a; }
.web-icon-ruler,
.web-icon-ruler svg { color: var(--primary); }
.web-icon-trash,
.web-icon-heart,
.web-icon-trash svg,
.web-icon-heart svg { color: #dc2626; }
.web-icon-circle-check,
.web-icon-check,
.web-icon-circle-check svg,
.web-icon-check svg { color: #16a34a; }
.web-icon-alert-triangle,
.web-icon-alert-triangle svg { color: #ca8a04; }
.web-icon-info,
.web-icon-info svg { color: var(--gray-600); }
button:hover .web-icon-info,
button:hover .web-icon-info svg,
button:focus-visible .web-icon-info,
button:focus-visible .web-icon-info svg { color: var(--gray-800); }
.menu-icon-chip .web-icon-info,
.menu-icon-chip .web-icon-info svg {
  color: var(--dark);
  stroke: currentColor;
}
.web-icon-clock,
.web-icon-search,
.web-icon-lock,
.web-icon-calendar,
.web-icon-clock svg,
.web-icon-search svg,
.web-icon-lock svg,
.web-icon-calendar svg { color: var(--gray-600); }
.web-icon-map-pin,
.web-icon-map-pin svg { color: #dc2626; }
.web-icon-receipt,
.web-icon-receipt svg { color: #065f46; }
.web-icon-truck,
.web-icon-truck svg { color: #2563eb; }
.web-icon-shopping-bag,
.web-icon-shopping-bag svg { color: #c9921a; }
.web-icon-euro,
.web-icon-euro svg { color: #16a34a; }
.web-icon-credit-card,
.web-icon-credit-card svg { color: #2563eb; }
.web-icon-smartphone,
.web-icon-smartphone svg { color: #16a34a; }
.web-icon-party-popper,
.web-icon-party-popper svg { color: #ca8a04; }
.web-icon-hand-heart,
.web-icon-hand-heart svg { color: #db2777; }
.web-icon-help-circle,
.web-icon-help-circle svg { color: #2563eb; }
.web-icon-key,
.web-icon-key svg { color: #c9921a; }

/*
 * Geometric “+” — two bars from the container centre (translate -50/-50).
 * Works whether .btn-add-cart-plus is the icon box or the full circle overlay.
 */
.btn-add-cart-plus {
  position: relative;
  display: block !important;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  line-height: 0 !important;
  font-size: 0 !important;
  color: #fff;
  pointer-events: none;
}

.btn-add-cart-plus::before,
.btn-add-cart-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.btn-add-cart-plus::before {
  width: 0.175rem;
  height: 1.25rem;
}

.btn-add-cart-plus::after {
  width: 1.25rem;
  height: 0.175rem;
}

@media (max-width: 575.98px) {
  .category-section .btn-add-cart-plus::before {
    height: 1rem;
  }

  .category-section .btn-add-cart-plus::after {
    width: 1rem;
  }
}

.btn-login,
.btn-cart-nav,
.btn-user,
.btn-add-cart,
.btn-checkout,
.btn-custom-add,
.btn-submit,
.scroll-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.btn-login .web-icon,
.btn-cart-nav .web-icon,
.btn-user .web-icon,
.btn-checkout .web-icon,
.btn-add-cart .web-icon,
.btn-submit .web-icon,
.scroll-top-btn .web-icon {
  color: inherit;
}
.btn-login .web-icon svg,
.btn-cart-nav .web-icon svg,
.btn-user .web-icon svg,
.btn-checkout .web-icon svg,
.btn-add-cart .web-icon svg,
.btn-submit .web-icon svg,
.scroll-top-btn .web-icon svg {
  color: inherit;
}

.custom-modal-close,
.btn-close-cart,
.order-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.custom-modal-close .web-icon,
.btn-close-cart .web-icon,
.order-modal-close .web-icon {
  color: inherit;
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.user-dropdown a .web-icon-clipboard-list,
.user-dropdown a .web-icon-clipboard-list svg { color: #e8ab1f; }
.user-dropdown a.user-dropdown-logout,
.user-dropdown a.user-dropdown-logout .web-icon-log-out,
.user-dropdown a.user-dropdown-logout .web-icon-log-out svg {
  color: #dc2626;
  opacity: 1;
}
.user-dropdown a.user-dropdown-logout:hover,
.user-dropdown a.user-dropdown-logout:hover .web-icon-log-out,
.user-dropdown a.user-dropdown-logout:hover .web-icon-log-out svg {
  color: #dc2626;
  opacity: 1;
  background: var(--primary-light);
}

/* Signed in: one button to the account area, on mobile and desktop. */
.nav-user-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  background: var(--primary-light);
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-dark);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(232, 171, 31, 0.18);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav-user-profile:hover,
.nav-user-profile:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(232, 171, 31, 0.28);
}
.nav-user-profile.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.nav-user-profile .web-icon,
.nav-user-profile .web-icon svg { color: inherit; }

.order-modal .web-icon:not(.web-icon-recycle),
.order-modal .web-icon:not(.web-icon-recycle) svg {
  color: #e8ab1f;
}

#profileCard .card-panel__meta--ready .web-icon,
#profileCard .card-panel__meta--ready .web-icon svg {
  color: #16a34a;
}

#profileSidebar .checkout-card-title .web-icon,
#profileSidebar .checkout-card-title .web-icon svg {
  color: #e8ab1f;
}

.section-title .web-icon,
.store-rating .web-icon,
.store-hero-info .web-icon,
.checkout-card-title .web-icon,
.footer-heading .web-icon {
  margin-right: 0.3rem;
}

.cart-item-extra .web-icon,
.cart-store-name .web-icon,
.checkout-store-name .web-icon,
.custom-section-title .web-icon,
.cart-deposit-row .web-icon,
.summary-row .web-icon,
.custom-total .web-icon,
.box-total .web-icon {
  margin-right: 0.2rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-links span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.48);
}
.footer-copy a,
.footer-copy a:hover {
  color: var(--primary);
}
.footer-copy .web-icon-heart,
.footer-copy .web-icon-heart svg {
  color: #e8ab1f;
}

.footer-cookie-reset {
  display: inline;
  margin: 0;
  padding: 0;
}
.footer-cookie-reset .cookiereset__link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: underline;
  cursor: pointer;
}
.footer-cookie-reset .cookiereset__link:hover {
  color: var(--primary);
}

.delivery-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.delivery-type-icon .web-icon svg {
  width: 1em;
  height: 1em;
}
.delivery-type-check {
  line-height: 0;
}
.delivery-type-check .web-icon,
.delivery-type-check .web-icon svg {
  color: inherit;
}
.btn-back-home,
.btn-rate-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.btn-back-home .web-icon,
.btn-rate-submit .web-icon,
.btn-back-home .web-icon svg,
.btn-rate-submit .web-icon svg {
  color: inherit;
}
.payment-option-icon {
  display: inline-flex;
  align-items: center;
}
.payment-option-icon .web-icon svg {
  width: 1.25em;
  height: 1.25em;
}

.toast-notification {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.card-stamp-note-icon {
  display: inline-flex;
  line-height: 0;
}

.rate-stars,
.thank-stars,
.already-stars,
.pizza-slices {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pizza-slices { flex-direction: row-reverse; }
.pizza-slice,
.thank-stars span,
.already-stars span {
  display: inline-flex;
  line-height: 0;
  font-size: 2.2rem;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  opacity: 0.35;
  user-select: none;
}
.thank-stars span,
.already-stars span { cursor: default; font-size: 2rem; }
.pizza-slice svg,
.thank-stars svg,
.already-stars svg {
  width: 1em;
  height: 1em;
}
.pizza-slice.hovered,
.pizza-slice.active,
.thank-stars .slice-filled,
.already-stars .slice-filled {
  opacity: 1;
  transform: scale(1.08);
  color: #ca8a04;
}
.pizza-slice.hovered svg,
.pizza-slice.active svg,
.thank-stars .slice-filled svg,
.already-stars .slice-filled svg {
  fill: currentColor;
  color: #ca8a04;
}
.thank-stars .slice-empty,
.already-stars .slice-empty {
  opacity: 0.25;
}

.thank-emoji,
.already-emoji {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  color: #ca8a04;
}
.thank-emoji .web-icon svg,
.already-emoji .web-icon svg {
  width: 1em;
  height: 1em;
}

/* Storefront page headers (every page but home and the store page): the title
   stays on one line and the description on at most two. `section.` outranks
   the per-page hero rules in each view's <style>. */
section.page-hero h1 {
  font-weight: 800;
  font-size: clamp(1.2rem, 5vw, 2rem);
  line-height: 1.25;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
section.page-hero p {
  /* Colour alpha — not opacity — so status badges keep solid white text. */
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.4;
  max-height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
section.page-hero .order-status {
  color: #fff !important;
}
@media (max-width: 991.98px) {
  section.page-hero {
    padding-top: calc(var(--storefront-nav-h) + var(--storefront-nav-underlap) + 1.25rem);
    padding-bottom: 1.75rem;
    border-radius: 0 0 28px 28px;
  }
  section.page-hero p {
    font-size: 0.85rem;
  }
}

/* ---- 2026-11-20 mobile UI polish batch ---- */

.checkout-input.is-locked,
.profile-form .checkout-input.is-locked {
  background: var(--gray-100);
  color: var(--gray-600);
  border-color: var(--gray-200);
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  caret-color: transparent;
  opacity: 1;
  box-shadow: none;
}

.checkout-card.is-collapsible,
.checkout-summary.is-collapsible {
  padding-top: 1.1rem;
}

.checkout-card-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0 0 1.1rem;
  padding: 0 0 0.65rem;
  border: none;
  border-bottom: 1px solid rgba(232, 171, 31, 0.22);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.checkout-card-toggle:hover,
.checkout-card-toggle:focus,
.checkout-card-toggle:focus-visible,
.checkout-card-toggle:active {
  background: transparent;
  box-shadow: none;
  outline: none;
  color: inherit;
}

.checkout-card-toggle .checkout-card-title {
  margin: 0;
  padding: 0;
  border: none;
  flex: 1 1 auto;
  min-width: 0;
}

.checkout-card-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.checkout-card-chevron .web-icon,
.checkout-card-chevron .web-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  color: inherit;
  stroke: currentColor;
}

.is-collapsible:not(.is-collapsed) > .checkout-card-toggle .checkout-card-chevron {
  transform: rotate(90deg);
}

.is-collapsible.is-collapsed > .checkout-card-toggle {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
}

.is-collapsible.is-collapsed > .checkout-card-collapse,
.checkout-card-toggle[aria-expanded="false"] + .checkout-card-collapse {
  display: none;
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 0 2.25rem;
    padding-top: calc(var(--storefront-nav-h) + var(--storefront-nav-underlap) + 1.35rem);
    border-radius: 0 0 28px 28px;
  }

  .hero-section h1 {
    font-size: 1.7rem;
    margin-bottom: 0.35rem;
  }

  .hero-platform-links {
    margin-top: 0.85rem;
  }

  .cart-sidebar-footer .btn-checkout {
    font-size: 0.85rem;
  }

  .qty-btn {
    width: 22px;
    height: 22px;
    border-width: 1.5px;
  }

  .qty-btn::after {
    width: 9px;
    height: 1.75px;
  }

  .qty-btn--plus::before {
    width: 1.75px;
    height: 9px;
  }

  .cart-item-qty {
    gap: 5px;
  }

  .cart-item-qty span {
    font-size: 0.8rem;
    min-width: 12px;
  }

  .box-option-step-btn {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border-width: 1.5px;
  }

  .box-option-step-btn::after {
    width: 8px;
    height: 1.75px;
  }

  .box-option-step-btn--plus::before {
    width: 1.75px;
    height: 8px;
  }

  .box-option-step-count {
    font-size: 0.72rem;
    min-width: 0.8rem;
  }

  .box-option-stepper {
    gap: 0.15rem;
  }

  .box-option-name {
    font-size: 0.75rem;
  }

  .custom-modal-title,
  .box-modal-title {
    font-size: 0.95rem;
  }

  .box-option-info-btn.menu-icon-chip {
    width: 24px;
    height: 24px;
  }

  .box-option-info-btn .web-icon,
  .box-option-info-btn .web-icon svg {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
  }

  .box-options {
    padding-right: 0;
    padding-top: 0;
  }

  .qty-btn {
    width: 20px;
    height: 20px;
  }

  .qty-btn::after {
    width: 8px;
    height: 1.75px;
  }

  .qty-btn--plus::before {
    width: 1.75px;
    height: 8px;
  }
}
