:root {
  --esf-primary: #0b2d4d;
  --esf-accent: #42b8d9;
  --esf-bg: #f7f5f0;
  --esf-paper: #ffffff;
  --esf-ink: #111827;
  --esf-muted: #6b7280;
  --esf-wood: #8b5e3c;
  --esf-offer: #c0392b;
  --esf-brown: var(--esf-wood);
  --esf-brown-dark: var(--esf-primary);
  --esf-gold: var(--esf-accent);
  --esf-soft: #e9e7e1;
  --esf-line: rgba(11, 45, 77, 0.13);
  --esf-shadow: 0 22px 70px rgba(11, 45, 77, 0.1);
  --esf-container: min(1240px, calc(100% - 48px));
}

/* Client footer and FAQ. */
.esf-site-footer {
  border-top: 3px solid var(--esf-accent);
  background: #101a24;
}

.esf-footer__grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(170px, 0.62fr) minmax(260px, 0.86fr);
  gap: clamp(34px, 5vw, 74px);
  padding: 64px 0 54px;
}

.esf-footer__brand > p {
  max-width: 470px;
  margin: 18px 0 22px;
}

.esf-footer__social {
  display: grid;
  gap: 10px;
  max-width: 390px;
}

.esf-footer__social a {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.esf-footer__social a:hover,
.esf-footer__social a:focus-visible {
  border-color: var(--esf-accent);
  background: var(--esf-accent);
  color: var(--esf-primary);
  transform: translateY(-2px);
}

.esf-footer__social a:hover span,
.esf-footer__social a:focus-visible span {
  color: inherit;
}

.esf-footer__social .dashicons-arrow-left-alt2 {
  justify-self: end;
}

.esf-footer__links,
.esf-footer__contact {
  display: grid;
  align-content: start;
  gap: 9px;
}

.esf-footer__links a {
  width: fit-content;
  margin: 0;
  transition: color 180ms ease, transform 180ms ease;
}

.esf-footer__links a:hover,
.esf-footer__links a:focus-visible,
.esf-footer__contact a:hover,
.esf-footer__contact a:focus-visible {
  color: var(--esf-accent);
  transform: translateX(-3px);
}

.esf-footer__contact p,
.esf-footer__contact a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  transition: color 180ms ease, transform 180ms ease;
}

.esf-footer__contact .dashicons {
  flex: 0 0 20px;
  color: var(--esf-accent);
}

.esf-footer__bottom > .esf-container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.esf-faq-page__hero {
  padding-block: 72px 54px;
}

.esf-faq-list {
  max-width: 920px;
}

.esf-faq-item {
  border-bottom: 1px solid var(--esf-line);
}

.esf-faq-item:first-child {
  border-top: 1px solid var(--esf-line);
}

.esf-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--esf-primary);
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

.esf-faq-item summary::-webkit-details-marker {
  display: none;
}

.esf-faq-item summary .dashicons {
  color: var(--esf-accent);
  transition: transform 180ms ease;
}

.esf-faq-item[open] summary .dashicons {
  transform: rotate(45deg);
}

.esf-faq-item > p {
  max-width: 760px;
  margin: -6px 0 22px;
  color: var(--esf-muted);
}

.esf-faq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding: 28px;
  border-inline-start: 4px solid var(--esf-accent);
  background: #fff;
}

.esf-faq-cta h2,
.esf-faq-cta p {
  margin: 0;
}

.esf-faq-cta p {
  margin-top: 4px;
  color: var(--esf-muted);
}

@media (max-width: 760px) {
  .esf-footer__grid {
    padding-block: 46px 38px;
  }

  .esf-footer__bottom > .esf-container,
  .esf-faq-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .esf-footer__social {
    max-width: none;
  }

  .esf-faq-page__hero {
    padding-block: 50px 36px;
  }

  .esf-faq-item summary {
    font-size: 16px;
  }
}

/* Detached curved homepage surfaces and media. */
.esf-custom-made {
  width: min(var(--esf-container), calc(100% - 32px));
  margin-block: clamp(34px, 5vw, 72px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 16px 42px rgba(11, 45, 77, 0.14);
}

.esf-custom-made .esf-custom-made__grid {
  width: 100%;
  padding-inline: clamp(20px, 4vw, 56px);
}

.esf-process-grid article,
.esf-hero__trust span,
.esf-testimonial-grid article,
.esf-contact-grid article,
.esf-gallery-grid article,
.esf-faq-cta {
  border-radius: 8px;
}

.esf-hero__media figure,
.esf-hero__media img {
  border-radius: 10px;
}

.esf-hero__media figure {
  overflow: hidden;
}

.esf-footer__social a {
  border-radius: 8px;
}

@media (max-width: 760px) {
  .esf-custom-made {
    width: calc(100% - 24px);
    margin-block: 32px;
    border-radius: 8px;
  }

  .esf-custom-made .esf-custom-made__grid {
    padding-inline: 16px;
  }

  .esf-hero__media figure,
  .esf-hero__media img {
    border-radius: 8px;
  }
}

/* Curved treatment for the custom header, cart, and checkout components. */
.esf-cart-link,
.esf-header-cta,
.esf-menu-toggle,
.fc-button,
.fc-quantity,
.fc-quantity button,
.fc-quantity input,
.fc-remove-item,
.fc-commerce input,
.fc-commerce textarea,
.fc-commerce select {
  border-radius: 8px !important;
}

.fc-cart-items,
.fc-cart-summary,
.fc-checkout-form,
.fc-checkout-products,
.fc-checkout-summary {
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(11, 45, 77, 0.08);
}

.fc-cart-summary,
.fc-checkout-summary {
  overflow: hidden;
}

.fc-cart-item__image,
.fc-cart-item__image img,
.fc-checkout-product__image,
.fc-checkout-product__image img {
  border-radius: 8px;
}

.fc-cart-item {
  border-radius: 8px;
}

@media (max-width: 760px) {
  .fc-cart-items,
  .fc-cart-summary,
  .fc-checkout-form,
  .fc-checkout-products,
  .fc-checkout-summary {
    border-radius: 8px;
  }
}

/* Client footer and FAQ final overrides. */
.esf-site-footer { border-top: 3px solid var(--esf-accent); background: #101a24; }
.esf-footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(170px, 0.62fr) minmax(260px, 0.86fr); gap: clamp(34px, 5vw, 74px); padding: 64px 0 54px; }
.esf-footer__brand > p { max-width: 470px; margin: 18px 0 22px; }
.esf-footer__social { display: grid; gap: 10px; max-width: 390px; }
.esf-footer__social a { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; min-height: 48px; margin: 0; padding: 10px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.035); transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.esf-footer__social a:hover, .esf-footer__social a:focus-visible { border-color: var(--esf-accent); background: var(--esf-accent); color: var(--esf-primary); transform: translateY(-2px); }
.esf-footer__social a:hover span, .esf-footer__social a:focus-visible span { color: inherit; }
.esf-footer__social .dashicons-arrow-left-alt2 { justify-self: end; }
.esf-footer__links, .esf-footer__contact { display: grid; align-content: start; gap: 9px; }
.esf-footer__links a { width: fit-content; margin: 0; transition: color 180ms ease, transform 180ms ease; }
.esf-footer__links a:hover, .esf-footer__links a:focus-visible, .esf-footer__contact a:hover, .esf-footer__contact a:focus-visible { color: var(--esf-accent); transform: translateX(-3px); }
.esf-footer__contact p, .esf-footer__contact a { display: flex; align-items: flex-start; gap: 10px; margin: 0; transition: color 180ms ease, transform 180ms ease; }
.esf-footer__contact .dashicons { flex: 0 0 20px; color: var(--esf-accent); }
.esf-footer__bottom > .esf-container { display: flex; justify-content: space-between; gap: 24px; }
.esf-faq-page__hero { padding-block: 72px 54px; }
.esf-faq-list { max-width: 920px; }
.esf-faq-item { border-bottom: 1px solid var(--esf-line); }
.esf-faq-item:first-child { border-top: 1px solid var(--esf-line); }
.esf-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; color: var(--esf-primary); cursor: pointer; font-size: 18px; font-weight: 800; list-style: none; }
.esf-faq-item summary::-webkit-details-marker { display: none; }
.esf-faq-item summary .dashicons { color: var(--esf-accent); transition: transform 180ms ease; }
.esf-faq-item[open] summary .dashicons { transform: rotate(45deg); }
.esf-faq-item > p { max-width: 760px; margin: -6px 0 22px; color: var(--esf-muted); }
.esf-faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 42px; padding: 28px; border-inline-start: 4px solid var(--esf-accent); background: #fff; }
.esf-faq-cta h2, .esf-faq-cta p { margin: 0; }
.esf-faq-cta p { margin-top: 4px; color: var(--esf-muted); }
@media (max-width: 760px) {
  .esf-footer__grid { grid-template-columns: 1fr; padding-block: 46px 38px; }
  .esf-footer__bottom > .esf-container, .esf-faq-cta { align-items: stretch; flex-direction: column; }
  .esf-footer__social { max-width: none; }
  .esf-faq-page__hero { padding-block: 50px 36px; }
  .esf-faq-item summary { font-size: 16px; }
}

/* Keep every product photo fully visible and preserve native gallery zoom. */
.esf-product-card__media,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image a,
.single-product .flex-control-thumbs li {
  background: var(--esf-paper, #fff);
}

.esf-product-card__image,
.esf-product-card__media img,
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery__image .zoomImg,
.single-product .flex-control-thumbs img {
  object-fit: contain !important;
  object-position: center;
}

.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery__image img {
  cursor: zoom-in;
}

.single-product .woocommerce-product-gallery > .flex-viewport,
.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
  touch-action: pan-y pinch-zoom;
}

.esf-product-layout--furniture .esf-single-product__grid {
  align-items: start !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr) !important;
}

.esf-product-layout--furniture .esf-single-product__gallery,
.esf-product-layout--furniture .woocommerce-product-gallery,
.esf-product-layout--furniture .woocommerce-product-gallery > .flex-viewport,
.esf-product-layout--furniture .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper,
.esf-product-layout--furniture .woocommerce-product-gallery__wrapper,
.esf-product-layout--furniture .woocommerce-product-gallery__image,
.esf-product-layout--furniture .woocommerce-product-gallery__image a {
  height: auto !important;
}

.esf-product-layout--furniture .esf-single-product__gallery {
  align-self: start !important;
}

.esf-product-layout--furniture .woocommerce-product-gallery__image img {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: auto !important;
}

.esf-product-layout--furniture .woocommerce-product-gallery__image,
.esf-product-layout--furniture .woocommerce-product-gallery__image a {
  width: 100% !important;
}

.esf-product-layout--furniture .woocommerce-product-gallery__image a {
  display: block;
}

@media (max-width: 1100px) {
  .esf-product-layout--furniture .esf-single-product__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .esf-product-layout--furniture .esf-single-product__gallery,
  .esf-product-layout--furniture .esf-single-product__summary {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body.esf-theme {
  margin: 0;
  overflow-x: clip;
  background: var(--esf-bg);
  color: var(--esf-ink);
  direction: rtl;
  font-family: "IBM Plex Sans Arabic", "Cairo", Tahoma, Arial, sans-serif;
  line-height: 1.75;
}

.esf-theme main,
.esf-site-header,
.esf-site-footer {
  direction: rtl;
}

.esf-theme a {
  color: inherit;
  text-decoration: none;
}

.esf-theme img {
  display: block;
  max-width: 100%;
  height: auto;
}

.esf-container {
  width: var(--esf-container);
  margin-inline: auto;
}

.esf-topbar {
  background: #08243d;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.esf-topbar__inner,
.esf-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.esf-topbar__inner {
  padding-block: 8px;
}

.esf-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 45, 77, 0.97);
  border-bottom: 1px solid rgba(66, 184, 217, 0.28);
  backdrop-filter: blur(16px);
}

.esf-header__inner {
  min-height: 88px;
}

.esf-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
}

.esf-brand__logo {
  display: grid;
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(66, 184, 217, 0.52);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.esf-brand__mark {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--esf-brown);
  font-size: 26px;
  font-weight: 700;
}

.esf-brand__logo .custom-logo {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 50%;
  object-fit: contain;
}

.esf-brand__text strong,
.esf-brand__text small {
  display: block;
  width: max-content;
  max-width: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.esf-brand__text strong {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.esf-brand__text small {
  margin-top: 4px;
  color: var(--esf-accent);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.esf-nav {
  flex: 1;
}

.esf-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: 14px;
}

.esf-menu a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.esf-menu a:hover,
.esf-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.esf-menu .current-menu-item > a,
.esf-menu .current_page_item > a,
.esf-menu .current-menu-ancestor > a {
  border-color: rgba(66, 184, 217, 0.6);
  background: #fff;
  color: var(--esf-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.esf-header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

a.added_to_cart.wc-forward {
  display: none !important;
}

.esf-add-to-cart-success {
  border-color: var(--esf-accent) !important;
  background: var(--esf-accent) !important;
  color: var(--esf-primary) !important;
}

.esf-cart-notice {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: 0;
  z-index: 95;
  width: max-content;
  max-width: min(280px, calc(100vw - 28px));
  padding: 10px 14px;
  border: 1px solid rgba(66, 184, 217, 0.42);
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 45, 77, 0.2);
  color: var(--esf-primary);
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.94);
  transition: opacity 180ms ease, transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.esf-cart-notice--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.esf-cart-notified {
  animation: esf-cart-notification 620ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes esf-cart-notification {
  0%, 100% {
    box-shadow: none;
    transform: scale(1);
  }
  42% {
    border-color: var(--esf-accent);
    box-shadow: 0 0 0 7px rgba(66, 184, 217, 0.2);
    transform: scale(1.14) rotate(-3deg);
  }
  72% {
    transform: scale(0.98) rotate(1deg);
  }
}

.esf-cart-link,
.esf-header-cta,
.esf-button,
.esf-product-card .button,
.single_add_to_cart_button,
.checkout-button,
.wc-forward,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 10px 18px;
  background: var(--esf-brown-dark);
  color: #fff !important;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.esf-cart-link {
  position: relative;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff !important;
}

.esf-cart-link__count {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-inline-start: 8px;
  place-items: center;
  border-radius: 50%;
  background: var(--esf-accent);
  color: var(--esf-primary);
  font-size: 12px;
}

.esf-cart-link__icon {
  width: 20px;
  height: 20px;
  margin-inline-end: 7px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.esf-theme button,
.esf-theme .button,
.esf-theme .esf-button,
.esf-theme .esf-cart-link,
.esf-theme .esf-header-cta,
.esf-theme input[type="submit"] {
  -webkit-tap-highlight-color: transparent;
  transform-origin: center;
}

.esf-theme button:active,
.esf-theme .button:active,
.esf-theme .esf-button:active,
.esf-theme .esf-cart-link:active,
.esf-theme .esf-header-cta:active,
.esf-theme input[type="submit"]:active {
  filter: brightness(1.22) saturate(1.12);
  transform: scale(0.94);
}

.esf-theme .esf-interaction-pop {
  animation: esf-button-pop 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes esf-button-pop {
  0% {
    filter: brightness(1);
    transform: scale(1);
  }
  38% {
    filter: brightness(1.3) saturate(1.16);
    transform: scale(0.91);
  }
  72% {
    filter: brightness(1.12) saturate(1.08);
    transform: scale(1.055);
  }
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
}

.esf-button--outline,
.esf-button--ghost-light {
  background: transparent;
  border-color: rgba(17, 24, 39, 0.18);
  color: var(--esf-ink) !important;
}

.esf-button--light {
  background: #fff;
  color: var(--esf-primary) !important;
}

.esf-button--ghost-light {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff !important;
}

.esf-header-cta:hover,
.esf-button:hover,
.esf-product-card .button:hover,
.single_add_to_cart_button:hover,
.single_add_to_cart_button:focus-visible,
.checkout-button:hover,
.checkout-button:focus-visible,
.wc-forward:hover,
.wc-forward:focus-visible,
.woocommerce button.button:hover,
.woocommerce button.button:focus-visible,
.woocommerce input.button:hover,
.woocommerce input.button:focus-visible {
  border-color: var(--esf-primary);
  background: #fff;
  color: var(--esf-ink) !important;
  transform: translateY(-2px);
}

.esf-header-cta {
  background: var(--esf-accent);
  color: var(--esf-primary) !important;
}

.esf-header-cta:hover,
.esf-header-cta:focus-visible {
  background: #fff;
}

.esf-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--esf-line);
  border-radius: 50%;
  background: #fff;
  padding: 11px;
}

.esf-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--esf-primary);
}

[data-esf-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition-property: opacity, transform;
  transition-duration: 720ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--esf-reveal-delay, 0ms);
}

[data-esf-reveal="fade"] {
  transform: none;
}

[data-esf-reveal="scale"] {
  transform: translate3d(0, 14px, 0) scale(0.975);
}

[data-esf-reveal="hero-copy"] {
  filter: blur(5px);
  transform: translate3d(0, 30px, 0);
  transition-duration: 900ms;
  transition-property: opacity, transform, filter;
}

[data-esf-reveal="hero-pop"] {
  filter: blur(6px);
  transform: translate3d(0, 14px, 0) scale(0.72);
  transition-duration: 760ms;
  transition-property: opacity, transform, filter;
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-esf-reveal="hero-chip"] {
  transform: translate3d(0, 16px, 0) scale(0.94);
  transition-duration: 760ms;
}

[data-esf-reveal="hero-media-main"] {
  filter: saturate(0.72) brightness(1.08);
  transform: translate3d(-34px, 18px, 0) scale(0.94);
  transition-duration: 1100ms;
  transition-property: opacity, transform, filter;
}

[data-esf-reveal="hero-media"] {
  filter: saturate(0.78) brightness(1.06);
  transform: translate3d(-24px, 16px, 0) scale(0.92);
  transition-duration: 980ms;
  transition-property: opacity, transform, filter;
}

[data-esf-reveal].esf-reveal-visible {
  filter: none;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.esf-hero {
  padding: 52px 0 48px;
  background: linear-gradient(180deg, #fff 0%, var(--esf-bg) 100%);
}

.esf-hero__grid,
.esf-intro__grid,
.esf-custom-made__grid,
.esf-two-column,
.esf-contact-panel__grid,
.esf-single-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
}

.esf-hero__grid > *,
.esf-intro__grid > *,
.esf-custom-made__grid > *,
.esf-two-column > *,
.esf-contact-panel__grid > *,
.esf-single-product__grid > * {
  min-width: 0;
  max-width: 100%;
}

.esf-eyebrow,
.esf-section-label,
.esf-heading span,
.esf-page-hero span,
.esf-page-hero .esf-page-kicker,
.esf-final-cta span {
  color: var(--esf-gold);
  font-size: 13px;
  font-weight: 900;
}

.esf-hero h1,
.esf-heading h2,
.esf-intro h2,
.esf-custom-made h2,
.esf-page-hero h1,
.esf-content h1,
.esf-final-cta h2 {
  color: var(--esf-primary);
  margin: 10px 0 0;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.esf-hero h1 {
  max-width: 620px;
}

.esf-hero__brand-name {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--esf-wood);
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 900;
  line-height: 1.4;
}

.esf-hero p,
.esf-intro p,
.esf-custom-made p,
.esf-page-hero p,
.esf-featured-story p {
  max-width: 620px;
  color: var(--esf-muted);
  font-size: 18px;
}

.esf-hero__actions,
.esf-final-cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.esf-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.esf-hero__trust span {
  padding: 8px 12px;
  border: 1px solid var(--esf-line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--esf-muted);
  font-size: 13px;
  font-weight: 800;
}

.esf-hero__media {
  display: grid;
  grid-template-columns: 1fr 170px;
  grid-template-rows: 250px 250px;
  gap: 14px;
}

.esf-hero__media figure {
  margin: 0;
  overflow: hidden;
  background: var(--esf-soft);
}

.esf-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.esf-hero__main .esf-parallax-media {
  transform: translate3d(0, var(--esf-parallax-y, 0), 0) scale(1.04);
  transform-origin: center;
  will-change: transform;
}

.esf-hero__main {
  grid-row: 1 / 3;
}

.esf-section {
  padding: 48px 0;
}

.esf-heading {
  margin-bottom: 24px;
}

.esf-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.esf-heading h2,
.esf-intro h2,
.esf-custom-made h2,
.esf-page-hero h1 {
  font-size: clamp(30px, 3.6vw, 48px);
}

.esf-heading a,
.esf-project-grid a,
.esf-gallery-grid a {
  color: var(--esf-brown);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.esf-heading__actions,
.esf-carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.esf-heading__actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.esf-carousel-controls button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--esf-line);
  border-radius: 50%;
  background: #fff;
  color: var(--esf-brown-dark);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.esf-carousel-controls button:hover,
.esf-carousel-controls button:focus-visible {
  background: var(--esf-brown-dark);
  color: #fff;
}

.esf-carousel-controls button:disabled {
  opacity: 0.34;
  cursor: default;
}

.esf-carousel-controls .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.esf-category-carousel,
.esf-products-carousel-shell {
  position: relative;
}

.esf-carousel-controls--overlay {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: block;
  pointer-events: none;
}

.esf-carousel-controls--overlay[hidden] {
  display: none;
}

.esf-carousel-controls--overlay button {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  border-color: rgba(11, 45, 77, 0.1);
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 45, 77, 0.16);
  pointer-events: auto;
  transform: translateY(-50%);
}

.esf-carousel-controls--overlay [data-esf-carousel-prev] {
  inset-inline-start: -25px;
}

.esf-carousel-controls--overlay [data-esf-carousel-next] {
  inset-inline-end: -25px;
}

.esf-carousel-controls--overlay button:hover,
.esf-carousel-controls--overlay button:focus-visible {
  background: var(--esf-primary);
  color: #fff;
  box-shadow: 0 10px 28px rgba(11, 45, 77, 0.24);
}

.esf-carousel-controls--overlay button:disabled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 16px rgba(11, 45, 77, 0.08);
}

.esf-carousel-controls--overlay button:active {
  transform: translateY(-50%) scale(0.94);
}

.esf-carousel-controls--overlay button.esf-interaction-pop {
  animation-name: esf-overlay-button-pop;
}

@keyframes esf-overlay-button-pop {
  0% {
    filter: brightness(1);
    transform: translateY(-50%) scale(1);
  }
  38% {
    filter: brightness(1.3) saturate(1.16);
    transform: translateY(-50%) scale(0.91);
  }
  72% {
    filter: brightness(1.12) saturate(1.08);
    transform: translateY(-50%) scale(1.055);
  }
  100% {
    filter: brightness(1);
    transform: translateY(-50%) scale(1);
  }
}

.esf-category-grid {
  display: flex;
  gap: clamp(16px, 2.2vw, 28px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 2px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.esf-category-grid::-webkit-scrollbar {
  display: none;
}

.esf-category-card {
  flex: 0 0 clamp(174px, 17vw, 208px);
  min-width: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  scroll-snap-align: start;
  text-align: center;
}

.esf-product-card,
.esf-project-grid article,
.esf-testimonial-grid article,
.esf-contact-grid article,
.esf-gallery-grid article {
  min-width: 0;
  overflow: hidden;
  background: var(--esf-paper);
  border: 1px solid var(--esf-line);
}

.esf-category-card img {
  width: min(100%, 200px);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid var(--esf-line);
  border-radius: 50%;
  object-fit: cover;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.esf-product-card__body,
.esf-project-grid article > div,
.esf-testimonial-grid article,
.esf-contact-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.esf-category-card a {
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 50% 50% 0 0;
  outline-offset: 6px;
  -webkit-tap-highlight-color: transparent;
}

.esf-category-card div {
  padding: 13px 4px 0;
  background: transparent;
}

.esf-contact-grid article span {
  color: var(--esf-muted);
  font-size: 13px;
}

.esf-gallery-grid article > .wp-block-group__inner-container > .wp-block-group > .wp-block-group__inner-container {
  padding: 18px;
}

.esf-category-card h3,
.esf-product-card h2,
.esf-project-grid h3,
.esf-gallery-grid h2,
.esf-process-grid h3 {
  margin: 0;
  line-height: 1.35;
  font-size: 18px;
}

.esf-category-card h3 {
  color: var(--esf-primary);
  font-size: 18px;
  font-weight: 900;
  transition: color 220ms ease, transform 220ms ease;
}

.esf-category-card a:hover img,
.esf-category-card a:focus-visible img {
  border-color: var(--esf-accent);
  box-shadow: 0 16px 34px rgba(11, 45, 77, 0.2);
  transform: translateY(-7px) scale(1.045);
}

.esf-category-card a:hover h3,
.esf-category-card a:focus-visible h3 {
  color: var(--esf-wood);
  transform: translateY(2px);
}

.esf-category-card a:active img {
  border-color: var(--esf-accent);
  box-shadow: 0 8px 20px rgba(11, 45, 77, 0.18);
  transform: scale(0.93);
}

.esf-category-card a:active h3 {
  color: var(--esf-accent);
}

.esf-category-card p,
.esf-product-card p,
.esf-process-grid p {
  margin: 8px 0 0;
  color: var(--esf-muted);
  font-size: 14px;
}

.esf-featured-products,
.esf-products {
  background: #fff;
}

.esf-products:not(.esf-products--carousel),
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.esf-products--carousel {
  display: flex !important;
  gap: 24px;
  margin: 0;
  padding: 0 0 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.esf-featured-products .esf-products--carousel {
  overflow-y: clip;
  overscroll-behavior-y: auto;
  touch-action: pan-y pinch-zoom;
}

.esf-products--carousel::-webkit-scrollbar {
  display: none;
}

.esf-products--carousel .esf-product-card {
  display: flex;
  flex: 0 0 calc((100% - 48px) / 3);
  flex-direction: column;
  scroll-snap-align: start;
}

.esf-products--carousel .esf-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.esf-products--carousel .esf-product-card__actions {
  margin-top: auto;
  padding-top: 16px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.woocommerce .esf-shop-page ul.products {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.woocommerce .esf-shop-page ul.products > .esf-product-card {
  grid-column: span 2;
}

.woocommerce .esf-shop-page ul.products > .esf-product-card:last-child:nth-child(3n + 1) {
  grid-column: 3 / span 2;
}

.woocommerce .esf-shop-page ul.products > .esf-product-card:nth-last-child(2):nth-child(3n + 1) {
  grid-column: 2 / span 2;
}

.esf-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  background: var(--esf-soft);
}

.esf-product-card__image,
.esf-product-card__media img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.esf-product-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgba(11, 45, 77, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--esf-primary);
  font-size: 12px;
  font-weight: 900;
}

.esf-product-card.sale .esf-product-card__badge {
  border-color: var(--esf-offer);
  background: var(--esf-offer);
  color: #fff;
}

.esf-product-card__category,
.esf-product-card small {
  color: var(--esf-muted);
  font-size: 12px;
}

.esf-product-card__price,
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--esf-brown-dark);
  font-size: 18px;
  font-weight: 900;
}

.esf-product-card.sale .esf-product-card__price strong,
.price ins {
  color: var(--esf-offer);
  text-decoration: none;
}

.esf-old-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--esf-muted);
  font-size: 13px;
  font-weight: 600;
}

.esf-product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.esf-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--esf-line);
  font-weight: 900;
}

.esf-custom-made {
  background: var(--esf-primary);
  color: #fff;
}

.esf-custom-made h2 {
  color: #fff;
}

.esf-custom-made p {
  color: rgba(255, 255, 255, 0.72);
}

.esf-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.esf-process-grid article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.esf-process-grid strong {
  color: var(--esf-gold);
}

.esf-project-grid,
.esf-gallery-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.esf-gallery-grid > .wp-block-group__inner-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.esf-project-grid img,
.esf-gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.esf-testimonials {
  background: #fff;
}

.esf-testimonials .esf-heading > span {
  font-size: 18px;
  line-height: 1.5;
}

.esf-testimonial-grid,
.esf-contact-grid > .wp-block-group__inner-container,
.esf-journey > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.esf-journey > .wp-block-group__inner-container {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.esf-journey article {
  padding: 22px;
  border: 1px solid var(--esf-line);
  background: #fff;
}

.esf-journey strong {
  color: var(--esf-gold);
}

.esf-journey article p {
  margin: 0;
}

.esf-journey article h2 {
  margin: 10px 0 0;
}

.esf-final-cta {
  padding: 90px 0;
  border-top: 3px solid var(--esf-accent);
  background: var(--esf-primary);
  color: #fff;
  text-align: center;
}

.esf-final-cta h2 {
  color: #fff;
  max-width: 780px;
  margin-inline: auto;
}

.esf-final-cta div {
  justify-content: center;
}

.esf-page-hero {
  padding: 40px 0;
  background: linear-gradient(180deg, #fff 0%, var(--esf-bg) 100%);
  text-align: center;
}

.esf-page-content > .wp-block-group,
.esf-page-content .wp-block-columns,
.esf-page-content .wp-block-image {
  margin-block: 0;
}

.esf-page-hero .esf-page-kicker {
  margin: 0;
  font-size: 13px;
}

.esf-page-hero h1,
.esf-page-hero p {
  margin-inline: auto;
}

.esf-two-column img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.esf-two-column .wp-block-image {
  height: 100%;
}

.esf-two-column .wp-block-image img {
  height: 520px;
}

.esf-check-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.esf-check-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--esf-line);
  font-weight: 700;
}

.esf-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--esf-line);
}

.esf-form label {
  display: grid;
  gap: 6px;
  color: var(--esf-muted);
  font-weight: 700;
}

.esf-form input,
.esf-form textarea,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.orderby {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--esf-line);
  border-radius: 0;
  background: #fff;
  color: var(--esf-ink);
  font: inherit;
  padding: 10px 12px;
}

.esf-contact-panel {
  background: #fff;
}

.esf-site-footer {
  background: var(--esf-primary);
  color: #fff;
}

.esf-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 44px;
  padding: 56px 0;
}

.esf-brand--footer .esf-brand__mark {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
}

.esf-site-footer p,
.esf-site-footer a,
.esf-site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

.esf-site-footer h2 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 16px;
}

.esf-site-footer a,
.esf-site-footer span {
  display: block;
  margin-top: 9px;
}

.esf-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.esf-content-layout {
  padding: 72px 0;
}

.esf-content {
  max-width: 860px;
  margin-inline: auto;
}

.esf-archive-header {
  padding: 68px 0 34px;
}

.esf-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.esf-post-card {
  background: #fff;
  border: 1px solid var(--esf-line);
  padding: 18px;
}

.esf-post-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.esf-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.woocommerce-pagination {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 32px;
  direction: rtl;
}

.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

.woocommerce-pagination ul.page-numbers li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0 !important;
  border: 1px solid var(--esf-line);
  background: #fff;
  color: var(--esf-primary);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.woocommerce-pagination .page-numbers a:hover,
.woocommerce-pagination .page-numbers a:focus-visible {
  border-color: var(--esf-accent);
  background: var(--esf-accent);
  color: var(--esf-primary);
  transform: translateY(-2px);
}

.woocommerce-pagination .page-numbers .current {
  border-color: var(--esf-primary);
  background: var(--esf-primary);
  color: #fff;
}

.esf-single-product-page {
  padding: 40px 0;
  background: #fff;
}

.esf-single-product__grid {
  align-items: start;
}

.woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
}

.woocommerce-product-gallery__image img {
  width: 100%;
  object-fit: cover;
}

.esf-single-product__summary .summary {
  float: none !important;
  width: auto !important;
}

.product_title {
  margin-top: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.22;
}

.esf-product-whatsapp {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 12px 0 18px;
  padding: 10px 18px;
  border: 1px solid var(--esf-brown);
  color: var(--esf-brown) !important;
  font-weight: 900;
}

.esf-product-specs {
  margin-top: 30px;
}

.esf-product-specs table,
.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.esf-product-specs th,
.esf-product-specs td,
.shop_table th,
.shop_table td {
  border: 1px solid var(--esf-line);
  padding: 12px;
  text-align: right;
}

.esf-product-layout--furniture .esf-single-product__grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: stretch;
}

.esf-product-layout--furniture .esf-single-product__gallery {
  position: relative;
  height: 100%;
  min-width: 0;
}

.esf-product-layout--furniture .woocommerce-product-gallery {
  display: grid;
  height: 100%;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 12px;
  direction: ltr;
}

.esf-product-layout--furniture .woocommerce-product-gallery > .flex-viewport,
.esf-product-layout--furniture .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
  grid-row: 1;
  grid-column: 1;
  height: 100% !important;
  min-width: 0;
}

.esf-product-layout--furniture .woocommerce-product-gallery__wrapper,
.esf-product-layout--furniture .woocommerce-product-gallery__image,
.esf-product-layout--furniture .woocommerce-product-gallery__image a {
  height: 100%;
}

.esf-product-layout--furniture .woocommerce-product-gallery__image {
  float: left !important;
}

.esf-product-layout--furniture .woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.esf-product-layout--furniture .flex-control-thumbs {
  grid-row: 1;
  grid-column: 2;
  display: flex;
  max-height: 560px;
  margin: 0;
  padding: 0 3px 0 0;
  overflow-y: auto;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  scrollbar-width: thin;
}

.esf-product-layout--furniture .flex-control-thumbs li {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

.esf-product-layout--furniture .flex-control-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid transparent;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.64;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.esf-product-layout--furniture .flex-control-thumbs img:hover,
.esf-product-layout--furniture .flex-control-thumbs img.flex-active {
  border-color: var(--esf-brown);
  opacity: 1;
}

.esf-product-layout--furniture .woocommerce-product-gallery__trigger {
  z-index: 4;
  top: 14px;
  right: 108px;
}

.esf-product-layout--furniture .esf-single-product__gallery > .onsale {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 108px;
  padding: 7px 12px;
  background: var(--esf-offer);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.esf-product-layout--furniture .esf-single-product__summary {
  position: sticky;
  top: 150px;
  align-self: start;
  padding: 28px;
  border: 1px solid var(--esf-line);
  background: #fff;
  box-shadow: 0 18px 46px rgba(11, 45, 77, 0.08);
}

.esf-product-order-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.esf-product-order-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--esf-line);
  background: var(--esf-bg);
  color: var(--esf-primary);
  font-size: 12px;
  font-weight: 800;
}

.esf-product-order-meta .esf-product-order-meta__status {
  border-color: rgba(66, 184, 217, 0.45);
  background: rgba(66, 184, 217, 0.12);
}

.esf-product-layout--furniture .esf-single-product__summary .price {
  margin: 16px 0 22px;
  color: var(--esf-brown);
  font-size: 22px;
  line-height: 1.55;
  font-weight: 900;
}

.esf-product-layout--furniture .esf-single-product__summary .price del,
.esf-product-layout--furniture .esf-single-product__summary .price ins {
  font-size: inherit;
}

.esf-product-layout--furniture .esf-single-product__summary .cart {
  display: grid;
  gap: 12px;
  margin: 24px 0 12px;
}

.esf-product-layout--furniture .esf-single-product__summary .quantity {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--esf-line);
}

.esf-product-layout--furniture .esf-single-product__summary .quantity .qty {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-inline: 1px solid var(--esf-line);
  background: #fff;
  color: var(--esf-ink);
  font-weight: 800;
  text-align: center;
}

.esf-quantity-step {
  width: 46px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--esf-primary);
  font-size: 22px;
  font-weight: 700;
}

.esf-quantity-step:hover,
.esf-quantity-step:focus-visible {
  background: var(--esf-accent);
  color: var(--esf-primary);
}

.esf-product-layout--furniture .esf-single-product__summary .single_add_to_cart_button {
  width: 100%;
  min-height: 48px;
}

.esf-product-order-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--esf-line);
  background: var(--esf-bg);
  color: var(--esf-muted);
  font-size: 13px;
  line-height: 1.8;
}

.esf-product-layout--furniture .product_meta {
  display: none;
}

.esf-product-layout-details {
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--esf-line);
}

.esf-product-layout-details__intro {
  max-width: 860px;
}

.esf-product-layout-details__intro > span {
  color: var(--esf-gold);
  font-size: 13px;
  font-weight: 900;
}

.esf-product-layout-details__intro h2 {
  margin: 6px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
}

.esf-product-layout-details__description {
  color: var(--esf-muted);
  font-size: 17px;
  line-height: 1.95;
}

.esf-product-layout-details__rows {
  margin-top: 22px;
  border-bottom: 1px solid var(--esf-line);
}

.esf-product-layout-details__row {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  padding: 15px 0;
  border-top: 1px solid var(--esf-line);
}

.esf-product-layout-details__row h3,
.esf-product-layout-details__row p {
  margin: 0;
}

.esf-product-layout-details__row h3 {
  font-size: 18px;
}

.esf-product-layout-details__row > div {
  color: var(--esf-muted);
  line-height: 1.9;
}

.esf-product-layout--furniture .upsells.products {
  margin-top: clamp(64px, 8vw, 110px);
  padding-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--esf-line);
}

.esf-product-layout--furniture .upsells.products > h2 {
  margin: 0 0 30px;
  font-size: 34px;
  line-height: 1.35;
}

.esf-related-products {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--esf-line);
}

.esf-related-products .esf-heading h2 {
  margin-top: 8px;
  font-size: clamp(30px, 3.4vw, 46px);
}

.esf-related-products .esf-products-carousel-shell {
  margin-top: 22px;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .woocommerce-checkout {
  margin-top: 28px;
}

.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--esf-gold);
  background: #fff;
}

.woocommerce-error {
  border-top-color: var(--esf-offer);
  background: #fff;
}

@media (max-width: 1100px) {
  .esf-menu-toggle {
    display: block;
  }

  .esf-nav {
    position: fixed;
    inset: 96px 20px auto 20px;
    display: none;
    padding: 18px;
    border: 1px solid var(--esf-line);
    background: #fff;
    box-shadow: var(--esf-shadow);
  }

  .esf-menu-open .esf-nav {
    display: block;
  }

  .esf-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
  }

  .esf-menu a {
    display: block;
    padding: 12px;
    color: var(--esf-primary);
  }

  .esf-menu a:hover,
  .esf-menu a:focus-visible {
    background: rgba(66, 184, 217, 0.12);
    color: var(--esf-primary);
  }

  .esf-header-actions {
    display: flex;
  }

  .esf-header-cta {
    display: none;
  }

  .esf-hero__grid,
  .esf-intro__grid,
  .esf-custom-made__grid,
  .esf-two-column,
  .esf-contact-panel__grid,
  .esf-single-product__grid {
    grid-template-columns: 1fr;
  }

  .esf-project-grid,
  .esf-journey > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esf-category-card {
    flex-basis: 184px;
  }

  .esf-products--carousel .esf-product-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .esf-product-layout--furniture .esf-single-product__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 30px;
  }

  .esf-product-layout--furniture .woocommerce-product-gallery {
    grid-template-columns: minmax(0, 1fr) 68px;
  }

  .esf-product-layout--furniture .upsells.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  :root {
    --esf-container: min(1240px, calc(100% - 28px));
  }

  .esf-topbar {
    display: none;
  }

  .esf-header__inner {
    min-height: 72px;
    gap: 8px;
  }

  .esf-brand {
    flex: 1 1 auto;
    gap: 9px;
    min-width: 0;
    overflow: hidden;
  }

  .esf-brand__text {
    display: block;
    min-width: 0;
    overflow: hidden;
  }

  .esf-brand__logo {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .esf-brand__text strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
  }

  .esf-brand__text small {
    max-width: 100%;
    margin-top: 1px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
  }

  .esf-header-actions {
    flex: 0 0 auto;
  }

  .esf-cart-notice {
    position: fixed;
    top: 82px;
    right: auto;
    left: 50%;
    inset-inline-start: auto;
    transform: translate(-50%, -8px) scale(0.94);
  }

  .esf-cart-notice--visible {
    transform: translate(-50%, 0) scale(1);
  }

  .esf-cart-link {
    width: 46px;
    height: 44px;
    min-height: 44px;
    padding: 6px;
  }

  .esf-cart-link__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .esf-cart-link__icon {
    width: 24px;
    height: 24px;
    margin-inline-end: 0;
    font-size: 24px;
  }

  .esf-cart-link__count {
    position: absolute;
    top: -6px;
    inset-inline-end: -6px;
    width: 19px;
    height: 19px;
    margin: 0;
    border: 2px solid var(--esf-primary);
    background: #fff;
    color: var(--esf-primary);
    font-size: 9px;
    line-height: 1;
  }

  .esf-hero {
    padding: 42px 0;
  }

  .esf-hero__grid {
    gap: 28px;
  }

  .esf-hero__content {
    text-align: center;
  }

  .esf-hero h1 {
    font-size: clamp(27px, 8.2vw, 32px);
    max-width: 100%;
  }

  .esf-hero__content,
  .esf-hero h1,
  .esf-hero p {
    width: 100%;
  }

  .esf-hero__trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .esf-hero__trust span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding-inline: 8px;
    text-align: center;
  }

  .esf-hero p,
  .esf-intro p,
  .esf-custom-made p,
  .esf-page-hero p {
    font-size: 16px;
  }

  .esf-hero__actions,
  .esf-final-cta div {
    display: grid;
  }

  .esf-hero__media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 290px 150px;
    gap: 10px;
  }

  .esf-hero__main {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .esf-section {
    padding: 36px 0;
  }

  .esf-heading--row,
  .esf-shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .woocommerce-pagination {
    margin-top: 24px;
  }

  .woocommerce-pagination .page-numbers a,
  .woocommerce-pagination .page-numbers span {
    width: 38px;
    height: 38px;
  }

  .esf-products:not(.esf-products--carousel),
  .woocommerce ul.products,
  .esf-project-grid,
  .esf-gallery-grid > .wp-block-group__inner-container,
  .esf-testimonial-grid,
  .esf-contact-grid > .wp-block-group__inner-container,
  .esf-journey > .wp-block-group__inner-container,
  .esf-post-grid,
  .esf-footer__grid {
    grid-template-columns: 1fr;
  }

  .woocommerce .esf-shop-page ul.products > .esf-product-card,
  .woocommerce .esf-shop-page ul.products > .esf-product-card:last-child:nth-child(3n + 1),
  .woocommerce .esf-shop-page ul.products > .esf-product-card:nth-last-child(2):nth-child(3n + 1) {
    grid-column: auto;
  }

  .esf-category-grid {
    gap: 16px;
    margin-inline: calc((100vw - 100%) / -2);
    padding-inline: 14px;
  }

  .esf-carousel-controls--overlay [data-esf-carousel-prev] {
    inset-inline-start: 4px;
  }

  .esf-carousel-controls--overlay [data-esf-carousel-next] {
    inset-inline-end: 4px;
  }

  .esf-carousel-controls--overlay button {
    width: 44px;
    height: 44px;
  }

  .esf-category-card {
    flex-basis: 154px;
  }

  .esf-category-card h3 {
    font-size: 16px;
  }

  .esf-products--carousel .esf-product-card {
    flex-basis: 100%;
  }

  .esf-heading__actions {
    width: 100%;
    justify-content: space-between;
  }

  .esf-product-layout--furniture .esf-single-product__summary {
    position: static;
  }

  .esf-product-layout--furniture .esf-single-product__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    align-items: start;
  }

  .esf-product-layout--furniture .esf-single-product__gallery,
  .esf-product-layout--furniture .woocommerce-product-gallery,
  .esf-product-layout--furniture .woocommerce-product-gallery > .flex-viewport,
  .esf-product-layout--furniture .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper,
  .esf-product-layout--furniture .woocommerce-product-gallery__wrapper,
  .esf-product-layout--furniture .woocommerce-product-gallery__image,
  .esf-product-layout--furniture .woocommerce-product-gallery__image a {
    height: auto !important;
  }

  .esf-product-layout--furniture .woocommerce-product-gallery__image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .esf-product-layout--furniture .woocommerce-product-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .esf-product-layout--furniture .woocommerce-product-gallery > .flex-viewport,
  .esf-product-layout--furniture .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
    grid-row: 1;
    grid-column: 1;
  }

  .esf-product-layout--furniture .flex-control-thumbs {
    grid-row: 2;
    grid-column: 1;
    max-height: none;
    padding: 0 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-direction: row;
  }

  .esf-product-layout--furniture .flex-control-thumbs li {
    flex: 0 0 72px;
  }

  .esf-product-layout--furniture .woocommerce-product-gallery__trigger {
    right: 14px;
  }

  .esf-product-layout--furniture .esf-single-product__gallery > .onsale {
    right: 14px;
  }

  .esf-product-layout--furniture .esf-single-product__summary .cart {
    align-items: stretch;
    flex-direction: column;
  }

  .esf-product-layout-details__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .esf-product-layout--furniture .upsells.products ul.products {
    grid-template-columns: 1fr !important;
  }

  .esf-products,
  .woocommerce ul.products {
    gap: 18px;
  }

  .esf-process-grid,
  .esf-product-card__actions {
    grid-template-columns: 1fr;
  }

  .esf-project-grid img,
  .esf-gallery-grid img,
  .esf-two-column img {
    height: 300px;
  }

  [data-esf-reveal] {
    transform: translate3d(0, 14px, 0);
    transition-duration: 620ms;
  }

  [data-esf-reveal="scale"] {
    transform: translate3d(0, 10px, 0) scale(0.985);
  }

  [data-esf-reveal="hero-copy"] {
    transform: translate3d(0, 22px, 0);
  }

  [data-esf-reveal="hero-pop"] {
    transform: translate3d(0, 10px, 0) scale(0.76);
  }

  [data-esf-reveal="hero-chip"] {
    transform: translate3d(0, 12px, 0) scale(0.96);
  }

  [data-esf-reveal="hero-media-main"],
  [data-esf-reveal="hero-media"] {
    transform: translate3d(0, 18px, 0) scale(0.97);
  }

  .esf-hero__main .esf-parallax-media {
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 350px) {
  .esf-brand__text strong {
    display: -webkit-box;
    overflow: visible;
    font-size: 12px;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .esf-brand__text small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-esf-reveal],
  [data-esf-reveal="scale"],
  [data-esf-reveal="hero-pop"],
  .esf-theme .esf-interaction-pop,
  .esf-cart-notified,
  [data-esf-reveal].esf-reveal-visible,
  .esf-hero__main .esf-parallax-media {
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* Curved surfaces and breathing room for product, cart, and checkout flows. */
.esf-single-product-page,
body.single-product .esf-shop-page {
  padding-block: clamp(30px, 4.5vw, 60px);
  background: var(--esf-bg);
}

.esf-single-product__grid {
  gap: clamp(20px, 3.5vw, 48px);
}

.esf-single-product__gallery,
.esf-single-product__summary {
  min-width: 0;
  border-radius: 10px;
}

.esf-single-product__summary {
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--esf-line);
  background: #fff;
  box-shadow: 0 14px 38px rgba(11, 45, 77, 0.08);
}

.esf-product-layout--furniture .esf-single-product__summary {
  border-radius: 10px;
}

.woocommerce-product-gallery > .flex-viewport,
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image a,
.woocommerce-product-gallery__image img {
  border-radius: 10px;
}

.woocommerce-product-gallery > .flex-viewport,
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 38px rgba(11, 45, 77, 0.08);
}

.flex-control-thumbs img {
  border-radius: 8px;
}

.woocommerce-product-gallery__trigger,
.esf-product-layout--furniture .esf-single-product__gallery > .onsale,
.esf-product-order-meta span,
.quantity,
.quantity input,
.esf-button,
.wp-block-button__link,
.esf-product-whatsapp,
.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.checkout-button,
.wc-forward {
  border-radius: 8px !important;
}

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.orderby,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border-radius: 8px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(11, 45, 77, 0.06);
}

.woocommerce-cart-form,
.woocommerce-cart .cart_totals,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce-checkout .woocommerce-form-login {
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid var(--esf-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 45, 77, 0.07);
}

.shop_table {
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .woocommerce-checkout {
  gap: clamp(20px, 3vw, 36px);
}

@media (max-width: 760px) {
  .esf-single-product-page,
  body.single-product .esf-shop-page {
    padding-block: 22px 36px;
  }

  .esf-single-product__grid {
    gap: 18px;
  }

  .esf-single-product__summary {
    padding: 18px 14px;
  }

  .woocommerce-cart-form,
  .woocommerce-cart .cart_totals,
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout #order_review {
    padding: 14px 10px;
  }
}

/* The shop category browser is intentionally isolated from every other carousel. */
body.woocommerce-shop .esf-shop-category-browser .esf-category-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7em;
  text-align: center;
}

/* Keep product archives readable at every viewport width. */
body.woocommerce:not(.woocommerce-shop) .esf-shop-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px 24px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce:not(.woocommerce-shop) .esf-shop-page ul.products > .esf-product-card,
body.woocommerce:not(.woocommerce-shop) .esf-shop-page ul.products > .esf-product-card:nth-child(n) {
  display: flex;
  float: none !important;
  clear: none !important;
  grid-column: auto !important;
  flex-direction: column;
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  margin: 0 !important;
}

body.woocommerce:not(.woocommerce-shop) .esf-shop-page .esf-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

body.woocommerce:not(.woocommerce-shop) .esf-shop-page .esf-product-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
}

body.woocommerce:not(.woocommerce-shop) .esf-shop-page .esf-product-card h2,
body.woocommerce:not(.woocommerce-shop) .esf-shop-page .esf-product-card__price {
  overflow-wrap: anywhere;
}

body.woocommerce:not(.woocommerce-shop) .esf-shop-page .esf-product-card__actions {
  margin-top: auto;
  padding-top: 16px;
}

@media (max-width: 1100px) {
  body.woocommerce:not(.woocommerce-shop) .esf-shop-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  body.woocommerce:not(.woocommerce-shop) .esf-shop-page {
    overflow-x: clip;
  }

  body.woocommerce:not(.woocommerce-shop) .esf-shop-toolbar {
    align-items: stretch;
    width: 100%;
  }

  body.woocommerce:not(.woocommerce-shop) .esf-shop-toolbar > div,
  body.woocommerce:not(.woocommerce-shop) .esf-shop-toolbar .woocommerce-ordering,
  body.woocommerce:not(.woocommerce-shop) .esf-shop-toolbar .orderby {
    float: none !important;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    margin: 0 !important;
  }

  body.woocommerce:not(.woocommerce-shop) .esf-shop-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px;
  }

  body.woocommerce:not(.woocommerce-shop) .esf-shop-page .esf-product-card__body {
    gap: 6px;
    padding: 12px 10px;
  }

  body.woocommerce:not(.woocommerce-shop) .esf-shop-page .esf-product-card h2 {
    font-size: 15px;
    line-height: 1.5;
  }

  body.woocommerce:not(.woocommerce-shop) .esf-shop-page .esf-product-card__price {
    gap: 4px;
    font-size: 14px;
  }

  body.woocommerce:not(.woocommerce-shop) .esf-shop-page .esf-product-card__actions {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 10px;
  }

  body.woocommerce:not(.woocommerce-shop) .esf-shop-page .esf-product-card__actions a {
    min-height: 40px;
    padding-inline: 6px;
    font-size: 13px;
  }
}

@media (min-width: 1200px) {
  body.woocommerce-shop .esf-shop-category-browser {
    padding-inline: 34px;
    overflow: hidden;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-grid {
    gap: 24px;
    width: 100%;
    padding: 8px 0 16px;
    overflow-x: auto;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-card {
    flex: 0 0 calc((100% - 120px) / 6);
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-card img {
    display: block;
    width: min(100%, 190px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-carousel-controls--overlay [data-esf-carousel-prev] {
    inset-inline-start: 0;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-carousel-controls--overlay [data-esf-carousel-next] {
    inset-inline-end: 0;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body.woocommerce-shop .esf-shop-category-browser .esf-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
    touch-action: pan-y pinch-zoom;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-card {
    width: 100%;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-card:last-child {
    grid-column: 2;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-carousel-controls {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-shop .esf-shop-category-browser .esf-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
    touch-action: pan-y pinch-zoom;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-card {
    width: 100%;
    min-width: 0;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 16px) / 2);
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-card img {
    display: block;
    width: min(100%, 190px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-carousel-controls {
    display: none !important;
  }
}

/* Responsive category sizing across home, shop, and archive surfaces. */
@media (min-width: 761px) and (max-width: 1199px) {
  .esf-category-card {
    flex-basis: clamp(138px, 19vw, 168px);
  }

  .esf-category-card img {
    width: min(100%, 164px);
  }

  .esf-category-card h3 {
    font-size: 16px;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-card img {
    width: min(100%, 164px);
  }
}

@media (max-width: 760px) {
  .esf-category-grid {
    gap: 10px;
    padding-inline: 12px;
  }

  .esf-category-card {
    flex: 0 0 clamp(98px, calc((100vw - 44px) / 3), 122px);
  }

  .esf-category-card img {
    width: min(100%, 116px);
  }

  .esf-category-card div {
    padding: 8px 2px 0;
  }

  .esf-category-card h3 {
    font-size: clamp(12px, 3.4vw, 14px);
    line-height: 1.4;
  }

  .esf-carousel-controls--overlay button {
    width: 36px;
    height: 36px;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-grid {
    gap: 18px 12px;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-card {
    width: 100%;
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-card:last-child:nth-child(odd) {
    width: calc((100% - 12px) / 2);
  }

  body.woocommerce-shop .esf-shop-category-browser .esf-category-card img {
    width: min(100%, 142px);
  }
}

/* Keep three related products visible at every viewport size. */
.esf-related-products__more {
  flex: 0 0 auto;
  align-self: flex-end;
  margin-bottom: 6px;
}

.esf-related-products .esf-products--carousel {
  gap: clamp(8px, 1.8vw, 24px);
}

.esf-related-products .esf-products--carousel .esf-product-card {
  flex-basis: calc((100% - (2 * clamp(8px, 1.8vw, 24px))) / 3);
}

@media (max-width: 760px) {
  .esf-related-products {
    margin-top: 28px;
    padding-top: 22px;
  }

  .esf-related-products .esf-heading--row {
    align-items: flex-end;
    flex-direction: row;
    gap: 10px;
  }

  .esf-related-products .esf-heading h2 {
    margin-top: 4px;
    font-size: clamp(20px, 6vw, 26px);
    line-height: 1.3;
  }

  .esf-related-products__more {
    font-size: 13px;
    white-space: nowrap;
  }

  .esf-related-products .esf-products-carousel-shell {
    margin-top: 16px;
  }

  .esf-related-products .esf-product-card__body {
    gap: 4px;
    padding: 9px 6px;
  }

  .esf-related-products .esf-product-card h2 {
    min-height: 2.8em;
    font-size: clamp(11px, 3.2vw, 13px);
    line-height: 1.4;
  }

  .esf-related-products .esf-product-card__price,
  .esf-related-products .price {
    font-size: clamp(11px, 3vw, 13px);
  }

  .esf-related-products .esf-product-card__actions {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-top: 7px;
  }

  .esf-related-products .esf-product-card__actions a {
    min-height: 34px;
    padding: 5px 3px;
    font-size: 10px;
    line-height: 1.25;
  }

  .esf-related-products .esf-carousel-controls--overlay button {
    width: 32px;
    height: 32px;
  }
}

/* Unified curved product-card treatment across every product surface. */
.esf-product-card {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(11, 45, 77, 0.07);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.esf-product-card:hover,
.esf-product-card:focus-within {
  border-color: rgba(66, 184, 217, 0.55);
  box-shadow: 0 14px 32px rgba(11, 45, 77, 0.13);
  transform: translateY(-3px);
}

.esf-product-card__media {
  border-radius: 9px 9px 0 0;
}

.esf-product-card__image,
.esf-product-card__media img {
  border-radius: 9px 9px 0 0;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.esf-product-card:hover .esf-product-card__image,
.esf-product-card:focus-within .esf-product-card__image,
.esf-product-card:hover .esf-product-card__media img,
.esf-product-card:focus-within .esf-product-card__media img {
  transform: scale(1.025);
}

.esf-product-card__badge {
  border-radius: 0 0 0 9px;
}

.esf-product-card__actions .esf-card-link,
.esf-product-card__actions .button,
.esf-product-card__actions .added_to_cart {
  border-radius: 8px !important;
}

@media (prefers-reduced-motion: reduce) {
  .esf-product-card,
  .esf-product-card__image,
  .esf-product-card__media img {
    transition: none;
  }

  .esf-product-card:hover,
  .esf-product-card:focus-within,
  .esf-product-card:hover .esf-product-card__image,
  .esf-product-card:focus-within .esf-product-card__image,
  .esf-product-card:hover .esf-product-card__media img,
  .esf-product-card:focus-within .esf-product-card__media img {
    transform: none;
  }
}

/* Client footer final cascade position. */
.esf-site-footer { border-top: 3px solid var(--esf-accent); background: #101a24; }
.esf-footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(170px, 0.62fr) minmax(260px, 0.86fr); gap: clamp(34px, 5vw, 74px); padding: 64px 0 54px; }
.esf-footer__brand > p { max-width: 470px; margin: 18px 0 22px; }
.esf-footer__social { display: grid; gap: 10px; max-width: 390px; }
.esf-footer__social a { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; min-height: 48px; margin: 0; padding: 10px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.035); transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.esf-footer__social a:hover, .esf-footer__social a:focus-visible { border-color: var(--esf-accent); background: var(--esf-accent); color: var(--esf-primary); transform: translateY(-2px); }
.esf-footer__social a:hover span, .esf-footer__social a:focus-visible span { color: inherit; }
.esf-footer__social .dashicons-arrow-left-alt2 { justify-self: end; }
.esf-footer__links, .esf-footer__contact { display: grid; align-content: start; gap: 9px; }
.esf-footer__links a { width: fit-content; margin: 0; transition: color 180ms ease, transform 180ms ease; }
.esf-footer__links a:hover, .esf-footer__links a:focus-visible, .esf-footer__contact a:hover, .esf-footer__contact a:focus-visible { color: var(--esf-accent); transform: translateX(-3px); }
.esf-footer__contact p, .esf-footer__contact a { display: flex; align-items: flex-start; gap: 10px; margin: 0; transition: color 180ms ease, transform 180ms ease; }
.esf-footer__contact .dashicons { flex: 0 0 20px; color: var(--esf-accent); }
.esf-footer__bottom > .esf-container { display: flex; justify-content: space-between; gap: 24px; }
.esf-faq-page__hero { padding-block: 72px 54px; }
.esf-faq-list { max-width: 920px; }
.esf-faq-item { border-bottom: 1px solid var(--esf-line); }
.esf-faq-item:first-child { border-top: 1px solid var(--esf-line); }
.esf-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; color: var(--esf-primary); cursor: pointer; font-size: 18px; font-weight: 800; list-style: none; }
.esf-faq-item summary::-webkit-details-marker { display: none; }
.esf-faq-item summary .dashicons { color: var(--esf-accent); transition: transform 180ms ease; }
.esf-faq-item[open] summary .dashicons { transform: rotate(45deg); }
.esf-faq-item > p { max-width: 760px; margin: -6px 0 22px; color: var(--esf-muted); }
.esf-faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 42px; padding: 28px; border-inline-start: 4px solid var(--esf-accent); background: #fff; }
.esf-faq-cta h2, .esf-faq-cta p { margin: 0; }
.esf-faq-cta p { margin-top: 4px; color: var(--esf-muted); }
@media (max-width: 760px) {
  .esf-footer__grid { grid-template-columns: 1fr; padding-block: 46px 38px; }
  .esf-footer__bottom > .esf-container, .esf-faq-cta { align-items: stretch; flex-direction: column; }
  .esf-footer__social { max-width: none; }
  .esf-faq-page__hero { padding-block: 50px 36px; }
  .esf-faq-item summary { font-size: 16px; }
}
