:root {
  --jc-primary: #d71920;
  --jc-secondary: #111111;
  --jc-accent: #f97316;
  --jc-header: #ffffff;
  --jc-background: #fffaf6;
  --jc-surface: #ffffff;
  --jc-text: #171717;
  --jc-muted: #6b7280;
  --jc-border: #eadfd7;
  --jc-success: #16803a;
  --jc-warning: #f59e0b;
  --jc-danger: #d71920;
  --jc-button-text: #ffffff;
}

.jc-config-home {
  overflow: hidden;
  padding-bottom: 40px;
  background: var(--jc-background);
  color: var(--jc-text);
}

.jc-home-section { padding: 46px 0; }
.jc-home-hero-section { padding-top: 28px; }
.jc-hero-slide:not(.is-active) { display: none; }

.jc-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--jc-primary);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.jc-home-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.jc-home-heading-centered { justify-content: center; text-align: center; }
.jc-home-heading h2,
.jc-testimonial-content h2,
.jc-pwa-copy h2 {
  margin: 0 0 7px;
  color: var(--jc-text);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.jc-home-heading p,
.jc-testimonial-content > p,
.jc-pwa-copy > p { margin: 0; color: var(--jc-muted); }
.jc-home-heading > a { color: var(--jc-text); font-weight: 800; white-space: nowrap; }

.jc-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 12px 23px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.jc-btn:hover { transform: translateY(-2px); }
.jc-btn-primary { background: var(--jc-primary); color: var(--jc-button-text); box-shadow: 0 10px 24px color-mix(in srgb, var(--jc-primary) 28%, transparent); }
.jc-btn-secondary { background: var(--jc-secondary); color: #fff; }
.jc-btn-light,
.jc-btn-quiet { border: 1px solid var(--jc-border); background: var(--jc-surface); color: var(--jc-text); }

/* Split hero inspired by the approved reference while retaining JolieChops data and navigation. */
.jc-zesty-hero {
  position: relative;
  display: grid;
  min-height: 570px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 42px;
  isolation: isolate;
}

.jc-zesty-hero::before,
.jc-zesty-hero::after {
  position: absolute;
  z-index: -1;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--jc-accent);
  content: "";
}

.jc-zesty-hero::before { top: 9%; left: 48%; }
.jc-zesty-hero::after { right: 1%; bottom: 18%; width: 7px; height: 7px; }
.jc-zesty-hero-copy { position: relative; z-index: 2; max-width: 600px; }
.jc-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 17px; }
.jc-hero-outlet-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--jc-border); border-radius: 999px; padding: 7px 11px; background: color-mix(in srgb, var(--jc-surface) 94%, transparent); color: var(--jc-muted); font-size: .76rem; font-weight: 800; }
.jc-hero-outlet-pill i { color: var(--jc-primary); }
.jc-zesty-hero-copy h1 { margin: 0 0 18px; color: var(--jc-text); font-size: clamp(3rem, 5.45vw, 5.65rem); line-height: .96; letter-spacing: -.055em; }
.jc-hero-highlight { color: var(--jc-primary); }
.jc-zesty-hero-copy > p { max-width: 510px; margin: 0; color: var(--jc-muted); font-size: 1.05rem; line-height: 1.75; }
.jc-home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.jc-social-proof { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--jc-text); font-size: .9rem; }
.jc-social-dots { display: flex; padding-left: 8px; }
.jc-social-dots i { width: 30px; height: 30px; margin-left: -8px; border: 3px solid var(--jc-surface); border-radius: 50%; background: linear-gradient(135deg, var(--jc-primary), var(--jc-accent)); }

.jc-zesty-hero-visual { position: relative; min-height: 520px; }
.jc-hero-image-wrap {
  position: absolute;
  inset: 8px 22px 18px 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 48% 52% 42% 58% / 52% 42% 58% 48%;
  background: color-mix(in srgb, var(--jc-primary) 11%, var(--jc-surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jc-primary) 9%, transparent);
}

.jc-hero-image-wrap::before { position: absolute; inset: 10%; border: 1px dashed color-mix(in srgb, var(--jc-primary) 30%, transparent); border-radius: 50%; content: ""; }
.jc-hero-image-wrap picture,
.jc-hero-image-wrap img { width: 100%; height: 100%; }
.jc-hero-image-wrap img { position: relative; z-index: 1; object-fit: cover; object-position: center; }
.jc-hero-placeholder { position: relative; z-index: 1; display: grid; width: 180px; height: 180px; place-items: center; border-radius: 50%; background: var(--jc-surface); color: var(--jc-primary); font-size: 4.2rem; box-shadow: 0 20px 50px rgba(38, 24, 15, .12); }
.jc-hero-decor { position: absolute; z-index: 2; display: grid; width: 38px; height: 38px; place-items: center; color: var(--jc-primary); font-size: 1.25rem; transform: rotate(-14deg); }
.jc-hero-decor-one { top: 6%; left: 2%; }
.jc-hero-decor-two { right: 2%; top: 25%; color: var(--jc-accent); transform: rotate(18deg); }
.jc-hero-facts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

.jc-hero-fact {
  position: absolute;
  display: flex;
  max-width: 245px;
  align-items: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--jc-border) 65%, transparent);
  border-radius: 17px;
  padding: 13px 16px;
  background: color-mix(in srgb, var(--jc-surface) 96%, transparent);
  box-shadow: 0 15px 40px rgba(43, 30, 22, .13);
  backdrop-filter: blur(10px);
  color: var(--jc-muted);
  font-size: .75rem;
  pointer-events: auto;
}

.jc-hero-fact > i { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--jc-primary) 12%, var(--jc-surface)); color: var(--jc-primary); }
.jc-hero-fact span,
.jc-hero-fact strong { display: block; }
.jc-hero-fact strong { margin-top: 3px; color: var(--jc-text); font-size: .88rem; line-height: 1.25; }
.jc-hero-fact-delivery { left: -2px; bottom: 18%; }
.jc-hero-fact-offer { right: -2px; bottom: 7%; }

.jc-benefit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.jc-benefit-row article { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 16px; padding: 28px 28px 24px; text-align: center; }
.jc-benefit-row article + article { border-left: 1px solid var(--jc-border); }
.jc-benefit-icon { position: relative; display: grid; width: 82px; height: 82px; place-items: center; border-radius: 32% 68% 55% 45% / 43% 39% 61% 57%; background: color-mix(in srgb, var(--jc-primary) 10%, var(--jc-surface)); color: var(--jc-primary); font-size: 1.8rem; transform: rotate(-3deg); }
.jc-benefit-icon i { transform: rotate(3deg); }
.jc-benefit-copy strong { color: var(--jc-text); font-size: 1.02rem; }
.jc-benefit-copy p { max-width: 250px; margin: 7px auto 0; color: var(--jc-muted); font-size: .86rem; line-height: 1.6; }

.jc-category-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.jc-category-rail > a { display: flex; min-width: 0; flex-direction: column; align-items: stretch; gap: 11px; overflow: hidden; border: 1px solid var(--jc-border); border-radius: 20px; padding: 9px 9px 14px; background: var(--jc-surface); color: var(--jc-text); text-align: left; box-shadow: 0 8px 22px rgba(42, 26, 14, .05); }
.jc-category-thumb { display: grid; width: 100%; aspect-ratio: 1 / .78; place-items: center; overflow: hidden; border-radius: 15px; background: color-mix(in srgb, var(--jc-primary) 8%, var(--jc-surface)); color: var(--jc-primary); font-size: 1.35rem; }
.jc-category-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jc-category-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; padding: 0 4px; }
.jc-category-copy strong { overflow: hidden; color: var(--jc-text); font-size: .88rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.jc-category-copy small { color: var(--jc-muted); font-size: .69rem; }

.jc-menu-showcase { display: block; }
.jc-menu-showcase.has-categories { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 22px; align-items: stretch; }
.jc-menu-categories { display: flex; flex-direction: column; gap: 8px; }
.jc-menu-categories a,
.jc-menu-categories button { display: flex; width: 100%; min-height: 45px; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 10px 15px; background: transparent; color: var(--jc-text); font: inherit; font-size: .88rem; font-weight: 700; text-align: left; cursor: pointer; }
.jc-menu-categories a.is-active,
.jc-menu-categories a:hover,
.jc-menu-categories button.is-active,
.jc-menu-categories button:hover { background: var(--jc-primary); color: var(--jc-button-text); }
.jc-menu-categories i { width: 20px; text-align: center; }

.jc-product-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.jc-home-product,
.jc-cross-card { position: relative; overflow: hidden; border: 1px solid var(--jc-border); border-radius: 20px; background: var(--jc-surface); box-shadow: 0 12px 32px rgba(42, 26, 14, .08); }
.jc-home-product[hidden] { display: none !important; }
.jc-home-product-media-wrap,
.jc-menu-product-media-wrap { position: relative; }
.jc-home-product-media { display: grid; height: 245px; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--jc-primary) 7%, var(--jc-surface)); }
.jc-home-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.jc-home-product:hover .jc-home-product-media img { transform: scale(1.045); }
.jc-home-product-media > span { color: var(--jc-primary); font-size: 2.4rem; }
.jc-product-favourite { position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid color-mix(in srgb, var(--jc-border) 75%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--jc-surface) 94%, transparent); color: var(--jc-text); box-shadow: 0 8px 20px rgba(42, 26, 14, .12); backdrop-filter: blur(8px); cursor: pointer; }
.jc-product-favourite.is-active { border-color: color-mix(in srgb, var(--jc-primary) 35%, var(--jc-border)); color: var(--jc-primary); }
.jc-menu-favourite { top: 12px; right: 12px; }
.jc-home-product-body { padding: 16px; }
.jc-home-product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jc-product-badge { color: var(--jc-primary); font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.jc-product-availability { display: inline-flex; align-items: center; gap: 5px; color: var(--jc-muted); font-size: .66rem; font-weight: 750; }
.jc-product-availability i { font-size: .38rem; }
.jc-product-availability.is-available { color: var(--jc-success); }
.jc-product-availability.is-unavailable { color: var(--jc-danger); }
.jc-home-product-body h3 { margin: 7px 0 5px; color: var(--jc-text); font-size: 1.05rem; }
.jc-home-product-body h3 a { color: inherit; }
.jc-home-product-body > p { height: 38px; overflow: hidden; margin: 0 0 12px; color: var(--jc-muted); font-size: .8rem; line-height: 1.5; }
.jc-home-product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jc-home-product-footer > strong { color: var(--jc-text); font-size: 1.08rem; }
.jc-home-product-actions { display: flex; align-items: center; gap: 8px; }
.jc-product-order { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 13px; background: var(--jc-primary); color: var(--jc-button-text); font: inherit; font-size: .76rem; font-weight: 800; cursor: pointer; }
.jc-product-order:disabled,
.jc-product-order.is-disabled { opacity: .58; cursor: not-allowed; }

.jc-promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.jc-promo-grid article,
.jc-custom-banner { min-height: 220px; border: 1px solid var(--jc-border); border-radius: 24px; padding: 34px; background: color-mix(in srgb, var(--jc-success) 8%, var(--jc-surface)); }
.jc-promo-grid article:nth-child(even) { background: color-mix(in srgb, var(--jc-primary) 8%, var(--jc-surface)); }
.jc-promo-grid article > span,
.jc-cross-card > span { color: var(--jc-primary); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jc-promo-grid article a { display: inline-block; margin-top: 20px; color: var(--jc-primary); font-weight: 800; }
.jc-cross-card { min-height: 200px; padding: 24px; }
.jc-cross-card h3 { margin: 18px 0; }
.jc-custom-banner { background-position: center; background-size: cover; }
.jc-custom-banner > div { max-width: 560px; }

.jc-testimonial-stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 52px; }
.jc-testimonial-visual { position: relative; display: grid; min-height: 365px; place-items: center; overflow: hidden; border-radius: 50% 50% 18% 18%; background: color-mix(in srgb, var(--jc-primary) 12%, var(--jc-surface)); }
.jc-testimonial-visual img { width: 100%; height: 100%; object-fit: cover; }
.jc-testimonial-visual > span { display: grid; width: 140px; height: 140px; place-items: center; border-radius: 50%; background: var(--jc-surface); color: var(--jc-primary); font-size: 3.5rem; }
.jc-testimonial-content { max-width: 560px; }
.jc-testimonial-list { margin-top: 24px; }
.jc-testimonial-list blockquote { display: none; margin: 0; border: 0; padding: 0; }
.jc-testimonial-list blockquote.is-active { display: block; }
.jc-testimonial-list blockquote > p { margin: 0 0 18px; color: var(--jc-text); font-size: 1.04rem; line-height: 1.65; }
.jc-testimonial-list footer { display: flex; align-items: center; gap: 11px; }
.jc-testimonial-list footer img,
.jc-testimonial-list footer > span:first-child { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--jc-primary) 10%, var(--jc-surface)); object-fit: cover; color: var(--jc-primary); }
.jc-stars { margin-left: auto; color: var(--jc-warning); font-size: .77rem; }
.jc-testimonial-controls { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.jc-testimonial-controls button { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--jc-border); border-radius: 50%; background: var(--jc-surface); color: var(--jc-text); cursor: pointer; }
.jc-testimonial-controls button:last-child { border-color: var(--jc-primary); background: var(--jc-primary); color: var(--jc-button-text); }

.jc-pwa-promo { display: grid; min-height: 330px; grid-template-columns: 1fr 1fr; align-items: center; gap: 25px; overflow: hidden; border: 1px solid var(--jc-border); border-radius: 30px; padding: 42px 50px; background: color-mix(in srgb, var(--jc-primary) 7%, var(--jc-surface)); }
.jc-pwa-copy { max-width: 520px; }
.jc-pwa-copy > p { margin-bottom: 22px; line-height: 1.65; }
.jc-pwa-visual { align-self: stretch; display: grid; place-items: end center; }
.jc-pwa-visual picture,
.jc-pwa-visual img { max-width: 100%; height: 100%; max-height: 330px; object-fit: contain; }
.jc-pwa-visual > span { display: grid; width: 170px; height: 250px; place-items: center; border: 9px solid var(--jc-text); border-radius: 28px; background: var(--jc-surface); color: var(--jc-primary); font-size: 4rem; box-shadow: 0 24px 55px rgba(42, 26, 14, .16); }

.jc-home-empty { padding: 100px 0; text-align: center; }
.jc-home-empty i { color: var(--jc-primary); font-size: 3rem; }
.jc-hide-desktop { display: none !important; }

@media (max-width: 991px) {
  .jc-zesty-hero { min-height: 490px; grid-template-columns: 1fr 1fr; gap: 22px; }
  .jc-zesty-hero-copy h1 { font-size: clamp(2.7rem, 6vw, 4.2rem); }
  .jc-zesty-hero-visual { min-height: 435px; }
  .jc-hero-fact { max-width: 195px; padding: 10px 12px; }
  .jc-menu-showcase.has-categories { grid-template-columns: 125px minmax(0, 1fr); }
  .jc-product-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jc-category-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .jc-config-home { padding-bottom: 82px; }
  .jc-home-section { padding: 30px 0; }
  .jc-home-hero-section { padding-top: 8px; }
  .jc-zesty-hero { display: flex; min-height: 0; flex-direction: column; gap: 24px; }
  .jc-zesty-hero-copy { order: 1; width: 100%; text-align: left; }
  .jc-hero-meta { margin-bottom: 13px; }
  .jc-zesty-hero-copy h1 { font-size: clamp(2.45rem, 11.5vw, 3.55rem); line-height: .99; }
  .jc-zesty-hero-copy > p { font-size: .94rem; line-height: 1.6; }
  .jc-zesty-hero-visual { order: 2; width: 100%; min-height: 0; }
  .jc-hero-image-wrap { position: relative; inset: auto; width: calc(100% - 10px); height: 345px; margin: 0 auto; }
  .jc-hero-decor { display: none; }
  .jc-hero-facts { position: relative; inset: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: -18px; padding: 0 8px; }
  .jc-hero-fact { position: relative; inset: auto; width: 100%; max-width: none; min-width: 0; padding: 10px 11px; font-size: .66rem; }
  .jc-hero-fact > i { width: 34px; height: 34px; flex-basis: 34px; }
  .jc-hero-fact strong { font-size: .76rem; }
  .jc-home-actions { margin-top: 20px; }
  .jc-home-actions .jc-btn { flex: 1 1 auto; }
  .jc-social-proof { margin-top: 20px; }
  .jc-home-heading { align-items: center; }
  .jc-home-heading > a { font-size: .78rem; }
  .jc-home-heading h2,
  .jc-testimonial-content h2,
  .jc-pwa-copy h2 { font-size: 1.8rem; }
  .jc-benefit-row { display: flex; overflow-x: auto; gap: 12px; padding: 2px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .jc-benefit-row article { flex: 0 0 78%; scroll-snap-align: start; border: 1px solid var(--jc-border) !important; border-radius: 22px; background: var(--jc-surface); box-shadow: 0 10px 24px rgba(42, 26, 14, .05); }
  .jc-benefit-icon { width: 76px; height: 76px; }
  .jc-category-rail,
  .jc-product-rail { display: flex; overflow-x: auto; gap: 12px; padding: 2px 2px 12px; scroll-snap-type: x mandatory; }
  .jc-category-rail > a { flex: 0 0 112px; scroll-snap-align: start; }
  .jc-menu-showcase.has-categories { display: block; }
  .jc-menu-categories { flex-direction: row; overflow-x: auto; gap: 8px; margin: 0 0 15px; padding-bottom: 4px; }
  .jc-menu-categories a,
  .jc-menu-categories button { flex: 0 0 auto; width: auto; min-height: 40px; padding: 8px 14px; }
  .jc-home-product,
  .jc-cross-card { flex: 0 0 78%; scroll-snap-align: start; }
  .jc-home-product-media { height: 235px; }
  .jc-promo-grid { grid-template-columns: 1fr; }
  .jc-promo-grid article,
  .jc-custom-banner { min-height: 190px; padding: 25px; }
  .jc-testimonial-stage { display: block; }
  .jc-testimonial-visual { min-height: 300px; margin-bottom: 26px; }
  .jc-testimonial-content { max-width: none; }
  .jc-testimonial-list footer { flex-wrap: wrap; }
  .jc-stars { width: 100%; margin: 2px 0 0 53px; }
  .jc-pwa-promo { min-height: 0; grid-template-columns: 1fr; padding: 30px 24px 0; }
  .jc-pwa-copy { padding-bottom: 10px; }
  .jc-pwa-visual { min-height: 235px; }
  .jc-pwa-visual picture,
  .jc-pwa-visual img { max-height: 250px; }
  .jc-pwa-visual > span { width: 130px; height: 205px; font-size: 3rem; }
  .jc-hide-desktop { display: block !important; }
  .jc-hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .jc-hide-desktop { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .jc-btn,
  .jc-home-product-media img { transition: none; }
}

/* Patch 2 shared product-card controls */
.jc-menu-product-media-wrap .jc-menu-rating { right: auto; left: 12px; }
button.jc-menu-add-button { border: 0; font: inherit; cursor: pointer; }

/* Patch 3: company-governed hero/banner carousel presentations */
.jc-hero-carousel {
  position: relative;
  width: 100%;
  touch-action: pan-y;
}
.jc-hero-slides { position: relative; }
.jc-hero-slide {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--jc-border) 82%, transparent);
  border-radius: var(--jc-hero-radius);
  background: color-mix(in srgb, var(--jc-surface) 96%, var(--jc-background));
  box-shadow: 0 18px 55px rgba(42, 26, 14, .07);
}
.jc-hero-slide .jc-zesty-hero { padding: clamp(24px, 3vw, 36px); }
.jc-hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}
.jc-hero-arrows { display: flex; gap: 8px; }
.jc-hero-arrows button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--jc-border);
  border-radius: 50%;
  background: var(--jc-surface);
  color: var(--jc-text);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(42, 26, 14, .06);
}
.jc-hero-arrows button:hover { border-color: var(--jc-primary); color: var(--jc-primary); }
.jc-hero-dots { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.jc-hero-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: color-mix(in srgb, var(--jc-muted) 35%, transparent);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.jc-hero-dots button.is-active { width: 24px; background: var(--jc-primary); }

.jc-hero-presentation-wide-rounded .jc-zesty-hero { min-height: 420px; gap: 30px; }
.jc-hero-presentation-wide-rounded .jc-zesty-hero-visual { min-height: 350px; }
.jc-hero-presentation-wide-rounded .jc-zesty-hero-copy { max-width: 520px; }
.jc-hero-presentation-wide-rounded .jc-hero-meta { margin-bottom: 12px; }
.jc-hero-presentation-wide-rounded .jc-zesty-hero-copy h1 { margin-bottom: 14px; font-size: clamp(2.35rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.045em; }
.jc-hero-presentation-wide-rounded .jc-zesty-hero-copy > p { max-width: 470px; font-size: .95rem; line-height: 1.55; }
.jc-hero-presentation-wide-rounded .jc-home-actions { margin-top: 18px; gap: 10px; }
.jc-hero-presentation-wide-rounded .jc-home-actions .jc-btn { min-height: 42px; padding: 10px 18px; }
.jc-hero-presentation-wide-rounded .jc-social-proof { margin-top: 18px; gap: 10px; font-size: .84rem; }
.jc-hero-presentation-wide-rounded .jc-social-dots i { width: 26px; height: 26px; border-width: 2px; }
.jc-hero-presentation-wide-rounded .jc-hero-fact { max-width: 210px; gap: 9px; border-radius: 15px; padding: 9px 11px; font-size: .7rem; }
.jc-hero-presentation-wide-rounded .jc-hero-fact > i { width: 34px; height: 34px; flex-basis: 34px; }
.jc-hero-presentation-wide-rounded .jc-hero-fact strong { margin-top: 2px; font-size: .82rem; }
.jc-hero-presentation-wide-rounded .jc-hero-image-wrap {
  inset: 0 8px 0 14px;
  border-radius: max(14px, calc(var(--jc-hero-radius) - 8px));
}
.jc-hero-presentation-wide-rounded .jc-hero-image-wrap::before { display: none; }

.jc-hero-presentation-promo-cards .jc-zesty-hero {
  min-height: 430px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 30px;
}
.jc-hero-presentation-promo-cards .jc-zesty-hero-copy h1 { font-size: clamp(2.35rem, 4.3vw, 4.25rem); }
.jc-hero-presentation-promo-cards .jc-zesty-hero-visual { min-height: 370px; }
.jc-hero-presentation-promo-cards .jc-hero-image-wrap {
  inset: 0;
  border-radius: max(12px, calc(var(--jc-hero-radius) - 8px));
}
.jc-hero-presentation-promo-cards .jc-hero-image-wrap::before { display: none; }

.jc-hero-presentation-square-tiles .jc-zesty-hero {
  min-height: 490px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 38px;
}
.jc-hero-presentation-square-tiles .jc-zesty-hero-visual {
  display: grid;
  min-height: 0;
  place-items: center;
}
.jc-hero-presentation-square-tiles .jc-hero-image-wrap {
  position: relative;
  inset: auto;
  width: min(100%, 440px);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: max(12px, calc(var(--jc-hero-radius) - 8px));
}
.jc-hero-presentation-square-tiles .jc-hero-image-wrap::before { display: none; }
.jc-hero-presentation-square-tiles .jc-hero-facts { width: min(100%, 440px); left: 50%; transform: translateX(-50%); }

@media (max-width: 991px) {
  .jc-hero-presentation-wide-rounded .jc-zesty-hero,
  .jc-hero-presentation-promo-cards .jc-zesty-hero,
  .jc-hero-presentation-square-tiles .jc-zesty-hero { min-height: 0; grid-template-columns: 1fr 1fr; }
  .jc-hero-presentation-promo-cards .jc-zesty-hero-visual { min-height: 390px; }
}

@media (max-width: 767px) {
  .jc-hero-slide { border-radius: var(--jc-hero-radius); }
  .jc-hero-slide .jc-zesty-hero { padding: 18px 16px 16px; }
  .jc-hero-presentation-wide-rounded .jc-zesty-hero,
  .jc-hero-presentation-promo-cards .jc-zesty-hero,
  .jc-hero-presentation-square-tiles .jc-zesty-hero { display: flex; gap: 20px; }
  .jc-hero-presentation-wide-rounded .jc-hero-image-wrap,
  .jc-hero-presentation-promo-cards .jc-hero-image-wrap,
  .jc-hero-presentation-square-tiles .jc-hero-image-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: none;
    margin: 0;
    border-radius: max(10px, calc(var(--jc-hero-radius) - 8px));
  }
  .jc-hero-presentation-wide-rounded .jc-zesty-hero-copy h1 { margin-bottom: 11px; font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.02; }
  .jc-hero-presentation-wide-rounded .jc-zesty-hero-copy > p { font-size: .9rem; line-height: 1.5; }
  .jc-hero-presentation-wide-rounded .jc-home-actions { margin-top: 15px; }
  .jc-hero-presentation-wide-rounded .jc-social-proof { margin-top: 15px; font-size: .8rem; }
  .jc-hero-presentation-wide-rounded .jc-hero-image-wrap { aspect-ratio: 16 / 9; }
  .jc-hero-presentation-promo-cards .jc-hero-image-wrap { aspect-ratio: 4 / 3; }
  .jc-hero-presentation-square-tiles .jc-hero-image-wrap { aspect-ratio: 1 / 1; }
  .jc-hero-presentation-square-tiles .jc-hero-facts { width: auto; left: auto; transform: none; }
  .jc-hero-carousel-controls { padding: 0 2px; }
  .jc-hero-arrows button { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .jc-hero-dots button { transition: none; }
}

/* Patch 3D: mobile hero reflow */
@media (max-width: 767px) {
  .jc-hero-slide .jc-zesty-hero {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .jc-zesty-hero-copy,
  .jc-zesty-hero-visual {
    display: contents;
  }

  .jc-hero-meta {
    order: 1;
    width: 100%;
    margin: 0 0 8px;
  }

  .jc-zesty-hero-copy h1 {
    order: 2;
    width: 100%;
    margin: 0 0 9px;
    font-size: clamp(1.9rem, 8.6vw, 2.55rem);
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  .jc-zesty-hero-copy > p {
    order: 3;
    width: 100%;
    max-width: none;
    margin: 0 0 14px;
    font-size: .88rem;
    line-height: 1.48;
  }

  .jc-hero-image-wrap {
    order: 4;
    width: 100%;
    margin: 0 0 10px;
  }

  .jc-hero-facts {
    order: 5;
    position: relative;
    inset: auto;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
    margin-bottom: 12px;
    padding: 0;
  }

  .jc-hero-fact {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 54px;
    gap: 8px;
    border-radius: 13px;
    padding: 8px 9px;
    font-size: .64rem;
  }

  .jc-hero-fact > i {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: .64rem;
  }

  .jc-hero-fact strong {
    margin-top: 2px;
    font-size: .73rem;
    line-height: 1.2;
  }

  .jc-home-actions {
    order: 6;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 0;
  }

  .jc-home-actions .jc-btn {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    padding: 10px 14px;
    text-align: center;
  }

  .jc-social-proof {
    order: 7;
    width: 100%;
    margin-top: 12px;
    font-size: .76rem;
  }

  .jc-hero-decor {
    display: none;
  }

  .jc-hero-carousel-controls {
    justify-content: center;
    margin-top: 10px;
    padding: 0;
  }

  .jc-hero-arrows {
    display: none;
  }

  .jc-hero-dots {
    justify-content: center;
    margin: 0 auto;
  }
}

@media (max-width: 380px) {
  .jc-hero-facts {
    grid-template-columns: 1fr;
  }
}

/* Patch 3E: mobile homepage hierarchy alignment */
@media (max-width: 767px) {
  .jc-config-home {
    display: flex;
    flex-direction: column;
  }

  .jc-home-hero-section { order: 10; padding: 8px 0 12px; }
  .jc-home-categories { order: 20; padding: 12px 0 14px; }
  .jc-home-products { order: 30; padding: 18px 0; }
  .jc-home-promotions { order: 40; padding: 14px 0; }
  .jc-home-cross-outlet { order: 45; padding: 14px 0; }
  .jc-home-benefits { order: 50; padding: 16px 0; }
  .jc-home-testimonials { order: 60; }
  .jc-home-pwa-promo { order: 70; }
  .jc-home-custom,
  .jc-home-footer { order: 80; }

  /* Image-led mobile hero, matching the approved compact food-app pattern. */
  .jc-hero-slide .jc-zesty-hero {
    position: relative;
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 0;
    padding: 0;
  }

  .jc-zesty-hero-copy,
  .jc-zesty-hero-visual {
    display: contents;
  }

  .jc-hero-image-wrap {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    z-index: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 0;
    border-radius: max(14px, calc(var(--jc-hero-radius) - 6px));
  }

  .jc-hero-image-wrap::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(12, 10, 9, .78) 0%, rgba(12, 10, 9, .56) 34%, rgba(12, 10, 9, .12) 64%, rgba(12, 10, 9, .02) 74%, rgba(12, 10, 9, 0) 100%);
    content: "";
    pointer-events: none;
  }

  .jc-hero-meta {
    position: relative;
    grid-area: 1 / 1;
    z-index: 4;
    align-self: start;
    justify-self: start;
    margin: 14px 14px 0;
  }

  .jc-hero-meta .jc-home-kicker {
    margin: 0;
    border-radius: 999px;
    padding: 6px 9px;
    background: var(--jc-primary);
    color: var(--jc-button-text);
    font-size: .61rem;
    letter-spacing: .08em;
  }

  .jc-hero-outlet-pill { display: none; }

  .jc-zesty-hero-copy h1 {
    position: relative;
    grid-area: 1 / 1;
    z-index: 4;
    align-self: start;
    justify-self: start;
    width: min(50%, 200px);
    margin: 54px 14px 0;
    overflow: hidden;
    color: #fff;
    font-size: clamp(1.2rem, 5.4vw, 1.55rem);
    line-height: 1;
    letter-spacing: -.035em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .jc-hero-highlight { color: var(--jc-primary); }

  .jc-zesty-hero-copy > p {
    position: relative;
    grid-area: 1 / 1;
    z-index: 4;
    align-self: start;
    justify-self: start;
    width: min(48%, 188px);
    margin: 116px 14px 0;
    overflow: hidden;
    color: rgba(255,255,255,.88);
    font-size: .64rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .jc-hero-facts { display: none; }
  .jc-social-proof { display: none; }

  .jc-home-actions {
    position: relative;
    grid-area: 1 / 1;
    z-index: 4;
    align-self: end;
    justify-self: start;
    display: flex;
    width: auto;
    margin: 0 14px 16px;
  }

  .jc-home-actions .jc-btn {
    width: auto;
    min-height: 34px;
    padding: 7px 12px;
    font-size: .7rem;
  }

  .jc-home-actions .jc-btn-quiet { display: none; }

  .jc-hero-carousel-controls {
    position: absolute;
    z-index: 6;
    right: 0;
    bottom: 12px;
    left: 0;
    justify-content: center;
    margin: 0;
    pointer-events: none;
  }

  .jc-hero-dots {
    margin: 0 auto;
    pointer-events: auto;
  }

  .jc-hero-dots button {
    width: 7px;
    height: 7px;
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.78);
  }

  .jc-hero-dots button.is-active {
    width: 18px;
    background: var(--jc-primary);
  }

  /* Categories become a compact food-app icon rail immediately under the hero. */
  .jc-home-categories .jc-home-heading { display: none; }
  .jc-category-rail {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 14px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .jc-category-rail::-webkit-scrollbar { display: none; }

  .jc-category-rail > a {
    flex: 0 0 76px;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    scroll-snap-align: start;
  }

  .jc-category-thumb {
    width: 64px;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--jc-border);
    border-radius: 18px;
    background: var(--jc-surface);
    box-shadow: 0 6px 16px rgba(42, 26, 14, .06);
  }

  .jc-category-copy {
    align-items: center;
    width: 76px;
    padding: 0;
  }

  .jc-category-copy strong {
    width: 100%;
    font-size: .7rem;
    text-align: center;
  }

  .jc-category-copy small { display: none; }

  /* Popular Picks: compact horizontal cards, no duplicated category pill rail. */
  .jc-home-products .jc-home-heading {
    margin-bottom: 12px;
    padding: 0 14px;
  }

  .jc-home-products .jc-home-heading h2 { font-size: 1.45rem; }
  .jc-home-products .jc-home-heading p { display: none; }
  .jc-home-products .jc-home-heading > a { font-size: .72rem; }
  .jc-home-products .jc-menu-categories { display: none; }

  .jc-home-products .jc-product-rail {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 14px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .jc-home-products .jc-product-rail::-webkit-scrollbar { display: none; }

  .jc-home-product,
  .jc-cross-card {
    flex: 0 0 58%;
    max-width: 220px;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  .jc-home-product-media { height: 150px; }
  .jc-product-favourite { top: 8px; right: 8px; width: 32px; height: 32px; }
  .jc-home-product-body { padding: 11px; }
  .jc-home-product-meta { gap: 5px; }
  .jc-product-badge { font-size: .58rem; }
  .jc-product-availability { font-size: .56rem; }
  .jc-home-product-body h3 { margin: 6px 0 4px; font-size: .88rem; line-height: 1.22; }
  .jc-home-product-body > p {
    height: 32px;
    margin-bottom: 8px;
    font-size: .68rem;
    line-height: 1.35;
  }
  .jc-home-product-footer > strong { font-size: .9rem; }
  .jc-product-order { min-height: 31px; padding: 6px 10px; font-size: .66rem; }

  /* Promotions read as a compact banner rail after Popular Picks. */
  .jc-home-promotions .jc-home-heading,
  .jc-home-cross-outlet .jc-home-heading {
    margin-bottom: 10px;
    padding: 0 14px;
  }

  .jc-home-promotions .jc-home-heading h2,
  .jc-home-cross-outlet .jc-home-heading h2 { font-size: 1.35rem; }

  .jc-promo-grid,
  .jc-home-cross-outlet .jc-product-rail {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 14px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .jc-promo-grid::-webkit-scrollbar,
  .jc-home-cross-outlet .jc-product-rail::-webkit-scrollbar { display: none; }

  .jc-promo-grid article {
    flex: 0 0 88%;
    min-height: 145px;
    border-radius: 18px;
    padding: 20px;
    scroll-snap-align: start;
  }

  /* Benefits become the compact service-assurance strip near the bottom. */
  .jc-home-benefits .jc-home-heading { display: none; }
  .jc-benefit-row {
    display: grid;
    overflow: visible;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 0 12px;
    scroll-snap-type: none;
  }

  .jc-benefit-row article {
    min-width: 0;
    gap: 7px;
    border: 0 !important;
    border-radius: 14px;
    padding: 10px 5px;
    background: color-mix(in srgb, var(--jc-surface) 96%, var(--jc-background));
    box-shadow: none;
  }

  .jc-benefit-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: .9rem;
  }

  .jc-benefit-copy strong {
    display: block;
    font-size: .65rem;
    line-height: 1.2;
  }

  .jc-benefit-copy p {
    display: none;
  }
}

@media (max-width: 380px) {
  .jc-hero-meta { margin: 10px 10px 0; }
  .jc-hero-meta .jc-home-kicker { padding: 5px 7px; font-size: .52rem; letter-spacing: .06em; }
  .jc-zesty-hero-copy h1 {
    width: min(44%, 148px);
    margin: 44px 10px 0;
    font-size: clamp(1.02rem, 4.8vw, 1.15rem);
    line-height: 1;
    -webkit-line-clamp: 3;
  }
  .jc-zesty-hero-copy > p { display: none; }
  .jc-home-actions { margin: 0 10px 10px; }
  .jc-home-actions .jc-btn { min-height: 30px; padding: 6px 10px; font-size: .64rem; }
  .jc-category-rail > a { flex-basis: 72px; }
  .jc-category-copy { width: 72px; }
  .jc-category-thumb { width: 60px; }
  .jc-home-product { flex-basis: 64%; }
}

/* Patch 3H: designed banner image mode */
.jc-hero-slide-designed { background: transparent; }
.jc-designed-banner,
.jc-designed-banner-link,
.jc-designed-banner picture { display: block; width: 100%; }
.jc-designed-banner { overflow: hidden; border-radius: inherit; }
.jc-designed-banner-link { color: inherit; text-decoration: none; }
.jc-designed-banner img { display: block; width: 100%; height: auto; object-fit: contain; }
.jc-designed-banner .jc-hero-placeholder { min-height: 220px; border-radius: inherit; }
@media (max-width: 767px) {
  .jc-hero-slide-designed { border-radius: var(--jc-hero-radius); }
  .jc-designed-banner img { width: 100%; height: auto; object-fit: contain; }
}

/* Patch 4A: coherent mobile storefront composition */
@media (max-width: 767px) {
  /* Scope the app-like composition to the homepage only. */
  .jc-homepage-page .jc-config-home {
    padding-bottom: 78px;
  }

  .jc-homepage-page .jc-config-home .jc-home-section {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .jc-homepage-page .jc-home-hero-section {
    padding: 6px 0 8px;
  }

  /* Designed artwork is the hero on mobile: no artificial height or crop. */
  .jc-homepage-page .jc-hero-slide-designed,
  .jc-homepage-page .jc-designed-banner,
  .jc-homepage-page .jc-designed-banner-link,
  .jc-homepage-page .jc-designed-banner picture {
    width: 100%;
  }

  .jc-homepage-page .jc-designed-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: max(14px, calc(var(--jc-hero-radius) - 8px));
  }

  .jc-homepage-page .jc-hero-carousel-controls {
    bottom: 7px;
  }

  .jc-homepage-page .jc-hero-dots button {
    width: 6px;
    height: 6px;
  }

  .jc-homepage-page .jc-hero-dots button.is-active {
    width: 16px;
  }

  /* Compact category rail: image first, label below, several choices visible. */
  .jc-homepage-page .jc-home-categories {
    padding: 8px 0 6px;
  }

  .jc-homepage-page .jc-home-categories .jc-home-heading {
    display: none;
  }

  .jc-homepage-page .jc-category-rail {
    gap: 8px;
    padding: 2px 12px 6px;
  }

  .jc-homepage-page .jc-category-rail > a {
    flex: 0 0 64px;
    gap: 5px;
  }

  .jc-homepage-page .jc-category-thumb {
    width: 56px;
    height: 56px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }

  .jc-homepage-page .jc-category-copy {
    width: 64px;
  }

  .jc-homepage-page .jc-category-copy strong {
    font-size: .64rem;
    line-height: 1.15;
  }

  /* Popular Picks: about two cards plus a partial next card on common phones. */
  .jc-homepage-page .jc-home-products {
    padding: 10px 0 12px;
  }

  .jc-homepage-page .jc-home-products .jc-home-heading {
    margin-bottom: 8px;
    padding: 0 12px;
  }

  .jc-homepage-page .jc-home-products .jc-home-heading .jc-home-kicker {
    margin-bottom: 4px;
    font-size: .62rem;
  }

  .jc-homepage-page .jc-home-products .jc-home-heading h2 {
    margin-bottom: 0;
    font-size: 1.28rem;
  }

  .jc-homepage-page .jc-home-products .jc-home-heading > a {
    font-size: .68rem;
  }

  .jc-homepage-page .jc-home-products .jc-product-rail {
    gap: 8px;
    padding: 2px 12px 8px;
  }

  .jc-homepage-page .jc-home-product {
    flex: 0 0 46%;
    max-width: 168px;
    border-radius: 15px;
  }

  .jc-homepage-page .jc-home-product-media {
    height: 112px;
  }

  .jc-homepage-page .jc-home-product-media > span {
    font-size: 1.65rem;
  }

  .jc-homepage-page .jc-product-favourite {
    top: 7px;
    right: 7px;
    width: 29px;
    height: 29px;
  }

  .jc-homepage-page .jc-home-product-body {
    padding: 9px;
  }

  .jc-homepage-page .jc-product-badge,
  .jc-homepage-page .jc-product-availability {
    font-size: .52rem;
  }

  .jc-homepage-page .jc-home-product-body h3 {
    min-height: 30px;
    margin: 5px 0 3px;
    overflow: hidden;
    font-size: .78rem;
    line-height: 1.18;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .jc-homepage-page .jc-home-product-body > p {
    height: 28px;
    margin-bottom: 6px;
    font-size: .61rem;
    line-height: 1.25;
  }

  .jc-homepage-page .jc-home-product-footer {
    gap: 5px;
  }

  .jc-homepage-page .jc-home-product-footer > strong {
    font-size: .78rem;
    white-space: nowrap;
  }

  .jc-homepage-page .jc-product-order {
    min-height: 28px;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: .59rem;
    white-space: nowrap;
  }

  /* Offers are short swipeable merchandising cards beneath Popular Picks. */
  .jc-homepage-page .jc-home-promotions,
  .jc-homepage-page .jc-home-cross-outlet {
    padding: 8px 0 10px;
  }

  .jc-homepage-page .jc-home-promotions .jc-home-heading,
  .jc-homepage-page .jc-home-cross-outlet .jc-home-heading {
    margin-bottom: 7px;
    padding: 0 12px;
  }

  .jc-homepage-page .jc-home-promotions .jc-home-heading h2,
  .jc-homepage-page .jc-home-cross-outlet .jc-home-heading h2 {
    font-size: 1.15rem;
  }

  .jc-homepage-page .jc-home-promotions .jc-home-heading p,
  .jc-homepage-page .jc-home-cross-outlet .jc-home-heading p {
    display: none;
  }

  .jc-homepage-page .jc-promo-grid,
  .jc-homepage-page .jc-home-cross-outlet .jc-product-rail {
    gap: 8px;
    padding: 2px 12px 6px;
  }

  .jc-homepage-page .jc-promo-grid article,
  .jc-homepage-page .jc-cross-card {
    flex: 0 0 84%;
    min-height: 108px;
    border-radius: 16px;
    padding: 15px;
  }

  /* Service assurances are a compact app-style strip. */
  .jc-homepage-page .jc-home-benefits {
    padding: 8px 0 10px;
  }

  .jc-homepage-page .jc-home-benefits .jc-home-heading {
    display: none;
  }

  .jc-homepage-page .jc-home-benefits .jc-benefit-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 0 10px;
  }

  .jc-homepage-page .jc-home-benefits .jc-benefit-row article {
    gap: 5px;
    min-height: 78px;
    border: 1px solid color-mix(in srgb, var(--jc-border) 70%, transparent) !important;
    border-radius: 13px;
    padding: 8px 4px;
  }

  .jc-homepage-page .jc-home-benefits .jc-benefit-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: .78rem;
  }

  .jc-homepage-page .jc-home-benefits .jc-benefit-copy strong {
    font-size: .58rem;
    line-height: 1.15;
  }

  .jc-homepage-page .jc-home-benefits .jc-benefit-copy p {
    display: none;
  }

  /* PWA install is a secondary compact prompt, not a dominant page section. */
  .jc-homepage-page .jc-home-pwa-promo {
    padding: 8px 0 14px;
  }

  .jc-homepage-page .jc-home-pwa-promo .jc-pwa-promo {
    display: block;
    min-height: 0;
    margin: 0 10px;
    border-radius: 18px;
    padding: 15px 16px;
  }

  .jc-homepage-page .jc-home-pwa-promo .jc-pwa-copy {
    max-width: none;
    padding: 0;
  }

  .jc-homepage-page .jc-home-pwa-promo .jc-pwa-copy .jc-home-kicker {
    margin-bottom: 4px;
    font-size: .58rem;
  }

  .jc-homepage-page .jc-home-pwa-promo .jc-pwa-copy h2 {
    margin-bottom: 4px;
    font-size: 1.05rem;
  }

  .jc-homepage-page .jc-home-pwa-promo .jc-pwa-copy > p {
    margin: 0 0 10px;
    font-size: .69rem;
    line-height: 1.35;
  }

  .jc-homepage-page .jc-home-pwa-promo .jc-btn {
    min-height: 32px;
    padding: 6px 11px;
    font-size: .66rem;
  }

  .jc-homepage-page .jc-home-pwa-promo .jc-pwa-visual {
    display: none;
  }

  /* The bottom app navigation replaces the desktop-style footer on homepage mobile. */
  .jc-homepage-page .jc-footer {
    display: none;
  }
}

@media (max-width: 380px) {
  .jc-homepage-page .jc-home-product {
    flex-basis: 48%;
  }

  .jc-homepage-page .jc-category-rail > a {
    flex-basis: 62px;
  }

  .jc-homepage-page .jc-category-thumb {
    width: 54px;
    height: 54px;
  }
}

/* Patch 4B: mobile designed-banner 16:9 proportion */
@media (max-width: 767px) {
  .jc-homepage-page .jc-hero-slide-designed {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: min(var(--jc-hero-radius), 22px);
  }

  .jc-homepage-page .jc-hero-slide-designed .jc-designed-banner,
  .jc-homepage-page .jc-hero-slide-designed .jc-designed-banner-link,
  .jc-homepage-page .jc-hero-slide-designed .jc-designed-banner picture {
    width: 100%;
    height: 100%;
  }

  .jc-homepage-page .jc-designed-banner {
    height: 100%;
    border-radius: inherit;
  }

  .jc-homepage-page .jc-designed-banner img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
  }

  .jc-homepage-page .jc-hero-carousel-controls {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 8;
    margin: 0;
  }
}
