/* Comflo base styles, shared by the built-in themes: layout, sections, blocks, product, cart.
   Colours come from the active scheme (--bg, --fg, --accent, --accent-fg); everything else from
   theme settings set on :root in layout/theme.comflo. Each theme's theme.css loads after this. */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: calc(1rem * var(--body-scale));
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--bg);
  padding: 8px 12px;
}
.skip-link:focus {
  left: 8px;
}
[class*="scheme-"] {
  background: var(--bg);
  color: var(--fg);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
.el-heading,
.product__title,
.hero__heading {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
.el-heading.size-sm {
  font-size: calc(1.15rem * var(--heading-scale));
}
.el-heading.size-md {
  font-size: calc(1.6rem * var(--heading-scale));
}
.el-heading.size-lg {
  font-size: calc(clamp(1.9rem, 3.4vw, 2.6rem) * var(--heading-scale));
}
.el-heading.size-xl {
  font-size: calc(clamp(2.3rem, 4.6vw, 3.6rem) * var(--heading-scale));
}
.el-heading.size-xxl {
  font-size: calc(clamp(2.8rem, 7vw, 5.4rem) * var(--heading-scale));
  letter-spacing: -0.03em;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.rte > :first-child {
  margin-top: 0;
}
.rte > :last-child {
  margin-bottom: 0;
}
.rte p {
  margin: 0 0 1em;
}
.rte ul {
  padding-left: 1.2em;
}
.is-muted {
  opacity: 0.72;
}
.is-center,
.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}
.size-sm {
  font-size: 0.9em;
}
.size-lg:not(.el-heading) {
  font-size: 1.15em;
}

/* ---------- Layout ---------- */
.page-width {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.full-width {
  padding: 0 clamp(16px, 3vw, 32px);
}
.section-wrap {
  padding: var(--pt, 64px) 0 var(--pb, 64px);
}
.comflo-section + .comflo-section {
  margin-top: var(--section-gap);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head.is-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head .el-heading {
  margin: 0;
}
.rich-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rich-text.width-narrow {
  max-width: 760px;
}
.rich-text.width-normal {
  max-width: 1000px;
}
.rich-text.is-center,
.rich-text:has(.align-center) {
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.rich-text.width-narrow,
.rich-text.width-normal {
  margin-left: auto;
  margin-right: auto;
}
.custom-section {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* ---------- Buttons & forms ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--button-radius);
  border: 1.5px solid var(--accent);
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -10px
    color-mix(in srgb, var(--accent) 70%, transparent);
}
.button:active {
  transform: translateY(0);
}
.button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.button--secondary {
  background: transparent;
  color: var(--fg);
  border-color: color-mix(in srgb, var(--fg) 35%, transparent);
}
.button--secondary:hover {
  border-color: var(--fg);
}
.button--link {
  background: none;
  border: 0;
  color: var(--fg);
  padding: 0;
  min-height: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.button--link:hover {
  box-shadow: none;
}
.button--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.88rem;
}
.button--full {
  width: 100%;
}
.button--grow {
  flex: 1;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.el-button.align-center {
  text-align: center;
}
.el-button.align-right {
  text-align: right;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon {
  transition: transform 0.2s;
}
.link-arrow:hover .icon {
  transform: translateX(3px);
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.icon-button:hover {
  background: color-mix(in srgb, var(--fg) 7%, transparent);
}
.icon {
  flex: none;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field__label {
  font-size: 0.85rem;
  font-weight: 600;
}
.input,
.select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: calc(var(--radius) * 0.6);
  border: 1.5px solid color-mix(in srgb, var(--fg) 18%, transparent);
  background: var(--bg);
  color: var(--fg);
}
textarea.input {
  min-height: 110px;
  resize: vertical;
}
.input:focus,
.select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip input {
  position: absolute;
  opacity: 0;
}
.chip span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--fg) 22%, transparent);
  cursor: pointer;
  font-size: 0.9rem;
}
.chip input:checked + span {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Badges & price ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--fg);
  color: var(--bg);
}
.badge--sale {
  background: var(--sale);
  color: #fff;
}
.badge--soft {
  background: color-mix(in srgb, var(--bg) 85%, var(--fg));
  color: var(--fg);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.price__current {
  font-weight: 700;
  font-size: 1.05rem;
}
.price--sale .price__current {
  color: var(--sale);
}
.price__compare {
  opacity: 0.55;
  font-size: 0.92rem;
}
.product__info .price__current {
  font-size: 1.6rem;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: #f5a524;
  vertical-align: -3px;
}
.stars .icon {
  width: 18px;
  height: 18px;
}

/* ---------- Media ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--fg) 6%, var(--bg));
}
.media img,
.media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.media--square {
  aspect-ratio: 1;
}
.media--portrait {
  aspect-ratio: 4 / 5;
}
.media--landscape {
  aspect-ratio: 4 / 3;
}
.media--wide {
  aspect-ratio: 16 / 9;
}
.media--cover {
  position: absolute;
  inset: 0;
  border-radius: 0;
}
.media--natural img {
  height: auto;
}
.media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--fg) 30%, transparent);
}
.media--natural .media__placeholder {
  position: static;
  aspect-ratio: 4 / 3;
}
.media__placeholder .icon {
  width: 44px;
  height: 44px;
}

/* ---------- Announcement ---------- */
.announcement {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 9px 16px;
}
.announcement__track {
  position: relative;
  min-height: 1.6em;
}
.announcement__item {
  margin: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.announcement__item.is-active {
  opacity: 1;
  transform: none;
  position: relative;
}
.announcement a {
  text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 9%, transparent);
}
.site-header.is-sticky {
  position: sticky;
  top: 0;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.45);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
.site-header__logo {
  text-decoration: none;
  display: inline-flex;
}
.site-header__wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.site-header__nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.site-header__nav a {
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.site-header__nav a:hover::after,
.site-header__nav a[aria-current]::after {
  transform: scaleX(1);
}
.site-header__icons {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: end;
}
.site-header__menu-toggle {
  display: none;
}
.layout-logo-center .site-header__inner {
  grid-template-columns: 1fr auto 1fr;
}
.layout-logo-center .site-header__logo {
  grid-column: 2;
  grid-row: 1;
}
.layout-logo-center .site-header__nav {
  grid-column: 1;
  grid-row: 1;
}
.layout-logo-center .site-header__nav ul {
  justify-content: start;
}
.cart-count[hidden] {
  display: none;
}
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
/* Pop-up section (sections/popup.comflo) */
.popup[hidden] {
  display: none;
}
.popup {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
}
.popup__box {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: var(--radius, 12px);
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: popup-in 0.25s ease-out;
}
.popup__media {
  border-radius: 0;
}
.popup__content {
  display: grid;
  gap: 12px;
  padding: 24px;
  text-align: center;
  justify-items: center;
}
.popup__code {
  margin: 0;
  padding: 8px 16px;
  border: 2px dashed currentColor;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.popup__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  cursor: pointer;
}
.popup__close svg {
  width: 18px;
  height: 18px;
}
@keyframes popup-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.design-mode .popup {
  position: absolute;
}
.drawer[hidden] {
  display: none;
}
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.45);
}
.drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(86vw, 360px);
  padding: 20px;
  overflow-y: auto;
  animation: slide-in 0.25s ease;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.drawer__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: var(--heading-weight);
}
.drawer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.drawer__links a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 10%, transparent);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}
@keyframes slide-in {
  from {
    transform: translateX(-100%);
  }
}

/* ---------- Hero slider & banners ---------- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero--small .hero__slide {
  min-height: 380px;
}
.hero--medium .hero__slide {
  min-height: 520px;
}
.hero--large .hero__slide {
  min-height: min(720px, 86vh);
}
.hero--full .hero__slide {
  min-height: calc(100vh - 110px);
}
.hero__slides {
  display: grid;
}
.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s ease,
    visibility 0.7s;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img,
.hero__media picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, calc(var(--overlay) + 0.15)),
    rgba(0, 0, 0, var(--overlay))
  );
}
.hero__media .media__placeholder {
  background: color-mix(in srgb, var(--accent) 25%, #222);
  color: rgba(255, 255, 255, 0.4);
}
.hero__content {
  position: relative;
  width: 100%;
  padding-top: 56px;
  padding-bottom: 72px;
}
.hero__box {
  max-width: 620px;
}
.hero__slide.align-center .hero__box {
  margin: 0 auto;
  text-align: center;
}
.hero__slide.align-center .button-row {
  justify-content: center;
}
.hero__slide.align-right .hero__box {
  margin-left: auto;
  text-align: right;
}
.hero__slide.align-right .button-row {
  justify-content: end;
}
.hero__heading {
  font-size: calc(clamp(2.5rem, 6vw, 4.8rem) * var(--heading-scale));
  letter-spacing: -0.03em;
}
.hero__text {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 28px;
}
.hero .eyebrow {
  color: inherit;
  opacity: 0.85;
}
.hero .button--secondary {
  color: inherit;
  border-color: currentColor;
}
.hero__controls {
  position: absolute;
  bottom: 20px;
  right: clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero__controls .icon-button {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(6px);
}
.hero__dots {
  display: flex;
  gap: 8px;
}
.hero__dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition:
    width 0.3s,
    background 0.3s;
}
.hero__dots button.is-active {
  width: 28px;
  background: #fff;
}
.banner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.banner--small {
  min-height: 340px;
}
.banner--medium {
  min-height: 480px;
}
.banner--large {
  min-height: 640px;
}
.banner__media {
  position: absolute;
  inset: 0;
}
.banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--overlay));
}
.banner__content {
  position: relative;
  width: 100%;
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
}
.banner__box {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.banner__box.is-boxed {
  background: var(--bg);
  color: var(--fg);
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
}
.banner.align-center .banner__content {
  justify-content: center;
  text-align: center;
}
.banner.align-right .banner__content {
  justify-content: end;
}
.promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.promo.layout-image-right .promo__media {
  order: 2;
}
.promo__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: start;
}
.promo__compare {
  font-size: 1.25rem;
  margin: 0;
}
.promo__compare s {
  opacity: 0.55;
  margin-right: 8px;
}
.promo__compare strong {
  color: var(--accent);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
}
.split.valign-center {
  align-items: center;
}
.split.valign-end {
  align-items: end;
}
.split.layout-image-right .split__media {
  order: 2;
}
.split__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---------- Product cards & grids ---------- */
.product-grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
}
.product-grid.cols-2 {
  --cols: 2;
}
.product-grid.cols-3 {
  --cols: 3;
}
.product-grid.cols-4 {
  --cols: 4;
}
.product-grid.cols-5 {
  --cols: 5;
}
.product-grid.is-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.product-grid.is-carousel > * {
  flex: 0 0 calc((100% - 3 * 24px) / var(--cols, 4));
  scroll-snap-align: start;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card__media {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}
.card__media .media {
  transition: transform 0.5s ease;
}
.card:hover .card__media .media {
  transform: scale(1.03);
}
.card__secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover .card__secondary {
  opacity: 1;
}
.card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: start;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}
.card__title a {
  text-decoration: none;
}
.card__add {
  margin-top: 6px;
  align-self: stretch;
}
.collection-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
.collection-grid.cols-2 {
  --cols: 2;
}
.collection-grid.cols-3 {
  --cols: 3;
}
.collection-grid.cols-4 {
  --cols: 4;
}
.collection-card {
  position: relative;
  display: block;
  text-decoration: none;
}
.collection-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 1.1rem;
}
.collection-head {
  margin-bottom: 20px;
}
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.collection-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}
.collection-sort .select {
  min-height: 40px;
  width: auto;
}
.el-empty {
  padding: 32px;
  border: 1.5px dashed color-mix(in srgb, var(--fg) 25%, transparent);
  border-radius: var(--radius);
  text-align: center;
  opacity: 0.7;
  grid-column: 1 / -1;
}

/* ---------- Features, testimonials, FAQ, gallery, logos ---------- */
.features {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
}
.features.cols-2 {
  --cols: 2;
}
.features.cols-3 {
  --cols: 3;
}
.features.cols-4 {
  --cols: 4;
}
.features.cols-5 {
  --cols: 5;
}
.el-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.el-feature.layout-inline {
  flex-direction: row;
  align-items: start;
}
.el-feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
.el-feature__title {
  font-weight: 700;
  margin: 0;
}
.el-feature__text {
  opacity: 0.75;
  font-size: 0.95rem;
}
.testimonials {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.testimonials.is-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.testimonials.is-carousel > * {
  flex: 0 0 min(380px, 85%);
  scroll-snap-align: start;
}
.testimonials-wrap {
  position: relative;
}
.carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
.carousel-nav .icon-button {
  border: 1px solid color-mix(in srgb, var(--fg) 20%, transparent);
}
.el-quote {
  margin: 0;
  padding: 28px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--fg) 4%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--fg) 8%, transparent);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.el-quote blockquote {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
}
.el-quote figcaption {
  font-weight: 700;
  display: flex;
  flex-direction: column;
}
.el-quote figcaption span {
  font-weight: 400;
  opacity: 0.6;
  font-size: 0.85rem;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 0;
}
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 72px);
}
.accordion {
  border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent);
}
.accordion__item {
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 14%, transparent);
}
.accordion__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
}
.accordion__item summary::-webkit-details-marker {
  display: none;
}
.accordion__icon {
  transition: transform 0.25s;
  display: inline-flex;
}
.accordion__item[open] .accordion__icon {
  transform: rotate(45deg);
}
.accordion__body {
  padding: 0 0 20px;
  opacity: 0.85;
}
.gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
.gallery.cols-2 {
  --cols: 2;
}
.gallery.cols-3 {
  --cols: 3;
}
.gallery.cols-4 {
  --cols: 4;
}
.gallery.cols-5 {
  --cols: 5;
}
.logo-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.logo-list__item img {
  max-height: 44px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
  transition:
    filter 0.2s,
    opacity 0.2s;
}
.logo-list__item:hover img {
  filter: none;
  opacity: 1;
}
.logo-list__item span {
  font-weight: 700;
  opacity: 0.55;
  font-size: 1.1rem;
}
.logo-list__heading {
  margin-bottom: 24px;
}

/* ---------- Image steps ---------- */
.image-steps__header {
  max-width: 900px;
  margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: center;
}
.image-steps__heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: calc(clamp(2.7rem, 5.4vw, 5rem) * var(--heading-scale));
  font-weight: var(--heading-weight);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.image-steps__subheading {
  margin: 28px auto 0;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  opacity: 0.76;
}
.image-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--step-gap);
  align-items: stretch;
}
.image-step {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--step-radius);
  background: #fff;
  color: #111;
}
.image-step__media {
  padding: clamp(12px, 1.6vw, 18px) clamp(12px, 1.6vw, 18px) 0;
}
.image-step__media .media {
  aspect-ratio: 576 / 1024;
  border-radius: max(0px, calc(var(--step-radius) - 10px));
}
.image-step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-step__body {
  padding: clamp(20px, 2.2vw, 30px);
}
.image-step__number {
  margin: 0 0 2px;
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.2;
}
.image-step__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.image-step__text {
  margin-top: 12px;
  color: #52525b;
  font-size: 0.95rem;
}
@media (max-width: 749px) {
  .image-steps__header {
    margin-bottom: 32px;
  }
  .image-steps__heading {
    font-size: calc(clamp(2.35rem, 12vw, 3.8rem) * var(--heading-scale));
  }
  .image-steps__subheading {
    margin-top: 18px;
  }
  .image-steps__grid {
    display: flex;
    gap: 16px;
    margin-right: calc(clamp(16px, 4vw, 40px) * -1);
    padding-right: clamp(16px, 4vw, 40px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .image-steps__grid::-webkit-scrollbar {
    display: none;
  }
  .image-step {
    flex: 0 0 min(82vw, 420px);
    scroll-snap-align: start;
  }
}

/* ---------- Element blocks ---------- */
.el-text.align-center,
.el-heading.align-center {
  text-align: center;
}
.el-text.align-right,
.el-heading.align-right {
  text-align: right;
}
.el-image {
  max-width: var(--el-max, 100%);
}
.el-image__caption {
  font-size: 0.85rem;
  opacity: 0.65;
  margin: 8px 0 0;
}
.el-divider {
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--fg) 15%, transparent);
  width: var(--divider-width);
  margin: 8px auto;
}
.el-group {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: var(--pad);
  flex: 1 1 calc(var(--basis) - var(--gap));
  min-width: 0;
}
.el-group.has-bg {
  border-radius: var(--radius);
}
.el-group.dir-row {
  flex-direction: row;
  flex-wrap: wrap;
}
.el-group.align-start {
  align-items: flex-start;
}
.el-group.align-center {
  align-items: center;
}
.el-group.align-end {
  align-items: flex-end;
}
.el-group.justify-center {
  justify-content: center;
}
.el-group.justify-between {
  justify-content: space-between;
}
.el-group.justify-end {
  justify-content: flex-end;
}
.el-video {
  width: 100%;
}

/* ---------- Product page ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.product.layout-right .product__gallery {
  order: 2;
}
.product__gallery {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product__main-media {
  display: grid;
}
.product__slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.35s;
}
.product__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.product__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}
.product__thumb {
  flex: 0 0 72px;
  aspect-ratio: 1;
  padding: 0;
  border-radius: calc(var(--radius) * 0.6);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
}
.product__thumb.is-active {
  border-color: var(--accent);
}
.product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product__title {
  font-size: calc(clamp(2rem, 3.4vw, 2.8rem) * var(--heading-scale));
  margin: 0;
}
.product__note {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.95rem;
}
.product__note .icon {
  color: var(--accent);
}
.product-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-form__actions {
  display: flex;
  gap: 12px;
}
.product-form__error {
  color: var(--sale);
  font-size: 0.9rem;
  margin: 0;
}
.flavour-slots {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.flavour-slots legend {
  margin-bottom: 8px;
}
.quantity {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid color-mix(in srgb, var(--fg) 18%, transparent);
  border-radius: var(--button-radius);
}
.quantity__btn {
  width: 44px;
  height: 46px;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.quantity__input {
  width: 44px;
  border: 0;
  text-align: center;
  background: none;
  -moz-appearance: textfield;
}
.quantity__input::-webkit-outer-spin-button,
.quantity__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* ---------- Search, lead forms ---------- */
.search-form {
  display: flex;
  gap: 10px;
  margin: 20px 0 28px;
  max-width: 640px;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 560px;
}
.is-center .lead-form {
  margin: 0 auto;
}
.lead-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}
.lead-form__fields .field:only-child,
.field--wide {
  grid-column: 1 / -1;
}
.lead-form__status {
  margin: 0;
  font-weight: 600;
}
.lead-form__status.is-error {
  color: var(--sale);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 28px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.site-footer__logo {
  width: min(100%, 220px);
  max-height: 82px;
  margin-bottom: 24px;
  object-fit: contain;
  object-position: left center;
}
.site-footer__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 12px;
}
.site-footer__heading {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: var(--heading-weight);
  margin: 0 0 22px;
}
.site-footer__links,
.site-footer__contact,
.social {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__links li {
  margin-bottom: 16px;
}
.site-footer__links a,
.site-footer__contact a {
  text-decoration: none;
  opacity: 0.8;
}
.site-footer__links a:hover,
.site-footer__contact a:hover {
  opacity: 1;
  text-decoration: underline;
}
.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  opacity: 0.85;
}
.site-footer__contact .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}
.social {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}
.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--fg) 25%, transparent);
}
.site-footer .lead-form .lead-form__fields {
  grid-template-columns: 1fr;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--fg) 15%, transparent);
  font-size: 0.85rem;
}
.site-footer__bottom p {
  margin: 0;
}

/* ---------- WhatsApp & reveal ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.06);
}
.whatsapp-float .icon {
  width: 30px;
  height: 30px;
}
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.has-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .has-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 989px) {
  .product-grid.cols-4,
  .product-grid.cols-5 {
    --cols: 3;
  }
  .features.cols-4,
  .features.cols-5 {
    --cols: 2;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonials:not(.is-carousel) {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 749px) {
  .site-header__nav {
    display: none;
  }
  .site-header__menu-toggle {
    display: inline-grid;
  }
  .site-header__inner,
  .layout-logo-center .site-header__inner {
    grid-template-columns: auto 1fr auto;
    min-height: 60px;
  }
  .site-header__logo,
  .layout-logo-center .site-header__logo {
    grid-column: 2;
    justify-self: center;
  }
  .product-grid {
    --cols: 2 !important;
  }
  .product-grid.mobile-cols-1 {
    --cols: 1 !important;
  }
  .product-grid.is-carousel > * {
    flex-basis: 70%;
  }
  .promo,
  .split,
  .faq,
  .product {
    grid-template-columns: 1fr;
  }
  .promo.layout-image-right .promo__media,
  .split.layout-image-right .split__media,
  .product.layout-right .product__gallery {
    order: 0;
  }
  .product__gallery {
    position: static;
  }
  .collection-grid,
  .gallery,
  .testimonials:not(.is-carousel) {
    grid-template-columns: 1fr 1fr;
  }
  .features {
    --cols: 1 !important;
  }
  .lead-form__fields {
    grid-template-columns: 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .el-group.dir-row {
    flex-direction: column;
  }
  .el-group {
    flex-basis: 100%;
  }
  .hero__content {
    padding-bottom: 88px;
  }
}

/* Product options (Size, Colour…): one row of buttons per option. */
.option-picker {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  min-width: 0;
}
.option-picker .field__label [data-option-chosen] {
  font-weight: 400;
  opacity: 0.75;
}
.option-picker__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.option-pill {
  position: relative;
  cursor: pointer;
}
.option-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  min-width: 44px;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--fg) 25%, transparent);
  border-radius: var(--radius, 8px);
  font-size: 0.95em;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.option-pill:hover span {
  border-color: var(--fg);
}
.option-pill input:checked + span {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}
.option-pill input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.option-pill.is-unavailable span {
  opacity: 0.45;
  text-decoration: line-through;
}

/* Subscription form */
.subscription-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.subscription-form__toggle {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}
.subscription-form__option {
  cursor: pointer;
}
.subscription-form__option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.subscription-form__pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--fg) 25%, transparent);
  border-radius: var(--radius, 8px);
  font-size: 0.95em;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.subscription-form__option:hover .subscription-form__pill {
  border-color: var(--fg);
}
.subscription-form__option input:checked + .subscription-form__pill {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-weight: 600;
}
.subscription-form__plans {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
}
.subscription-form__plan {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--fg) 15%, transparent);
  border-radius: var(--radius, 8px);
  cursor: pointer;
  transition: border-color 0.15s;
}
.subscription-form__plan:hover {
  border-color: var(--fg);
}
.subscription-form__plan.is-selected,
.subscription-form__plan:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.subscription-form__plan input {
  margin-top: 3px;
  accent-color: var(--accent);
}
.subscription-form__plan-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.subscription-form__plan-name {
  font-weight: 600;
  font-size: 0.95em;
}
.subscription-form__plan-detail {
  font-size: 0.85em;
  opacity: 0.7;
}
.subscription-form__plan-desc {
  font-size: 0.85em;
  opacity: 0.6;
}
