/*
Theme Name: Eshopoly Theme
Theme URI: https://eshopoly.com
Author: Eshopoly
Description: Fast, mobile-first WooCommerce theme with Amazon-familiar UX and D2C polish.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: eshopoly-theme
Tags: ecommerce, accessibility-ready, responsive, woocommerce
*/

:root{
  --brand-bg:#0d101a; --brand-text:#fff; --accent:#ff6b00; --accent-2:#ffdfa9; --muted:#fff7f2; --border:#e5e7eb;
  --max-width:1300px; --radius:14px; --shadow:0 12px 30px rgba(17,24,39,.08);
  --font:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,'Apple Color Emoji','Segoe UI Emoji';
  --chip-bg:#ffe3c7; --chip-text:#b45309;
}
*{box-sizing:border-box}
body{font-family:var(--font);margin:0;color:#111;line-height:1.5;background:#fff;overflow-x:hidden}
a{color:#0a5; text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--max-width);margin:0 auto;padding:0 16px}
.header-top{background:var(--brand-bg);color:var(--brand-text)}
.header-top .container{display:flex;align-items:center;gap:16px;padding:10px 16px}
.brand{font-weight:700;font-size:20px;white-space:nowrap}
.search{flex:1;display:flex;gap:8px}
.search select,.search input{border-radius:8px;border:1px solid #333;background:#fff;color:#111}
.search input{flex:1;padding:10px}
.search button{background:var(--accent);border:0;border-radius:8px;padding:10px 16px;color:#111;font-weight:700;cursor:pointer}
.header-icons{display:flex;gap:16px;align-items:center}
.header-icons a{color:#fff}
.header-bottom{background:#232f3e;color:#fff}
.header-bottom .container{display:flex;flex-direction:column;gap:8px;align-items:flex-start;padding:4px 10px;width:100%}
.nav{display:flex;gap:4px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
/* Compact, chip-like departments nav */
.departments-nav a{color:#e5e7eb;background:rgba(255,255,255,.05);padding:3px 6px;border-radius:999px;display:inline-block;font-size:12px;line-height:1.1;border:1px solid rgba(255,255,255,.12)}
.departments-nav .current-menu-item>a,.departments-nav a:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2)}
/* Slim primary nav */
.primary-nav a{color:#e5e7eb;padding:3px 5px;border-radius:6px;display:inline-block;font-size:12px;line-height:1.1}
.primary-nav .current-menu-item>a,.primary-nav a:hover{background:rgba(255,255,255,.08)}
.nav li{position:relative}
.nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:220px;background:#fff;color:#111;border:1px solid var(--border);border-radius:10px;padding:8px;box-shadow:0 10px 20px rgba(0,0,0,.12);z-index:50}
.nav .sub-menu a{color:#111;display:block;padding:6px 8px;border-radius:6px}
.nav li:hover>.sub-menu{display:block}
.esh-mega{position:relative;margin-right:10px;display:inline-block}
.esh-mega__btn{background:#fff;color:#111;border:1px solid var(--border);border-radius:8px;padding:6px 10px;cursor:pointer}
.esh-mega__panel{position:absolute;left:0;top:calc(100% + 6px);right:0;min-width:680px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,.12);padding:12px;z-index:1500}
.esh-mega__cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.esh-mega__title{font-weight:800;margin-bottom:6px}
.esh-mega__list{list-style:none;margin:0;padding:0;display:grid;gap:6px}

.mini-cart{margin-left:auto}
.site-main{min-height:60vh}
.site-footer{background:#fff;border-top:1px solid var(--border);margin-top:24px}
.site-footer .container{padding:24px 16px;color:#555;display:flex;gap:24px;flex-wrap:wrap;justify-content:space-between}
.eshopoly-product-card{border:1px solid var(--border);border-radius:var(--radius);padding:12px;background:#fff;box-shadow:var(--shadow)}
.grid{display:grid;gap:12px}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-4{grid-template-columns:repeat(4,1fr)}
.grid.cols-5{grid-template-columns:repeat(5,1fr)}
.grid.cols-6{grid-template-columns:repeat(6,1fr)}
@media (max-width:960px){.grid.cols-6,.grid.cols-5,.grid.cols-4{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.grid[class*="cols-"]{grid-template-columns:repeat(2,1fr)} .search select{display:none}}

/* Woo buttons + forms */
.woocommerce a.button,.woocommerce button.button,.button{background:var(--accent);color:#111;border-radius:8px;border:0;padding:10px 14px;font-weight:700}
.woocommerce a.button:hover,.woocommerce button.button:hover,.button:hover{filter:brightness(.95)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{border-radius:8px;border:1px solid var(--border);padding:8px 10px}
.woocommerce-error,.woocommerce-message{border-radius:8px}

/* Breadcrumbs */
.woocommerce-breadcrumb{font-size:12px;color:#6b7280;margin:8px 0 14px}
.woocommerce-breadcrumb a{color:#374151}
.woocommerce-breadcrumb .crumb-sep{color:#9ca3af;margin:0 6px}

/* Breadcrumb container feel */
.woocommerce-breadcrumb{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:8px 12px;display:flex;flex-wrap:wrap;align-items:center}

/* Product page layout */
.single-product .site-main.container{max-width:100%;padding-left:0;padding-right:0}
.single-product div.product{display:grid;grid-template-columns:minmax(0,55%) minmax(0,45%);gap:26px;align-items:start;margin:0 auto;max-width:1280px;padding:0 16px}
/* Remove Woo default floats to use grid cleanly */
.woocommerce div.product div.images, .woocommerce div.product div.summary{float:none;width:100%;margin:0}
/* Gallery framing and image sizing */
.woocommerce div.product .woocommerce-product-gallery{border:1px solid #e5e7eb;border-radius:12px;padding:10px;background:#fff;max-width:640px;margin:0 auto}
.woocommerce div.product .woocommerce-product-gallery__image img{width:100%;height:auto;display:block}
@media (max-width:960px){.single-product div.product{display:block}}
.single-product .product_title{font-size:24px;line-height:1.25;margin-bottom:6px}
.single-product .price{font-size:22px;color:#0a7;font-weight:800;margin:8px 0}
.single-product .woocommerce-product-details__short-description{color:#374151}
.single-product .woocommerce-product-details__short-description ul{padding-left:18px}
.single-product .eshopoly-badges{margin-bottom:6px}
.single-product .product form.cart .button{min-width:220px}
.single-product .product form.cart .button + .button{min-width:160px}
.single-product .product form.cart .single_add_to_cart_button{background:var(--accent);color:#111}
.single-product .product form.cart .button[name="eshopoly_buy_now"]{background:#111;color:#fff}
.variations tr th, .variations tr td{padding:4px 0;vertical-align:middle}
.variations select{border:1px solid #e5e7eb;border-radius:8px;padding:6px 8px}
.single-product .woocommerce-tabs{max-width:960px;margin:16px auto}
.single-product .woocommerce-tabs .wc-tabs{display:flex;gap:10px;justify-content:center}
.single-product .woocommerce-tabs .wc-tabs li a{display:inline-block;padding:6px 10px;border:1px solid #e5e7eb;border-radius:8px;font-size:14px}
.single-product .woocommerce-tabs .entry-content{border:1px solid #e5e7eb;border-radius:10px;padding:12px;margin-top:8px}

/* Center upsells and related grids */
.single-product .related, .single-product .upsells{max-width:1200px;margin:24px auto;padding:0 16px}
.single-product .related h2, .single-product .upsells h2{text-align:center;margin-bottom:12px}
.single-product .related ul.products, .single-product .upsells ul.products{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}

/* Trust row on product */
.eshopoly-trust-row{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}
.eshopoly-trust-row .item{display:flex;gap:6px;align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:999px;padding:6px 10px;font-size:12px;color:#374151}
.esh-trust-icon{font-weight:600}

/* Sticky add-to-cart (mobile) */
.eshopoly-sticky-atc{position:fixed;left:0;right:0;bottom:0;background:#ffffff;border-top:1px solid #e5e7eb;box-shadow:0 -4px 14px rgba(0,0,0,.06);padding:10px 12px;display:none;align-items:center;justify-content:space-between;z-index:9999}
.eshopoly-sticky-atc .title{font-weight:700;font-size:14px;color:#111;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:60vw}
.eshopoly-sticky-atc .price{font-weight:800;color:#0a7;margin-left:8px}
.eshopoly-sticky-atc .button{background:var(--accent);color:#111;border:0;border-radius:8px;padding:10px 14px;font-weight:800}
@media (max-width:768px){.eshopoly-sticky-atc{display:flex}}
/*
Theme Name: Eshopoly Theme
Theme URI: https://eshopoly.com
Author: Eshopoly
Description: Fast, mobile-first WooCommerce theme with Amazon-familiar UX and D2C polish.
Version: 1.2.0
Text Domain: eshopoly-theme
*/

/* =============================
   Design System (CSS Variables)
   ============================= */
:root{
  /* Colors */
  --esh-color-bg:#ffffff;
  --esh-color-surface:#ffffff;
  --esh-color-text:#111827; /* gray-900 */
  --esh-color-muted:#6b7280; /* gray-500 */
  --esh-color-border:#e5e7eb; /* gray-200 */
  --esh-color-accent:#ff9900; /* brand accent */
  --esh-color-accent-dark:#cf7b00;
  --esh-color-success:#059669;
  --esh-color-info:#2563eb;
  --esh-color-warning:#f59e0b;

  /* Typography */
  --esh-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  --esh-font-size-xs:12px;
  --esh-font-size-sm:13px;
  --esh-font-size-md:15px;
  --esh-font-size-lg:18px;
  --esh-line-height:1.5;

  /* Spacing scale */
  --space-xxs:4px;
  --space-xs:6px;
  --space-sm:8px;
  --space-md:12px;
  --space-lg:16px;
  --space-xl:24px;
  --space-2xl:32px;
  --space-3xl:48px;

  /* Radius & Shadow */
  --esh-radius-sm:8px;
  --esh-radius-md:10px;
  --esh-radius-lg:12px;
  --esh-shadow-sm:0 1px 2px rgba(0,0,0,.06);
  --esh-shadow-md:0 4px 12px rgba(0,0,0,.08);
}

/* Base */
*{box-sizing:border-box}
html,body{width:100%;height:100%}
body{margin:0;background:var(--esh-color-bg);color:var(--esh-color-text);font-family:var(--esh-font-family);line-height:var(--esh-line-height)}
img{max-width:100%;height:auto;display:block}
a{color:#0a5;text-decoration:none}
a:hover{text-decoration:underline}

/* =====================
   Layout Utilities
   ===================== */
.esh-container{max-width:1200px;margin:0 auto;padding:0 var(--space-lg)}
.esh-flex{display:flex;gap:var(--space-sm)}
.esh-flex--between{display:flex;justify-content:space-between;align-items:center}
.esh-flex--center{display:flex;justify-content:center;align-items:center}
.esh-hide-scroll{overflow:auto;-webkit-overflow-scrolling:touch}

/* Responsive Grid */
.esh-grid{display:grid;gap:var(--space-lg)}
.esh-grid--products{grid-template-columns:1fr}
@media (min-width:480px){.esh-grid--products{grid-template-columns:repeat(2,1fr)}}
@media (min-width:768px){.esh-grid--products{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1024px){.esh-grid--products{grid-template-columns:repeat(4,1fr)}}

/* =====================
   Product Card
   ===================== */
.esh-product-card{list-style:none;border:1px solid var(--esh-color-border);border-radius:var(--esh-radius-md);background:var(--esh-color-surface);box-shadow:var(--esh-shadow-sm);overflow:hidden;display:flex;flex-direction:column}
.esh-product-card__link{display:block;color:inherit;text-decoration:none}
.esh-product-card__image-wrapper{position:relative;width:100%;padding-top:75%; /* 4:3 ratio */background:#f9fafb}
.esh-product-card__image-wrapper img{position:absolute;inset:0;margin:auto;width:100%;height:100%;object-fit:contain}
.esh-product-card__badge{position:absolute;top:var(--space-sm);left:var(--space-sm);background:#ffe58f;color:#111;font-weight:700;border-radius:999px;padding:2px 6px;font-size:12px}
.esh-product-card__body{padding:var(--space-md)}
.esh-product-card__title{margin:0 0 var(--space-xs);font-size:var(--esh-font-size-md);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.esh-product-card__price{font-weight:800;color:var(--esh-color-success);margin-bottom:var(--space-sm)}
.esh-product-card__meta{display:flex;gap:var(--space-xs);flex-wrap:wrap}
.esh-product-card__actions{padding:var(--space-md);padding-top:0}
.esh-btn{display:inline-block;width:100%;text-align:center;background:var(--esh-color-accent);color:#111;font-weight:800;border:0;border-radius:var(--esh-radius-sm);padding:10px 12px;cursor:pointer}
.esh-btn:hover{filter:brightness(.95)}

/* =====================
   Single Product
   ===================== */
.esh-product-single__top{display:block}
.esh-product-single__media{margin-bottom:var(--space-xl)}
.esh-product-single__summary{min-width:0}
@media (min-width:1024px){
  .esh-product-single__top{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:var(--space-2xl)}
}
.woocommerce div.product .woocommerce-product-gallery{border:1px solid var(--esh-color-border);border-radius:var(--esh-radius-lg);padding:var(--space-sm);background:#fff}
.woocommerce div.product .woocommerce-product-gallery__image img{width:100%;height:auto;object-fit:contain}
.single-product .product_title{font-size:22px;margin:0 0 var(--space-xs)}
.single-product .price{font-size:22px;color:var(--esh-color-success);font-weight:800;margin:var(--space-sm) 0}
.eshopoly-trust-row{display:flex;gap:var(--space-xs);flex-wrap:wrap;margin:var(--space-sm) 0}
.eshopoly-trust-row .item{display:flex;gap:6px;align-items:center;background:#f9fafb;border:1px solid var(--esh-color-border);border-radius:999px;padding:6px 10px;font-size:12px;color:#374151}
.single-product .product form.cart .button{min-width:220px}
.single-product .product form.cart .button + .button{min-width:160px}
.single-product .product form.cart .single_add_to_cart_button{background:var(--esh-color-accent);color:#111}
.single-product .product form.cart .button[name="eshopoly_buy_now"]{background:#111;color:#fff}
.variations tr th, .variations tr td{padding:4px 0;vertical-align:middle}
.variations select{border:1px solid var(--esh-color-border);border-radius:var(--esh-radius-sm);padding:6px 8px}

/* Sales + detail stack */
.esh-sales-flow{margin:var(--space-xl) auto;max-width:1280px;padding:0 16px;display:flex;flex-direction:column;gap:var(--space-xl)}
.esh-sales-flow__hero{background:#fff7ed;border:1px solid #fed7aa;border-radius:28px;padding:var(--space-xl);box-shadow:0 25px 60px rgba(252, 211, 77, .25)}
.esh-sales-flow__eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:12px;color:#b45309;margin:0 0 10px 0}
.esh-sales-flow__hero h2{margin:0 0 10px 0;font-size:32px}
.esh-sales-flow__hero p{margin:0 0 16px 0;font-size:18px;line-height:1.6;color:#7c2d12}
.esh-sales-flow__cta{display:flex;flex-direction:column;gap:6px}
.esh-sales-flow__cta .button{font-size:18px}
.esh-sales-flow__cta small{font-size:13px;color:#9a3412}
.esh-sales-flow__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.esh-sales-flow__card{background:#fff;border:1px solid var(--esh-color-border);border-radius:22px;padding:20px;box-shadow:0 15px 40px rgba(15,23,42,.08);display:flex;flex-direction:column;gap:10px}
.esh-sales-flow__card h3{margin:0;font-size:20px}
.esh-sales-flow__card ul{margin:0;padding-left:20px;line-height:1.6}
.esh-sales-flow__card li{margin-bottom:8px}
.esh-sales-flow__card blockquote{margin:0;padding:0;font-size:16px;line-height:1.6;color:#111827}
.esh-sales-flow__card cite{display:block;margin-top:8px;font-size:13px;color:#6b7280}
.esh-sales-flow__badge{background:#111827;color:#fff;border-radius:999px;padding:6px 12px;font-weight:700;font-size:13px;align-self:flex-start}
.esh-support{max-width:960px;margin:0 auto;padding:40px 16px;display:flex;flex-direction:column;gap:32px}
.esh-support__hero{background:#fff;border:1px solid var(--esh-color-border);border-radius:28px;padding:32px;box-shadow:0 25px 60px rgba(15,23,42,.12)}
.esh-support__eyebrow{text-transform:uppercase;letter-spacing:.25em;font-size:12px;color:#9ca3af;margin:0 0 10px 0}
.esh-support__hero h1{margin:0 0 12px 0;font-size:32px}
.esh-support__hero p{margin:0;font-size:17px;line-height:1.6;color:#475569}
.esh-support__highlights{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0 0;padding:0;list-style:none}
.esh-support__highlights li{background:#f1f5f9;border-radius:999px;padding:6px 12px;font-size:13px;color:#111827}
.esh-support .button{align-self:flex-start;padding:12px 24px;border-radius:999px;font-weight:700}
.esh-support__cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.esh-support__card{background:#fff;border:1px solid var(--esh-color-border);border-radius:20px;padding:20px;box-shadow:0 12px 30px rgba(15,23,42,.08)}
.esh-support__card h3{margin:0 0 8px 0;font-size:18px}
.esh-support__card ul{margin:0;padding-left:18px;line-height:1.6}
.esh-support__card p{margin:0;color:#475569}
.esh-support__section{background:#fff;border:1px solid var(--esh-color-border);border-radius:18px;padding:24px;box-shadow:0 12px 30px rgba(15,23,42,.05)}
.esh-support__section h2{margin:0 0 12px 0;font-size:22px}
.esh-support__section p{margin:0 0 12px 0;color:#4b5563;line-height:1.6}
.esh-support__section ul{margin:0;padding-left:20px;line-height:1.7}
.esh-support__section li{margin-bottom:6px}
.esh-product-stack{margin-top:var(--space-xl);display:flex;flex-direction:column;gap:var(--space-xl)}
.esh-product-stack > section{width:100%}
.esh-product-sections{margin-top:var(--space-md);display:flex;flex-direction:column;gap:var(--space-lg)}
.esh-product-section{background:#fff;border:1px solid var(--esh-color-border);border-radius:var(--esh-radius-lg);padding:var(--space-lg)}
.esh-product-section h2{margin:0 0 var(--space-sm);font-size:22px}
.esh-product-section__body{line-height:1.75}
.esh-product-section__body > *:last-child{margin-bottom:0}
.esh-review-block{background:#fff;border:1px solid var(--esh-color-border);border-radius:var(--esh-radius-lg);padding:var(--space-lg);margin-top:var(--space-md)}
.esh-review-block__grid{display:flex;flex-direction:column;gap:var(--space-lg)}
.esh-review-block__main #reviews{margin:0}
.esh-review-block__main #review_form_wrapper{margin-top:var(--space-lg)}
.esh-review-block__main #review_form_wrapper h3{margin:0 0 var(--space-sm);font-size:20px}
.esh-review-block__main .comment-respond{background:#f9fafb;border:1px solid var(--esh-color-border);border-radius:var(--esh-radius-md);padding:var(--space-md)}
.esh-review-block__main input[type="text"],
.esh-review-block__main input[type="email"],
.esh-review-block__main textarea,
.esh-review-block__main select{width:100%;border:1px solid var(--esh-color-border);border-radius:10px;padding:8px 10px;font-size:15px}
.esh-review-block__main .comment-form-rating label{font-weight:700}
.esh-review-block__main .commentlist{margin:0;padding:0;list-style:none}
.esh-review-block__main .commentlist li{border-bottom:1px solid var(--esh-color-border);padding:12px 0}
.esh-review-block__main .commentlist li:last-child{border-bottom:0}
.esh-share-experience{background:#fff7ed;border:1px solid #fed7aa;border-radius:20px;padding:20px;box-shadow:0 20px 40px rgba(253, 186, 116, .25);display:flex;flex-direction:column;gap:10px}
.esh-share-experience__eyebrow{text-transform:uppercase;letter-spacing:.25em;font-size:11px;color:#b45309;margin:0}
.esh-share-experience h3{margin:0;font-size:22px}
.esh-share-experience p{margin:0;color:#7c2d12;line-height:1.6}
.esh-share-experience .button{align-self:flex-start}
.esh-share-experience small{font-size:13px;color:#7c2d12}
@media (min-width:1024px){
  .esh-review-block__grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:var(--space-xl);align-items:start}
}
.esh-review-block{background:#fff;border:1px solid var(--esh-color-border);border-radius:var(--esh-radius-lg);padding:var(--space-lg);margin-top:var(--space-md)}
.esh-review-block #reviews{margin:0}
.esh-review-block #review_form_wrapper{margin-top:var(--space-lg)}
.esh-review-block #review_form_wrapper h3{margin:0 0 var(--space-sm);font-size:20px}
.esh-review-block .comment-respond{background:#f9fafb;border:1px solid var(--esh-color-border);border-radius:var(--esh-radius-md);padding:var(--space-md)}
.esh-review-block input[type="text"],
.esh-review-block input[type="email"],
.esh-review-block textarea,
.esh-review-block select{width:100%;border:1px solid var(--esh-color-border);border-radius:10px;padding:8px 10px;font-size:15px}
.esh-review-block .comment-form-rating label{font-weight:700}
.esh-review-block .commentlist li{border-bottom:1px solid var(--esh-color-border);padding:12px 0}
.esh-review-block .commentlist li:last-child{border-bottom:0}
.single-product .related, .single-product .upsells{max-width:1200px;margin:var(--space-2xl) auto;padding:0 var(--space-lg)}
.single-product .related h2, .single-product .upsells h2{text-align:center;margin-bottom:var(--space-lg)}
.single-product .related ul.products, .single-product .upsells ul.products{display:flex;flex-wrap:wrap;gap:var(--space-lg);justify-content:center}

/* Bottom recommendations */
.esh-ymal{position:relative}
.esh-ymal__title{margin:0 0 var(--space-sm);font-size:18px}
.esh-ymal__list{display:grid;gap:10px;grid-template-columns:1fr}
@media (min-width:1024px){.esh-ymal__list{grid-template-columns:1fr 1fr}}
.esh-ymal__item{display:flex;gap:10px;align-items:center;border:1px solid var(--esh-color-border);border-radius:var(--esh-radius-md);padding:10px;background:#fff;color:inherit;text-decoration:none;min-height:88px}
.esh-ymal__thumb{flex:0 0 64px; width:64px; height:64px; display:flex; align-items:center; justify-content:center; background:#f9fafb; border-radius:8px; overflow:hidden}
.esh-ymal__thumb img{max-width:100%;max-height:100%;object-fit:contain}
.esh-ymal__meta{min-width:0;display:flex;flex-direction:column}
.esh-ymal__title-text{font-size:14px;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}
.esh-ymal__rating{display:block;line-height:1;margin:4px 0}
.esh-ymal__price{font-weight:800;color:var(--esh-color-success)}

/* New related grid section */
.esh-related{width:100%;margin:var(--space-xl) 0}
.esh-related h2{margin:0 0 var(--space-lg);text-align:left}
.esh-upsell-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.esh-upsell-grid__item{border:1px solid #e5e7eb;border-radius:12px;padding:12px;text-decoration:none;color:inherit;display:flex;flex-direction:column;gap:8px;background:#fff;box-shadow:0 4px 12px rgba(15,23,42,.06)}
.esh-upsell-grid__thumb{display:block;width:100%;height:200px;background:#f5f6f8;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.esh-upsell-grid__thumb img{width:100%;height:100%;object-fit:cover}
.esh-upsell-grid__title{font-size:15px;line-height:1.3}
.esh-upsell-grid__price{font-weight:800;color:var(--esh-color-success)}
.esh-infinite-sentinel{height:1px;width:100%;}

/* Modern marketplace summary meta row, discount badge, coupon card */
.esh-summary-meta{display:flex;gap:10px;align-items:center;margin:6px 0;color:#374151}
.esh-summary-meta .sold{font-size:12px;color:#6b7280}
.esh-discount-badge{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;background:#dc2626;color:#fff;font-weight:800;border-radius:6px;padding:2px 8px;font-size:12px}
.esh-coupon-card{margin:8px 0;background:#fff7ed;border:1px dashed #f59e0b;border-radius:10px;padding:8px 10px;display:inline-flex;gap:8px;align-items:center}
.esh-coupon-card .label{font-weight:800;color:#7c2d12}
.esh-coupon-card .code{color:#b45309}

/* Horizontal product carousel */
.esh-carousel-section{width:100%;margin:var(--space-xl) 0}
.esh-carousel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-sm)}
.esh-carousel{overflow:auto}
.esh-carousel{overflow-x:auto}
.esh-carousel__track{display:flex;gap:12px;scroll-snap-type:x mandatory;padding-bottom:4px}
.esh-carousel__item{flex:0 0 200px;scroll-snap-align:start;border:1px solid var(--esh-color-border);border-radius:10px;background:#fff;box-shadow:var(--esh-shadow-sm);padding:10px}
.esh-carousel__thumb{width:100%;height:160px;background:#f9fafb;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.esh-carousel__thumb img{max-width:100%;max-height:100%;object-fit:contain}
.esh-carousel__title{margin:8px 0 4px 0;font-size:14px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.esh-carousel__price{font-weight:800;color:var(--esh-color-success)}

/* Deal strip (limited time) */
.esh-deal-strip{display:flex;gap:8px;align-items:center;background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;padding:8px 10px;margin:8px 0}
.esh-deal-strip__pill{background:#f43f5e;color:#fff;font-weight:800;border-radius:999px;padding:2px 8px;font-size:12px}
.esh-deal-strip__pct{background:#fee2e2;color:#b91c1c;font-weight:800;border-radius:8px;padding:2px 6px;font-size:12px}
.esh-deal-strip__timer{margin-left:auto;font-weight:700;color:#7f1d1d}

/* Home hero slider */
.esh-hero{position:relative;border:1px solid var(--esh-color-border);border-radius:12px;overflow:hidden;background:#fff}
.esh-hero__slides{display:flex;transition:transform .5s ease}
.esh-hero__slide{flex:0 0 100%;min-height:220px;display:flex;align-items:center}
.esh-hero__slide--a{background:linear-gradient(135deg,#fee2e2,#fff)}
.esh-hero__slide--b{background:linear-gradient(135deg,#dbeafe,#fff)}
.esh-hero__slide--c{background:linear-gradient(135deg,#dcfce7,#fff)}
.esh-hero__content{padding:24px}
.esh-hero__dots{position:absolute;left:0;right:0;bottom:10px;display:flex;gap:6px;justify-content:center}
.esh-hero__dots button{width:8px;height:8px;border-radius:999px;border:0;background:#e5e7eb}
.esh-hero__dots button.is-active{background:#111}

/* Variation chips */
.variations .value .esh-attr{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0}
.esh-attr__opt{background:#f3f4f6;border:1px solid var(--esh-color-border);border-radius:999px;padding:6px 10px;font-size:13px;cursor:pointer}
.esh-attr__opt.is-selected{background:#111;color:#fff;border-color:#111}
.esh-attr + select{display:none !important}

/* Stock line + progress */
.esh-stockline{display:flex;gap:10px;align-items:center;margin:8px 0;color:#374151}
.esh-stockline .ok{color:#065f46;font-weight:700}
.esh-stockline .oos{color:#991b1b;font-weight:700}
.esh-stockline .ship{margin-left:auto;font-size:12px;color:#6b7280}
.esh-stockbar{position:relative;height:8px;background:#fee2e2;border-radius:999px;overflow:hidden;margin:6px 0}
.esh-stockbar__fill{position:absolute;top:0;left:0;bottom:0;background:#ef4444}
.esh-stockbar__label{display:block;font-size:12px;color:#991b1b;margin-top:4px}

/* Summary actions */
.esh-summary-actions{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}
.esh-summary-actions .esh-act{background:#f9fafb;border:1px solid var(--esh-color-border);border-radius:8px;padding:6px 10px;cursor:pointer}
.esh-summary-actions .esh-act:hover{filter:brightness(.98)}

/* Ratings summary */
.esh-ratings{border:1px solid var(--esh-color-border);border-radius:10px;padding:12px;background:#fff}
.esh-ratings__head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.esh-ratebar{display:flex;align-items:center;gap:10px;margin:4px 0}
.esh-ratebar .lbl{width:40px;text-align:right;color:#374151;font-size:12px}
.esh-ratebar .bar{flex:1;height:8px;background:#f3f4f6;border-radius:999px;overflow:hidden}
.esh-ratebar .bar b{display:block;height:100%;background:#f59e0b}
.esh-ratebar .num{width:48px;text-align:right;color:#6b7280;font-size:12px}

/* Spec table inside Additional Information */
.single-product .shop_attributes{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--esh-color-border);border-radius:10px;overflow:hidden;background:#fff}
.single-product .shop_attributes th,.single-product .shop_attributes td{padding:10px 12px;border-bottom:1px solid var(--esh-color-border);vertical-align:top}
.single-product .shop_attributes th{width:40%;background:#f9fafb;color:#374151;text-align:left}
.single-product .shop_attributes tr:last-child th,.single-product .shop_attributes tr:last-child td{border-bottom:0}
.esh-product-card .button, .products .product .button{display:block;width:100%;text-align:center;background:var(--esh-color-accent);color:#111;border:0;border-radius:var(--esh-radius-sm);padding:10px 12px;font-weight:800}
.esh-product-card .button:hover, .products .product .button:hover{filter:brightness(.95)}

/* =====================
   Shop Archive
   ===================== */
.esh-archive-header{margin:var(--space-xl) 0 var(--space-lg)}
.esh-archive-header h1{margin:0 0 var(--space-xs);font-size:22px}
.esh-archive-header .desc{color:var(--esh-color-muted);font-size:14px}
.esh-category-hero{margin:var(--space-lg) 0;border-radius:16px;background-size:cover;background-position:center;height:220px}
.esh-category-promo{display:flex;gap:20px;align-items:center;border:1px solid var(--esh-color-border);border-radius:14px;padding:18px;margin:var(--space-lg) 0;background:#fff}
.esh-category-promo__media img{width:140px;height:auto;border-radius:12px;display:block}
.esh-category-promo__body h3{margin:0 0 6px 0;font-size:20px}
.esh-category-promo__body p{margin:0 0 8px 0;color:var(--esh-color-muted)}
.footer-social{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.footer-social a{text-decoration:none;font-size:14px;color:inherit}
.esh-promo-bar{background:var(--esh-color-muted-bg,#f8fafc);border-bottom:1px solid var(--esh-color-border,#e5e7eb)}
.esh-promo-bar .container{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0}
.esh-promo-bar__marquee{font-weight:600}
.esh-promo-bar__links{display:flex;gap:12px;align-items:center}

/* =====================
   Cart, Checkout, My Account
   ===================== */
.woocommerce-cart .esh-container, .woocommerce-checkout .esh-container, .woocommerce-account .esh-container{padding-top:var(--space-xl);padding-bottom:var(--space-xl)}
.shop_table{width:100%;overflow:auto}
.cart-collaterals .cart_totals{border:1px solid var(--esh-color-border);border-radius:var(--esh-radius-md);padding:var(--space-lg);background:#fff;box-shadow:var(--esh-shadow-sm)}
@media (min-width:1024px){.cart-collaterals{display:flex;justify-content:flex-end}.cart-collaterals .cart_totals{max-width:420px}}
.checkout .col2-set .col-1, .checkout .col2-set .col-2{width:100%}
@media (min-width:1024px){.checkout .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-2xl)}}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--esh-color-border);border-radius:var(--esh-radius-sm);padding:8px 10px}
.woocommerce-error,.woocommerce-message{border-radius:var(--esh-radius-sm)}

/* =====================
   Breadcrumbs (keep minimal, non-invasive)
   ===================== */
.woocommerce-breadcrumb{font-size:12px;color:#6b7280;margin:var(--space-sm) 0 var(--space-md)}

/* Archive bar + filter drawer */
.esh-archive-bar{display:flex;align-items:center;gap:10px;justify-content:space-between;border:1px solid var(--esh-color-border);border-radius:10px;background:#fff;padding:8px 10px;margin:var(--space-md) 0}
.esh-filter-btn{background:#111;color:#fff;border:0;border-radius:8px;padding:8px 12px;cursor:pointer}
.esh-sort select{border:1px solid var(--esh-color-border);border-radius:8px;padding:6px 8px}
.esh-filter-drawer{position:fixed;inset:0;z-index:9998}
.esh-filter-drawer[hidden]{display:none}
.esh-filter-drawer__scrim{position:absolute;inset:0;background:rgba(0,0,0,.35)}
.esh-filter-drawer__panel{position:absolute;right:0;top:0;bottom:0;width:min(90vw,380px);background:#fff;border-left:1px solid var(--esh-color-border);display:flex;flex-direction:column}
.esh-filter-drawer__head{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid var(--esh-color-border)}
.esh-filter-drawer__body{padding:12px;flex:1;overflow:auto}
.esh-filter__group{margin-bottom:12px}
.esh-filter__title{font-weight:700;margin-bottom:6px}
.esh-filter__chips{display:flex;gap:8px;flex-wrap:wrap}
.esh-chip{border:1px solid var(--esh-color-border);border-radius:999px;padding:6px 10px;background:#f9fafb;cursor:pointer}
.esh-filter__row{display:flex;align-items:center;gap:8px}
.esh-filter__row input{width:100%;border:1px solid var(--esh-color-border);border-radius:8px;padding:6px 8px}
.esh-filter-drawer__foot{padding:12px;border-top:1px solid var(--esh-color-border)}

/* Bottom nav (mobile) */
.esh-bottom-nav{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--esh-color-border);box-shadow:0 -4px 12px rgba(0,0,0,.04);display:none;gap:4px;align-items:center;justify-content:space-around;padding:6px 4px;z-index:9999}
.esh-bottom-nav__btn{display:flex;flex-direction:column;align-items:center;gap:2px;color:#111;text-decoration:none;font-size:12px}
.esh-bottom-nav__safe{position:absolute;right:8px;top:-10px;background:#111;color:#fff;border-radius:999px;padding:2px 6px;font-size:10px}
@media (max-width:768px){ body{padding-bottom:58px} .esh-bottom-nav{display:flex} }

/* Cart + checkout polished UI */
.esh-cart-progress{border:1px solid var(--esh-color-border);border-radius:10px;background:#fff;padding:10px;margin-bottom:12px}
.esh-cart-progress__msg{font-weight:700;color:#7c2d12;margin-bottom:8px}
.esh-cart-progress__msg.ok{color:#065f46}
.esh-cart-progress__bar{height:8px;background:#fff7ed;border:1px solid #fde68a;border-radius:999px;overflow:hidden}
.esh-cart-progress__bar span{display:block;height:100%;background:#f59e0b}
.esh-checkout-sticky{position:fixed;left:0;right:0;bottom:0;display:none;align-items:center;justify-content:space-between;background:#fff;border-top:1px solid var(--esh-color-border);box-shadow:0 -4px 12px rgba(0,0,0,.06);padding:8px 12px;z-index:9999}
.esh-checkout-sticky .sum{font-weight:800;color:#111}
.esh-checkout-sticky .esh-checkout-btn{background:#111;color:#fff;border:0;border-radius:8px;padding:10px 14px;font-weight:800}
@media (max-width:768px){ .esh-checkout-sticky{display:flex} }

/* Mini cart drawer */
.esh-mini-cart{position:fixed;inset:0;z-index:10000}
.esh-mini-cart[hidden]{display:none}
.esh-mini-cart__scrim{position:absolute;inset:0;background:rgba(0,0,0,.35)}
.esh-mini-cart__panel{position:absolute;right:0;top:0;bottom:0;width:min(90vw,420px);background:#fff;border-left:1px solid var(--esh-color-border);display:flex;flex-direction:column}
.esh-mini-cart__head{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid var(--esh-color-border)}
.esh-mini-cart__body{padding:12px;flex:1;overflow:auto}
.esh-mini-cart__foot{padding:12px;border-top:1px solid var(--esh-color-border);display:flex;gap:10px}
.woocommerce-breadcrumb a{color:#374151}
.woocommerce-breadcrumb .crumb-sep{color:#9ca3af;margin:0 6px}

/* =====================
   Header/Nav — DO NOT REDESIGN (light spacing only)
   ===================== */
.header-bottom .container{display:flex;flex-direction:column;gap:8px;align-items:flex-start;padding:4px 10px;width:100%}
.header-bottom .nav{flex-wrap:wrap}
.nav{display:flex;gap:4px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.departments-nav a{color:#e5e7eb;background:rgba(255,255,255,.05);padding:3px 6px;border-radius:999px;display:inline-block;font-size:12px;line-height:1.1;border:1px solid rgba(255,255,255,.12)}
.departments-nav .current-menu-item>a,.departments-nav a:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2)}
.primary-nav a{color:#e5e7eb;padding:3px 5px;border-radius:6px;display:inline-block;font-size:12px;line-height:1.1}
.primary-nav .current-menu-item>a,.primary-nav a:hover{background:rgba(255,255,255,.08)}

/* =====================
   Misc
   ===================== */
.esh-badge{display:inline-block;border-radius:999px;padding:2px 8px;font-weight:700;font-size:12px;line-height:1}
.esh-badge-winner{background:#ffd700;color:#111}
/* =====================
   New header + navigation
   ===================== */
body{background:var(--muted);color:#111827;font-family:var(--font);} 
a{color:#111827}
.site-header{background:#fff;box-shadow:0 1px 0 rgba(17,24,39,.08);position:sticky;top:0;z-index:2000}
.esh-topline{background:#111827;color:#fef3c7;font-size:13px}
.esh-topline .container{display:flex;justify-content:space-between;align-items:center;padding:6px 16px}
.esh-topline__marquee{display:flex;gap:16px;white-space:nowrap;overflow:hidden}
.esh-topline__marquee span{opacity:.85}
.esh-topline__links{display:flex;gap:12px}
.esh-topline__links a{color:#fef3c7;font-weight:600}
.esh-mainbar{padding:18px 0;background:#fff}
.esh-mainbar .container{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.esh-brand{font-size:28px;font-weight:900;color:#111}
.esh-search{flex:1;display:flex;flex-direction:column;gap:6px;width:100%}
.esh-search__shell{display:flex;gap:10px;align-items:stretch;position:relative;flex-direction:column;width:100%}
.esh-search__form{flex:1;display:flex;align-items:center;background:#f8fafc;border-radius:999px;padding:4px;border:1px solid #e2e8f0;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.esh-search__departments-btn{border:0;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-right:1px solid #e2e8f0;color:#475569;border-radius:18px 0 0 18px;padding:0}
.esh-search__departments-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.esh-search__departments-icon{width:8px;height:8px;border:2px solid currentColor;border-top:0;border-left:0;transform:rotate(45deg)}
.esh-search__form input{flex:1;border:0;background:transparent;padding:10px 16px;font-size:15px;min-width:0}
.esh-search__form button{background:var(--accent);border:0;border-radius:999px;padding:10px 22px;font-weight:700;color:#fff;cursor:pointer}
.esh-search__mega{position:absolute;left:0;right:0;top:0;height:0;overflow:visible;pointer-events:none}
.esh-search__mega .esh-mega__panel{pointer-events:auto}
.esh-search__suggestions{position:absolute;left:0;right:0;top:calc(100% + 6px);background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 20px 40px rgba(15,23,42,.15);padding:10px;z-index:1800;display:flex;flex-direction:column;gap:6px}
.esh-search__suggestions[hidden]{display:none}
.esh-search__suggestion{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px;text-decoration:none;color:#111}
.esh-search__suggestion:hover{background:#f3f4f6}
.esh-search__suggestion-thumb{width:40px;height:40px;border-radius:10px;overflow:hidden;background:#f3f4f6;flex-shrink:0}
.esh-search__suggestion-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.esh-search__suggestion-body{display:flex;flex-direction:column;gap:2px;font-size:13px}
.esh-search__suggestion-price{font-weight:700;color:#0f172a;font-size:12px}
.esh-search__suggestion-empty{font-size:13px;color:#6b7280;padding:6px}
.esh-search__chips{margin-top:8px;display:flex;gap:6px;align-items:center;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;max-width:100%}
.esh-search__chips::-webkit-scrollbar{display:none}
.esh-search__chips .esh-chip{display:flex;flex-direction:column;align-items:flex-start;padding:6px 10px;font-size:8px;background:var(--chip-bg);color:var(--chip-text);border:1px solid rgba(180,83,9,.2);white-space:nowrap;flex:0 0 auto}
.esh-search__chips .esh-chip strong,
.esh-search__chips .esh-chip span{font-size:inherit}
.esh-lead-capture-page{padding:32px 16px}
.esh-lead-capture-page .esh-lead-capture{max-width:640px;margin:0 auto}
.esh-lead-capture{background:#fff;border:1px solid var(--border);border-radius:20px;padding:24px;margin:24px 0;box-shadow:0 20px 30px rgba(15,23,42,.08)}
.esh-lead-capture__head h2{margin:0 0 6px 0;font-size:24px}
.esh-lead-capture__head h1{margin:0 0 8px 0;font-size:28px}
.esh-lead-capture__eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.2em;color:#9ca3af;margin-bottom:6px}
.esh-lead-capture__head p{margin:0;color:#4b5563}
.esh-lead-capture__eta{margin-top:8px;font-weight:700;color:#0f172a}
.esh-lead-capture__promise{margin:16px 0;font-size:15px;color:#374151}
.esh-lead-capture__form{display:grid;gap:12px}
.esh-lead-capture__form label{display:flex;flex-direction:column;gap:6px;font-weight:600;color:#1f2937}
.esh-lead-capture__form input,
.esh-lead-capture__form select,
.esh-lead-capture__form textarea{border:1px solid #d1d5db;border-radius:12px;padding:10px 12px;font-size:15px;font-family:inherit}
.esh-lead-capture__form textarea{resize:vertical}
.esh-lead-capture__notice{padding:10px 14px;border-radius:12px;margin:12px 0;font-weight:600}
.esh-lead-capture__notice.is-success{background:#ecfdf5;color:#047857}
.esh-lead-capture__notice.is-error{background:#fef2f2;color:#b91c1c}
.button--wide{display:inline-flex;width:100%;justify-content:center}
.esh-mainbar__actions{display:flex;gap:12px;align-items:center;width:100%;justify-content:space-between}
.esh-mainbar__action{display:flex;flex-direction:column;gap:2px;color:#111827;text-decoration:none;font-size:13px;font-weight:600}
.esh-mainbar__label{font-size:15px}
.esh-mainbar__bubble{background:#111827;color:#fff;border-radius:999px;padding:2px 10px;font-size:13px;font-weight:700}
.esh-category-rail{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#fff;position:relative;z-index:60}
.esh-category-rail .container{display:flex;flex-direction:column;gap:12px;align-items:flex-start;padding:10px 16px}
.esh-category-rail__menu{width:100%;display:flex;flex-direction:column;gap:12px}
.esh-category-rail__panel{width:100%}
.esh-category-rail__links{width:100%;display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding-bottom:4px}
.esh-category-rail__links::-webkit-scrollbar{display:none}
.esh-mega__btn{display:flex;align-items:center;gap:8px;background:#111827;color:#fff;border-radius:999px;border:0;padding:8px 16px;font-weight:700;cursor:pointer}
.esh-mega__icon{width:16px;height:16px;border:2px solid currentColor;border-radius:4px;display:inline-block;position:relative}
.esh-mega__icon::after,.esh-mega__icon::before{content:'';position:absolute;left:3px;right:3px;border-top:2px solid currentColor}
.esh-mega__icon::after{top:4px}
.esh-mega__icon::before{bottom:4px}

/* =====================
   Hero + sections
   ===================== */
.esh-home__hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;padding:28px 16px}
.esh-hero{background:#0f172a;border-radius:20px;overflow:hidden;position:relative}
.esh-hero__slides{display:flex;transition:transform .5s ease}
.esh-hero__slide{min-width:100%;padding:32px;display:flex;align-items:flex-end;color:#fff;min-height:280px;background:linear-gradient(120deg,#ff9557,#ff5e00)}
.esh-hero__slide .eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:.15em;margin:0 0 8px 0;color:#ffe4c4}
.esh-hero__slide h2{font-size:36px;margin:0 0 12px 0;max-width:360px}
.esh-hero__slide p{max-width:360px;margin:0 0 16px 0;font-size:16px}
.esh-hero__slide--citrus{background:linear-gradient(120deg,#ffe08c,#ff8a0a)}
.esh-hero__slide--dusk{background:linear-gradient(120deg,#c084fc,#fb7185)}
.esh-hero__dots{position:absolute;right:20px;bottom:20px;display:flex;gap:6px}
.esh-hero__dots button{width:10px;height:10px;border-radius:999px;border:0;background:rgba(255,255,255,.5);cursor:pointer}
.esh-hero__dots button.is-active{background:#fff}
.esh-hero__side{display:flex;flex-direction:column;gap:16px}
.esh-hero-card{background:#fff;border-radius:18px;padding:20px;box-shadow:var(--shadow)}
.esh-hero-card h3{margin:0 0 8px 0;font-size:18px}
.esh-hero-card p{margin:0 0 12px 0;color:#4b5563;font-size:14px}
.esh-link{color:#ea580c;font-weight:700;text-decoration:none}
.esh-home__promises{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding:0 16px 28px 16px}
.esh-promise{background:#fff;border-radius:14px;padding:12px 16px;border:1px solid var(--border);display:flex;flex-direction:column;gap:4px;font-size:13px}
.esh-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:32px 0 16px 0}
.esh-section-head h2{margin:0;font-size:26px}
.esh-section-head p{margin:4px 0 0 0;color:#6b7280}
.esh-countdown{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:#b45309;background:#fff0e0;border-radius:999px;padding:6px 12px;font-size:13px}

.esh-flash-rail{display:flex;gap:14px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory}
.esh-flash-card{flex:0 0 240px;scroll-snap-align:start;background:#fff;border-radius:18px;padding:16px;border:1px solid #fde7d6;text-decoration:none;color:#111827;display:flex;flex-direction:column;gap:8px;box-shadow:0 10px 30px rgba(255,152,64,.15)}
.esh-flash-card__body{display:flex;flex-direction:column;gap:8px}
.esh-flash-card__thumb{display:block;border-radius:14px;overflow:hidden;background:#fff7f0;position:relative;padding-bottom:120%;height:0}
.esh-flash-card__thumb img,.esh-flash-card__video,.esh-flash-card__iframe{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.esh-flash-card__video{border:0;background:#000}
.esh-flash-card__iframe{border:0;background:#000;pointer-events:none}
.esh-flash-card__title{font-weight:700;font-size:15px;line-height:1.3}
.esh-flash-card__price{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:800;color:#b91c1c}
.esh-flash-card__badge{background:#b91c1c;color:#fff;border-radius:999px;padding:2px 8px;font-size:12px}
.esh-flash-card__meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#6b7280}
.esh-flash-card__thumbs{display:block}
.esh-flash-card__thumbs span{display:block;width:calc(1.25in);height:calc(1.25in);margin:0 auto;border:1px solid #fcd9bd;border-radius:12px;overflow:hidden;box-sizing:border-box}
.esh-flash-card__thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.esh-flash-card--video{flex:0 0 2.5in;width:2.5in;min-width:2.5in;height:auto;padding:12px;border:1px solid #fde7d6;background:#fff;box-shadow:0 10px 30px rgba(255,152,64,.15)}
.esh-flash-card--video .esh-flash-card__thumb{padding-bottom:0;height:1.5in;border-radius:18px;margin-bottom:8px}
.esh-flash-card--video .esh-flash-card__body{flex:1;gap:6px}
.esh-flash-card--video .esh-flash-card__thumbs span{width:2in;height:2in}
.esh-flash-card--video .esh-flash-card__meta{font-size:11px;margin-top:6px}

.eshopoly-grid{width:100%;}

.esh-faux-reviews{border:1px solid #e5e7eb;border-radius:16px;padding:16px;margin:18px 0;display:grid;gap:12px;background:#fffdf9}
.esh-faux-reviews__item{border-bottom:1px solid #f3f4f6;padding-bottom:12px}
.esh-faux-reviews__item:last-child{border-bottom:0;padding-bottom:0}
.esh-faux-reviews__head{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#111827}
.esh-faux-reviews__date{color:#9ca3af;font-size:12px}
.esh-faux-reviews__rating{display:flex;align-items:center;gap:6px;font-size:12px;color:#6b7280;margin:6px 0}
.esh-faux-reviews__rating .star-rating{margin:0}
.esh-faux-reviews__item p{margin:4px 0 6px 0;font-size:13px;color:#374151}
.esh-faux-reviews__tag{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:#065f46;background:#d1fae5;padding:4px 8px;border-radius:999px}
.single-product #reviews{max-width:720px;margin:var(--space-xl) auto;padding:0 var(--space-md)}
.single-product #reviews #comments{margin-bottom:var(--space-lg)}
.single-product #reviews #comments h2{font-size:20px;margin-bottom:var(--space-md)}
.single-product #reviews ol.commentlist{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.single-product #reviews ol.commentlist li{border:1px solid #e5e7eb;border-radius:14px;padding:14px;background:#fff}
.single-product #reviews ol.commentlist li .meta{font-size:13px;color:#6b7280;margin-bottom:6px}
.single-product #reviews ol.commentlist li .star-rating{margin-bottom:4px}
.single-product #review_form{border:1px solid #e5e7eb;border-radius:16px;padding:20px;background:#fff}
.single-product #review_form #reply-title{font-size:20px;margin:0 0 12px 0}
.single-product #review_form label{display:block;font-weight:600;margin:10px 0 4px 0}
.single-product #review_form textarea,
.single-product #review_form input[type="text"],
.single-product #review_form input[type="email"]{width:100%;border:1px solid #e5e7eb;border-radius:10px;padding:10px;font-size:14px}
.single-product #review_form .comment-form-rating p.stars a{color:#f59e0b}
.single-product #review_form .form-submit input[type="submit"]{width:100%;background:#111827;color:#fff;font-weight:700;border:0;border-radius:10px;padding:12px;margin-top:12px}

.esh-collections-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.esh-collection-card{background:#fff;border-radius:18px;padding:20px;border:1px solid rgba(17,24,39,.08);box-shadow:0 10px 30px rgba(17,24,39,.05);position:relative;overflow:hidden}
.esh-collection-card::after{content:'';position:absolute;inset:0;background:var(--collection-accent);opacity:.2}
.esh-collection-card strong{position:relative;font-size:18px}
.esh-collection-card p{position:relative;color:#4b5563;font-size:14px}
.esh-collection-card .esh-link{position:relative}

.esh-home__feed{padding-bottom:56px}
.esh-badge-live{background:#f43f5e;color:#fff;padding:4px 10px;border-radius:999px;font-size:12px}

.esh-tablist{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.esh-tab-btn{border:1px solid var(--border);background:#fff;border-radius:999px;padding:8px 16px;font-weight:600;cursor:pointer}
.esh-tab-btn.is-active{background:#111827;color:#fff;border-color:#111827}
.esh-tab-panel{display:none}
.esh-tab-panel.is-active{display:block}

.esh-lifestyle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.esh-lifestyle-card{border-radius:18px;padding:20px;text-decoration:none;color:#111;background:#fff;box-shadow:var(--shadow)}
.esh-lifestyle-card strong{display:block;font-size:18px;margin-bottom:6px}
.esh-lifestyle-card p{margin:0 0 10px 0;color:#4b5563}
.esh-lifestyle-card--peach{background:linear-gradient(135deg,#ffe0d3,#fff5ec)}
.esh-lifestyle-card--mint{background:linear-gradient(135deg,#d1fae5,#f0fdf4)}
.esh-lifestyle-card--lavender{background:linear-gradient(135deg,#f5f3ff,#ede9fe)}
.esh-lifestyle-card--canyon{background:linear-gradient(135deg,#fee2e2,#fef3c7)}

/* =====================
   Product cards
   ===================== */
.esh-product-card{list-style:none;margin:0;border:none}
.esh-product-card__inner{background:#fff;border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:10px;height:100%;border:1px solid var(--border);box-shadow:0 4px 12px rgba(15,23,42,.08)}
.esh-product-card__media{display:block;border-radius:14px;overflow:hidden;position:relative}
.esh-product-card__media img{width:100%;display:block}
.esh-product-card__shipping{position:absolute;left:10px;top:10px;background:rgba(17,24,39,.85);color:#fff;border-radius:999px;padding:4px 10px;font-size:12px}
.esh-product-card__body{display:flex;flex-direction:column;gap:6px}
.esh-product-card__title{margin:0;font-size:15px;line-height:1.4;color:#111827}
.esh-product-card__price{font-size:18px;font-weight:800;color:#b91c1c}
.esh-product-card__rating .star-rating{margin:0}
.esh-product-card__meta{display:flex;gap:6px;flex-wrap:wrap}
.esh-meta-pill{border-radius:999px;background:#f1f5f9;color:#334155;padding:4px 10px;font-size:12px;font-weight:600}
.esh-meta-pill.is-hero{background:#fde68a;color:#92400e}
.esh-meta-pill.is-bundle{background:#c7d2fe;color:#3730a3}
.esh-product-card__actions{margin-top:auto}
.esh-product-card__actions .button{width:100%;justify-content:center}

/* =====================
   Footer + bottom nav
   ===================== */
.site-footer{background:#0f172a;color:#e5e7eb;margin-top:60px}
.footer-inner{padding:40px 16px;display:flex;flex-direction:column;gap:24px}
.footer-brand-block p{color:#cbd5f5;max-width:420px}
.footer-assurances{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.footer-assurances span{border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:4px 10px;font-size:12px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px}
.footer-grid a{display:block;margin:4px 0;color:#fef9c3;font-size:14px}
.footer-news{display:flex;gap:8px;margin-top:8px}
.footer-news input{flex:1;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.1);color:#fff;padding:8px 12px}
.footer-news button{border:0;border-radius:999px;background:#f97316;color:#fff;padding:8px 16px;font-weight:700}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;font-size:13px;color:#94a3b8}
.esh-bottom-nav{background:#fff;border-top:1px solid var(--border);box-shadow:0 -10px 20px rgba(15,23,42,.08)}
.esh-bottom-nav__btn{color:#111;text-decoration:none;font-size:12px}
.esh-bottom-nav__icon svg{width:22px;height:22px}
.esh-bottom-nav__safe{background:#111827;color:#fff}

@media (max-width:640px){
  .esh-home__hero{grid-template-columns:1fr}
  .esh-hero-card{padding:16px}
  .esh-search__departments .esh-mega__btn{width:100%;justify-content:center}
}
@media (min-width:641px){
  .esh-search__shell{flex-direction:row}
}
@media (min-width:900px){
  .header-bottom .container{flex-direction:row;align-items:center;gap:8px}
  .header-bottom .nav{flex-wrap:nowrap}
  .esh-mainbar .container{flex-direction:row;align-items:center;gap:24px}
  .esh-mainbar__actions{width:auto;gap:18px;justify-content:flex-start}
  .esh-category-rail .container{flex-direction:row;flex-wrap:wrap;align-items:center}
  .esh-category-rail__menu{flex:1;flex-direction:row;align-items:flex-start}
  .esh-category-rail__panel{flex:1;min-width:260px}
  .esh-category-rail__links{flex:1;flex-wrap:wrap;overflow:visible;padding-bottom:0;min-width:260px}
}
@media (max-width:640px){
  .esh-category-rail__menu{flex-direction:column;align-items:stretch}
  .esh-category-rail__panel{width:100%;position:absolute;left:0;right:0;top:100%;background:#fff;padding:16px;box-shadow:0 20px 40px rgba(15,23,42,.18);border:1px solid var(--border);max-height:70vh;overflow:auto;z-index:2500;display:none}
  .esh-category-rail__panel.is-open{display:block}
  .esh-category-rail__panel .nav{flex-wrap:wrap}
  .esh-category-rail__links{display:none}
  .esh-mainbar__label{font-size:8px;line-height:1.2}
  .esh-mainbar__action small{font-size:8px;line-height:1.2}
  .departments-nav a,.primary-nav a{font-size:8px;padding:4px 8px;line-height:1.2}
}
/* =====================
   Header menu refinements
   ===================== */
.esh-category-rail__panel,
.esh-category-rail__links{width:100%;min-width:0;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
.esh-category-rail__panel::-webkit-scrollbar,
.esh-category-rail__links::-webkit-scrollbar{display:none}
.esh-category-rail__panel .nav,
.esh-category-rail__links .nav{gap:8px}
.esh-mega{flex-shrink:0}
.esh-mega__btn{padding:6px 14px;font-size:14px}
.esh-mega__panel{width:min(900px,calc(100vw - 32px));max-height:70vh;overflow:auto;padding:16px}
.esh-mega__cols{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.departments-nav a,.primary-nav a{color:#0f172a;background:#f3f4f6;border:1px solid #e2e8f0;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;line-height:1;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.departments-nav .current-menu-item>a,.primary-nav .current-menu-item>a,.departments-nav a:hover,.primary-nav a:hover{background:#0f172a;color:#fff;border-color:#0f172a}
.primary-nav{opacity:.9}
/* Feed grids (legacy shortcodes upgraded to new cards) */
.esh-feed-grid{margin:24px 0;}
.esh-feed-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:8px;box-shadow:0 8px 18px rgba(15,23,42,.06)}
.esh-feed-card__media{display:block;position:relative;border-radius:14px;overflow:hidden;background:#f8fafc}
.esh-feed-card__media img{display:block;width:100%;height:auto}
.esh-feed-card__placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:160px;color:#94a3b8;font-size:12px}
.esh-feed-card__ship{position:absolute;left:10px;top:10px;background:rgba(17,24,39,.85);color:#fff;border-radius:999px;padding:3px 10px;font-size:12px}
.esh-feed-card__body{display:flex;flex-direction:column;gap:6px}
.esh-feed-card__title{margin:0;font-size:15px;line-height:1.4}
.esh-feed-card__title a{color:#111827;text-decoration:none}
.esh-feed-card__title a:hover{text-decoration:underline}
.esh-feed-card__price{font-size:18px;font-weight:800;color:#b91c1c}
.esh-feed-card__rating .star-rating{margin:0}
.esh-feed-card__badges{display:flex;gap:6px;flex-wrap:wrap}
.esh-feed-badge{background:#f1f5f9;color:#1f2937;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:600}
.esh-feed-badge.is-hero{background:#fde68a;color:#92400e}
.esh-feed-badge.is-bundle{background:#c7d2fe;color:#3730a3}
.esh-feed-badge.is-sale{background:#fee2e2;color:#b91c1c}
@media (max-width:768px){
  .esh-feed-grid{margin:16px 0}
}

/* =====================
   Review cards + UX polish
   ===================== */
.esh-breadcrumb-wrap{max-width:var(--max-width);margin:0 auto;padding:12px 16px}
.esh-return-link{margin:16px 0;font-size:14px}
.esh-return-link a{display:inline-flex;align-items:center;gap:6px;color:#ea580c;font-weight:700}
.esh-review-summary{display:flex;gap:24px;flex-wrap:wrap;background:#fff;border:1px solid var(--border);border-radius:16px;padding:16px;margin-bottom:16px}
.esh-review-score strong{font-size:36px;display:block}
.esh-review-bars{flex:1;min-width:220px}
.esh-review-bar{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.esh-review-bar .bar{flex:1;background:#e5e7eb;border-radius:999px;overflow:hidden;height:8px}
.esh-review-bar .bar span{display:block;height:100%;background:#f97316}
.esh-review-filters{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.esh-review-filter-group a{text-decoration:none;border:1px solid var(--border);border-radius:999px;padding:6px 12px;font-size:13px;color:#111}
.esh-review-filter-group a.is-active{background:#111;color:#fff;border-color:#111}
.esh-review-sort select{border-radius:8px;padding:6px 10px;border:1px solid var(--border)}
.esh-review-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:16px;margin-bottom:16px;box-shadow:0 6px 16px rgba(15,23,42,.08)}
.esh-review-card header{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px}
.esh-review-card h4{margin:0 0 6px 0}
.esh-review-media img{border-radius:10px}
.esh-review-vote{display:flex;gap:12px}
.esh-review-vote button{border:1px solid var(--border);background:#f8fafc;border-radius:999px;padding:4px 12px;cursor:pointer}
.esh-review-sample{background:#ffe4b5;color:#7c2d12;border-radius:999px;padding:2px 8px;font-size:11px}
@media (max-width:640px){
  .esh-review-summary{flex-direction:column}
}

