/* ZIBASA screens: home, product cards, rails, banners, magazine cards. */

/* ---------- Tone helpers (soft semantic washes) ---------- */
.zb-ui .zb-tone-icon--peach,
.zb-ui .zb-orb--peach {
  background: #fde6d4;
  color: #c2560b;
}
.zb-ui .zb-tone-icon--mint,
.zb-ui .zb-orb--mint {
  background: #ddf1e2;
  color: #2f8a4c;
}
.zb-ui .zb-tone-icon--lilac,
.zb-ui .zb-orb--lilac {
  background: #ece2fb;
  color: #7c4fe0;
}
.zb-ui .zb-tone-icon--blue,
.zb-ui .zb-orb--blue {
  background: #e0ecfc;
  color: #3f7fe0;
}
.zb-ui .zb-tone-icon--yellow,
.zb-ui .zb-orb--yellow {
  background: #fdf0c9;
  color: #b9810b;
}
.zb-ui .zb-tone-icon--pink,
.zb-ui .zb-orb--pink {
  background: #fbe1e6;
  color: #c84a63;
}
.zb-ui .zb-orb--cream {
  background: #f7efe2;
  color: #9b7a43;
}
.zb-ui .zb-tone-wash--peach {
  background: linear-gradient(160deg, #fff6ef, #fdeadc);
}
.zb-ui .zb-tone-wash--mint {
  background: linear-gradient(160deg, #f5fbf4, #e3f3e5);
}
.zb-ui .zb-tone-wash--lilac {
  background: linear-gradient(160deg, #faf6ff, #eee5fb);
}
.zb-ui .zb-tone-wash--yellow {
  background: linear-gradient(160deg, #fffbee, #fbf0cf);
}
.zb-ui .zb-tone-wash--blue {
  background: linear-gradient(160deg, #f6f9ff, #e3edfc);
}
.zb-ui .zb-tone-wash--pink {
  background: linear-gradient(160deg, #fff7f8, #fbe3e8);
}

/* ---------- Progress bar ---------- */
.zb-ui .zb-progress {
  background: #efe8e1;
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
  width: 100%;
}
.zb-ui .zb-progress > span {
  background: linear-gradient(270deg, #f9a25d, #f27a24);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 420ms var(--zb-ease-out);
  width: var(--zb-progress, 0%);
}

/* ---------- Product card ---------- */
.zb-ui .zb-product-card {
  background: var(--zb-color-white);
  border: 1px solid rgba(233, 226, 218, 0.75);
  border-radius: 22px;
  box-shadow: var(--zb-shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition:
    transform var(--zb-motion-normal) var(--zb-ease-out),
    box-shadow var(--zb-motion-normal);
}
.zb-ui .zb-product-card:hover {
  box-shadow: 0 14px 34px rgba(76, 57, 39, 0.1);
  transform: translateY(-2px);
}
.zb-ui .zb-product-card__media {
  aspect-ratio: 1 / 1;
  background: transparent;
  display: block;
  margin: 8px 8px 0;
  overflow: hidden;
  border-radius: 16px;
}
.zb-ui .zb-product-card__media img {
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  width: 100%;
}
.zb-ui .zb-product-card__fav {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(76, 57, 39, 0.08);
  color: var(--zb-color-text);
  display: inline-flex;
  height: 34px;
  inset-inline-end: 16px;
  justify-content: center;
  position: absolute;
  top: 16px;
  width: 34px;
}
.zb-ui .zb-product-card__fav .zb-icon {
  height: 18px;
  width: 18px;
}
.zb-ui .zb-product-card__fav[aria-pressed='true'] {
  color: #e2577a;
}
.zb-ui .zb-icon--filled {
  fill: currentColor;
}
.zb-ui .zb-product-card__flag {
  background: #fbe1e6;
  border-radius: 999px;
  color: #9c2f45;
  font-size: 0.7rem;
  font-weight: 700;
  inset-inline-start: 16px;
  padding: 2px 10px;
  position: absolute;
  top: 18px;
}
.zb-ui .zb-product-card.is-out .zb-product-card__media img {
  opacity: 0.55;
}
.zb-ui .zb-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px 12px;
}
.zb-ui .zb-product-card__name {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.55;
  margin: 0;
}
.zb-ui .zb-product-card__name a {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: inherit;
  display: -webkit-box;
  overflow: hidden;
  text-decoration: none;
}
.zb-ui .zb-product-card__brand {
  color: #8d857d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.zb-ui .zb-product-card__desc {
  color: var(--zb-color-text-secondary);
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zb-ui .zb-product-card__foot {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}
.zb-ui .zb-product-card__price {
  color: #b9520a;
  font-size: 0.85rem;
  font-weight: 800;
}
.zb-ui .zb-product-card__price del {
  color: #9b948d;
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
}
.zb-ui .zb-product-card__price ins {
  text-decoration: none;
}
.zb-ui .zb-product-card__add {
  align-items: center;
  background: linear-gradient(160deg, #f9a25d, #f27a24);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(242, 122, 36, 0.28);
  color: var(--zb-color-white);
  display: inline-flex;
  flex: none;
  height: 36px;
  justify-content: center;
  transition: transform var(--zb-motion-fast) var(--zb-ease-out);
  width: 36px;
}
.zb-ui .zb-product-card__add:active {
  transform: scale(0.9);
}
.zb-ui .zb-product-card__add.loading {
  opacity: 0.6;
}
.zb-ui .zb-product-card__add.added::after,
.zb-ui .added_to_cart {
  display: none;
}
.zb-ui .zb-product-card__add .zb-icon {
  height: 20px;
  width: 20px;
}

/* ---------- Home ---------- */
.zb-ui .zb-home {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 6px;
}
.zb-ui .zb-home-section__lead {
  color: var(--zb-color-text-secondary);
  font-size: 0.9rem;
  margin: -8px 0 14px;
}
.zb-ui .zb-home-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.zb-ui .zb-home-hero__greeting {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.zb-ui .zb-home-hero__greeting span {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.35;
}
.zb-ui .zb-home-hero__greeting small {
  color: var(--zb-color-text-secondary);
  font-size: 1rem;
}
.zb-ui .zb-home-search {
  align-items: center;
  display: flex;
  gap: 10px;
}
.zb-ui .zb-home-search__field {
  align-items: center;
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 999px;
  box-shadow: var(--zb-shadow-soft);
  display: flex;
  flex: 1;
  gap: 10px;
  min-height: 52px;
  padding-inline: 18px;
}
.zb-ui .zb-home-search__field input {
  background: transparent;
  border: 0;
  color: var(--zb-color-text);
  flex: 1;
  font: 500 0.9rem var(--zb-font-family);
  min-width: 0;
  outline: 0;
}
.zb-ui .zb-home-search__field:focus-within {
  box-shadow: var(--zb-shadow-focus);
}
.zb-ui .zb-home-search .zb-round-button {
  height: 52px;
  width: 52px;
}
.zb-ui .zb-home-hero__banner {
  background: linear-gradient(120deg, #fff3ea 0%, #fde4d1 60%, #f9d3b6 100%);
  border-radius: 28px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  min-height: 300px;
  overflow: hidden;
  position: relative;
}
.zb-ui .zb-home-hero__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 0;
  position: relative;
  z-index: 1;
}
.zb-ui .zb-home-hero__title {
  font-size: clamp(1.7rem, 1.3rem + 2.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  max-width: 14ch;
}
.zb-ui .zb-home-hero__subtitle {
  color: #5d5148;
  font-size: 0.95rem;
  line-height: 1.85;
  margin: 0;
  max-width: 38ch;
}
.zb-ui .zb-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.zb-ui .zb-home-hero__actions .zb-button {
  border-radius: 999px;
  min-height: 48px;
}
.zb-ui .zb-home-hero__actions .zb-button .zb-icon {
  height: 18px;
  width: 18px;
}
.zb-ui .zb-home-hero__media {
  min-height: 200px;
  position: relative;
}
.zb-ui .zb-home-hero__media picture,
.zb-ui .zb-home-hero__media > picture img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.zb-ui .zb-home-hero__composition {
  height: 220px;
  position: relative;
}
.zb-ui .zb-home-hero__orb {
  background: radial-gradient(
    circle at 40% 35%,
    #fffaf3 0%,
    #fbd9bd 55%,
    rgba(249, 211, 182, 0) 72%
  );
  border-radius: 50%;
  bottom: -60px;
  height: 300px;
  inset-inline-start: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 300px;
}
[dir='rtl'] .zb-ui .zb-home-hero__orb,
.zb-ui[dir='rtl'] .zb-home-hero__orb {
  transform: translateX(50%);
}
.zb-ui .zb-home-hero__bottle {
  bottom: 0;
  filter: drop-shadow(0 18px 22px rgba(120, 72, 35, 0.18));
  height: 190px;
  object-fit: contain;
  position: absolute;
  width: 150px;
}
.zb-ui .zb-home-hero__bottle--0 {
  height: 210px;
  inset-inline-start: calc(50% - 75px);
  z-index: 2;
}
.zb-ui .zb-home-hero__bottle--1 {
  height: 160px;
  inset-inline-start: calc(50% - 165px);
  opacity: 0.95;
}
.zb-ui .zb-home-hero__bottle--2 {
  height: 160px;
  inset-inline-start: calc(50% + 15px);
  opacity: 0.95;
}
.zb-ui .zb-quick-tiles {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.zb-ui .zb-quick-tile,
.zb-ui .zb-quick-routine {
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 20px;
  box-shadow: var(--zb-shadow-soft);
  color: var(--zb-color-text);
  text-decoration: none;
}
.zb-ui .zb-quick-tile {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 8px;
  text-align: center;
}
.zb-ui .zb-quick-tile strong {
  font-size: 0.88rem;
  font-weight: 800;
}
.zb-ui .zb-quick-tile small {
  color: var(--zb-color-text-secondary);
  font-size: 0.72rem;
}
.zb-ui .zb-quick-tile__icon,
.zb-ui .zb-need-card__icon {
  align-items: center;
  border-radius: 16px;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 4px;
  width: 48px;
}
.zb-ui .zb-quick-routine {
  align-items: center;
  display: flex;
  gap: 14px;
  grid-column: 1 / -1;
  padding: 14px 16px;
}
.zb-ui .zb-quick-routine__icon {
  align-items: center;
  background: #fde6d4;
  border-radius: 18px;
  color: #e46f16;
  display: inline-flex;
  flex: none;
  height: 56px;
  justify-content: center;
  width: 56px;
}
.zb-ui .zb-quick-routine__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
}
.zb-ui .zb-quick-routine__body small {
  color: var(--zb-color-text-secondary);
  font-size: 0.75rem;
}
.zb-ui .zb-quick-routine__pct {
  color: #c2560b;
  font-weight: 800;
}
.zb-ui .zb-need-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.zb-ui .zb-need-card {
  align-items: center;
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 20px;
  box-shadow: var(--zb-shadow-soft);
  color: var(--zb-color-text);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 10px;
  text-align: center;
  text-decoration: none;
  transition: transform var(--zb-motion-normal) var(--zb-ease-out);
}
.zb-ui .zb-need-card:hover {
  transform: translateY(-2px);
}
.zb-ui .zb-need-card__icon {
  border-radius: 50%;
  height: 58px;
  width: 58px;
}
.zb-ui .zb-need-card strong {
  font-size: 0.92rem;
  font-weight: 800;
}
.zb-ui .zb-need-card small {
  color: var(--zb-color-text-secondary);
  font-size: 0.74rem;
}
.zb-ui .zb-product-rail {
  display: grid;
  gap: 12px;
  grid-auto-columns: minmax(158px, 44%);
  grid-auto-flow: column;
  margin-inline: -20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 20px 12px;
  scroll-padding-inline: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.zb-ui .zb-product-rail::-webkit-scrollbar {
  display: none;
}
.zb-ui .zb-product-rail__item {
  scroll-snap-align: start;
}
.zb-ui .zb-category-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.zb-ui .zb-category-card {
  border: 1px solid rgba(233, 226, 218, 0.7);
  border-radius: 20px;
  color: var(--zb-color-text);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 112px;
  padding: 16px;
  text-decoration: none;
}
.zb-ui .zb-category-card img {
  border-radius: 14px;
  height: 56px;
  object-fit: cover;
  width: 56px;
}
.zb-ui .zb-category-card__icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  color: #c2560b;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  margin-bottom: 6px;
  width: 40px;
}
.zb-ui .zb-category-card strong {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.5;
}
.zb-ui .zb-category-card small {
  color: var(--zb-color-text-secondary);
  font-size: 0.75rem;
}
.zb-ui .zb-ingredient-rail {
  display: grid;
  gap: 10px;
  grid-auto-columns: minmax(96px, 27%);
  grid-auto-flow: column;
  margin-inline: -20px;
  overflow-x: auto;
  padding: 4px 20px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.zb-ui .zb-ingredient {
  align-items: center;
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 20px;
  color: var(--zb-color-text);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 8px;
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
}
.zb-ui .zb-ingredient strong {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
}
.zb-ui .zb-ingredient__orb {
  align-items: center;
  border-radius: 50%;
  box-shadow: inset 0 -6px 14px rgba(255, 255, 255, 0.7);
  display: inline-flex;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  width: 64px;
}
.zb-ui .zb-ingredient__orb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.zb-ui .zb-brand-rail {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.zb-ui .zb-brand-card {
  align-items: center;
  background: var(--zb-color-white);
  border: 1px solid rgba(233, 226, 218, 0.8);
  border-radius: 20px;
  color: var(--zb-color-text);
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  min-height: 96px;
  padding: 14px;
  text-decoration: none;
}
.zb-ui .zb-brand-card strong {
  font-size: 1.15rem;
  font-weight: 800;
}
.zb-ui .zb-brand-card small {
  color: var(--zb-color-text-secondary);
  font-size: 0.75rem;
}
.zb-ui .zb-brand-card img {
  max-height: 44px;
  object-fit: contain;
  width: auto;
}

/* Editorial banners (promo / skin CTA / routine CTA) */
.zb-ui .zb-banner {
  border: 1px solid rgba(249, 201, 166, 0.45);
  border-radius: 28px;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) 112px;
  overflow: hidden;
  position: relative;
}
.zb-ui .zb-tone--peach {
  background: linear-gradient(120deg, #fff3ea 0%, #fde3cf 100%);
}
.zb-ui .zb-tone--mint {
  background: linear-gradient(120deg, #f4faf2 0%, #dff0e2 100%);
  border-color: rgba(173, 214, 180, 0.55);
}
.zb-ui .zb-tone--cream {
  background: linear-gradient(120deg, #fffaf1 0%, #f9ecd5 100%);
  border-color: rgba(240, 220, 184, 0.6);
}
.zb-ui .zb-banner__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
}
.zb-ui .zb-banner__title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}
.zb-ui .zb-banner__subtitle {
  color: #5d5148;
  font-size: 0.88rem;
  line-height: 1.8;
  margin: 0;
}
.zb-ui .zb-banner .zb-button {
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 6px;
  min-height: 44px;
  width: fit-content;
}
.zb-ui .zb-banner .zb-button .zb-icon {
  height: 18px;
  width: 18px;
}
.zb-ui .zb-banner__media {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 170px;
  position: relative;
}
.zb-ui .zb-banner__media picture,
.zb-ui .zb-banner__media img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
.zb-ui .zb-banner__steps {
  display: none;
}
.zb-ui .zb-banner__glyph {
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  box-shadow: 0 14px 30px rgba(194, 86, 11, 0.12);
  color: #e46f16;
  display: inline-flex;
  height: 84px;
  justify-content: center;
  margin-inline-end: 18px;
  width: 84px;
}
.zb-ui .zb-banner__glyph .zb-icon {
  height: 44px;
  stroke-width: 1.4;
  width: 52px;
}
.zb-ui .zb-banner--routine_cta .zb-banner__steps {
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0 auto;
  max-width: 260px;
  padding: 24px;
  width: 100%;
}
.zb-ui .zb-banner__steps li {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 8px;
  padding: 6px 10px;
}
.zb-ui .zb-banner__steps .zb-icon {
  color: #e46f16;
  height: 18px;
  width: 18px;
}

/* Article cards */
.zb-ui .zb-article-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.zb-ui .zb-article-card {
  background: var(--zb-color-white);
  border: 1px solid rgba(233, 226, 218, 0.8);
  border-radius: 22px;
  display: grid;
  gap: 0;
  grid-template-columns: 112px 1fr;
  overflow: hidden;
}
.zb-ui .zb-article-card__media {
  background: linear-gradient(160deg, #fbf3ea, #f5e4d4);
  display: block;
  min-height: 112px;
  position: relative;
}
.zb-ui .zb-article-card__media img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
.zb-ui .zb-article-card__placeholder {
  align-items: center;
  color: #d08a55;
  display: flex;
  height: 100%;
  justify-content: center;
}
.zb-ui .zb-article-card__audio {
  align-items: center;
  background: rgba(31, 31, 31, 0.72);
  border-radius: 999px;
  bottom: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.65rem;
  gap: 2px;
  inset-inline-start: 8px;
  padding: 2px 8px 2px 6px;
  position: absolute;
}
.zb-ui .zb-article-card__audio .zb-icon {
  fill: currentColor;
  height: 12px;
  width: 12px;
}
.zb-ui .zb-article-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
}
.zb-ui .zb-article-card__topic {
  color: #c2560b;
  font-size: 0.72rem;
  font-weight: 700;
}
.zb-ui .zb-article-card__title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.6;
  margin: 0;
}
.zb-ui .zb-article-card__title a {
  color: inherit;
  text-decoration: none;
}
.zb-ui .zb-article-card__excerpt {
  color: var(--zb-color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.9;
  margin: 0;
}
.zb-ui .zb-article-card__meta {
  color: #8d857d;
  font-size: 0.72rem;
  margin-top: auto;
}

/* Trust row */
.zb-ui .zb-trust-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.zb-ui .zb-trust-row li {
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px;
}
.zb-ui .zb-trust-row__icon {
  color: #2f8a4c;
  margin-bottom: 4px;
}
.zb-ui .zb-trust-row strong {
  font-size: 0.9rem;
  font-weight: 800;
}
.zb-ui .zb-trust-row small {
  color: var(--zb-color-text-secondary);
  font-size: 0.75rem;
  line-height: 1.7;
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  .zb-ui .zb-home {
    gap: 44px;
  }
  .zb-ui .zb-product-rail {
    grid-auto-columns: minmax(200px, 30%);
    margin-inline: -32px;
    padding-inline: 32px;
  }
  .zb-ui .zb-need-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .zb-ui .zb-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .zb-ui .zb-ingredient-rail {
    grid-auto-columns: minmax(120px, 1fr);
    margin-inline: 0;
    padding-inline: 0;
  }
  .zb-ui .zb-trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .zb-ui .zb-article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .zb-ui .zb-article-card {
    grid-template-columns: 1fr;
  }
  .zb-ui .zb-article-card__media {
    aspect-ratio: 16 / 10;
  }
  .zb-ui .zb-home-hero__banner {
    grid-template-columns: 1.1fr 1fr;
    min-height: 360px;
  }
  .zb-ui .zb-home-hero__text {
    justify-content: center;
    padding: 40px 36px;
  }
  .zb-ui .zb-home-hero__composition {
    height: 100%;
  }
  .zb-ui .zb-banner {
    grid-template-columns: 1.3fr 1fr;
  }
  .zb-ui .zb-banner__text {
    justify-content: center;
    padding: 32px;
  }
  .zb-ui .zb-banner--routine_cta .zb-banner__steps {
    display: flex;
  }
  .zb-ui .zb-banner--routine_cta .zb-banner__glyph {
    display: none;
  }
  .zb-ui .zb-banner__glyph {
    height: 120px;
    width: 120px;
  }
  .zb-ui .zb-banner__title {
    font-size: 1.6rem;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .zb-ui .zb-home {
    gap: 64px;
    padding-top: 20px;
  }
  .zb-ui .zb-home-hero__greeting,
  .zb-ui .zb-home-hero .zb-home-search {
    display: none;
  }
  .zb-ui .zb-home-hero__banner {
    border-radius: 36px;
    min-height: 480px;
  }
  .zb-ui .zb-home-hero__text {
    gap: 16px;
    padding: 64px 56px;
  }
  .zb-ui .zb-home-hero__subtitle {
    font-size: 1.1rem;
  }
  .zb-ui .zb-home-hero__bottle {
    height: 280px;
    width: 220px;
  }
  .zb-ui .zb-home-hero__bottle--0 {
    height: 330px;
    inset-inline-start: calc(50% - 110px);
  }
  .zb-ui .zb-home-hero__bottle--1 {
    inset-inline-start: calc(50% - 250px);
  }
  .zb-ui .zb-home-hero__bottle--2 {
    inset-inline-start: calc(50% + 30px);
  }
  .zb-ui .zb-home-hero__orb {
    height: 460px;
    width: 460px;
  }
  .zb-ui .zb-quick-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .zb-ui .zb-quick-tile {
    flex-direction: row;
    gap: 14px;
    padding: 18px 22px;
    text-align: start;
  }
  .zb-ui .zb-quick-tile strong {
    font-size: 1rem;
  }
  .zb-ui .zb-quick-tile__icon {
    margin: 0;
  }
  .zb-ui .zb-section-head__title {
    font-size: 1.6rem;
  }
  .zb-ui .zb-product-rail {
    grid-auto-columns: unset;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-inline: 0;
    overflow: visible;
    padding-inline: 0;
  }
  .zb-ui .zb-need-grid .zb-need-card {
    padding: 26px 14px;
  }
  .zb-ui .zb-banner {
    border-radius: 36px;
    min-height: 300px;
  }
  .zb-ui .zb-banner__text {
    padding: 48px 56px;
  }
  .zb-ui .zb-banner__title {
    font-size: 2rem;
  }
  .zb-ui .zb-banner__subtitle {
    font-size: 1rem;
  }
  .zb-ui .zb-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .zb-ui .zb-category-card {
    min-height: 150px;
    padding: 22px;
  }
  .zb-ui .zb-brand-rail {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* ---------- Product detail page ---------- */
.zb-ui .zb-pdp {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: calc(var(--zb-bottom-nav-height) + 120px + var(--zb-safe-bottom));
}
.zb-ui .zb-pdp__crumbs {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}
.zb-ui .zb-pdp__crumbs .zb-round-button {
  height: 42px;
  width: 42px;
}
.zb-ui .zb-pdp__trail {
  color: var(--zb-color-text-secondary);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zb-ui .zb-pdp__trail a {
  color: inherit;
  text-decoration: none;
}
.zb-ui .zb-pdp__sep {
  margin-inline: 6px;
  opacity: 0.5;
}
.zb-ui .zb-pdp__top {
  display: grid;
  gap: 18px;
}
.zb-ui .zb-pdp-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zb-ui .zb-pdp-gallery__stage {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.zb-ui .zb-pdp-gallery__fav {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: var(--zb-shadow-soft);
  color: var(--zb-color-text);
  display: inline-flex;
  height: 46px;
  inset-inline-end: 14px;
  justify-content: center;
  position: absolute;
  top: 14px;
  width: 46px;
}
.zb-ui .zb-pdp-gallery__fav[aria-pressed='true'] {
  color: #e2577a;
}
.zb-ui .zb-pdp-gallery__thumbs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-block: 2px 6px;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
}
.zb-ui .zb-pdp-gallery__thumb {
  background: #f6ede4;
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  flex: 0 0 76px;
  height: 76px;
  overflow: hidden;
  padding: 0;
  scroll-snap-align: start;
  width: 76px;
}
.zb-ui .zb-pdp-gallery__thumb.is-active {
  border-color: #f4a466;
}
.zb-ui .zb-pdp-gallery__thumb img {
  height: 100%;
  object-fit: contain;
  padding: 6px;
  width: 100%;
}
.zb-ui .zb-pdp-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zb-ui .zb-pdp-info__brand {
  color: #8d857d;
  font-size: 0.85rem;
  font-weight: 700;
}
.zb-ui .zb-pdp-info__title {
  font-size: clamp(1.45rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}
.zb-ui .zb-pdp-info__lead {
  color: var(--zb-color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.9;
  margin: 0;
}
.zb-ui .zb-pdp-rating {
  align-items: center;
  color: var(--zb-color-text);
  display: inline-flex;
  font-size: 0.85rem;
  gap: 6px;
  text-decoration: none;
  width: fit-content;
}
.zb-ui .zb-pdp-rating__value {
  font-weight: 800;
}
.zb-ui .zb-pdp-rating__stars {
  -webkit-mask-image: linear-gradient(to left, #000 var(--zb-rating), rgba(0, 0, 0, 0.25) 0);
  color: #f4b73f;
  display: inline-flex;
  mask-image: linear-gradient(to left, #000 var(--zb-rating), rgba(0, 0, 0, 0.25) 0);
}
.zb-ui .zb-pdp-rating__stars .zb-icon {
  fill: currentColor;
  height: 16px;
  width: 16px;
}
.zb-ui .zb-pdp-rating__count {
  color: var(--zb-color-text-secondary);
}
.zb-ui .zb-pdp-price {
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 22px;
  box-shadow: var(--zb-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
}
.zb-ui .zb-pdp-price .price {
  color: var(--zb-color-text);
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0;
}
.zb-ui .zb-pdp-price .price del {
  color: #9b948d;
  font-size: 0.95rem;
  font-weight: 500;
  margin-inline-end: 8px;
}
.zb-ui .zb-pdp-price .price ins {
  text-decoration: none;
}
.zb-ui .zb-pdp-price__installment {
  align-items: center;
  background: var(--zb-color-mint-soft);
  border-radius: 14px;
  color: #2c6e3f;
  display: flex;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 8px;
  padding: 8px 12px;
}
.zb-ui .zb-pdp-price__installment .zb-icon {
  height: 20px;
  width: 20px;
}
.zb-ui .zb-pdp-stock {
  align-items: center;
  color: var(--zb-color-text-secondary);
  display: flex;
  font-size: 0.85rem;
  gap: 8px;
  margin: 2px 0 0;
}
.zb-ui .zb-pdp-stock__dot {
  background: #53c483;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(83, 196, 131, 0.18);
  height: 9px;
  width: 9px;
}
.zb-ui .zb-pdp-stock.is-out .zb-pdp-stock__dot {
  background: #eb7d90;
  box-shadow: 0 0 0 4px rgba(235, 125, 144, 0.18);
}
.zb-ui .zb-pdp-stock__volume {
  background: #f3ece4;
  border-radius: 999px;
  margin-inline-start: auto;
  padding: 2px 10px;
}
.zb-ui .zb-pdp-buy form.cart {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 6px 0 0;
}
.zb-ui .zb-pdp-buy form.variations_form {
  align-items: stretch;
  flex-direction: column;
}
.zb-ui .zb-pdp-buy table.variations {
  border-collapse: separate;
  border-spacing: 0 8px;
  margin: 0;
  width: 100%;
}
.zb-ui .zb-pdp-buy table.variations tr {
  display: grid;
  gap: 6px;
}
.zb-ui .zb-pdp-buy table.variations th,
.zb-ui .zb-pdp-buy table.variations td {
  display: block;
  padding: 0;
  text-align: start;
}
.zb-ui .zb-pdp-buy table.variations .label label {
  color: var(--zb-color-text);
  font-size: 0.88rem;
  font-weight: 800;
}
.zb-ui .zb-pdp-buy table.variations .value {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zb-ui .zb-pdp-buy table.variations select {
  appearance: none;
  background: var(--zb-color-white);
  border: 1px solid var(--zb-color-border);
  border-radius: 14px;
  color: var(--zb-color-text);
  font: 700 0.9rem var(--zb-font-family);
  min-height: 48px;
  padding: 8px 14px;
  width: min(100%, 320px);
}
.zb-ui .zb-pdp-buy table.variations .reset_variations {
  color: var(--zb-color-primary-action);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
.zb-ui .zb-pdp-buy .single_variation_wrap {
  display: grid;
  gap: 10px;
}
.zb-ui .zb-pdp-buy .woocommerce-variation-price .price {
  color: var(--zb-color-text);
  font-size: 1rem;
  font-weight: 900;
}
.zb-ui .zb-pdp-buy .woocommerce-variation-add-to-cart {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.zb-ui .quantity {
  align-items: center;
  background: var(--zb-color-white);
  border: 1px solid var(--zb-color-border);
  border-radius: 999px;
  display: inline-flex;
  flex: none;
  gap: 2px;
  height: 52px;
  padding: 4px;
}
.zb-ui .quantity input.qty {
  -moz-appearance: textfield;
  appearance: textfield;
  background: transparent;
  border: 0;
  font: 800 1rem var(--zb-font-family);
  height: 100%;
  text-align: center;
  width: 36px;
}
.zb-ui .quantity input.qty::-webkit-inner-spin-button,
.zb-ui .quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.zb-ui .zb-qty-step {
  align-items: center;
  background: #f6f1eb;
  border: 0;
  border-radius: 50%;
  color: var(--zb-color-text);
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: transform var(--zb-motion-fast) var(--zb-ease-out);
  width: 40px;
}
.zb-ui .zb-qty-step:active {
  transform: scale(0.9);
}
.zb-ui .zb-qty-step .zb-icon {
  height: 18px;
  width: 18px;
}
.zb-ui .zb-pdp-buy .single_add_to_cart_button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  flex: 1;
  font: 800 1rem var(--zb-font-family);
  gap: 8px;
  justify-content: center;
  min-height: 56px;
}
.zb-ui .zb-pdp-block,
.zb-ui .zb-personalization {
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 24px;
  box-shadow: var(--zb-shadow-soft);
  padding: 18px;
}
.zb-ui .zb-pdp-match-summary {
  background: color-mix(in srgb, var(--zb-color-peach-soft) 62%, var(--zb-color-white));
  border: 1px solid rgba(242, 122, 36, 0.2);
  border-radius: var(--zb-radius-md);
  display: grid;
  gap: 8px;
  margin-block: 12px;
  padding: 12px 14px;
}
.zb-ui .zb-pdp-match-summary > strong {
  color: #9b4308;
  font-size: 0.92rem;
}
.zb-ui .zb-pdp-match-summary ul {
  display: grid;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.zb-ui .zb-pdp-match-summary li {
  align-items: flex-start;
  display: flex;
  font-size: 0.8rem;
  gap: 6px;
  line-height: 1.65;
}
.zb-ui .zb-pdp-match-summary li .zb-icon {
  color: #b4500a;
  flex: none;
  height: 16px;
  margin-top: 4px;
  width: 16px;
}
.zb-ui .zb-pdp-match-summary > a,
.zb-ui .zb-pdp-fit-prompt {
  color: #a2490a;
  font-size: 0.82rem;
  font-weight: 750;
}
.zb-ui .zb-pdp-fit-prompt {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  margin-block: 8px 12px;
}
.zb-ui .zb-pdp-fit-prompt .zb-icon {
  height: 18px;
  width: 18px;
}
.zb-ui .zb-pdp-block__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.zb-ui .zb-pdp-block__title {
  align-items: center;
  display: flex;
  font-size: 1.1rem;
  font-weight: 800;
  gap: 8px;
  margin: 0 0 12px;
}
.zb-ui .zb-pdp-block__head .zb-pdp-block__title {
  margin: 0;
}
.zb-ui .zb-pdp-block__title .zb-icon {
  color: #c2560b;
  height: 20px;
  width: 20px;
}
.zb-ui .zb-benefit-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.zb-ui .zb-benefit-grid li {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 8px;
  line-height: 1.6;
  text-align: center;
}
.zb-ui .zb-benefit-grid__icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 60px;
  justify-content: center;
  width: 60px;
}
.zb-ui .zb-fit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.zb-ui .zb-fit-chips li {
  align-items: center;
  background: var(--zb-color-mint-soft);
  border-radius: 999px;
  color: #234b31;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 6px;
  padding: 6px 12px 6px 14px;
}
.zb-ui .zb-fit-chips .zb-icon {
  background: #8fcf9f;
  border-radius: 50%;
  color: #fff;
  height: 18px;
  padding: 2px;
  width: 18px;
}
.zb-ui .zb-personalization {
  background: linear-gradient(140deg, #fff6ee 0%, #fff 60%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.zb-ui .zb-personalization h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 6px 0 2px;
}
.zb-ui .zb-personalization__heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.zb-ui .zb-personalization__state {
  color: #2c6e3f;
  font-size: 0.85rem;
  font-weight: 700;
}
.zb-ui .zb-match-ring {
  align-items: center;
  background:
    radial-gradient(closest-side, #fff 76%, transparent 78% 100%),
    conic-gradient(#f27a24 calc(var(--zb-score) * 1%), #fbe3d1 0);
  border-radius: 50%;
  display: inline-flex;
  flex: none;
  height: 96px;
  justify-content: center;
  width: 96px;
}
.zb-ui .zb-match-ring strong {
  font-size: 1.4rem;
  font-weight: 900;
}
.zb-ui .zb-match-columns {
  display: grid;
  gap: 10px;
}
.zb-ui .zb-match-reasons,
.zb-ui .zb-match-warnings {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.zb-ui .zb-match-reasons li {
  align-items: flex-start;
  display: flex;
  font-size: 0.88rem;
  gap: 8px;
  line-height: 1.7;
}
.zb-ui .zb-match-reasons .zb-icon {
  background: #f27a24;
  border-radius: 50%;
  color: #fff;
  flex: none;
  height: 20px;
  margin-top: 3px;
  padding: 3px;
  width: 20px;
}
.zb-ui .zb-match-warnings li {
  background: #fff7e6;
  border-radius: 12px;
  color: #7a5212;
  font-size: 0.82rem;
  padding: 8px 12px;
}
.zb-ui .zb-guidance-note {
  color: #8d857d;
  font-size: 0.75rem;
  margin: 0;
}
.zb-ui .zb-personalization--guest p {
  color: var(--zb-color-text-secondary);
  margin: 0;
}
.zb-ui .zb-alternatives {
  display: grid;
  gap: 8px;
}
.zb-ui .zb-alternatives h3 {
  font-size: 0.95rem;
  margin: 4px 0;
}
.zb-ui .zb-alternatives > a {
  background: #fff;
  border: 1px solid var(--zb-color-border);
  border-radius: 16px;
  color: var(--zb-color-text);
  display: grid;
  gap: 2px 10px;
  grid-template-columns: 1fr auto;
  padding: 10px 14px;
  text-decoration: none;
}
.zb-ui .zb-alternatives > a strong {
  color: #c2560b;
}
.zb-ui .zb-alternatives > a small {
  color: var(--zb-color-text-secondary);
  grid-column: 1 / -1;
}
.zb-ui .zb-ingredient-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.zb-ui .zb-ingredient-list li {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 8px;
  line-height: 1.6;
  text-align: center;
}
.zb-ui .zb-pdp-usage p {
  font-size: 0.92rem;
  line-height: 2;
  margin: 0 0 8px;
}
.zb-ui .zb-pdp-warning {
  align-items: flex-start;
  background: #fff7e6;
  border-radius: 14px;
  color: #6b4a12;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
}
.zb-ui .zb-pdp-warning .zb-icon {
  flex: none;
  height: 20px;
  width: 20px;
}
.zb-ui .zb-prose {
  font-size: 0.95rem;
  line-height: 2.05;
}
.zb-ui .zb-prose img {
  border-radius: 16px;
  height: auto;
  max-width: 100%;
}
.zb-ui .zb-pdp-reviews .woocommerce-Reviews-title {
  font-size: 1.1rem;
  margin: 0 0 10px;
}
.zb-ui .zb-pdp-reviews .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.zb-ui .zb-pdp-reviews #review_form_wrapper {
  margin-top: 18px;
}
.zb-ui .zb-pdp-reviews .comment-respond {
  display: grid;
  gap: 12px;
}
.zb-ui .zb-pdp-reviews .comment-reply-title {
  font-size: 1rem;
  font-weight: 900;
}
.zb-ui .zb-pdp-reviews .comment-form {
  display: grid;
  gap: 12px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.zb-ui .zb-pdp-reviews .comment-form > p,
.zb-ui .zb-pdp-reviews .comment-form-rating {
  margin: 0;
}
.zb-ui .zb-pdp-reviews .comment-notes,
.zb-ui .zb-pdp-reviews .must-log-in,
.zb-ui .zb-pdp-reviews .comment-form-rating,
.zb-ui .zb-pdp-reviews .comment-form-comment,
.zb-ui .zb-pdp-reviews .form-submit {
  grid-column: 1 / -1;
}
.zb-ui .zb-pdp-reviews .comment-form label {
  color: var(--zb-color-text);
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.zb-ui .zb-pdp-reviews .comment-form input[type='text'],
.zb-ui .zb-pdp-reviews .comment-form input[type='email'],
.zb-ui .zb-pdp-reviews .comment-form textarea,
.zb-ui .zb-pdp-reviews .comment-form select {
  background: var(--zb-color-white);
  border: 1px solid var(--zb-color-border);
  border-radius: 14px;
  color: var(--zb-color-text);
  font: 500 0.9rem var(--zb-font-family);
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}
.zb-ui .zb-pdp-reviews .comment-form textarea {
  min-height: 132px;
  resize: vertical;
}
.zb-ui .zb-pdp-reviews .comment-form-rating .stars {
  margin: 4px 0 0;
}
.zb-ui .zb-pdp-reviews .comment-form-rating .stars a {
  color: #b46a22;
  font-size: 1.35rem;
}
.zb-ui .zb-pdp-reviews .form-submit input[type='submit'] {
  background-color: var(--zb-color-primary-action);
  background-image: var(--zb-gradient-cta);
  border: 0;
  border-radius: 999px;
  color: var(--zb-color-on-primary-action);
  cursor: pointer;
  font: 800 0.9rem var(--zb-font-family);
  min-height: 48px;
  padding: 10px 22px;
}
@media (max-width: 640px) {
  .zb-ui .zb-pdp-reviews .comment-form {
    grid-template-columns: 1fr;
  }
  .zb-ui .zb-pdp-reviews .comment-form-author,
  .zb-ui .zb-pdp-reviews .comment-form-email {
    grid-column: 1 / -1;
  }
  .zb-ui .zb-pdp-buy table.variations select {
    width: 100%;
  }
}
.zb-ui .zb-pdp-related {
  margin-top: 8px;
}

/* Mobile: keep purchase controls reachable above the bottom navigation.
 * Simple products pin the full cart row; variable products pin only the
 * quantity + submit row so attribute selectors stay in the product flow. */
@media (max-width: 1023px) {
  .zb-ui .zb-pdp--simple .zb-pdp-buy form.cart,
  .zb-ui .zb-pdp-buy form.variations_form .woocommerce-variation-add-to-cart {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--zb-color-glass-border);
    border-radius: 26px;
    bottom: calc(var(--zb-bottom-nav-height) + 24px + var(--zb-safe-bottom));
    box-shadow: 0 12px 30px rgba(76, 57, 39, 0.12);
    inset-inline: 12px;
    margin: 0 auto;
    max-width: 520px;
    padding: 8px;
    position: fixed;
    z-index: 45;
  }
  .zb-ui .zb-pdp-buy form.variations_form .woocommerce-variation-add-to-cart {
    display: flex !important;
  }
  .zb-ui
    .zb-pdp-buy
    form.variations_form
    .woocommerce-variation-add-to-cart
    .single_add_to_cart_button {
    display: inline-flex !important;
    flex: 1 1 auto;
    width: auto;
  }
  .zb-ui
    .zb-pdp-buy
    form.variations_form
    .woocommerce-variation-add-to-cart
    .single_add_to_cart_button.disabled,
  .zb-ui
    .zb-pdp-buy
    form.variations_form
    .woocommerce-variation-add-to-cart
    .single_add_to_cart_button:disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.55;
  }
}
@media (min-width: 600px) {
  .zb-ui .zb-pdp__top {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (min-width: 1024px) {
  .zb-ui .zb-pdp {
    gap: 24px;
    padding-bottom: 64px;
    padding-top: 12px;
  }
  .zb-ui .zb-pdp__top {
    gap: 48px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
  .zb-ui .zb-pdp-gallery {
    position: sticky;
    top: 100px;
  }
  .zb-ui .zb-pdp-gallery__stage {
    border-radius: 36px;
  }
  .zb-ui .zb-pdp-info {
    gap: 12px;
    padding-top: 12px;
  }
  .zb-ui .zb-pdp-block,
  .zb-ui .zb-personalization {
    padding: 28px 32px;
  }
  .zb-ui .zb-match-columns {
    grid-template-columns: 1.3fr 1fr;
  }
  .zb-ui .zb-ingredient-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* PDP: neutralize legacy summary card and WooCommerce button colors. */
.zb-ui .zb-pdp .zb-pdp-info.zb-product-summary {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  padding: 0;
  position: static;
}
.zb-ui .zb-pdp .zb-pdp-buy form.cart {
  display: flex;
  grid-template-columns: none;
  width: auto;
}
.zb-ui .zb-pdp-buy button.single_add_to_cart_button.button.alt,
.zb-ui .zb-pdp-buy button.single_add_to_cart_button {
  background-color: var(--zb-color-primary-action);
  background-image: var(--zb-gradient-cta);
  border-radius: 999px;
  box-shadow: var(--zb-shadow-cta);
  color: var(--zb-color-on-primary-action);
  width: auto;
}
.zb-ui .zb-pdp-buy button.single_add_to_cart_button.button.alt:hover {
  background-color: var(--zb-color-primary-action-hover);
  background-image: var(--zb-gradient-cta-hover);
  color: var(--zb-color-on-primary-action);
}
.zb-ui .zb-pdp-buy .stock {
  display: none;
}
@media (max-width: 1023px) {
  .zb-ui .zb-pdp.zb-pdp--simple .zb-pdp-buy form.cart {
    left: 12px;
    right: 12px;
    width: auto;
  }
}

/* ---------- Cart ---------- */
.zb-ui .zb-cart-page .woocommerce {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.zb-ui .zb-cart-head {
  align-items: center;
  margin-bottom: 8px;
}
.zb-ui .zb-count-chip {
  align-items: center;
  background: #fff3ea;
  border: 1px solid #fbe0cc;
  border-radius: 999px;
  display: inline-flex;
  flex: none;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 8px;
  padding: 6px 8px 6px 16px;
}
.zb-ui .zb-count-chip__icon {
  align-items: center;
  background: #fbd9bf;
  border-radius: 50%;
  color: #b4500a;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.zb-ui .zb-count-chip__icon .zb-icon {
  height: 18px;
  width: 18px;
}
.zb-ui .woocommerce .zb-cart-form,
.zb-ui .zb-cart-lines {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.zb-ui .zb-cart-line {
  align-items: stretch;
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 24px;
  box-shadow: var(--zb-shadow-soft);
  display: grid;
  gap: 14px;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  padding: 12px;
}
.zb-ui .zb-cart-line__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #fdf0e4, #f6e2d2);
  border-radius: 18px;
  height: auto;
  overflow: hidden;
  width: 112px;
}
.zb-ui .zb-cart-line:nth-child(even) .zb-cart-line__media {
  background: linear-gradient(160deg, #f0f6ec, #e1eedc);
}
.zb-ui .zb-cart-line__media::before {
  content: none;
}
.zb-ui .woocommerce-cart-form .zb-cart-line__media img {
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  width: 100%;
}
.zb-ui .zb-cart-line__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-block: 4px;
}
.zb-ui .zb-cart-line__title {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.6;
  margin: 0;
}
.zb-ui .zb-cart-line__title a {
  color: inherit;
  text-decoration: none;
}
.zb-ui .zb-cart-line__desc {
  color: var(--zb-color-text-secondary);
  font-size: 0.8rem;
  margin: 0;
}
.zb-ui .zb-cart-line__foot {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  margin-top: auto;
}
.zb-ui .zb-cart-line__price {
  font-size: 1rem;
  font-weight: 800;
}
.zb-ui .zb-cart-line .quantity {
  height: 46px;
}
.zb-ui .zb-cart-line .zb-qty-step {
  height: 36px;
  width: 36px;
}
.zb-ui .zb-cart-line .quantity input.qty {
  min-height: 0;
  width: 30px;
}
.zb-ui .zb-cart-line__remove a.remove {
  align-items: center;
  background: var(--zb-color-white);
  border: 1px solid var(--zb-color-border);
  border-radius: 50%;
  color: var(--zb-color-text);
  display: inline-flex;
  font-size: 0;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.zb-ui .zb-cart-line__remove a.remove:hover {
  background: #fbe1e6;
  color: #9c2f45;
}
.zb-ui .zb-cart-line__remove .zb-icon {
  height: 18px;
  width: 18px;
}
.zb-ui .woocommerce-cart-form .zb-cart-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}
.zb-ui .zb-coupon {
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 24px;
  box-shadow: var(--zb-shadow-soft);
}
.zb-ui .zb-coupon__summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 12px 14px;
}
.zb-ui .zb-coupon__summary::-webkit-details-marker {
  display: none;
}
.zb-ui .zb-coupon__icon {
  align-items: center;
  background: var(--zb-color-white);
  border-radius: 50%;
  box-shadow: var(--zb-shadow-soft);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}
.zb-ui .zb-coupon__hint {
  color: #8d857d;
  font-size: 0.85rem;
  margin-inline-start: auto;
}
.zb-ui .zb-coupon__chevron {
  height: 18px;
  transition: transform var(--zb-motion-normal) var(--zb-ease-out);
  width: 18px;
}
.zb-ui .zb-coupon[open] .zb-coupon__chevron {
  transform: rotate(-90deg);
}
.zb-ui .woocommerce-cart-form .zb-coupon__body {
  display: flex;
  gap: 8px;
  padding: 0 14px 14px;
  width: auto;
}
.zb-ui .zb-coupon__body .input-text {
  background: var(--zb-color-white);
  border: 1px solid var(--zb-color-border);
  border-radius: 16px;
  flex: 1;
  font: 500 0.95rem var(--zb-font-family);
  min-height: 48px;
  padding-inline: 14px;
  width: auto;
}
.zb-ui .zb-coupon__body .zb-coupon__apply.button {
  background: var(--zb-color-text);
  border-radius: 16px;
  color: var(--zb-color-white);
  min-height: 48px;
}
.zb-ui .woocommerce-cart-form .zb-cart-update.button {
  background: transparent;
  border: 1px dashed var(--zb-color-border);
  box-shadow: none;
  color: var(--zb-color-text-secondary);
  min-height: 40px;
}
.zb-ui .js .zb-cart-update,
.js .zb-ui .zb-cart-update {
  display: none;
}
.zb-ui .zb-cart-collaterals .cart_totals.zb-cart-summary {
  background: transparent;
  border: 0;
  box-shadow: none;
  float: none;
  padding: 0;
  width: 100%;
}
.zb-ui .zb-cart-summary__card {
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 24px;
  box-shadow: var(--zb-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
.zb-ui .zb-cart-summary__row {
  color: var(--zb-color-text-secondary);
  display: flex;
  font-size: 0.9rem;
  justify-content: space-between;
}
.zb-ui .zb-cart-summary__row--discount {
  color: #2f8a4c;
}
.zb-ui .zb-cart-summary__total {
  align-items: center;
  display: flex;
  font-size: 1rem;
  justify-content: space-between;
  padding: 4px 4px 0;
}
.zb-ui .zb-cart-summary__total strong {
  font-size: 1.35rem;
  font-weight: 900;
}
.zb-ui .zb-cart-summary__note {
  color: #8d857d;
  font-size: 0.78rem;
  margin: 0;
}
.zb-ui .zb-installment-card {
  align-items: center;
  background: linear-gradient(120deg, #eef7ea, #e1f0e2);
  border-radius: 20px;
  color: var(--zb-color-text);
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none;
}
.zb-ui .zb-installment-card__icon {
  align-items: center;
  background: #c9e7cf;
  border-radius: 50%;
  color: #2c6e3f;
  display: inline-flex;
  flex: none;
  height: 52px;
  justify-content: center;
  width: 52px;
}
.zb-ui .zb-installment-card__text {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.zb-ui .zb-installment-card__text strong {
  font-size: 1.05rem;
  font-weight: 800;
}
.zb-ui .zb-installment-card__text small {
  color: var(--zb-color-text-secondary);
}
.zb-ui .zb-cart-summary .wc-proceed-to-checkout {
  padding: 0;
}
.zb-ui .zb-cart-summary .wc-proceed-to-checkout .checkout-button.zb-cta {
  border-radius: 22px;
  font-size: 1.05rem;
  margin: 0;
  min-height: 62px;
}
.zb-ui .zb-cart-page .cross-sells {
  display: none;
}
.zb-ui .zb-empty-cart {
  align-items: center;
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px auto;
  max-width: 520px;
  padding: 40px 24px;
  text-align: center;
}
.zb-ui .zb-empty-cart__icon {
  align-items: center;
  background: #fde6d4;
  border-radius: 50%;
  color: #c2560b;
  display: inline-flex;
  height: 88px;
  justify-content: center;
  width: 88px;
}
.zb-ui .zb-empty-cart__icon .zb-icon {
  height: 40px;
  width: 40px;
}
.zb-ui .zb-empty-cart__title {
  font-size: 1.4rem;
  margin: 6px 0 0;
}
.zb-ui .zb-empty-cart p {
  color: var(--zb-color-text-secondary);
  margin: 0 0 8px;
}
@media (max-width: 1023px) {
  .zb-ui .zb-cart-page {
    padding-bottom: calc(var(--zb-bottom-nav-height) + 130px + var(--zb-safe-bottom));
  }
}
@media (max-width: 420px) {
  .zb-ui .zb-cart-line {
    gap: 10px;
    grid-template-columns: 92px minmax(0, 1fr) auto;
  }
  .zb-ui .zb-cart-line__media {
    width: 92px;
  }
}
@media (min-width: 1024px) {
  .zb-ui .zb-cart-page .woocommerce {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  }
  .zb-ui .zb-cart-page .woocommerce > .zb-cart-head,
  .zb-ui .zb-cart-page .woocommerce > .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
  }
  .zb-ui .zb-cart-page .zb-cart-collaterals {
    position: sticky;
    top: 104px;
  }
  .zb-ui .zb-cart-summary .zb-sticky-cta {
    margin-top: 12px;
    position: static;
  }
}

/* Cart: override legacy thumbnail/qty rules. */
.zb-ui .woocommerce-cart-form .zb-cart-line .zb-cart-line__media {
  display: block;
  height: auto;
  width: 112px;
}
.zb-ui .woocommerce-cart-form .zb-cart-line .quantity .qty {
  background: transparent;
  border: 0;
  color: var(--zb-color-text);
  min-height: 0;
  padding: 0;
  width: 32px;
}
.zb-ui .zb-cart-line__remove a.remove,
.zb-ui .woocommerce a.remove {
  color: var(--zb-color-text);
}
@media (max-width: 420px) {
  .zb-ui .woocommerce-cart-form .zb-cart-line .zb-cart-line__media {
    width: 92px;
  }
}

/* WooCommerce notices as soft ZIBASA cards. */
.zb-ui .woocommerce-message,
.zb-ui .woocommerce-info,
.zb-ui .woocommerce-error {
  align-items: center;
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-inline-start: 4px solid #8fcf9f;
  border-radius: 18px;
  box-shadow: var(--zb-shadow-soft);
  color: var(--zb-color-text);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  gap: 8px 12px;
  justify-content: space-between;
  list-style: none;
  margin: 0 0 12px;
  outline: 0;
  padding: 12px 16px;
}
.zb-ui .woocommerce-info {
  border-inline-start-color: #f4b73f;
}
.zb-ui .woocommerce-error {
  border-inline-start-color: #eb7d90;
}
.zb-ui .woocommerce-message::before,
.zb-ui .woocommerce-info::before,
.zb-ui .woocommerce-error::before {
  content: none;
}
.zb-ui .woocommerce-message .button,
.zb-ui .woocommerce-info .button {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #b4500a;
  font-weight: 800;
  min-height: 0;
  order: 2;
  padding: 0;
}
.zb-ui .zb-cart-page .woocommerce-message .wc-forward {
  display: none;
}
.zb-ui .zb-cart-form.zb-js .zb-cart-update {
  display: none;
}
.zb-ui .woocommerce-cart-form .zb-cart-line .zb-cart-line__media::before {
  content: none;
  display: none;
}
.zb-ui .woocommerce-cart-form .zb-cart-line__media img {
  padding: 2%;
}

/* ---------- Checkout (classic, server-rendered, ZIBASA presentation) ----------
 * Mobile order: items, summary, shipping method, address, notes, payment, CTA.
 * #order_review and #customer_details become display:contents so their parts can be
 * ordered like the approved mockup; the WooCommerce containers and fragments stay intact.
 */
.zb-ui .zb-checkout-page .woocommerce {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.zb-ui .zb-checkout-page form.zb-checkout {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  margin-inline: auto;
  max-width: 720px;
  width: 100%;
}
.zb-ui .zb-checkout-page form.zb-checkout #customer_details,
.zb-ui .zb-checkout-page form.zb-checkout #order_review {
  background: none;
  border: 0;
  box-shadow: none;
  display: contents;
  padding: 0;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review {
  order: 1;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-address {
  order: 2;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-extra {
  order: 3;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-payment {
  order: 4;
}
.zb-ui .zb-checkout-page form.zb-checkout .col-1,
.zb-ui .zb-checkout-page form.zb-checkout .col-2 {
  float: none;
  width: 100%;
}

/* Cards */
.zb-ui .zb-checkout-page .zb-co-card,
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-item,
.zb-ui .zb-checkout-page form.zb-checkout tr.zb-co-shipping,
.zb-ui .zb-checkout-page .woocommerce-form-coupon,
.zb-ui .zb-checkout-page .woocommerce-form-login {
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 24px;
  box-shadow: var(--zb-shadow-soft);
  padding: 18px;
}
.zb-ui .zb-checkout-page .zb-co-card__head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.zb-ui .zb-checkout-page .zb-co-card__title,
.zb-ui .zb-checkout-page form.zb-checkout tr.zb-co-shipping > th {
  color: var(--zb-color-text);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.5;
  margin: 0;
}
.zb-ui .zb-checkout-page .zb-co-card__hint {
  color: var(--zb-color-text-secondary);
  font-size: 0.85rem;
  margin: -4px 0 14px;
}
.zb-ui .zb-checkout-page h3,
.zb-ui .zb-checkout-page .woocommerce-billing-fields h3,
.zb-ui .zb-checkout-page .woocommerce-additional-fields h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 12px;
}

/* Order items: one card per product, like the approved checkout */
.zb-ui .zb-checkout-page form.zb-checkout table.zb-co-review {
  background: none;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  width: 100%;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review__caption {
  display: block;
  padding-inline: 4px;
  text-align: start;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tbody,
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tfoot {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review th,
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review td {
  background: none;
  border: 0;
  padding: 0;
  text-align: start;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-item {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-item .product-name {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 12px;
  min-width: 0;
}
.zb-ui .zb-checkout-page .zb-co-item__media {
  background: var(--zb-color-beige);
  border-radius: 16px;
  display: block;
  flex: none;
  height: 68px;
  overflow: hidden;
  width: 68px;
}
.zb-ui .zb-checkout-page .zb-co-item__media img {
  height: 100%;
  object-fit: contain;
  padding: 4px;
  width: 100%;
}
.zb-ui .zb-checkout-page .zb-co-item__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.zb-ui .zb-checkout-page .zb-co-item__name {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.6;
  overflow: hidden;
}
.zb-ui .zb-checkout-page .zb-co-item .product-quantity {
  color: var(--zb-color-text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
}
.zb-ui .zb-checkout-page .zb-co-item dl.variation {
  color: var(--zb-color-text-secondary);
  font-size: 0.78rem;
  margin: 0;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-item .product-total {
  color: #b4500a;
  flex: none;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: end;
  white-space: nowrap;
}

/* Summary rows share one card; the payable row is the highlighted end of it */
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tfoot {
  filter: drop-shadow(0 6px 16px rgba(76, 57, 39, 0.05));
  gap: 0;
  margin-top: 4px;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tfoot tr {
  align-items: center;
  background: var(--zb-color-white);
  border-inline: 1px solid var(--zb-color-glass-border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 18px;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tfoot tr:first-child {
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--zb-color-glass-border);
  padding-top: 18px;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tfoot th {
  color: var(--zb-color-text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tfoot td {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: end;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review .cart-discount td,
.zb-ui .zb-checkout-page .zb-co-free {
  color: var(--zb-color-mint-deep);
  font-weight: 800;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tfoot tr.order-total {
  background: #fff1e6 padding-box;
  border: solid var(--zb-color-white);
  border-radius: 0 0 24px 24px;
  border-width: 6px 10px 10px;
  box-shadow: 0 0 0 1px var(--zb-color-glass-border);
  padding: 14px;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tr.order-total th {
  color: var(--zb-color-text);
  font-size: 0.95rem;
  font-weight: 800;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tr.order-total td {
  color: #b4500a;
  font-size: 1.2rem;
  font-weight: 900;
  white-space: nowrap;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tr.order-total td small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Shipping method: its own card after the summary */
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tfoot tr.zb-co-shipping {
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 24px;
  display: block;
  margin-top: 14px;
  order: 1;
  padding: 18px;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tfoot tr.zb-co-shipping > th {
  color: var(--zb-color-text);
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.zb-ui .zb-checkout-page form.zb-checkout .zb-co-review tfoot tr.zb-co-shipping > td {
  color: var(--zb-color-text-secondary);
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: start;
}

/* Selectable option cards (shipping rates and payment methods) */
.zb-ui .zb-checkout-page :is(#shipping_method, #payment ul).zb-co-options {
  border: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.zb-ui .zb-checkout-page :is(#shipping_method, #payment ul).zb-co-options li.zb-co-option {
  background: var(--zb-color-white);
  border: 1.5px solid var(--zb-color-border);
  border-radius: 18px;
  margin: 0;
  padding: 0;
  position: relative;
  transition:
    border-color var(--zb-motion-fast) var(--zb-ease-out),
    background-color var(--zb-motion-fast) var(--zb-ease-out),
    box-shadow var(--zb-motion-fast) var(--zb-ease-out);
}
.zb-ui .zb-checkout-page :is(#shipping_method, #payment ul).zb-co-options li.zb-co-option:hover {
  border-color: #f9cfae;
}
.zb-ui .zb-checkout-page :is(#shipping_method, #payment ul).zb-co-options li.zb-co-option > input {
  clip-path: inset(50%);
  height: 1px;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}
.zb-ui
  .zb-checkout-page
  :is(#shipping_method, #payment ul).zb-co-options
  li.zb-co-option:has(> input:checked),
.zb-ui
  .zb-checkout-page
  :is(#shipping_method, #payment ul).zb-co-options
  li.zb-co-option:has(> input[type='hidden']) {
  background: #fff6ef;
  border-color: #f4a466;
  box-shadow: 0 6px 16px rgba(244, 148, 75, 0.12);
}
.zb-ui
  .zb-checkout-page
  :is(#shipping_method, #payment ul).zb-co-options
  li.zb-co-option:has(> input:focus-visible) {
  box-shadow: var(--zb-shadow-focus);
}
.zb-ui .zb-checkout-page :is(#shipping_method, #payment ul).zb-co-options li.zb-co-option > label {
  align-items: center;
  cursor: pointer;
  display: grid;
  font-size: 0.9rem;
  gap: 10px;
  grid-template-areas:
    'icon check'
    'text text';
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0;
  padding: 14px;
}
.zb-ui .zb-checkout-page .zb-co-option__icon {
  align-items: center;
  grid-area: icon;
  background: var(--zb-color-peach-wash);
  border-radius: 12px;
  color: var(--zb-color-primary-deep);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.zb-ui .zb-checkout-page .zb-co-option__icon svg {
  height: 22px;
  width: 22px;
}
.zb-ui .zb-checkout-page .zb-co-option__text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.zb-ui .zb-checkout-page .zb-co-option__text strong {
  color: var(--zb-color-text);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
}
.zb-ui .zb-checkout-page .zb-co-option__text small {
  color: var(--zb-color-text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}
.zb-ui .zb-checkout-page .zb-co-option__text img {
  display: none;
}
.zb-ui .zb-checkout-page .zb-co-option__check {
  align-items: center;
  grid-area: check;
  border: 1.5px solid #d9d0c6;
  border-radius: 50%;
  color: var(--zb-color-white);
  display: inline-flex;
  height: 24px;
  justify-content: center;
  transition:
    background-color var(--zb-motion-fast) var(--zb-ease-out),
    border-color var(--zb-motion-fast) var(--zb-ease-out);
  width: 24px;
}
.zb-ui .zb-checkout-page .zb-co-option__check svg {
  height: 14px;
  opacity: 0;
  stroke-width: 3;
  transform: scale(0.6);
  transition:
    opacity var(--zb-motion-fast) var(--zb-ease-out),
    transform var(--zb-motion-fast) var(--zb-ease-out);
  width: 14px;
}
.zb-ui .zb-checkout-page li.zb-co-option:has(> input:checked) .zb-co-option__check,
.zb-ui .zb-checkout-page li.zb-co-option:has(> input[type='hidden']) .zb-co-option__check {
  background: var(--zb-color-primary-deep);
  border-color: var(--zb-color-primary-deep);
}
.zb-ui .zb-checkout-page li.zb-co-option:has(> input:checked) .zb-co-option__check svg,
.zb-ui .zb-checkout-page li.zb-co-option:has(> input[type='hidden']) .zb-co-option__check svg {
  opacity: 1;
  transform: none;
}
/* Gateways may render fields in their payment box, so payment methods take full-width rows */
.zb-ui .zb-checkout-page #payment ul.zb-co-options {
  grid-template-columns: minmax(0, 1fr);
}
.zb-ui .zb-checkout-page #payment ul.zb-co-options li.zb-co-option > label {
  grid-template-areas: 'icon text check';
  grid-template-columns: 40px minmax(0, 1fr) 24px;
  min-height: 68px;
}
.zb-ui .zb-checkout-page #payment ul.zb-co-options li.zb-co-empty {
  grid-column: 1 / -1;
  list-style: none;
}

/* Address */
.zb-ui .zb-checkout-page .zb-co-edit {
  align-items: center;
  background: var(--zb-color-white);
  border: 1px solid var(--zb-color-border);
  border-radius: 999px;
  color: var(--zb-color-text);
  cursor: pointer;
  display: inline-flex;
  font: 700 0.82rem var(--zb-font-family);
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  transition: border-color var(--zb-motion-fast) var(--zb-ease-out);
}
.zb-ui .zb-checkout-page .zb-co-edit[hidden] {
  display: none;
}
.zb-ui .zb-checkout-page .zb-co-edit:hover,
.zb-ui .zb-checkout-page .zb-co-edit[aria-expanded='true'] {
  border-color: #f4a466;
}
.zb-ui .zb-checkout-page .zb-co-edit:focus-visible {
  box-shadow: var(--zb-shadow-focus);
  outline: 0;
}
.zb-ui .zb-checkout-page .zb-co-edit svg {
  height: 16px;
  width: 16px;
}
.zb-ui .zb-checkout-page .zb-co-address__summary {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}
.zb-ui .zb-checkout-page .zb-co-address__pin {
  align-items: center;
  background: var(--zb-color-peach-wash);
  border-radius: 14px;
  color: var(--zb-color-primary-deep);
  display: inline-flex;
  flex: none;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.zb-ui .zb-checkout-page .zb-co-address__pin svg {
  height: 22px;
  width: 22px;
}
.zb-ui .zb-checkout-page .zb-co-address__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.7;
  min-width: 0;
}
.zb-ui .zb-checkout-page .zb-co-address__text strong {
  font-size: 0.92rem;
  font-weight: 800;
}
.zb-ui .zb-checkout-page .zb-co-address__text span {
  color: var(--zb-color-text);
  font-size: 0.86rem;
}
.zb-ui .zb-checkout-page .zb-co-address__text .zb-co-address__place {
  font-weight: 700;
}
.zb-ui .zb-checkout-page .zb-co-address__text small {
  color: var(--zb-color-text-secondary);
  font-size: 0.78rem;
}
.zb-ui .zb-checkout-page .zb-co-address.is-complete .zb-co-address__fields {
  border-top: 1px dashed var(--zb-color-border);
  margin-top: 16px;
  padding-top: 16px;
}
.zb-ui .zb-checkout-page .zb-co-address.is-collapsible:not(.is-editing) .zb-co-address__fields {
  display: none;
}
.zb-ui .zb-checkout-page .zb-co-address.is-editing .zb-co-address__fields {
  animation: zb-co-reveal var(--zb-motion-normal) var(--zb-ease-out);
}
@keyframes zb-co-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.zb-ui .zb-checkout-page .zb-co-address .woocommerce-billing-fields > h3 {
  display: none;
}
.zb-ui .zb-checkout-page .woocommerce-billing-fields,
.zb-ui .zb-checkout-page .woocommerce-shipping-fields,
.zb-ui .zb-checkout-page .woocommerce-additional-fields,
.zb-ui .zb-checkout-page .woocommerce-account-fields {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.zb-ui .zb-checkout-page .woocommerce-billing-fields__field-wrapper,
.zb-ui .zb-checkout-page .woocommerce-shipping-fields__field-wrapper {
  column-gap: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.zb-ui .zb-checkout-page .zb-co-extra h3#ship-to-different-address {
  font-size: 0.92rem;
}
.zb-ui .zb-checkout-page .zb-co-extra .woocommerce-shipping-fields:empty {
  display: none;
}

/* Fields */
.zb-ui .zb-checkout-page form.zb-checkout .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  width: 100%;
}
.zb-ui .zb-checkout-page form.zb-checkout .form-row label {
  font-size: 0.84rem;
  font-weight: 700;
}
.zb-ui .zb-checkout-page form.zb-checkout .form-row label.checkbox {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}
.zb-ui .zb-checkout-page form.zb-checkout .form-row .required {
  color: #b4500a;
  text-decoration: none;
}
.zb-ui .zb-checkout-page form.zb-checkout .form-row .input-text,
.zb-ui .zb-checkout-page form.zb-checkout .form-row select,
.zb-ui .zb-checkout-page form.zb-checkout .form-row textarea,
.zb-ui .zb-checkout-page .select2-container--default .select2-selection--single {
  background: var(--zb-color-white);
  border: 1px solid var(--zb-color-border);
  border-radius: 16px;
  font: 500 0.95rem var(--zb-font-family);
  min-height: 50px;
  padding: 10px 14px;
  transition:
    border-color var(--zb-motion-fast) var(--zb-ease-out),
    box-shadow var(--zb-motion-fast) var(--zb-ease-out);
  width: 100%;
}
.zb-ui .zb-checkout-page form.zb-checkout .form-row textarea {
  min-height: 96px;
}
.zb-ui .zb-checkout-page form.zb-checkout .form-row .input-text:focus,
.zb-ui .zb-checkout-page form.zb-checkout .form-row select:focus,
.zb-ui .zb-checkout-page form.zb-checkout .form-row textarea:focus,
.zb-ui .zb-checkout-page .select2-container--focus .select2-selection--single {
  border-color: #f4a466;
  box-shadow: var(--zb-shadow-focus);
  outline: 0;
}
.zb-ui .zb-checkout-page form.zb-checkout .woocommerce-invalid .input-text,
.zb-ui .zb-checkout-page form.zb-checkout .woocommerce-invalid select {
  border-color: #d64545;
}

/* Payment */
.zb-ui .zb-checkout-page #payment.zb-co-payment {
  background: transparent;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.zb-ui .zb-checkout-page .zb-co-secure {
  align-items: center;
  color: var(--zb-color-mint-deep);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 4px;
}
.zb-ui .zb-checkout-page .zb-co-secure svg {
  height: 16px;
  width: 16px;
}
.zb-ui .zb-checkout-page #payment ul.zb-co-options li.zb-co-option div.payment_box {
  box-sizing: border-box;
  width: auto;
  background: #f8f3ed;
  border-radius: 12px;
  color: var(--zb-color-text-secondary);
  font-size: 0.8rem;
  line-height: 1.7;
  margin: 0 14px 14px;
  padding: 10px 12px;
}
.zb-ui .zb-checkout-page #payment div.payment_box p {
  margin: 0;
}
.zb-ui .zb-checkout-page #payment div.payment_box::before {
  content: none;
}
.zb-ui .zb-checkout-page #payment .place-order.zb-co-submit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.zb-ui .zb-checkout-page .zb-co-payable {
  align-items: center;
  background: #fff1e6;
  border-radius: 18px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 18px;
}
.zb-ui .zb-checkout-page .zb-co-payable span {
  color: var(--zb-color-text);
  font-size: 0.88rem;
  font-weight: 700;
}
.zb-ui .zb-checkout-page .zb-co-payable strong {
  color: #b4500a;
  font-size: 1.3rem;
  font-weight: 900;
}
.zb-ui .zb-checkout-page .zb-co-payable strong small {
  display: none;
}
.zb-ui .zb-checkout-page form.zb-checkout #place_order {
  align-items: center;
  background-color: var(--zb-color-primary-action);
  background-image: var(--zb-gradient-cta);
  border: 0;
  border-radius: 22px;
  box-shadow: var(--zb-shadow-cta);
  color: var(--zb-color-on-primary-action);
  display: flex;
  float: none;
  font: 800 1.08rem var(--zb-font-family);
  justify-content: center;
  min-height: 62px;
  padding-inline: 56px;
  position: relative;
  transition:
    transform var(--zb-motion-fast) var(--zb-ease-out),
    box-shadow var(--zb-motion-fast) var(--zb-ease-out);
  width: 100%;
}
.zb-ui .zb-checkout-page form.zb-checkout #place_order::after {
  background: currentColor;
  content: '';
  height: 22px;
  inset-inline-end: 20px;
  -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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5m6-6-6 6 6 6'/%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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5m6-6-6 6 6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  position: absolute;
  top: calc(50% - 11px);
  width: 22px;
}
.zb-ui .zb-checkout-page form.zb-checkout #place_order:hover {
  background-image: var(--zb-gradient-cta-hover);
  box-shadow: 0 14px 28px rgba(244, 148, 75, 0.3);
}
.zb-ui .zb-checkout-page form.zb-checkout #place_order:active {
  transform: scale(0.99);
}
.zb-ui .zb-checkout-page form.zb-checkout #place_order:focus-visible {
  box-shadow: var(--zb-shadow-focus), var(--zb-shadow-cta);
  outline: 0;
}
.zb-ui .zb-checkout-page .woocommerce-privacy-policy-text,
.zb-ui .zb-checkout-page .woocommerce-terms-and-conditions-wrapper {
  color: #7d756d;
  font-size: 0.75rem;
  line-height: 1.8;
}
.zb-ui .zb-checkout-page .woocommerce-privacy-policy-text p {
  margin: 0;
}

@media (min-width: 560px) {
  .zb-ui .zb-checkout-page .woocommerce-billing-fields__field-wrapper,
  .zb-ui .zb-checkout-page .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zb-ui .zb-checkout-page form.zb-checkout .form-row {
    grid-column: 1 / -1;
  }
  .zb-ui .zb-checkout-page form.zb-checkout .form-row-first,
  .zb-ui .zb-checkout-page form.zb-checkout .form-row-last {
    grid-column: auto;
  }
}

/* Desktop: details on the start side, the order and payment column beside it */
@media (min-width: 1024px) {
  .zb-ui .zb-checkout-page form.zb-checkout {
    align-items: start;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
    max-width: none;
  }
  .zb-ui .zb-checkout-page form.zb-checkout #customer_details,
  .zb-ui .zb-checkout-page form.zb-checkout #order_review {
    display: flex;
    flex-direction: column;
    gap: 14px;
    grid-row: 1;
  }
  .zb-ui .zb-checkout-page form.zb-checkout #customer_details {
    grid-column: 1;
  }
  .zb-ui .zb-checkout-page form.zb-checkout #order_review {
    grid-column: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .zb-ui .zb-checkout-page .zb-co-address.is-editing .zb-co-address__fields {
    animation: none;
  }
  .zb-ui .zb-checkout-page form.zb-checkout #place_order,
  .zb-ui .zb-checkout-page li.zb-co-option,
  .zb-ui .zb-checkout-page .zb-co-option__check svg {
    transition: none;
  }
}
.zb-ui .zb-cart-line__remove {
  --wc-red: var(--zb-color-text);
}

/* ---------- Magazine ---------- */
.zb-ui .zb-mag {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.zb-ui .zb-mag .zb-page-head {
  margin-bottom: 0;
}
.zb-ui .zb-mag__search .zb-round-button {
  cursor: pointer;
}
.zb-ui .zb-topic-row {
  display: flex;
  gap: 8px;
  margin-inline: -20px;
  overflow-x: auto;
  padding: 2px 20px 6px;
  scrollbar-width: none;
}
.zb-ui .zb-topic {
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 999px;
  color: var(--zb-color-text);
  flex: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color var(--zb-motion-normal) var(--zb-ease-out);
}
.zb-ui .zb-topic.is-active {
  background: #fde6d4;
  border-color: #f9cfae;
  color: #8a3e05;
}
.zb-ui .zb-mag__result {
  color: var(--zb-color-text-secondary);
  margin: 0;
}
.zb-ui .zb-article-card--featured {
  grid-template-columns: 1fr;
}
.zb-ui .zb-article-card--featured .zb-article-card__media {
  aspect-ratio: 16 / 9;
}
.zb-ui .zb-article-card--featured .zb-article-card__body {
  gap: 8px;
  padding: 18px 20px 20px;
}
.zb-ui .zb-article-card--featured .zb-article-card__title {
  font-size: 1.3rem;
  line-height: 1.6;
}
.zb-ui .zb-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.zb-ui .zb-pagination .page-numbers {
  align-items: center;
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 999px;
  color: var(--zb-color-text);
  display: inline-flex;
  min-height: 42px;
  min-width: 42px;
  justify-content: center;
  padding: 0 12px;
  text-decoration: none;
}
.zb-ui .zb-pagination .current {
  background: #fde6d4;
  border-color: #f9cfae;
  font-weight: 800;
}
.zb-ui .zb-article {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.zb-ui .zb-article__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-inline: auto;
  max-width: 760px;
  width: 100%;
}
.zb-ui .zb-article__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zb-ui .zb-article__back {
  height: 42px;
  width: 42px;
}
.zb-ui .zb-article__head .zb-kicker {
  text-decoration: none;
}
.zb-ui .zb-article__title {
  font-size: clamp(1.7rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}
.zb-ui .zb-article__meta {
  color: var(--zb-color-text-secondary);
  display: flex;
  font-size: 0.85rem;
  gap: 8px;
  margin: 0;
}
.zb-ui .zb-article__hero {
  border-radius: 28px;
  margin: 0;
  overflow: hidden;
}
.zb-ui .zb-article__hero img {
  display: block;
  height: auto;
  width: 100%;
}
.zb-ui .zb-article__content {
  font-size: 1.04rem;
  line-height: 2.15;
}
.zb-ui .zb-article__content h2,
.zb-ui .zb-article__content h3 {
  line-height: 1.6;
  margin: 1.8em 0 0.6em;
}
.zb-ui .zb-article__content p {
  margin: 0 0 1.2em;
}
.zb-ui .zb-article__content blockquote {
  background: #fff6ee;
  border-inline-start: 4px solid #f4a466;
  border-radius: 16px;
  margin: 1.4em 0;
  padding: 14px 18px;
}
.zb-ui .zb-article__related {
  margin-inline: auto;
  max-width: 1080px;
  width: 100%;
}

/* Article audio player (native <audio> without JS, custom controls with JS). */
.zb-ui .zb-audio {
  align-items: center;
  background: linear-gradient(120deg, #fff4ea, #fde6d4);
  border: 1px solid rgba(249, 201, 166, 0.6);
  border-radius: 24px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 12px 16px 12px 12px;
}
.zb-ui .zb-audio audio {
  grid-column: 1 / -1;
  width: 100%;
}
.zb-ui .zb-audio:not(.is-enhanced) .zb-audio__toggle,
.zb-ui .zb-audio:not(.is-enhanced) [data-zb-audio-progress],
.zb-ui .zb-audio:not(.is-enhanced) .zb-audio__time {
  display: none;
}
.zb-ui .zb-audio.is-enhanced audio {
  display: none;
}
.zb-ui .zb-audio__toggle {
  align-items: center;
  background: linear-gradient(160deg, #f9a25d, #f27a24);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(242, 122, 36, 0.3);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  width: 56px;
}
.zb-ui .zb-audio__toggle .zb-icon {
  fill: currentColor;
}
.zb-ui .zb-audio__pause,
.zb-ui .zb-audio.is-playing .zb-audio__play {
  display: none;
}
.zb-ui .zb-audio.is-playing .zb-audio__pause {
  display: inline-flex;
}
.zb-ui .zb-audio__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zb-ui .zb-audio__body strong {
  font-size: 0.92rem;
}
.zb-ui .zb-audio__body input {
  accent-color: #f27a24;
  width: 100%;
}
.zb-ui .zb-audio__time {
  color: #8a3e05;
  font-size: 0.85rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .zb-ui .zb-topic-row {
    flex-wrap: wrap;
    margin-inline: 0;
    overflow: visible;
    padding-inline: 0;
  }
  .zb-ui .zb-article-card--featured {
    grid-template-columns: 1.2fr 1fr;
  }
  .zb-ui .zb-article-card--featured .zb-article-card__media {
    aspect-ratio: auto;
    min-height: 300px;
  }
  .zb-ui .zb-article-card--featured .zb-article-card__body {
    justify-content: center;
    padding: 32px;
  }
  .zb-ui .zb-article-card--featured .zb-article-card__title {
    font-size: 1.7rem;
  }
}
@media (min-width: 1024px) {
  .zb-ui .zb-mag {
    gap: 24px;
  }
  .zb-ui .zb-mag__search {
    max-width: 560px;
  }
}
.zb-ui .zb-audio__body input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to left, #f27a24 var(--zb-pct, 0%), #f3dccb 0);
  border-radius: 999px;
  height: 6px;
}
.zb-ui .zb-audio__body input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #fff;
  border: 3px solid #f27a24;
  border-radius: 50%;
  height: 16px;
  width: 16px;
}
.zb-ui .zb-audio__body input[type='range']::-moz-range-thumb {
  background: #fff;
  border: 3px solid #f27a24;
  border-radius: 50%;
  height: 12px;
  width: 12px;
}

/* ---------- Account / profile hub ---------- */
.zb-ui .zb-account {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.zb-ui .zb-profile-card {
  align-items: center;
  background: linear-gradient(120deg, #fff3ea, #fde3cf);
  border: 1px solid rgba(249, 201, 166, 0.5);
  border-radius: 28px;
  display: flex;
  gap: 16px;
  padding: 20px;
}
.zb-ui .zb-profile-card__avatar {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--zb-shadow-soft);
  color: #a2490a;
  display: inline-flex;
  flex: none;
  font-size: 1.8rem;
  font-weight: 900;
  height: 72px;
  justify-content: center;
  width: 72px;
}
.zb-ui .zb-profile-card__name {
  font-size: 1.5rem;
  margin: 0;
}
.zb-ui .zb-profile-card__meta {
  color: #6b5f55;
  margin: 2px 0 0;
}
.zb-ui .zb-profile-tiles {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.zb-ui .zb-account .woocommerce {
  display: grid;
  gap: 16px;
}
.zb-ui .zb-account .woocommerce-MyAccount-navigation,
.zb-ui .zb-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}
.zb-ui .zb-account .woocommerce-MyAccount-navigation ul {
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 8px;
}
.zb-ui .zb-account .woocommerce-MyAccount-navigation a {
  border-radius: 999px;
  color: var(--zb-color-text);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 14px;
  text-decoration: none;
}
.zb-ui .zb-account .woocommerce-MyAccount-navigation li:not(.is-active) a {
  background: transparent;
  transition: background-color var(--zb-motion-fast) var(--zb-ease-out);
}
.zb-ui .zb-account .woocommerce-MyAccount-navigation li:not(.is-active) a:hover {
  background: var(--zb-color-beige);
}
.zb-ui .zb-account .woocommerce-MyAccount-navigation .is-active a {
  background: #fde6d4;
  background-image: none;
  color: #8a3e05;
}
.zb-ui .zb-account .woocommerce-MyAccount-content {
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 24px;
  box-shadow: var(--zb-shadow-soft);
  padding: 18px;
}
.zb-ui .zb-account .woocommerce-form-login,
.zb-ui .zb-account .woocommerce-form-register {
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 24px;
  margin: 0;
  padding: 20px;
}
.zb-ui .zb-account .woocommerce-form .input-text {
  background: #fff;
  border: 1px solid var(--zb-color-border);
  border-radius: 16px;
  min-height: 50px;
  padding: 0 14px;
  width: 100%;
}
@media (min-width: 768px) {
  .zb-ui .zb-profile-tiles {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .zb-ui .zb-account .woocommerce {
    align-items: start;
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .zb-ui .zb-account .woocommerce-MyAccount-navigation ul {
    flex-direction: column;
  }
  /* WooCommerce prints a notices wrapper first; pin the columns so it cannot shift them. */
  .zb-ui
    .zb-account
    .woocommerce
    > :not(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
    grid-column: 1 / -1;
  }
  .zb-ui .zb-account .woocommerce > .woocommerce-notices-wrapper:empty {
    display: none;
  }
  .zb-ui .zb-account .woocommerce-MyAccount-navigation {
    grid-column: 1;
    position: sticky;
    top: 96px;
  }
  .zb-ui .zb-account .woocommerce-MyAccount-content {
    grid-column: 2;
  }
  .zb-ui .zb-account .woocommerce-MyAccount-navigation a {
    display: flex;
    padding: 10px 16px;
  }
  .zb-ui .zb-profile-tiles a {
    white-space: nowrap;
  }
}

/* PDP mobile: full-width square gallery followed by product information. */
@media (max-width: 599px) {
  .zb-ui .zb-pdp__top {
    align-items: start;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
  }
  .zb-ui .zb-pdp-gallery {
    gap: 8px;
  }
  .zb-ui .zb-pdp-gallery__stage {
    aspect-ratio: 1 / 1;
    border-radius: 24px;
  }
  .zb-ui .zb-pdp-gallery__fav {
    height: 38px;
    inset-inline-end: 10px;
    top: 10px;
    width: 38px;
  }
  .zb-ui .zb-pdp-gallery__thumbs {
    gap: 6px;
  }
  .zb-ui .zb-pdp-gallery__thumb {
    border-radius: 12px;
    height: auto;
    aspect-ratio: 1 / 1;
    flex: 1;
    max-width: 33%;
    width: auto;
  }
  .zb-ui .zb-pdp-info {
    gap: 6px;
  }
  .zb-ui .zb-pdp-info .zb-kicker {
    font-size: 0.7rem;
    padding: 3px 10px;
  }
  .zb-ui .zb-pdp-info__brand {
    font-size: 0.78rem;
  }
  .zb-ui .zb-pdp-info__title {
    font-size: 1.12rem;
    line-height: 1.55;
  }
  .zb-ui .zb-pdp-info__lead {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    font-size: 0.78rem;
    line-height: 1.8;
    overflow: hidden;
  }
  .zb-ui .zb-pdp-rating {
    font-size: 0.75rem;
  }
  .zb-ui .zb-pdp-price {
    border-radius: 18px;
    gap: 8px;
    padding: 10px 12px;
  }
  .zb-ui .zb-pdp-price .price {
    font-size: 1.2rem;
  }
  .zb-ui .zb-pdp-price__installment {
    font-size: 0.72rem;
    padding: 6px 8px;
  }
  .zb-ui .zb-pdp-stock {
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 6px;
  }
  .zb-ui .zb-pdp-stock__volume {
    margin-inline-start: 0;
  }
}
.zb-ui .zb-pdp-info h1.zb-pdp-info__title {
  font-size: clamp(1.45rem, 1.2rem + 1.4vw, 2.2rem);
}
@media (max-width: 599px) {
  .zb-ui .zb-pdp-info h1.zb-pdp-info__title {
    font-size: 1.12rem;
  }

  /* Keep the official SnappPay PDP widget compact inside the narrow mobile
     product-summary column. The plugin injects broad global styles inline. */
  .zb-ui .zb-pdp-price .snapppay-widget {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    gap: 6px;
    min-width: 0;
    padding: 6px 7px;
    width: 100%;
  }
  .zb-ui .zb-pdp-price .snapppay-widget-image {
    border-radius: 9px;
    flex: 0 0 28px;
    height: 28px;
    object-fit: contain;
    width: 28px;
  }
  .zb-ui .zb-pdp-price .snapppay-widget-content {
    flex: 1 1 auto;
    min-width: 0;
  }
  .zb-ui .zb-pdp-price .snapppay-widget-title {
    font-family: inherit;
    font-size: 0.66rem;
    line-height: 1.55;
    margin: 0;
    overflow-wrap: normal;
  }
  .zb-ui .zb-pdp-price .snapppay-widget-description {
    display: none;
  }
}

/* Account order list */
.zb-ui .zb-account table.woocommerce-orders-table {
  border: 0;
}
.zb-ui .zb-account table.woocommerce-orders-table .button {
  background: #fde6d4;
  border: 0;
  border-radius: 999px;
  color: #8a3e05;
  font: 800 0.82rem var(--zb-font-family);
  padding: 8px 16px;
  text-decoration: none;
}
.zb-ui .zb-account table.woocommerce-orders-table .button:hover {
  background: #fbd6ba;
}
.zb-ui .zb-account table.woocommerce-orders-table a {
  color: #8a3e05;
  font-weight: 800;
}
@media (max-width: 768px) {
  .zb-ui .zb-account table.woocommerce-orders-table tbody th {
    display: block;
    font-size: 0.95rem;
    padding: 4px 12px;
    text-align: start;
  }
  .zb-ui .zb-account table.woocommerce-orders-table tbody tr {
    background: var(--zb-color-white);
    border: 1px solid var(--zb-color-border);
    border-radius: 18px;
    display: block;
    margin-bottom: 10px;
    padding: 8px 4px;
  }
  .zb-ui .zb-account table.woocommerce-orders-table tbody td {
    background: none;
    border: 0;
  }
}

/* ==========================================================================
   Homepage Completion & Discovery: Search Discovery, Real Results,
   Skin Analysis, and Consultation
   ========================================================================== */

/* ==========================================================================
   Repair 2026-10-05: honest media, compact home rhythm, filter drawer
   ========================================================================== */

/* Neutral "no image yet" frame: real catalog media only, never a stand-in packshot. */
.zb-ui .zb-media-missing {
  align-items: center;
  aspect-ratio: 1;
  background: var(--zb-color-beige);
  border-radius: inherit;
  color: #b9ab9d;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}
.zb-ui .zb-media-missing .zb-icon {
  height: 34%;
  max-height: 44px;
  max-width: 44px;
  min-height: 18px;
  min-width: 18px;
  width: 34%;
}
/* Hero without real product photos: an abstract, clearly non-product composition. */
.zb-ui .zb-home-hero__composition--abstract span:not(.zb-home-hero__orb) {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: var(--zb-shadow-soft);
  color: var(--zb-color-primary-deep);
  display: flex;
  height: 64px;
  justify-content: center;
  position: absolute;
  width: 64px;
}
.zb-ui .zb-home-hero__drop {
  bottom: 70px;
  inset-inline-start: calc(50% - 32px);
}
.zb-ui .zb-home-hero__leaf {
  bottom: 24px;
  inset-inline-start: calc(50% - 112px);
  transform: scale(0.8);
}
.zb-ui .zb-home-hero__spark {
  bottom: 30px;
  inset-inline-start: calc(50% + 48px);
  transform: scale(0.7);
}

/* Consecutive editorial invitations share one row instead of stacking full-width. */
.zb-ui .zb-home-pair {
  display: grid;
  gap: 12px;
}
.zb-ui .zb-home-pair > .zb-home-section {
  margin: 0;
}
@media (min-width: 768px) {
  .zb-ui .zb-home-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zb-ui .zb-home-pair .zb-banner {
    height: 100%;
  }
}

/* Consultation: one compact help strip. */
.zb-ui .zb-help-strip {
  align-items: center;
  background: var(--zb-color-glass);
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 22px;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 14px 16px;
}
.zb-ui .zb-help-strip__icon {
  align-items: center;
  background: var(--zb-color-peach-wash);
  border-radius: 14px;
  color: var(--zb-color-primary-deep);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.zb-ui .zb-help-strip__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.zb-ui .zb-help-strip__text strong {
  font-size: 0.95rem;
  font-weight: 800;
}
.zb-ui .zb-help-strip__text small {
  color: var(--zb-color-text-secondary);
  font-size: 0.8rem;
}
.zb-ui .zb-help-strip__cta {
  grid-column: 1 / -1;
  justify-content: center;
}
@media (min-width: 600px) {
  .zb-ui .zb-help-strip {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }
  .zb-ui .zb-help-strip__cta {
    grid-column: auto;
  }
}

/* Search block (only when enabled in the Homepage Manager). */
.zb-ui .zb-search-discovery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Sample labels: staging QA content is never mistaken for genuine content. */
.zb-ui .zb-sample-tag,
.zb-ui .zb-proof-card__demo-tag {
  align-self: flex-start;
  background: #fff7d6;
  border: 1px dashed #c9a227;
  border-radius: 999px;
  color: #5c4a00;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 10px;
}
.zb-ui .zb-ugc-video-container:not(:has(video)) .zb-ugc-video-btn {
  display: none;
}

/* Timed-sale flag on product cards (any page with product cards). */
.zb-ui .zb-product-card__flag--sale {
  background: var(--zb-color-peach-soft);
  border: 1px solid #f9cfae;
  color: #8a3e05;
}

/* Cart feedback stays inside narrow product cards and notices. */
.zb-ui .zb-product-card__foot {
  flex-wrap: wrap;
  min-width: 0;
}
.zb-ui .zb-product-card__foot .added_to_cart {
  display: block;
  flex: 1 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.zb-ui .woocommerce-message .wc-forward {
  float: none;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
