/* =========================================================
   Custom Store Styles — brand layer on top of core.css
   ========================================================= */

:root {
  --esh-primary: #123A73;       /* royal blue — main header bg, brand links/prices on light bg */
  --esh-primary-dark: #0B2545;  /* deep navy — top bar / nav bar / footer bg, CTA buttons */
  --esh-accent: #FFC627;        /* yellow/gold — search button, logo badge, accents on dark bg */
  --esh-accent-dark: #E6AC00;   /* yellow hover */
  --esh-dark: #0B2545;
  --esh-text: #333333;
  --esh-muted: #6b6b6b;
  --esh-bg: #ffffff;
  --esh-bg-soft: #f7f7f7;
  --esh-border: #e7e7e7;

  --esh-strip-red: #bb5a4a;
  --esh-strip-red-bg: #fbeeeb;
  --esh-strip-green: #86a53f;
  --esh-strip-green-bg: #f1f6e6;
  --esh-strip-purple: #7a4e97;
  --esh-strip-purple-bg: #f1eaf6;
  --esh-strip-orange: #e0932e;
  --esh-strip-orange-bg: #fdf1e2;
  --esh-strip-blue: #3d7091;
  --esh-strip-blue-bg: #eaf2f7;
  --esh-strip-navy: #4b4f7a;
  --esh-strip-navy-bg: #ececf3;

  --esh-font-heading: 'Space Grotesk', -apple-system, system-ui, sans-serif;
  --esh-font-body: 'Inter', -apple-system, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }

body, button, input, select, textarea { font-family: var(--esh-font-body); }
/* !important because Elementor's per-widget Typography controls output a
   scoped rule (e.g. ".elementor-element-61be2de .elementor-heading-title")
   that otherwise out-specifies a plain element-list selector. */
h1, h2, h3, h4, h5, h6,
.esh-el-site-branding .site-title,
.esh-product-row-title,
.elementor-heading-title,
.esh-hero-banner .elementor-heading-title,
.woocommerce ul.products li.product .price,
.eael-product-carousel .eael-product-price,
.esh-buy-now-button,
.woocommerce div.product .single_add_to_cart_button,
.woocommerce ul.products li.product a.button.add_to_cart_button,
.eael-product-carousel .product-details-wrap a.button.add_to_cart_button {
  font-family: var(--esh-font-heading) !important;
}

/* The theme's own style.css forces word-break:break-all on blog/comment
   text, which chops ordinary words mid-way. Only break truly unbreakable
   strings (long URLs etc.), not normal words. */
article.esh-el-blog-post-inner,
.comments-area.mg-card-box {
  word-break: normal;
  overflow-wrap: break-word;
}

/* Reset style.css's generic button styling (padding/shadow/line-height) for
   every custom button used across the store, so each keeps its own design. */
.esh-el-mobile-toggle,
.esh-el-mobile-close,
.esh-el-categories-toggle,
.esh-write-review-btn,
.esh-see-more-reviews,
.esh-qty-btn,
.esh-el-header-search button,
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
  box-shadow: none;
  line-height: normal;
}

.esh-el-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

a { text-decoration: none; }

/* ---------- Top bar ---------- */
.esh-el-topbar {
  background: var(--esh-primary-dark);
  color: #fff;
  font-size: 13px;
}
.esh-el-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 20px;
}
.esh-el-topbar-social { display: flex; gap: 10px; }
.esh-el-topbar-social a {
  color: #fff;
  opacity: .85;
  display: inline-flex;
}
.esh-el-topbar-social a:hover { opacity: 1; color: var(--esh-accent); }
.esh-el-topbar-text { flex: 1; text-align: center; color: #e8edf5; }
.esh-el-topbar-links a { color: #fff; }
.esh-el-topbar-links a:hover { color: var(--esh-accent); }

/* ---------- Main header ---------- */
.esh-el-header {
  background: var(--esh-primary);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: box-shadow .35s ease;
}
/* Elementor's Theme Builder wraps this header in a chain of elements that
   are all sized exactly to the header's own height (not the full page),
   so position:sticky has no "room" to hold its position past the first
   scroll — it would just scroll away with that tightly-fitted wrapper.
   Using position:fixed (toggled on only once scrolled, via JS) sidesteps
   that entirely; store.js also inserts a matching-height spacer right
   before it so switching to fixed doesn't make the page jump upward. */
.esh-el-header.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  box-shadow: 0 8px 20px rgba(11,37,69,.22);
}
.esh-el-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  flex-wrap: wrap;
  transition: padding .35s ease;
}
.esh-el-header.is-scrolled .esh-el-header-main { padding: 9px 0; }
.esh-el-header-logo img { transition: max-height .35s ease; }
.esh-el-header.is-scrolled .esh-el-header-logo img { max-height: 32px; }
.esh-el-header.is-scrolled .esh-el-site-branding .site-description { display: none; }
.esh-el-header-logo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 10px;
}
.esh-el-header-logo .navbar-brand,
.esh-el-header-logo .esh-el-site-branding {
  flex-shrink: 0;
}
/* logo2 (gold checkmark + faint white ghost mark) already contrasts fine
   against this header's navy background on its own transparent canvas —
   unlike the earlier navy-on-navy logo, no white chip is needed here. */
.esh-el-header-logo img {
  max-height: 44px;
  width: auto;
}
.esh-el-site-branding .site-title { margin: 0; font-size: 22px; line-height: 1.1; }
.esh-el-site-branding .site-title a {
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
}
.esh-logo-badge {
  display: inline-block;
  background: var(--esh-accent);
  color: var(--esh-primary-dark);
  padding: 1px 8px;
  border-radius: 4px;
  font-weight: 800;
}
.esh-el-site-branding .site-description { margin: 0; font-size: 12px; color: #c7d4ea; }

.esh-el-header-search { flex: 1; max-width: 560px; }
.esh-el-header-search form { display: flex; width: 100%; }
.esh-el-header-search input[type="search"],
.esh-el-header-search input[type="text"] {
  flex: 1;
  border: none;
  border-radius: 6px 0 0 6px;
  padding: 12px 16px;
  font-size: 14px;
  background: #fff;
}
.esh-el-header-search button {
  border: none;
  background: var(--esh-accent);
  color: var(--esh-primary-dark);
  padding: 0 20px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}
.esh-el-header-search button:hover { background: var(--esh-accent-dark); color: var(--esh-primary-dark); }

.esh-el-header-actions { display: flex; align-items: center; gap: 20px; }
.esh-el-header-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
  position: relative;
}
.esh-el-header-action svg { width: 20px; height: 20px; flex-shrink: 0; }
.esh-el-header-action:hover { color: var(--esh-accent); }
.esh-el-cart-action { position: relative; }
.esh-el-cart-count {
  position: absolute;
  top: -8px;
  left: 12px;
  background: var(--esh-accent);
  color: var(--esh-primary-dark);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ---------- Category + nav bar ---------- */
.esh-el-navbar { background: var(--esh-primary-dark); border-bottom: none; }
.esh-el-navbar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 48px;
  flex-wrap: wrap;
}

.esh-el-categories-dropdown { position: relative; }
.esh-el-categories-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--esh-accent);
  color: var(--esh-primary-dark);
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.esh-el-categories-toggle svg { width: 16px; height: 16px; }
.esh-el-categories-toggle:hover { background: var(--esh-accent-dark); }
.esh-el-categories-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid var(--esh-border);
  min-width: 220px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  display: none;
}
.esh-el-categories-dropdown.is-open .esh-el-categories-list { display: block; }
.esh-el-categories-list li a {
  display: block;
  padding: 8px 18px;
  color: var(--esh-text);
  font-size: 14px;
}
.esh-el-categories-list li a:hover { background: var(--esh-bg-soft); color: var(--esh-primary); }

.main_nav { flex: 1; }
.esh-el-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.esh-el-menu li a {
  display: block;
  padding: 14px 0;
  color: #dfe6f2;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.esh-el-menu li a:hover,
.esh-el-menu li.current-menu-item a { color: var(--esh-accent); }

/* ---------- Mega menu (category links with WooCommerce subcategories) ---------- */
.esh-el-menu li.has-mega-menu { position: relative; display: flex; align-items: center; }
.esh-mega-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  margin-left: 2px;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.esh-mega-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.esh-mega-panel {
  display: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(11,37,69,.16);
}
.esh-mega-panel-list {
  display: block !important;
  list-style: none;
  margin: 0;
  padding: 0;
}
.esh-mega-panel-list li { display: block !important; list-style: none; overflow: hidden; }
.esh-mega-panel-list a {
  display: block !important;
  padding: 10px 18px !important;
  color: var(--esh-dark) !important;
  font-size: 13px;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
/* Same hover animation everywhere this list appears (desktop hover panel
   and mobile accordion share this exact markup/class) — the word itself
   nudges forward, paired with the existing colour/background change. */
.esh-mega-panel-list a:hover {
  background: var(--esh-bg-soft);
  color: var(--esh-primary) !important;
  transform: translateX(8px);
}

@media (min-width: 901px) {
  .esh-el-menu li.has-mega-menu:hover .esh-mega-panel,
  .esh-el-menu li.has-mega-menu:focus-within .esh-mega-panel {
    display: block;
  }
  .esh-mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 60;
    min-width: 220px;
    padding: 8px 0;
  }
  /* Visible dropdown chevron next to each category link — purely a visual
     cue here (desktop opens the panel on hover, not a click), so it's
     shown but not enlarged into its own tap target like the mobile
     accordion version. */
  .esh-mega-toggle {
    display: flex;
    width: auto;
    height: auto;
    /* Not a descendant of the <a> (it's a sibling button), so it doesn't
       inherit the link's light nav-bar colour — explicitly match it,
       otherwise this falls back to the default dark body text colour and
       is invisible against the navy nav background. */
    color: #dfe6f2;
    pointer-events: none;
  }
  .esh-el-menu li.has-mega-menu:hover .esh-mega-toggle,
  .esh-el-menu li.has-mega-menu:focus-within .esh-mega-toggle { color: var(--esh-accent); }
  .esh-el-menu li.has-mega-menu:hover .esh-mega-toggle svg { transform: rotate(180deg); }
}

/* Hamburger toggle (mobile only, shown via media query below) */
.esh-el-mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease;
}
.esh-el-mobile-toggle:hover,
.esh-el-mobile-toggle:focus-visible { background: rgba(255,255,255,.22); }
.esh-el-mobile-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, width .2s ease;
}
.esh-el-mobile-toggle.is-active { background: var(--esh-accent); }
.esh-el-mobile-toggle.is-active span { background: var(--esh-primary-dark); }
.esh-el-mobile-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.esh-el-mobile-toggle.is-active span:nth-child(2) { opacity: 0; width: 0; }
.esh-el-mobile-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.esh-el-navbar-mobile-head { display: none; }
.esh-el-navbar-backdrop {
  display: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.esh-el-navbar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.esh-el-navbar-phone a { color: #fff; }
.esh-el-navbar-phone svg { width: 18px; height: 18px; color: var(--esh-accent); }
/* Phone already shown in the top bar; hide the navbar's copy on desktop so
   the (now much longer) category+pages menu has the full row to itself. */
@media (min-width: 901px) {
  .esh-el-navbar-phone { display: none; }
}

/* ---------- Footer ---------- */
/* .elementor-location-footer covers the case where Elementor's Theme
   Builder footer template renders (its own outer <footer>, not ours). */
.esh-el-footer,
.elementor-location-footer {
  background: var(--esh-primary-dark);
  border-top: none;
  padding: 50px 0 0;
  margin-top: 40px;
}
.esh-el-footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 30px;
  padding-bottom: 30px;
}
.esh-el-footer-title { font-size: 16px; margin: 0 0 16px; color: #fff; }
.esh-el-footer-site-title a { font-weight: 700; font-size: 18px; color: #fff; }
.esh-el-footer-brand img {
  max-height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 8px;
}
.esh-el-footer-social { display: flex; gap: 10px; margin: 12px 0; }
.esh-el-footer-social a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: #fff; border-radius: 50%;
}
.esh-el-footer-social a:hover { background: var(--esh-accent); color: var(--esh-primary-dark); }
.esh-el-footer-contact { list-style: none; margin: 10px 0 0; padding: 0; }
.esh-el-footer-contact li {
  display: flex; align-items: flex-start; gap: 8px;
  margin-bottom: 8px; font-size: 14px; color: #c7d4ea;
}
.esh-el-footer-contact li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--esh-accent); }
.esh-el-footer-menu { list-style: none; margin: 0; padding: 0; }
.esh-el-footer-menu li a {
  display: block; padding: 6px 0; font-size: 14px; color: #c7d4ea;
}
.esh-el-footer-menu li a:hover { color: var(--esh-accent); }
.esh-el-footer-mission { font-size: 14px; line-height: 1.7; color: #c7d4ea; margin: 0; }
.esh-el-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: #9fb0cc;
}

/* ---------- Utility classes for Elementor content ---------- */
.esh-cat-circle .elementor-image-box-img {
  width: 120px !important;
  height: 120px !important;
  max-height: none !important;
  margin: 0 auto !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: block !important;
  /* border: 4px solid var(--esh-accent) !important; */
  transition: transform .2s ease;
}
.esh-cat-circle:hover .elementor-image-box-img { transform: scale(1.06); }
.esh-cat-circle .elementor-image-box-img img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}
.esh-cat-circle .elementor-image-box-content { text-align: center; }
.esh-cat-circle .elementor-image-box-wrapper { text-align: center; }
.esh-cat-circle .elementor-image-box-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--esh-primary) !important;
}

.esh-trust-badge .elementor-icon-box-wrapper { align-items: center; }

.esh-strip-title { color: #fff; }

/* Hero CTA pill buttons (hero banner + side promo cards) */
.esh-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.esh-hero-btn .elementor-button {
  background: var(--esh-primary-dark) !important;
  color: #fff !important;
  border-radius: 30px !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
}
.esh-hero-btn .elementor-button:hover { background: var(--esh-primary) !important; }

/* ---------- Homepage promo slider (Elementor Pro "Slides" widget) ---------- */
.esh-home-slider-section { padding: 0; }
.esh-home-slider-section .elementor-container,
.esh-home-slider-section .elementor-column,
.esh-home-slider-section .elementor-widget-wrap { padding: 0; max-width: 100%; }
.esh-home-slider,
.esh-home-slider .elementor-widget-container,
.esh-home-slider .swiper,
.esh-home-slider .swiper-wrapper { height: 100%; }
.esh-home-slider .swiper-slide-bg { background-position: center; }
.esh-home-slider .elementor-slide-heading {
  font-family: var(--esh-font-heading) !important;
  font-weight: 700 !important;
  font-size: clamp(26px, 3.5vw, 40px) !important;
}
.esh-home-slider .elementor-slide-description { font-size: 16px; opacity: .92; }
.esh-home-slider .elementor-slide-button {
  background: var(--esh-accent) !important;
  border: none !important;
  color: var(--esh-primary-dark) !important;
  border-radius: 999px !important;
  padding: 12px 32px !important;
  font-weight: 700 !important;
  font-family: var(--esh-font-heading) !important;
}
.esh-home-slider .elementor-slide-button:hover { background: var(--esh-accent-dark) !important; }
.esh-home-slider .swiper-pagination-bullet { background: #fff !important; opacity: .5; }
.esh-home-slider .swiper-pagination-bullet-active { opacity: 1; }
.esh-home-slider .elementor-swiper-button { color: #fff !important; }

/* ---------- Product cards (shop/category/homepage grids) ---------- */
/* WooCommerce's default grid is float-based, so a category with fewer
   products than the column count (e.g. 3 in a 4-column row) left-aligns
   with empty space on the right. Switching to flex + justify-content:center
   keeps a full row looking identical (it already fills the line) but
   centers a short last row instead of stranding it on the left. */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #fff;
  border: 1px solid var(--esh-border);
  border-radius: 8px;
  padding: 14px 14px 16px;
  position: relative;
  transition: box-shadow .2s ease, transform .2s ease;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  box-shadow: 0 10px 24px rgba(11,37,69,.12);
  transform: translateY(-3px);
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: block;
  color: inherit;
}
.woocommerce ul.products li.product img {
  border-radius: 6px;
  margin-bottom: 12px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: var(--esh-dark);
  margin: 0 0 6px;
  line-height: 1.4;
  min-height: calc(1.4em * 2);
}
.woocommerce ul.products li.product .star-rating,
.eael-product-carousel .eael-star-rating .star-rating {
  margin: 0 0 6px;
  font-size: 13px;
}
.woocommerce ul.products li.product .star-rating span::before,
.eael-product-carousel .star-rating span::before { color: var(--esh-accent-dark); }
.eael-product-carousel .woocommerce-loop-product__title,
.eael-product-carousel .eael-product-title h2,
.eael-product-carousel .eael-product-title a h2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  white-space: normal !important;
  min-height: calc(1.2em * 2);
}
.woocommerce ul.products li.product .price {
  display: block;
  color: var(--esh-primary);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  /* Reserve room for the 2-line sale-price layout (struck-through regular
     price above the sale price) on every card, so a card without a sale
     doesn't end up shorter than one with a sale and throw off row height
     — this grid is flexbox, so unlike the carousel's CSS grid, different
     wrapped rows don't auto-match height unless each card's own content
     is pre-sized the same. */
  min-height: 40px;
}
.woocommerce ul.products li.product .price del,
.eael-product-carousel .eael-product-price del {
  color: var(--esh-muted);
  font-weight: 400;
  font-size: 13px;
  opacity: 1;
  margin-right: 6px;
  display: inline-block;
}
.woocommerce ul.products li.product .price ins,
.eael-product-carousel .eael-product-price ins { text-decoration: none; }
.woocommerce ul.products li.product a.button.add_to_cart_button,
.eael-product-carousel .product-details-wrap a.button.add_to_cart_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  text-align: center;
  background: var(--esh-primary-dark);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13px;
  text-transform: capitalize;
  box-shadow: none;
  line-height: normal;
}
.woocommerce ul.products li.product a.button.add_to_cart_button:hover,
.eael-product-carousel .product-details-wrap a.button.add_to_cart_button:hover { background: var(--esh-primary); }
.woocommerce ul.products li.product a.button.loading::after,
.eael-product-carousel .product-details-wrap a.button.loading::after { border-top-color: #fff; }
.woocommerce ul.products li.product a.added_to_cart {
  display: block;
  text-align: center;
  margin-top: 6px;
  font-size: 12px;
  color: var(--esh-primary);
}

/* Essential Addons' Woo Product Carousel (preset-1) lays the title+rating
   and the price side-by-side in a flex row, with Add to Cart hidden inside
   an image hover-overlay. Restructure to the same stacked card layout used
   by the native shop/category grid (title -> stars -> price -> a persistent
   Add to Cart button), so the card design matches everywhere. The button
   itself is relocated into .product-details-wrap by JS (see store.js). */
.eael-woo-product-carousel-container.preset-1 .product-details-wrap {
  display: block !important;
  padding: 14px 14px 16px !important;
}
.eael-woo-product-carousel-container.preset-1 .product-details-wrap .product-details {
  width: 100% !important;
}
.eael-woo-product-carousel-container.preset-1 .product-details-wrap .eael-product-price {
  width: 100% !important;
  text-align: left !important;
  color: var(--esh-primary) !important;
  font-weight: 700;
  margin: 0 0 12px;
}
.eael-product-carousel .product-details-wrap a.button.add_to_cart_button {
  margin-top: 0;
}

/* Real, data-driven badges (New / X% Off) — see esh_product_loop_badges(). */
.esh-product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.esh-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
  color: #fff;
  line-height: 1.3;
  white-space: nowrap;
}
.esh-badge-new { background: var(--esh-primary); }
.esh-badge-sale { background: #E4572E; }

/* ---------- Single product page ---------- */
.woocommerce div.product {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px 0;
  position: relative;
}
/* WooCommerce prints the round "Sale!" badge as a sibling BEFORE the
   gallery, not nested inside it, so it absolutely-positions itself
   against the product wrapper above — without a positioned wrapper it
   was escaping all the way up to the page and landing near the
   breadcrumb. Anchoring it here puts it back on the image's corner. */
.woocommerce div.product > span.onsale {
  top: 12px;
  left: 12px;
}
.woocommerce .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb {
  max-width: 1280px;
  margin: 16px auto !important;
  padding: 0 20px;
  font-size: 13px;
  color: var(--esh-muted);
}
.woocommerce-breadcrumb a { color: var(--esh-muted); }
.woocommerce-breadcrumb a:hover { color: var(--esh-primary); }

/* ---------- Category/shop archive page title ---------- */
.woocommerce-products-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* Result count + sorting dropdown row: inset to match the same 1280px
   container as the breadcrumb/title/product grid above it, instead of
   sitting flush against the browser edges. */
.woocommerce-result-count {
  padding-left: max(20px, calc((100vw - 1280px) / 2 + 20px));
}
.woocommerce-ordering {
  padding-right: max(20px, calc((100vw - 1280px) / 2 + 20px));
}

/* ---------- Shop/category sidebar + live filters ---------- */
.esh-shop-layout {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.esh-shop-main { flex: 1; min-width: 0; }
/* The sidebar column already insets the content, so cancel the standalone
   page-width centering these elements use when there's no sidebar. */
.esh-shop-main .woocommerce-breadcrumb,
.esh-shop-main .woocommerce-products-header {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.esh-shop-main .woocommerce-result-count,
.esh-shop-main .woocommerce-ordering {
  padding-left: 0;
  padding-right: 0;
}

.esh-shop-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--esh-border);
  border-radius: 8px;
  padding: 18px;
}
.esh-shop-sidebar-head,
.esh-shop-sidebar-close,
.esh-shop-sidebar-backdrop,
.esh-shop-filter-btn {
  display: none;
}

.esh-filter-group { margin-bottom: 22px; }
.esh-filter-group:last-of-type { margin-bottom: 0; }
.esh-filter-group h4 {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--esh-dark);
}
.esh-filter-cat-list { list-style: none; margin: 0; padding: 0; }
.esh-filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--esh-text);
  cursor: pointer;
  margin-bottom: 8px;
}
.esh-filter-cat-list label { justify-content: space-between; }
.esh-filter-cat-list label em { font-style: normal; color: var(--esh-muted); font-size: 12px; }
.esh-filter-price-inputs {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}
.esh-filter-price-inputs label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--esh-muted);
  flex: 1;
  margin-bottom: 0;
}
.esh-filter-price-inputs input[type="number"] {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--esh-border);
  border-radius: 6px;
  font-size: 13px;
  box-sizing: border-box;
}
.esh-filter-apply-price,
.esh-filter-clear {
  display: block;
  width: 100%;
  padding: 9px 14px;
  border: none;
  border-radius: 999px;
  background: var(--esh-primary-dark);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
}
.esh-filter-apply-price:hover { background: var(--esh-primary); color: #fff; }
.esh-filter-clear {
  margin-top: 4px;
  background: transparent;
  color: var(--esh-primary);
  border: 1px solid var(--esh-primary);
}
.esh-filter-clear:hover { background: var(--esh-bg-soft); color: var(--esh-primary); }
.esh-filter-rating-stars { color: var(--esh-accent-dark); letter-spacing: 1px; }
.esh-no-products { padding: 40px 0; text-align: center; color: var(--esh-muted); width: 100%; }
ul.products { transition: opacity .2s ease; }

@media (max-width: 900px) {
  .esh-shop-layout { display: block; padding: 0 20px; }
  .esh-shop-main { width: 100%; }

  .esh-shop-filter-btn {
    display: inline-flex;
    float: right;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    border-radius: 999px;
    background: var(--esh-primary-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }
  .esh-shop-filter-btn svg { width: 16px; height: 16px; }

  .esh-shop-sidebar {
    display: block;
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    z-index: 1101;
    overflow-y: auto;
    border-radius: 0;
    border: none;
    box-shadow: -6px 0 24px rgba(0,0,0,.18);
    transition: right .3s ease;
  }
  .esh-shop-sidebar.is-open { right: 0; }

  .esh-shop-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--esh-border);
  }
  .esh-shop-sidebar-head h3 { margin: 0; font-size: 16px; color: var(--esh-dark); }
  .esh-shop-sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--esh-bg-soft);
    color: var(--esh-dark);
    cursor: pointer;
    box-shadow: none;
  }
  .esh-shop-sidebar-close svg { width: 16px; height: 16px; }

  .esh-shop-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20,20,20,.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .esh-shop-sidebar-backdrop.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
}

@media (max-width: 480px) {
  .woocommerce-result-count,
  .woocommerce-ordering {
    float: none;
    display: block;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .woocommerce-ordering { margin: 8px 0 1em; }
  .esh-shop-filter-btn {
    float: none;
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: 48%;
}
.woocommerce div.product div.images { float: left; }
.woocommerce div.product div.summary { float: right; }

.woocommerce-product-gallery__wrapper { border-radius: 8px; overflow: hidden; }
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.woocommerce div.product div.images .flex-control-thumbs li { width: 70px; list-style: none; }
.woocommerce div.product div.images .flex-control-thumbs img {
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active { border-color: var(--esh-primary); }

.product_title { font-size: 28px; margin: 0 0 10px; color: var(--esh-dark); }

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--esh-primary);
  font-size: 24px;
  font-weight: 700;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: var(--esh-muted);
  font-size: 16px;
  font-weight: 400;
  opacity: 1;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none;
}
.woocommerce .stock { color: var(--esh-strip-green); font-weight: 600; margin: 10px 0; }

.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.woocommerce div.product form.cart .quantity {
  display: flex;
  align-items: stretch;
  height: 44px;
  border: 1px solid var(--esh-border);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}
.woocommerce div.product form.cart .quantity input.qty {
  width: 46px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--esh-primary);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  -moz-appearance: textfield;
  /* The theme's global text-input reset (line-height:40px, padding:6px
     12px, margin-bottom:20px — meant for full-width text fields) also
     matches type="number", and was pushing the digit off-centre in this
     much shorter pill. Override all three so the line box exactly equals
     the pill's height, which is what actually centers the text. */
  line-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  vertical-align: middle;
}
.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.esh-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--esh-primary);
  width: 38px;
  height: 44px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
}
/* The theme's generic button:hover/:focus rule turns text white with no
   matching background change, making these +/- symbols disappear against
   the light pill — force them to keep their normal colour instead. */
.esh-qty-btn:hover,
.esh-qty-btn:focus,
.esh-qty-btn:active {
  background: var(--esh-bg-soft);
  color: var(--esh-primary) !important;
}
.woocommerce div.product form.cart .quantity input.qty:focus {
  color: var(--esh-primary) !important;
  outline: none;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
  background: var(--esh-primary-dark);
  border: none;
  color: #fff;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  flex: 1;
  min-width: 180px;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--esh-primary); color: #fff; }

/* Cart page "Proceed to Checkout" + Checkout page "Place Order" — these
   are WooCommerce Blocks components (React-rendered), styled dark grey by
   default; match them to the same navy/hover treatment used everywhere
   else (Add to Cart, Buy It Now, single-product Add to Cart). */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: var(--esh-primary-dark) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-family: var(--esh-font-heading) !important;
}
.wc-block-cart__submit-button:hover,
.wc-block-cart__submit-button:focus,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-checkout-place-order-button:focus {
  background: var(--esh-primary) !important;
  color: #fff !important;
}

.esh-buy-now-button {
  flex-basis: 100%;
  width: 100%;
  background: var(--esh-accent);
  border: none;
  color: var(--esh-dark);
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: none;
  line-height: normal;
}
.esh-buy-now-button:hover { background: var(--esh-accent-dark); color: var(--esh-dark); }

.esh-commitments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 20px 0;
  padding: 18px 0;
  border-top: 1px solid var(--esh-border);
  border-bottom: 1px solid var(--esh-border);
}
.esh-commitment { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--esh-text); }
.esh-commitment-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--esh-primary); }
.esh-commitment-icon svg { width: 100%; height: 100%; }

/* Reviews card */
.esh-reviews-card {
  clear: both;
  max-width: 620px;
  margin: 40px 0 0 52%;
  background: #fff;
  border: 1px solid var(--esh-border);
  border-radius: 10px;
  padding: 26px;
}
.esh-reviews-heading { text-align: center; margin: 0 0 16px; font-size: 22px; color: var(--esh-dark); }
.esh-reviews-actions { text-align: center; margin-bottom: 14px; }
.esh-write-review-btn {
  background: var(--esh-primary-dark);
  color: #fff;
  border: none;
  min-height: 44px;
  padding: 10px 26px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}
.esh-write-review-btn:hover { background: var(--esh-primary); color: #fff; }
.esh-reviews-empty { text-align: center; color: var(--esh-muted); font-size: 14px; }
.esh-verified-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eaf6ec;
  color: #2e7d3b;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}
.esh-verified-banner svg { width: 16px; height: 16px; }

.esh-review-item.is-hidden { display: none; }
.esh-review-item:nth-child(odd) .esh-review-card { background: #eef2f8; }
.esh-review-item:nth-child(even) .esh-review-card { background: #e6ecf5; }
.esh-review-card { border-radius: 8px; padding: 16px 18px; margin-bottom: 14px; }
.esh-review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.esh-review-avatar { border-radius: 50%; width: 40px; height: 40px; }
.esh-review-head-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.esh-review-author { font-size: 14px; color: var(--esh-dark); }
.esh-review-date { font-size: 12px; color: var(--esh-muted); }
.esh-review-text { font-size: 14px; color: var(--esh-text); line-height: 1.6; }
.esh-review-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 10px;
  background: rgba(255,255,255,.6);
  border-radius: 6px;
  font-size: 12px;
  color: var(--esh-dark);
}
.esh-review-product img { width: 32px; height: 32px; object-fit: cover; border-radius: 4px; }
.esh-see-more-reviews {
  display: block;
  margin: 6px auto 0;
  padding: 6px 10px;
  background: none;
  border: none;
  box-shadow: none;
  color: var(--esh-primary);
  font-weight: 600;
  cursor: pointer;
}
#review_form_wrapper { margin-top: 20px; border-top: 1px solid var(--esh-border); padding-top: 20px; }
#review_form_wrapper .stars a { color: var(--esh-accent-dark); }

/* Description accordion */
.esh-description-accordion { clear: both; max-width: 48%; margin-top: 30px; }
.esh-description-accordion summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  border-top: 1px solid var(--esh-border);
  border-bottom: 1px solid var(--esh-border);
  font-size: 15px;
}
.esh-description-content { padding: 16px 0; font-size: 14px; line-height: 1.7; color: var(--esh-text); }

/* Best selling / related rows on product page */
.esh-product-row, .related.products {
  clear: both;
  max-width: 1280px;
  margin: 64px auto 0;
  padding: 0 20px;
}
/* Bold color-blocking + big type: homepage section headers get a
   noticeably bigger, bolder treatment plus a short accent-colour bar,
   reinforcing brand colour rather than sitting as plain grey text. */
body.home .elementor-heading-title {
  font-size: clamp(26px, 3.2vw, 40px) !important;
  font-weight: 700 !important;
  color: var(--esh-dark);
}
.esh-product-row-title,
.related.products > h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--esh-dark);
  margin: 0 0 20px;
  padding-left: 18px;
  position: relative;
}
.esh-product-row-title::before,
.related.products > h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 6px;
  border-radius: 3px;
  background: var(--esh-accent);
}

/* Sitewide reviews wall (Reviews page shortcode) */
.esh-reviews-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.esh-reviews-wall .esh-review-card { background: #eef2f8; }

/* ---------- Homepage hero (big banner + stacked side cards) ---------- */
.esh-hero-banner {
  background: linear-gradient(135deg, #eef3fb 0%, #dfe8f7 100%);
  border-radius: 10px;
  overflow: hidden;
}
.esh-hero-side-card {
  border-radius: 10px;
  overflow: hidden;
}
.esh-hero-side-card.esh-hero-side-light { background: #eaf1fb; }
.esh-hero-side-card.esh-hero-side-dark { background: var(--esh-primary-dark); }
.esh-hero-side-card.esh-hero-side-dark .elementor-heading-title,
.esh-hero-side-card.esh-hero-side-dark p { color: #fff !important; }
.esh-hero-side-card.esh-hero-side-dark .esh-hero-btn .elementor-button {
  background: var(--esh-accent) !important;
  color: var(--esh-primary-dark) !important;
}
.esh-hero-side-card.esh-hero-side-dark .esh-hero-btn .elementor-button:hover {
  background: var(--esh-accent-dark) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .esh-el-footer-columns { grid-template-columns: 1fr 1fr; }
  .esh-el-header-search { order: 3; max-width: 100%; flex-basis: 100%; }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100%;
    float: none;
  }
  .esh-reviews-card { max-width: 100%; margin-left: 0; }
  .esh-description-accordion { max-width: 100%; }

  /* Header: tighter spacing, smaller logo */
  .esh-el-header-main { padding: 12px 0; gap: 14px; }
  .esh-el-site-branding .site-title { font-size: 18px; }
  .esh-el-header-logo img { max-height: 34px; }
  .esh-el-header-action span { display: none; }
  .esh-el-header-action svg { width: 22px; height: 22px; }
  .esh-el-header-actions { gap: 4px; }
  /* Icon-only on mobile shrinks the visual size to 22px, but the tappable
     area needs to stay >=44px — pad the link itself rather than the icon. */
  .esh-el-header-action {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }

  /* Hamburger appears, replaces inline nav bar */
  .esh-el-mobile-toggle { display: flex; }

  .esh-el-navbar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    z-index: 1001;
    background: #fff;
    overflow-y: auto;
    box-shadow: -6px 0 24px rgba(0,0,0,.18);
    transition: right .3s ease;
    border-bottom: none;
  }
  .esh-el-navbar.is-mobile-open { right: 0; }

  .esh-el-navbar-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 14px 20px;
    border-bottom: 1px solid var(--esh-border);
    font-weight: 700;
    font-size: 15px;
    color: var(--esh-dark);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }
  .esh-el-mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .esh-el-mobile-brand img {
    max-height: 28px;
    width: auto;
  }
  .esh-el-mobile-brand-name {
    font-family: var(--esh-font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--esh-dark);
  }
  .esh-el-mobile-brand-name .esh-logo-badge {
    font-size: 13px;
  }
  .esh-el-mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--esh-bg-soft);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--esh-dark);
    box-shadow: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
  }
  .esh-el-mobile-close:hover,
  .esh-el-mobile-close:focus-visible {
    background: var(--esh-primary);
    color: #fff;
    transform: rotate(90deg);
  }

  .esh-el-navbar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20,20,20,.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .esh-el-navbar-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Inside the off-canvas panel, text/links go back to dark-on-white since
     the panel itself stays white regardless of the desktop navbar's navy bg. */
  .esh-el-navbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 30px;
  }
  .esh-el-categories-dropdown { width: 100%; }
  .esh-el-categories-toggle {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
    background: var(--esh-primary-dark);
    color: #fff;
  }
  .esh-el-categories-toggle:hover { background: var(--esh-primary); }
  .esh-el-categories-list {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--esh-bg-soft);
    min-width: 0;
    width: 100%;
    margin-bottom: 10px;
  }

  .main_nav { width: 100%; }
  .esh-el-menu { flex-direction: column; gap: 0; width: 100%; }
  .esh-el-menu li a {
    border-bottom: 1px solid var(--esh-border);
    padding: 15px 4px;
    color: var(--esh-text);
  }
  .esh-el-menu li a:hover,
  .esh-el-menu li.current-menu-item a { color: var(--esh-primary); }

  /* Mega menu becomes an inline accordion: tapping the chevron expands the
     subcategory list under the category link; tapping the link itself
     still navigates normally. */
  .esh-el-menu li.has-mega-menu { flex-wrap: wrap; }
  .esh-el-menu li.has-mega-menu a { flex: 1; border-bottom: none; }
  .esh-mega-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--esh-dark);
    border-bottom: 1px solid var(--esh-border);
  }
  .esh-mega-toggle.is-open svg { transform: rotate(180deg); }
  .esh-mega-panel {
    display: block;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--esh-border);
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    transition: max-height .3s ease, opacity .25s ease;
  }
  .esh-mega-panel.is-open { max-height: 600px; opacity: 1; }
  .esh-mega-panel-list a { padding: 10px 4px 10px 24px !important; font-size: 13px; }

  .esh-el-navbar-phone {
    width: 100%;
    padding-top: 16px;
    margin-top: 6px;
    border-top: 1px solid var(--esh-border);
    color: var(--esh-dark);
  }
  .esh-el-navbar-phone a { color: var(--esh-dark); }
  .esh-el-navbar-phone svg { color: var(--esh-primary); }

  .esh-hero-side-cards { margin-top: 16px; }
}
@media (max-width: 600px) {
  .esh-el-topbar-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .esh-el-topbar-links { display: none; }
  .esh-el-topbar-text { font-size: 12px; }
  .esh-el-footer-columns { grid-template-columns: 1fr; }
  .esh-el-menu { gap: 14px; }
  .esh-el-header-logo { gap: 6px; }
  .esh-el-site-branding .site-description { display: none; }
}

@media (max-width: 768px) {
  /* Shop/category grid + the single-product "Best Selling"/"You May Also
     Like" rows: switch from flex-wrap (used for the "center a short last
     row" fix) to CSS grid. With flex-wrap, each wrapped row's height is
     independent, so a row of shorter cards can end up visibly shorter
     than another row of taller ones; a grid keeps every card in lock-step
     the same height, matching the homepage carousel's behaviour. */
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    justify-content: normal !important;
  }
  /* WooCommerce's own clearfix on ul.products adds a ::before/::after
     (content:"", display:table) purely to contain floated <li> children.
     Now that this is a grid (no floats involved), that pseudo-element
     still generates a real grid item — an invisible one occupying the
     very first cell — which pushed every actual product one slot to the
     right, leaving column 1 of row 1 empty. */
  .woocommerce ul.products::before,
  .woocommerce ul.products::after,
  .woocommerce-page ul.products::before,
  .woocommerce-page ul.products::after {
    display: none !important;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
  }

  /* Popular Categories circle row: 1-per-row (Elementor's own mobile
     column stacking) -> a fixed 2-per-row grid. */
  .elementor-container:has(.esh-cat-circle) {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 12px !important;
  }
  .elementor-container:has(.esh-cat-circle) > .elementor-column {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Homepage product carousels: replace the sliding Swiper behaviour with
     a plain static 2-column grid — simpler to browse on a small screen
     than tiny arrows. The widget's own markup doubles the product <ul>
     as the Swiper wrapper, so this overrides its JS-set inline transform/
     width rather than touching the widget/Swiper itself. */
  .elementor-widget-eael-woo-product-carousel.elementor-widget-eael-woo-product-carousel {
    /* The widget itself is normally shrunk ~20-40px narrower than its
       column to leave room for the desktop nav arrows either side; those
       arrows are hidden on mobile below, so reclaim the full width. It's
       a flex item, so flex-basis/flex-grow (which take priority over a
       plain width) need overriding too, not just width itself.
       (Selector is doubled to out-specify Elementor's own per-element
       generated width rule, which also uses !important.) */
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    flex-basis: 100% !important;
    flex-grow: 1 !important;
    flex-shrink: 0 !important;
  }
  .e-swiper-container {
    /* This padding exists to keep the desktop nav arrows (positioned
       outside the card edges) from overflowing the boxed page width;
       those arrows are hidden on mobile below, so it's just wasted
       width squeezing the 2-column grid — reclaim it. */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .eael-woo-product-carousel-container,
  .eael-woo-product-carousel-container .swiper-container-wrap {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }
  .eael-woo-product-carousel-container .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    transform: none !important;
    height: auto !important;
    width: 100% !important;
  }
  .eael-woo-product-carousel-container .swiper-slide {
    width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
  }
  .eael-woo-product-carousel-container.preset-1 .eael-product-carousel {
    /* The plugin's own preset gives every card a 10px margin (spacing
       for the old sliding layout) — that's redundant with the grid's own
       gap now, and was adding an extra unwanted inset on top of the
       page's 1rem edge padding. */
    margin: 0 !important;
    width: 100% !important;
  }
  .eael-woo-product-carousel-container .swiper-slide img {
    width: 100% !important;
    height: auto !important;
  }
  .eael-woo-product-carousel-container .swiper-slide-duplicate {
    display: none !important;
  }
  /* Match CZone's mobile card: image, title, rating, price only — no
     persistent Add to Cart button (that stays for desktop, where it was
     explicitly requested). */
  .eael-product-carousel .product-details-wrap a.button.add_to_cart_button {
    display: none !important;
  }
  .eael-woo-product-carousel-container.preset-1 .product-details-wrap {
    padding: 10px 10px 12px !important;
  }
  .eael-woo-product-carousel-container .swiper-button-next,
  .eael-woo-product-carousel-container .swiper-button-prev,
  .eael-woo-product-carousel-container .swiper-pagination {
    display: none !important;
  }

  /* The section had its own 20px side padding stacked on top of the
     Elementor container's own 20px gap padding (40px total each side) —
     cut both down so cards get more real width instead of looking
     narrow/"slim". */
  .elementor-section:has(.eael-woo-product-carousel-container) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .elementor-section:has(.eael-woo-product-carousel-container) > .elementor-container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  /* Cards must all be the same height regardless of whether a product
     happens to be on sale — a sale price adds a second (struck-through)
     price line that otherwise makes just that card taller. Reserve room
     for both lines on every card up front. */
  .eael-woo-product-carousel-container.preset-1 .product-details-wrap .eael-product-price {
    min-height: 40px !important;
  }
}
