:root {
  --ink: #241821;
  --muted: #756873;
  --paper: #fffaf6;
  --soft: #f7ece8;
  --wine: #360719;
  --wine-2: #6e1531;
  --rose: #e51c73;
  --gold: #c99a44;
  --green: #247149;
  --line: rgba(36, 24, 33, 0.12);
  --shadow: 0 22px 70px rgba(54, 7, 25, 0.18);
  --card-shadow: 0 14px 40px rgba(54, 7, 25, 0.06);
  --serif: Georgia, "Noto Serif TC", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Sans TC",
    "Microsoft JhengHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}
body.is-locked {
  overflow: hidden;
}
.dancing-chili-home #moderncart-floating-cart,
.dancing-chili-home #moderncart-slide-out-modal,
.dancing-chili-home #moderncart-slide-out {
  display: none !important;
}
body.admin-bar .site-header {
  top: 32px;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
main,
section[id] {
  scroll-margin-top: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 246, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-lockup img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.brand-lockup strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.1;
}
.brand-lockup small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
}
.site-nav a,
.nav-link {
  border: 0;
  background: transparent;
  color: #3d303b;
  font-size: 0.92rem;
  font-weight: 700;
}
.site-nav a:hover,
.nav-link:hover {
  color: var(--rose);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--wine);
}

.cart-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--rose);
  box-shadow: 0 14px 36px rgba(229, 28, 115, 0.28);
}
.cart-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cart-button span {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-section {
  position: relative;
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(66px, 8vw, 108px) clamp(20px, 6vw, 84px) clamp(42px, 6vw, 72px);
  overflow: hidden;
  color: #fff;
  background: var(--wine);
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(28, 0, 18, 0.94), rgba(104, 14, 45, 0.8)),
    url("../images/founder-in-the-restaurant-kitchen.webp") center / cover
      no-repeat;
  filter: saturate(1.05);
}
.hero-content,
.hero-product {
  position: relative;
  z-index: 1;
}
.hero-content {
  max-width: 660px;
}

.hero-logo-mark {
  width: clamp(112px, 11vw, 168px);
  margin: 0 0 18px;
}
.hero-logo-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
}
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffd9e7;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Noto Serif TC", "Times New Roman", serif;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}
h1 {
  font-size: clamp(4.2rem, 9vw, 8.4rem);
  line-height: 0.92;
}
.hero-copy {
  max-width: 540px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 1.7vw, 1.48rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

/*
 * Astra's generic link styles can turn CTA anchors back into display:block.
 * Keep every homepage CTA as a flex container so both axes stay centered.
 */
body.dancing-chili-home .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.25 !important;
}

body.dancing-chili-home :is(
  .filter-pill,
  .store-tab,
  .product-actions button,
  .media-card button,
  .press-card button,
  .video-card button,
  .store-card button,
  .related-product button
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.button:hover {
  transform: translateY(-1px);
}
.button.primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 16px 38px rgba(229, 28, 115, 0.26);
}
.button.ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.intro-item {
  padding: 28px clamp(20px, 4vw, 48px);
  background: #fff;
}
.intro-item span {
  color: var(--rose);
  font-weight: 900;
}
.intro-item strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
}
.intro-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-shell,
.video-section {
  padding: 82px clamp(20px, 6vw, 84px);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-heading h2,
.video-copy h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.9rem);
  line-height: 1.02;
}
.video-copy h2 {
  font-size: clamp(2.25rem, 3.6vw, 3.7rem);
}
.section-heading p:not(.section-kicker),
.video-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-toolbar,
.store-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.filter-pill,
.store-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}
.filter-pill.is-active,
.store-tab.is-active {
  border-color: var(--rose);
  background: rgba(229, 28, 115, 0.09);
  color: var(--rose);
}

.product-grid,
.media-grid,
.store-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.product-card,
.media-card,
.store-card,
.video-card,
.faq-item,
.checkout-form,
.order-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--card-shadow);
}
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center center;
  background: var(--soft);
}
.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.product-body h3 {
  font-size: 1.65rem;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.product-meta span,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(229, 28, 115, 0.08);
  color: var(--wine-2);
  font-size: 0.78rem;
  font-weight: 900;
}
.product-description {
  color: var(--muted);
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: auto 0 14px;
  padding-top: 14px;
}
.price {
  color: var(--rose);
  font-size: 1.25rem;
  font-weight: 900;
}
.regular-price {
  color: #a99aa4;
  font-weight: 800;
  text-decoration: line-through;
}
.stock {
  margin-left: auto;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}
.stock.out {
  color: var(--muted);
}
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.product-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.gallery-card > div > button,
.original-card > div > button,
.media-card > div > button,
.press-card > div > button,
.video-card > div > button,
.store-card > button,
.related-products button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
}
.product-actions button:last-child {
  border-color: var(--rose);
  background: var(--rose);
  color: #fff;
}

.story-section {
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}
.timeline-item {
  padding: 18px;
  border-top: 3px solid var(--rose);
  background: rgba(255, 255, 255, 0.7);
}
.timeline-item strong {
  display: block;
}
.timeline-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.media-card,
.store-card,
.video-card {
  overflow: hidden;
}
.media-card img,
.video-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center center;
  background: #fff;
}
.media-card div,
.store-card,
.video-card div {
  padding: 18px;
}
.media-card strong,
.video-card strong,
.store-card strong {
  display: block;
  font-size: 1.08rem;
}
.media-card p,
.video-card p,
.store-card p {
  color: var(--muted);
}

.video-section {
  display: grid;
  grid-template-columns: minmax(240px, 390px) minmax(0, 1fr);
  gap: 34px;
  background: #241821;
  color: #fff;
}
.video-copy p {
  color: rgba(255, 255, 255, 0.72);
}
.video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
}
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.checkout-form,
.order-summary {
  padding: 22px;
}
.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.checkout-form label {
  display: grid;
  gap: 6px;
  color: #3d303b;
  font-weight: 900;
}
.checkout-form label:nth-child(4),
.checkout-form label:nth-child(5),
.checkout-form label:nth-child(6),
.checkout-form button,
.notice-note {
  grid-column: 1 / -1;
}
input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}
.notice-note {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 0;
  background: #fff;
  text-align: left;
  font-weight: 900;
}
.faq-item p {
  display: none;
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}
.faq-item.is-open p {
  display: block;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 28px;
  padding: 42px clamp(20px, 6vw, 84px);
  background: #170712;
  color: #fff;
}
.site-footer img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 10px;
}
.site-footer p {
  color: rgba(255, 255, 255, 0.64);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-self: start;
  align-items: center;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 10px;
}
.site-footer button,
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 8px 12px;
  font: inherit;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
.copyright {
  grid-column: 1 / -1;
  margin: 0;
}

.cart-drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}
.cart-drawer.is-open,
.modal.is-open {
  display: block;
}
.drawer-backdrop,
.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 7, 18, 0.62);
  backdrop-filter: blur(8px);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100%;
  overflow: auto;
  padding: 22px;
  background: var(--paper);
  box-shadow: -26px 0 70px rgba(0, 0, 0, 0.24);
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--wine);
  font-size: 1.35rem;
  font-weight: 900;
}
.cart-line {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-line-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.quantity-control button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-weight: 900;
}
.cart-totals {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
}
.cart-totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.free-ship {
  color: var(--rose);
  font-weight: 900;
}

.drawer-free-shipping {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.drawer-free-shipping .free-ship {
  margin: 0;
  line-height: 1.45;
}

.drawer-free-shipping-track {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(74, 7, 39, 0.1);
}

.drawer-free-shipping-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--rose);
  transition: width 220ms ease;
}

.drawer-free-shipping.is-reached .drawer-free-shipping-track i {
  width: 100% !important;
}
.drawer-actions {
  display: grid;
  gap: 10px;
}

.drawer-actions [data-clear-cart] {
  border-color: rgba(74, 7, 39, 0.18);
  color: var(--wine);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}
.drawer-actions [data-clear-cart]:hover {
  border-color: rgba(229, 28, 115, 0.34);
  color: var(--rose);
  background: rgba(255, 246, 250, 0.98);
}
.drawer-actions [data-clear-cart]:disabled {
  opacity: 0.75;
  color: rgba(74, 7, 39, 0.56);
  background: rgba(255, 250, 246, 0.82);
}

.modal-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(920px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  z-index: 2;
}
.product-modal-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
}
.product-modal-content img {
  height: auto;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.text-modal-panel,
.account-panel {
  padding: 30px;
}
.text-modal-panel p,
.account-panel p {
  color: var(--muted);
}
.account-form {
  display: grid;
  gap: 14px;
}

/* Homepage extensions */
.hero-content h1 {
  font-size: clamp(5.4rem, 10vw, 9.4rem);
  line-height: 0.88;
}
.hero-slogan {
  margin: 18px 0 0;
  color: #ffd9e7;
  font-family: Georgia, "Noto Serif TC", "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  font-weight: 900;
}
.hero-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.06)
  );
  box-shadow: var(--shadow);
}
.hero-slides {
  position: relative;
}
.hero-slide {
  display: none;
}
.hero-slide.is-active {
  display: block;
  animation: heroFade 0.45s ease both;
}
@keyframes heroFade {
  from {
    opacity: 0.35;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-slide-image {
  display: grid;
  place-items: center;
  padding: 18px 18px 0;
  background: radial-gradient(
    circle at 50% 35%,
    rgba(255, 255, 255, 0.16),
    transparent 58%
  );
}
.hero-slide-image img {
  width: 100%;
  max-height: 430px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center center;
}
.hero-slide-body {
  padding: 22px 26px 26px;
  background: rgba(39, 4, 26, 0.52);
}
.hero-slide-body .section-kicker {
  color: #ffd9e7;
}
.hero-slide-body h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1;
}
.hero-slide-body p {
  color: rgba(255, 255, 255, 0.82);
}
.hero-slide-body strong {
  display: block;
  color: #fff;
  font-size: 1.18rem;
}
.hero-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hero-slide-actions .button {
  min-height: 42px;
}
.button:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.carousel-arrow {
  position: absolute;
  top: 42%;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(31, 5, 22, 0.46);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}
.carousel-arrow.prev {
  left: 14px;
}
.carousel-arrow.next {
  right: 14px;
}
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}
.hero-dots button.is-active {
  width: 22px;
  background: var(--rose);
}
.about-section {
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}
.about-hero,
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.about-hero {
  margin-bottom: 46px;
}
.about-hero h2,
.about-block h2 {
  font-size: clamp(2.4rem, 4.3vw, 4.2rem);
  line-height: 1;
}
.about-hero p,
.about-story-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}
.about-hero-image,
.award-card,
.gallery-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--card-shadow);
}
.about-hero-image img,
.award-card img,
.gallery-card img {
  width: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: #fff;
}
.about-hero-image img {
  height: auto;
  object-position: center top;
}
.award-card img {
  height: auto;
  aspect-ratio: 4 / 3;
}
.gallery-card img {
  height: auto;
  max-height: none;
}
.about-hero-image figcaption {
  padding: 14px 16px;
  color: var(--muted);
}
.about-story-grid {
  align-items: stretch;
}
.about-story-grid article,
.principle-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}
.principle-grid,
.award-grid,
.story-gallery {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.principle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.principle-card span {
  display: block;
  color: var(--rose);
  font-weight: 900;
}
.principle-card p,
.award-card p,
.gallery-card p {
  color: var(--muted);
}
.about-block {
  margin-top: 64px;
}
.founder-section {
  margin-top: 54px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.88),
      rgba(255, 250, 246, 0.74)
    ),
    radial-gradient(circle at 90% 0%, rgba(229, 28, 115, 0.12), transparent 34%);
}
.founder-section .section-heading {
  max-width: 840px;
  margin-bottom: 30px;
}
.founder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.founder-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}
.founder-grid span {
  color: var(--rose);
  font-weight: 900;
}
.founder-grid p {
  color: var(--muted);
}
.timeline-rich {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.award-grid,
.story-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.award-card div,
.gallery-card div {
  padding: 18px;
}
.award-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--rose);
  font-weight: 900;
}
.award-card strong,
.gallery-card strong {
  display: block;
  font-size: 1.08rem;
}
.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 52px;
}
.heading-line {
  display: block;
}
.originals-section {
  background: #fffaf6;
}
.originals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.original-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--card-shadow);
}
.original-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center center;
  background: #fff;
}
.original-card div {
  padding: 18px;
}
.original-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}
.original-card p {
  color: var(--muted);
}
.press-report-section {
  margin-top: 72px;
}
.compact-heading {
  max-width: 840px;
}
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.press-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--card-shadow);
}
.press-card > button:first-child {
  display: block;
  width: 100%;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fffaf6;
  cursor: pointer;
}
.press-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  background: #fff;
}
.press-card div {
  padding: 18px;
}
.press-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}
.press-card p {
  color: var(--muted);
}
.button.ghost.dark {
  border-color: var(--line);
  color: var(--wine);
  background: rgba(255, 255, 255, 0.66);
}
.media-card button,
.video-card button,
.gallery-card button,
.press-card div button,
.store-card button,
.original-card button {
  min-height: 38px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--wine);
  font-weight: 900;
}
.media-card button:hover,
.video-card button:hover,
.gallery-card button:hover,
.press-card div button:hover,
.store-card button:hover,
.original-card button:hover {
  border-color: var(--rose);
  color: var(--rose);
}
.store-card span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(229, 28, 115, 0.08);
  color: var(--wine-2);
  font-size: 0.78rem;
  font-weight: 900;
}
.checkout-address {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.checkout-address label,
.checkout-address button,
.checkout-address .notice-note,
.checkout-address .form-alert {
  grid-column: auto;
}
.checkout-address .full,
.checkout-address button,
.checkout-address .notice-note,
.checkout-address .form-alert {
  grid-column: 1 / -1;
}
.checkout-address textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.form-alert {
  margin: 0 0 4px;
  padding: 12px 14px;
  border: 1px solid rgba(229, 28, 115, 0.22);
  border-radius: 8px;
  background: rgba(229, 28, 115, 0.07);
  color: var(--wine-2);
  font-weight: 900;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.product-detail-grid section {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.product-detail-grid h3 {
  font-size: 1.05rem;
}
.related-products {
  margin-top: 24px;
}
.related-products button {
  min-height: 34px;
  margin: 8px 8px 0 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
}
.detail-image {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  object-position: center center;
  border-radius: 8px;
  background: #fff;
}
.detail-image--press {
  max-height: min(76vh, 980px);
  border: 1px solid var(--line);
}
.store-detail-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.store-detail-list p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

/* Mobile hero and header assets */
.hero-copy-mobile,
.hero-slogan-mobile,
.mobile-header-wordmark-img {
  display: none;
}

.hero-slogan-line {
  display: inline;
}

.story-intro-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.story-intro-grid article {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.story-intro-grid h3,
.story-chapters h3 {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
}
.story-chapter-block {
  margin-top: 64px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(79, 12, 35, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(
      circle at 88% 6%,
      rgba(229, 28, 115, 0.12),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 248, 244, 0.82)
    );
  box-shadow: 0 18px 48px rgba(54, 7, 25, 0.06);
}
.story-chapters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.story-chapters article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(79, 12, 35, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}
.story-chapters span {
  display: block;
  margin-bottom: 10px;
  color: var(--rose);
  font-weight: 900;
  letter-spacing: 0.08em;
}
.story-chapters p {
  color: var(--muted);
}
.founder-spirit-section {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 250, 246, 0.76)
    ),
    radial-gradient(circle at 10% 0%, rgba(229, 28, 115, 0.12), transparent 34%);
}

/* Keyboard focus and reduced-motion support */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

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

/* Long machine-translated labels must be allowed to shrink and wrap. */
html.translated-ltr .dancing-chili-home :is(h1, h2, h3),
html.translated-rtl .dancing-chili-home :is(h1, h2, h3),
html.translated-ltr .product-actions button,
html.translated-rtl .product-actions button {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

html.translated-ltr .product-actions,
html.translated-rtl .product-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.translated-ltr .product-actions button,
html.translated-rtl .product-actions button {
  white-space: normal;
}

/* Responsive layout; nearby breakpoints stay separate where tablet and mobile behavior differs. */
/* Content cards begin condensing before the main tablet layout. */
@media (max-width: 1180px) {
  .story-intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Preserve the desktop navigation on tablets without crowding labels. */
@media (min-width: 761px) and (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(8px, 1.4vw, 16px);
    min-height: 66px;
    padding: 8px clamp(12px, 2vw, 22px);
  }

  .brand-lockup {
    gap: 0;
  }

  .brand-lockup > img:not(.mobile-header-wordmark-img) {
    width: clamp(42px, 5vw, 48px);
    height: clamp(42px, 5vw, 48px);
  }

  .brand-lockup span {
    display: none;
  }

  .site-nav {
    min-width: 0;
    gap: clamp(7px, 1.15vw, 14px);
  }

  .site-nav a,
  .nav-link {
    font-size: clamp(0.7rem, 1.25vw, 0.84rem);
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
  }

  html.translated-ltr .site-nav,
  html.translated-rtl .site-nav {
    min-width: 0;
    gap: clamp(4px, 0.75vw, 9px);
  }

  html.translated-ltr .site-nav > :is(a, .nav-link, .dc-hybrid-language),
  html.translated-rtl .site-nav > :is(a, .nav-link, .dc-hybrid-language) {
    min-width: 0;
  }

  html.translated-ltr .site-nav a,
  html.translated-rtl .site-nav a,
  html.translated-ltr .site-nav .nav-link,
  html.translated-rtl .site-nav .nav-link {
    font-size: clamp(0.64rem, 1vw, 0.76rem);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  html.translated-ltr .site-nav .dc-language-toggle,
  html.translated-rtl .site-nav .dc-language-toggle {
    gap: 5px;
    padding-inline: 2px;
    font-size: clamp(0.64rem, 1vw, 0.76rem);
  }

  .cart-button {
    width: clamp(42px, 5vw, 48px);
    height: clamp(42px, 5vw, 48px);
  }

  .cart-button svg {
    width: 22px;
    height: 22px;
  }
}
/* Standard tablet layout. */
@media (max-width: 1040px) {
  .video-section,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: clamp(3.4rem, 8vw, 4.6rem);
    line-height: 0.98;
  }
  .product-grid,
  .media-grid,
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }
  .hero-content {
    max-width: 760px;
  }
  .hero-content h1 {
    font-size: clamp(4.4rem, 12vw, 7rem);
    line-height: 0.92;
  }
  .hero-product {
    width: min(100%, 640px);
    max-width: none;
  }
  .principle-grid,
  .founder-grid,
  .timeline-rich,
  .award-grid,
  .story-gallery,
  .press-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Keep the desktop-style hero while the rest of the page uses tablet columns. */
@media (min-width: 900px) and (max-width: 1180px) {
  .hero-section {
    grid-template-columns: minmax(360px, 0.9fr) minmax(320px, 0.82fr);
    gap: clamp(24px, 4vw, 42px);
    min-height: calc(100svh - 78px);
    padding: 52px clamp(32px, 5vw, 58px);
  }
  .hero-content {
    max-width: none;
  }
  .hero-content h1 {
    font-size: clamp(4.1rem, 6vw, 5.2rem);
    line-height: 0.96;
    white-space: nowrap;
  }
  .hero-slogan {
    font-size: clamp(1.28rem, 2.2vw, 1.75rem);
  }
  .hero-copy {
    max-width: 520px;
    font-size: 1.05rem;
  }
  .hero-slide-image img {
    max-height: 390px;
  }
  .hero-slide-body h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
  }
}
/* Narrow tablet layout; the mobile header begins below 761px. */
@media (min-width: 761px) and (max-width: 899px) {
  .hero-section {
    padding-top: 58px;
  }
  .hero-content h1 {
    white-space: nowrap;
  }
  .about-hero-image img,
  .award-card img,
  .gallery-card img,
  .media-card img,
  .video-card img,
  .original-card img {
    height: auto;
    object-fit: contain;
    object-position: center center;
    background: #fff;
  }
  .about-hero-image img {
    object-position: center top;
  }
  .about-hero,
  .about-story-grid {
    grid-template-columns: 1fr;
  }
  .originals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Story sections stack slightly before the full mobile layout. */
@media (max-width: 767px) {
  .story-intro-grid,
  .story-chapters {
    grid-template-columns: 1fr;
  }
  .story-chapter-block {
    margin-top: 42px;
    padding: 20px;
    border-radius: 10px;
  }
  .story-chapters article {
    padding: 18px;
  }
  .story-chapters p,
  .story-intro-grid p {
    font-size: 0.98rem;
    line-height: 1.85;
  }
}
/* Full mobile navigation and single-column content. */
@media (max-width: 760px) {
  main,
  section[id] {
    scroll-margin-top: 78px;
  }

  .site-header {
    grid-template-columns: auto auto auto;
    padding: 10px 14px;
  }

  .brand-lockup img {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 14px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 246, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .nav-link {
    min-height: 42px;
    text-align: left;
  }

  .cart-button {
    width: 46px;
    height: 46px;
  }

  .hero-section {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: visible;
    padding: max(42px, env(safe-area-inset-top)) 18px 40px;
  }

  .hero-media {
    background:
      linear-gradient(100deg, rgba(28, 0, 18, 0.8), rgba(104, 14, 45, 0.62)),
      url("../images/founder-in-the-restaurant-kitchen.webp") 100% center /
        118% auto no-repeat;
    filter: saturate(1.08) contrast(1.02);
  }

  .hero-content {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-content .eyebrow,
  .hero-content h1,
  .hero-copy-desktop,
  .hero-slogan-desktop,
  .hero-product,
  .hero-carousel,
  .intro-band {
    display: none !important;
  }

  .hero-logo-mark {
    width: clamp(92px, 27vw, 116px);
    margin: 0 auto 20px;
  }

  .hero-slogan {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(1.5rem, 6.5vw, 1.92rem);
    line-height: 1.18;
    letter-spacing: 0.02em;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  }

  .hero-slogan-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    white-space: nowrap;
  }

  .hero-copy {
    max-width: none;
    margin-top: 13px;
    font-size: clamp(0.95rem, 4vw, 1.08rem);
    line-height: 1.35;
    letter-spacing: 0.08em;
    opacity: 0.92;
    white-space: nowrap;
  }

  .hero-copy-mobile {
    display: inline-block;
    white-space: nowrap;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 24px;
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 50px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 1.06rem;
  }

  h1 {
    font-size: clamp(3.05rem, 13vw, 4.15rem);
  }

  .intro-band,
  .product-grid,
  .media-grid,
  .store-grid,
  .video-grid,
  .timeline,
  .checkout-form,
  .product-modal-content,
  .site-footer,
  .about-hero,
  .about-story-grid,
  .principle-grid,
  .founder-grid,
  .timeline-rich,
  .award-grid,
  .story-gallery,
  .press-grid,
  .checkout-address,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .section-shell,
  .video-section {
    padding: 56px 16px;
  }

  body:not(.mobile-section-mode) .mobile-secondary-section,
  body:not(.mobile-section-mode) .intro-band,
  body.mobile-section-mode .mobile-home-section,
  body.mobile-section-mode .intro-band {
    display: none !important;
  }

  body.mobile-section-mode .mobile-secondary-section {
    display: none !important;
  }

  body.mobile-section-mode .mobile-secondary-section.is-active-mobile-section {
    display: block !important;
  }

  body.mobile-section-mode .site-footer {
    margin-top: 0;
  }

  .section-heading h2,
  .video-copy h2,
  .about-hero h2,
  .about-block h2 {
    font-size: clamp(2.05rem, 9.2vw, 3rem);
    line-height: 1.08;
  }

  .heading-line {
    display: block;
  }

  .originals-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-image img,
  .award-card img,
  .gallery-card img,
  .media-card img,
  .video-card img,
  .original-card img {
    object-fit: contain;
    object-position: center center;
    background: #fff;
  }

  .about-hero-image img {
    object-position: center top;
  }

  .product-actions,
  .checkout-form label,
  .checkout-form button,
  .notice-note,
  .checkout-address label,
  .checkout-address button,
  .checkout-address .notice-note,
  .checkout-address .form-alert,
  .checkout-address .full {
    grid-column: auto;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .founder-section {
    padding: 22px;
  }

  .press-card img {
    max-height: none;
  }

  .about-story-grid article,
  .principle-card {
    padding: 18px;
  }

  .product-modal-content img {
    object-fit: contain;
    background: #fff;
  }

  .store-detail-list p {
    display: grid;
    gap: 4px;
  }
}

/* Compact phone header and two-column product cards. */
@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    gap: 0;
    min-height: 64px;
    padding: 10px 18px;
  }

  .menu-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 4px;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 1.4px;
    margin: 0;
    border-radius: 999px;
    background: var(--wine);
  }

  .brand-lockup {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    gap: 0;
    text-align: center;
  }

  .brand-lockup > img:not(.mobile-header-wordmark-img),
  .brand-lockup span {
    display: none !important;
  }

  .brand-lockup .mobile-header-wordmark-img {
    display: block;
    width: auto;
    height: clamp(48px, 13vw, 56px);
    max-width: min(calc(100vw - 152px), 220px);
  }

  .cart-button {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
  }

  .cart-button svg {
    width: 24px;
    height: 24px;
    transform: translateX(-1px);
  }

  .site-nav {
    top: 100%;
  }

  #products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #products .product-card {
    min-width: 0;
  }

  #products .product-card > img {
    border-radius: 7px 7px 0 0;
  }

  #products [data-mobile-open-product] {
    cursor: pointer;
  }

  #products [data-mobile-open-product]:focus-visible {
    outline: 2px solid var(--rose);
    outline-offset: 3px;
  }

  #products .product-body {
    min-width: 0;
    padding: 12px;
  }

  #products .product-body h3 {
    display: -webkit-box;
    min-height: 2.7em;
    margin: 0;
    overflow: hidden;
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
    line-height: 1.35;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #products .product-description,
  #products .product-meta,
  #products .stock {
    display: none;
  }

  #products .price-row {
    flex-wrap: wrap;
    gap: 3px 7px;
    margin: auto 0 10px;
    padding-top: 8px;
  }

  #products .price {
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
    line-height: 1.2;
  }

  #products .regular-price {
    font-size: 0.76rem;
    line-height: 1.2;
  }

  #products .product-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 6px;
    margin-top: 1px;
  }

  #products .product-actions button {
    min-width: 0;
    min-height: 39px;
    padding: 8px 3px;
    border-radius: 7px;
    font-size: clamp(0.68rem, 3vw, 0.78rem);
    line-height: 1.15;
    letter-spacing: 0;
    white-space: nowrap;
  }

  #products .product-actions [data-open-product] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #products .product-actions [data-add-cart] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
}

/* Keep machine-translated story copy inside the mobile content column. */
@media (max-width: 760px) {
  html.translated-ltr .hero-section,
  html.translated-rtl .hero-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  html.translated-ltr .hero-content,
  html.translated-rtl .hero-content {
    min-width: 0;
    width: 100%;
    max-width: 360px;
  }

  html.translated-ltr
    :is(.hero-slogan, .hero-slogan-mobile, .hero-copy, .hero-copy-mobile),
  html.translated-rtl
    :is(.hero-slogan, .hero-slogan-mobile, .hero-copy, .hero-copy-mobile) {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  html.translated-ltr
    :is(.hero-slogan, .hero-copy)
    :is(span, font),
  html.translated-rtl
    :is(.hero-slogan, .hero-copy)
    :is(span, font) {
    max-width: 100%;
    white-space: inherit;
  }

  html.translated-ltr .hero-slogan,
  html.translated-rtl .hero-slogan {
    font-size: clamp(1.28rem, 5.8vw, 1.72rem);
    line-height: 1.28;
  }

  html.translated-ltr .hero-actions,
  html.translated-rtl .hero-actions {
    width: 100%;
  }

  html.translated-ltr .hero-actions .button,
  html.translated-rtl .hero-actions .button {
    min-width: 0;
    flex: 1 1 132px;
    padding-inline: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  html.translated-ltr .cart-line,
  html.translated-rtl .cart-line {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  html.translated-ltr
    :is(.cart-line > *, .cart-line-top > *, .cart-totals div > *),
  html.translated-rtl
    :is(.cart-line > *, .cart-line-top > *, .cart-totals div > *) {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  html.translated-ltr .cart-line-top,
  html.translated-rtl .cart-line-top,
  html.translated-ltr .cart-totals div,
  html.translated-rtl .cart-totals div {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  html.translated-ltr .story-intro-grid,
  html.translated-rtl .story-intro-grid,
  html.translated-ltr .story-chapters,
  html.translated-rtl .story-chapters {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }

  html.translated-ltr .story-chapter-block,
  html.translated-rtl .story-chapter-block,
  html.translated-ltr .story-intro-grid > article,
  html.translated-rtl .story-intro-grid > article,
  html.translated-ltr .story-chapters > article,
  html.translated-rtl .story-chapters > article {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  html.translated-ltr .story-chapter-block,
  html.translated-rtl .story-chapter-block {
    overflow: hidden;
  }

  html.translated-ltr .story-intro-grid :is(h2, h3, p, span, font),
  html.translated-rtl .story-intro-grid :is(h2, h3, p, span, font),
  html.translated-ltr .story-chapter-block :is(h2, h3, p, span, font),
  html.translated-rtl .story-chapter-block :is(h2, h3, p, span, font) {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 380px) {
  .hero-actions .button,
  .hero-slide-actions .button {
    flex: 1 1 0;
    width: auto;
  }

  .section-heading h2,
  .video-copy h2,
  .about-hero h2,
  .about-block h2 {
    font-size: clamp(1.9rem, 8.7vw, 2.55rem);
  }
  .hero-content h1 {
    font-size: clamp(2.95rem, 13.2vw, 3.45rem);
  }

  .hero-actions .button {
    padding: 0 14px;
    font-size: 1rem;
  }

  .hero-slogan {
    font-size: clamp(1.38rem, 6.2vw, 1.72rem);
  }

  .site-header {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    padding-inline: 16px;
  }

  .brand-lockup .mobile-header-wordmark-img {
    height: clamp(44px, 13vw, 52px);
    max-width: min(calc(100vw - 144px), 204px);
  }

  .menu-toggle span {
    width: 19px;
  }
}
