/*
Theme Name: Ezz AlOud
Description: Active local custom block-theme foundation for Ezz AlOud; unpublished branded shell under review.
Version: 0.9.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: ezz-eloud
*/

:root {
  --ezz-green: #58652d;
  --ezz-green-deep: #35411c;
  --ezz-ink: #26271f;
  /* Lighter warm wash (0.8.35) — between prior #fbfaf6 and pure white */
  --ezz-cream: #fefefc;
  --ezz-ivory: #ffffff;
  --ezz-paige: #e8e1c4;
  --ezz-line: #dedccf;
  --ezz-muted: #6c6d61;
  --ezz-body-font: "Tajawal Local", Tahoma, Arial, sans-serif;
  --ezz-display-font: "Noto Naskh Arabic Local", Tahoma, Arial, sans-serif;
  --ezz-shell-max: 1440px;
  --ezz-radius-frame: clamp(1.25rem, 4vw, 2rem);
  --ezz-radius-card: 1.1rem;
  --ezz-logo-header-h: clamp(2.8rem, 10.8vw, 4.05rem);
  --ezz-logo-header-mw: min(52vw, 12.6rem);
  --ezz-logo-footer-h: clamp(2.4rem, 8vw, 3.25rem);
  --ezz-logo-footer-mw: min(48vw, 11.5rem);
}

html[lang^="ar"] {
  --ezz-body-font: "Tajawal Local", Tahoma, Arial, sans-serif;
  --ezz-display-font: "Noto Naskh Arabic Local", Tahoma, Arial, sans-serif;
}

html[lang^="en"] {
  --ezz-body-font: "Manrope Local", Arial, sans-serif;
  --ezz-display-font: "Cormorant Garamond Local", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ezz-cream); color: var(--ezz-ink); font-family: var(--ezz-body-font); line-height: 1.65; }
a { color: var(--ezz-green-deep); text-underline-offset: 0.18em; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.ezz-skip-link:focus {
  outline: 3px solid #b28b42;
  outline-offset: 3px;
}
h1, h2, h3, .wp-block-site-title,
.woocommerce h1, .woocommerce h2, .woocommerce h3,
.ezz-commerce h1, .ezz-commerce h2, .ezz-commerce h3,
.ezz-search-title, .ezz-qv-title {
  font-family: var(--ezz-display-font);
  font-weight: 600;
  letter-spacing: -0.015em;
}
body, button, input, select, textarea,
.woocommerce, .woocommerce button, .woocommerce input, .woocommerce select, .woocommerce textarea {
  font-family: var(--ezz-body-font);
}

html.ezz-nav-open,
html.ezz-cart-open,
html.ezz-search-open,
html.ezz-qv-open { overflow: hidden; }

/* Reusable visual primitives */
.ezz-media-frame {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: clamp(14rem, 56vw, 28rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(88, 101, 45, 0.2);
  border-radius: var(--ezz-radius-frame);
  background: var(--ezz-paige);
}
.ezz-media-frame--decorated::before {
  position: absolute;
  inset: 10% 14%;
  border: 1px solid rgba(53, 65, 28, 0.34);
  border-radius: 48% 52% 42% 58%;
  content: "";
  transform: rotate(-14deg);
}
.ezz-media-frame--decorated::after {
  position: absolute;
  inset: 22% 27%;
  border-radius: 50%;
  background: rgba(255, 254, 250, 0.52);
  box-shadow: 1.5rem 2rem 0 rgba(88, 101, 45, 0.18), -2rem -1rem 0 rgba(255, 254, 250, 0.28);
  content: "";
}
.ezz-surface-card {
  display: block;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--ezz-line);
  border-radius: var(--ezz-radius-card);
  background: var(--ezz-ivory);
  color: var(--ezz-green-deep);
}

/* Header shell */
.ezz-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(222, 220, 207, 0.42);
  background: rgba(254, 254, 252, 0.96);
  backdrop-filter: blur(14px);
}
.ezz-header__inner {
  width: min(100% - 2rem, var(--ezz-shell-max));
  min-height: 4.85rem;
  margin-inline: auto;
  padding-block: 0.55rem;
  gap: 0.85rem;
  align-items: center;
  box-sizing: border-box;
}
.ezz-header__brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  align-self: center;
}
.ezz-desktop-nav { display: none; flex: 1 1 auto; min-width: 0; }
.ezz-desktop-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ezz-desktop-nav__list a {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: var(--ezz-green-deep);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.ezz-desktop-nav__list a:hover { background: rgba(88, 101, 45, 0.08); }
/* Brand lockup: scoped against WooCommerce/global img width rules on cart/checkout/account. */
.ezz-full-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  max-width: var(--ezz-logo-header-mw);
  line-height: 0;
  text-decoration: none;
}
.ezz-full-logo--footer { max-width: var(--ezz-logo-footer-mw); }
.ezz-site-header .ezz-full-logo__image,
.ezz-site-footer .ezz-full-logo__image,
.woocommerce-page .ezz-full-logo__image,
.woocommerce-cart .ezz-full-logo__image,
.woocommerce-checkout .ezz-full-logo__image,
.woocommerce-account .ezz-full-logo__image,
.ezz-full-logo__image {
  display: block;
  width: auto !important;
  max-width: var(--ezz-logo-header-mw) !important;
  height: var(--ezz-logo-header-h) !important;
  max-height: var(--ezz-logo-header-h) !important;
  object-fit: contain !important;
  object-position: center;
  aspect-ratio: auto;
}
.ezz-full-logo--footer .ezz-full-logo__image {
  max-width: var(--ezz-logo-footer-mw) !important;
  height: var(--ezz-logo-footer-h) !important;
  max-height: var(--ezz-logo-footer-h) !important;
}
.ezz-full-logo:hover { opacity: 0.92; }

.ezz-header__tools {
  display: inline-flex;
  margin-inline-start: auto;
  align-items: center;
  align-self: center;
  gap: 0.15rem;
}
.ezz-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}
.ezz-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem;
  border: 1px solid var(--ezz-line);
  border-radius: 999px;
  background: var(--ezz-ivory);
}
.ezz-lang__active,
.ezz-lang__inactive {
  display: inline-flex;
  min-width: 1.5rem;
  min-height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}
.ezz-lang__active { background: var(--ezz-green); color: var(--ezz-ivory); }
.ezz-lang__inactive { color: var(--ezz-muted); cursor: not-allowed; opacity: 0.72; }
.ezz-cart-link,
.ezz-menu-toggle,
.ezz-nav-close,
.ezz-cart-close,
.ezz-search-toggle,
.ezz-search-close {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ezz-green-deep);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.ezz-cart-link:hover,
.ezz-menu-toggle:hover,
.ezz-nav-close:hover,
.ezz-cart-close:hover,
.ezz-search-toggle:hover,
.ezz-search-close:hover {
  background: rgba(88, 101, 45, 0.08);
}
.ezz-cart-link { position: relative; }
.ezz-search-toggle { margin-inline-end: 0.2rem; }
.ezz-cart-link__label,
.ezz-menu-toggle__label,
.ezz-search-toggle__label {
  font-size: 0.86rem;
  font-weight: 600;
}
.ezz-cart-link__count {
  position: absolute;
  top: 0.2rem;
  inset-inline-end: 0.15rem;
  display: inline-flex;
  width: 0.95rem;
  height: 0.95rem;
  min-width: 0.95rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: var(--ezz-green);
  color: var(--ezz-ivory);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}
.ezz-cart-link__count[hidden] { display: none !important; }
.ezz-menu-toggle .ezz-icon--close { display: none; }
.ezz-menu-toggle[aria-expanded="true"] .ezz-icon--menu { display: none; }
.ezz-menu-toggle[aria-expanded="true"] .ezz-icon--close { display: block; }

.ezz-nav-layer[hidden],
.ezz-cart-layer[hidden],
.ezz-search-layer[hidden],
.ezz-qv-layer[hidden] { display: none !important; }
.ezz-nav-layer,
.ezz-cart-layer,
.ezz-search-layer,
.ezz-qv-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
}
.ezz-cart-layer { z-index: 1001; }
.ezz-search-layer { z-index: 1002; }
.ezz-qv-layer {
  z-index: 1003;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}
.ezz-nav-backdrop,
.ezz-cart-backdrop,
.ezz-search-backdrop,
.ezz-qv-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(38, 39, 31, 0.42);
}
.ezz-nav-panel,
.ezz-cart-panel,
.ezz-search-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  z-index: 1;
  display: flex;
  width: min(100%, 22rem);
  height: 100%;
  min-height: 100%;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.05rem 1rem;
  background: var(--ezz-ivory);
  box-shadow: -0.75rem 0 2rem rgba(38, 39, 31, 0.12);
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
[dir="ltr"] .ezz-nav-panel,
[dir="ltr"] .ezz-cart-panel,
[dir="ltr"] .ezz-search-panel { inset-inline-end: auto; inset-inline-start: 0; box-shadow: 0.75rem 0 2rem rgba(38, 39, 31, 0.12); }
.ezz-nav-panel__header,
.ezz-cart-panel__header,
.ezz-search-panel__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ezz-nav-panel__header h2,
.ezz-cart-panel__header h2,
.ezz-search-panel__header h2 {
  margin: 0.15rem 0 0;
  color: var(--ezz-green-deep);
  font-family: var(--ezz-display-font);
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.ezz-nav-panel__links { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.ezz-nav-panel__links a {
  display: flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--ezz-line);
  border-radius: 0.9rem;
  color: var(--ezz-green-deep);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}
.ezz-nav-panel__links a:hover { background: var(--ezz-cream); }
.ezz-nav-panel__note { margin: 0; color: var(--ezz-muted); font-size: 0.88rem; }

.ezz-search-form { display: grid; gap: 0.75rem; }
.ezz-search-form__input {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--ezz-line);
  border-radius: 0.9rem;
  background: var(--ezz-cream);
  color: var(--ezz-ink);
  font: inherit;
}
.ezz-search-form__submit {
  min-height: 2.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--ezz-green);
  color: var(--ezz-ivory);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ezz-search-panel__note { margin: 0; color: var(--ezz-muted); font-size: 0.88rem; }
.ezz-search-shell { width: min(100% - 2rem, var(--ezz-shell-max)); margin-inline: auto; padding-block: 1.5rem 2.5rem; }
.ezz-search-title { color: var(--ezz-green-deep); font-family: var(--ezz-display-font); }
.ezz-search-results { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.ezz-search-card { padding: 0.85rem; }
.ezz-empty-state {
  width: min(100% - 2rem, 36rem);
  margin: 1.5rem auto 2rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid var(--ezz-line);
  border-radius: var(--ezz-radius-card);
  background: var(--ezz-ivory);
  color: var(--ezz-muted);
  text-align: center;
}
.ezz-empty-state p { margin: 0 0 0.65rem; }
.ezz-empty-state p:last-child { margin-bottom: 0; }
.ezz-empty-state__kicker {
  margin: 0 0 0.35rem !important;
  color: var(--ezz-green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ezz-empty-state__title {
  margin: 0 0 0.75rem !important;
  color: var(--ezz-green-deep);
  font-family: var(--ezz-display-font);
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  line-height: 1.15;
}
.ezz-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem !important;
}
.ezz-empty-state__cta {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--ezz-green);
  color: var(--ezz-ivory) !important;
  font-weight: 700;
  text-decoration: none;
}
.ezz-empty-state__cta:hover { background: var(--ezz-green-deep); }
.ezz-empty-state__link {
  color: var(--ezz-green-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.ezz-error-main { padding-block: clamp(2rem, 8vw, 4rem); }
.ezz-empty-state--404 { margin-block: 0; }

.woocommerce .cart-empty,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  border-radius: 0.9rem;
  border-color: var(--ezz-line);
  background: var(--ezz-ivory);
  color: var(--ezz-green-deep);
}
.woocommerce-account .woocommerce-MyAccount-content > p:only-child {
  padding: 1rem;
  border: 1px solid var(--ezz-line);
  border-radius: 0.9rem;
  background: var(--ezz-ivory);
  color: var(--ezz-muted);
}
/* Beat Woo `.woocommerce form.login { margin:2em 0; padding:20px }` (higher specificity). */
body.woocommerce-account .woocommerce form.woocommerce-form-login,
body.woocommerce-account .woocommerce form.woocommerce-form-register,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword,
body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register {
  float: none !important;
  clear: both;
  width: 100% !important;
  max-width: 28rem;
  margin: 0 auto !important;
  padding: 1.15rem 1.1rem 1.1rem !important;
  border: 1px solid var(--ezz-line) !important;
  border-radius: var(--ezz-radius-card);
  background: var(--ezz-ivory);
  font-family: var(--ezz-body-font);
  box-shadow: none;
  box-sizing: border-box;
  text-align: start;
}
body.woocommerce-account main.ezz-page-main {
  padding-block: 0.65rem 0.35rem;
}
body.woocommerce-account .woocommerce {
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  padding-block: 0.25rem 0.35rem;
  float: none !important;
  box-sizing: border-box;
}
body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after {
  content: none !important;
  display: none !important;
}

/*
 * Guest My Account (login / lost password): fill the viewport, center the auth card,
 * pin the footer to the bottom so cream empty space isn't a dead band under the footer.
 */
body.woocommerce-account:not(.logged-in) .wp-site-blocks {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
}
body.woocommerce-account:not(.logged-in) main.ezz-page-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - 2rem, var(--ezz-shell-max));
  padding-block: 1rem 0.85rem;
}
body.woocommerce-account:not(.logged-in) .wp-site-blocks > footer.wp-block-template-part {
  margin-block-start: 0 !important;
  margin-top: auto !important;
  flex: 0 0 auto;
  width: 100%;
}
body.woocommerce-account:not(.logged-in) .ezz-site-footer {
  margin-block-start: 0;
  margin-inline: auto;
  padding-block: 0.75rem 1rem;
}
.woocommerce-account .woocommerce > h2,
.woocommerce-account .woocommerce-MyAccount-content > h2 {
  text-align: center;
  margin: 0 0 1.1rem;
  color: var(--ezz-green-deep);
  font-family: "Noto Naskh Arabic Local", Tahoma, Arial, sans-serif !important;
  font-size: clamp(1.5rem, 4.5vw, 1.95rem) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em;
}
.woocommerce-account .woocommerce-form-login .form-row,
.woocommerce-account .woocommerce-form-register .form-row,
.woocommerce-account .woocommerce-ResetPassword .form-row,
.woocommerce-account .woocommerce-form-login .form-row-wide,
.woocommerce-account .woocommerce-form-login .woocommerce-form-row {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 0.95rem !important;
  padding: 0 !important;
  box-sizing: border-box;
}
.woocommerce-account h1,
.woocommerce-account h2,
.woocommerce-account .wp-block-post-title,
.woocommerce-account .entry-title,
.woocommerce-account .woocommerce-MyAccount-content > h2,
.woocommerce-account .woocommerce-MyAccount-content > h3 {
  color: var(--ezz-green-deep);
  font-family: var(--ezz-display-font) !important;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.woocommerce-account label,
.woocommerce-account .woocommerce-form-login label,
.woocommerce-account .woocommerce-form-register label,
.woocommerce-account .woocommerce-ResetPassword label {
  color: var(--ezz-green-deep);
  font-family: var(--ezz-body-font) !important;
  font-weight: 600;
}
.woocommerce-account .woocommerce-form-login .form-row > label:not(.woocommerce-form__label-for-checkbox),
.woocommerce-account .woocommerce-form-register .form-row > label:not(.woocommerce-form__label-for-checkbox),
.woocommerce-account .woocommerce-ResetPassword .form-row > label {
  display: block;
  width: 100%;
  margin: 0 0 0.4rem;
  text-align: start;
  float: none !important;
  unicode-bidi: isolate;
}
body.woocommerce-account .form-row > label .required,
body.woocommerce-account .woocommerce-form-login label .required,
body.woocommerce-account .woocommerce-form-register label .required,
body.woocommerce-account .woocommerce-ResetPassword label .required,
body.woocommerce-account label span.required {
  display: inline !important;
  float: none !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #8a3a2a !important;
  font-weight: 700;
  line-height: inherit;
}
.woocommerce-account input.input-text,
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account textarea,
.woocommerce-account select {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 2.85rem;
  box-sizing: border-box;
  border: 1px solid var(--ezz-line) !important;
  border-radius: 0.75rem !important;
  background: var(--ezz-ivory) !important;
  color: var(--ezz-ink) !important;
  font-family: var(--ezz-body-font) !important;
  font-size: 1rem !important;
  padding: 0.7rem 0.85rem !important;
  box-shadow: none !important;
  outline: none !important;
}
.woocommerce-account .password-input {
  display: block;
  position: relative;
  width: 100%;
}
.woocommerce-account .password-input input.input-text,
.woocommerce-account .password-input input[type="password"] {
  padding-inline-end: 2.75rem !important;
}
.woocommerce-account .password-input .show-password-input,
.woocommerce-account .show-password-input {
  position: absolute;
  inset-inline-end: 0.65rem;
  inset-block-start: 50%;
  transform: translateY(-50%);
  z-index: 1;
  margin: 0;
}
.woocommerce-account input:focus,
.woocommerce-account input:focus-visible,
.woocommerce-account textarea:focus,
.woocommerce-account textarea:focus-visible,
.woocommerce-account select:focus,
.woocommerce-account select:focus-visible {
  /* Same focus-only inset chrome as checkout â€” not the global outer gold ring */
  outline: none !important;
  outline-offset: 0 !important;
  border-color: #b28b42 !important;
  box-shadow: inset 0 0 0 2px #b28b42 !important;
}
.woocommerce-account input:-webkit-autofill,
.woocommerce-account input:-webkit-autofill:hover,
.woocommerce-account input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ezz-ink);
  caret-color: var(--ezz-ink);
  border: 1px solid var(--ezz-line) !important;
  box-shadow: 0 0 0 1000px var(--ezz-ivory) inset !important;
  transition: background-color 99999s ease-in-out 0s;
}
.woocommerce-account input:-webkit-autofill:focus {
  border-color: #b28b42 !important;
  box-shadow: 0 0 0 1000px var(--ezz-ivory) inset, inset 0 0 0 2px #b28b42 !important;
}
/* Remember-me + submit: one row on desktop, stacked on mobile */
.woocommerce-account .woocommerce-form-login .form-row:has(.woocommerce-form-login__submit),
.woocommerce-account .woocommerce-form-login .form-row:has(button[name="login"]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 0.25rem !important;
  margin-bottom: 0.35rem !important;
}
.woocommerce-account .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-weight: 600;
}
.woocommerce-account .woocommerce-form-login button.button,
.woocommerce-account .woocommerce-form-register button.button,
.woocommerce-account .woocommerce-ResetPassword button.button,
.woocommerce-account .woocommerce-form-login__submit {
  border: 0 !important;
  border-radius: 0.75rem !important;
  background: var(--ezz-green) !important;
  color: var(--ezz-ivory) !important;
  font-family: var(--ezz-body-font) !important;
  font-weight: 700 !important;
  min-height: 2.85rem;
  padding: 0.65rem 1.35rem !important;
  margin: 0 !important;
  box-shadow: none !important;
  float: none !important;
}
.woocommerce-account .lost_password {
  clear: both;
  margin: 0.65rem 0 0;
  text-align: center;
  font-family: var(--ezz-body-font);
}
.woocommerce-account .lost_password a {
  color: var(--ezz-green-deep);
  font-weight: 600;
}
@media (max-width: 767px) {
  .woocommerce-account .woocommerce-form-login,
  .woocommerce-account .woocommerce-form-register,
  .woocommerce-account .woocommerce-ResetPassword {
    width: 100% !important;
    max-width: none;
    margin-inline: 0;
  }
  body.woocommerce-account .woocommerce {
    max-width: none;
  }
  /* Mobile login card: tighter, lighter frame */
  body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login,
  body.woocommerce-account:not(.logged-in) .woocommerce form.login {
    padding: 0.95rem 0.95rem 0.85rem !important;
    border-color: color-mix(in srgb, var(--ezz-line) 70%, transparent) !important;
    border-width: 1px !important;
    box-shadow: none !important;
  }
  body.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row,
  body.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row-wide {
    margin-bottom: 0.7rem !important;
  }
  body.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row:has(.woocommerce-form-login__submit),
  body.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row:has(button[name="login"]) {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.1rem !important;
    margin-bottom: 0.15rem !important;
  }
  body.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
    order: 1;
    justify-content: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
  }
  body.woocommerce-account:not(.logged-in) .woocommerce-form-login__submit,
  body.woocommerce-account:not(.logged-in) .woocommerce-form-login button.button {
    order: 2;
    width: 100%;
    justify-content: center;
    min-height: 2.7rem;
  }
  body.woocommerce-account:not(.logged-in) .lost_password {
    margin-top: 0.45rem;
  }
  /* Custom olive checkbox */
  body.woocommerce-account:not(.logged-in) .woocommerce-form__input-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    flex: 0 0 1.15rem;
    border: 1.5px solid var(--ezz-green);
    border-radius: 0.28rem;
    background: var(--ezz-ivory);
    display: inline-grid;
    place-content: center;
    vertical-align: middle;
    cursor: pointer;
  }
  body.woocommerce-account:not(.logged-in) .woocommerce-form__input-checkbox::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    transform: scale(0);
    transition: transform 0.12s ease;
    background-color: var(--ezz-ivory);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  body.woocommerce-account:not(.logged-in) .woocommerce-form__input-checkbox:checked {
    background: var(--ezz-green);
    border-color: var(--ezz-green);
  }
  body.woocommerce-account:not(.logged-in) .woocommerce-form__input-checkbox:checked::before {
    transform: scale(1);
  }
  body.woocommerce-account:not(.logged-in) .woocommerce-form__input-checkbox:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--ezz-green) 45%, transparent);
    outline-offset: 2px;
  }
  /* Password eye: smaller, lighter, touch-friendly */
  body.woocommerce-account:not(.logged-in) .password-input .show-password-input,
  body.woocommerce-account:not(.logged-in) .show-password-input {
    inset-inline-end: 0.35rem;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.55;
    background-size: 1.05rem 1.05rem !important;
  }
  body.woocommerce-account:not(.logged-in) .password-input input.input-text,
  body.woocommerce-account:not(.logged-in) .password-input input[type="password"] {
    padding-inline-end: 2.6rem !important;
  }
}
.woocommerce-account .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-account .woocommerce-form-register-toggle .woocommerce-info {
  text-align: start;
}

.ezz-qv-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  max-height: min(88dvh, 40rem);
  margin: 0;
  overflow: auto;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: var(--ezz-ivory);
  box-shadow: 0 0.75rem 2.25rem rgba(38, 39, 31, 0.18);
}
.ezz-qv-close {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.65rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ezz-green-deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.ezz-qv-grid { display: grid; gap: 1rem; }
.ezz-qv-media {
  width: min(100%, 11.5rem);
  margin-inline: auto;
}
.ezz-qv-media img,
.ezz-qv-media .ezz-qv-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 11.5rem;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--ezz-paige);
}
.ezz-qv-title { margin: 0; color: var(--ezz-green-deep); font-family: var(--ezz-display-font); font-size: clamp(1.35rem, 4vw, 2rem); }
.ezz-qv-price { color: var(--ezz-green); font-weight: 700; }
.ezz-qv-cart { margin: 0.35rem 0 0; }
.ezz-qv-cta {
  display: grid;
  grid-template-columns: auto 2.75rem 2.75rem;
  gap: 0.45rem;
  align-items: stretch;
  justify-content: start;
}
.ezz-qv-cta .quantity,
.ezz-qv-cta .ezz-qty {
  margin: 0;
}
.ezz-qv-icon-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.75rem !important;
  min-width: 2.75rem;
  max-width: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0 !important;
  border-radius: 0.75rem !important;
  font-size: 0 !important;
  line-height: 0 !important;
  gap: 0;
  position: relative;
  box-sizing: border-box;
  text-decoration: none;
}
.ezz-qv-icon-btn::before {
  content: "";
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.ezz-qv-icon-btn--cart {
  background: var(--ezz-green) !important;
  border: 0 !important;
  color: var(--ezz-ivory) !important;
}
.ezz-qv-icon-btn--cart::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 7h14l-1.2 11H6.2L5 7Z' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 7h14l-1.2 11H6.2L5 7Z' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}
.ezz-qv-icon-btn--cart:hover,
.ezz-qv-icon-btn--cart:focus-visible {
  background: var(--ezz-green-deep) !important;
  color: var(--ezz-ivory) !important;
}
.ezz-qv-icon-btn--details {
  background: transparent !important;
  border: 1px solid var(--ezz-line) !important;
  color: var(--ezz-green-deep) !important;
}
.ezz-qv-icon-btn--details::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.4' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.4' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E");
}
.ezz-qv-icon-btn--details:hover,
.ezz-qv-icon-btn--details:focus-visible {
  background: rgba(88, 101, 45, 0.08) !important;
  border-color: var(--ezz-green) !important;
  color: var(--ezz-green-deep) !important;
}
.ezz-qv-cta .single_add_to_cart_button.ezz-atc-loading::before,
.ezz-qv-cta .single_add_to_cart_button.loading::before {
  opacity: 0;
}
.ezz-qv-details {
  margin: 0.35rem 0 0;
  text-align: center;
}
.ezz-qv-details-link {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border: 1px solid var(--ezz-line);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--ezz-green-deep);
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
}
.ezz-qv-details-link:hover,
.ezz-qv-details-link:focus-visible {
  border-color: var(--ezz-green);
  background: rgba(88, 101, 45, 0.06);
  color: var(--ezz-green-deep);
}
/* Shop card actions: icon pair (ATC + quick view) side by side */
.woocommerce ul.products li.product > .button::before {
  content: "";
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 auto;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.woocommerce ul.products li.product > a.button.add_to_cart_button::before,
.woocommerce ul.products li.product > a.button.product_type_simple::before,
.woocommerce ul.products li.product > a.button.product_type_variable::before,
.woocommerce ul.products li.product > a.button.product_type_grouped::before,
.woocommerce ul.products li.product > a.button.product_type_external::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 7h14l-1.2 11H6.2L5 7Z' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 7h14l-1.2 11H6.2L5 7Z' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}
.woocommerce ul.products li.product > .button.ezz-qv-trigger {
  background: transparent !important;
  border: 1px solid var(--ezz-line) !important;
  color: var(--ezz-green-deep) !important;
  box-shadow: none !important;
}
.woocommerce ul.products li.product > .button.ezz-qv-trigger::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.4' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.4' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E");
}
.woocommerce ul.products li.product > .button.ezz-qv-trigger:hover,
.woocommerce ul.products li.product > .button.ezz-qv-trigger:focus-visible {
  background: rgba(88, 101, 45, 0.08) !important;
  border-color: var(--ezz-green) !important;
  color: var(--ezz-green-deep) !important;
}
.woocommerce ul.products li.product > a.button.ezz-atc-loading::before,
.woocommerce ul.products li.product > a.button.loading::before {
  opacity: 0;
}
.ezz-qv-status, .ezz-qv-fallback-note { color: var(--ezz-muted); }
.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;
}

/* Skip link: visually hidden until keyboard focus (Batch 17). */
.ezz-skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0.85rem;
  z-index: 10050;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--ezz-green-deep);
  color: var(--ezz-ivory);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.16s ease;
}
.ezz-skip-link:focus,
.ezz-skip-link:focus-visible {
  transform: translateY(0);
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
}

.ezz-desktop-nav__list .ezz-nav-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}
.ezz-desktop-nav__list .ezz-nav-child a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ezz-muted);
}
.ezz-nav-panel__links .ezz-nav-child {
  display: grid;
  gap: 0.25rem;
  margin: 0.25rem 0 0.35rem;
  padding: 0;
  padding-inline-start: 0.85rem;
  list-style: none;
}
.ezz-nav-panel__links .ezz-nav-child a {
  min-height: 2.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.ezz-cart-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ezz-nav-panel,
.ezz-search-panel {
  overflow: auto;
}
.ezz-cart-panel .woocommerce-mini-cart__empty-message { margin: 0; color: var(--ezz-muted); }
.ezz-cart-panel .woocommerce-mini-cart {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.ezz-cart-panel .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  grid-template-areas:
    "link remove"
    "meta remove";
  column-gap: 0.35rem;
  row-gap: 0.3rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--ezz-line);
}
.ezz-cart-panel .woocommerce-mini-cart-item:last-child {
  border-bottom: 0;
}
/* Product link: image on the inline-start (right in RTL) + name beside it */
.ezz-cart-panel .woocommerce-mini-cart-item > a:not(.remove) {
  grid-area: link;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ezz-green-deep);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  min-width: 0;
}
.ezz-cart-panel .woocommerce-mini-cart-item img {
  flex: 0 0 3.35rem;
  width: 3.35rem !important;
  height: 3.35rem !important;
  max-width: 3.35rem !important;
  object-fit: cover;
  border-radius: 0.55rem;
  background: var(--ezz-paige);
}
/* Quantity Ã— price grouped under the name (not across the drawer) */
.ezz-cart-panel .woocommerce-mini-cart-item .quantity {
  grid-area: meta;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
  margin: 0;
  padding-inline-start: calc(3.35rem + 0.65rem);
  color: var(--ezz-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}
.ezz-cart-panel .woocommerce-mini-cart-item .quantity .amount {
  color: var(--ezz-green-deep);
  font-weight: 700;
}
/* Trash remove â€” proper touch target (keeps Woo remove link behavior) */
.ezz-cart-panel .woocommerce-mini-cart-item a.remove {
  grid-area: remove;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--ezz-green-deep);
  font-size: 0 !important;
  line-height: 0;
  text-decoration: none;
  text-indent: 0;
}
.ezz-cart-panel .woocommerce-mini-cart-item a.remove::before {
  content: "";
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  background-color: currentColor;
  opacity: 0.75;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 7h16M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2m-9 0v12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V7M10 11v6M14 11v6' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 7h16M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2m-9 0v12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V7M10 11v6M14 11v6' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ezz-cart-panel .woocommerce-mini-cart-item a.remove:hover,
.ezz-cart-panel .woocommerce-mini-cart-item a.remove:focus-visible {
  background: rgba(138, 58, 42, 0.08);
  color: #8a3a2a;
}
.ezz-cart-panel .woocommerce-mini-cart-item a.remove:hover::before,
.ezz-cart-panel .woocommerce-mini-cart-item a.remove:focus-visible::before {
  opacity: 1;
}
.ezz-cart-panel .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 0.45rem 0 0;
  padding: 0.65rem 0 0.15rem;
  border-top: 1px solid var(--ezz-line);
  color: var(--ezz-green-deep);
  font-weight: 700;
}
/* Keep branded .ezz-cart-panel__routes only â€” hide Woo mini-cart CTA pair */
.ezz-cart-panel .woocommerce-mini-cart__buttons {
  display: none !important;
}
.ezz-cart-panel__routes {
  display: grid;
  grid-template-columns: 1.45fr 1fr; /* checkout ~59% | cart ~41% */
  gap: 0.55rem;
  flex: 0 0 auto;
  margin-top: 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--ezz-line);
  background: var(--ezz-ivory);
}
.ezz-cart-panel__route {
  display: inline-flex;
  min-height: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  font-family: var(--ezz-body-font);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}
.ezz-cart-panel__route--cart {
  border: 1px solid var(--ezz-green);
  color: var(--ezz-green-deep);
  background: transparent;
}
.ezz-cart-panel__route--checkout {
  border: 1px solid var(--ezz-green);
  background: var(--ezz-green);
  color: var(--ezz-ivory);
}
.ezz-cart-panel__route--cart:hover,
.ezz-cart-panel__route--cart:focus-visible {
  background: rgba(88, 101, 45, 0.1);
  border-color: var(--ezz-green);
  color: var(--ezz-green-deep);
}
.ezz-cart-panel__route--checkout:hover,
.ezz-cart-panel__route--checkout:focus-visible {
  background: var(--ezz-green-deep);
  border-color: var(--ezz-green-deep);
  color: var(--ezz-ivory);
}

/* Home shell */
.ezz-home-shell { overflow-x: clip; }
.ezz-home-shell > .ezz-hero, .ezz-home-shell > .ezz-browse, .ezz-home-shell > .ezz-campaign, .ezz-home-shell > .ezz-explore, .ezz-home-shell > .ezz-closing { width: min(100% - 2rem, var(--ezz-shell-max)); max-width: none; margin-inline: auto; }
.ezz-category-strip { width: 100%; margin-block: 0 0.65rem; border-bottom: 1px solid var(--ezz-line); background: var(--ezz-ivory); }
.ezz-category-strip__viewport { overflow-x: auto; scrollbar-width: none; touch-action: pan-x; }
.ezz-category-strip__viewport::-webkit-scrollbar { display: none; }
.ezz-category-strip__track { display: flex; width: max-content; min-width: 100%; align-items: center; gap: 1rem; padding: 0.75rem 1rem; animation: ezz-category-drift 17s linear infinite; }
.ezz-category-strip__track span,
.ezz-category-strip__track > p,
.ezz-category-strip__track > .wp-block-paragraph {
  display: inline-flex;
  margin: 0;
  min-height: 2rem;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border: 1px solid var(--ezz-line);
  border-radius: 999px;
  color: var(--ezz-green-deep);
  white-space: nowrap;
}
.ezz-category-strip__track span[aria-hidden="true"],
.ezz-category-strip__track .ezz-strip-echo { opacity: 0.78; }
.ezz-category-strip__viewport:hover .ezz-category-strip__track, .ezz-category-strip__viewport:focus-within .ezz-category-strip__track { animation-play-state: paused; }
@keyframes ezz-category-drift { from { transform: translateX(0); } to { transform: translateX(-22%); } }
[dir="rtl"] .ezz-category-strip__track { animation-name: ezz-category-drift-rtl; }
@keyframes ezz-category-drift-rtl { from { transform: translateX(0); } to { transform: translateX(22%); } }

.ezz-hero { display: grid; gap: clamp(1rem, 3vw, 2.25rem); align-items: stretch; padding-block: clamp(1.1rem, 4vw, 2.75rem); }
.ezz-hero__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(0.15rem, 1.5vw, 0.75rem) 0; }
.ezz-kicker { margin: 0 0 0.5rem; color: var(--ezz-green); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.ezz-hero h1 { max-width: 12ch; margin: 0; color: var(--ezz-green-deep); font-size: clamp(2.55rem, 9vw, 5.35rem); line-height: 0.98; }
.ezz-hero__copy { max-width: 34rem; margin-block: 1rem 0; color: var(--ezz-muted); font-size: clamp(1rem, 2vw, 1.15rem); }
.ezz-hero__actions { margin-top: 1.25rem; }
.ezz-hero__actions .wp-block-button__link, .ezz-browse__action .wp-block-button__link { border-radius: 999px; background: var(--ezz-green); color: var(--ezz-ivory); padding: 0.8rem 1.25rem; text-decoration: none; }
.ezz-hero__actions .wp-block-button__link:hover, .ezz-browse__action .wp-block-button__link:hover { background: var(--ezz-green-deep); }

.ezz-hero__visual { min-height: clamp(16rem, 64vw, 30rem); }
.ezz-campaign-frame { min-height: clamp(13rem, 48vw, 22rem); }

.ezz-browse, .ezz-campaign, .ezz-explore, .ezz-closing { padding-block: clamp(1.75rem, 4vw, 2.75rem); }
.ezz-browse h2, .ezz-campaign h2 { margin: 0; color: var(--ezz-green-deep); font-size: clamp(1.85rem, 4.5vw, 3.15rem); line-height: 1; }
.ezz-browse__intro, .ezz-campaign__copy { max-width: 38rem; color: var(--ezz-muted); }
.ezz-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin-top: 1.25rem; }
.ezz-browse__action { margin-top: 1.1rem; }
.ezz-discovery { border-top: 1px solid var(--ezz-line); }
.ezz-discovery-grid { gap: 0.65rem; }
.ezz-discovery-card { min-height: 8rem; }
.ezz-discovery-card__index, .ezz-explore__index { display: block; color: var(--ezz-green); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; }
.ezz-discovery-card h3, .ezz-explore__item h3 { margin: 0.45rem 0 0; color: var(--ezz-green-deep); font-family: var(--ezz-display-font); font-size: clamp(1.35rem, 2.8vw, 1.85rem); line-height: 1.05; }
.ezz-discovery-card p, .ezz-explore__item p { margin: 0.45rem 0 0; color: var(--ezz-muted); font-size: 0.92rem; }
.ezz-campaign__inner { display: grid; gap: 1.25rem; align-items: center; }
.ezz-editorial { border-top: 1px solid var(--ezz-line); }
.ezz-explore { display: grid; gap: 1.25rem; border-top: 1px solid var(--ezz-line); }
.ezz-explore__header { max-width: 38rem; }
.ezz-explore h2, .ezz-closing h2 { margin: 0; color: var(--ezz-green-deep); font-size: clamp(1.85rem, 4.5vw, 3.15rem); line-height: 1; }
.ezz-explore__intro, .ezz-closing > p:not(.ezz-kicker) { max-width: 34rem; color: var(--ezz-muted); }
.ezz-explore__grid { display: grid; gap: 0.65rem; }
.ezz-explore__item { padding: 1.05rem; border-top: 2px solid var(--ezz-green); background: var(--ezz-ivory); }
.ezz-closing { border-top: 1px solid var(--ezz-line); text-align: center; }
.ezz-closing > p:not(.ezz-kicker),
.ezz-closing .ezz-closing__link-wrap { margin-inline: auto; }
.ezz-closing__link-wrap { margin-top: 0.65rem; }
.ezz-closing__link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.6rem; margin-top: 0; padding: 0.75rem 1.15rem; border-radius: 999px; background: var(--ezz-green); color: var(--ezz-ivory); text-decoration: none; }
.ezz-closing__link:hover { background: var(--ezz-green-deep); }

/* Page shell â€” keep short policy/content pages from stretching a huge empty band above the footer */
.ezz-page-main {
  width: min(100% - 2rem, var(--ezz-shell-max));
  margin-inline: auto;
  padding-block: 0.85rem 0.75rem;
}
.wp-site-blocks {
  min-height: auto !important;
}
.wp-site-blocks > footer,
.wp-site-blocks > .ezz-site-footer {
  margin-block-start: 0 !important;
  flex: 0 0 auto;
}

/* Footer â€” compact chrome under content (no viewport-fill stretch) */
.ezz-site-footer {
  width: min(100% - 2rem, var(--ezz-shell-max));
  margin: 0.5rem auto 0;
  padding-block: 0.85rem 1rem;
  border-top: 1px solid var(--ezz-line);
  color: var(--ezz-muted);
}
body.woocommerce-account .ezz-site-footer {
  margin-block-start: 0.25rem;
  padding-block: 0.75rem 0.9rem;
}
.ezz-footer__inner { width: 100%; gap: 0.85rem 1.25rem; align-items: center; }
.ezz-footer__routes { display: inline-flex; flex-wrap: wrap; gap: 0.55rem 1rem; }
.ezz-footer__routes a { color: var(--ezz-green-deep); font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.ezz-footer__routes a:hover { color: var(--ezz-green); }

/* WooCommerce presentation layer â€” styling only; native markup/behavior retained */
.ezz-commerce { width: min(100% - 2rem, var(--ezz-shell-max)); margin-inline: auto; padding-block: 0.75rem 2rem; overflow-x: clip; }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 0.35rem; color: var(--ezz-muted); font-size: 0.88rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--ezz-green-deep); text-decoration: none; }
.woocommerce .woocommerce-products-header { margin: 0 0 0.85rem; }
.woocommerce .woocommerce-products-header__title, .woocommerce .page-title, .woocommerce div.product .product_title {
  margin: 0 0 0.35rem;
  color: var(--ezz-green-deep);
  font-family: var(--ezz-display-font);
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { color: var(--ezz-muted); font-size: 0.92rem; margin: 0.35rem 0 0.85rem; }
.woocommerce .woocommerce-ordering select, .woocommerce input.input-text, .woocommerce textarea, .woocommerce select, .woocommerce .input-text {
  max-width: 100%;
  border: 1px solid var(--ezz-line);
  border-radius: 0.75rem;
  background: var(--ezz-ivory);
  color: var(--ezz-ink);
  padding: 0.65rem 0.8rem;
}
/* Mobile-first: two catalogue columns (even with one product) */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  clear: both;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  align-content: start;
  float: none !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0.55rem;
  border: 1px solid var(--ezz-line);
  border-radius: var(--ezz-radius-card);
  background: var(--ezz-ivory);
}
.woocommerce ul.products li.product > *:not(.button) {
  grid-column: 1 / -1;
}
.woocommerce ul.products li.product a img { width: 100%; height: auto; margin: 0 0 0.75rem; border-radius: 0.8rem; object-fit: cover; aspect-ratio: 1 / 1; background: var(--ezz-paige); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0; color: var(--ezz-green-deep); font-family: var(--ezz-display-font); font-size: clamp(0.95rem, 3.6vw, 1.15rem); line-height: 1.2; }
.woocommerce ul.products li.product .price { display: block; margin: 0.45rem 0 0.75rem; color: var(--ezz-green); font-weight: 600; }
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce button.button.alt, .woocommerce a.button.alt {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--ezz-green) !important;
  color: var(--ezz-ivory) !important;
  padding: 0.7rem 1.35rem;
  font-family: var(--ezz-body-font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  box-sizing: border-box;
}
.woocommerce ul.products li.product .button {
  width: 100%;
  min-width: 0;
  min-height: 2.65rem;
  margin: 0;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  gap: 0;
  position: relative;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover {
  background: var(--ezz-green-deep) !important;
}
.woocommerce ul.products li.product .button.ezz-qv-trigger:hover,
.woocommerce ul.products li.product .button.ezz-qv-trigger:focus-visible {
  background: rgba(88, 101, 45, 0.08) !important;
  border-color: var(--ezz-green) !important;
  color: var(--ezz-green-deep) !important;
}
/* Add-to-cart spinner â€” keep count updates; drawer stays closed (shell.js) */
@keyframes ezz-atc-spin {
  to { transform: rotate(360deg); }
}
.woocommerce a.button.ezz-atc-loading,
.woocommerce button.button.ezz-atc-loading,
.woocommerce a.button.loading,
.woocommerce button.button.loading,
.add_to_cart_button.ezz-atc-loading,
.single_add_to_cart_button.ezz-atc-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.woocommerce a.button.ezz-atc-loading::after,
.woocommerce button.button.ezz-atc-loading::after,
.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after,
.add_to_cart_button.ezz-atc-loading::after,
.single_add_to_cart_button.ezz-atc-loading::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 1.15rem;
  height: 1.15rem;
  margin-block-start: -0.575rem;
  margin-inline-start: -0.575rem;
  border: 2px solid rgba(255, 254, 250, 0.35);
  border-block-start-color: var(--ezz-ivory);
  border-radius: 50%;
  animation: ezz-atc-spin 0.65s linear infinite;
}
.woocommerce nav.woocommerce-pagination { margin-top: 1.5rem; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; border: 0; margin: 0; padding: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  min-width: 2.4rem;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ezz-line);
  border-radius: 999px;
  background: var(--ezz-ivory);
  color: var(--ezz-green-deep);
  text-decoration: none;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ezz-green); border-color: var(--ezz-green); color: var(--ezz-ivory); }
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-error, .woocommerce-page .woocommerce-info, .woocommerce-page .woocommerce-message, .woocommerce-page .woocommerce-error {
  border-top: 0;
  border-inline-start: 3px solid var(--ezz-green);
  border-radius: 0.9rem;
  background: var(--ezz-ivory);
  color: var(--ezz-ink);
  padding: 0.9rem 1rem;
}
.woocommerce .woocommerce-error { border-inline-start-color: #8a3b2c; }
.woocommerce .cart-empty, .woocommerce .woocommerce-info.cart-empty { text-align: center; }
.woocommerce .return-to-shop { text-align: center; margin-top: 1rem; }
.woocommerce .return-to-shop .button,
.woocommerce a.button.wc-backward {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  padding: 0.6rem 1.35rem;
  border-radius: 0.75rem;
  background: var(--ezz-green);
  color: var(--ezz-ivory);
  font-weight: 700;
  text-decoration: none;
}
.woocommerce-mini-cart__empty-message {
  margin: 0.35rem 0 0.85rem;
  padding: 0.9rem 0.85rem;
  border: 1px dashed var(--ezz-line);
  border-radius: 0.85rem;
  background: var(--ezz-cream);
  color: var(--ezz-muted);
  text-align: center;
}
.ezz-cart-panel__body:has(.woocommerce-mini-cart__empty-message) + .ezz-cart-panel__routes .ezz-cart-panel__route--checkout {
  opacity: 0.45;
  pointer-events: none;
}

.woocommerce div.product { display: grid; gap: 1.25rem; }
.woocommerce div.product div.images { margin: 0; }
.woocommerce div.product div.images img { width: 100%; height: auto; border-radius: var(--ezz-radius-frame); background: var(--ezz-paige); }
.woocommerce div.product div.summary { margin: 0; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ezz-green); font-size: 1.25rem; font-weight: 700; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1rem; }
.woocommerce div.product form.cart .quantity .qty,
.woocommerce div.product form.cart .ezz-qty__select { width: 4.75rem; text-align: center; }

/* Branded quantity select (classic + Blocks enhancement) */
.ezz-qty,
.woocommerce .quantity.ezz-qty {
  display: inline-flex;
  align-items: stretch;
  margin: 0;
}
.ezz-qty__select,
.woocommerce .ezz-qty__select,
.wc-block-components-quantity-selector.ezz-qty--blocks .ezz-qty__select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 4.5rem;
  min-height: 2.75rem;
  padding: 0.45rem 1.85rem 0.45rem 0.7rem;
  border: 1px solid var(--ezz-line);
  border-radius: 0.75rem;
  background-color: var(--ezz-ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6.2 8 10l4-3.8' stroke='%2358652d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.55rem center;
  background-size: 0.9rem;
  color: var(--ezz-green-deep);
  font-family: var(--ezz-body-font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
}
[dir="rtl"] .ezz-qty__select,
[dir="rtl"] .woocommerce .ezz-qty__select,
[dir="rtl"] .wc-block-components-quantity-selector.ezz-qty--blocks .ezz-qty__select,
html[lang^="ar"] .ezz-qty__select {
  padding: 0.45rem 0.7rem 0.45rem 1.85rem;
  background-position: left 0.55rem center;
  text-align: center;
}
.ezz-qty__select:focus,
.ezz-qty__select:focus-visible {
  outline: none;
  border-color: var(--ezz-green);
  box-shadow: inset 0 0 0 1px var(--ezz-green);
}
.wc-block-components-quantity-selector.ezz-qty--blocks {
  display: inline-flex !important;
  align-items: stretch;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  overflow: visible !important;
}
.wc-block-components-quantity-selector.ezz-qty--blocks .wc-block-components-quantity-selector__button,
.wc-block-components-quantity-selector.ezz-qty--blocks .wc-block-components-quantity-selector__input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.woocommerce div.product .product_meta { margin-top: 1.25rem; color: var(--ezz-muted); font-size: 0.9rem; }
.woocommerce div.product .woocommerce-tabs { margin-top: 1.5rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1rem; padding: 0; border-bottom: 1px solid var(--ezz-line); list-style: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: transparent; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: var(--ezz-green-deep);
  text-decoration: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--ezz-green); color: var(--ezz-ivory); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 0; border: 0; background: transparent; }
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2 { color: var(--ezz-green-deep); font-family: var(--ezz-display-font); font-size: clamp(1.5rem, 3vw, 2.25rem); }
.ezz-commerce--single .woocommerce-product-gallery { position: relative; }

.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-block: 0.25rem 2rem;
  box-sizing: border-box;
}
body.woocommerce-account .woocommerce {
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  padding-block: 0.25rem 0.35rem;
  float: none !important;
  box-sizing: border-box;
}
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--ezz-line);
  border-radius: 1rem;
  background: var(--ezz-ivory);
  overflow: hidden;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  border-color: var(--ezz-line);
  padding: 0.85rem 0.9rem;
  text-align: start;
  vertical-align: middle;
}
.woocommerce-cart table.cart img { width: 4rem; height: auto; border-radius: 0.55rem; }
.woocommerce .cart_totals h2, .woocommerce-checkout .woocommerce-billing-fields h3, .woocommerce-checkout .woocommerce-additional-fields h3, .woocommerce-checkout #order_review_heading, .woocommerce-account .woocommerce h2, .woocommerce-account .woocommerce h3 {
  color: var(--ezz-green-deep);
  font-family: var(--ezz-display-font);
  font-size: clamp(1.35rem, 3vw, 2rem);
}
.woocommerce-checkout .col2-set, .woocommerce-account .u-columns { display: grid; gap: 1.25rem; }
.woocommerce form .form-row { margin: 0 0 0.85rem; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: 0.3rem; color: var(--ezz-green-deep); font-weight: 600; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { width: 100%; }
.woocommerce-checkout #payment { border: 1px solid var(--ezz-line); border-radius: 1rem; background: var(--ezz-ivory); padding: 0.65rem; }
.woocommerce-checkout #payment div.payment_box { background: var(--ezz-cream); color: var(--ezz-ink); border-radius: 0.75rem; }

/* Cart + Checkout â€” light brand only (Batch 21R2). Do not rewrite Woo Blocks layout. */
body.woocommerce-cart,
body.woocommerce-checkout {
  overflow-x: clip;
}
body.woocommerce-cart main.ezz-page-main,
body.woocommerce-checkout main.ezz-page-main {
  /* Shell gutter already from .ezz-page-main â€” do not nest another 100%-2rem */
  overflow-x: clip;
  max-width: min(100% - 2rem, var(--ezz-shell-max));
  box-sizing: border-box;
  padding-block-start: 0.45rem;
}
/* Empty store-notices must not leave a dead band under the header */
body.woocommerce-cart .wp-block-woocommerce-store-notices:empty,
body.woocommerce-checkout .wp-block-woocommerce-store-notices:empty,
body.woocommerce-cart .wc-block-components-notice-banner:empty,
body.woocommerce-checkout .wc-block-components-notice-banner:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}
body.woocommerce-cart main.ezz-page-main .entry-content,
body.woocommerce-checkout main.ezz-page-main .entry-content,
body.woocommerce-cart .entry-header,
body.woocommerce-checkout .entry-header,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block,
body.woocommerce-checkout .wp-block-woocommerce-empty-cart-block {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  box-sizing: border-box;
}
.woocommerce-cart,
.woocommerce-checkout,
.wc-block-cart,
.wc-block-checkout {
  --ezz-muted: #4a4b42;
  font-family: var(--ezz-body-font);
  color: var(--ezz-ink);
}
.woocommerce-cart h1,
.woocommerce-checkout h1,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-cart .wp-block-post-title,
.woocommerce-checkout .wp-block-post-title,
.wc-block-components-title,
.wc-block-components-checkout-step__title,
.wc-block-components-checkout-step__heading,
.wp-block-woocommerce-cart .wp-block-heading,
.wp-block-woocommerce-checkout .wp-block-heading,
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-billing-address-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-order-note-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-actions-block .wc-block-components-checkout-step__title {
  color: var(--ezz-green-deep);
  font-family: var(--ezz-display-font) !important;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.woocommerce-cart,
.woocommerce-checkout,
.wc-block-cart,
.wc-block-checkout,
.wc-block-components-totals-item,
.wc-block-components-product-name,
.wc-block-components-product-metadata {
  font-family: var(--ezz-body-font);
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
  color: var(--ezz-green-deep);
  font-weight: 700;
}
/* Inputs: brand chrome only â€” keep Woo floating labels; extra top padding so filled values clear the label */
.woocommerce-cart input.input-text,
.woocommerce-cart textarea,
.woocommerce-cart select,
.woocommerce-cart .qty,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .qty,
.wc-block-components-text-input input,
.wc-block-components-textarea textarea,
.wc-block-components-combobox input,
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
  max-width: 100%;
  border: 1px solid var(--ezz-line) !important;
  border-radius: 0.75rem !important;
  background: var(--ezz-ivory) !important;
  color: var(--ezz-ink) !important;
  font-family: var(--ezz-body-font) !important;
  font-size: 1rem !important;
  box-shadow: none !important;
}
.wc-block-components-text-input input,
.wc-block-components-textarea textarea,
.wc-block-components-combobox input {
  min-height: 3.15rem;
  padding: 1.4rem 0.85rem 0.45rem !important;
}
.woocommerce-cart input.input-text,
.woocommerce-cart textarea,
.woocommerce-cart select,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  min-height: 2.85rem;
  padding: 0.7rem 0.85rem !important;
}
.wc-block-components-text-input label,
.wc-block-components-textarea label,
.wc-block-components-combobox label,
.wc-block-components-checkbox label,
.wc-block-components-radio-control__label,
.woocommerce-cart label,
.woocommerce-checkout label {
  color: var(--ezz-green-deep);
  font-family: var(--ezz-body-font);
  font-weight: 600;
}
.woocommerce-cart input:focus,
.woocommerce-checkout input:focus,
.woocommerce-cart textarea:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-cart select:focus,
.woocommerce-checkout select:focus,
.wc-block-components-text-input input:focus,
.wc-block-components-textarea textarea:focus,
.wc-block-components-combobox input:focus,
.woocommerce-cart input:focus-visible,
.woocommerce-checkout input:focus-visible,
.woocommerce-cart textarea:focus-visible,
.woocommerce-checkout textarea:focus-visible,
.woocommerce-cart select:focus-visible,
.woocommerce-checkout select:focus-visible,
.wc-block-components-text-input input:focus-visible,
.wc-block-components-textarea textarea:focus-visible,
.wc-block-components-combobox input:focus-visible {
  /* Focus only â€” Woo `.is-active` means â€œhas valueâ€, not focused */
  outline: none !important;
  border-color: #b28b42 !important;
  box-shadow: inset 0 0 0 2px #b28b42 !important;
}
/* Filled/floating-label fields stay quiet until actually focused */
.wc-block-components-text-input.is-active input:not(:focus),
.wc-block-components-combobox.is-active input:not(:focus),
.wc-block-components-textarea.is-active textarea:not(:focus) {
  border-color: var(--ezz-line) !important;
  box-shadow: none !important;
}
.wc-block-components-text-input,
.wc-block-components-textarea,
.wc-block-components-combobox,
.wc-block-components-select-control {
  /* Room for brand chrome without clipping neighbouring fields */
  margin-block: 0.15rem;
}
.woocommerce-cart .button,
.woocommerce-cart button.button,
.woocommerce-checkout .button,
.woocommerce-checkout button.button,
.woocommerce-checkout #place_order,
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-checkout .wc-block-components-checkout-place-order-button,
.wc-block-components-button:not(.is-link):not(.wc-block-components-quantity-selector__button) {
  border: 0 !important;
  border-radius: 0.75rem !important;
  background: var(--ezz-green) !important;
  color: var(--ezz-ivory) !important;
  font-family: var(--ezz-body-font) !important;
  font-weight: 700 !important;
  padding-inline: 1.35rem !important;
  box-shadow: none !important;
  transition: background-color 0.15s ease;
}
.woocommerce-cart .button:hover,
.woocommerce-checkout .button:hover,
.woocommerce-checkout #place_order:hover,
.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
.woocommerce-cart .button:focus-visible,
.woocommerce-checkout #place_order:focus-visible,
.wc-block-cart .wc-block-cart__submit-button:focus-visible,
.wc-block-checkout .wc-block-components-checkout-place-order-button:focus-visible {
  background: var(--ezz-green-deep) !important;
  color: var(--ezz-ivory) !important;
}
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart .coupon .button,
.wc-block-components-totals-coupon__button {
  background: transparent !important;
  border: 1px solid var(--ezz-line) !important;
  color: var(--ezz-green-deep) !important;
}
.woocommerce-cart .cart_totals,
.woocommerce-checkout #order_review,
.wc-block-components-totals-wrapper,
.wc-block-cart__sidebar,
.wp-block-woocommerce-cart-order-summary-block,
.wp-block-woocommerce-checkout-order-summary-block {
  border: 1px solid var(--ezz-line);
  border-radius: 1rem;
  background: var(--ezz-ivory);
  padding: 1rem;
}
/* Radio cards â€” brand borders only; leave Woo option layout alone */
.wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control__option {
  border: 1px solid var(--ezz-line) !important;
  border-radius: 0.85rem !important;
  background: var(--ezz-ivory) !important;
  box-shadow: none !important;
}
.wc-block-components-radio-control__option--checked,
.wc-block-components-radio-control-accordion-option--checked,
.wc-block-components-radio-control__option:has(input:checked) {
  border-color: var(--ezz-green) !important;
  background: var(--ezz-cream) !important;
  box-shadow: none !important;
}
/* Payment â€” same card treatment as shipping (no outer black frame, no inset accent bar) */
.wc-block-checkout__payment-method .wc-block-components-radio-control,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control,
.wc-block-checkout__payment-method,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
}
.wc-block-checkout__payment-method .wc-block-components-radio-control__option,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option {
  border: 1px solid var(--ezz-line) !important;
  border-radius: 0.85rem !important;
  margin: 0 0 0.5rem !important;
  background: var(--ezz-ivory) !important;
  box-shadow: none !important;
}
.wc-block-checkout__payment-method .wc-block-components-radio-control__option--checked,
.wc-block-checkout__payment-method .wc-block-components-radio-control__option:has(input:checked),
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option--checked,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option:has(input:checked),
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option--checked {
  border-color: var(--ezz-green) !important;
  background: var(--ezz-cream) !important;
  box-shadow: none !important;
}
.wc-block-checkout__payment-method .wc-block-components-radio-control__option-layout,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option-layout {
  padding-block: 0.85rem;
}
.wc-block-components-checkbox .wc-block-components-checkbox__input,
.wc-block-components-radio-control__input {
  accent-color: var(--ezz-green);
}
/* Kuwait is the only allowed country in Woo settings â€” keep the control visible/native. */
.wc-block-checkout .wc-block-components-country-input select,
.wc-block-checkout #shipping-country,
.wc-block-checkout #billing-country,
.woocommerce-checkout #billing_country,
.woocommerce-checkout #shipping_country {
  appearance: auto;
  -webkit-appearance: auto;
}
.wc-block-components-quantity-selector {
  border: 1px solid var(--ezz-line) !important;
  border-radius: 0.75rem !important;
  background: var(--ezz-ivory) !important;
}
.wc-block-components-notice-banner,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  border-radius: 0.85rem;
  font-family: var(--ezz-body-font);
}

/* Empty cart + order confirmation â€” brand fonts, Arabic-first, mobile gutters */
body.woocommerce-cart .wp-block-post-title,
body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-order-received .wp-block-post-title,
body.woocommerce-order-received .wc-block-order-confirmation-status,
body.woocommerce-order-received h1,
.wc-block-cart__empty-cart__title,
.wp-block-woocommerce-empty-cart-block .wp-block-heading {
  color: var(--ezz-green-deep);
  font-family: var(--ezz-display-font);
  font-weight: 600;
}
.wp-block-woocommerce-empty-cart-block {
  padding-block: 0.5rem 1.5rem;
  text-align: center;
  font-family: var(--ezz-body-font);
}
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
  /* Drop Wooâ€™s generic sad-face; keep brand typography only */
  display: none !important;
  content: none !important;
}
.wc-block-cart__empty-cart__title {
  margin: 0.35rem auto 1rem;
  max-width: 22rem;
  font-size: clamp(1.35rem, 5vw, 1.75rem) !important;
  line-height: 1.25;
}
.wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
  margin: 1.25rem 0 0.85rem;
  font-size: clamp(1.15rem, 4vw, 1.4rem) !important;
  font-family: var(--ezz-display-font);
  color: var(--ezz-green-deep);
}
.wp-block-woocommerce-empty-cart-block .wp-block-separator {
  margin: 1rem auto;
  border-color: var(--ezz-line);
  opacity: 0.7;
}
.wp-block-woocommerce-empty-cart-block .wc-block-components-product-button__button,
.wp-block-woocommerce-empty-cart-block .add_to_cart_button,
.wp-block-woocommerce-empty-cart-block .wp-block-button__link {
  border-radius: 0.75rem !important;
  background: var(--ezz-green) !important;
  color: var(--ezz-ivory) !important;
  font-family: var(--ezz-body-font) !important;
  font-weight: 700 !important;
  padding-inline: 1.35rem !important;
}
.wp-block-woocommerce-empty-cart-block .wc-block-components-product-title,
.wp-block-woocommerce-empty-cart-block .wp-block-post-title,
.wp-block-woocommerce-empty-cart-block .wc-block-components-product-price {
  font-family: var(--ezz-body-font);
  color: var(--ezz-green-deep);
}
body.woocommerce-order-received main.ezz-page-main,
body.woocommerce-order-received .ezz-order-confirmation {
  overflow-x: clip;
  box-sizing: border-box;
}
body.woocommerce-order-received .wc-block-order-confirmation-status,
body.woocommerce-order-received .woocommerce-order,
body.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-family: var(--ezz-body-font);
  color: var(--ezz-ink);
}
body.woocommerce-order-received .wc-block-order-confirmation-status {
  margin: 0 0 0.85rem;
  font-size: clamp(1.4rem, 5.5vw, 1.85rem) !important;
  line-height: 1.2;
  color: var(--ezz-green-deep);
  font-family: var(--ezz-display-font);
}
body.woocommerce-order-received .wc-block-order-confirmation-summary,
body.woocommerce-order-received .wc-block-order-confirmation-totals,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-address,
body.woocommerce-order-received .wc-block-order-confirmation-billing-address,
body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-table--order-details {
  font-family: var(--ezz-body-font);
}
body.woocommerce-order-received h2,
body.woocommerce-order-received .wp-block-heading {
  color: var(--ezz-green-deep);
  font-family: var(--ezz-display-font);
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  line-height: 1.25;
  margin-inline: 0;
}
body.woocommerce-order-received .woocommerce-table--order-details,
body.woocommerce-order-received table.shop_table {
  border: 1px solid var(--ezz-line);
  border-radius: 0.85rem;
  background: var(--ezz-ivory);
  overflow: hidden;
}
body.woocommerce-order-received .woocommerce-table--order-details th,
body.woocommerce-order-received .woocommerce-table--order-details td,
body.woocommerce-order-received table.shop_table th,
body.woocommerce-order-received table.shop_table td {
  padding: 0.75rem 0.9rem;
}
@media (max-width: 767px) {
  body.woocommerce-cart .wp-block-post-title,
  body.woocommerce-checkout .wp-block-post-title,
  body.woocommerce-cart h1.entry-title,
  body.woocommerce-checkout h1.entry-title {
    font-family: var(--ezz-display-font) !important;
    font-size: clamp(1.4rem, 5.5vw, 1.7rem);
    line-height: 1.2;
    margin: 0 0 0.65rem;
    padding-inline: 0;
  }
  body.woocommerce-order-received .wc-block-order-confirmation-status {
    font-size: clamp(1.35rem, 6vw, 1.65rem) !important;
  }
  body.woocommerce-order-received .wc-block-order-confirmation-address-wrapper,
  body.woocommerce-order-received .alignwide,
  body.woocommerce-cart .alignwide,
  body.woocommerce-checkout .alignwide {
    margin-inline: 0 !important;
    max-width: 100% !important;
    padding-inline: 0;
  }
}

.woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 1.25rem; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--ezz-line);
  border-radius: 0.85rem;
  background: var(--ezz-ivory);
  color: var(--ezz-green-deep);
  text-decoration: none;
  font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--ezz-green); border-color: var(--ezz-green); color: var(--ezz-ivory); }
.woocommerce .woocommerce-page .entry-content,
.woocommerce-page .entry-header {
  width: min(100% - 2rem, var(--ezz-shell-max));
  margin-inline: auto;
}
/* Inside .ezz-page-main the shell is already constrained â€” never nest another 100%-2rem */
body.woocommerce-cart.woocommerce-page .entry-content,
body.woocommerce-checkout.woocommerce-page .entry-content,
body.woocommerce-cart.woocommerce-page .entry-header,
body.woocommerce-checkout.woocommerce-page .entry-header,
body.woocommerce-cart main.ezz-page-main .entry-content,
body.woocommerce-checkout main.ezz-page-main .entry-content {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

@media (min-width: 768px) {
  .ezz-desktop-nav { display: block; }
  .ezz-menu-toggle { display: none !important; }
  .ezz-nav-layer,
  .ezz-nav-layer[hidden] { display: none !important; }

  /* Desktop product search: centered dialog, not a stretched edge sheet. */
  .ezz-search-layer:not([hidden]) {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(4.75rem, 11vh, 6.5rem) 1.25rem 2rem;
  }
  .ezz-search-panel {
    position: relative;
    inset: auto;
    top: auto;
    bottom: auto;
    inset-inline-end: auto;
    inset-inline-start: auto;
    width: min(100%, 34rem);
    height: auto;
    min-height: 0;
    max-height: min(78vh, 26rem);
    gap: 1rem;
    padding: 1.35rem 1.4rem 1.45rem;
    border-radius: 1.2rem;
    box-shadow: 0 1.15rem 2.75rem rgba(38, 39, 31, 0.16);
  }
  [dir="ltr"] .ezz-search-panel {
    inset-inline-end: auto;
    inset-inline-start: auto;
    box-shadow: 0 1.15rem 2.75rem rgba(38, 39, 31, 0.16);
  }
  .ezz-search-panel__header h2 {
    font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  }

  /* Desktop category discovery: static wrapping row; hide marquee echo pills. */
  .ezz-category-strip__viewport {
    overflow: visible;
    touch-action: auto;
  }
  .ezz-category-strip__track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: min(100% - 2rem, var(--ezz-shell-max));
    min-width: 0;
    margin-inline: auto;
    gap: 0.65rem 0.85rem;
    padding: 0.9rem 1rem 1.05rem;
    animation: none !important;
    transform: none !important;
  }
  .ezz-category-strip__track .ezz-strip-echo {
    display: none !important;
  }
  .ezz-category-strip__track > p,
  .ezz-category-strip__track > .wp-block-paragraph {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .ezz-desktop-nav { display: none !important; }
}

@media (min-width: 560px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 700px) {
  .ezz-hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); padding-block: 2.25rem; }
  .ezz-browse, .ezz-campaign, .ezz-explore, .ezz-closing { padding-block: 2.1rem; }
  .ezz-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ezz-campaign__inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .ezz-campaign-frame { order: -1; }
  .ezz-explore { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: end; }
  .ezz-explore__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ezz-menu-toggle__label { display: inline; }
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .woocommerce div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; }
  .ezz-qv-media {
    width: 100%;
    max-width: 16rem;
    margin-inline: 0;
  }
  .ezz-qv-media img,
  .ezz-qv-media .ezz-qv-image {
    max-height: 16rem;
  }
  .woocommerce-checkout .col2-set, .woocommerce-account .u-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce-account .woocommerce-MyAccount-content, .woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: auto; }
  .woocommerce-account .u-columns { display: grid; }
  .ezz-qv-panel {
    width: min(92vw, 52rem);
    max-height: min(86vh, 36rem);
  }
  .ezz-qv-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
  .ezz-search-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .woocommerce ul.products:has(> li.product:only-child) {
    grid-template-columns: minmax(0, 18rem);
    justify-content: start;
  }
}

@media (max-width: 699px) {
  .ezz-header__inner {
    min-height: 3.55rem;
    padding-block: 0.35rem;
    align-items: center;
  }
  .ezz-site-header {
    --ezz-logo-header-h: 2.55rem;
    --ezz-logo-header-mw: min(48vw, 11.25rem);
  }
  .ezz-cart-link__label,
  .ezz-menu-toggle__label,
  .ezz-search-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .ezz-cart-link,
  .ezz-menu-toggle,
  .ezz-search-toggle {
    position: relative;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.35rem;
  }
  .ezz-cart-link__count {
    top: 0.12rem;
    inset-inline-end: 0.1rem;
    width: 0.9rem;
    height: 0.9rem;
    min-width: 0.9rem;
    font-size: 0.55rem;
  }
  .ezz-lang {
    margin-inline-end: 0.05rem;
    padding: 0.12rem;
  }
  .ezz-lang__active,
  .ezz-lang__inactive {
    min-width: 1.4rem;
    min-height: 1.4rem;
    font-size: 0.64rem;
  }
  .ezz-search-toggle {
    margin-inline-end: 0.28rem;
  }
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none !important;
    width: 100% !important;
    margin: 0 0 0.65rem !important;
  }
  .woocommerce .woocommerce-ordering select {
    width: 100%;
  }
  .woocommerce ul.products li.product {
    padding: 0.85rem;
  }
  .woocommerce div.product form.cart {
    position: sticky;
    bottom: 0.75rem;
    z-index: 5;
    padding: 0.75rem;
    border: 1px solid var(--ezz-line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
  }
  .woocommerce table.shop_table_responsive tr { display: block; margin-bottom: 0.85rem; border: 1px solid var(--ezz-line); border-radius: 0.85rem; background: var(--ezz-ivory); }
  .woocommerce table.shop_table_responsive tr td { display: block; text-align: start !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ezz-skip-link { transition: none !important; }
  .ezz-category-strip__track,
  .ezz-category-strip__track span {
    animation: none !important;
    transform: none !important;
  }
  .ezz-nav-layer,
  .ezz-cart-layer,
  .ezz-search-layer,
  .ezz-qv-layer,
  .ezz-nav-panel,
  .ezz-cart-panel,
  .ezz-search-panel,
  .ezz-qv-panel { transition: none !important; }
}

/* Final Arabic-island overrides â€” must follow component heading font-family rules. */
[lang="ar"] {
  font-family: "Tajawal Local", Tahoma, Arial, sans-serif;
}
[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] .ezz-kicker,
[lang="ar"] .ezz-search-title,
[lang="ar"] .ezz-qv-title,
[lang="ar"] .ezz-discovery-card h3,
[lang="ar"] .ezz-explore__item h3,
[lang="ar"] .wp-block-post-title,
[lang="ar"] .wc-block-components-title,
[lang="ar"] .wc-block-components-checkout-step__title,
[lang="ar"] .woocommerce-products-header__title,
[lang="ar"] .ezz-cart-panel__header h2,
h1[lang="ar"],
h2[lang="ar"],
h3[lang="ar"] {
  font-family: "Noto Naskh Arabic Local", Tahoma, Arial, sans-serif !important;
}
[lang="ar"] button,
[lang="ar"] input,
[lang="ar"] select,
[lang="ar"] textarea,
[lang="ar"] a {
  font-family: inherit;
}

/* Beat Woo Blocks / global-styles title stacks on cart + checkout + account */
body.woocommerce-cart .wp-block-post-title,
body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-cart h1,
body.woocommerce-checkout h1,
body.woocommerce-cart .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-cart .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-cart .wp-block-heading,
body.woocommerce-checkout .wp-block-heading,
body.woocommerce-account .wp-block-post-title,
body.woocommerce-account h1,
body.woocommerce-account .woocommerce > h2,
html[lang^="ar"] body.woocommerce-account .woocommerce > h2,
.woocommerce .woocommerce-products-header__title,
.woocommerce .page-title {
  font-family: "Noto Naskh Arabic Local", Tahoma, Arial, sans-serif !important;
  color: var(--ezz-green-deep);
}

/* ==========================================================================
   Mobile cart page (Blocks) â€” compact item row + one summary card
   ========================================================================== */
@media (max-width: 767px) {
  body.woocommerce-cart main.ezz-page-main {
    padding-block-start: 0.55rem !important;
  }
  body.woocommerce-cart .wp-block-post-title,
  body.woocommerce-cart h1.entry-title,
  body.woocommerce-cart .wc-block-components-title {
    margin: 0 0 0.55rem !important;
  }
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-cart .wp-block-woocommerce-cart {
    margin-block-start: 0 !important;
  }
  body.woocommerce-cart .wc-block-cart-items,
  body.woocommerce-cart .wp-block-woocommerce-cart-line-items-block {
    margin-top: 0.35rem !important;
  }

  /* Cart line: flex row — no overlap; image on the right (RTL); one trash */
  body.woocommerce-cart .wc-block-cart-items,
  body.woocommerce-cart .wc-block-cart-items thead,
  body.woocommerce-cart .wc-block-cart-items tbody {
    display: block !important;
    width: 100% !important;
  }
  body.woocommerce-cart .wc-block-cart-items thead {
    display: none !important;
  }
  body.woocommerce-cart .wc-block-cart-items__row {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.45rem 0.75rem;
    padding: 0.9rem 0 !important;
    border-bottom: 1px solid var(--ezz-line);
    box-sizing: border-box;
    width: 100% !important;
  }
  body.woocommerce-cart .wc-block-cart-items__row > td {
    display: block !important;
    border: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
    position: static !important;
  }
  body.woocommerce-cart .wc-block-cart-item__image {
    flex: 0 0 4.5rem;
    width: 4.5rem !important;
    max-width: 4.5rem;
  }
  body.woocommerce-cart .wc-block-cart-item__image img {
    width: 4.5rem !important;
    height: 4.5rem !important;
    object-fit: cover;
    border-radius: 0.65rem;
  }
  body.woocommerce-cart .wc-block-cart-item__product {
    flex: 1 1 calc(100% - 5.5rem);
    min-width: 0;
    max-width: calc(100% - 5.5rem);
  }
  body.woocommerce-cart .wc-block-cart-item__wrap {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: static !important;
  }
  body.woocommerce-cart .wc-block-components-product-name {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    color: var(--ezz-green-deep);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
  }
  body.woocommerce-cart .wc-block-components-product-name:hover,
  body.woocommerce-cart .wc-block-components-product-name:focus-visible {
    text-decoration: none !important;
    color: var(--ezz-green);
  }
  body.woocommerce-cart .wc-block-cart-item__prices {
    margin: 0;
  }
  body.woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price__value::before {
    content: "السعر: ";
    color: var(--ezz-muted);
    font-weight: 600;
    font-size: 0.82rem;
  }
  body.woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price {
    color: var(--ezz-muted);
    font-size: 0.9rem;
    font-weight: 600;
  }
  body.woocommerce-cart .wc-block-components-product-metadata {
    margin: 0;
  }
  body.woocommerce-cart .wc-block-cart-item__total {
    flex: 1 1 100%;
    width: 100% !important;
    max-width: 100%;
    padding: 0 !important;
    padding-inline-start: calc(4.5rem + 0.75rem) !important;
    text-align: start !important;
    position: static !important;
  }
  body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value::before {
    content: "الإجمالي: ";
    color: var(--ezz-muted);
    font-weight: 600;
    font-size: 0.82rem;
  }
  body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price {
    color: var(--ezz-green-deep);
    font-weight: 700;
    font-size: 1rem;
  }
  body.woocommerce-cart .wc-block-cart-item__quantity {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.35rem;
    width: 100%;
  }
  body.woocommerce-cart .wc-block-components-quantity-selector {
    display: inline-flex;
    align-items: center;
    max-width: 7.5rem;
    min-height: 2.5rem;
    border: 1px solid var(--ezz-line);
    border-radius: 0.65rem;
    overflow: hidden;
    background: var(--ezz-ivory);
  }
  body.woocommerce-cart .wc-block-components-quantity-selector.ezz-qty--blocks {
    max-width: none;
    border: 0;
    overflow: visible;
    background: transparent;
  }
  body.woocommerce-cart .wc-block-components-quantity-selector:not(.ezz-qty--blocks) .wc-block-components-quantity-selector__button {
    width: 2.25rem !important;
    min-width: 2.25rem;
    height: 2.5rem !important;
    padding: 0 !important;
  }
  body.woocommerce-cart .wc-block-components-quantity-selector:not(.ezz-qty--blocks) .wc-block-components-quantity-selector__input {
    min-height: 2.5rem !important;
    width: 2.5rem !important;
    padding: 0 !important;
    text-align: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body.woocommerce-cart .wc-block-cart-item__remove-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.75rem !important;
    height: 2.75rem !important;
    min-width: 2.75rem;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0.65rem;
    background: transparent !important;
    color: var(--ezz-green-deep) !important;
    text-decoration: none !important;
    font-size: inherit !important;
    line-height: 1;
  }
  body.woocommerce-cart .wc-block-cart-item__remove-link::before,
  body.woocommerce-cart .wc-block-cart-item__remove-link::after {
    content: none !important;
    display: none !important;
  }
  body.woocommerce-cart .wc-block-cart-item__remove-link svg {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
  }
  body.woocommerce-cart .wc-block-cart-item__remove-link:hover,
  body.woocommerce-cart .wc-block-cart-item__remove-link:focus-visible {
    background: rgba(138, 58, 42, 0.08) !important;
    color: #8a3a2a !important;
  }
  /* One order-summary card */
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block,
  body.woocommerce-cart .wc-block-cart__sidebar {
    border: 1px solid var(--ezz-line) !important;
    border-radius: 0.9rem !important;
    background: var(--ezz-ivory) !important;
    padding: 0.85rem 1rem !important;
    box-shadow: none !important;
  }
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-wrapper,
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wp-block-woocommerce-cart-order-summary-totals-block,
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wp-block-woocommerce-cart-order-summary-coupon-form-block,
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wp-block-woocommerce-cart-order-summary-subtotal-block,
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wp-block-woocommerce-cart-order-summary-shipping-block,
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-panel,
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-coupon,
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-wrapper,
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wp-block-woocommerce-cart-order-summary-coupon-form-block {
    padding-block: 0.55rem;
    border-bottom: 1px solid color-mix(in srgb, var(--ezz-line) 80%, transparent) !important;
  }
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-footer-item {
    border: 0 !important;
    border-top: 1px solid var(--ezz-line) !important;
    margin-top: 0.35rem;
    padding-top: 0.7rem !important;
  }
  body.woocommerce-cart .wc-block-cart__submit-button,
  body.woocommerce-cart .wc-block-components-checkout-place-order-button {
    min-height: 2.65rem !important;
    height: auto !important;
    padding-block: 0.65rem !important;
    width: 100% !important;
    border-radius: 0.75rem !important;
  }
}

/* ==========================================================================
   Classic checkout (Batch 23R) — presentation only; fields/policy in core
   ========================================================================== */
body.woocommerce-checkout main.ezz-page-main {
  padding-block-start: 1.35rem !important;
  margin-block-start: 0 !important;
}
body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-checkout h1.entry-title,
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
  color: var(--ezz-green-deep);
  font-family: var(--ezz-display-font);
  font-weight: 700;
}
body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-checkout h1.entry-title {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
body.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  max-width: none;
  margin: 0;
  font-family: var(--ezz-body-font);
  color: var(--ezz-ink);
}
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  width: 100%;
  float: none !important;
  margin: 0;
}
body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col-1,
body.woocommerce-checkout .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout #order_review_heading {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ezz-green-deep);
  font-family: var(--ezz-display-font);
}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
  display: grid;
  gap: 0.75rem;
}
body.woocommerce-checkout .form-row {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
}
body.woocommerce-checkout .form-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0 0 0.35rem;
  color: var(--ezz-muted);
  font-weight: 600;
  font-size: 0.92rem;
}
body.woocommerce-checkout .form-row .required {
  color: var(--ezz-green);
  text-decoration: none;
  font-weight: 700;
}
body.woocommerce-checkout .form-row:not(.validate-email) .optional {
  display: none;
}
body.woocommerce-checkout .form-row.validate-email .optional {
  color: var(--ezz-muted);
  font-weight: 500;
}
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.85rem !important;
  border: 1px solid var(--ezz-line) !important;
  border-radius: 0.75rem !important;
  background: var(--ezz-ivory) !important;
  color: var(--ezz-ink) !important;
  font-family: var(--ezz-body-font) !important;
  font-size: 1rem !important;
  box-shadow: none !important;
  box-sizing: border-box;
}
body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.woocommerce-checkout .form-row select:focus,
body.woocommerce-checkout .form-row input.input-text:focus-visible,
body.woocommerce-checkout .form-row textarea:focus-visible,
body.woocommerce-checkout .form-row select:focus-visible {
  outline: none !important;
  border-color: var(--ezz-green) !important;
  box-shadow: inset 0 0 0 1px var(--ezz-green) !important;
}
body.woocommerce-checkout #order_review {
  padding: 1rem;
  border: 1px solid var(--ezz-line);
  border-radius: 1rem;
  background: var(--ezz-ivory);
  box-sizing: border-box;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  margin: 0 0 1rem;
  border-collapse: collapse;
  font-family: var(--ezz-body-font);
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--ezz-line);
  text-align: start;
  vertical-align: top;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  border-bottom: 0;
  color: var(--ezz-green-deep);
  font-weight: 700;
}
body.woocommerce-checkout #payment {
  margin: 0.85rem 0 0;
  padding: 0.75rem;
  border: 1px solid var(--ezz-line);
  border-radius: 0.9rem;
  background: var(--ezz-cream);
}
body.woocommerce-checkout #payment ul.payment_methods {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  border: 0;
}
body.woocommerce-checkout #payment ul.payment_methods li {
  margin: 0 0 0.45rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--ezz-line);
  border-radius: 0.75rem;
  background: var(--ezz-ivory);
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
  font-weight: 700;
  color: var(--ezz-green-deep);
}
body.woocommerce-checkout #payment div.payment_box {
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  background: rgba(88, 101, 45, 0.06);
  color: var(--ezz-muted);
  font-size: 0.9rem;
}
body.woocommerce-checkout #payment div.form-row {
  margin-top: 0.75rem !important;
}
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button#place_order {
  width: 100%;
  min-height: 2.9rem;
  margin: 0;
  padding: 0.7rem 1.15rem !important;
  border: 0 !important;
  border-radius: 0.75rem !important;
  background: var(--ezz-green) !important;
  color: var(--ezz-ivory) !important;
  font-family: var(--ezz-body-font) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer;
}
body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #place_order:focus-visible {
  background: var(--ezz-green-deep) !important;
}
body.woocommerce-checkout .woocommerce-shipping-methods,
body.woocommerce-checkout ul#shipping_method {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.woocommerce-checkout ul#shipping_method li {
  margin: 0.25rem 0;
}
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-NoticeGroup {
  margin: 0 0 1rem;
  border-radius: 0.85rem;
  font-family: var(--ezz-body-font);
}
body.woocommerce-checkout .woocommerce-error {
  border-inline-start: 3px solid #8a3a2a;
}
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout #ship-to-different-address {
  display: none !important;
}
body.woocommerce-checkout .woocommerce-privacy-policy-text {
  color: var(--ezz-muted);
  font-size: 0.88rem;
}
body.woocommerce-checkout .woocommerce-privacy-policy-text {
  color: var(--ezz-muted);
  font-size: 0.88rem;
}
@media (min-width: 900px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    column-gap: 1.5rem;
  }
  body.woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1;
  }
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    grid-column: 2;
  }
  body.woocommerce-checkout #order_review_heading {
    grid-row: 1;
    align-self: start;
  }
  body.woocommerce-checkout #order_review {
    grid-row: 1;
    margin-top: 2.6rem;
  }
}
@media (max-width: 899px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    grid-template-columns: minmax(0, 1fr);
  }
}
