/* 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: #fde8d9;
  color: #b84f16;
}
.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, #fbaa70, #f89858);
  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, #fbaa70, #f89858);
  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;
  /* Let the field shrink on 320px phones so the round button stays on screen. */
  min-width: 0;
  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;
  width: 100%;
}
.zb-ui .zb-home-search__field:focus-within {
  box-shadow: var(--zb-shadow-focus);
}
.zb-ui .zb-home-search .zb-round-button {
  flex: none;
  height: 52px;
  width: 52px;
}
.zb-ui .zb-home-hero__banner {
  background: linear-gradient(120deg, #fff4ed 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: #fde8d9;
  border-radius: 18px;
  color: #c96322;
  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: #b84f16;
  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;
}
/* Soft 3D illustrated icons (inc/icons-3d.php) on skin-need cards. */
.zb-ui .zb-need-card__icon--3d {
  background-image: radial-gradient(circle at 32% 26%, rgb(255 255 255 / 0.85), transparent 62%);
  box-shadow:
    inset 0 -3px 8px rgb(0 0 0 / 0.04),
    0 6px 14px rgb(60 30 10 / 0.06);
  height: 66px;
  margin-bottom: 6px;
  width: 66px;
}
.zb-ui .zb-need-card__icon--3d .zb-icon-3d {
  height: 50px;
  transition: transform var(--zb-motion-normal) var(--zb-ease-out);
  width: 50px;
}
.zb-ui .zb-need-card:hover .zb-icon-3d,
.zb-ui .zb-need-card:focus-visible .zb-icon-3d {
  transform: translateY(-2px) scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .zb-ui .zb-need-card:hover .zb-icon-3d,
  .zb-ui .zb-need-card:focus-visible .zb-icon-3d {
    transform: none;
  }
}
.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: #b84f16;
  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;
}
/* Soft 3D illustrated icons (inc/icons-3d.php) on product-category cards. */
.zb-ui .zb-category-card__icon--3d {
  background: rgb(255 255 255 / 0.8);
  border-radius: 16px;
  box-shadow: 0 6px 14px rgb(60 30 10 / 0.06);
  height: 58px;
  width: 58px;
}
.zb-ui .zb-category-card__icon--3d .zb-icon-3d {
  height: 48px;
  transition: transform var(--zb-motion-normal) var(--zb-ease-out);
  width: 48px;
}
.zb-ui .zb-category-card:hover .zb-icon-3d,
.zb-ui .zb-category-card:focus-visible .zb-icon-3d {
  transform: translateY(-2px) scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .zb-ui .zb-category-card:hover .zb-icon-3d,
  .zb-ui .zb-category-card:focus-visible .zb-icon-3d {
    transform: none;
  }
}
.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, #fff4ed 0%, #fde6d6 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: #c96322;
  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: #c96322;
  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, #fff6ef, #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: #b84f16;
  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: #f8a66f;
}
.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__freeship {
  align-items: center;
  background: #fbf1e0;
  border: 1px solid #ecd3a5;
  border-radius: 14px;
  color: #7a5418;
  display: flex;
  font-size: 0.85rem;
  font-weight: 800;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 12px;
}
.zb-ui .zb-pdp-price__freeship .zb-icon {
  height: 20px;
  width: 20px;
}
.zb-ui .zb-pdp-price__snapppay {
  margin-top: 8px;
}
.zb-ui .zb-pdp-price__bwdk {
  border-top: 1px dashed var(--zb-color-glass-border);
  padding-top: 10px;
}
.zb-ui .zb-pdp-price__bwdk > * {
  display: block;
  max-width: 100%;
}
.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: #a84512;
  flex: none;
  height: 16px;
  margin-top: 4px;
  width: 16px;
}
.zb-ui .zb-pdp-match-summary > a,
.zb-ui .zb-pdp-fit-prompt {
  color: #963d0f;
  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: #b84f16;
  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(#f89858 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: #f89858;
  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: #b84f16;
}
.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;
}
/* Save-name consent (guests) and submit: one row each, styled like the rest of the form. */
.zb-ui .zb-pdp-reviews .comment-form-cookies-consent {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  grid-column: 1 / -1;
}
.zb-ui .zb-pdp-reviews .comment-form-cookies-consent input {
  flex: none;
  height: 20px;
  margin: 2px 0 0;
  width: 20px;
}
.zb-ui .zb-pdp-reviews .comment-form-cookies-consent label {
  font-weight: 600;
  margin: 0;
}
.zb-ui .zb-pdp-reviews .form-submit .submit,
.zb-ui .zb-pdp-reviews #respond input#submit {
  background-color: var(--zb-color-primary-action);
  background-image: var(--zb-gradient-cta);
  border: 0;
  border-radius: 999px;
  box-shadow: var(--zb-shadow-cta);
  color: var(--zb-color-on-primary-action);
  cursor: pointer;
  font: 800 0.95rem var(--zb-font-family);
  min-height: 48px;
  padding: 0 28px;
}
.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: #fff4ed;
  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: #a84512;
  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: #fde8d9;
  border-radius: 50%;
  color: #b84f16;
  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: #a84512;
  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: #a84512;
  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: #fff2ea 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: #a84512;
  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: #f8c8a8;
}
.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: #f8a66f;
  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: #f8a66f;
}
.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: #a84512;
  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: #f8a66f;
  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: #fff2ea;
  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: #a84512;
  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: #fde8d9;
  border-color: #f8c8a8;
  color: #7b310b;
}
.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: #fde8d9;
  border-color: #f8c8a8;
  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 #f8a66f;
  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, #fde8d9);
  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, #fbaa70, #f89858);
  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: #f89858;
  width: 100%;
}
.zb-ui .zb-audio__time {
  color: #7b310b;
  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, #f89858 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 #f89858;
  border-radius: 50%;
  height: 16px;
  width: 16px;
}
.zb-ui .zb-audio__body input[type='range']::-moz-range-thumb {
  background: #fff;
  border: 3px solid #f89858;
  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, #fff4ed, #fde6d6);
  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: #963d0f;
  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.is-dashboard .woocommerce-MyAccount-navigation,
.zb-ui .zb-account.is-dashboard .woocommerce-MyAccount-content > p:first-child {
  display: none;
}
.zb-ui .zb-account.is-dashboard .woocommerce {
  display: block;
}
.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: #fde8d9;
  background-image: none;
  color: #7b310b;
}
.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(5, 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: #fde8d9;
  border: 0;
  border-radius: 999px;
  color: #7b310b;
  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: #7b310b;
  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-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 #f8c8a8;
  color: #7b310b;
}

/* 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;
}

/* Profile: short routine summary and link (the routine itself is reached from «برای من»). */
.zb-ui .zb-routine-summary {
  align-items: center;
  background: var(--zb-color-white);
  border: 1px solid var(--zb-color-border);
  border-radius: 18px;
  color: var(--zb-color-text);
  display: flex;
  gap: 12px;
  margin-top: 10px;
  min-height: 56px;
  padding: 10px 14px;
  text-decoration: none;
}
.zb-ui .zb-routine-summary__text {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}
.zb-ui .zb-routine-summary__text small {
  color: var(--zb-color-text-secondary);
}

/* Timed sale countdown on the product page (ticks in app.js, like the product cards). */
.zb-pdp-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff1e6;
  color: #9a3d00;
  font-size: 14px;
}
.zb-pdp-countdown .zb-icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.zb-pdp-countdown strong {
  font-variant-numeric: tabular-nums;
}

/* Homepage 2026-11: need chips in the hero, three paths, sample routine, Q&A, FAQ. */
.zb-ui .zb-home-hero__needs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.zb-ui .zb-home-hero__needs > span {
  width: 100%;
  color: var(--zb-color-text);
  font-size: 13px;
  font-weight: 700;
}
.zb-ui .zb-home-hero__need {
  padding: 8px 14px;
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 99px;
  background: var(--zb-color-white);
  color: var(--zb-color-text);
  font-size: 13px;
  text-decoration: none;
}
.zb-ui .zb-home-hero__need:hover,
.zb-ui .zb-home-hero__need:focus-visible {
  border-color: var(--zb-color-primary-action);
  background: var(--zb-color-peach-wash);
}
.zb-ui .zb-home-paths__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.zb-ui .zb-home-path {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  border: 1px solid var(--zb-color-glass-border);
  border-radius: 18px;
  background: var(--zb-color-white);
  color: var(--zb-color-text);
  text-decoration: none;
}
.zb-ui .zb-home-path--routine {
  background: var(--zb-color-peach-wash);
  border-color: var(--zb-color-primary-action);
}
.zb-ui .zb-home-path__icon .zb-icon {
  width: 24px;
  height: 24px;
}
.zb-ui .zb-home-path strong {
  font-size: 14px;
}
.zb-ui .zb-home-path small {
  color: var(--zb-color-text-secondary);
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 480px) {
  .zb-ui .zb-home-paths__grid {
    grid-template-columns: 1fr;
  }
  .zb-ui .zb-home-path {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
  }
  .zb-ui .zb-home-path__icon {
    grid-row: span 2;
    align-self: center;
  }
}
/* The need-first hero stays short on phones; the three paths replace the shortcut tiles. */
.zb-ui .zb-home-hero--needs .zb-quick-tile {
  display: none;
}
@media (max-width: 767px) {
  .zb-ui .zb-home-hero--needs .zb-home-hero__media {
    display: none;
  }
}

/* Homepage design pass (2026-11-04). */
/* Top announcement bar: one message at a time. */
.zb-ui .zb-topbar {
  background: var(--zb-color-text);
  color: var(--zb-color-white);
  font-size: 12.5px;
  font-weight: 600;
}
.zb-ui .zb-topbar__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.zb-ui .zb-topbar__list {
  position: relative;
  display: grid;
  height: 34px;
  margin: 0;
  padding: 0 16px;
  overflow: hidden;
  list-style: none;
}
.zb-ui .zb-topbar__msg {
  grid-area: 1 / 1;
  align-self: center;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.zb-ui .zb-topbar__msg.is-active {
  opacity: 1;
  transform: none;
}

/* Timed offer: a wide strip instead of a near-empty rail. */
.zb-ui .zb-offer__strip {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--zb-color-border);
  border-radius: var(--zb-radius-card);
  background: linear-gradient(90deg, var(--zb-color-white), var(--zb-color-peach-wash));
  box-shadow: var(--zb-shadow-soft);
}
.zb-ui .zb-offer__strip + .zb-offer__strip {
  margin-top: 12px;
}
.zb-ui .zb-offer__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: var(--zb-color-white);
}
.zb-ui .zb-offer__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.zb-ui .zb-offer__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 8px;
  border-radius: var(--zb-radius-pill);
  background: var(--zb-color-primary-deep);
  color: var(--zb-color-white);
  font-size: 12px;
  font-weight: 800;
}
.zb-ui .zb-offer__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.zb-ui .zb-offer__brand {
  color: var(--zb-color-text-secondary);
  font-size: 12px;
}
.zb-ui .zb-offer__name {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.zb-ui .zb-offer__name a {
  color: var(--zb-color-text);
  text-decoration: none;
}
.zb-ui .zb-offer__price {
  font-size: 15px;
  font-weight: 800;
  color: var(--zb-color-primary-deep);
}
.zb-ui .zb-offer__price del {
  margin-left: 6px;
  color: var(--zb-color-text-secondary);
  font-size: 12px;
  font-weight: 400;
}
.zb-ui .zb-offer__price ins {
  text-decoration: none;
}
.zb-ui .zb-offer__side {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.zb-ui .zb-offer__timer {
  display: flex;
  flex-direction: column;
  padding: 6px 12px;
  border-radius: 14px;
  background: var(--zb-color-text);
  color: var(--zb-color-white);
  line-height: 1.4;
}
.zb-ui .zb-offer__timer small {
  font-size: 11px;
  opacity: 0.75;
}
.zb-ui .zb-offer__timer strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}
.zb-ui .zb-offer__buy {
  gap: 6px;
}
@media (min-width: 768px) {
  .zb-ui .zb-offer__strip {
    grid-template-columns: 150px minmax(0, 1fr) auto;
    padding: 14px 20px 14px 14px;
  }
  .zb-ui .zb-offer__side {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .zb-ui .zb-offer__name {
    font-size: 17px;
  }
}

@media (min-width: 768px) {
}

/* Latest questions: a slow moving band of question bubbles. */
.zb-ui .zb-qa-band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.zb-ui .zb-qa-band__head .zb-button .zb-icon {
  width: 18px;
  height: 18px;
}
.zb-ui .zb-qa-band__viewport {
  overflow: hidden;
  margin-inline: -16px;
  padding: 4px 0 8px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.zb-ui .zb-qa-band__track {
  display: flex;
  gap: 12px;
  width: max-content;
  margin: 0;
  padding: 0 16px;
  list-style: none;
  animation: zb-qa-scroll calc(var(--zb-qa-count, 6) * 7s) linear infinite;
}
.zb-ui .zb-qa-band__viewport:hover .zb-qa-band__track,
.zb-ui .zb-qa-band__viewport:focus-within .zb-qa-band__track {
  animation-play-state: paused;
}
@keyframes zb-qa-scroll {
  to {
    transform: translateX(50%);
  }
}
.zb-ui .zb-qa-bubble {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  width: 250px;
  min-height: 112px;
  padding: 14px 16px;
  border: 1px solid var(--zb-color-border);
  border-radius: 20px 20px 6px 20px;
  background: var(--zb-color-white);
  box-shadow: var(--zb-shadow-soft);
  color: var(--zb-color-text);
  text-decoration: none;
}
.zb-ui .zb-qa-bubble:hover {
  border-color: var(--zb-color-primary-action);
}
.zb-ui .zb-qa-bubble__q {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.zb-ui .zb-qa-bubble__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--zb-color-text-secondary);
  font-size: 12px;
}
.zb-ui .zb-qa-bubble__meta em {
  padding: 2px 8px;
  border-radius: var(--zb-radius-pill);
  font-style: normal;
  font-weight: 700;
}
.zb-ui .zb-qa-bubble__meta em.is-answered {
  background: var(--zb-color-mint-soft);
  color: var(--zb-color-mint-deep);
}
.zb-ui .zb-qa-bubble__meta em.is-open {
  background: var(--zb-color-peach-soft);
  color: var(--zb-color-primary-deep);
}
@media (prefers-reduced-motion: reduce) {
  .zb-ui .zb-qa-band__viewport {
    overflow-x: auto;
  }
  .zb-ui .zb-qa-band__track {
    animation: none;
  }
  .zb-ui .zb-qa-band__track [aria-hidden='true'] {
    display: none;
  }
}

/* FAQ: a title card and an accordion with a plus that turns into a cross. */
.zb-ui .zb-faq {
  display: grid;
  gap: 16px;
}
.zb-ui .zb-faq__aside {
  padding: 18px;
  border-radius: var(--zb-radius-xl);
  background: linear-gradient(150deg, var(--zb-color-peach-soft), var(--zb-color-cream));
}
.zb-ui .zb-faq__icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 14px;
  background: var(--zb-color-white);
  color: var(--zb-color-primary-deep);
}
.zb-ui .zb-faq__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  color: var(--zb-color-primary-deep);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.zb-ui .zb-faq__list {
  display: grid;
  gap: 8px;
  align-content: start;
}
.zb-ui .zb-faq__item {
  border: 1px solid var(--zb-color-border);
  border-radius: 18px;
  background: var(--zb-color-white);
  transition: border-color 0.2s ease;
}
.zb-ui .zb-faq__item[open] {
  border-color: var(--zb-color-primary-action);
  box-shadow: var(--zb-shadow-soft);
}
.zb-ui .zb-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
.zb-ui .zb-faq__item summary::-webkit-details-marker {
  display: none;
}
.zb-ui .zb-faq__q {
  font-size: 14px;
  font-weight: 700;
}
.zb-ui .zb-faq__toggle {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--zb-color-peach-wash);
  color: var(--zb-color-primary-deep);
  transition: transform 0.25s ease;
}
.zb-ui .zb-faq__toggle .zb-icon {
  width: 16px;
  height: 16px;
}
.zb-ui .zb-faq__item[open] .zb-faq__toggle {
  transform: rotate(45deg);
}
.zb-ui .zb-faq__item p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--zb-color-text-secondary);
  font-size: 13.5px;
  line-height: 1.9;
}
@media (min-width: 900px) {
  .zb-ui .zb-faq {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .zb-ui .zb-faq__aside {
    position: sticky;
    top: 96px;
    padding: 24px;
  }
}
/* Phones: tighter trust row and FAQ heading, so the page does not stretch. */
@media (max-width: 767px) {
  .zb-ui .zb-trust-row li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 16px;
  }
  .zb-ui .zb-trust-row li .zb-trust-row__icon {
    grid-row: span 2;
  }
  .zb-ui .zb-trust-row li strong {
    font-size: 13px;
  }
  .zb-ui .zb-trust-row li small {
    font-size: 11.5px;
    line-height: 1.6;
  }
  .zb-ui .zb-faq__aside {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    padding: 14px 16px;
  }
  .zb-ui .zb-faq__icon {
    grid-row: span 3;
    margin: 0;
  }
  .zb-ui .zb-faq__more {
    margin-top: 2px;
  }
}
@media (max-width: 767px) {
  .zb-ui .zb-home-hero--needs .zb-home-hero__title {
    max-width: none;
    font-size: 1.6rem;
    line-height: 1.45;
  }
  .zb-ui .zb-home-hero--needs .zb-home-hero__actions .zb-button {
    white-space: nowrap;
  }
  .zb-ui .zb-home-hero--needs .zb-button--secondary .zb-icon {
    display: none;
  }
  .zb-ui .zb-home-hero--needs .zb-home-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .zb-ui .zb-home-hero--needs .zb-home-hero__actions .zb-button {
    justify-content: center;
    padding-inline: 10px;
    font-size: 0.88rem;
  }
  .zb-ui .zb-home-hero__need {
    padding: 6px 12px;
  }
}
/* The announcement bar stays on top while scrolling and never widens the page. */
.zb-ui .zb-topbar {
  position: sticky;
  top: 0;
  z-index: 45;
  overflow: hidden;
  max-width: 100vw;
}
.zb-ui .zb-topbar__list,
.zb-ui .zb-topbar__msg {
  min-width: 0;
  max-width: 100%;
}
/* Top bar: the partner logo (white pill, its own colours) changes with each message. */
.zb-ui .zb-topbar__msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.zb-ui .zb-topbar__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zb-ui .zb-topbar__logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
}
.zb-ui .zb-topbar__logo img {
  display: block;
  width: auto;
  height: 13px;
}
.zb-ui .zb-topbar__logo img[src*='smile'] {
  height: 9px;
}
.zb-ui .zb-topbar__logo img[src*='sibpay'] {
  height: 18px;
}
.zb-ui:has(> .zb-topbar) .zb-site-header {
  top: 34px;
}
/* A wide child (rails, bands) never pushes the homepage sideways on phones. */
.zb-ui .zb-home {
  overflow-x: clip;
}

/* Scan-to-routine teaser: a face scan that turns into a morning and night routine. */
.zb-ui .zb-magic {
  position: relative;
  display: grid;
  gap: 22px;
  overflow: hidden;
  padding: 22px 18px;
  border-radius: var(--zb-radius-xl);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 168, 106, 0.35), transparent 42%),
    radial-gradient(circle at 92% 88%, rgba(155, 110, 243, 0.18), transparent 45%),
    linear-gradient(160deg, #fff4ec, #fdebdd 60%, #fbe2d6);
  isolation: isolate;
}
.zb-ui .zb-magic__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--zb-radius-pill);
  background: var(--zb-color-white);
  color: var(--zb-color-primary-deep);
  font-size: 12px;
  font-weight: 800;
}
.zb-ui .zb-magic__kicker .zb-icon {
  width: 15px;
  height: 15px;
}
.zb-ui .zb-magic__title {
  margin: 10px 0 6px;
  font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem);
  font-weight: 900;
  line-height: 1.45;
}
.zb-ui .zb-magic__lead {
  margin: 0;
  color: #5d5148;
  font-size: 0.95rem;
  line-height: 1.9;
}
.zb-ui .zb-magic__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
}
.zb-ui .zb-magic__perks li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.zb-ui .zb-magic__perks .zb-icon {
  width: 16px;
  height: 16px;
  color: var(--zb-color-mint-deep);
}
.zb-ui .zb-magic__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 18px;
}
.zb-ui .zb-magic__cta {
  gap: 8px;
  padding-inline: 22px;
  font-size: 1rem;
  animation: zb-magic-pulse 2.4s ease-in-out infinite;
}
.zb-ui .zb-magic__cta .zb-icon {
  width: 20px;
  height: 20px;
}
@keyframes zb-magic-pulse {
  0%,
  100% {
    box-shadow:
      var(--zb-shadow-cta),
      0 0 0 0 rgba(244, 148, 75, 0.45);
  }
  50% {
    box-shadow:
      var(--zb-shadow-cta),
      0 0 0 12px rgba(244, 148, 75, 0);
  }
}
.zb-ui .zb-magic__alt {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--zb-color-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.zb-ui .zb-magic__alt .zb-icon {
  width: 16px;
  height: 16px;
}

/* Stage: phone with the face, result chips, the routine. */
.zb-ui .zb-magic__stage {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.zb-ui .zb-magic__phone {
  grid-row: span 2;
  padding: 6px;
  border-radius: 26px;
  background: #1f1f1f;
  box-shadow: 0 18px 40px rgba(76, 57, 39, 0.25);
  transform: rotate(-4deg);
}
.zb-ui .zb-magic__screen {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 21px;
  background: linear-gradient(180deg, #fff7f0, #fde7d6);
}
.zb-ui .zb-magic__face {
  position: absolute;
  inset: 12% 6% auto;
  width: 88%;
  height: auto;
  transition: filter 0.6s ease;
}
.zb-ui .zb-magic.is-scanned .zb-magic__face {
  filter: drop-shadow(0 0 10px rgba(83, 196, 131, 0.55));
}
.zb-ui .zb-magic__mesh {
  position: absolute;
  inset: 14% 14% 30%;
  border: 1.5px dashed rgba(244, 148, 75, 0.7);
  border-radius: 48% 48% 44% 44%;
  transition: border-color 0.6s ease;
}
.zb-ui .zb-magic.is-scanned .zb-magic__mesh {
  border-color: rgba(83, 196, 131, 0.8);
}
.zb-ui .zb-magic__line {
  position: absolute;
  inset-inline: 8%;
  top: 14%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #ff7a1a, transparent);
  box-shadow: 0 0 12px 3px rgba(255, 122, 26, 0.45);
  animation: zb-magic-scan 1.6s ease-in-out infinite alternate;
}
.zb-ui .zb-magic.is-scanned .zb-magic__line {
  opacity: 0;
  animation-play-state: paused;
}
@keyframes zb-magic-scan {
  to {
    top: 70%;
  }
}
.zb-ui .zb-magic__dot {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 7px;
  height: 7px;
  margin: -3.5px;
  border-radius: 50%;
  background: #ff7a1a;
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.5);
  animation: zb-magic-dot 1.4s ease-out infinite;
}
.zb-ui .zb-magic.is-scanned .zb-magic__dot {
  background: var(--zb-color-green);
}
@keyframes zb-magic-dot {
  to {
    box-shadow: 0 0 0 9px rgba(255, 122, 26, 0);
  }
}
.zb-ui .zb-magic__status {
  position: absolute;
  inset-inline: 10%;
  bottom: 7%;
  padding: 5px 0;
  border-radius: var(--zb-radius-pill);
  background: rgba(31, 31, 31, 0.78);
  color: var(--zb-color-white);
  font-size: 10.5px;
  text-align: center;
}
.zb-ui .zb-magic__status b {
  font-weight: 700;
}
.zb-ui .zb-magic__status-done,
.zb-ui .zb-magic.is-scanned .zb-magic__status-scan {
  display: none;
}
.zb-ui .zb-magic.is-scanned .zb-magic__status-done {
  display: inline;
}
.zb-ui .zb-magic__chips {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zb-ui .zb-magic__chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--zb-shadow-soft);
  font-size: 12px;
  opacity: 0.3;
  filter: grayscale(1);
  transform: translateX(-6px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  transition-delay: calc(var(--i) * 0.25s);
}
.zb-ui .zb-magic__chip .zb-icon {
  width: 15px;
  height: 15px;
  padding: 2px;
  border-radius: 50%;
  background: var(--zb-color-mint-soft);
  color: var(--zb-color-mint-deep);
}
.zb-ui .zb-magic__chip span {
  color: var(--zb-color-text-secondary);
}
.zb-ui .zb-magic__chip strong {
  margin-inline-start: auto;
}
.zb-ui .zb-magic.is-scanned .zb-magic__chip {
  opacity: 1;
  filter: none;
  transform: none;
}
.zb-ui .zb-magic__routine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.zb-ui .zb-magic__period {
  padding: 10px;
  border-radius: 18px;
  background: var(--zb-color-white);
  box-shadow: var(--zb-shadow-soft);
}
.zb-ui .zb-magic__period--night {
  background: linear-gradient(160deg, #2e2a4a, #4a4372);
  color: var(--zb-color-white);
}
.zb-ui .zb-magic__period-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 800;
}
.zb-ui .zb-magic__period-head .zb-icon {
  width: 18px;
  height: 18px;
  color: #f4b73f;
}
.zb-ui .zb-magic__period ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zb-ui .zb-magic__period li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  opacity: 0.2;
  transform: translateY(4px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  transition-delay: calc(var(--i) * 0.2s);
}
.zb-ui .zb-magic.is-morning .zb-magic__period--morning li,
.zb-ui .zb-magic.is-night .zb-magic__period--night li {
  opacity: 1;
  transform: none;
}
.zb-ui .zb-magic__step-icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: none;
  place-items: center;
  border-radius: 8px;
  background: var(--zb-color-peach-wash);
  color: var(--zb-color-primary-deep);
}
.zb-ui .zb-magic__period--night .zb-magic__step-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #f8e9b8;
}
.zb-ui .zb-magic__step-icon .zb-icon {
  width: 13px;
  height: 13px;
}
@media (min-width: 900px) {
  .zb-ui .zb-magic {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 36px;
    padding: 40px 44px;
  }
  .zb-ui .zb-magic__stage {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
  }
  .zb-ui .zb-magic__chip {
    font-size: 13px;
  }
  .zb-ui .zb-magic__period li {
    font-size: 12.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .zb-ui .zb-magic__cta,
  .zb-ui .zb-magic__line,
  .zb-ui .zb-magic__dot {
    animation: none;
  }
}
/* Phones: the routine cards take the full width under the phone and the result chips. */
@media (max-width: 899px) {
  .zb-ui .zb-magic__phone {
    grid-row: auto;
  }
  .zb-ui .zb-magic__routine {
    grid-column: 1 / -1;
  }
}

/* The teaser phone shows a real photo; the scan line and points run over the face. */
.zb-ui .zb-magic__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.6s ease;
}
.zb-ui .zb-magic.is-scanned .zb-magic__photo {
  filter: saturate(1.08) brightness(1.03);
}
.zb-ui .zb-magic__line {
  top: 12%;
  animation-name: zb-magic-scan-photo;
}
@keyframes zb-magic-scan-photo {
  to {
    top: 62%;
  }
}

/* Homepage hero photo: on top on phones and tablets, the banner background on desktop.
   The image keeps its 16:9 shape so the scan beam stays on the face. */
.zb-ui .zb-home-hero__photo {
  position: relative;
  order: -1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.zb-ui .zb-home-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zb-ui .zb-home-hero__facebox {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 18%;
  height: 39%;
  overflow: hidden;
}
.zb-ui .zb-home-hero__beam {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #ffd2a6, transparent);
  box-shadow: 0 0 14px 4px rgba(255, 168, 106, 0.55);
  animation: zb-hero-beam 2.6s ease-in-out infinite alternate;
}
@keyframes zb-hero-beam {
  to {
    top: calc(100% - 3px);
  }
}
.zb-ui .zb-home-hero--photo .zb-home-hero__banner {
  background: #f8e2d2;
  gap: 0;
}
.zb-ui .zb-home-hero--photo .zb-home-hero__text {
  padding-top: 18px;
  padding-bottom: 22px;
}
@media (min-width: 1024px) {
  .zb-ui .zb-home-hero--photo .zb-home-hero__banner {
    grid-template-columns: 1fr 1fr;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .zb-ui .zb-home-hero--photo .zb-home-hero__photo {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }
  .zb-ui .zb-home-hero--photo .zb-home-hero__text {
    padding: 48px 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .zb-ui .zb-home-hero__beam {
    animation: none;
    display: none;
  }
}

/* Page numbers everywhere (magazine, Q&A, shop): wrap instead of overlapping, smaller on phones. */
.zb-ui .zb-pagination,
.zb-ui .woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.zb-ui .woocommerce-pagination ul li {
  display: block;
  margin: 0;
  border: 0;
}
.zb-ui .zb-pagination .page-numbers,
.zb-ui .woocommerce-pagination .page-numbers {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--zb-color-border);
  border-radius: 999px;
  background: var(--zb-color-white);
  color: var(--zb-color-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}
.zb-ui .zb-pagination .page-numbers.current,
.zb-ui .woocommerce-pagination .page-numbers.current {
  border-color: var(--zb-color-primary-action);
  background: var(--zb-color-primary-action);
  color: var(--zb-color-on-primary-action);
}
.zb-ui .zb-pagination .page-numbers.dots,
.zb-ui .woocommerce-pagination .page-numbers.dots {
  min-width: 20px;
  padding: 0 2px;
  border: 0;
  background: none;
}
@media (max-width: 480px) {
  .zb-ui .zb-pagination .page-numbers,
  .zb-ui .woocommerce-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }
}

/* Campaign ribbon on product cards and the product page (Campaigns::badge). */
.zb-ui .zb-product-card.is-campaign {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--zbc-color, #c2185b) 55%, transparent);
  overflow: hidden;
  position: relative;
}
.zb-ui .zb-product-card.is-campaign::after {
  animation: zb-camp-shine 4.5s ease-in-out infinite;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 60%
  );
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
}
@keyframes zb-camp-shine {
  0%,
  70% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}
.zb-ui .zb-product-card__campaign {
  align-items: center;
  background: var(--zbc-color, #c2185b);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 800;
  gap: 6px;
  inset-inline-start: 12px;
  max-width: calc(100% - 60px);
  padding: 3px 10px;
  position: absolute;
  text-decoration: none;
  top: 14px;
  z-index: 2;
}
.zb-ui .zb-product-card__campaign {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zb-ui .zb-product-card__campaign-clock {
  align-self: flex-start;
  background: color-mix(in srgb, var(--zbc-color, #c2185b) 10%, #fff);
  border-radius: 8px;
  color: var(--zbc-color, #c2185b);
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 4px;
  padding: 2px 8px;
}
.zb-ui .zb-product-card__campaign-clock b {
  font-variant-numeric: tabular-nums;
}
.zb-ui .zb-pdp-campaign {
  align-items: center;
  background: color-mix(in srgb, var(--zbc-color, #c2185b) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--zbc-color, #c2185b) 40%, transparent);
  border-radius: 14px;
  color: inherit;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 10px 0;
  padding: 10px 14px;
  text-decoration: none;
}
.zb-ui .zb-pdp-campaign strong {
  color: var(--zbc-color, #c2185b);
}
.zb-ui .zb-pdp-campaign b {
  font-variant-numeric: tabular-nums;
}

/* Homepage hero slider: the hero and one promo slide share the same place and take turns. */
.zb-ui .zb-hero-slider {
  display: grid;
  position: relative;
}
.zb-ui .zb-hero-slide {
  grid-area: 1 / 1;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    visibility 0s linear 0.6s;
}
.zb-ui .zb-hero-slide:not(.is-active) {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  visibility: hidden;
}
.zb-ui .zb-hero-slide.is-active {
  opacity: 1;
  transition-delay: 0s;
  visibility: visible;
}
.zb-ui .zb-hero-promo {
  align-items: center;
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.35), transparent 40%),
    linear-gradient(
      130deg,
      var(--zbc-color, #c2185b),
      color-mix(in srgb, var(--zbc-color, #c2185b) 55%, #3b0a1f)
    );
  border-radius: 28px;
  color: #fff;
  display: flex;
  min-height: 300px;
  overflow: hidden;
  padding: 28px;
  position: relative;
  text-decoration: none;
}
.zb-ui .zb-hero-promo--image {
  background: #222;
}
.zb-ui .zb-hero-promo__media,
.zb-ui .zb-hero-promo__media img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
.zb-ui .zb-hero-promo--image::before {
  background: linear-gradient(90deg, transparent 30%, rgba(0, 0, 0, 0.55));
  content: '';
  inset: 0;
  position: absolute;
  z-index: 1;
}
.zb-ui .zb-hero-promo__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  position: relative;
  z-index: 2;
}
.zb-ui .zb-hero-promo__title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
}
.zb-ui .zb-hero-promo__subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.8;
  max-width: 44ch;
  opacity: 0.94;
  text-wrap: balance;
}
.zb-ui .zb-hero-promo__clock {
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.zb-ui .zb-hero-promo__cta {
  align-self: flex-start;
  animation: zb-camp-pulse 2.4s ease-in-out infinite;
  background: #fff;
  border-radius: 999px;
  color: var(--zbc-color, #c2185b);
  font-weight: 800;
  padding: 10px 22px;
}
@keyframes zb-camp-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    transform: scale(1.04);
  }
}
.zb-ui .zb-hero-promo__gift {
  animation: zb-camp-float 4s ease-in-out infinite;
  background:
    linear-gradient(#fff, #fff) center / 18% 100% no-repeat,
    rgba(255, 255, 255, 0.22);
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  height: 130px;
  inset-inline-end: 9%;
  position: absolute;
  top: calc(50% - 65px);
  width: 130px;
}
.zb-ui .zb-hero-promo__gift span {
  background: rgba(255, 255, 255, 0.85);
  height: 18%;
  inset-inline: 0;
  position: absolute;
  top: 41%;
}
.zb-ui .zb-hero-promo__spark {
  animation: zb-camp-twinkle 2.2s ease-in-out infinite;
  background: #fff;
  border-radius: 50%;
  height: 10px;
  position: absolute;
  width: 10px;
}
.zb-ui .zb-hero-promo__spark--1 {
  inset-inline-end: 6%;
  top: 22%;
}
.zb-ui .zb-hero-promo__spark--2 {
  animation-delay: 1.1s;
  bottom: 20%;
  inset-inline-end: 26%;
}
@keyframes zb-camp-float {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-12px) rotate(4deg);
  }
}
@keyframes zb-camp-twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.6);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}
.zb-ui .zb-hero-slider__dots {
  bottom: 12px;
  display: flex;
  gap: 6px;
  inset-inline-start: 50%;
  position: absolute;
  transform: translateX(50%);
  z-index: 3;
}
.zb-ui .zb-hero-slider__dots button {
  background: rgba(0, 0, 0, 0.22);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: width 0.3s ease;
  width: 8px;
}
.zb-ui .zb-hero-slider__dots button[aria-selected='true'] {
  background: var(--zb-color-text, #1f1f1f);
  width: 22px;
}
@media (max-width: 767px) {
  .zb-ui .zb-hero-promo {
    align-items: flex-end;
    min-height: 340px;
    padding: 22px 18px 40px;
  }
  .zb-ui .zb-hero-promo__gift {
    height: 90px;
    top: 26px;
    width: 90px;
  }
  /* A photo slide: the picture fills the top, the text sits on a soft shade at the bottom. */
  .zb-ui .zb-hero-promo--image {
    min-height: 320px;
  }
  .zb-ui .zb-hero-promo--image[data-zb-campaign-slide] .zb-hero-promo__media img {
    object-fit: cover;
    object-position: left center;
    transform: none;
  }
  .zb-ui .zb-hero-promo--image::before {
    background: linear-gradient(180deg, transparent 38%, rgba(30, 10, 20, 0.72));
  }
}
@media (prefers-reduced-motion: reduce) {
  .zb-ui .zb-product-card.is-campaign::after,
  .zb-ui .zb-hero-promo__cta,
  .zb-ui .zb-hero-promo__gift,
  .zb-ui .zb-hero-promo__spark {
    animation: none;
  }
  .zb-ui .zb-hero-slide {
    transition: none;
  }
}

/* Campaign purchase tiers (cart) */
.zb-ui .zb-tiers {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff4e8, #fff);
  border: 1px solid #f6d3ad;
}
.zb-ui .zb-tiers__text {
  margin: 0 0 10px;
  font-weight: 800;
}
.zb-ui .zb-tiers__bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #f1e6da;
  overflow: visible;
}
.zb-ui .zb-tiers__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5a524, #f07a3c);
  transition: width 0.6s ease;
}
.zb-ui .zb-tiers__bar i {
  position: absolute;
  inset-block: -3px;
  width: 4px;
  border-radius: 2px;
  background: #b45309;
}
.zb-ui .zb-tiers__pick,
.zb-ui .zb-tiers__note {
  margin: 12px 0 8px;
  font-size: 0.92rem;
}
.zb-ui .zb-tiers__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zb-ui .zb-tiers__choice {
  padding: 7px 14px;
  border: 1.5px solid #f07a3c;
  border-radius: 999px;
  color: #b45309;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.zb-ui .zb-tiers__choice.is-on {
  background: #f07a3c;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .zb-ui .zb-tiers__bar span {
    transition: none;
  }
}

/* Desktop photo slides: as tall as the picture's shape, so the photo is not cropped to a strip. */
@media (min-width: 768px) {
  .zb-ui .zb-hero-promo--image {
    aspect-ratio: 16 / 7;
    min-height: 0;
  }
  .zb-ui .zb-hero-promo__media img {
    object-position: center 30%;
  }
}

/* TorobPay campaign artwork already contains its complete copy and CTA. */
.zb-ui .zb-hero-promo--image.zb-hero-promo--torobpay {
  padding: 0;
  background: #002c28;
}
.zb-ui .zb-hero-promo--torobpay::before {
  display: none;
}
.zb-ui .zb-hero-promo--image.zb-hero-promo--torobpay .zb-hero-promo__media img {
  object-fit: cover;
  object-position: center;
  transform: none;
}
@media (max-width: 767px) {
  .zb-ui .zb-hero-promo--image.zb-hero-promo--torobpay .zb-hero-promo__media img {
    object-fit: cover;
    object-position: left center;
    transform: none;
  }
}
/* TorobPay homepage slide: preserve the full artwork with desktop breathing room. */
@media (min-width: 768px) {
  .zb-ui .zb-hero-promo--torobpay {
    background: #002b29;
  }
  .zb-ui .zb-hero-promo--torobpay .zb-hero-promo__media img {
    inset: 16px 24px;
    width: calc(100% - 48px);
    height: calc(100% - 32px);
    object-fit: contain;
    object-position: center;
    transform: none !important;
  }
}
/* TorobPay desktop artwork: replace the earlier inset/solid-border override. */
@media (min-width: 768px) {
  .zb-ui .zb-hero-promo--torobpay {
    background: #002b29;
  }
  .zb-ui .zb-hero-promo--torobpay .zb-hero-promo__media img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
  }
}
@media (min-width: 768px) {
  .zb-ui .zb-hero-promo--torobpay .zb-hero-promo__media img {
    object-fit: contain !important;
    transform: none !important;
  }
}
