/**
 * Zerelle — main stylesheet
 */

@font-face {
  font-family: "Copperplate CC";
  src: url("../fonts/copperplate-cc/CopperplateCC-Heavy.woff2") format("woff2"),
       url("../fonts/copperplate-cc/CopperplateCC-Heavy.otf") format("opentype");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Z37";
  src: url("../fonts/bodoni/BodoniZ37-CompressedBold.woff2") format("woff2"),
       url("../fonts/bodoni/BodoniZ37-CompressedBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Z37";
  src: url("../fonts/bodoni/BodoniZ37-CompressedBoldItalic.woff2") format("woff2"),
       url("../fonts/bodoni/BodoniZ37-CompressedBoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Dirham";
  src: url("../fonts/dirham/dirham.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20C3;
}

:root {
  /* Brand palette (style guide) */
  --zerelle-primary: #efe4dc;
  --zerelle-burgundy: #460f26;
  --zerelle-white: #ffffff;

  /* RGB helpers for overlays */
  --zerelle-primary-rgb: 239, 228, 220;
  --zerelle-burgundy-rgb: 70, 15, 38;
  --zerelle-cream-rgb: 239, 228, 220;

  /* Semantic aliases (backward-compat) */
  --zerelle-cream: var(--zerelle-primary);
  --zerelle-text: var(--zerelle-burgundy);
  --zerelle-black: var(--zerelle-burgundy);

  /* Derived UI tokens */
  --zerelle-gray: #8a8a8a;
  --zerelle-text-muted-on-light: rgba(70, 15, 38, 0.72);
  --zerelle-text-muted-on-dark: rgba(239, 228, 220, 0.85);
  --zerelle-border-on-light: rgba(70, 15, 38, 0.18);
  --zerelle-overlay-dark: rgba(var(--zerelle-burgundy-rgb), 0.55);
  --zerelle-overlay-medium: rgba(var(--zerelle-burgundy-rgb), 0.45);
  --zerelle-overlay-light: rgba(var(--zerelle-burgundy-rgb), 0.15);

  --zerelle-font-display: "Copperplate CC", "Copperplate Gothic Light", "Copperplate Gothic", copperplate, serif;
  --zerelle-font-heading: "Bodoni Z37", "Bodoni MT", Didot, "Times New Roman", serif;
  --zerelle-font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --zerelle-container: 1280px;
  /* Shared horizontal gutter — keep desktop at 24px; tighten on tablet/phone */
  --zerelle-gutter: 24px;
  --zerelle-header-h: 72px;
  --zerelle-ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* Shared page banner (Contact / About / Customize / News) — not home or shop */
  --zerelle-page-banner-h: clamp(280px, 31.8vw, 610px);
  --zerelle-page-banner-ratio: 1920 / 610;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--zerelle-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--zerelle-text);
  background: var(--zerelle-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Global headings — Bodoni Z37 (submit CTAs stay on display) */
:is(
  h1, h2, h3, h4, h5, h6,
  .wp-block-heading,
  .zerelle-section-title
) {
  font-family: var(--zerelle-font-heading);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.zerelle-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--zerelle-white); color: var(--zerelle-burgundy); padding: 8px 16px;
}
.zerelle-skip-link:focus { left: 8px; top: 8px; }

.zerelle-container {
  width: min(100% - (2 * var(--zerelle-gutter)), var(--zerelle-container));
  margin-inline: auto;
}

/* Default page / post content — extra breathing room below the fixed header clearance on main */
.zerelle-content {
  padding-top: 40px;
  padding-bottom: 80px;
}

/* Header */
.zerelle-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: auto;
  z-index: 100;
  height: var(--zerelle-header-h);
  background: rgba(var(--zerelle-primary-rgb), .95);
  color: var(--zerelle-burgundy);
  overflow: visible;
}
.admin-bar .zerelle-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
  .admin-bar .zerelle-header {
    top: var(--wp-admin--admin-bar--height, 46px);
  }
}

/*
 * Clear the fixed header on pages without a full-bleed hero.
 * Hero pages keep padding-top: 0 and offset themselves.
 */
.zerelle-main {
  padding-top: calc(var(--zerelle-header-h) + 24px);
}
.home .zerelle-main,
.zerelle-main:has(> .zerelle-hero),
.zerelle-main:has(.zerelle-page--about),
.zerelle-main:has(.zerelle-page--contact),
.zerelle-main:has(.zerelle-page--customize),
.zerelle-main:has(.zerelle-page--news),
.zerelle-main:has(.zerelle-page--news-single),
.zerelle-main:has(.zerelle-page--newsletter),
.zerelle-main:has(.zerelle-shop),
.zerelle-main:has(.zerelle-single-product),
.zerelle-main:has(.zerelle-about-hero),
.zerelle-main:has(.zerelle-customize-hero),
.zerelle-main:has(.zerelle-news-hero) {
  padding-top: 0;
}
/* Cart / account / checkout always clear the header (WC body classes) */
.woocommerce-cart .zerelle-main,
.woocommerce-account .zerelle-main,
.woocommerce-checkout .zerelle-main,
.zerelle-cart-page .zerelle-main,
.zerelle-checkout-page .zerelle-main,
.zerelle-account-page .zerelle-main {
  padding-top: calc(var(--zerelle-header-h) + 40px);
}
.zerelle-header__inner {
  width: min(100% - (2 * var(--zerelle-gutter)), var(--zerelle-container));
  margin-inline: auto;
  height: 100%;
  display: grid;
  /* Prefer brand width so logo never collapses when nav/utils are dense */
  grid-template-columns: minmax(max-content, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.zerelle-header__brand {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 100%;
  overflow: visible;
}
.zerelle-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-height: calc(var(--zerelle-header-h) - 16px);
  max-width: 100%;
  overflow: visible;
  /* line-height: 0 collapses text logos and clips ascenders — only for images */
  line-height: 1;
}
.zerelle-logo:has(.zerelle-logo__img) {
  line-height: 0;
}
.zerelle-logo__img {
  display: block;
  width: auto;
  max-width: min(180px, 38vw);
  max-height: calc(var(--zerelle-header-h) - 16px);
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.zerelle-logo__text {
  display: inline-block;
  font-family: var(--zerelle-font-heading);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.2;
  /* Optical room for Bodoni sidebearings / ascenders so glyphs are not clipped */
  padding: 0.1em 0.06em 0.08em 0.08em;
  max-width: 100%;
  overflow: visible;
}
.zerelle-nav__list {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
  justify-content: center;
}
.zerelle-nav__link {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.9; transition: opacity .2s var(--zerelle-ease);
}
.zerelle-nav__link:hover, .zerelle-nav__link.is-active { opacity: 1; }
.zerelle-header__utils {
  display: flex; align-items: center; justify-content: flex-end; gap: 18px;
}
.zerelle-header__util {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.16em;
  line-height: 1;
}
.zerelle-header__util[hidden] {
  display: none;
}
.zerelle-header__account {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.zerelle-header__util--account {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  /* Match SEARCH / BAG baseline; no negative margin (that pulled the active pill up). */
  padding: 6px 8px;
  margin: 0;
  transition: background-color .2s var(--zerelle-ease), color .2s var(--zerelle-ease);
}
.zerelle-header__util--account.is-active {
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
}
.zerelle-header__util--account.is-active svg {
  color: currentColor;
}

/* Account dropdown (guest Sign In / Register) */
.zerelle-account-dropdown[hidden] { display: none; }
.zerelle-account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 220;
  width: min(360px, calc(100dvw - (2 * var(--zerelle-gutter))));
  max-width: calc(100dvw - (2 * var(--zerelle-gutter)));
  max-height: min(700px, calc(100dvh - var(--zerelle-header-h) - 20px));
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  padding: 16px 18px 14px;
  box-sizing: border-box;
  box-shadow: 0 18px 48px rgba(20, 5, 10, 0.28);
  overscroll-behavior: contain;
}
.zerelle-account-dropdown__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(239, 228, 220, 0.28);
  min-width: 0;
}
.zerelle-account-dropdown__tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0 0 8px;
  color: rgba(239, 228, 220, 0.72);
  font-family: var(--zerelle-font-heading);
  font-size: clamp(0.8rem, 2.6vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  overflow-wrap: anywhere;
  transition: color .2s var(--zerelle-ease), border-color .2s var(--zerelle-ease);
}
.zerelle-account-dropdown__tab.is-active {
  color: var(--zerelle-primary);
  border-bottom-color: var(--zerelle-primary);
}
.zerelle-account-dropdown__panel[hidden] { display: none; }
.zerelle-account-dropdown__intro {
  margin: 0 0 12px;
  font-family: var(--zerelle-font-body);
  font-size: 12px;
  line-height: 1.4;
  color: var(--zerelle-primary);
  overflow-wrap: anywhere;
}
.zerelle-account-dropdown__form {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}
.zerelle-account-dropdown__field {
  margin: 0;
  display: grid;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}
.zerelle-account-dropdown__field label {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--zerelle-primary);
}
.zerelle-account-dropdown__field .required {
  color: var(--zerelle-primary);
}
.zerelle-account-dropdown__field input[type="text"],
.zerelle-account-dropdown__field input[type="email"],
.zerelle-account-dropdown__field input[type="password"],
.zerelle-account-dropdown__field input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: var(--zerelle-white);
  color: var(--zerelle-burgundy);
  padding: 8px 12px;
  font-family: var(--zerelle-font-body);
  font-size: 13px;
  line-height: 1.25;
}
.zerelle-account-dropdown__field input:focus {
  outline: 2px solid rgba(239, 228, 220, 0.55);
  outline-offset: 1px;
}
.zerelle-account-dropdown__hint {
  font-size: 10px;
  line-height: 1.35;
  color: rgba(239, 228, 220, 0.78);
}
.zerelle-account-dropdown__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.zerelle-account-dropdown__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--zerelle-primary);
  cursor: pointer;
}
.zerelle-account-dropdown__remember input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--zerelle-primary);
}
.zerelle-account-dropdown__lost {
  font-size: 12px;
  color: var(--zerelle-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.zerelle-account-dropdown__lost:hover {
  opacity: 0.85;
}
.zerelle-account-dropdown__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 2px;
  border: 0;
  border-radius: 0;
  background: var(--zerelle-white);
  color: var(--zerelle-burgundy);
  padding: 10px 16px;
  font-family: var(--zerelle-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color .2s var(--zerelle-ease), color .2s var(--zerelle-ease);
}
.zerelle-account-dropdown__submit:hover {
  background: var(--zerelle-primary);
  color: var(--zerelle-burgundy);
}
.zerelle-account-dropdown .iti {
  width: 100%;
  max-width: 100%;
  display: block;
}
.zerelle-account-dropdown .iti input.iti__tel-input {
  padding-left: 92px !important;
  max-width: 100%;
  box-sizing: border-box;
}
.zerelle-account-dropdown .iti__selected-country {
  color: var(--zerelle-burgundy);
}
.zerelle-account-dropdown .zerelle-phone-error {
  color: #f3c6cf;
}

/*
 * Phones & tablets: anchor to the viewport, not the account button.
 * Absolute + near-full vw width was clipping the left side of the panel.
 */
@media (max-width: 1024px) {
  .zerelle-header__account {
    position: static;
  }
  .zerelle-account-dropdown {
    position: fixed;
    top: calc(var(--zerelle-header-h) + 8px);
    left: max(var(--zerelle-gutter), env(safe-area-inset-left, 0px));
    right: max(var(--zerelle-gutter), env(safe-area-inset-right, 0px));
    width: auto;
    max-width: none;
    max-height: calc(100dvh - var(--zerelle-header-h) - 16px);
    padding: 14px 14px 12px;
  }
  .admin-bar .zerelle-account-dropdown {
    top: calc(var(--zerelle-header-h) + var(--wp-admin--admin-bar--height, 32px) + 8px);
    max-height: calc(100dvh - var(--zerelle-header-h) - var(--wp-admin--admin-bar--height, 32px) - 16px);
  }
}
.zerelle-header__menu-toggle {
  display: none; flex-direction: column; gap: 5px;
}
.zerelle-header__menu-toggle span {
  display: block; width: 22px; height: 1px; background: var(--zerelle-burgundy);
}

/* Buttons */
.zerelle-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: all .25s var(--zerelle-ease);
}
.zerelle-btn--ghost {
  border: 1px solid var(--zerelle-burgundy);
}
.zerelle-btn--ghost:hover { background: var(--zerelle-burgundy); color: var(--zerelle-primary); }
.zerelle-btn--solid {
  background: var(--zerelle-burgundy); color: var(--zerelle-primary);
  border: 1px solid var(--zerelle-burgundy);
}
.zerelle-btn--solid:hover {
  background: var(--zerelle-white); color: var(--zerelle-burgundy);
  border-color: var(--zerelle-white);
}
.zerelle-btn--muted {
  width: 100%; justify-content: center;
  background: var(--zerelle-white); color: var(--zerelle-burgundy);
  margin-top: 10px;
}
.zerelle-circle-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--zerelle-white); color: var(--zerelle-burgundy);
  flex-shrink: 0;
}
.zerelle-circle-btn--sm { width: 32px; height: 32px; }

.zerelle-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--zerelle-gray); margin: 0 0 12px;
}
.zerelle-section-title {
  font-family: var(--zerelle-font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 16px;
}

/* Hero */
.zerelle-hero {
  position: relative;
  margin-top: var(--zerelle-header-h);
  min-height: calc(100vh - var(--zerelle-header-h));
  min-height: calc(100dvh - var(--zerelle-header-h));
  display: flex; align-items: flex-end;
  padding-bottom: 80px; overflow: hidden;
  color: var(--zerelle-primary);
  background-color: var(--zerelle-burgundy);
}
.zerelle-hero__media {
  position: absolute; inset: 0;
}
.zerelle-hero__media > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.zerelle-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.zerelle-hero__wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: none;
}
.zerelle-hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, var(--zerelle-overlay-dark) 0%, var(--zerelle-overlay-light) 55%, rgba(var(--zerelle-burgundy-rgb), 0.35) 100%);
}
.zerelle-hero .zerelle-btn--ghost {
  border-color: var(--zerelle-primary);
}
.zerelle-hero .zerelle-btn--ghost:hover {
  background: var(--zerelle-primary);
  color: var(--zerelle-burgundy);
}
@media (min-width: 1025px) {
  .zerelle-hero--effect-wave .zerelle-hero__media.is-wave-active .zerelle-hero__image {
    /*
     * Desktop wave mode keeps the <img> as the only hero image source. The
     * canvas renders a lightweight shimmer overlay and must not repaint the
     * same bitmap (that caused a visible duplicate on the right edge).
     */
    opacity: 1;
    visibility: visible;
  }
}
.zerelle-hero--effect-wave .zerelle-hero__media.is-wave-active .zerelle-hero__wave {
  display: block;
}
.zerelle-hero__content {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
}
.zerelle-hero__copy {
  max-width: 36rem;
  padding-bottom: 4px;
}
.zerelle-hero__title {
  font-family: var(--zerelle-font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; letter-spacing: 0.02em; margin: 0 0 20px;
}
.zerelle-hero__tagline {
  display: grid; gap: 10px; margin: 0 0 28px;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
}
.zerelle-hero__tagline span {
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--zerelle-primary-rgb), 0.45);
}
.zerelle-hero__tagline span:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.zerelle-hero__scroll {
  flex-shrink: 0;
  color: inherit;
  cursor: pointer;
}
.zerelle-hero__scroll-ring {
  width: 90px; height: 90px; position: relative;
  font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase;
  animation: zerelle-spin 18s linear infinite;
}
.zerelle-hero__scroll-ring svg { width: 100%; height: 100%; fill: currentColor; }
.zerelle-hero__scroll-arrow {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 18px; animation: none;
}
@keyframes zerelle-spin { to { transform: rotate(360deg); } }

/*
 * Home hero — phone/tablet: match Contact-style intrinsic banner sizing.
 * Without a dedicated mobile image, copy moves below the full-width image.
 * Desktop (>1024px) keeps full-viewport immersive hero.
 */
@media (max-width: 1024px) {
  .zerelle-hero {
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    overflow: hidden;
    align-items: stretch;
  }
  .zerelle-hero__media {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: 100%;
    line-height: 0;
    background-color: var(--zerelle-burgundy);
  }
  .zerelle-hero__media > picture {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }
  .zerelle-hero__image {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }
  .zerelle-hero__overlay {
    display: none;
  }
  .zerelle-hero--mobile-stacked {
    color: var(--zerelle-burgundy);
    background: var(--zerelle-primary);
  }
  .zerelle-hero--mobile-stacked .zerelle-hero__content {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 100%;
    padding: clamp(20px, 5vw, 28px) var(--zerelle-gutter) clamp(28px, 6vw, 36px);
    color: inherit;
  }
  .zerelle-hero--mobile-stacked .zerelle-hero__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .zerelle-hero--mobile-stacked .zerelle-btn--ghost {
    border-color: var(--zerelle-burgundy);
    color: var(--zerelle-burgundy);
  }
  .zerelle-hero--mobile-stacked .zerelle-btn--ghost:hover {
    background: var(--zerelle-burgundy);
    color: var(--zerelle-primary);
  }
  .zerelle-hero--mobile-overlay {
    position: relative;
    color: var(--zerelle-primary);
  }
  .zerelle-hero--mobile-overlay .zerelle-hero__overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(var(--zerelle-burgundy-rgb), 0.08) 0%,
      rgba(var(--zerelle-burgundy-rgb), 0.18) 42%,
      rgba(var(--zerelle-burgundy-rgb), 0.62) 100%
    );
  }
  .zerelle-hero--mobile-overlay .zerelle-hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(20px, 5vw, 28px) var(--zerelle-gutter) clamp(24px, 6vw, 32px);
  }
  .zerelle-hero__content {
    flex-direction: column;
    align-items: flex-start;
  }
  .zerelle-hero__title {
    font-size: clamp(2rem, 10vw, 3.25rem);
    margin-bottom: 12px;
  }
  .zerelle-hero__tagline {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }
  .zerelle-hero__scroll {
    display: none;
  }
}

/* Vision */
.zerelle-vision {
  padding: 100px 0;
  background: var(--zerelle-primary);
  scroll-margin-top: var(--zerelle-header-h);
}
.zerelle-vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "left center right";
  column-gap: 32px;
  row-gap: 16px;
  align-items: start;
}
.zerelle-vision__grid--has-video {
  grid-template-areas:
    ". heading ."
    "left text right";
}
.zerelle-vision__look {
  min-width: 0;
}
.zerelle-vision__look--left { grid-area: left; }
.zerelle-vision__look--right { grid-area: right; }
.zerelle-vision__look-media {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 2px;
  background: var(--zerelle-primary);
}
.zerelle-vision__look-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.zerelle-vision__ripple {
  position: absolute; inset: 10% 5%; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--zerelle-burgundy-rgb), .08), transparent 70%);
  pointer-events: none;
}
.zerelle-vision__subtitle {
  margin: 16px 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zerelle-burgundy);
}
.zerelle-vision__subtitle:empty {
  display: none;
}
.zerelle-vision__center {
  grid-area: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  align-self: start;
}
.zerelle-vision__grid--has-video .zerelle-vision__center {
  display: contents;
}
.zerelle-vision__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.zerelle-vision__grid--has-video .zerelle-vision__text {
  grid-area: text;
  align-self: start;
  align-items: stretch;
}
.zerelle-vision__heading {
  margin: 0;
  line-height: 1.15;
  text-align: center;
}
.zerelle-vision__grid--has-video .zerelle-vision__heading {
  grid-area: heading;
}
.zerelle-vision__heading[data-align="left"] { text-align: left; }
.zerelle-vision__heading[data-align="right"] { text-align: right; }
.zerelle-vision__heading[data-align="center"] { text-align: center; }
.zerelle-vision__heading--multiline {
  display: grid;
  gap: 2px;
}
.zerelle-vision__heading--multiline span {
  display: block;
}
.zerelle-vision__body {
  color: var(--zerelle-text-muted-on-light);
  max-width: 36ch;
  margin: 0 auto;
  text-align: center;
}
.zerelle-vision__body[data-align="left"] {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.zerelle-vision__body[data-align="right"] {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}
.zerelle-vision__body[data-align="center"] {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.zerelle-vision__body-media + .zerelle-vision__body { margin-top: 24px; }
.zerelle-vision__text:has(.zerelle-vision__body[data-align="left"]) {
  align-items: flex-start;
}
.zerelle-vision__text:has(.zerelle-vision__body[data-align="right"]) {
  align-items: flex-end;
}
.zerelle-vision__text:has(.zerelle-vision__body[data-align="center"]) {
  align-items: center;
}
.zerelle-vision__text:has(.zerelle-vision__body[data-align="left"]) .zerelle-vision__film:not(.zerelle-vision__film--overlay) {
  align-self: flex-start;
}
.zerelle-vision__text:has(.zerelle-vision__body[data-align="right"]) .zerelle-vision__film:not(.zerelle-vision__film--overlay) {
  align-self: flex-end;
}
.zerelle-vision__text:has(.zerelle-vision__body[data-align="center"]) .zerelle-vision__film:not(.zerelle-vision__film--overlay) {
  align-self: center;
}
.zerelle-vision__body-media {
  margin: 0;
  max-width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}
.zerelle-vision__body-media--has-video {
  position: relative;
  aspect-ratio: 3 / 2;
}
.zerelle-vision__body-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(var(--zerelle-burgundy-rgb), 0.08);
}
.zerelle-vision__film {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 24px;
  font-size: 11px; letter-spacing: 0.18em;
  color: inherit;
  text-decoration: none;
}
.zerelle-vision__film:not(.zerelle-vision__film--overlay) {
  margin-top: 12px;
}
.zerelle-vision__film--overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
  border: 0;
  cursor: pointer;
  background: rgba(var(--zerelle-burgundy-rgb), 0.28);
  color: var(--zerelle-primary);
  font: inherit;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.35s var(--zerelle-ease), visibility 0.35s var(--zerelle-ease);
}
.zerelle-vision__body-media.is-playing .zerelle-vision__film--overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.zerelle-vision__film--overlay .zerelle-circle-btn {
  flex-shrink: 0;
}

/* Best sellers */
.zerelle-bestsellers { padding: 80px 0 100px; background: var(--zerelle-primary); }
.zerelle-bestsellers__head {
  display: flex; align-items: center; gap: 24px; justify-content: center;
  margin-bottom: 48px;
}
.zerelle-bestsellers__line { flex: 1; max-width: 120px; height: 1px; background: rgba(var(--zerelle-burgundy-rgb), .25); }
.zerelle-bestsellers__title {
  font-size: 12px; letter-spacing: 0.28em; margin: 0;
}
.zerelle-bestsellers__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.zerelle-bestsellers__cta { text-align: center; margin-top: 48px; }
.zerelle-product-card { display: flex; flex-direction: column; }
.zerelle-product-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}
.zerelle-product-card__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.zerelle-product-card__info {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; gap: 12px;
}
.zerelle-product-card__meta {
  flex: 1 1 auto;
  min-width: 0;
}
.zerelle-product-card--cream .zerelle-product-card__info { background: var(--zerelle-white); color: var(--zerelle-burgundy); }
.zerelle-product-card--dark .zerelle-product-card__info { background: rgba(var(--zerelle-burgundy-rgb), .06); }
.zerelle-product-card__title {
  font-family: var(--zerelle-font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin: 0 0 6px;
}
.zerelle-product-card__title a {
  color: inherit;
  text-decoration: none;
}
.zerelle-product-card__price {
  font-size: 15px;
  line-height: 1.4;
  opacity: .9;
}

/* UAE Dirham symbol — inline SVG; prices always use body font (never Bodoni) */
.zerelle-currency {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
  color: inherit;
  /* Optical lift: glyph sits low vs digit caps without this */
  transform: translateY(-0.14em);
}
.zerelle-currency__svg {
  display: block;
  width: 0.9em;
  height: 0.78em;
  flex-shrink: 0;
}
.zerelle-price,
.zerelle-price__amount,
.woocommerce-Price-amount,
.woocommerce-Price-amount bdi,
.wc-block-components-formatted-money-amount,
.wc-block-formatted-money-amount,
.wc-block-cart-item__total-price-and-sale-badge,
.wc-block-components-product-price,
.amount bdi {
  font-family: var(--zerelle-font-body);
  font-style: normal;
}
.zerelle-price {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  unicode-bidi: isolate;
}
.zerelle-price__amount { letter-spacing: 0.04em; }
.woocommerce-Price-amount,
.woocommerce-Price-amount bdi,
.amount bdi {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  unicode-bidi: isolate;
}
.woocommerce-Price-currencySymbol {
  font-family: var(--zerelle-font-body);
  margin-inline-end: 0;
}
.woocommerce-Price-currencySymbol .zerelle-currency {
  vertical-align: middle;
}
/* Cart/Checkout Blocks: dirham prefix before amount (CSS mask; JS strips broken glyphs) */
.wc-block-formatted-money-amount:not(:has(.zerelle-currency__svg)),
.wc-block-components-formatted-money-amount:not(:has(.zerelle-currency__svg)),
.zerelle-block-price--fixed,
.wc-block-components-product-price:not(:has(.wc-block-formatted-money-amount)):not(:has(.wc-block-components-formatted-money-amount)):not(:has(.zerelle-currency__svg)) {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  unicode-bidi: isolate;
}
.wc-block-formatted-money-amount:not(:has(.zerelle-currency__svg))::before,
.wc-block-components-formatted-money-amount:not(:has(.zerelle-currency__svg))::before,
.zerelle-block-price--fixed:not(:has(.zerelle-currency__svg))::before,
.wc-block-components-product-price:not(:has(.wc-block-formatted-money-amount)):not(:has(.wc-block-components-formatted-money-amount)):not(:has(.zerelle-currency__svg))::before {
  content: '';
  display: inline-block;
  width: 0.9em;
  height: 0.78em;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("../images/dirham-symbol.svg") center / contain no-repeat;
  mask: url("../images/dirham-symbol.svg") center / contain no-repeat;
  vertical-align: middle;
  transform: translateY(-0.14em);
}
/* Classic WooCommerce currency span fallback (left of amount when Woo places symbol first) */
.woocommerce-Price-currencySymbol:not(:has(.zerelle-currency__svg)) {
  display: inline-block;
  width: 0.9em;
  height: 0.78em;
  margin-inline-end: 0.28em;
  vertical-align: middle;
  transform: translateY(-0.14em);
  font-size: 0 !important;
  line-height: 0;
  overflow: hidden;
  color: inherit;
  background-color: currentColor;
  -webkit-mask: url("../images/dirham-symbol.svg") center / contain no-repeat;
  mask: url("../images/dirham-symbol.svg") center / contain no-repeat;
}
[dir="rtl"] .zerelle-price,
[dir="rtl"] .zerelle-currency {
  unicode-bidi: isolate;
}

/* Highlights */
.zerelle-highlights { padding: 0 0 100px; }
.zerelle-highlights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.zerelle-highlights__media { position: relative; aspect-ratio: 1; overflow: hidden; margin-bottom: 20px; background: rgba(var(--zerelle-burgundy-rgb), 0.06); }
.zerelle-highlights__slides { position: relative; width: 100%; height: 100%; }
.zerelle-highlights__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform 1.1s cubic-bezier(.22,1,.36,1); }
.zerelle-highlights__slide.is-active { opacity: 1; transform: scale(1); }
.zerelle-highlights__media img { width: 100%; height: 100%; object-fit: contain; }
.zerelle-highlights__dots { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 7px; z-index: 1; }
.zerelle-highlights__dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; background: rgba(var(--zerelle-primary-rgb), .55); border: 1px solid rgba(var(--zerelle-burgundy-rgb), .5); }
.zerelle-highlights__dot.is-active { background: var(--zerelle-burgundy); }
.zerelle-highlights__title {
  font-size: 12px; letter-spacing: 0.18em; margin: 0 0 8px;
}
.zerelle-highlights__body { color: var(--zerelle-text-muted-on-light); font-size: 14px; margin: 0; }

/* Footer hero */
.zerelle-footer-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-color: var(--zerelle-burgundy);
  background-image: var(--zerelle-footer-cta-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--zerelle-primary);
  overflow: hidden;
}
.zerelle-footer-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.zerelle-footer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--zerelle-overlay-medium);
  z-index: 1;
}
/* Slim burgundy legal/social bar when CTA banner is hidden */
.zerelle-footer-hero--bar-only,
.zerelle-footer-hero:has(.zerelle-footer-hero__content[hidden]) {
  min-height: 0;
  background-image: none;
}
.zerelle-footer-hero--bar-only::before,
.zerelle-footer-hero:has(.zerelle-footer-hero__content[hidden])::before {
  display: none;
}
.zerelle-footer-hero--bar-only .zerelle-footer-hero__bottom,
.zerelle-footer-hero:has(.zerelle-footer-hero__content[hidden]) .zerelle-footer-hero__bottom {
  position: relative;
}
.zerelle-footer-hero--bar-only .zerelle-footer-hero__media,
.zerelle-footer-hero:has(.zerelle-footer-hero__content[hidden]) .zerelle-footer-hero__media {
  display: none;
}
.zerelle-footer-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 88px;
}
.zerelle-footer-hero__title {
  font-family: var(--zerelle-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}
.zerelle-footer-hero__sub {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 24px;
}
.zerelle-footer-hero__strip {
  margin-top: 28px;
  min-width: 0;
}
.zerelle-footer-hero__strip:empty {
  display: none;
  margin-top: 0;
}
.zerelle-footer-hero__bottom {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 24px;
  padding: 20px max(var(--zerelle-gutter), calc((100% - var(--zerelle-container)) / 2));
  z-index: 2;
  min-width: 0;
  text-align: center;
}
.zerelle-footer-hero__copyright {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  min-width: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--zerelle-text-muted-on-dark);
}
.zerelle-site-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}
.zerelle-site-legal p {
  margin: 0;
}
.zerelle-site-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em 0.5em;
  justify-content: center;
  align-items: center;
}
.zerelle-site-legal__links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.zerelle-site-legal__sep {
  opacity: 0.6;
}
.zerelle-site-legal--hero {
  align-items: center;
  text-align: center;
  letter-spacing: 0.06em;
}
.zerelle-site-legal--hero .zerelle-site-legal__links {
  justify-content: center;
}
.zerelle-site-legal--hero a {
  color: inherit;
}
.zerelle-footer__strip {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}
.zerelle-footer__strip::-webkit-scrollbar {
  display: none;
}
.zerelle-footer__strip-item {
  display: block;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}
.zerelle-footer__strip-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.zerelle-footer__strip-item:hover img {
  transform: scale(1.05);
}
.zerelle-footer__follow {
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-right: 16px;
}
.zerelle-footer__social {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.zerelle-social { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }

/* Search drawer */
.zerelle-search-drawer[hidden] { display: none; }
.zerelle-search-drawer {
  position: fixed; inset: 0; z-index: 200;
}
.zerelle-search-drawer__backdrop {
  position: absolute; inset: 0; background: rgba(var(--zerelle-burgundy-rgb), .6);
}
.zerelle-search-drawer__panel {
  position: absolute; top: 0; right: 0; width: min(420px, 100%);
  height: 100%; background: var(--zerelle-white); color: var(--zerelle-burgundy);
  padding: 32px; display: flex; flex-direction: column; gap: 24px;
}
.zerelle-search-form { display: grid; gap: 12px; }

/* Pages */
.zerelle-page--about, .zerelle-page--contact, .zerelle-page--customize {
  color: var(--zerelle-text); background: var(--zerelle-primary);
}
.zerelle-page-hero { padding: calc(var(--zerelle-header-h) + 48px) 0 48px; }
.zerelle-page-hero__title {
  font-family: var(--zerelle-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em; margin: 0 0 12px;
}
.zerelle-page-hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}

/* About — HASHI-style full-bleed hero + story + factory */
.zerelle-about-hero {
  margin-top: var(--zerelle-header-h);
  width: 100%;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
  overflow: hidden;
}
.zerelle-about-hero__carousel {
  position: relative;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.zerelle-about-hero__carousel.is-dragging {
  cursor: grabbing;
}
.zerelle-about-hero__track {
  display: grid;
  width: 100%;
}
.zerelle-about-hero__slide {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  transform: scale(1.035);
  pointer-events: none;
  z-index: 0;
  transition:
    opacity 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.zerelle-about-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}
.zerelle-about-hero__slide picture {
  display: block;
  width: 100%;
}
.zerelle-about-hero__media {
  display: block;
  width: 100%;
  height: var(--zerelle-page-banner-h);
  aspect-ratio: var(--zerelle-page-banner-ratio);
  object-fit: cover;
  object-position: center;
  background-color: var(--zerelle-burgundy);
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.zerelle-about-hero__dots {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(12px, 2vw, 24px);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--zerelle-burgundy-rgb), 0.42);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.zerelle-about-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  padding: 0;
  background: rgba(var(--zerelle-primary-rgb), 0.45);
  border: 1px solid rgba(var(--zerelle-primary-rgb), 0.75);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition:
    background 0.35s var(--zerelle-ease),
    border-color 0.35s var(--zerelle-ease),
    transform 0.35s var(--zerelle-ease);
}
.zerelle-about-hero__dot.is-active,
.zerelle-about-hero__dot:hover {
  background: var(--zerelle-primary);
  border-color: var(--zerelle-primary);
  transform: scale(1.15);
}
@media (prefers-reduced-motion: reduce) {
  .zerelle-about-hero__slide {
    transition: none;
    transform: none;
  }
  .zerelle-about-hero__dot {
    transition: none;
  }
}
.zerelle-about-story {
  padding: 64px 0 48px;
}
.zerelle-about-story__inner {
  max-width: 720px;
  margin-inline: auto;
}
.zerelle-about-story__content {
  text-align: center;
}
.zerelle-about-story__content h1,
.zerelle-about-story__content h2,
.zerelle-about-story__content h3 {
  font-family: var(--zerelle-font-heading);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 2em 0 0.75em;
  color: var(--zerelle-text);
}
.zerelle-about-story__content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.zerelle-about-story__content > *:first-child {
  margin-top: 0;
}
.zerelle-about-story__content p {
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 1.5em;
}
.zerelle-about-story__content .has-text-align-left { text-align: left; }
.zerelle-about-story__content .has-text-align-right { text-align: right; }
.zerelle-about-story__content .has-text-align-center { text-align: center; }
.zerelle-about-factory {
  padding: 32px 0 100px;
}
.zerelle-about-factory__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.zerelle-about-factory__media {
  margin: 0;
}
.zerelle-about-factory__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}
.zerelle-about-factory__heading {
  font-family: var(--zerelle-font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.03em;
  margin: 0 0 1em;
  font-weight: 700;
}
.zerelle-about-factory__body {
  text-align: left;
}
.zerelle-about-factory__body p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 1.25em;
  color: var(--zerelle-text);
}
.zerelle-about-factory__body p:last-child {
  margin-bottom: 0;
}

/* Contact — Hashi-style layout (scoped; header/footer unchanged) */
.zerelle-contact-page {
  padding-bottom: 96px;
}
.zerelle-contact-page__hero {
  margin-top: var(--zerelle-header-h);
  width: 100%;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
  overflow: hidden;
  line-height: 0;
}
.zerelle-contact-page__hero-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: var(--zerelle-page-banner-h);
  aspect-ratio: var(--zerelle-page-banner-ratio);
  object-fit: cover;
  object-position: var(--zerelle-banner-pos, center);
  background-color: var(--zerelle-burgundy);
}

/*
 * Shared responsive page banners — mobile/tablet: intrinsic ratio, no cover crop.
 * Desktop (>1024px) keeps cover + --zerelle-page-banner-h per component.
 */
@media (max-width: 1024px) {
  .zerelle-page-banner__media,
  .zerelle-contact-page__hero-img,
  .zerelle-about-hero__media,
  .zerelle-news-hero__media,
  .zerelle-shop-hero__media,
  .zerelle-customize-hero__media {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: var(--zerelle-banner-pos, center);
  }

  /* News mid-banner is a centered portrait — keep 4/5 on mobile */
  .zerelle-news-mid-banner__media {
    width: 100%;
    max-width: min(420px, 88vw);
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: var(--zerelle-news-mid-banner-pos, center center);
  }

  .zerelle-shop-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  .zerelle-shop-hero img.zerelle-shop-hero__media,
  .zerelle-shop-hero video.zerelle-shop-hero__media {
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .zerelle-page--news:has(.zerelle-news-hero) .zerelle-news-hero__overlay {
    position: relative;
    inset: auto;
    background: none;
    padding: clamp(24px, 5vw, 32px) var(--zerelle-gutter) clamp(20px, 4vw, 28px);
    line-height: normal;
  }

  .zerelle-page--news:has(.zerelle-news-hero) .zerelle-news-hero__copy {
    color: var(--zerelle-burgundy);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .zerelle-page--news:has(.zerelle-news-hero) .zerelle-news-hero {
    line-height: normal;
    overflow: visible;
  }

  .zerelle-page--news:has(.zerelle-news-hero) .zerelle-news-hero__title {
    line-height: 1.15;
    margin: 0;
  }

  /*
   * Shop / Customize / News — reserve banner ratio before image paint (prevents mobile CLS).
   * Contact & About keep their existing mobile rules unchanged.
   */
  .zerelle-shop-hero:not(.zerelle-shop-hero--text-only):not(.zerelle-shop-hero--fallback),
  .zerelle-customize-hero__banner {
    width: 100%;
    height: auto;
    aspect-ratio: var(--zerelle-page-banner-ratio);
    background-color: rgba(var(--zerelle-burgundy-rgb), 0.06);
  }

  .zerelle-news-hero picture {
    display: block;
    width: 100%;
    aspect-ratio: var(--zerelle-page-banner-ratio);
    background-color: rgba(var(--zerelle-burgundy-rgb), 0.06);
  }

  .zerelle-shop-hero picture,
  .zerelle-customize-hero__banner picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .zerelle-shop-hero .zerelle-page-banner__media,
  .zerelle-customize-hero__banner .zerelle-page-banner__media,
  .zerelle-news-hero .zerelle-page-banner__media,
  .zerelle-shop-hero video.zerelle-shop-hero__media {
    width: 100%;
    height: 100%;
    max-height: none;
    min-height: 0;
    aspect-ratio: unset;
    object-fit: contain;
    object-position: var(--zerelle-banner-pos, center);
  }

  .zerelle-news-hero > video.zerelle-news-hero__media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--zerelle-page-banner-ratio);
    object-fit: contain;
    object-position: center;
  }
}

.zerelle-contact-page__inner {
  padding-top: 28px;
}
.zerelle-contact-page__breadcrumb {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--zerelle-gray);
  margin: 0 0 56px;
  line-height: 1.4;
}
.zerelle-contact-page__breadcrumb a {
  color: var(--zerelle-gray);
  transition: color 0.2s var(--zerelle-ease);
}
.zerelle-contact-page__breadcrumb a:hover {
  color: var(--zerelle-burgundy);
}
.zerelle-contact-page__breadcrumb-sep {
  margin: 0 2px;
}
.zerelle-contact-page__breadcrumb-current {
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-contact-page__info {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 80px;
}
.zerelle-contact-page__info-heading {
  font-family: var(--zerelle-font-heading);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.75rem, 2.5vw, 2rem);
  letter-spacing: 0.01em;
  text-transform: none;
  margin: 0 0 20px;
  color: var(--zerelle-burgundy);
}
.zerelle-contact-page__info-desc {
  margin: 0 auto 56px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-contact-page__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  align-items: start;
}
.zerelle-contact-page__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.zerelle-contact-page__item-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  color: var(--zerelle-burgundy);
  margin-bottom: 6px;
}
.zerelle-contact-page__item-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.zerelle-contact-page__item-title {
  font-family: var(--zerelle-font-body);
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--zerelle-burgundy);
}
.zerelle-contact-page__item-content {
  font-size: 14px;
  line-height: 1.65;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-contact-page__item-content a {
  color: inherit;
  transition: color 0.2s var(--zerelle-ease);
}
.zerelle-contact-page__item-content a:hover {
  color: var(--zerelle-burgundy);
}
.zerelle-contact-page__form-section {
  width: 100%;
  margin: 0;
  padding-top: 8px;
}
.zerelle-contact-page__form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.zerelle-contact-page__form-layout:not(.has-media) {
  grid-template-columns: minmax(0, 520px);
}
.zerelle-contact-page__form-heading {
  font-family: var(--zerelle-font-heading);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.75rem, 2.5vw, 2rem);
  text-transform: none;
  letter-spacing: 0.01em;
  margin: 0 0 28px;
  color: var(--zerelle-burgundy);
}
.zerelle-contact-page__form-col {
  min-width: 0;
}
.zerelle-contact-page__form-media {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}
.zerelle-contact-page__form-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.zerelle-contact-page__form label,
.zerelle-contact-page__form .wpforms-field-label,
.zerelle-contact-page__form .gfield_label,
.zerelle-contact-page__form .ff-el-input--label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--zerelle-burgundy);
}
.zerelle-contact-page__form .wpcf7-form-control-wrap {
  display: block;
}
.zerelle-contact-page__form p,
.zerelle-contact-page__form .wpcf7-form > p,
.zerelle-contact-page__form .wpforms-field,
.zerelle-contact-page__form .gfield,
.zerelle-contact-page__form .ff-el-group {
  margin: 0 0 20px;
}
.zerelle-contact-page__form input[type="text"],
.zerelle-contact-page__form input[type="email"],
.zerelle-contact-page__form input[type="tel"],
.zerelle-contact-page__form input[type="url"],
.zerelle-contact-page__form input[type="number"],
.zerelle-contact-page__form input[type="date"],
.zerelle-contact-page__form select,
.zerelle-contact-page__form textarea,
.zerelle-contact-page__form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.zerelle-contact-page__form .wpforms-field-large,
.zerelle-contact-page__form .wpforms-field-medium,
.zerelle-contact-page__form .ginput_container input,
.zerelle-contact-page__form .ginput_container textarea,
.zerelle-contact-page__form .ff-el-form-control {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(70, 15, 38, 0.22);
  border-radius: 0;
  background: #ffffff;
  color: #2a0a16;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  box-sizing: border-box;
  transition: border-color 0.2s var(--zerelle-ease), box-shadow 0.2s var(--zerelle-ease);
}
.zerelle-contact-page__form textarea,
.zerelle-contact-page__form .wpcf7-textarea,
.zerelle-contact-page__form .wpforms-field-textarea textarea {
  min-height: 160px;
  resize: vertical;
}
.zerelle-contact-page__form input::placeholder,
.zerelle-contact-page__form textarea::placeholder,
.zerelle-contact-page__form .wpcf7-form-control::placeholder {
  color: rgba(70, 15, 38, 0.48);
  opacity: 1;
}
.zerelle-contact-page__form input::-webkit-input-placeholder,
.zerelle-contact-page__form textarea::-webkit-input-placeholder {
  color: rgba(70, 15, 38, 0.48);
  opacity: 1;
}
.zerelle-contact-page__form input::-moz-placeholder,
.zerelle-contact-page__form textarea::-moz-placeholder {
  color: rgba(70, 15, 38, 0.48);
  opacity: 1;
}
.zerelle-contact-page__form input:disabled,
.zerelle-contact-page__form textarea:disabled {
  opacity: 0.65;
  color: rgba(42, 10, 22, 0.55);
  background: #f5ebe3;
}
.zerelle-contact-page__form input:focus,
.zerelle-contact-page__form select:focus,
.zerelle-contact-page__form textarea:focus,
.zerelle-contact-page__form .wpcf7-form-control:focus,
.zerelle-contact-page__form .ff-el-form-control:focus {
  outline: none;
  border-color: var(--zerelle-burgundy);
  box-shadow: 0 0 0 1px var(--zerelle-burgundy);
}
.zerelle-contact-page__form input[type="submit"],
.zerelle-contact-page__form button[type="submit"],
.zerelle-contact-page__form .wpcf7-submit,
.zerelle-contact-page__form .wpforms-submit,
.zerelle-contact-page__form .gform_button,
.zerelle-contact-page__form .ff-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
  padding: 16px 28px;
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  border: 1px solid var(--zerelle-burgundy);
  border-radius: 0;
  font-family: var(--zerelle-font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--zerelle-ease), color 0.25s var(--zerelle-ease);
}
.zerelle-contact-page__form input[type="submit"]:hover,
.zerelle-contact-page__form button[type="submit"]:hover,
.zerelle-contact-page__form .wpcf7-submit:hover,
.zerelle-contact-page__form .wpforms-submit:hover,
.zerelle-contact-page__form .gform_button:hover,
.zerelle-contact-page__form .ff-btn-submit:hover {
  background: #2e0a19;
  color: var(--zerelle-primary);
}
.zerelle-contact-page__form .wpcf7-not-valid-tip,
.zerelle-contact-page__form .wpforms-error,
.zerelle-contact-page__form .validation_message,
.zerelle-contact-page__form .ff-el-is-error .text-danger,
.zerelle-phone-error {
  display: block;
  font-size: 12px;
  color: #8a1c2e;
  margin-top: 6px;
}
.zerelle-contact-page__form .zerelle-phone-invalid {
  border-color: #8a1c2e !important;
}
.zerelle-contact-page__form .wpcf7-response-output,
.zerelle-contact-page__form .wpforms-confirmation-container-full,
.zerelle-contact-page__form .gform_confirmation_message {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--zerelle-border-on-light);
  font-size: 13px;
  line-height: 1.5;
  color: var(--zerelle-burgundy);
}
/* intl-tel-input */
.zerelle-contact-page__form .iti {
  width: 100%;
  display: block;
  position: relative;
  z-index: 5;
}
.zerelle-contact-page__form .iti__dropdown-content,
.zerelle-contact-page__form .iti__country-list {
  z-index: 10050;
  max-height: 240px;
  border: 1px solid rgba(70, 15, 38, 0.2);
  box-shadow: 0 12px 32px rgba(20, 5, 10, 0.18);
}
.zerelle-contact-page__form .iti__selected-country {
  padding-left: 4px;
}
.zerelle-contact-page__form .iti input.iti__tel-input {
  padding-left: 92px !important;
}
/* Dropdown may render on document.body to avoid clipping. */
body > .iti--container,
body > .iti__dropdown-content,
.iti__country-list {
  z-index: 10050;
}
.zerelle-contact-page__admin-note {
  margin: 0;
  padding: 16px 18px;
  border: 1px dashed var(--zerelle-border-on-light);
  background: rgba(var(--zerelle-burgundy-rgb), 0.04);
  font-size: 13px;
  line-height: 1.6;
  color: var(--zerelle-text-muted-on-light);
}

/* Customize / DIY */
.zerelle-customize-hero {
  margin-top: var(--zerelle-header-h);
  padding-top: 32px;
  padding-bottom: 48px;
  background-color: var(--zerelle-cream);
  position: relative;
}
.zerelle-customize-hero__banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}
.zerelle-customize-hero__media {
  display: block;
  width: 100%;
  max-width: 100%;
}
.zerelle-customize-hero.has-bg {
  padding-top: 0;
  padding-bottom: 0;
}
.zerelle-customize-hero.has-bg .zerelle-customize-hero__overlay {
  /* Legible fade on the left where the copy sits, clearing toward the image on the right. */
  background: linear-gradient(100deg, rgba(var(--zerelle-cream-rgb), .94) 0%, rgba(var(--zerelle-cream-rgb), .82) 38%, rgba(var(--zerelle-cream-rgb), .28) 68%, rgba(var(--zerelle-cream-rgb), 0) 100%);
  width: 100%;
  padding-top: 32px;
  padding-bottom: 48px;
}
.zerelle-customize-hero.has-bg .zerelle-customize-hero__overlay.is-disabled { background: transparent; }
.zerelle-customize-hero:not(.has-bg) .zerelle-customize-hero__overlay {
  background: transparent;
}
@media (min-width: 1025px) {
  .zerelle-customize-hero.has-bg {
    min-height: var(--zerelle-page-banner-h);
    display: flex;
    align-items: center;
  }
  .zerelle-customize-hero.has-bg .zerelle-customize-hero__banner {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .zerelle-customize-hero.has-bg .zerelle-customize-hero__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .zerelle-customize-hero.has-bg .zerelle-customize-hero__overlay {
    position: relative;
    z-index: 1;
  }
}
.zerelle-customize-hero__grid {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
  min-height: calc(var(--zerelle-page-banner-h) - 80px);
  margin-bottom: 0;
}
.zerelle-customize-hero__title {
  font-family: var(--zerelle-font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em; margin: 0 0 16px; line-height: 1.15;
}
.zerelle-customize-hero__copy { max-width: 520px; }
.zerelle-customize-hero__intro {
  display: grid;
  gap: 10px;
  margin: 0;
  max-width: 420px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--zerelle-burgundy);
  opacity: 0.85;
}
.zerelle-customize-hero__intro span {
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--zerelle-burgundy-rgb), 0.35);
}
.zerelle-customize-hero__intro span:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
@media (max-width: 1024px) {
  .zerelle-customize-hero.has-bg .zerelle-customize-hero__overlay {
    position: relative;
    background: transparent;
    padding-top: 22px;
    padding-bottom: 30px;
  }
  .zerelle-customize-hero__grid {
    min-height: auto;
  }
}
@media (max-width: 480px) {
  .zerelle-customize-hero.has-bg .zerelle-customize-hero__overlay {
    padding-top: 18px;
    padding-bottom: 24px;
  }
}
.zerelle-diy-steps-bar {
  background: var(--zerelle-cream);
  padding: 28px 0 8px;
}
.zerelle-diy-steps {
  display: flex; align-items: center; list-style: none;
  padding: 0; margin: 0; font-size: 11px; letter-spacing: 0.18em;
}
.zerelle-diy-steps li {
  display: flex; align-items: center; gap: 10px;
  opacity: .35; transition: opacity .2s;
}
.zerelle-diy-steps li.is-active { opacity: 1; }
.zerelle-diy-steps__badge {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--zerelle-burgundy);
  font-size: 12px; font-weight: 600; line-height: 1;
  letter-spacing: 0;
}
.zerelle-diy-steps li.is-active .zerelle-diy-steps__badge {
  background: var(--zerelle-burgundy); color: var(--zerelle-primary);
}
.zerelle-diy-steps__line {
  width: 48px; height: 1px; background: var(--zerelle-border-on-light); margin: 0 16px;
}
.zerelle-diy-workspace { padding: 32px 0 80px; background: var(--zerelle-cream); }
.zerelle-diy-workspace__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 420px) 44px; gap: 24px; align-items: start;
  max-width: 100%;
}
.zerelle-diy-main,
.zerelle-diy-panel {
  min-width: 0;
  max-width: 100%;
}
.zerelle-diy-panel__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 8px;
}
.zerelle-diy-panel h2 {
  font-family: var(--zerelle-font-body);
  font-size: 12px; letter-spacing: 0.18em; margin: 0;
}
.zerelle-diy-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--zerelle-border-on-light);
  border-radius: 50%;
  background: var(--zerelle-white);
  color: var(--zerelle-burgundy);
  cursor: pointer;
  transition: border-color .2s ease, opacity .2s ease;
}
.zerelle-diy-back:hover,
.zerelle-diy-back:focus-visible {
  border-color: var(--zerelle-burgundy);
  opacity: .68;
}
.zerelle-diy-back span { font-size: 18px; line-height: 1; }
.zerelle-diy-back:focus-visible,
.zerelle-diy-frame:focus-visible,
.zerelle-diy-charm:focus-visible {
  outline: 2px solid var(--zerelle-burgundy);
  outline-offset: 3px;
}
.zerelle-diy-frames-wrap,
.zerelle-diy-lenses-wrap,
.zerelle-diy-charms-wrap { display: flex; align-items: center; gap: 8px; }
.zerelle-diy-frames-wrap { display: block; }
.zerelle-diy-frames,
.zerelle-diy-lenses,
.zerelle-diy-charms {
  display: flex; gap: 16px; overflow-x: auto; flex: 1; padding: 8px 4px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.zerelle-diy-frames {
  padding: 20px 16px; margin: -12px;
  scroll-padding-inline: 16px;
}
.zerelle-diy-frames:empty {
  min-height: 240px;
}
.zerelle-diy-frames:empty::after {
  content: "";
  display: block;
  flex: 0 0 280px;
  width: 280px;
  height: 220px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f4f0ee 0%, #faf8f7 50%, #f4f0ee 100%);
  background-size: 200% 100%;
}
.zerelle-diy-frame {
  --zerelle-frame-scale: 1;
  flex: 0 0 calc(320px * var(--zerelle-frame-scale));
  width: calc(320px * var(--zerelle-frame-scale));
  max-width: none;
  scroll-snap-align: start;
  border: 2px solid transparent;
  padding: calc(28px * var(--zerelle-frame-scale)) calc(22px * var(--zerelle-frame-scale));
  cursor: pointer;
  background: var(--zerelle-white);
  text-align: center;
  transition: border-color .25s ease, box-shadow .25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.zerelle-diy-frame__img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: calc(16px * var(--zerelle-frame-scale));
  cursor: crosshair;
}
.zerelle-diy-frame__zoom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: var(--zerelle-white);
  transition: opacity 0.15s var(--zerelle-ease);
}
.zerelle-diy-frame__img-wrap.is-zooming .zerelle-diy-frame__zoom,
.zerelle-diy-charm__img-wrap.is-zooming .zerelle-diy-frame__zoom {
  opacity: 1;
  visibility: visible;
}
.zerelle-diy-frame__zoom-img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none !important;
  max-height: none !important;
  width: 200%;
  height: 200%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.zerelle-diy-frame:hover,
.zerelle-diy-frame:focus-visible {
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 28px rgba(54,13,37,.15);
}
.zerelle-diy-frame.is-selected {
  border-color: var(--zerelle-burgundy);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.zerelle-diy-frame img { width: 100%; aspect-ratio: 4/3; object-fit: contain; display: block; }
.zerelle-diy-frame__img-wrap > img { transition: opacity .15s var(--zerelle-ease); }
.zerelle-diy-frame span.zerelle-diy-frame__label {
  font-size: calc(12px * var(--zerelle-frame-scale));
  letter-spacing: 0.12em;
  display: block;
  line-height: 1.4;
}
.zerelle-diy-frame span.zerelle-diy-frame__label :is(p, div, span) { margin: 0; font-size: inherit; letter-spacing: inherit; }
.zerelle-diy-lens {
  flex: 0 0 88px; scroll-snap-align: start;
  border: none; background: none; cursor: pointer; text-align: center; padding: 4px;
}
.zerelle-diy-lens__swatch {
  display: block; width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto 8px; border: 2px solid var(--zerelle-border-on-light);
  transition: box-shadow .2s, transform .2s;
}
.zerelle-diy-lens.is-selected .zerelle-diy-lens__swatch {
  box-shadow: 0 0 0 2px var(--zerelle-white), 0 0 0 4px var(--zerelle-burgundy);
  transform: scale(1.05);
}
.zerelle-diy-lens__label { font-size: 9px; letter-spacing: 0.1em; color: var(--zerelle-burgundy); opacity: 0.75; }
.zerelle-diy-carousel-btn {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 36px; width: 36px; height: 36px; padding: 0;
  border-radius: 50%;
  border: 1px solid var(--zerelle-border-on-light); background: var(--zerelle-white);
  cursor: pointer; font-size: 20px; line-height: 1; letter-spacing: 0;
  color: var(--zerelle-burgundy);
  transition: border-color .2s, background .2s;
}
.zerelle-diy-carousel-btn:hover { border-color: var(--zerelle-burgundy); }
.zerelle-diy-charm {
  flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; text-align: center; padding: 16px 12px;
  background: var(--zerelle-white); border: 2px solid transparent; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.zerelle-diy-charm:hover,
.zerelle-diy-charm:focus-visible {
  position: relative; z-index: 2;
  box-shadow: 0 12px 28px rgba(54,13,37,.15);
}
.zerelle-diy-charm.is-selected { border-color: var(--zerelle-burgundy); }
.zerelle-diy-charm__img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  cursor: crosshair;
}
.zerelle-diy-charm img:not(.zerelle-diy-frame__zoom-img) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
  display: block;
}
.zerelle-diy-charm span { font-size: 10px; letter-spacing: 0.08em; display: block; }
.zerelle-diy-charm span :is(p, div) {
  margin: 0;
  font-size: inherit;
  letter-spacing: inherit;
}
.zerelle-diy-charm span :is(strong, b, em, i) {
  font: inherit;
  letter-spacing: inherit;
}
.zerelle-diy-charm span :is(.aligncenter, .has-text-align-center),
.zerelle-diy-charm span :is([style*="text-align: center"], [style*="text-align:center"]) {
  text-align: center;
}
.zerelle-diy-charm span :is(.alignright, .has-text-align-right),
.zerelle-diy-charm span :is([style*="text-align: right"], [style*="text-align:right"]) {
  text-align: right;
}
.zerelle-diy-charm span :is(.alignleft, .has-text-align-left),
.zerelle-diy-charm span :is([style*="text-align: left"], [style*="text-align:left"]) {
  text-align: left;
}
.zerelle-diy-charm small { font-size: 12px; color: var(--zerelle-gray); letter-spacing: 0.04em; }
.zerelle-diy-charm-sections { display: flex; flex-direction: column; gap: 12px; min-width: 0; max-width: 100%; }
.zerelle-diy-charm-section {
  border: 1px solid var(--zerelle-border-on-light);
  background: rgba(255,255,255,.55);
  padding: 0;
  overflow: visible;
  min-width: 0;
  width: 100%;
  max-width: none;
}
.zerelle-diy-charm-section__title {
  margin: 0;
  padding: 14px 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: none;
}
.zerelle-diy-charm-section__title :is(p, div, span) {
  margin: 0;
}
.zerelle-diy-charm-section__name :is(strong, b, em, i) {
  font: inherit;
  letter-spacing: inherit;
}
.zerelle-diy-charm-section__name :is(p, div, span) {
  margin: 0;
}
.zerelle-diy-charm-section__name :is(.aligncenter, .has-text-align-center),
.zerelle-diy-charm-section__title :is(.aligncenter, .has-text-align-center) {
  text-align: center;
}
.zerelle-diy-charm-section__name :is(.alignright, .has-text-align-right),
.zerelle-diy-charm-section__title :is(.alignright, .has-text-align-right) {
  text-align: right;
}
.zerelle-diy-charm-section__name :is(.alignleft, .has-text-align-left),
.zerelle-diy-charm-section__title :is(.alignleft, .has-text-align-left) {
  text-align: left;
}
.zerelle-diy-charm-section__name :is([style*="text-align: center"], [style*="text-align:center"]),
.zerelle-diy-charm-section__title :is([style*="text-align: center"], [style*="text-align:center"]) {
  text-align: center;
}
.zerelle-diy-charm-section__name :is([style*="text-align: right"], [style*="text-align:right"]),
.zerelle-diy-charm-section__title :is([style*="text-align: right"], [style*="text-align:right"]) {
  text-align: right;
}
.zerelle-diy-charm-section__name :is([style*="text-align: left"], [style*="text-align:left"]),
.zerelle-diy-charm-section__title :is([style*="text-align: left"], [style*="text-align:left"]) {
  text-align: left;
}
.zerelle-diy-charm-section[data-label-align="center"] .zerelle-diy-charm-section__title { text-align: center; }
.zerelle-diy-charm-section[data-label-align="right"] .zerelle-diy-charm-section__title { text-align: right; }
.zerelle-diy-charm-section__toggle {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 44px 14px 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-align: left;
  color: inherit;
}
.zerelle-diy-charm-section[data-label-align="center"] .zerelle-diy-charm-section__toggle {
  justify-content: center;
  text-align: center;
}
.zerelle-diy-charm-section[data-label-align="right"] .zerelle-diy-charm-section__toggle {
  justify-content: flex-end;
  text-align: right;
}
.zerelle-diy-charm-section__name {
  flex: 0 1 auto;
  min-width: 0;
  text-align: inherit;
}
.zerelle-diy-charm-section[data-label-align="center"] .zerelle-diy-charm-section__name { text-align: center; }
.zerelle-diy-charm-section[data-label-align="right"] .zerelle-diy-charm-section__name { text-align: right; }
.zerelle-diy-charm-section__chevron {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.zerelle-diy-charm-section.is-expanded .zerelle-diy-charm-section__chevron {
  transform: rotate(-135deg);
}
.zerelle-diy-charm-section__body {
  display: none;
  padding: 10px 0 16px;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}
.zerelle-diy-charm-section.is-expanded .zerelle-diy-charm-section__body {
  display: block;
}
.zerelle-diy-charm-section[data-display-mode="always_expanded"] .zerelle-diy-charm-section__body {
  display: block;
}
.zerelle-diy-charm-section .zerelle-diy-charms {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.zerelle-diy-selected-charms {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  border: 1px solid var(--zerelle-burgundy);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  box-sizing: border-box;
}
.zerelle-diy-charm-placement {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.zerelle-diy-charm-placement[hidden] { display: none; }
.zerelle-diy-charm-placement__sides {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zerelle-diy-charm-placement__side {
  appearance: none;
  border: 2px solid var(--zerelle-border-on-light);
  background: var(--zerelle-white);
  color: var(--zerelle-burgundy);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 18px;
  min-width: 120px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.zerelle-diy-charm-placement__side.is-active {
  border-color: var(--zerelle-burgundy);
  color: var(--zerelle-burgundy);
}
.zerelle-diy-charm-placement__side.is-occupied:not(.is-active) {
  border-style: dashed;
}
.zerelle-diy-charm-placement__slots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.zerelle-diy-charm-placement__slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.zerelle-diy-charm-placement__clear {
  appearance: none;
  border: 1px solid var(--zerelle-burgundy);
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 12px;
  text-decoration: none;
  line-height: 1.2;
  flex-shrink: 0;
  transition: background-color .2s var(--zerelle-ease), color .2s var(--zerelle-ease), border-color .2s var(--zerelle-ease);
}
.zerelle-diy-charm-placement__clear:hover,
.zerelle-diy-charm-placement__clear:focus-visible {
  background: var(--zerelle-white);
  color: var(--zerelle-burgundy);
  border-color: var(--zerelle-burgundy);
  outline: none;
}
.zerelle-diy-charm-placement__hint {
  margin: 2px 0 0;
  color: var(--zerelle-burgundy);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.zerelle-diy-charm-placement__hint :is(p, div, span) {
  margin: 0;
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}
.zerelle-diy-selected-charms__empty {
  margin: 0;
  color: var(--zerelle-primary);
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  opacity: 0.7;
}
.zerelle-diy-selected-charms__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
}
.zerelle-diy-selected-charms__list li {
  margin: 0;
  width: 100%;
  text-align: center;
}
.zerelle-diy-sidebar {
  position: sticky; top: calc(var(--zerelle-header-h) + 24px);
  background: var(--zerelle-white); padding: 28px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.zerelle-diy-preview__thumbnails {
  position: sticky;
  top: calc(var(--zerelle-header-h) + 24px);
  align-self: start;
}
.zerelle-diy-sidebar__title {
  font-family: var(--zerelle-font-body);
  font-size: 11px; letter-spacing: 0.2em; margin: 0 0 20px;
}
.zerelle-diy-preview { position: relative; margin-bottom: 20px; overflow: hidden; }
.zerelle-diy-preview__slider { position: relative; }
.zerelle-diy-preview.is-zooming .zerelle-diy-preview__slider {
  cursor: crosshair;
}
.zerelle-diy-preview__zoom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: var(--zerelle-cream);
  transition: opacity 0.15s var(--zerelle-ease);
}
.zerelle-diy-preview.is-zooming .zerelle-diy-preview__zoom {
  opacity: 1;
  visibility: visible;
}
.zerelle-diy-preview.is-zooming {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.zerelle-diy-preview__zoom-img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none !important;
  max-height: none !important;
  width: 200%;
  height: 200%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.zerelle-diy-preview__slides {
  position: relative;
  min-height: 380px;
}
.zerelle-diy-preview__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.zerelle-diy-preview__slide.is-active {
  position: relative;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.zerelle-diy-preview__slides.is-animating .zerelle-diy-preview__slide.is-active {
  animation: zerelleDiyPreviewIn .45s ease;
}
@keyframes zerelleDiyPreviewIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.zerelle-diy-preview__slide img,
.zerelle-diy-preview__img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.zerelle-diy-preview__empty { min-height: 380px; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--zerelle-gray); font-size: 11px; letter-spacing: .12em; }
.zerelle-diy-preview__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--zerelle-border-on-light);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  color: var(--zerelle-burgundy);
  font-size: 16px;
  line-height: 1;
  padding: 0;
}
.zerelle-diy-preview.is-zooming .zerelle-diy-preview__nav {
  z-index: 8;
  pointer-events: auto;
}
.zerelle-diy-preview__nav--prev { left: 6px; }
.zerelle-diy-preview__nav--next { right: 6px; }
.zerelle-diy-preview__dots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zerelle-diy-preview__dot {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  border: 1px solid var(--zerelle-border-on-light);
  padding: 0;
  background: var(--zerelle-border-on-light);
  cursor: pointer;
}
.zerelle-diy-preview__dot.is-active { background: var(--zerelle-burgundy); border-color: var(--zerelle-burgundy); }
.zerelle-diy-preview__thumbnails[hidden] { display: none; }
.zerelle-diy-preview__lens {
  position: absolute; inset: 18% 12% 28%; border-radius: 50%;
  pointer-events: none; mix-blend-mode: multiply; z-index: 1;
}
.zerelle-diy-summary { list-style: none; padding: 0; margin: 0 0 20px; font-size: 13px; }
.zerelle-diy-summary li { padding: 8px 0; border-bottom: 1px solid var(--zerelle-border-on-light); }
.zerelle-diy-summary li strong { font-weight: 600; margin-right: 4px; }
.zerelle-diy-steps__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: inherit;
  text-align: left;
}
.zerelle-diy-steps__button:not(:disabled) { cursor: pointer; }
.zerelle-diy-summary .zerelle-price,
.zerelle-diy-charm .zerelle-price,
.zerelle-diy-total .zerelle-price { display: inline-flex; }
.zerelle-diy-total {
  font-size: 11px; letter-spacing: 0.12em; margin-bottom: 20px;
}
.zerelle-diy-total strong { font-size: 18px; letter-spacing: 0.04em; display: block; margin-top: 4px; }
.zerelle-diy-add { width: 100%; justify-content: center; margin-bottom: 10px; }
.zerelle-diy-share {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: 11px; letter-spacing: 0.12em; width: 100%; justify-content: center;
  background: none; border: none; cursor: pointer; color: inherit;
}
.zerelle-diy-sidebar [data-diy-save].is-saving,
.zerelle-diy-sidebar [data-diy-save].is-saved {
  opacity: 0.85;
  pointer-events: none;
}
.zerelle-diy-save-status {
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--zerelle-gray);
  text-align: center;
}
.zerelle-diy-save-status.is-error {
  color: var(--zerelle-burgundy);
}
.zerelle-diy-trust {
  padding: 48px 0 64px;
  background: var(--zerelle-white);
  border-top: 1px solid var(--zerelle-border-on-light);
}
.zerelle-diy-trust__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center;
}
.zerelle-diy-trust__item h3 {
  font-family: var(--zerelle-font-body);
  font-size: 11px; letter-spacing: 0.18em; margin: 0 0 8px;
}
.zerelle-diy-trust__item p {
  font-size: 13px; color: var(--zerelle-gray); margin: 0; line-height: 1.5;
}

/* Customize page logo — Copperplate; NL/footer titles keep sitewide Bodoni */
body:has(.zerelle-page--customize) .zerelle-logo__text {
  font-family: var(--zerelle-font-display);
}

/* WooCommerce shop catalog */
.zerelle-shop {
  padding: 0 0 0;
}
.zerelle-shop-hero {
  position: relative;
  width: 100%;
  margin-top: var(--zerelle-header-h);
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
  overflow: hidden;
  line-height: 0;
}
@media (min-width: 1025px) {
  .zerelle-shop-hero:not(.zerelle-shop-hero--text-only):not(.zerelle-shop-hero--fallback) {
    height: var(--zerelle-page-banner-h);
    aspect-ratio: var(--zerelle-page-banner-ratio);
  }
}
.zerelle-shop-hero--text-only {
  background: transparent;
  height: auto;
  aspect-ratio: auto;
  line-height: normal;
}
.zerelle-shop-hero--fallback {
  height: auto;
  aspect-ratio: auto;
  line-height: normal;
  min-height: clamp(140px, 22vh, 220px);
  max-height: none;
  display: flex;
  align-items: flex-end;
  background: var(--zerelle-primary);
  border-bottom: 1px solid var(--zerelle-border-on-light);
}
@media (min-width: 1025px) {
  .zerelle-shop-hero__media {
    display: block;
    width: 100%;
    height: var(--zerelle-page-banner-h);
    aspect-ratio: var(--zerelle-page-banner-ratio);
    object-fit: cover;
    object-position: center;
  }
  .zerelle-shop-hero img.zerelle-shop-hero__media,
  .zerelle-shop-hero video.zerelle-shop-hero__media {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
.zerelle-shop-hero__media[hidden] {
  display: none;
}
.zerelle-shop-hero__overlay {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  bottom: clamp(16px, 3vw, 40px);
  max-width: min(420px, 70%);
  text-align: right;
  pointer-events: none;
  animation: zerelle-shop-overlay-in 0.55s var(--zerelle-ease) both;
}
.zerelle-shop-hero__overlay[hidden] {
  display: none;
}
.zerelle-shop-hero__overlay-text {
  margin: 0;
  font-family: var(--zerelle-font-heading);
  font-size: clamp(1.1rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--zerelle-white);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
.zerelle-shop-hero__fallback {
  width: 100%;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
}
.zerelle-shop-hero__fallback[hidden] {
  display: none;
}
.zerelle-shop-hero__title {
  margin: 0;
  font-family: var(--zerelle-font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--zerelle-burgundy);
}
@keyframes zerelle-shop-overlay-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.zerelle-shop__top {
  padding: 16px 0 4px;
}
.zerelle-shop > .zerelle-shop__top:first-child {
  padding-top: calc(var(--zerelle-header-h) + 20px);
}
.zerelle-shop__crumbs {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-shop__crumbs .woocommerce-breadcrumb {
  margin: 0;
  padding: 0;
  font-size: inherit;
  color: inherit;
}
.zerelle-shop__crumbs .woocommerce-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.zerelle-shop__crumbs .woocommerce-breadcrumb a:hover {
  color: var(--zerelle-burgundy);
}
.zerelle-shop__title {
  font-family: var(--zerelle-font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}
.zerelle-shop__layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 20px 0 72px;
}
.zerelle-shop__layout:not(:has(.zerelle-shop-filters)) {
  grid-template-columns: 1fr;
}
.zerelle-shop-filters__toggle {
  display: none;
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--zerelle-border-on-light);
  font-family: var(--zerelle-font-heading);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zerelle-burgundy);
  cursor: pointer;
  text-align: left;
}
.zerelle-shop-filters__heading {
  display: block;
  margin: 0 0 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--zerelle-burgundy);
  font-family: var(--zerelle-font-heading);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--zerelle-burgundy);
}
.zerelle-shop-filters__group {
  border: 0;
  margin: 0 0 32px;
  padding: 0;
}
.zerelle-shop-filters__group legend {
  padding: 0;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--zerelle-burgundy);
}
.zerelle-shop-filters__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zerelle-shop-filters__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--zerelle-burgundy);
  cursor: pointer;
}
.zerelle-shop-filters__label input {
  margin-top: 3px;
  accent-color: var(--zerelle-burgundy);
}
.zerelle-shop-filters__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.zerelle-shop-filters__apply {
  display: none;
  width: 100%;
  padding: 12px 16px;
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  border: 1px solid var(--zerelle-burgundy);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.zerelle-shop-filters__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--zerelle-burgundy);
  color: var(--zerelle-burgundy);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s var(--zerelle-ease), color .2s var(--zerelle-ease);
}
.zerelle-shop-filters__reset:hover {
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
}
.zerelle-shop__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.zerelle-shop__main .woocommerce-result-count {
  display: none;
}
.zerelle-shop__main .woocommerce-ordering {
  align-self: flex-end;
  margin: 0 0 28px;
  float: none;
  font-size: 12px;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-shop__main .woocommerce-ordering select {
  border: 1px solid var(--zerelle-border-on-light);
  background: transparent;
  color: var(--zerelle-burgundy);
  padding: 8px 28px 8px 12px;
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.zerelle-shop__main .zerelle-shop-grid {
  clear: none;
}
.zerelle-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 24px;
}
.zerelle-shop-grid .zerelle-product-card__media {
  background: var(--zerelle-white);
  transition: transform 0.35s var(--zerelle-ease);
}
.zerelle-shop-grid .zerelle-product-card__img {
  transition: transform 0.45s var(--zerelle-ease);
}
.zerelle-shop-grid .zerelle-product-card:hover .zerelle-product-card__img {
  transform: scale(1.04);
}
.zerelle-shop-grid .zerelle-product-card__info {
  padding: 22px 20px;
  gap: 16px;
  align-items: flex-start;
}
.zerelle-shop-grid .zerelle-product-card__title {
  font-size: clamp(16px, 1.35vw, 18px);
  letter-spacing: 0.08em;
}
.zerelle-shop-grid .zerelle-product-card__price {
  font-size: 16px;
}
.zerelle-shop-grid .zerelle-circle-btn {
  margin-top: 2px;
}
.zerelle-shop-story {
  padding: 48px 0 72px;
  border-top: 1px solid var(--zerelle-border-on-light);
}
.zerelle-shop--empty .zerelle-shop-story {
  border-top: 0;
  padding-top: 32px;
}
.zerelle-shop__clear-filters {
  padding: 24px 0 8px;
}
.zerelle-shop__clear-filters-link {
  display: inline-block;
  font-family: var(--zerelle-font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--zerelle-burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.zerelle-shop-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.zerelle-shop-story__inner:not(:has(.zerelle-shop-story__media:not([hidden]))) {
  grid-template-columns: 1fr;
  max-width: 640px;
}
.zerelle-shop-story__heading {
  margin: 0 0 16px;
  font-family: var(--zerelle-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--zerelle-burgundy);
}
.zerelle-shop-story__body {
  margin: 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-shop-story__cta {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 20px;
  border: 0;
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  font-family: var(--zerelle-font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: filter 160ms var(--zerelle-ease), box-shadow 160ms var(--zerelle-ease);
}
.zerelle-shop-story__cta:hover {
  filter: brightness(1.06);
}
.zerelle-shop-story__cta:focus-visible {
  outline: 2px solid rgba(var(--zerelle-burgundy-rgb), 0.35);
  outline-offset: 3px;
}
.zerelle-shop-story__cta[hidden] {
  display: none;
}
.zerelle-shop-story__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}
.zerelle-shop-story__media[hidden] {
  display: none;
}
.zerelle-shop-story__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.zerelle-search-form input[type="search"] {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--zerelle-border-on-light);
  background: #ffffff;
  color: #2a0a16;
  font: inherit;
}
.zerelle-search-form input[type="search"]::placeholder {
  color: rgba(70, 15, 38, 0.48);
  opacity: 1;
}
.zerelle-single-product {
  padding: calc(var(--zerelle-header-h) + 28px) 0 80px;
  color: var(--zerelle-burgundy);
}
.zerelle-single-product__crumbs {
  margin: 0 0 28px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-single-product__crumbs .woocommerce-breadcrumb {
  margin: 0;
  padding: 0;
  font-size: inherit;
  color: inherit;
}
.zerelle-single-product__crumbs .woocommerce-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.zerelle-single-product__crumbs .woocommerce-breadcrumb a:hover {
  color: var(--zerelle-burgundy);
}
.zerelle-single-product .zerelle-pdp.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
  margin: 0;
}
.zerelle-single-product .zerelle-pdp.product::before,
.zerelle-single-product .zerelle-pdp.product::after {
  content: none;
  display: none;
}
.zerelle-single-product .woocommerce-product-gallery,
.zerelle-single-product .images,
.zerelle-single-product .zerelle-pdp__summary,
.zerelle-single-product .summary.entry-summary {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.zerelle-single-product .woocommerce-product-gallery {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  opacity: 1 !important;
  background: var(--zerelle-white);
}
.zerelle-single-product .woocommerce-product-gallery__wrapper {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.zerelle-single-product .woocommerce-product-gallery__image {
  margin: 0;
  background: var(--zerelle-white);
}
.zerelle-single-product .woocommerce-product-gallery__image img,
.zerelle-single-product .woocommerce-product-gallery__image--placeholder img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--zerelle-white);
}
.zerelle-single-product .flex-control-nav.flex-control-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  order: -1;
  width: 72px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zerelle-single-product .flex-control-nav.flex-control-thumbs li {
  margin: 0;
  float: none;
  width: 100%;
}
.zerelle-single-product .flex-control-nav.flex-control-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid transparent;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s var(--zerelle-ease), border-color 0.2s var(--zerelle-ease);
}
.zerelle-single-product .flex-control-nav.flex-control-thumbs img:hover,
.zerelle-single-product .flex-control-nav.flex-control-thumbs img.flex-active {
  opacity: 1;
  border-color: var(--zerelle-burgundy);
}
.zerelle-single-product .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.zerelle-single-product .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  margin: 0;
  padding: 6px 10px;
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  line-height: 1.2;
}
.zerelle-single-product .zerelle-pdp__summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
}
.zerelle-single-product .zerelle-pdp__title,
.zerelle-single-product .product_title {
  margin: 0 0 16px;
  font-family: var(--zerelle-font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--zerelle-burgundy);
}
.zerelle-single-product .woocommerce-product-rating {
  margin: 0 0 14px;
}
.zerelle-single-product .price {
  margin: 0 0 24px;
  font-family: var(--zerelle-font-body);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--zerelle-burgundy) !important;
}
.zerelle-single-product .price del {
  opacity: 0.55;
  margin-right: 8px;
}
.zerelle-single-product .price ins {
  text-decoration: none;
}
.zerelle-single-product .woocommerce-product-details__short-description {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-single-product .zerelle-pdp-description {
  margin: 0 0 28px;
  padding-top: 4px;
}
.zerelle-single-product .zerelle-pdp-description__heading {
  margin: 0 0 12px;
  font-family: var(--zerelle-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--zerelle-burgundy);
}
.zerelle-single-product .zerelle-pdp-description__body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-single-product .zerelle-pdp-description__body p {
  margin: 0 0 12px;
}
.zerelle-single-product .zerelle-pdp-description__body p:last-child {
  margin-bottom: 0;
}
.zerelle-single-product .zerelle-pdp-description__body ul {
  margin: 0 0 12px;
  padding-left: 1.1em;
}
.zerelle-single-product form.cart {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin: 0 0 24px;
}
.zerelle-single-product form.cart .variations {
  margin: 0 0 8px;
  width: 100%;
}
.zerelle-single-product form.cart .variations td,
.zerelle-single-product form.cart .variations th {
  padding: 6px 0;
  border: 0;
  vertical-align: middle;
}
.zerelle-single-product form.cart .variations label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.zerelle-single-product form.cart .variations select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--zerelle-border-on-light);
  background: transparent;
  color: var(--zerelle-burgundy);
  font-size: 13px;
}
.zerelle-single-product form.cart .woocommerce-variation-add-to-cart,
.zerelle-single-product form.cart.variations_form .single_variation_wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.zerelle-single-product .quantity {
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  max-width: 140px;
  border: 1px solid var(--zerelle-burgundy);
  margin: 0;
}
.zerelle-single-product .quantity .zerelle-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--zerelle-burgundy);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--zerelle-ease);
}
.zerelle-single-product .quantity .zerelle-qty-btn:hover {
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}
.zerelle-single-product .quantity .qty {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 10px 4px;
  border: 0;
  border-left: 1px solid var(--zerelle-burgundy);
  border-right: 1px solid var(--zerelle-burgundy);
  background: transparent;
  color: var(--zerelle-burgundy);
  text-align: center;
  font-size: 14px;
  -moz-appearance: textfield;
  appearance: textfield;
}
.zerelle-single-product .quantity .qty::-webkit-outer-spin-button,
.zerelle-single-product .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.zerelle-single-product form.cart .single_add_to_cart_button,
.zerelle-single-product form.cart button.button {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 24px !important;
  background: var(--zerelle-burgundy) !important;
  color: var(--zerelle-primary) !important;
  border: 1px solid var(--zerelle-burgundy) !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--zerelle-ease), color 0.25s var(--zerelle-ease);
}
.zerelle-single-product form.cart .single_add_to_cart_button:hover,
.zerelle-single-product form.cart button.button:hover {
  background: transparent !important;
  color: var(--zerelle-burgundy) !important;
}
.zerelle-single-product .product_meta {
  margin: 0;
  padding-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-single-product .product_meta a {
  color: var(--zerelle-burgundy);
  text-decoration: none;
}
.zerelle-single-product .product_meta a:hover {
  text-decoration: underline;
}
.zerelle-single-product .product_meta .sku_wrapper:empty,
.zerelle-single-product .product_meta .sku_wrapper:has(.sku:empty) {
  display: none;
}
.zerelle-single-product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin: 48px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--zerelle-border-on-light);
}
.zerelle-single-product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 24px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border: 0;
}
.zerelle-single-product .woocommerce-tabs ul.tabs::before,
.zerelle-single-product .woocommerce-tabs ul.tabs::after {
  display: none;
}
.zerelle-single-product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.zerelle-single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid transparent;
  font-family: var(--zerelle-font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--zerelle-text-muted-on-light);
  text-decoration: none;
}
.zerelle-single-product .woocommerce-tabs ul.tabs li.active a,
.zerelle-single-product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--zerelle-burgundy);
  border-bottom-color: var(--zerelle-burgundy);
}
.zerelle-single-product .woocommerce-Tabs-panel {
  margin: 0;
  padding: 0;
  border: 0;
}
.zerelle-single-product .woocommerce-Tabs-panel h2 {
  font-family: var(--zerelle-font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--zerelle-burgundy);
}
.zerelle-single-product .woocommerce-noreviews,
.zerelle-single-product .woocommerce-Reviews-title,
.zerelle-single-product #review_form_wrapper,
.zerelle-single-product .comment-reply-title {
  color: var(--zerelle-burgundy);
}
.zerelle-single-product .comment-form input[type="text"],
.zerelle-single-product .comment-form input[type="email"],
.zerelle-single-product .comment-form textarea {
  border: 1px solid var(--zerelle-border-on-light);
  background: var(--zerelle-white);
  color: var(--zerelle-burgundy);
  padding: 10px 12px;
}
.zerelle-single-product .star-rating,
.zerelle-single-product p.stars a {
  color: var(--zerelle-burgundy);
}
.zerelle-single-product .zerelle-related {
  grid-column: 1 / -1;
  margin: 64px 0 0;
  padding-top: 48px;
  border-top: 1px solid var(--zerelle-border-on-light);
}
.zerelle-single-product .zerelle-related__heading {
  margin: 0 0 36px;
  text-align: center;
  font-family: var(--zerelle-font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--zerelle-burgundy);
}
.zerelle-single-product .zerelle-related .zerelle-shop-grid {
  grid-template-columns: repeat(4, 1fr);
}
.zerelle-wc .price { font-size: 1.1rem; letter-spacing: 0.06em; }
.zerelle-wc .button, .zerelle-wc button[type="submit"] {
  background: var(--zerelle-burgundy) !important; color: var(--zerelle-primary) !important;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px !important;
  padding: 14px 28px !important; border-radius: 0 !important;
  transition: background .25s var(--zerelle-ease), color .25s var(--zerelle-ease);
}
.zerelle-wc .button:hover, .zerelle-wc button[type="submit"]:hover {
  background: var(--zerelle-white) !important; color: var(--zerelle-burgundy) !important;
}
.zerelle-diy-cart-item { border-left: 3px solid var(--zerelle-burgundy); }

/* Light header on inner pages (explicit; matches default header) */
.zerelle-page--about .zerelle-header,
.zerelle-page--contact .zerelle-header,
.zerelle-page--customize .zerelle-header,
.zerelle-page--news .zerelle-header,
.zerelle-page--news-single .zerelle-header,
.zerelle-shop .zerelle-header,
.zerelle-wc .zerelle-header {
  background: rgba(var(--zerelle-primary-rgb), .95);
  color: var(--zerelle-burgundy);
}
.zerelle-page--about .zerelle-header__menu-toggle span,
.zerelle-page--contact .zerelle-header__menu-toggle span,
.zerelle-page--customize .zerelle-header__menu-toggle span,
.zerelle-page--news .zerelle-header__menu-toggle span,
.zerelle-page--news-single .zerelle-header__menu-toggle span,
.zerelle-shop .zerelle-header__menu-toggle span,
.zerelle-wc .zerelle-header__menu-toggle span {
  background: var(--zerelle-burgundy);
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --zerelle-gutter: 20px;
    /* Extra height so Bodoni ascenders aren’t clipped by the viewport edge */
    --zerelle-header-h: 78px;
  }

  /* Tablet header: hamburger + icon-only utils (was ≤768 only) */
  .zerelle-header__inner {
    grid-template-columns: 1fr auto;
    /* Prefer bottom-weighted padding so logo glyphs clear the top edge */
    padding-block: 10px 6px;
    align-items: center;
  }
  .zerelle-nav {
    position: fixed;
    top: var(--zerelle-header-h);
    right: 0;
    left: 0;
    bottom: auto;
    z-index: 99;
    background: var(--zerelle-primary); color: var(--zerelle-burgundy); padding: 24px var(--zerelle-gutter);
    /*
     * Must clear both the panel height AND the header offset.
     * translateY(-120%) left ~header-h visible at the viewport top.
     */
    transform: translateY(calc(-100% - var(--zerelle-header-h) - 8px));
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s var(--zerelle-ease), visibility 0s linear .3s;
    /* Darker tint line — splits open menu from page content below */
    border-bottom: 1px solid rgba(var(--zerelle-burgundy-rgb), 0.28);
    box-shadow: 0 1px 0 rgba(var(--zerelle-burgundy-rgb), 0.06);
  }
  .admin-bar .zerelle-nav {
    top: calc(var(--zerelle-header-h) + var(--wp-admin--admin-bar--height, 32px));
    transform: translateY(calc(-100% - var(--zerelle-header-h) - var(--wp-admin--admin-bar--height, 32px) - 8px));
  }
  .zerelle-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .3s var(--zerelle-ease), visibility 0s linear 0s;
  }
  .admin-bar .zerelle-nav.is-open {
    transform: translateY(0);
  }
  .zerelle-nav__list { flex-direction: column; gap: 16px; }
  .zerelle-header__menu-toggle { display: flex; }
  .zerelle-header__util span:not(.zerelle-header__bag-count) { display: none; }
  .zerelle-header__utils {
    gap: 12px;
    flex-shrink: 0;
  }
  .zerelle-header__brand {
    padding-inline-start: 2px;
    padding-top: 2px;
  }
  .zerelle-logo__text {
    font-size: clamp(1.2rem, 5vw, 1.45rem);
    /* Extra top optical room for compressed Bodoni ascenders on small screens */
    padding: 0.16em 0.06em 0.08em 0.08em;
  }
  .zerelle-logo__img {
    max-width: min(168px, 40vw);
  }
  .zerelle-account-dropdown__row {
    gap: 8px 12px;
  }

  .zerelle-contact-page__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
  .zerelle-contact-page__breadcrumb { margin-bottom: 40px; }

  /* Vision: stack looks full-width on tablet (was cramped left|right 2-col) */
  .zerelle-vision__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "left"
      "right";
  }
  .zerelle-vision__grid--has-video {
    grid-template-areas:
      "heading"
      "left"
      "text"
      "right";
  }

  .zerelle-highlights__grid,
  .zerelle-bestsellers__grid,
  .zerelle-shop-grid { grid-template-columns: repeat(2, 1fr); }
  .zerelle-shop__layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 28px;
  }
  .zerelle-shop-story__inner { gap: 32px; }
  .zerelle-single-product .zerelle-pdp.product {
    gap: 36px;
  }
  .zerelle-single-product .zerelle-related .zerelle-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zerelle-diy-frames-wrap,
  .zerelle-diy-lenses-wrap { flex-wrap: nowrap; }
  .zerelle-diy-workspace__grid { grid-template-columns: minmax(0, 1fr); }
  .zerelle-diy-preview__thumbnails {
    position: static;
    margin-top: -12px;
  }
  .zerelle-diy-preview__dots { flex-direction: row; }
  .zerelle-diy-trust__grid { grid-template-columns: 1fr; gap: 24px; }
  .zerelle-diy-panel__head { margin-bottom: 16px; }
  .zerelle-diy-charm-placement__side {
    min-width: 0;
    flex: 1 1 calc(50% - 4px);
    padding: 10px 14px;
    font-size: 11px;
  }
  .zerelle-diy-charm-placement__slot {
    font-size: 10px;
    gap: 8px;
  }
  .zerelle-diy-selected-charms {
    margin-top: 16px;
    padding: 10px 14px;
    letter-spacing: 0.08em;
    min-height: 40px;
  }
  .zerelle-diy-charm {
    flex: 0 0 calc((100% - 36px) / 3.25);
    padding: 12px 8px;
  }
  .zerelle-diy-charm__img-wrap {
    width: 72px;
    height: 72px;
    margin-bottom: 8px;
  }
  .zerelle-diy-charm-section .zerelle-diy-charms {
    gap: 10px;
    padding: 12px 8px;
  }
  .zerelle-diy-charm-section__toggle {
    padding: 12px 40px 12px 14px;
  }
  .zerelle-footer__strip-item { width: 56px; height: 56px; }
}
@media (max-width: 768px) {
  :root {
    --zerelle-gutter: 16px;
  }
  .zerelle-footer-hero__bottom {
    grid-template-columns: 1fr;
    row-gap: 12px;
    justify-items: center;
  }
  .zerelle-footer-hero__copyright {
    grid-column: 1;
    justify-self: center;
    white-space: normal;
  }
  .zerelle-footer__social {
    grid-column: 1;
    justify-self: center;
  }
  .zerelle-search-drawer__panel {
    padding: 24px var(--zerelle-gutter);
  }
  .zerelle-page-hero__grid,
  .zerelle-customize-hero__grid,
  .zerelle-about-factory__inner { grid-template-columns: 1fr; }
  .zerelle-contact-page__info { margin-bottom: 56px; }
  .zerelle-contact-page__form-section { max-width: 100%; }
  .zerelle-bestsellers__grid,
  .zerelle-highlights__grid,
  .zerelle-shop-grid { grid-template-columns: 1fr; }
  .zerelle-shop__layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 8px;
  }
  .zerelle-shop-filters__toggle { display: block; }
  .zerelle-shop-filters__heading { display: none; }
  .zerelle-shop-filters__panel {
    display: none;
    padding: 16px 0 8px;
  }
  .zerelle-shop-filters.is-open .zerelle-shop-filters__panel {
    display: block;
  }
  .zerelle-shop-filters__apply { display: block; }
  .zerelle-shop-story__inner { grid-template-columns: 1fr; }
  .zerelle-shop__main .woocommerce-ordering {
    align-self: stretch;
    width: 100%;
  }
  .zerelle-shop__main .woocommerce-ordering select {
    width: 100%;
  }
  .zerelle-single-product .zerelle-pdp.product {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .zerelle-single-product .woocommerce-product-gallery {
    flex-direction: column;
  }
  .zerelle-single-product .flex-control-nav.flex-control-thumbs {
    order: 0;
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
  }
  .zerelle-single-product .flex-control-nav.flex-control-thumbs li {
    width: 64px;
    flex-shrink: 0;
  }
  .zerelle-single-product .quantity {
    max-width: none;
  }
  .zerelle-diy-workspace { padding: 20px 0 56px; }
  .zerelle-diy-charm {
    flex: 0 0 calc((100% - 24px) / 2.5);
    padding: 10px 6px;
  }
  .zerelle-diy-charm__img-wrap {
    width: 64px;
    height: 64px;
    margin-bottom: 6px;
  }
  .zerelle-diy-charm span { font-size: 9px; letter-spacing: 0.06em; }
  .zerelle-diy-charm small { font-size: 11px; }
  .zerelle-diy-charm-placement__clear {
    padding: 5px 10px;
    font-size: 9px;
  }
  .zerelle-diy-selected-charms {
    padding: 10px 12px;
    letter-spacing: 0.06em;
    font-size: 10px;
  }
  .zerelle-single-product .zerelle-related .zerelle-shop-grid {
    grid-template-columns: 1fr;
  }
  .zerelle-hero__content { flex-direction: column; align-items: flex-start; }
  .zerelle-hero__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .zerelle-hero__wave { display: none; }
  .zerelle-hero__scroll-ring { animation: none; }
  .zerelle-diy-frame,
  .zerelle-diy-charm { transition: none; }
  .zerelle-diy-frame:hover,
  .zerelle-diy-frame:focus-visible,
  .zerelle-diy-charm:hover,
  .zerelle-diy-charm:focus-visible { transform: none; }
  .zerelle-diy-frame__zoom { display: none !important; }
  .zerelle-shop-hero__overlay { animation: none; }
  .zerelle-shop-grid .zerelle-product-card__media,
  .zerelle-shop-grid .zerelle-product-card__img { transition: none; }
  .zerelle-shop-grid .zerelle-product-card:hover .zerelle-product-card__img { transform: none; }
  .zerelle-single-product .flex-control-nav.flex-control-thumbs img,
  .zerelle-single-product form.cart .single_add_to_cart_button,
  .zerelle-single-product .quantity .zerelle-qty-btn { transition: none; }
}
@media (max-width: 768px) {
  .zerelle-contact-page__form-layout {
    grid-template-columns: 1fr;
  }
  .zerelle-contact-page__form-media {
    order: -1;
    max-width: 420px;
  }
  .zerelle-diy-frame__zoom {
    display: none;
  }
}

/* —— News & Press —— */
.zerelle-page--news {
  padding: 0 0 48px;
  background: var(--zerelle-primary);
  color: var(--zerelle-burgundy);
}
.zerelle-news-hero {
  margin-top: var(--zerelle-header-h);
  position: relative;
  width: 100%;
  overflow: hidden;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
  line-height: 0;
}
.zerelle-news-hero__media {
  display: block;
  width: 100%;
  max-width: 100%;
  background: var(--zerelle-burgundy);
}
@media (min-width: 1025px) {
  .zerelle-news-hero__media {
    height: var(--zerelle-page-banner-h);
    aspect-ratio: var(--zerelle-page-banner-ratio);
    object-fit: cover;
    object-position: center;
  }
}
.zerelle-news-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 4vw, 48px) 0;
  background: linear-gradient(180deg, rgba(var(--zerelle-burgundy-rgb), 0.08) 0%, rgba(var(--zerelle-burgundy-rgb), 0.55) 100%);
}
.zerelle-news-hero__copy {
  width: min(100% - (2 * var(--zerelle-gutter)), var(--zerelle-container));
  margin-inline: auto;
  color: var(--zerelle-primary);
}
.zerelle-news-hero__title {
  font-family: var(--zerelle-font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.zerelle-news-hero__subheading {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
}
.zerelle-news {
  padding-top: calc(var(--zerelle-header-h) + 40px);
}
.zerelle-page--news:has(.zerelle-news-hero) .zerelle-news {
  padding-top: 40px;
}
.zerelle-news__header { margin-bottom: 32px; }
.zerelle-news__title {
  font-family: var(--zerelle-font-heading);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: 0.08em;
  margin: 0;
}
.zerelle-news__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(220px, 0.65fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.zerelle-news__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.zerelle-news-card {
  margin: 0;
  border: 1px solid rgba(var(--zerelle-burgundy-rgb), 0.14);
  background: rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
}
.zerelle-news-card__media {
  display: block;
  margin: 0;
  overflow: hidden;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}
.zerelle-news-card__img,
.zerelle-news-card__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.zerelle-news-card__placeholder { min-height: 140px; }
.zerelle-news-card__body {
  padding: 18px 18px 20px;
  flex: 1;
}
.zerelle-news-card__source {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-news-card__title {
  font-family: var(--zerelle-font-heading);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  line-height: 1.35;
}
.zerelle-news-card__title a:hover { opacity: 0.75; }
.zerelle-news-card__date {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--zerelle-gray);
}
.zerelle-news-card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-news__sidebar-inner {
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
  border: 1px solid rgba(var(--zerelle-burgundy-rgb), 0.1);
  padding: 24px 20px;
}
.zerelle-news__sidebar-title {
  font-family: var(--zerelle-font-heading);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  letter-spacing: 0.06em;
  margin: 0 0 18px;
}
.zerelle-news__latest {
  list-style: none;
  margin: 0;
  padding: 0;
}
.zerelle-news__latest-item {
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--zerelle-border-on-light);
}
.zerelle-news__latest-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.zerelle-news__latest-title {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 4px;
}
.zerelle-news__latest-date {
  display: block;
  font-size: 12px;
  color: var(--zerelle-gray);
}
.zerelle-news__pagination {
  margin-top: 36px;
}
.zerelle-news__pagination .nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.zerelle-news__empty { opacity: 0.7; }
/* Empty archive: modest air before newsletter so it stays in view */
.zerelle-page--news:has(.zerelle-news__empty) {
  padding-bottom: 120px;
}
/* No articles and no mid portrait: extra space above the global newsletter */
.zerelle-page--news:has(.zerelle-news__empty):not(:has(.zerelle-news-mid-banner)) {
  padding-bottom: 200px;
}
.zerelle-news-mid-banner {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 48px;
  margin-bottom: 48px;
  overflow: hidden;
  background: transparent;
  line-height: 0;
}
.zerelle-news-mid-banner__media {
  display: block;
  width: 100%;
  max-width: min(520px, 62vw);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: var(--zerelle-news-mid-banner-pos, center center);
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}

.zerelle-page--news-single {
  padding: calc(var(--zerelle-header-h) + 32px) 0 48px;
  background: var(--zerelle-primary);
  color: var(--zerelle-burgundy);
}
.zerelle-news-single {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.zerelle-news-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(220px, 0.65fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.zerelle-news-single__media {
  margin: 0 0 28px;
}
.zerelle-news-single__img {
  width: 100%;
  height: auto;
  display: block;
}
.zerelle-news-single__title {
  font-family: var(--zerelle-font-heading);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  line-height: 1.25;
}
.zerelle-news-single__date {
  font-size: 13px;
  color: var(--zerelle-gray);
  margin: 0 0 8px;
}
.zerelle-news-single__source {
  font-family: var(--zerelle-font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--zerelle-burgundy);
}
.zerelle-news-single__content {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 36px;
  color: var(--zerelle-burgundy);
}
.zerelle-news-single__content > * + * {
  margin-top: 1.25em;
}
.zerelle-news-single__content .wp-block-image,
.zerelle-news-single__content figure {
  margin: 2rem 0;
}
.zerelle-news-single__content .wp-block-image img,
.zerelle-news-single__content figure img,
.zerelle-news-single__content .wp-block-gallery img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
.zerelle-news-single__content .wp-block-image figcaption,
.zerelle-news-single__content figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-news-single__content .wp-block-columns {
  gap: 1.5rem;
  margin: 2rem 0;
}
.zerelle-news-single__content .wp-block-quote {
  margin: 2rem 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid rgba(var(--zerelle-burgundy-rgb), 0.35);
  font-style: italic;
}
.zerelle-news-single__content h2,
.zerelle-news-single__content h3 {
  font-family: var(--zerelle-font-heading);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 2rem 0 0.75rem;
}

/* Article Content sections (simple builder) */
.zerelle-news-sections-front {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}
.zerelle-news-block {
  margin: 0;
}
.zerelle-news-block__media {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: flex-start;
  margin: 0 0 1.25rem;
}
.zerelle-news-block--left .zerelle-news-block__media { justify-content: flex-start; }
.zerelle-news-block--right .zerelle-news-block__media { justify-content: flex-end; }
.zerelle-news-block__media--count-1 .zerelle-news-block__figure {
  width: 100%;
  max-width: 720px;
}
.zerelle-news-block__media--count-2 .zerelle-news-block__figure,
.zerelle-news-block__media--count-3 .zerelle-news-block__figure,
.zerelle-news-block__media--count-4 .zerelle-news-block__figure {
  flex: 1 1 160px;
  max-width: 280px;
}
.zerelle-news-block.is-full-width .zerelle-news-block__media--count-1 .zerelle-news-block__figure {
  max-width: 100%;
}
.zerelle-news-block__figure {
  margin: 0;
}
.zerelle-news-block__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.zerelle-news-block__caption {
  margin: -0.5rem 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-news-block__heading {
  font-family: var(--zerelle-font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  color: var(--zerelle-burgundy);
}
.zerelle-news-block__subheading {
  margin: 0 0 1rem;
  font-family: var(--zerelle-font-heading);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-news-block__content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--zerelle-burgundy);
}
.zerelle-news-block__content p {
  margin: 0 0 1.1em;
}
.zerelle-news-block__content p:last-child {
  margin-bottom: 0;
}
.zerelle-news-block__content ul,
.zerelle-news-block__content ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}
.zerelle-news-block__content blockquote {
  margin: 1.5em 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid rgba(var(--zerelle-burgundy-rgb), 0.35);
  font-style: italic;
}
.zerelle-news-single--style-image_focused .zerelle-news-block__heading,
.zerelle-news-single--style-image_focused .zerelle-news-block__subheading,
.zerelle-news-single--style-image_focused .zerelle-news-block__content {
  text-align: center;
}
.zerelle-news-single--style-image_focused .zerelle-news-block__content {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.zerelle-news-single--wide .zerelle-news-single {
  max-width: 1200px;
}
.zerelle-news-single--narrow .zerelle-news-single {
  max-width: 760px;
}
.zerelle-news-single__layout--full {
  grid-template-columns: 1fr;
}
.zerelle-news-single__nav {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--zerelle-border-on-light);
  font-size: 14px;
}
.zerelle-news-single__nav .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.zerelle-news-pdf {
  margin: 40px 0 8px;
}
.zerelle-news-pdf__viewer {
  position: relative;
  background: #2a2a2a;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.zerelle-news-pdf__frame {
  display: block;
  width: 100%;
  height: min(72vh, 820px);
  border: 0;
  background: #1a1a1a;
}
.zerelle-news-pdf__fallback {
  margin: 10px 0 0;
  padding: 0;
  color: var(--zerelle-text-muted-on-light);
  font-size: 13px;
  background: transparent;
}
.zerelle-news-pdf__fallback-link {
  color: var(--zerelle-burgundy);
  text-decoration: underline;
  margin-left: 0.35em;
}
.zerelle-news-pdf__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.zerelle-news-pdf__label {
  margin: 0;
  font-family: var(--zerelle-font-heading);
  font-size: 14px;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-news-pdf__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: #1a0a10;
  color: #efe4dc;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
}
.zerelle-news-pdf__download:hover {
  opacity: 0.9;
  color: #efe4dc;
}
@media (max-width: 1024px) {
  .zerelle-news__layout,
  .zerelle-news-single__layout {
    grid-template-columns: 1fr;
  }
  .zerelle-news__sidebar,
  .zerelle-news-single .zerelle-news__sidebar {
    order: 2;
  }
}
@media (max-width: 768px) {
  .zerelle-news__grid { grid-template-columns: 1fr; gap: 24px; }
  .zerelle-news-pdf__frame { height: 52vh; min-height: 280px; }
}

/* News & Press — mobile polish (heading spacing, cards, sidebar) */
@media (max-width: 767px) {
  .zerelle-page--news:has(.zerelle-news-hero) .zerelle-news {
    padding-top: clamp(12px, 3vw, 20px);
  }

  .zerelle-page--news:has(.zerelle-news-hero) .zerelle-news-hero__title {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    letter-spacing: 0.06em;
  }

  .zerelle-page--news:has(.zerelle-news-hero) .zerelle-news-hero__subheading {
    margin-top: 10px;
    line-height: 1.5;
  }

  .zerelle-news__layout {
    gap: clamp(36px, 9vw, 52px);
  }

  .zerelle-news__grid {
    gap: clamp(28px, 6vw, 36px);
  }

  .zerelle-news-card {
    border-color: rgba(var(--zerelle-burgundy-rgb), 0.16);
    background: rgba(255, 255, 255, 0.5);
  }

  .zerelle-news-card__media {
    line-height: 0;
  }

  .zerelle-news-card__img,
  .zerelle-news-card__placeholder {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
  }

  .zerelle-news-card__body {
    padding: clamp(18px, 4.5vw, 22px) clamp(18px, 4.5vw, 22px) clamp(20px, 5vw, 24px);
  }

  .zerelle-news-card__source {
    margin: 0 0 10px;
    font-size: 10px;
    letter-spacing: 0.14em;
    line-height: 1.4;
  }

  .zerelle-news-card__title {
    font-size: clamp(1.05rem, 4.6vw, 1.2rem);
    line-height: 1.35;
    margin: 0 0 10px;
    overflow-wrap: anywhere;
  }

  .zerelle-news-card__date {
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }

  .zerelle-news-card__excerpt {
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .zerelle-news__sidebar-inner {
    padding: clamp(20px, 5vw, 24px) clamp(18px, 4.5vw, 22px);
    border-color: rgba(var(--zerelle-burgundy-rgb), 0.14);
    background: rgba(255, 255, 255, 0.45);
  }

  .zerelle-news__sidebar-title {
    margin: 0 0 20px;
    font-size: clamp(1.15rem, 4.8vw, 1.3rem);
    letter-spacing: 0.05em;
    line-height: 1.25;
  }

  .zerelle-news__latest-item {
    margin: 0 0 18px;
    padding: 0 0 18px;
  }

  .zerelle-news__latest-title {
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .zerelle-news__latest-date {
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 0.04em;
    line-height: 1.4;
  }
}

/* —— Global newsletter (above footer) —— */
.zerelle-nl-global {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(var(--zerelle-burgundy-rgb), 0.12);
}
.page-newsletter .zerelle-nl-global {
  display: flex;
  flex-direction: column;
}
.page-newsletter .zerelle-nl-global .zerelle-nl-signup {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: calc(100dvh - var(--zerelle-header-h));
}
.admin-bar.page-newsletter .zerelle-nl-global .zerelle-nl-signup {
  min-height: calc(100dvh - var(--zerelle-header-h) - var(--wp-admin--admin-bar--height, 32px));
}
.zerelle-nl-global .zerelle-nl-signup {
  margin: 0;
}
.zerelle-nl-signup {
  background: var(--zerelle-nl-bg, #e8dcd0);
  color: var(--zerelle-burgundy);
  padding: var(--zerelle-nl-pad-top, 64px) 0 var(--zerelle-nl-pad-bottom, 64px);
  border-bottom: 1px solid rgba(var(--zerelle-burgundy-rgb), 0.1);
}
.zerelle-nl-signup__inner {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.zerelle-nl-signup__logo {
  display: flex;
  align-items: center;
}
.zerelle-nl-signup__logo--left { justify-content: flex-start; }
.zerelle-nl-signup__logo--center { justify-content: center; }
.zerelle-nl-signup__logo--right { justify-content: flex-end; }
.zerelle-nl-signup__logo img {
  width: var(--zerelle-nl-logo-w, 148px);
  max-width: min(var(--zerelle-nl-logo-w, 148px), 100%);
  height: auto;
  max-height: var(--zerelle-nl-logo-h, 160px);
  object-fit: var(--zerelle-nl-logo-fit, contain);
  display: block;
}
.zerelle-nl-signup__heading {
  font-family: var(--zerelle-font-heading);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  color: var(--zerelle-nl-heading, var(--zerelle-burgundy));
  text-transform: uppercase;
}
.zerelle-nl-signup__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--zerelle-nl-desc, var(--zerelle-text-muted-on-light));
  max-width: 420px;
}
.zerelle-nl-signup__form .tnp-field,
.zerelle-nl-signup__form .tnp-field-email,
.zerelle-nl-popup__form .tnp-field {
  margin: 0 0 10px;
}
.zerelle-nl-signup__form label,
.zerelle-nl-popup__form label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--zerelle-nl-label, var(--zerelle-text-muted-on-light));
}
.zerelle-nl-signup__form input[type="email"],
.zerelle-nl-signup__form input[type="text"],
.zerelle-nl-popup__form input[type="email"],
.zerelle-nl-popup__form input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--zerelle-nl-border, rgba(70, 15, 38, 0.28));
  background: var(--zerelle-nl-input-bg, #ffffff);
  color: var(--zerelle-nl-input-text, #2a0a16);
  font: inherit;
  box-sizing: border-box;
  caret-color: #2a0a16;
}
.zerelle-nl-signup__form input::placeholder,
.zerelle-nl-popup__form input::placeholder {
  color: rgba(70, 15, 38, 0.48);
  opacity: 1;
}
.zerelle-nl-signup__form input::-webkit-input-placeholder,
.zerelle-nl-popup__form input::-webkit-input-placeholder {
  color: rgba(70, 15, 38, 0.48);
  opacity: 1;
}
.zerelle-nl-signup__form input::-moz-placeholder,
.zerelle-nl-popup__form input::-moz-placeholder {
  color: rgba(70, 15, 38, 0.48);
  opacity: 1;
}
.zerelle-nl-signup__form input:focus,
.zerelle-nl-popup__form input:focus {
  outline: none;
  border-color: var(--zerelle-burgundy);
  box-shadow: 0 0 0 1px var(--zerelle-burgundy);
}
.zerelle-nl-signup__form input:disabled,
.zerelle-nl-popup__form input:disabled {
  opacity: 0.65;
  color: rgba(42, 10, 22, 0.55);
  background: #f5ebe3;
}
.zerelle-nl-signup__form input[type="submit"],
.zerelle-nl-signup__form button[type="submit"],
.zerelle-nl-popup__form input[type="submit"],
.zerelle-nl-popup__form button[type="submit"] {
  width: 100%;
  margin-top: 4px;
  padding: 14px 20px;
  border: 0;
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  font-family: var(--zerelle-font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: filter 160ms var(--zerelle-ease), box-shadow 160ms var(--zerelle-ease);
}
.zerelle-nl-signup__form .tnp-subscription input.tnp-submit,
.zerelle-nl-signup__form .tnp-profile input.tnp-submit,
.zerelle-nl-popup__form .tnp-subscription input.tnp-submit,
.zerelle-nl-popup__form .tnp-profile input.tnp-submit {
  width: 100%;
  margin-top: 4px;
  padding: 14px 20px;
  border: 0;
  background-color: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  font-family: var(--zerelle-font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  display: block;
}
.zerelle-nl-signup__form input[type="submit"]:hover,
.zerelle-nl-signup__form button[type="submit"]:hover,
.zerelle-nl-popup__form input[type="submit"]:hover,
.zerelle-nl-popup__form button[type="submit"]:hover {
  filter: brightness(1.06);
}
.zerelle-nl-signup__form .tnp-subscription input.tnp-submit:hover,
.zerelle-nl-signup__form .tnp-profile input.tnp-submit:hover,
.zerelle-nl-popup__form .tnp-subscription input.tnp-submit:hover,
.zerelle-nl-popup__form .tnp-profile input.tnp-submit:hover {
  filter: brightness(1.06);
}
.zerelle-nl-signup__form input[type="submit"]:focus-visible,
.zerelle-nl-signup__form button[type="submit"]:focus-visible,
.zerelle-nl-popup__form input[type="submit"]:focus-visible,
.zerelle-nl-popup__form button[type="submit"]:focus-visible {
  outline: 2px solid rgba(var(--zerelle-burgundy-rgb), 0.3);
  outline-offset: 3px;
  box-shadow: 0 0 0 1px var(--zerelle-primary);
}
.zerelle-nl-signup__form .tnp-subscription input.tnp-submit:focus-visible,
.zerelle-nl-signup__form .tnp-profile input.tnp-submit:focus-visible,
.zerelle-nl-popup__form .tnp-subscription input.tnp-submit:focus-visible,
.zerelle-nl-popup__form .tnp-profile input.tnp-submit:focus-visible {
  outline: 2px solid rgba(var(--zerelle-burgundy-rgb), 0.3);
  outline-offset: 3px;
  box-shadow: 0 0 0 1px var(--zerelle-primary);
}
.zerelle-nl-signup__form input[type="submit"]:active,
.zerelle-nl-signup__form button[type="submit"]:active,
.zerelle-nl-popup__form input[type="submit"]:active,
.zerelle-nl-popup__form button[type="submit"]:active {
  filter: brightness(0.94);
}
.zerelle-nl-signup__form .tnp-subscription input.tnp-submit:active,
.zerelle-nl-signup__form .tnp-profile input.tnp-submit:active,
.zerelle-nl-popup__form .tnp-subscription input.tnp-submit:active,
.zerelle-nl-popup__form .tnp-profile input.tnp-submit:active {
  filter: brightness(0.94);
}
.zerelle-nl-signup__form input[type="submit"]:disabled,
.zerelle-nl-signup__form button[type="submit"]:disabled,
.zerelle-nl-popup__form input[type="submit"]:disabled,
.zerelle-nl-popup__form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
  filter: none;
}
.zerelle-nl-signup__form .tnp-subscription input.tnp-submit:disabled,
.zerelle-nl-signup__form .tnp-profile input.tnp-submit:disabled,
.zerelle-nl-popup__form .tnp-subscription input.tnp-submit:disabled,
.zerelle-nl-popup__form .tnp-profile input.tnp-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  filter: none;
}
.zerelle-nl-status {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  min-height: 1.2em;
}
.zerelle-nl-status--success {
  color: var(--zerelle-nl-success, var(--zerelle-burgundy));
}
.zerelle-nl-status--error {
  color: var(--zerelle-nl-error, #8a1c2e);
}
.zerelle-nl-admin-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px dashed var(--zerelle-border-on-light);
  font-size: 13px;
  color: var(--zerelle-text-muted-on-light);
}
@media (max-width: 900px) {
  .zerelle-nl-signup__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .zerelle-nl-signup__logo {
    justify-content: center;
  }
  .zerelle-nl-signup__logo img {
    width: min(var(--zerelle-nl-logo-w, 148px), 160px);
    max-width: 70vw;
    min-width: 96px;
  }
  .zerelle-nl-signup__desc { max-width: none; }
  .zerelle-nl-signup__form { width: 100%; max-width: 420px; }
}

/* —— Newsletter popup —— */
html.zerelle-nl-popup-open,
html.zerelle-nl-popup-open body {
  overflow: hidden;
}
.zerelle-nl-popup {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--zerelle-ease);
  overscroll-behavior: contain;
}
.zerelle-nl-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}
.zerelle-nl-popup__backdrop {
  position: absolute;
  inset: 0;
  background: var(--zerelle-nl-popup-overlay, rgba(20, 5, 10, 0.55));
}
.zerelle-nl-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, var(--zerelle-nl-popup-width, 720px));
  max-height: min(90vh, 900px);
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: minmax(0, var(--zerelle-nl-popup-col, 50%)) minmax(0, 1fr);
  background: var(--zerelle-nl-popup-bg, #efe4dc);
  color: var(--zerelle-nl-popup-text, var(--zerelle-burgundy));
  border-radius: var(--zerelle-nl-popup-radius, 0);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}
.zerelle-nl-popup__dialog--right {
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--zerelle-nl-popup-col, 50%));
}
.zerelle-nl-popup__dialog--right .zerelle-nl-popup__media {
  order: 2;
}
.zerelle-nl-popup__dialog--right .zerelle-nl-popup__body {
  order: 1;
}
.zerelle-nl-popup__media {
  min-height: 280px;
  background: var(--zerelle-nl-popup-visual-bg, #460f26);
  color: var(--zerelle-nl-popup-visual-text, #efe4dc);
  overflow: hidden;
}
.zerelle-nl-popup__media--brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
}
.zerelle-nl-popup__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
}
.zerelle-nl-popup__brand-title {
  font-family: var(--zerelle-font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.1;
}
.zerelle-nl-popup__brand-sub {
  font-family: var(--zerelle-font-display);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.92;
}
.zerelle-nl-popup__brand-logo {
  display: block;
  max-width: min(180px, 70%);
  max-height: 72px;
  width: auto;
  height: auto;
  margin: 0.5em auto 0;
  object-fit: contain;
}
.zerelle-nl-popup__media--image {
  position: relative;
}
.zerelle-nl-popup__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.zerelle-nl-popup__body {
  padding: var(--zerelle-nl-popup-pad, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--zerelle-nl-popup-bg, #efe4dc);
}
.zerelle-nl-popup__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.zerelle-nl-popup__heading {
  font-family: var(--zerelle-font-heading);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--zerelle-nl-popup-heading, inherit);
}
.zerelle-nl-popup__desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--zerelle-nl-popup-desc, inherit);
  opacity: 0.9;
}
.zerelle-nl-popup__close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  color: var(--zerelle-nl-popup-close, inherit);
  opacity: 0.75;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.zerelle-nl-popup__close:hover,
.zerelle-nl-popup__close:focus-visible {
  opacity: 1;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.zerelle-nl-popup__form input[type="email"],
.zerelle-nl-popup__form input[type="text"] {
  background: var(--zerelle-nl-popup-input-bg, #ffffff);
  border-color: var(--zerelle-nl-popup-input-border, rgba(70, 15, 38, 0.25));
  color: var(--zerelle-nl-popup-input-text, #460f26);
}
.zerelle-nl-popup__form input[type="submit"],
.zerelle-nl-popup__form button[type="submit"] {
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
}
@media (max-width: 720px) {
  .zerelle-nl-popup {
    padding: 16px;
    align-items: flex-start;
  }
  .zerelle-nl-popup__dialog,
  .zerelle-nl-popup__dialog--right {
    grid-template-columns: 1fr;
    max-height: min(92vh, 900px);
  }
  .zerelle-nl-popup__dialog--right .zerelle-nl-popup__media,
  .zerelle-nl-popup__dialog--right .zerelle-nl-popup__body {
    order: initial;
  }
  .zerelle-nl-popup__media {
    min-height: 160px;
  }
  .zerelle-nl-popup__media--brand {
    min-height: 180px;
    padding: 28px 20px;
  }
  .zerelle-nl-popup__media img {
    min-height: 160px;
    aspect-ratio: 16 / 9;
  }
  .zerelle-nl-popup__close {
    top: 4px;
    right: 4px;
    background: rgba(239, 228, 220, 0.85);
  }
}

/* ——— WooCommerce Cart (HASHI-inspired) ——— */
.zerelle-cart-page .zerelle-content,
.zerelle-cart-page .zerelle-wc,
.zerelle-cart-page .entry-content,
.woocommerce-cart .zerelle-content,
.woocommerce-cart .zerelle-post__content {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 96px;
}

/* Breadcrumb */
.zerelle-cart-breadcrumb {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--zerelle-gray);
  margin: 8px 0 20px;
  line-height: 1.4;
}
.zerelle-cart-breadcrumb a {
  color: var(--zerelle-gray);
  transition: color 0.2s var(--zerelle-ease);
}
.zerelle-cart-breadcrumb a:hover,
.zerelle-cart-breadcrumb a:focus-visible {
  color: var(--zerelle-burgundy);
}
.zerelle-cart-breadcrumb__sep {
  margin: 0 2px;
}
.zerelle-cart-breadcrumb__current {
  color: var(--zerelle-text-muted-on-light);
}

/* Page title + hairline (HASHI) */
.zerelle-cart-page .zerelle-page-hero__title {
  font-family: var(--zerelle-font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--zerelle-burgundy);
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.zerelle-cart-page .zerelle-page-hero__note {
  margin: 10px 0 0;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--zerelle-burgundy);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-cart-page .zerelle-page-hero__title:not(:has(+ .zerelle-page-hero__note)) {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--zerelle-burgundy);
}
.zerelle-cart-page .zerelle-page-hero__note + .zerelle-post__content {
  margin-top: 28px;
}
.zerelle-cart-page .zerelle-post__content:has(.zerelle-cart-empty) + .zerelle-catalog-cta-wrap {
  margin-top: 8px;
}

/* Empty cart — hide Blocks chrome (copy + CTA live under/near page title) */
.zerelle-cart-empty {
  display: none !important;
}
.zerelle-cart-page .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
  content: none !important;
  display: none !important;
}

/* Catalog empty / always CTA (cart + shop) */
.zerelle-catalog-cta-wrap {
  display: flex;
  width: 100%;
  margin: 8px 0 0;
}
.zerelle-catalog-cta-wrap--left {
  justify-content: flex-start;
}
.zerelle-catalog-cta-wrap--center {
  justify-content: center;
}
.zerelle-catalog-cta-wrap--right {
  justify-content: flex-end;
}
.zerelle-catalog-cta {
  justify-content: center;
  text-decoration: none;
}
.zerelle-catalog-cta:focus-visible {
  outline: 2px solid rgba(var(--zerelle-burgundy-rgb), 0.35);
  outline-offset: 3px;
}
.zerelle-catalog-cta:active {
  filter: brightness(0.94);
}
.zerelle-shop__empty-cta,
.zerelle-cart__filled-cta {
  margin: 28px 0 8px;
}
.zerelle-shop__empty-cta {
  margin-top: 40px;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .zerelle-cart-breadcrumb {
    margin-bottom: 16px;
  }
  .zerelle-cart-page .zerelle-page-hero__title:not(:has(+ .zerelle-page-hero__note)) {
    margin-bottom: 22px;
    padding-bottom: 16px;
  }
  .zerelle-cart-page .zerelle-page-hero__note {
    padding-bottom: 16px;
  }
  .zerelle-cart-page .zerelle-page-hero__note + .zerelle-post__content {
    margin-top: 22px;
  }
  .zerelle-catalog-cta-wrap {
    justify-content: stretch;
  }
  .zerelle-catalog-cta {
    width: 100%;
  }
}

/* —— Classic cart —— */
.zerelle-cart-page .woocommerce-cart-form {
  margin-bottom: 0;
}
.zerelle-cart-page .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 40px 48px;
  align-items: start;
}
.zerelle-cart-page .woocommerce table.shop_table {
  border: 0;
  border-collapse: collapse;
  width: 100%;
  background: transparent;
}
.zerelle-cart-page .woocommerce table.shop_table th,
.zerelle-cart-page .woocommerce table.shop_table td {
  border-top: 1px solid var(--zerelle-border-on-light);
  border-bottom: 0;
  padding: 22px 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
  vertical-align: middle;
  background: transparent;
}
.zerelle-cart-page .woocommerce table.shop_table thead th {
  border-top: 0;
  border-bottom: 1px solid var(--zerelle-border-on-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zerelle-text-muted-on-light);
  padding: 0 12px 14px;
}
.zerelle-cart-page .woocommerce-cart-form .product-thumbnail img {
  width: 128px !important;
  max-width: none !important;
  height: 128px !important;
  object-fit: contain;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}
.zerelle-cart-page .woocommerce .product-name a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--zerelle-burgundy);
}
.zerelle-cart-page .woocommerce .quantity {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--zerelle-burgundy);
}
.zerelle-cart-page .woocommerce .quantity .qty {
  width: 48px;
  padding: 8px 4px;
  border: 0;
  border-inline: 1px solid var(--zerelle-burgundy);
  text-align: center;
  font-size: 13px;
  background: var(--zerelle-white);
  -moz-appearance: textfield;
  appearance: textfield;
}
.zerelle-cart-page .woocommerce .quantity .qty::-webkit-outer-spin-button,
.zerelle-cart-page .woocommerce .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.zerelle-cart-page .woocommerce a.remove {
  color: var(--zerelle-burgundy) !important;
  font-size: 18px;
  line-height: 1;
  opacity: 0.55;
  transition: opacity 0.2s var(--zerelle-ease);
}
.zerelle-cart-page .woocommerce a.remove:hover {
  opacity: 1;
}
.zerelle-cart-page .cart-collaterals {
  position: sticky;
  top: calc(var(--zerelle-header-h) + 24px);
  background: rgba(var(--zerelle-burgundy-rgb), 0.04);
  padding: 28px 24px;
}
.zerelle-cart-page .cart_totals {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.zerelle-cart-page .cart_totals h2 {
  font-family: var(--zerelle-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 0 0 24px;
  color: var(--zerelle-burgundy);
}
.zerelle-cart-page .cart_totals .shop_table th,
.zerelle-cart-page .cart_totals .shop_table td {
  border-top: 1px solid var(--zerelle-border-on-light);
  padding: 14px 0;
  font-size: 13px;
}
.zerelle-cart-page .cart_totals .order-total th,
.zerelle-cart-page .cart_totals .order-total td {
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid var(--zerelle-burgundy);
  padding-top: 18px;
}
.zerelle-cart-page .wc-proceed-to-checkout {
  padding: 20px 0 0;
}
.zerelle-cart-page .wc-proceed-to-checkout .checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 20px;
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  border: 1px solid var(--zerelle-burgundy);
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.2s var(--zerelle-ease), color 0.2s var(--zerelle-ease);
}
.zerelle-cart-page .wc-proceed-to-checkout .checkout-button:hover {
  background: transparent;
  color: var(--zerelle-burgundy);
}

/* —— Cart Blocks (primary) —— */
.zerelle-cart-page .wp-block-woocommerce-cart {
  margin-bottom: 0;
}
.zerelle-cart-page .wc-block-components-sidebar-layout.wc-block-cart {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  gap: 40px 56px;
  align-items: start;
  width: 100%;
}
/* Reset nested main — do NOT inherit the 2-col grid */
.zerelle-cart-page .wc-block-cart__main,
.zerelle-cart-page .wc-block-components-sidebar-layout .wc-block-components-main {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
  margin: 0 !important;
  grid-template-columns: none !important;
}
.zerelle-cart-page .wc-block-components-sidebar,
.zerelle-cart-page .wc-block-cart__sidebar {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  padding: 28px 24px !important;
  margin: 0 !important;
  position: sticky;
  top: calc(var(--zerelle-header-h) + 24px);
  background: rgba(var(--zerelle-burgundy-rgb), 0.045);
  box-sizing: border-box;
}

/* Cart line items table */
.zerelle-cart-page .wc-block-cart-items {
  border: 0;
  border-collapse: collapse;
  width: 100%;
}
.zerelle-cart-page .wc-block-cart-items__header th {
  border: 0;
  border-bottom: 1px solid var(--zerelle-border-on-light);
  padding: 0 12px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zerelle-text-muted-on-light);
  text-align: left;
  background: transparent;
}
.zerelle-cart-page .wc-block-cart-items__header-total {
  text-align: right;
}
.zerelle-cart-page .wc-block-cart-items__row td {
  border: 0;
  border-bottom: 1px solid var(--zerelle-border-on-light);
  padding: 24px 12px;
  vertical-align: top;
  background: transparent;
}
/* Beat Blocks’ 80px header column + width:100% img so thumbs stay square and uncropped. */
.zerelle-cart-page table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-image,
.zerelle-cart-page .wc-block-cart-item__image {
  width: 128px !important;
  min-width: 128px;
  padding-left: 0 !important;
  padding-right: 16px !important;
  box-sizing: content-box;
}
.zerelle-cart-page .wc-block-cart-item__image img,
.zerelle-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
  width: 128px !important;
  max-width: none !important;
  height: 128px !important;
  object-fit: contain;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}
.zerelle-cart-page .wc-block-components-product-name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--zerelle-burgundy);
  text-decoration: none;
  margin-bottom: 6px;
}
.zerelle-cart-page .wc-block-components-product-name:hover {
  opacity: 0.7;
}
.zerelle-cart-page .wc-block-cart-item__prices {
  /* Unit price is redundant next to the TOTAL column; keep line total only */
  display: none !important;
  margin-bottom: 8px;
}
.zerelle-cart-page .wc-block-components-product-price,
.zerelle-cart-page .wc-block-cart-item__prices .price {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-cart-page .wc-block-components-product-metadata,
.zerelle-cart-page .wc-block-components-product-details {
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.55;
  color: var(--zerelle-text-muted-on-light);
  margin: 0 0 14px;
}
/* Frame / Charm / Lenses each on their own line (Blocks joins with " / ") */
.zerelle-cart-page .wc-block-components-product-details > span,
.zerelle-checkout-page .wc-block-components-product-details > span {
  display: block;
  font-size: 0; /* collapse space between name and value spans */
}
.zerelle-cart-page .wc-block-components-product-details > span [aria-hidden="true"],
.zerelle-checkout-page .wc-block-components-product-details > span [aria-hidden="true"] {
  display: none;
}
.zerelle-cart-page .wc-block-components-product-details__name,
.zerelle-cart-page .wc-block-components-product-details__value,
.zerelle-checkout-page .wc-block-components-product-details__name,
.zerelle-checkout-page .wc-block-components-product-details__value {
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.55;
}
.zerelle-cart-page .wc-block-components-product-details__name,
.zerelle-checkout-page .wc-block-components-product-details__name {
  margin-right: 0.25em;
}
.zerelle-checkout-page .wc-block-components-product-metadata,
.zerelle-checkout-page .wc-block-components-product-details {
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.55;
  color: var(--zerelle-text-muted-on-light);
  margin: 0 0 14px;
}
.zerelle-cart-page .wc-block-cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.zerelle-cart-page .wc-block-components-quantity-selector {
  display: inline-flex;
  align-items: stretch;
  width: auto;
  border: 1px solid var(--zerelle-burgundy);
  border-radius: 0;
  background: var(--zerelle-white);
}
.zerelle-cart-page .wc-block-components-quantity-selector__button {
  width: 36px;
  min-width: 36px;
  height: auto;
  padding: 0;
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  font-size: 14px;
  line-height: 1;
  border: 0;
  border-radius: 0;
  opacity: 1;
}
.zerelle-cart-page .wc-block-components-quantity-selector__button:disabled {
  opacity: 0.4;
  cursor: default;
}
.zerelle-cart-page .wc-block-components-quantity-selector__button:hover:not(:disabled) {
  opacity: 0.88;
}
/* Ensure minus | qty | plus visual order (WC Blocks DOM is input-first) */
.zerelle-cart-page .wc-block-components-quantity-selector__button--minus { order: 1; }
.zerelle-cart-page .wc-block-components-quantity-selector__input { order: 2; }
.zerelle-cart-page .wc-block-components-quantity-selector__button--plus { order: 3; }
.zerelle-cart-page .wc-block-components-quantity-selector__input {
  width: 44px;
  min-width: 44px;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-inline: 1px solid var(--zerelle-burgundy);
  text-align: center;
  font-size: 13px;
  font-family: var(--zerelle-font-body);
  color: var(--zerelle-burgundy);
  background: var(--zerelle-white);
  -moz-appearance: textfield;
  appearance: textfield;
}
.zerelle-cart-page .wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
.zerelle-cart-page .wc-block-components-quantity-selector__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.zerelle-cart-page .wc-block-cart-item__remove-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--zerelle-burgundy);
  opacity: 0.45;
  background: none;
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s var(--zerelle-ease);
}
.zerelle-cart-page .wc-block-cart-item__remove-link:hover {
  opacity: 1;
}
.zerelle-cart-page .wc-block-cart-item__remove-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.zerelle-cart-page .wc-block-cart-item__total {
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  /* Keep Dirham + amount on one line; Blocks .is-medium was shrinking this to ~43px */
  width: 1%;
  min-width: 5.5rem;
  flex-shrink: 0;
  justify-content: flex-end;
  align-items: flex-start;
}
/* Beat Blocks `.is-medium … .wc-block-components-formatted-money-amount { display: inline-block }` */
.zerelle-cart-page .wc-block-cart-item__total .wc-block-formatted-money-amount,
.zerelle-cart-page .wc-block-cart-item__total .wc-block-components-formatted-money-amount,
.zerelle-cart-page .wc-block-cart-item__total .zerelle-block-price--fixed,
.zerelle-cart-page .wc-block-cart-item__total .wc-block-components-product-price {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.28em;
  max-width: none;
}

/* Order summary panel */
.zerelle-cart-page .wp-block-woocommerce-cart-order-summary-block {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
/* Blocks embed “Cart totals”; display HASHI-style “Order Summary” */
.zerelle-cart-page .wc-block-cart__totals-title,
.zerelle-cart-page .wp-block-woocommerce-cart-order-summary-heading-block {
  margin: 0 0 22px !important;
  padding: 0;
  font-size: 0 !important;
  line-height: 0;
  color: var(--zerelle-burgundy);
}
.zerelle-cart-page .wc-block-cart__totals-title::after,
.zerelle-cart-page .wp-block-woocommerce-cart-order-summary-heading-block::after {
  content: "Order Summary";
  display: block;
  font-family: var(--zerelle-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: none;
  color: var(--zerelle-burgundy);
}
.zerelle-cart-page .wc-block-components-sidebar .screen-reader-text,
.zerelle-cart-page .wc-block-cart__main > .screen-reader-text,
.zerelle-cart-page h2.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.zerelle-cart-page .wc-block-components-totals-wrapper {
  border-top: 1px solid var(--zerelle-border-on-light);
  /* Tight to the rule above (match Subtotal); keep space below before the next rule */
  padding: 0 0 14px;
}
.zerelle-cart-page .wc-block-components-totals-wrapper:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.zerelle-cart-page .wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.zerelle-cart-page .wc-block-components-totals-item__label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--zerelle-burgundy);
}
/* Discount is a reduction — money span IS the __value, so ::before can't be both
   minus and dirham. Split: ::before = minus, ::after = dirham (flex order). */
.zerelle-cart-page .wc-block-components-totals-discount {
  flex-wrap: wrap;
  align-items: flex-start;
}
.zerelle-cart-page .wc-block-components-totals-discount .wc-block-components-totals-item__label {
  flex: 1 1 auto;
}
.zerelle-cart-page .wc-block-components-totals-discount .wc-block-components-totals-item__value {
  flex: 0 0 auto;
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
}
.zerelle-cart-page .wc-block-components-totals-discount .wc-block-components-totals-item__value::before {
  content: "−";
  order: -2;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  margin: 0;
  flex-shrink: 0;
  background: none !important;
  background-color: transparent !important;
  -webkit-mask: none !important;
  mask: none !important;
  transform: none !important;
  font-weight: 500;
  line-height: 1;
}
.zerelle-cart-page .wc-block-components-totals-discount .wc-block-components-totals-item__value::after {
  content: "";
  order: -1;
  display: inline-block;
  width: 0.9em;
  height: 0.78em;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("../images/dirham-symbol.svg") center / contain no-repeat;
  mask: url("../images/dirham-symbol.svg") center / contain no-repeat;
  transform: translateY(-0.14em);
}
.zerelle-cart-page .wc-block-components-totals-discount .wc-block-components-totals-item__description {
  flex: 1 1 100%;
  margin-top: 6px;
}
/* Coupon codes always display uppercase (codes are case-insensitive) */
.zerelle-cart-page .wc-block-components-totals-discount__coupon-list-item,
.zerelle-cart-page .wc-block-components-totals-discount .wc-block-components-chip__text,
.zerelle-cart-page .wc-block-components-totals-coupon__input input,
.zerelle-checkout-page .zerelle-checkout-coupon form.checkout_coupon .input-text,
.zerelle-checkout-page .cart-discount th,
.zerelle-checkout-page .woocommerce-remove-coupon {
  text-transform: uppercase;
}
.zerelle-cart-page .wc-block-components-totals-footer-item {
  padding-top: 4px;
}
.zerelle-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.zerelle-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Hide Tabby / Tamara cart promos when Customizer toggles are off */
.zerelle-hide-tabby-cart-promo .tabbyPromo,
.zerelle-hide-tabby-cart-promo #tabbyPromo {
  display: none !important;
}
.zerelle-hide-tamara-cart-promo .zerelle-tamara-cart-promo,
.zerelle-hide-tamara-cart-promo tamara-widget[inline-type="2"],
.zerelle-hide-tamara-cart-promo tamara-widget[inline-type="3"] {
  display: none !important;
}

/* Tamara promo spacing in Blocks Order Summary — white card at rest, not hover-only */
.zerelle-cart-page .zerelle-tamara-cart-promo {
  margin: 12px 0 4px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--zerelle-border-on-light);
  border-radius: 16px;
}
.zerelle-cart-page .zerelle-tamara-cart-promo tamara-widget {
  display: block;
  width: 100%;
  background: #fff;
}

/* Coupons — single-field row; APPLY matches Place Order hover */
.zerelle-cart-page .wc-block-components-totals-coupon {
  width: 100%;
}
.zerelle-cart-page .wc-block-components-panel__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 12px 14px !important;
  border: 1px solid var(--zerelle-border-on-light);
  border-radius: 0;
  background: var(--zerelle-cream) !important;
  box-shadow: none;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--zerelle-burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s var(--zerelle-ease), background 0.2s var(--zerelle-ease), opacity 0.2s var(--zerelle-ease);
}
.zerelle-cart-page .wc-block-components-panel__button:hover,
.zerelle-cart-page .wc-block-components-panel__button:focus-visible {
  border-color: var(--zerelle-burgundy);
  background: var(--zerelle-cream) !important;
  opacity: 1;
  outline: none;
}
.zerelle-cart-page .wc-block-components-panel__button-icon,
.zerelle-cart-page .wc-block-components-panel__button > svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-inline-start: auto;
  opacity: 0.7;
  text-decoration: none;
}
.zerelle-cart-page .wc-block-components-totals-coupon__content {
  padding-top: 12px;
  padding-bottom: 4px;
}
.zerelle-cart-page .wc-block-components-totals-coupon__form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}
.zerelle-cart-page .wc-block-components-totals-coupon__input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  position: relative;
  margin: 0;
  padding: 0;
  border: 1px solid var(--zerelle-border-on-light);
  border-radius: 0;
  background: var(--zerelle-white);
  box-shadow: none;
}
.zerelle-cart-page .wc-block-components-totals-coupon__input::after {
  display: none;
}
.zerelle-cart-page .wc-block-components-totals-coupon__input input,
.zerelle-cart-page .wc-block-components-totals-coupon__input input[type="text"] {
  width: 100%;
  min-height: 44px;
  height: 44px;
  margin: 0;
  padding: 12px 12px;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  outline: none;
  background: transparent !important;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--zerelle-burgundy);
  box-sizing: border-box;
}
.zerelle-cart-page .wc-block-components-totals-coupon__input input:focus {
  outline: none;
  box-shadow: none !important;
}
.zerelle-cart-page .wc-block-components-totals-coupon__input.is-active,
.zerelle-cart-page .wc-block-components-totals-coupon__input:focus-within {
  border-color: var(--zerelle-burgundy);
}
.zerelle-cart-page .wc-block-components-totals-coupon__input label {
  left: 12px;
  top: 50%;
  right: auto;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--zerelle-text-muted-on-light);
  line-height: 1;
  pointer-events: none;
  transition: top 0.15s var(--zerelle-ease), font-size 0.15s var(--zerelle-ease), transform 0.15s var(--zerelle-ease);
}
.zerelle-cart-page .wc-block-components-totals-coupon__input.is-active label,
.zerelle-cart-page .wc-block-components-totals-coupon__input.has-value label {
  top: 6px;
  transform: none;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-cart-page .wc-block-components-totals-coupon__input.is-active input,
.zerelle-cart-page .wc-block-components-totals-coupon__input.has-value input {
  padding-top: 18px;
  padding-bottom: 6px;
}
.zerelle-cart-page .wc-block-components-totals-coupon__button {
  flex: 0 0 auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 44px;
  height: 44px;
  padding: 0 14px !important;
  background: var(--zerelle-burgundy) !important;
  background-color: var(--zerelle-burgundy) !important;
  color: var(--zerelle-primary) !important;
  border: 1px solid var(--zerelle-burgundy) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--zerelle-ease), background-color 0.2s var(--zerelle-ease), color 0.2s var(--zerelle-ease);
}
.zerelle-cart-page .wc-block-components-totals-coupon__button .wc-block-components-button__text {
  color: inherit !important;
}
.zerelle-cart-page .wc-block-components-totals-coupon__button:hover:not([disabled]):not([aria-disabled="true"]),
.zerelle-cart-page .wc-block-components-totals-coupon__button:focus-visible:not([disabled]):not([aria-disabled="true"]) {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--zerelle-burgundy) !important;
}
.zerelle-cart-page .wc-block-components-totals-coupon__button:hover:not([disabled]):not([aria-disabled="true"]) .wc-block-components-button__text,
.zerelle-cart-page .wc-block-components-totals-coupon__button:focus-visible:not([disabled]):not([aria-disabled="true"]) .wc-block-components-button__text {
  color: inherit !important;
}
.zerelle-cart-page .wc-block-components-totals-coupon__button[disabled],
.zerelle-cart-page .wc-block-components-totals-coupon__button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Checkout CTA — full-width, flush with summary */
.zerelle-cart-page .wc-block-cart__submit {
  margin-top: 8px;
}
.zerelle-cart-page .wc-block-cart__submit-container {
  width: 100%;
}
.zerelle-cart-page .wc-block-cart__submit-button,
.zerelle-cart-page .wc-block-cart__submit .wc-block-components-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 52px;
  padding: 16px 20px !important;
  background: var(--zerelle-burgundy) !important;
  color: var(--zerelle-primary) !important;
  border: 1px solid var(--zerelle-burgundy) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s var(--zerelle-ease), color 0.2s var(--zerelle-ease);
}
.zerelle-cart-page .wc-block-cart__submit-button:hover,
.zerelle-cart-page .wc-block-cart__submit .wc-block-components-button:hover {
  background: transparent !important;
  color: var(--zerelle-burgundy) !important;
}
.zerelle-cart-page .wc-block-cart__submit-button .wc-block-components-button__text {
  color: inherit;
}

/* —— Classic checkout —— */
.zerelle-checkout-page .zerelle-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  grid-template-areas:
    "main column"
    "payment column";
  gap: 40px 48px;
  align-items: start;
  width: 100%;
  margin: 0;
}
/* Form children participate in the outer layout grid. */
.zerelle-checkout-page form.woocommerce-checkout.zerelle-checkout-form {
  display: contents;
}
/* Keep notices spanning full width when WC injects them into the form */
.zerelle-checkout-page .zerelle-checkout-layout > .woocommerce-NoticeGroup,
.zerelle-checkout-page form.woocommerce-checkout.zerelle-checkout-form > .woocommerce-NoticeGroup {
  grid-column: 1 / -1;
}
.zerelle-checkout-page .zerelle-checkout__main {
  display: block;
  grid-area: main;
  order: 1;
  min-width: 0;
  width: 100%;
}
.zerelle-checkout-page .zerelle-checkout__column {
  display: flex;
  flex-direction: column;
  grid-area: column;
  order: 2;
  min-width: 0;
  width: 100%;
  position: sticky;
  top: calc(var(--zerelle-header-h) + 24px);
  align-self: start;
}
.zerelle-checkout-page .zerelle-checkout__sidebar {
  display: block;
  min-width: 0;
  width: 100%;
  padding: 28px 28px 18px;
  box-sizing: border-box;
  background: rgba(var(--zerelle-burgundy-rgb), 0.04);
  border: 1px solid var(--zerelle-border-on-light);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  overflow-x: visible;
  overflow-y: visible;
}
.zerelle-checkout-page .zerelle-checkout__column:not(:has(.zerelle-checkout-coupon)) .zerelle-checkout__sidebar {
  border-bottom: 1px solid var(--zerelle-border-on-light);
  border-radius: 8px;
  padding-bottom: 26px;
}
.zerelle-checkout-page .zerelle-checkout-coupon {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 28px 20px;
  box-sizing: border-box;
  background: rgba(var(--zerelle-burgundy-rgb), 0.04);
  border: 1px solid var(--zerelle-border-on-light);
  border-top: none;
  border-radius: 0 0 8px 8px;
}
.zerelle-checkout-page .zerelle-checkout__payment {
  display: block;
  grid-area: payment;
  order: 3;
  min-width: 0;
  width: 100%;
}
.zerelle-checkout-page .zerelle-checkout__sidebar,
.zerelle-checkout-page .zerelle-checkout__sidebar th,
.zerelle-checkout-page .zerelle-checkout__sidebar td,
.zerelle-checkout-page .zerelle-checkout__sidebar b,
.zerelle-checkout-page .zerelle-checkout__sidebar strong {
  font-weight: 400;
}
.zerelle-checkout-page .zerelle-checkout__sidebar {
  font-size: 1.0625rem;
}
.zerelle-checkout-page .zerelle-checkout__sidebar #order_review_heading {
  font-family: var(--zerelle-font-body);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-transform: none;
  margin: 0 0 18px;
  padding: 0;
  color: var(--zerelle-burgundy);
}
.zerelle-checkout-page #customer_details.col2-set {
  display: block;
  width: 100%;
  margin: 0;
}
.zerelle-checkout-page #customer_details.col2-set::before,
.zerelle-checkout-page #customer_details.col2-set::after {
  content: none !important;
  display: none !important;
}
.zerelle-checkout-page #customer_details .col-1,
.zerelle-checkout-page #customer_details .col-2 {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.zerelle-checkout-page #customer_details .col-2 {
  margin-top: 32px;
}
.zerelle-checkout-page .woocommerce-billing-fields > h3,
.zerelle-checkout-page .woocommerce-shipping-fields > h3,
.zerelle-checkout-page .woocommerce-additional-fields > h3,
.zerelle-checkout-page #ship-to-different-address {
  font-family: var(--zerelle-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--zerelle-burgundy);
}
.zerelle-checkout-page #ship-to-different-address label {
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.zerelle-checkout-page .woocommerce-billing-fields__field-wrapper,
.zerelle-checkout-page .woocommerce-shipping-fields__field-wrapper,
.zerelle-checkout-page .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.zerelle-checkout-page .woocommerce-billing-fields__field-wrapper .form-row-wide,
.zerelle-checkout-page .woocommerce-shipping-fields__field-wrapper .form-row-wide,
.zerelle-checkout-page .woocommerce-additional-fields__field-wrapper .form-row-wide,
.zerelle-checkout-page .woocommerce-billing-fields__field-wrapper .address-field,
.zerelle-checkout-page .woocommerce-shipping-fields__field-wrapper .address-field {
  grid-column: 1 / -1;
}
.zerelle-checkout-page .woocommerce-billing-fields__field-wrapper .form-row-first,
.zerelle-checkout-page .woocommerce-shipping-fields__field-wrapper .form-row-first {
  grid-column: 1;
}
.zerelle-checkout-page .woocommerce-billing-fields__field-wrapper .form-row-last,
.zerelle-checkout-page .woocommerce-shipping-fields__field-wrapper .form-row-last {
  grid-column: 2;
}
.zerelle-checkout-page form.checkout .form-row {
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
}
.zerelle-checkout-page form.checkout .form-row label {
  display: block;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-checkout-page form.checkout .form-row label .required {
  color: var(--zerelle-burgundy);
  text-decoration: none;
}
.zerelle-checkout-page form.checkout .form-row label .optional {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--zerelle-gray);
}
.zerelle-checkout-page form.checkout .form-row input.input-text,
.zerelle-checkout-page form.checkout .form-row textarea,
.zerelle-checkout-page form.checkout .form-row select,
.zerelle-checkout-page form.checkout .form-row .select2-container .select2-selection--single {
  width: 100%;
  max-width: none;
  padding: 12px 14px;
  border: 1px solid var(--zerelle-border-on-light);
  border-radius: 0;
  background: var(--zerelle-white);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--zerelle-burgundy);
  box-shadow: none;
  height: auto;
  min-height: 46px;
  box-sizing: border-box;
}
.zerelle-checkout-page form.checkout .form-row textarea {
  min-height: 96px;
  resize: vertical;
}
.zerelle-checkout-page form.checkout .form-row input.input-text:focus,
.zerelle-checkout-page form.checkout .form-row textarea:focus,
.zerelle-checkout-page form.checkout .form-row select:focus {
  outline: none;
  border-color: var(--zerelle-burgundy);
}
.zerelle-checkout-page form.checkout .form-row .select2-container {
  width: 100% !important;
}
.zerelle-checkout-page form.checkout .form-row .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  padding: 0 14px;
}
.zerelle-checkout-page form.checkout .form-row .select2-container .select2-selection__rendered {
  padding: 0;
  line-height: 1.4;
  color: var(--zerelle-burgundy);
}
.zerelle-checkout-page form.checkout .form-row .select2-container .select2-selection__arrow {
  height: 100%;
  right: 10px;
}
.zerelle-checkout-page #order_review,
.zerelle-checkout-page .woocommerce-checkout-review-order {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow-x: visible;
  overflow-y: visible;
}
/* Beat .zerelle-post__content table { display: block } so columns stay 65/35 */
.zerelle-checkout-page .zerelle-post__content table.shop_table.woocommerce-checkout-review-order-table,
.zerelle-checkout-page .zerelle-checkout__sidebar table.shop_table,
.zerelle-checkout-page .woocommerce-checkout-review-order-table {
  display: table;
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed;
  border: 0 !important;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}
.zerelle-checkout-page .zerelle-checkout__sidebar table.shop_table th,
.zerelle-checkout-page .zerelle-checkout__sidebar table.shop_table td,
.zerelle-checkout-page .woocommerce-checkout-review-order-table th,
.zerelle-checkout-page .woocommerce-checkout-review-order-table td {
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  padding: 0;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.5;
  vertical-align: top;
  background: transparent !important;
  color: var(--zerelle-burgundy);
  box-shadow: none !important;
}
/* Lock columns so Delivery prose cannot inflate the price column */
.zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item td.product-name,
.zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot th {
  width: 65%;
  min-width: 0;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item td.product-name {
  padding: 10px 12px 22px 0 !important;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item td.product-total,
.zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot td {
  width: 35%;
  max-width: 35%;
  text-align: right;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item td.product-total,
.zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot tr:not(.shipping) td {
  white-space: nowrap;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item td.product-total {
  padding: 10px 0 22px !important;
  font-size: 1.0625rem;
  font-weight: 400;
  vertical-align: top;
}
/* Single divider via tfoot first-row border-top (see below) */
.zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item:last-child td {
  border-bottom: 0 !important;
}
.zerelle-checkout-page .zerelle-checkout-summary__product {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  width: 100%;
}
.zerelle-checkout-page .zerelle-checkout-summary__image {
  position: relative;
  width: 120px;
  height: 120px;
  flex: 0 0 120px;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
  overflow: visible;
}
.zerelle-checkout-page .zerelle-checkout-summary__image img {
  display: block;
  width: 120px !important;
  max-width: none !important;
  height: 120px !important;
  object-fit: contain;
  margin: 0;
}
.zerelle-checkout-page .zerelle-checkout-summary__qty {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 2;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  box-sizing: border-box;
}
.zerelle-checkout-page .zerelle-checkout-summary__details {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 2px;
}
.zerelle-checkout-page .zerelle-checkout-summary__name {
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: var(--zerelle-burgundy);
}
.zerelle-checkout-page .zerelle-checkout-summary__name a {
  color: inherit;
  text-decoration: none;
}
/* Frame / Charm meta: one label+value pair per line (block dl so inline pairs work) */
.zerelle-checkout-page .woocommerce-checkout-review-order-table .variation,
.zerelle-checkout-page .woocommerce-checkout-review-order-table dl.variation {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: block;
  width: 100%;
  min-width: 0;
  /* Collapse newline/tab text nodes between </dt> and <dd> (were adding ~5px) */
  font-size: 0;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table ul.wc-item-meta {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  width: 100%;
  min-width: 0;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table .variation dt,
.zerelle-checkout-page .woocommerce-checkout-review-order-table .variation dd,
.zerelle-checkout-page .woocommerce-checkout-review-order-table ul.wc-item-meta li {
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: var(--zerelle-text-muted-on-light);
  width: auto !important;
  max-width: none;
}
/* Beat Woo core `.woocommerce td.product-name dl.variation dt { display: inline-block }` */
.zerelle-checkout-page .woocommerce td.product-name dl.variation dt,
.zerelle-checkout-page .woocommerce td.product-name dl.variation dd {
  display: inline !important;
  float: none !important;
  clear: none !important;
}
.zerelle-checkout-page .woocommerce td.product-name dl.variation dt {
  font-weight: 400;
  white-space: normal;
}
.zerelle-checkout-page .woocommerce td.product-name dl.variation dd {
  /* Match cart Blocks (~one space); was 0.35em + HTML whitespace ≈ 11px */
  margin-left: 0.25em !important;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
.zerelle-checkout-page .woocommerce td.product-name dl.variation dd::after {
  content: "";
  display: block;
}
.zerelle-checkout-page .woocommerce td.product-name dl.variation dd p {
  display: inline;
  margin: 0;
  font-size: inherit;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table ul.wc-item-meta li {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 0.25em;
  align-items: baseline;
  max-width: 100%;
  justify-content: start;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot th,
.zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot td {
  border-top: 1px solid var(--zerelle-border-on-light) !important;
  padding: 14px 0 !important;
  vertical-align: middle;
  line-height: 1.5;
  font-size: 1.0625rem;
  font-weight: 400;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot tr:first-child th,
.zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot tr:first-child td {
  border-top: 1px solid var(--zerelle-border-on-light) !important;
  padding-top: 20px !important;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot th {
  font-weight: 400;
  text-align: left;
  color: var(--zerelle-burgundy);
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot td {
  font-weight: 400;
  color: var(--zerelle-burgundy);
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table .order-total th,
.zerelle-checkout-page .woocommerce-checkout-review-order-table .order-total td {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.35;
  border-top: 1px solid var(--zerelle-border-on-light) !important;
  padding-top: 18px !important;
  padding-bottom: 4px !important;
  color: var(--zerelle-burgundy);
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table .shipping th,
.zerelle-checkout-page .woocommerce-checkout-review-order-table .shipping td {
  vertical-align: middle;
}
/* Empty-rate / address prompts must wrap; do not expand the price column */
.zerelle-checkout-page .woocommerce-checkout-review-order-table .shipping td {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  max-width: 0;
  text-align: left;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table .shipping ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
  white-space: nowrap;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table .shipping .woocommerce-Price-amount {
  white-space: nowrap;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table .shipping li {
  margin: 0;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table .shipping label {
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: var(--zerelle-burgundy);
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table .shipping .woocommerce-shipping-methods {
  display: block;
}
.zerelle-checkout-page .woocommerce-checkout-review-order-table .shipping .shipping_method[type="hidden"] + label {
  margin: 0;
}
.zerelle-checkout-page .zerelle-checkout__sidebar .woocommerce-Price-amount,
.zerelle-checkout-page .zerelle-checkout__sidebar .woocommerce-Price-amount bdi,
.zerelle-checkout-page .zerelle-checkout__sidebar .amount,
.zerelle-checkout-page .zerelle-checkout__sidebar ul#shipping_method .amount,
.zerelle-checkout-page .zerelle-checkout__sidebar ul#shipping_method label {
  font-weight: 400 !important;
}
.zerelle-checkout-page #payment.woocommerce-checkout-payment {
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.zerelle-checkout-page #payment ul.wc_payment_methods {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
.zerelle-checkout-page #payment ul.wc_payment_methods > li.wc_payment_method {
	position: relative;
	margin: 0;
	padding: 0;
	border: 1px solid var(--zerelle-border-on-light);
	background: rgba(var(--zerelle-burgundy-rgb), 0.02);
	overflow-x: hidden;
	transition: border-color 0.2s var(--zerelle-ease), background 0.2s var(--zerelle-ease), box-shadow 0.2s var(--zerelle-ease);
}
.zerelle-checkout-page #payment ul.wc_payment_methods > li.wc_payment_method:first-child {
  border-top: 1px solid var(--zerelle-border-on-light);
}
.zerelle-checkout-page #payment ul.wc_payment_methods > li.wc_payment_method:has(input[type="radio"]:checked),
.zerelle-checkout-page #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_selected {
  border-color: var(--zerelle-burgundy);
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
  box-shadow: inset 0 0 0 1px var(--zerelle-burgundy);
}
.zerelle-checkout-page #payment ul.wc_payment_methods > li.wc_payment_method > input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.zerelle-checkout-page #payment ul.wc_payment_methods > li.wc_payment_method > label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--zerelle-burgundy);
  cursor: pointer;
}
.zerelle-checkout-page #payment ul.wc_payment_methods > li.wc_payment_method > label::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 1.5px solid rgba(var(--zerelle-burgundy-rgb), 0.45);
  border-radius: 50%;
  background: var(--zerelle-primary, #f7f3ee);
  transition: border-color 0.2s var(--zerelle-ease), box-shadow 0.2s var(--zerelle-ease);
}
.zerelle-checkout-page #payment ul.wc_payment_methods > li.wc_payment_method > input[type="radio"]:checked + label::before,
.zerelle-checkout-page #payment ul.wc_payment_methods > li.wc_payment_method:has(input[type="radio"]:checked) > label::before {
  border-color: var(--zerelle-burgundy);
  box-shadow: inset 0 0 0 5px var(--zerelle-burgundy);
}
.zerelle-checkout-page #payment ul.wc_payment_methods > li.wc_payment_method > label img {
  max-height: 28px;
  width: auto;
  margin: 0 0 0 auto;
  object-fit: contain;
}
/* Tamara gradient wordmark: 28px mobile / 32px desktop (widget guidelines §1.5.1). */
.zerelle-checkout-page #payment ul.wc_payment_methods > li[class*="payment_method_tamara"] > label img,
.zerelle-checkout-page #payment ul.wc_payment_methods > li[class*="payment_method_tamara"] > label img.zerelle-tamara-gateway-icon {
  height: 28px;
  max-height: 28px;
  width: auto;
  max-width: min(160px, 46%);
  margin: 0 0 0 auto !important;
  float: none !important;
  vertical-align: middle;
  object-fit: contain;
}
@media (min-width: 768px) {
  .zerelle-checkout-page #payment ul.wc_payment_methods > li[class*="payment_method_tamara"] > label img,
  .zerelle-checkout-page #payment ul.wc_payment_methods > li[class*="payment_method_tamara"] > label img.zerelle-tamara-gateway-icon {
    height: 32px;
    max-height: 32px;
    max-width: min(180px, 42%);
  }
}
.zerelle-checkout-page #payment div.payment_box {
	/* WooCommerce core sets width:100%; our side margins need width:auto or the box overflows the card. */
	width: auto;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0 14px 14px;
	padding: 12px 14px;
	background: rgba(var(--zerelle-burgundy-rgb), 0.04) !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: var(--zerelle-text-muted-on-light);
	font-size: 13px;
	letter-spacing: 0.03em;
	line-height: 1.55;
	overflow-x: hidden;
}
.zerelle-checkout-page #payment div.payment_box::before {
  display: none !important;
}
.zerelle-checkout-page #payment div.payment_box p {
  margin: 0;
}
.zerelle-checkout-page #payment .form-row.place-order {
  margin: 0;
  padding: 0;
  float: none;
  width: 100%;
}
.zerelle-checkout-page #payment #place_order,
.zerelle-checkout-page #payment button#place_order {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 52px !important;
  padding: 16px 20px !important;
  margin: 0;
  background: var(--zerelle-burgundy) !important;
  color: var(--zerelle-primary) !important;
  border: 1px solid var(--zerelle-burgundy) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--zerelle-ease), color 0.2s var(--zerelle-ease);
}
.zerelle-checkout-page #payment #place_order:hover,
.zerelle-checkout-page #payment button#place_order:hover {
  background: transparent !important;
  color: var(--zerelle-burgundy) !important;
}
.zerelle-checkout-page #payment .woocommerce-terms-and-conditions-wrapper {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-checkout-page .woocommerce-privacy-policy-text p {
  margin: 0;
}
.zerelle-checkout-page .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--zerelle-burgundy);
}
.zerelle-checkout-page .woocommerce-NoticeGroup,
.zerelle-checkout-page .woocommerce-error,
.zerelle-checkout-page .woocommerce-info,
.zerelle-checkout-page .woocommerce-message {
  margin: 0 0 24px;
  border-radius: 0;
}

/* Checkout coupon — under order summary (match cart Add coupons) */
.zerelle-checkout-page .zerelle-checkout-coupon .woocommerce-form-coupon-toggle {
  margin: 0;
}
.zerelle-checkout-page .zerelle-checkout-coupon .woocommerce-form-coupon-toggle .woocommerce-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  border: none;
  border-top: 1px solid var(--zerelle-border-on-light);
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--zerelle-burgundy);
  white-space: nowrap;
}
.zerelle-checkout-page .zerelle-checkout-coupon .woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none;
  content: none;
}
.zerelle-checkout-page .zerelle-checkout-coupon .woocommerce-form-coupon-toggle .woocommerce-info a {
  color: var(--zerelle-burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.zerelle-checkout-page .zerelle-checkout-coupon .woocommerce-form-coupon-toggle .woocommerce-info a:hover {
  opacity: 0.75;
}
.zerelle-checkout-page .zerelle-checkout-coupon form.checkout_coupon {
  display: none;
  margin: 0;
  padding: 12px 0 4px;
  border: none;
}
.zerelle-checkout-page .zerelle-checkout-coupon form.checkout_coupon[style*="block"] {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
.zerelle-checkout-page .zerelle-checkout-coupon form.checkout_coupon .form-row {
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
}
.zerelle-checkout-page .zerelle-checkout-coupon form.checkout_coupon .form-row-first {
  flex: 1 1 auto;
  min-width: 0;
}
.zerelle-checkout-page .zerelle-checkout-coupon form.checkout_coupon .form-row-last {
  flex: 0 0 auto;
}
.zerelle-checkout-page .zerelle-checkout-coupon form.checkout_coupon .input-text {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--zerelle-border-on-light);
  border-radius: 0;
  font-size: 13px;
  background: var(--zerelle-white);
  color: var(--zerelle-burgundy);
  box-sizing: border-box;
}
.zerelle-checkout-page .zerelle-checkout-coupon form.checkout_coupon .button {
  flex-shrink: 0;
  padding: 10px 14px;
  margin: 0;
  background: var(--zerelle-burgundy);
  background-color: var(--zerelle-burgundy);
  color: var(--zerelle-primary);
  border: 1px solid var(--zerelle-burgundy);
  border-radius: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--zerelle-ease), background-color 0.2s var(--zerelle-ease), color 0.2s var(--zerelle-ease);
}
.zerelle-checkout-page .zerelle-checkout-coupon form.checkout_coupon .button:hover {
  background: transparent;
  background-color: transparent;
  color: var(--zerelle-burgundy);
}
.zerelle-checkout-page .zerelle-checkout-coupon form.checkout_coupon .clear {
  display: none;
}

/* Checkout notices — Zerelle branding (no WC blue/green) */
.zerelle-checkout-page .woocommerce-message,
.zerelle-checkout-page .woocommerce-info,
.zerelle-checkout-page form.checkout > .woocommerce-NoticeGroup .woocommerce-message,
.zerelle-checkout-page form.checkout > .woocommerce-NoticeGroup .woocommerce-info,
.zerelle-checkout-page .woocommerce-notices-wrapper .woocommerce-message,
.zerelle-checkout-page .woocommerce-notices-wrapper .woocommerce-info {
  border: 1px solid var(--zerelle-border-on-light);
  border-top: 3px solid var(--zerelle-burgundy);
  background: var(--zerelle-white);
  color: var(--zerelle-burgundy);
  padding: 12px 16px 12px 16px;
  box-shadow: none;
  list-style: none !important;
}
.zerelle-checkout-page .woocommerce-message::before,
.zerelle-checkout-page .woocommerce-info::before,
.zerelle-checkout-page form.checkout > .woocommerce-NoticeGroup .woocommerce-message::before,
.zerelle-checkout-page form.checkout > .woocommerce-NoticeGroup .woocommerce-info::before,
.zerelle-checkout-page .woocommerce-notices-wrapper .woocommerce-message::before,
.zerelle-checkout-page .woocommerce-notices-wrapper .woocommerce-info::before {
  display: none;
  content: none;
}
.zerelle-checkout-page .woocommerce-error,
.zerelle-checkout-page form.checkout > .woocommerce-NoticeGroup .woocommerce-error,
.zerelle-checkout-page .woocommerce-notices-wrapper .woocommerce-error {
  border: 1px solid rgba(70, 15, 38, 0.28);
  border-top: 3px solid var(--zerelle-burgundy);
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
  color: var(--zerelle-burgundy);
  padding: 12px 16px;
  box-shadow: none;
  list-style: none !important;
}
.zerelle-checkout-page .woocommerce-error::before,
.zerelle-checkout-page form.checkout > .woocommerce-NoticeGroup .woocommerce-error::before,
.zerelle-checkout-page .woocommerce-notices-wrapper .woocommerce-error::before {
  display: none;
  content: none;
}

/* Hide duplicate total in Order summary heading (total remains in totals row) */
.zerelle-checkout-page .wc-block-components-checkout-order-summary__title-price {
  display: none !important;
}

/* Checkout order summary — wider panel + larger product images */
.zerelle-checkout-page .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 40px 48px;
  align-items: start;
  width: 100%;
}
.zerelle-checkout-page .wc-block-checkout__main,
.zerelle-checkout-page .wc-block-components-sidebar-layout .wc-block-components-main {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
  margin: 0 !important;
}
.zerelle-checkout-page .wc-block-checkout__sidebar,
.zerelle-checkout-page .wc-block-components-sidebar {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  padding: 28px 24px !important;
  margin: 0 !important;
  box-sizing: border-box;
  background: rgba(var(--zerelle-burgundy-rgb), 0.045);
}
.zerelle-checkout-page .wc-block-components-order-summary-item {
  gap: 16px;
}
.zerelle-checkout-page .wc-block-components-order-summary-item__image {
  width: 112px !important;
  height: 112px !important;
  flex-shrink: 0;
  position: relative;
}
.zerelle-checkout-page .wc-block-components-order-summary-item__image > img,
.zerelle-checkout-page .wc-block-components-order-summary-item__image img {
  width: 112px !important;
  max-width: none !important;
  height: 112px !important;
  object-fit: contain;
  background: rgba(var(--zerelle-burgundy-rgb), 0.06);
}

/* —— Checkout Place Order CTA (match cart Proceed to Checkout) —— */
.zerelle-checkout-page .wc-block-checkout__actions,
.zerelle-checkout-page .wc-block-checkout__actions_row {
  margin-top: 8px;
}
.zerelle-checkout-page .wc-block-components-checkout-place-order-button,
.zerelle-checkout-page .wc-block-checkout__actions .wc-block-components-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 52px !important;
  padding: 16px 20px !important;
  background: var(--zerelle-burgundy) !important;
  color: var(--zerelle-primary) !important;
  border: 1px solid var(--zerelle-burgundy) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s var(--zerelle-ease), color 0.2s var(--zerelle-ease);
}
.zerelle-checkout-page .wc-block-components-checkout-place-order-button:hover,
.zerelle-checkout-page .wc-block-checkout__actions .wc-block-components-button:hover {
  background: transparent !important;
  color: var(--zerelle-burgundy) !important;
}
.zerelle-checkout-page .wc-block-components-checkout-place-order-button .wc-block-components-button__text,
.zerelle-checkout-page .wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text {
  color: inherit;
}

/* ——— Order received (thank you) ——— */
.zerelle-order-received-page .zerelle-content,
.zerelle-order-received-page .zerelle-wc,
.zerelle-order-received-page .entry-content,
.zerelle-order-received-page .zerelle-post__content,
.woocommerce-order-received .zerelle-content,
.woocommerce-order-received .zerelle-post__content {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 96px;
}
.zerelle-order-received-page .zerelle-page-hero__title {
  font-family: var(--zerelle-font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--zerelle-burgundy);
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--zerelle-burgundy);
}
.zerelle-order-received-page .woocommerce-thankyou-order-received,
.zerelle-order-received-page .woocommerce-notice--success {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--zerelle-burgundy);
}
.zerelle-order-received-page .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 22px 28px;
  list-style: none;
  margin: 0 0 40px;
  padding: 24px 28px;
  background: rgba(var(--zerelle-burgundy-rgb), 0.045);
  border: 0;
}
.zerelle-order-received-page .woocommerce-order-overview::before,
.zerelle-order-received-page .woocommerce-order-overview::after {
  content: none !important;
  display: none !important;
}
.zerelle-order-received-page .woocommerce-order-overview li {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-order-received-page .woocommerce-order-overview__email {
  min-width: 0;
  grid-column: span 2;
}
.zerelle-order-received-page .woocommerce-order-overview li strong {
  display: block;
  margin-top: 8px;
  font-family: var(--zerelle-font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 1.45;
  color: var(--zerelle-burgundy);
  word-break: normal;
  overflow-wrap: anywhere;
}
.zerelle-order-received-page .woocommerce-order-overview .woocommerce-Price-amount,
.zerelle-order-received-page .woocommerce-order-overview .zerelle-dirham-symbol {
  font-size: inherit;
}
.zerelle-order-received-page .woocommerce-order > p,
.zerelle-order-received-page .woocommerce-bacs-bank-details,
.zerelle-order-received-page .woocommerce-info {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-order-received-page .woocommerce-order-details,
.zerelle-order-received-page .woocommerce-customer-details {
  margin: 0 0 48px;
}
.zerelle-order-received-page .woocommerce-order-details__title,
.zerelle-order-received-page .woocommerce-column__title,
.zerelle-order-received-page .woocommerce-order-details h2,
.zerelle-order-received-page .woocommerce-customer-details h2 {
  margin: 0 0 20px;
  font-family: var(--zerelle-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--zerelle-burgundy);
}
.zerelle-order-received-page table.shop_table,
.zerelle-order-received-page .woocommerce-table--order-details {
  border: 0;
  border-collapse: collapse;
  width: 100%;
  background: transparent;
}
.zerelle-order-received-page table.shop_table th,
.zerelle-order-received-page table.shop_table td {
  border-top: 1px solid var(--zerelle-border-on-light);
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  padding: 18px 0;
  font-size: 14px;
  letter-spacing: 0.03em;
  vertical-align: top;
  background: transparent;
  color: var(--zerelle-burgundy);
}
.zerelle-order-received-page table.shop_table thead th {
  border-top: 0;
  border-bottom: 1px solid var(--zerelle-border-on-light);
  padding: 0 0 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-order-received-page table.shop_table tfoot th,
.zerelle-order-received-page table.shop_table tfoot td {
  padding: 12px 0;
  font-size: 13px;
  font-weight: 400;
}
.zerelle-order-received-page table.shop_table tfoot tr:first-child th,
.zerelle-order-received-page table.shop_table tfoot tr:first-child td {
  padding-top: 22px;
}
.zerelle-order-received-page table.shop_table .product-total,
.zerelle-order-received-page table.shop_table tfoot td {
  text-align: right;
  white-space: nowrap;
}
.zerelle-order-received-page table.shop_table .order-total th,
.zerelle-order-received-page table.shop_table .order-total td {
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid var(--zerelle-burgundy);
  padding-top: 18px;
}
.zerelle-order-received-page .woocommerce-table__product-name a,
.zerelle-order-received-page .product-name a {
  color: var(--zerelle-burgundy);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.zerelle-order-received-page .woocommerce-table__product-name a:hover,
.zerelle-order-received-page .product-name a:hover {
  opacity: 0.7;
}
.zerelle-order-received-page .product-quantity {
  font-weight: 400;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-order-received-page ul.wc-item-meta {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.zerelle-order-received-page ul.wc-item-meta li {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 0.25em;
  align-items: baseline;
  justify-content: start;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--zerelle-text-muted-on-light);
}
.zerelle-order-received-page ul.wc-item-meta .wc-item-meta-label {
  float: none;
  clear: none;
  margin: 0;
  font-weight: 500;
  color: var(--zerelle-burgundy);
}
.zerelle-order-received-page ul.wc-item-meta li p,
.zerelle-order-received-page ul.wc-item-meta li div {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.zerelle-order-received-page .woocommerce-customer-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
}
.zerelle-order-received-page .woocommerce-customer-details::before,
.zerelle-order-received-page .woocommerce-customer-details::after {
  content: none !important;
  display: none !important;
}
.zerelle-order-received-page .woocommerce-customer-details .woocommerce-column,
.zerelle-order-received-page .woocommerce-columns--addresses .woocommerce-column {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}
.zerelle-order-received-page .woocommerce-customer-details address {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--zerelle-burgundy);
}
.zerelle-order-received-page .woocommerce-customer-details address p {
  margin: 0;
}
.zerelle-order-received-page .woocommerce-customer-details .woocommerce-customer-details--phone,
.zerelle-order-received-page .woocommerce-customer-details .woocommerce-customer-details--email {
  margin-top: 8px;
  font-size: 13px;
  color: var(--zerelle-text-muted-on-light);
}

@media (max-width: 900px) {
  .zerelle-cart-page .woocommerce,
  .zerelle-cart-page .wc-block-components-sidebar-layout.wc-block-cart,
  .zerelle-checkout-page .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  /* Mobile checkout: details → order summary (+ coupon) → payment / Place Order */
  .zerelle-checkout-page .zerelle-checkout-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "main"
      "column"
      "payment" !important;
    gap: 28px;
  }
  .zerelle-checkout-page .zerelle-checkout__main,
  .zerelle-checkout-page .zerelle-checkout__column,
  .zerelle-checkout-page .zerelle-checkout__payment {
    grid-column: auto;
  }
  .zerelle-checkout-page .zerelle-checkout__main {
    order: 1;
  }
  .zerelle-checkout-page .zerelle-checkout__column {
    order: 2;
    position: static;
  }
  .zerelle-checkout-page .zerelle-checkout__payment {
    order: 3;
  }
  .zerelle-cart-page .cart-collaterals,
  .zerelle-cart-page .wc-block-components-sidebar,
  .zerelle-cart-page .wc-block-cart__sidebar,
  .zerelle-checkout-page .wc-block-checkout__sidebar,
  .zerelle-checkout-page .wc-block-components-sidebar,
  .zerelle-checkout-page .zerelle-checkout__sidebar {
    position: static;
  }
  .zerelle-checkout-page .woocommerce-billing-fields__field-wrapper,
  .zerelle-checkout-page .woocommerce-shipping-fields__field-wrapper,
  .zerelle-checkout-page .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
  .zerelle-checkout-page .woocommerce-billing-fields__field-wrapper .form-row-first,
  .zerelle-checkout-page .woocommerce-billing-fields__field-wrapper .form-row-last,
  .zerelle-checkout-page .woocommerce-shipping-fields__field-wrapper .form-row-first,
  .zerelle-checkout-page .woocommerce-shipping-fields__field-wrapper .form-row-last {
    grid-column: 1;
  }
  .zerelle-cart-page table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-image,
  .zerelle-cart-page .wc-block-cart-item__image {
    width: 96px !important;
    min-width: 96px;
  }
  .zerelle-cart-page .wc-block-cart-item__image img,
  .zerelle-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img,
  .zerelle-cart-page .woocommerce-cart-form .product-thumbnail img {
    width: 96px !important;
    max-width: none !important;
    height: 96px !important;
    object-fit: contain;
  }
  .zerelle-checkout-page .wc-block-components-order-summary-item__image,
  .zerelle-checkout-page .wc-block-components-order-summary-item__image > img,
  .zerelle-checkout-page .wc-block-components-order-summary-item__image img,
  .zerelle-checkout-page .zerelle-checkout-summary__image,
  .zerelle-checkout-page .zerelle-checkout-summary__image img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
  }
  .zerelle-checkout-page .zerelle-checkout-summary__image {
    flex: 0 0 80px;
    flex-basis: 80px;
    width: 80px;
    height: 80px;
  }
  .zerelle-checkout-page .zerelle-checkout-summary__product {
    gap: 12px;
  }
  .zerelle-checkout-page .zerelle-checkout-summary__qty {
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 10px;
  }
  /* auto + 1%/nowrap lets the price column shrink to content (fixed ignores that) */
  .zerelle-checkout-page .zerelle-post__content table.shop_table.woocommerce-checkout-review-order-table,
  .zerelle-checkout-page .zerelle-checkout__sidebar table.shop_table,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table {
    table-layout: auto;
  }
  .zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item td.product-name,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot th {
    width: auto;
  }
  .zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item td.product-total,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot td {
    width: 1%;
    max-width: none;
    white-space: nowrap;
  }
  .zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item td.product-name {
    padding: 8px 10px 16px 0 !important;
  }
  .zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item td.product-total {
    padding: 8px 0 16px !important;
    font-size: 0.9375rem;
  }
  .zerelle-checkout-page .zerelle-checkout-summary__name {
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    line-height: 1.35;
  }
  .zerelle-checkout-page .woocommerce-checkout-review-order-table th,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table td,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot th,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table tfoot td,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table .order-total th,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table .order-total td,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table .shipping label {
    font-size: 0.9375rem;
  }
  .zerelle-checkout-page .woocommerce-checkout-review-order-table .variation dt,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table .variation dd,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table ul.wc-item-meta li {
    font-size: 0.8125rem;
  }
  .zerelle-checkout-page .woocommerce-checkout-review-order-table .shipping td {
    max-width: none;
  }
  .zerelle-checkout-page .zerelle-checkout__sidebar {
    padding: 24px 22px 22px;
  }
}

@media (max-width: 640px) {
  .zerelle-cart-page table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-image,
  .zerelle-cart-page .wc-block-cart-item__image {
    width: 72px !important;
    min-width: 72px;
  }
  .zerelle-cart-page .wc-block-cart-item__image img,
  .zerelle-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img,
  .zerelle-cart-page .woocommerce-cart-form .product-thumbnail img {
    width: 72px !important;
    max-width: none !important;
    height: 72px !important;
    object-fit: contain;
  }
  .zerelle-checkout-page .wc-block-components-order-summary-item__image,
  .zerelle-checkout-page .wc-block-components-order-summary-item__image > img,
  .zerelle-checkout-page .wc-block-components-order-summary-item__image img,
  .zerelle-checkout-page .zerelle-checkout-summary__image,
  .zerelle-checkout-page .zerelle-checkout-summary__image img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain;
  }
  .zerelle-checkout-page .zerelle-checkout-summary__image {
    flex: 0 0 72px;
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }
  .zerelle-checkout-page .zerelle-checkout-summary__product {
    gap: 10px;
  }
  .zerelle-checkout-page .zerelle-checkout-summary__qty {
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 10px;
  }
  .zerelle-checkout-page .zerelle-checkout-summary__name {
    font-size: 0.9375rem;
    line-height: 1.3;
  }
  .zerelle-checkout-page .woocommerce-checkout-review-order-table .variation dt,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table .variation dd,
  .zerelle-checkout-page .woocommerce-checkout-review-order-table ul.wc-item-meta li {
    font-size: 0.8125rem;
    line-height: 1.4;
  }
  .zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item td.product-name {
    padding: 6px 8px 14px 0 !important;
  }
  .zerelle-checkout-page .woocommerce-checkout-review-order-table tbody .cart_item td.product-total {
    padding: 6px 0 14px !important;
  }
  .zerelle-order-received-page .woocommerce-order-overview {
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    padding: 20px;
  }
  .zerelle-order-received-page .woocommerce-order-overview__email {
    grid-column: 1 / -1;
  }
  .zerelle-order-received-page .woocommerce-customer-details {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .zerelle-order-received-page ul.wc-item-meta li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ——— WooCommerce My Account (HASHI-inspired layout) ——— */
.zerelle-account-page .zerelle-content,
.zerelle-account-page .zerelle-wc,
.zerelle-account-page .entry-content,
.woocommerce-account .zerelle-content,
.woocommerce-account .zerelle-post__content {
  max-width: 1200px;
  margin-inline: auto;
  padding-top: 0;
  padding-bottom: 80px;
}
.zerelle-account-page .zerelle-page-hero__title {
  margin: 0 0 28px;
  font-family: var(--zerelle-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--zerelle-burgundy);
}
/* WC clearfix ::before/::after become grid items and break the 2-col layout */
.zerelle-account-page .woocommerce::before,
.zerelle-account-page .woocommerce::after {
  content: none !important;
  display: none !important;
}
.zerelle-account-page .woocommerce:has(.woocommerce-MyAccount-navigation) {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  column-gap: 40px;
  row-gap: 0;
  align-items: start;
}
.zerelle-account-page .woocommerce-MyAccount-navigation {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}
.zerelle-account-page .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.zerelle-account-page .woocommerce-MyAccount-navigation a {
  display: inline-block;
  padding: 10px 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zerelle-burgundy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: opacity .2s ease;
}
.zerelle-account-page .woocommerce-MyAccount-navigation li.is-active a,
.zerelle-account-page .woocommerce-MyAccount-navigation a:hover {
  opacity: 1;
  border-bottom-color: var(--zerelle-burgundy);
}
.zerelle-account-page .woocommerce-MyAccount-content {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}
.zerelle-account-page .woocommerce-MyAccount-content h2,
.zerelle-account-page .woocommerce-MyAccount-content h3 {
  font-family: var(--zerelle-font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.zerelle-account-page .woocommerce-MyAccount-content p,
.zerelle-account-page .woocommerce-MyAccount-content label {
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.zerelle-account-page .woocommerce-MyAccount-content .woocommerce-form-row input.input-text,
.zerelle-account-page .woocommerce-MyAccount-content .woocommerce-Input {
  width: 100%;
  max-width: 420px;
  padding: 12px 14px;
  border: 1px solid var(--zerelle-border-on-light);
  border-radius: 0;
  font-size: 14px;
}
.zerelle-account-page .woocommerce-orders-table {
  border: 0;
}
.zerelle-account-page .woocommerce-orders-table th,
.zerelle-account-page .woocommerce-orders-table td {
  border-top: 1px solid var(--zerelle-border-on-light);
  padding: 16px 12px;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.zerelle-saved-designs__intro {
  margin: 0 0 24px;
  color: var(--zerelle-gray);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.zerelle-saved-designs__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.zerelle-saved-designs__item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  background: var(--zerelle-white);
  border: 1px solid var(--zerelle-border-on-light);
}
.zerelle-saved-designs__thumb img,
.zerelle-saved-designs__placeholder {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  background: rgba(0,0,0,.03);
}
.zerelle-saved-designs__title {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.zerelle-saved-designs__date {
  margin: 0;
  font-size: 11px;
  color: var(--zerelle-gray);
  letter-spacing: 0.06em;
}
.zerelle-saved-designs__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.zerelle-saved-designs__open.button {
  padding: 10px 18px !important;
  font-size: 10px !important;
}
@media (max-width: 768px) {
  .zerelle-account-page .woocommerce:has(.woocommerce-MyAccount-navigation) {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 28px;
  }
  .zerelle-account-page .woocommerce-MyAccount-navigation,
  .zerelle-account-page .woocommerce-MyAccount-content {
    grid-column: 1;
    grid-row: auto;
  }
  .zerelle-account-page .woocommerce-MyAccount-navigation ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .zerelle-saved-designs__item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .zerelle-saved-designs__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
  }
}

/* —— Shared mobile/tablet overflow & gutter polish —— */
@media (max-width: 479px) {
  :root {
    --zerelle-gutter: 14px;
  }
  .zerelle-footer-hero {
    min-height: 360px;
  }
  .zerelle-footer-hero__bottom {
    padding-block: 16px;
  }
  .zerelle-nl-popup {
    padding: var(--zerelle-gutter);
  }
  .zerelle-account-dropdown {
    padding: 12px;
  }
  .zerelle-account-dropdown__tabs {
    gap: 6px;
  }
  .zerelle-account-dropdown__tab {
    font-size: 0.8rem;
    letter-spacing: 0;
  }
  .zerelle-account-dropdown .iti input.iti__tel-input {
    padding-left: 78px !important;
  }
}

@media (max-width: 374px) {
  :root {
    --zerelle-gutter: 12px;
  }
  .zerelle-header__utils {
    gap: 8px;
  }
  .zerelle-logo__img {
    max-width: min(140px, 38vw);
  }
  .zerelle-logo__text {
    font-size: clamp(1.05rem, 5.4vw, 1.25rem);
  }
}

/* Prevent WooCommerce tables/forms from blowing out the viewport */
.zerelle-cart-page .woocommerce,
.zerelle-checkout-page .woocommerce,
.zerelle-account-page .woocommerce,
.zerelle-order-received-page .woocommerce,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  min-width: 0;
  max-width: 100%;
}
.zerelle-cart-page .woocommerce table.shop_table,
.zerelle-order-received-page table.shop_table,
.zerelle-checkout-page .wc-block-components-sidebar-layout,
.zerelle-cart-page .wc-block-components-sidebar-layout {
  width: 100%;
  max-width: 100%;
}
.zerelle-cart-page .woocommerce-cart-form,
.zerelle-cart-page .wc-block-cart__main,
.zerelle-checkout-page .wc-block-checkout__main,
.zerelle-account-page .woocommerce-MyAccount-content {
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.zerelle-contact-page input,
.zerelle-contact-page textarea,
.zerelle-contact-page select,
.zerelle-nl-signup__form input,
.zerelle-nl-signup__form button,
.zerelle-nl-popup__form input,
.zerelle-nl-popup__form button,
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea,
.wc-block-components-text-input input,
.wc-block-components-textarea textarea {
  max-width: 100%;
  box-sizing: border-box;
}
.zerelle-home-blocks,
.zerelle-post__content,
.entry-content {
  min-width: 0;
  overflow-wrap: break-word;
}
.zerelle-post__content img,
.entry-content img,
.zerelle-post__content table,
.entry-content table,
.zerelle-post__content iframe,
.entry-content iframe,
.zerelle-post__content video,
.entry-content video {
  max-width: 100%;
  height: auto;
}
.zerelle-post__content table,
.entry-content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* -------------------------------------------------------------------------
   Image save protection (deterrent — not DRM)
   ------------------------------------------------------------------------- */
img,
picture,
svg,
video {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
