/* ============================================================
   HOUSE OF EM5 — full design-system override
   Loaded after globals.css (ByteBoost). Re-themes every visible
   element to match houseofem5.com (Vela theme, Shopify).
   ============================================================ */

:root{
  --em5-accent:#EB4A2E;
  --em5-black:#1E1E1E;
  --em5-ink:#1E1E1E;
  --em5-muted:#666666;
  --em5-muted-2:#333333;
  --em5-hover:#ffa6a8;
  --em5-slate:#333e48;
  --em5-line:#e1e1e1;
  --em5-line-2:#ccc;
  --em5-bg:#ffffff;
  --em5-panel:#fff;
  --em5-compare:#b9b9b9;
  --em5-card-hover:#f9f9f9;
  --em5-topbar-bg:#111;
  --em5-font-jost:"Jost",var(--font-jost),sans-serif;
  --em5-font-urbanist:"Urbanist",var(--font-urbanist),sans-serif;
}

html{scroll-behavior:smooth}

/* ============================================================
   BYTEBOOST THEME NEUTRALIZER
   globals.css (ByteBoost) defines a dark + cream theme via CSS
   custom props on :root, .band-light and body.light. It loads
   BEFORE this file, so re-declaring every token here makes all
   var(--bg)/var(--ink)/var(--font-display) consumers in the old
   stylesheet resolve to EM5 values instead of ByteBoost's.
   ============================================================ */
:root,
.band-light,
body.light,
body.ww-shop,
body.ww-homepage{
  --bg:#ffffff;
  --panel:#ffffff;
  --panel-2:#f6f6f6;
  --ink:#1e1e1e;
  --ink-2:#333333;
  --muted:#666666;
  --muted-2:#333333;
  --lime:#eb4a2e;
  --lime-bright:#ffa6a8;
  --lime-deep:#d53d22;
  --lime-ink:#ffffff;
  --amber:#eb4a2e;
  --line:#e1e1e1;
  --line-strong:#cccccc;
  --shadow-s:0 1px 6px rgba(0,0,0,.12);
  --shadow-m:0 6px 15px rgba(0,0,0,.12);
  --shadow-l:0 0 10px rgba(0,0,0,.4);
  --font-display:var(--em5-font-jost);
  --font-serif:var(--em5-font-urbanist);
  --font-body:var(--em5-font-jost);
  --ease:cubic-bezier(.22,1,.36,1);
  --ease-io:cubic-bezier(.65,0,.35,1);
  --radius:10px;
  --light-bg:#ffffff;
  background:var(--em5-bg);
  color:var(--em5-muted);
}

/* container: EM5 full-width (max 1920) with 55px gutters, not ByteBoost's 1240px */
.ww-container{
  width:100% !important;
  max-width:1920px !important;
  margin:0 auto !important;
  padding:0 55px !important;
}
@media(max-width:1600px){.ww-container{padding:0 35px !important}}
@media(max-width:1140px){.ww-container{padding:0 25px !important}}
@media(max-width:767px){.ww-container{padding:0 20px !important}}

/* catalog grid: EM5 auto-fill, not ByteBoost 4-col */
.ww-catalog-grid{
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr)) !important;
  gap:24px !important;
}
@media(max-width:767px){
  .ww-catalog-grid{grid-template-columns:repeat(2,1fr) !important;gap:12px !important}
}

/* selection + scrollbar: EM5 accent / light */
::selection{background:#eb4a2e;color:#fff}
body ::-webkit-scrollbar{width:10px}
body ::-webkit-scrollbar-track{background:#fff}
body ::-webkit-scrollbar-thumb{background:#ccc;border-radius:6px;border:2px solid #fff}
body ::-webkit-scrollbar-thumb:hover{background:#b9b9b9}

/* store headings -> Jost / EM5 ink (no Space Grotesk) */
.ww-store-title,
.ww-store-count,
.ww-store-eyebrow,
.ww-shop .ww-cart-title h1,
.ww-checkout-summary h2,
.ww-checkout-form h2{
  font-family:var(--em5-font-jost)!important;
  color:#1e1e1e!important;
}
.ww-store-eyebrow::before{background:#eb4a2e}
.ww-store-title em{color:#1e1e1e}

/* nav spacer: EM5-like height on non-home pages */
.ww-shop .ww-nav-spacer{height:86px}
@media(max-width:767px){.ww-shop .ww-nav-spacer{height:70px}}

body{
  background:var(--em5-bg)!important;
  color:var(--em5-muted)!important;
  font-family:var(--em5-font-jost)!important;
  font-size:15px!important;
  line-height:27px!important;
  font-weight:400!important;
}

h1,h2,h3,h4,h5,h6,.em5-font{font-family:var(--em5-font-jost);color:var(--em5-ink)}
body.ww-shop{
  --bg:#ffffff;--panel:#fff;--panel-2:#f6f6f6;--ink:#1e1e1e;--ink-2:#333;
  --muted:#666;--muted-2:#333;--lime:#eb4a2e;--lime-bright:#ffa6a8;--lime-deep:#d53d22;
  --lime-ink:#fff;--line:#e1e1e1;--line-strong:#ccc;
  --font-display:var(--em5-font-jost);--font-serif:var(--em5-font-urbanist);--font-body:var(--em5-font-jost);
  --radius:10px;
  background:var(--em5-bg)!important;color:var(--em5-ink)!important;
}

a{color:inherit;text-decoration:none}
button{font-family:var(--em5-font-jost)}

/* ============ BUTTONS ============ */
.btn{font-family:var(--em5-font-jost)}
.btn-lime,
.btn-primary{
  background:#eb4a2e!important;border:2px solid #eb4a2e!important;color:#1e1e1e!important;
  border-radius:10px!important;text-transform:uppercase!important;font-weight:500!important;
  font-size:14px!important;letter-spacing:1px!important;padding:12px 15px!important;
}
.btn-lime:hover,.btn-primary:hover{background:#1e1e1e!important;border-color:#1e1e1e!important;color:#fff!important}
.btn-dark,.btn-ghost{
  background:#1e1e1e!important;border:2px solid #1e1e1e!important;color:#fff!important;
  border-radius:10px!important;text-transform:uppercase!important;font-weight:500!important;
  font-size:14px!important;letter-spacing:1px!important;padding:12px 15px!important;
}
.btn-dark:hover,.btn-ghost:hover{background:#ffa6a8!important;border-color:#ffa6a8!important;color:#fff!important}

/* EM5 pill outline button (card hover add-to-cart / quick view) */
.em5-pill{
  display:flex;align-items:center;justify-content:center;gap:6px;
  border-radius:10px;border:2px solid #eb4a2e;background:#fff;color:#eb4a2e;
  font-size:14px;font-weight:500;letter-spacing:1px;text-transform:uppercase;
  padding:12px 15px;height:46px;cursor:pointer;transition:.25s ease;
}
.em5-pill:hover{background:#eb4a2e;color:#fff}

/* ============ TOP BAR / ANNOUNCEMENT ============ */
.em5-topbar{
  padding:7px 55px;position:relative;z-index:100;
}
.em5-topbar-inner{
  width:100%;background:#111;border-radius:10px;padding:10px 30px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.em5-topbar-text{
  font-size:14px;font-weight:400;color:#fff;line-height:1.4;flex:1;
}
.em5-topbar-links{display:flex;gap:8px;flex-shrink:0}
.em5-topbar-links a{
  background:#eb4a2e;font-size:13px;color:#fff;text-transform:uppercase;
  padding:7px 15px;border-radius:6px;letter-spacing:.5px;transition:.2s;
}
.em5-topbar-links a:hover{background:#fff;color:#1e1e1e}
@media(max-width:767px){
  .em5-topbar{padding:7px 15px}
  .em5-topbar-inner{padding:10px 15px;flex-direction:column;gap:10px;align-items:center}
  .em5-topbar-text{font-size:13px;text-align:center}
}

/* ============ HEADER / NAV ============ */
.nav.ww-nav-3{
  background:transparent!important;
  border-bottom:none!important;
  box-shadow:none!important;
}
.nav.ww-nav-3 .nav-inner{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:0 55px;
}
body.ww-homepage .nav.ww-nav-3{position:absolute;top:0;left:0;right:0;z-index:99}
body:not(.ww-homepage) .nav.ww-nav-3{
  position:sticky;background:#fff!important;
}
.nav.ww-nav-3 .logo{width:auto}
.nav.ww-nav-3 .em5-logo img{height:61px;width:65px;object-fit:contain}
body:not(.ww-homepage) .em5-logo-white{display:none}
body.ww-homepage .em5-logo-black{display:none}
@media(max-width:767px){
  body.ww-homepage .em5-logo-white{display:block}
  body.ww-homepage .em5-logo-black{display:none}
}
.nav.ww-nav-3 .hamburger{
  width:44px;height:44px;display:grid;place-items:center;padding:0;
  border:none;outline:none;box-shadow:none;background:none;border-radius:10px;cursor:pointer;
}
body.ww-homepage .nav.ww-nav-3 .hamburger{background:#fff;width:43px;height:43px;border:1px solid #ccc;border-radius:10px}
body.ww-homepage .nav.ww-nav-3 .hamburger svg{stroke:#333e48!important;fill:none!important;stroke-width:2;width:20px;height:20px}
.nav.ww-nav-3 .hamburger svg{width:24px;height:24px;stroke:#1e1e1e;fill:none;stroke-width:2}

/* desktop menu pills */
.nav.ww-nav-3 .ww-pc-menu{display:flex}
.nav.ww-nav-3 .ww-pc-menu .ww-pc-ul{display:flex;align-items:center;gap:12px;list-style:none;margin:0;padding:0}
.nav.ww-nav-3 .ww-pc-menu .menu-item{position:relative;list-style:none}
.nav.ww-nav-3 .ww-pc-menu .menu-item > a{
  display:inline-flex;align-items:center;background:#fff;padding:9px 25px;border-radius:10px;
  font-weight:400;letter-spacing:.2px;border:1px solid #CCC;font-size:15px;
  text-transform:uppercase;color:#333e48;transition:.2s;white-space:nowrap;
}
.nav.ww-nav-3 .ww-pc-menu .menu-item > a:hover{color:#1e1e1e}
.nav.ww-nav-3 .ww-pc-menu .sub-menu{
  position:absolute;top:100%;left:0;margin-top:10px;background:#fff;min-width:220px;
  padding:12px 0;border-radius:10px;border-top:2px solid #1e1e1e;
  box-shadow:0 6px 15px rgba(0,0,0,.12);display:none;z-index:120;
}
.nav.ww-nav-3 .ww-pc-menu .menu-item:hover .sub-menu{display:block}
.nav.ww-nav-3 .ww-pc-menu .sub-menu li{list-style:none}
.nav.ww-nav-3 .ww-pc-menu .sub-menu a{
  display:block;padding:8px 20px;color:#858a8d;font-size:14px;text-transform:none;border:none;background:none;
}
.nav.ww-nav-3 .ww-pc-menu .sub-menu a:hover{color:#333e43;background:#f6f6f6}
.nav.ww-nav-3 .em5-mega{
  width:480px;padding:24px;display:none;
}
.nav.ww-nav-3 .menu-item:hover .em5-mega{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.nav.ww-nav-3 .em5-mega-block{min-width:0}
.nav.ww-nav-3 .em5-mega-block > b{display:block;color:#1e1e1e;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin:0 0 10px;padding:0 20px}
.nav.ww-nav-3 .em5-mega-block ul{list-style:none;margin:0;padding:0}
.nav.ww-nav-3 .em5-mega-block a{color:#858a8d;font-size:14px;text-transform:none;border:none;background:none;padding:7px 20px}
.nav.ww-nav-3 .em5-mega-block a:hover{color:#333e43;background:#f6f6f6}
@media(max-width:1200px){
  .nav.ww-nav-3 .ww-pc-menu .menu-item > a{padding:9px 14px;font-size:13px}
  .em5-search-inline{display:none}
}

/* nav right */
.nav.ww-nav-3 .nav-right{display:flex;align-items:center;gap:10px}
.nav.ww-nav-3 .nav-right .nav-icon{
  background:#fff;border:1px solid #ccc;border-radius:10px;height:43px;min-width:43px;
  display:flex;align-items:center;justify-content:center;padding:0 10px;cursor:pointer;color:#333e48;transition:.2s;
}
.nav.ww-nav-3 .nav-right .nav-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9}
.nav.ww-nav-3 .nav-right .nav-icon:hover{color:#1e1e1e}
.nav.ww-nav-3 .cart-count{
  position:absolute;top:6px;right:2px;font-size:10px;line-height:1;color:#333;background:transparent;font-weight:500;
}
.nav.ww-nav-3 .nav-acct-label{display:none}
.em5-search-inline{position:relative;display:flex;align-items:center}
.em5-search-inline input{
  border-radius:10px;height:43px;border:1px solid #CCC;padding:10px 46px 10px 15px;
  font-size:15px;width:190px;outline:none;background:#fff;color:#333;
}
.em5-search-inline button{
  background:#eb4a2e;border-radius:8px;position:absolute;top:3px;right:3px;height:37px;min-width:37px;
  border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;
}
.em5-search-inline button svg{width:17px;height:17px;stroke:#fff;fill:none;stroke-width:2}
@media(max-width:1260px){.em5-search-inline input{width:130px}}
@media(max-width:960px){
  .nav.ww-nav-3 .nav-inner{padding:0 15px}
  .nav.ww-nav-3 .em5-logo img{height:33px;width:35px}
  .em5-search-inline{display:none}
}
@media(max-width:767px){
  .nav.ww-nav-3 .nav-right .nav-icon{background:#fff;height:43px;border-radius:10px;border:1px solid #ccc}
  .nav.ww-nav-3 .hamburger,
  .nav.ww-nav-3 .nav-right{display:none!important}
  .nav.ww-nav-3 .nav-inner{justify-content:center}
}

/* mobile bottom dock restyle (EM5 dark bar: search + hamburger + cart) */
.ww-dock{background:#111!important;border-top:none!important}
.ww-dock .ww-dk{color:rgba(255,255,255,.75)!important}
.ww-dock .ww-dk.on{color:#fff!important}
.em5-dock-in{display:flex;align-items:center;gap:12px;padding:12px 15px}
.em5-dock-search{flex:1;position:relative}
.em5-dock-search input{
  width:100%;height:43px;background:#ffffff1a;border:1px solid rgba(255,255,255,.1);
  border-radius:10px;padding:10px 46px 10px 15px;color:#fff;font:400 14px/1.4 var(--em5-font-jost);
}
.em5-dock-search input::placeholder{color:rgba(255,255,255,.6)}
.em5-dock-search input:focus{outline:none;border-color:#eb4a2e}
.em5-dock-search button{
  position:absolute;top:3px;right:3px;width:37px;height:37px;border:none;background:#eb4a2e;
  border-radius:8px;color:#fff;display:grid;place-items:center;cursor:pointer;
}
.em5-dock-btn{
  position:relative;width:43px;height:43px;flex:none;display:grid;place-items:center;
  background:#fff;color:#343434;border:1px solid #ccc;border-radius:10px;cursor:pointer;padding:0;
}
.em5-dock-count{
  position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;
  background:#eb4a2e;color:#fff;font:600 11px/18px var(--em5-font-jost);text-align:center;
}
@media(max-width:767px){
  .em5-dock{display:block!important}
}

/* ============ HERO ============ */
.em5-hero{
  position:relative;width:100%;min-height:660px;
  display:flex;align-items:center;
  background-size:cover;background-position:center;
  border-radius:0 0 40px 40px;overflow:hidden;
}
.em5-hero-inner{
  position:relative;z-index:2;max-width:700px;padding:140px 55px 80px;
}
.em5-hero h2{
  color:#fff;font-size:60px;font-weight:400;line-height:1.05;margin:0 0 20px;
}
.em5-hero p{
  color:#fff;font-size:17px;font-weight:300;line-height:1.7;margin:0 0 30px;max-width:560px;
}
.em5-hero-ctas{display:flex;gap:16px;flex-wrap:wrap}
.em5-hero-btn{
  display:inline-flex;align-items:center;justify-content:center;height:72px;min-width:280px;
  border-radius:10px;font-size:20px;font-weight:500;color:#fff;transition:.25s;
}
.em5-hero-btn.primary{background:#EB4A2E;border:2px solid #FFF}
.em5-hero-btn.primary:hover{background:#d53d22}
.em5-hero-btn.secondary{background:#1E1E1E;border:2px solid #FFF}
.em5-hero-btn.secondary:hover{background:#000}
@media(max-width:1040px){
  .em5-hero h2{font-size:44px}
  .em5-hero-btn{min-width:230px;height:62px;font-size:17px}
}
@media(max-width:767px){
  .em5-hero{min-height:520px}
  .em5-hero-inner{padding:120px 20px 60px}
  .em5-hero h2{font-size:34px}
  .em5-hero p{font-size:15px}
  .em5-hero-ctas{flex-direction:column}
  .em5-hero-btn{min-width:100%}
}

/* ============ SECTION HEADINGS ============ */
.em5-section{padding:70px 55px}
.em5-eyebrow{
  color:#eb4a2e;font-size:15px;font-weight:500;letter-spacing:4px;
  text-transform:uppercase;text-align:center;margin:0 0 10px;
}
.em5-title{
  color:#1e1e1e;text-align:center;font-size:44px;font-weight:500;margin:0 0 40px;line-height:1.15;
}
.em5-title-left{text-align:left}
@media(max-width:1040px){.em5-title{font-size:34px}}
@media(max-width:767px){.em5-title{font-size:28px}}
.em5-section-arrow{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:-10px;margin-bottom:40px}
.em5-section-arrow .cat-arrow{
  width:46px;height:46px;border-radius:50%;border:1px solid #ccc;background:#fff;color:#333;
  display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s;
}
.em5-section-arrow .cat-arrow:hover{background:#eb4a2e;color:#fff;border-color:#eb4a2e}
.em5-section-arrow .cat-arrow svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
@media(max-width:767px){.em5-section{padding:50px 20px}}

/* ============ CATEGORY TILES (Men/Women/Unisex) ============ */
.em5-gender-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.em5-gender-tile{position:relative;border-radius:14px;overflow:hidden;display:block}
.em5-gender-tile img{width:100%;display:block;object-fit:cover;aspect-ratio:1/1}
.em5-gender-tile .tile-label{
  position:absolute;left:20px;bottom:20px;
  font-size:36px;font-weight:600;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.35);
}
.em5-gender-tile .em5-gender-btn{
  position:absolute;right:20px;bottom:20px;background:#EB4A2E;padding:15px 35px;border-radius:10px;
  font-size:17px;font-weight:400;color:#FFF;transition:.25s;border:none;cursor:pointer;
}
.em5-gender-tile:hover .em5-gender-btn{background:#FFF;color:#1e1e1e}
@media(max-width:767px){
  .em5-gender-tiles{grid-template-columns:1fr;gap:16px}
  .em5-gender-tile .tile-label{font-size:28px}
  .em5-gender-tile .em5-gender-btn{padding:12px 24px;font-size:15px}
}

/* ============ PRODUCT CARDS (EM5) ============ */
.em5-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:24px}
.em5-product-card{
  background:#fff;border:1px solid #eee;border-radius:10px;overflow:hidden;position:relative;transition:.25s;
}
.em5-product-card:hover{background:#f9f9f9}
.em5-pc-media{position:relative;display:block;border-radius:14px;overflow:hidden;aspect-ratio:3/4;background:#fafafa}
.em5-pc-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.em5-product-card:hover .em5-pc-media img{transform:scale(1.06)}
.em5-pc-media::after{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,#fff0 52.4%,#00000013);pointer-events:none;
}
.em5-sale-badge{
  position:absolute;top:10px;right:10px;font-size:13px;color:#fff;padding:3px 10px;border-radius:2px;
  background:#1e1e1e;z-index:3;
}
.em5-pc-info{padding:14px 15px 22px;min-height:140px;display:flex;flex-direction:column}
.em5-pc-title{
  color:#1e1e1e;font-size:16px;font-weight:500;line-height:1.5;margin:0 0 8px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.em5-pc-title a{color:inherit}
.em5-pc-price{display:flex;align-items:baseline;gap:8px;margin-bottom:10px}
.em5-pc-price b{color:#eb4a2e;font-size:15px;font-weight:600}
.em5-pc-price s{color:#b9b9b9;font-size:13px;font-weight:500;text-decoration:line-through}
.em5-pc-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}
.em5-pc-tag{
  font-size:13px;padding:5px 8px;border-radius:10px;color:#fff;border:1px solid rgba(0,0,0,.1);
}
.em5-pc-tag.season{background:#eb4a2e}
.em5-pc-tag.gender{background:#1e1e1e}
.em5-pc-accords{display:flex;flex-wrap:wrap;gap:2px;margin-bottom:12px}
.em5-pc-accord{color:#eb4a2e;border-right:1px solid #EB4A2E;font-size:14px;padding-right:6px;line-height:1.3}
.em5-pc-actions{display:flex;gap:8px;margin-top:auto}
.em5-pc-actions .em5-pill{flex:1;padding:10px 12px;height:42px;font-size:13px}
.em5-pc-btn-qv{width:42px;height:42px;flex-shrink:0}
@media(max-width:767px){
  .em5-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .em5-pc-title{font-size:14px}
}

/* ============ FEATURED COLLECTIONS / PRIVATE BLENDS CAROUSEL ============ */
.em5-scroll{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 16px;scrollbar-width:none}
.em5-scroll::-webkit-scrollbar{display:none}
.em5-scroll-item{flex:0 0 300px;scroll-snap-align:start;position:relative;border-radius:14px;overflow:hidden;display:block}
.em5-scroll-item img{width:100%;display:block;object-fit:cover;aspect-ratio:1/1}
.em5-scroll-item .em5-scroll-label{
  position:absolute;left:16px;bottom:16px;color:#fff;font-size:18px;font-weight:400;text-shadow:0 2px 10px rgba(0,0,0,.4);
}
@media(max-width:767px){.em5-scroll-item{flex-basis:220px}}

/* ============ FULL-WIDTH BANNERS ============ */
.em5-banner{position:relative;display:block;border-radius:30px;overflow:hidden;margin:0 55px 30px}
.em5-banner img{width:100%;display:block;object-fit:cover;max-height:420px}
@media(max-width:767px){.em5-banner{margin:0 20px 24px;border-radius:20px}}

/* ============ SHOP BY NOTES ============ */
.em5-notes{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px}
.em5-note{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 10px;border-radius:14px;transition:.25s;text-align:center}
.em5-note:hover{background:#f9f9f9}
.em5-note img{width:80px;height:80px;object-fit:contain}
.em5-note span{color:#333;font-size:15px;font-weight:400;font-family:var(--em5-font-jost)}
@media(max-width:767px){.em5-notes{grid-template-columns:repeat(3,1fr)}}

/* ============ INSTAGRAM ============ */
.em5-insta{text-align:center;padding:70px 55px}
.em5-insta h2{color:#1e1e1e;font-size:44px;font-weight:500;margin:0 0 12px}
.em5-insta p{color:#666;font-size:16px;margin:0 0 30px}
@media(max-width:767px){.em5-insta{padding:50px 20px}}

/* ============ NEWSLETTER ============ */
.em5-newsletter{
  border-radius:40px;background:#f7f7f7;padding:60px 55px;text-align:center;
  margin:0 55px 30px;border:1px solid #eee;
}
.em5-newsletter h4{color:#1e1e1e;font-size:26px;font-weight:500;margin:0 0 10px}
.em5-newsletter p{color:#666;font-size:16px;margin:0 0 24px}
.em5-newsletter form{display:flex;gap:10px;max-width:460px;margin:0 auto}
.em5-newsletter input{
  flex:1;background:#fff;border-radius:10px;padding:16px 20px;color:#333;font-size:16px;
  border:1px solid #ccc;outline:none;font-family:var(--em5-font-jost);
}
.em5-newsletter button{
  background:#eb4a2e;border-radius:10px;width:54px;height:54px;border:none;cursor:pointer;
  display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;
}
.em5-newsletter button svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2}
.em5-newsletter .em5-newsletter-success{color:#1e1e1e;font-size:17px;font-weight:500}
@media(max-width:767px){
  .em5-newsletter{margin:0 20px 24px;padding:40px 20px;border-radius:30px}
  .em5-newsletter form{flex-direction:column}
  .em5-newsletter button{width:100%;height:50px}
}

/* ============ FOOTER ============ */
footer.em5-footer{
  background:#1e1e1e;position:relative;margin-top:-40px;padding-top:40px;color:#fff;
}
footer.em5-footer::before{
  content:"";display:block;width:100%;height:40px;background:#fff;border-radius:0 0 40px 40px;margin-bottom:40px;
}
.em5-footer-top{display:grid;grid-template-columns:38% 48% 14%;padding:40px 55px 60px;gap:30px}
.em5-footer-col1{text-align:center;background:#ffffff0d;padding:60px;border-radius:14px}
.em5-footer-col1 .em5-footer-logo{width:70px;height:66px;object-fit:contain;margin-bottom:20px}
.em5-footer-col1 h4{color:#fff;font-size:26px;font-weight:500;margin:0 0 16px}
.em5-footer-col1 form{display:flex;gap:10px}
.em5-footer-col1 input{
  flex:1;background:#ffffff12;border-radius:10px;padding:16px 20px;color:#fff;font-size:16px;border:none;outline:none;
}
.em5-footer-col1 button{background:#eb4a2e;border-radius:10px;width:45px;height:45px;border:none;cursor:pointer;color:#fff;flex-shrink:0}
.em5-footer-col2{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.em5-footer-col2 h5{color:#fff;font-size:16px;font-weight:500;margin:0 0 16px;text-transform:uppercase;letter-spacing:1px}
.em5-footer-col2 a{color:#fff;font-size:15px;font-weight:300;display:flex;align-items:center;gap:8px;margin-bottom:10px;transition:.2s}
.em5-footer-col2 a:hover{color:#ffa6a8}
.em5-footer-col2 a svg{width:18px;height:18px;flex-shrink:0}
.em5-footer-col3{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.em5-footer-col3 a{
  width:54px;height:54px;border-radius:9.5px;display:flex;align-items:center;justify-content:center;
  border:1px solid #EB4A2E;color:#EB4A2E;transition:.25s;background:transparent;
}
.em5-footer-col3 a svg{width:24px;height:24px;stroke:#EB4A2E;fill:transparent}
.em5-footer-col3 a:hover{background:#EB4A2E}
.em5-footer-col3 a:hover svg{stroke:#fff}
.em5-footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);padding:20px 55px;display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.em5-footer-bottom p{color:#fff;font-size:16px;font-weight:300;letter-spacing:.5px;margin:0}
.em5-footer-payments{background:#fff;border-radius:10px;padding:8px 14px;display:flex;align-items:center}
.em5-footer-payments img{height:26px;width:auto;display:block}
@media(max-width:1040px){
  .em5-footer-top{grid-template-columns:1fr 1fr;padding:30px 35px 40px}
  .em5-footer-col3{flex-direction:row}
}
@media(max-width:767px){
  .em5-footer-top{grid-template-columns:1fr;padding:20px;gap:24px}
  .em5-footer-col1{padding:40px 20px}
  .em5-footer-col2{grid-template-columns:1fr}
  .em5-footer-bottom{flex-direction:column;padding:20px}
}
footer.footer{display:none}

/* ============ MOBILE MENU DRAWER ============ */
.drawer-menu{background:#f6f6f6!important;width:300px!important}
.drawer-menu .drawer-head{border-bottom:1px solid rgba(0,0,0,.08)!important;background:#fff!important}
.drawer-menu .ww-mobile-ul{list-style:none;padding:0;margin:0}
.drawer-menu .ww-mobile-ul li{list-style:none}
.drawer-menu .ww-mobile-ul > li > a{
  display:block;padding:14px 20px;color:#1e1e1e;font-size:15px;font-weight:500;text-transform:uppercase;border-bottom:1px solid #eee;
}
.drawer-menu .ww-mobile-ul .sub-menu li a{display:block;padding:10px 20px 10px 32px;color:#666;font-size:14px;border-bottom:1px solid #f2f2f2}
.drawer-menu .menu-bottom{padding:20px}

/* ============ CART DRAWER ============ */
.drawer-cart{width:400px!important;max-width:92vw!important}
.drawer-cart .drawer-head{background:#1e1e1e!important;color:#fff!important}
.drawer-cart .drawer-head .drawer-close svg{stroke:#fff!important}
.drawer-cart .cart-item{border-bottom:1px solid #eee!important;padding-bottom:12px!important;margin-bottom:12px!important}
.drawer-cart .cart-item .byteboost-thumb-mark{display:none!important}
.drawer-cart .cart-item img{width:88px;height:88px;object-fit:cover;border-radius:14px}
.drawer-cart .btn{background:#eb4a2e!important;color:#1e1e1e!important;border:2px solid #eb4a2e!important}

/* ============ SEARCH OVERLAY ============ */
.search-modal{border-radius:14px!important;background:#fff!important}
.search-bar{border:1px solid #ccc!important;border-radius:10px!important}
.search-item img{border-radius:10px}
.search-item .byteboost-thumb-mark{display:none}

/* ============ SHOP / COLLECTION PAGES ============ */
.ww-shop-cats .ww-cat-chip{
  background:#fff;border:1px solid #CCC;color:#333e48;border-radius:10px;padding:9px 25px;
  font-size:15px;text-transform:uppercase;letter-spacing:.2px;font-weight:400;transition:.2s;
}
.ww-shop-cats .ww-cat-chip.on,.ww-shop-cats .ww-cat-chip:hover{background:#eb4a2e;border-color:#eb4a2e;color:#fff}
.ww-store-count span{color:#eb4a2e;font-weight:600}
.ww-store-toolbar .orderby{border:1px solid #ccc;border-radius:10px!important;padding:9px 14px;font-family:var(--em5-font-jost);color:#333;background:#fff;outline:none}
.ww-catalog-grid .product-card{background:#fff;border:1px solid #eee;border-radius:10px;overflow:hidden}
.ww-catalog-grid .product-card:hover{background:#f9f9f9}
.ww-catalog-grid .product-card .byteboost-thumb-mark{display:none!important}
.ww-catalog-grid .product-card .ww-instant-badge{display:none!important}

/* collection banner */
.em5-collection-banner{background:#f7f7f7;border-radius:20px;padding:38px 30px;margin:18px 0 6px;text-align:center}
.em5-collection-banner h1{color:#1e1e1e;font-family:var(--em5-font-jost);font-size:34px;font-weight:500;margin:0;line-height:1.15}
@media(max-width:767px){.em5-collection-banner{padding:26px 18px}.em5-collection-banner h1{font-size:26px}}
.ww-store-main .ww-container{padding-top:0}
.ww-store-toolbar{margin:18px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ww-store-count{color:#666;font-size:15px;font-family:var(--em5-font-jost)}

/* ============ SINGLE PRODUCT ============ */
.em5-gallery{display:flex;flex-direction:column;gap:12px}
.em5-gallery-main{position:relative;border-radius:14px;overflow:hidden;background:#fafafa}
.em5-gallery-main img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.em5-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.em5-gallery-thumbs::-webkit-scrollbar{display:none}
.em5-gallery-thumb{flex:0 0 76px;width:76px;height:76px;border-radius:10px;overflow:hidden;border:1px solid #ccc;background:#fff;padding:0;cursor:pointer;transition:.2s}
.em5-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.em5-gallery-thumb.on,.em5-gallery-thumb:hover{border-color:#eb4a2e}
.em5-size-select{width:100%;height:46px;border:1px solid #ccc;border-radius:10px;padding:0 12px;font-size:15px;font-family:var(--font-jost),sans-serif;background:#fff;color:#333}
.em5-size-select:focus{outline:none;border-color:#eb4a2e}
.ww-single-media{border-radius:14px;overflow:hidden}
.ww-single-media .byteboost-thumb-mark{display:none!important}
.ww-single-media .ww-instant-badge{display:none!important}
.ww-single-media img{width:100%;object-fit:cover;border-radius:14px}
.ww-single-summary h1{color:#1e1e1e;font-size:28px;font-weight:600;margin:0 0 16px}
.entry-price-wrap .price ins{text-decoration:none}
.entry-price-wrap .woocommerce-Price-amount{color:#eb4a2e;font-size:24px;font-weight:600}
.entry-price-wrap .price del .woocommerce-Price-amount{color:#b9b9b9;font-size:17px;font-weight:500}
.variable-items-wrapper .variable-item{
  border:1px solid #ccc;border-radius:10px;background:#fff;color:#333;cursor:pointer;transition:.2s;
}
.variable-items-wrapper .variable-item.selected{border-color:#eb4a2e;background:#eb4a2e;color:#fff}
.variable-items-wrapper .variable-item:hover{border-color:#eb4a2e}
.single_add_to_cart_button{
  background:#eb4a2e!important;border:2px solid #EB4A2E!important;border-radius:10px!important;height:56px!important;
  font-size:18px!important;font-weight:400!important;color:#1e1e1e!important;padding:0 30px!important;cursor:pointer;
}
.single_add_to_cart_button:hover{background:#1e1e1e!important;color:#fff!important}
.single_add_to_cart_button.button-buy-now{background:#1e1e1e!important;color:#fff!important;border-color:#1e1e1e!important}
.single_add_to_cart_button.button-buy-now:hover{background:#ffa6a8!important;border-color:#ffa6a8!important}
.ww-delivery-box{background:#fff;border:1px solid #eee;border-radius:14px}
.ww-delivery-text{color:#666}
.ww-single-desc h2{color:#1e1e1e;font-size:22px;font-weight:600}
.ww-single-highlight{border-radius:14px}
.ww-related-scroll .ww-related-item .product-card{border:1px solid #eee;border-radius:10px;overflow:hidden}
.ww-related-item .product-card .byteboost-thumb-mark,.ww-related-item .product-card .ww-instant-badge{display:none!important}
.ww-sticky-buy{background:#fff;border-top:1px solid #eee}
.ww-sticky-buy .btn{background:#eb4a2e;color:#1e1e1e;border:2px solid #eb4a2e;border-radius:10px}

/* ============ REVIEWS (Loox-style) ============ */
.em5-pc-rating{display:flex;align-items:center;gap:6px;margin:6px 0 8px}
.em5-pc-stars{display:inline-flex;gap:2px}
.em5-pc-stars .em5-card-star{width:14px;height:14px;fill:#ddd}
.em5-pc-stars span.on .em5-card-star{fill:#fbb139}
.em5-pc-rating-note{color:#333;font-size:13px;font-weight:500}
.em5-reviews{border-top:1px solid #eee;padding-top:40px;margin-top:40px}
.em5-reviews-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.em5-reviews-head h2{color:#1e1e1e;font-size:28px;font-weight:600;margin:0 0 4px}
.em5-reviews-sub{color:#666;font-size:15px;margin:0}
.em5-reviews-sub strong{color:#1e1e1e;font-size:20px}
.em5-reviews-summary{display:flex;align-items:center;gap:10px}
.em5-rating-stars{display:inline-flex;gap:2px}
.em5-rating-stars svg{width:18px;height:18px;fill:#ddd}
.em5-rating-stars svg.on{fill:#fbb139}
.em5-reviews-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}
.em5-rating{background:#fff;border:1px solid #eee;border-radius:14px;padding:20px}
.em5-rating:hover{background:#f9f9f9}
.em5-rating-top{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.em5-rating-verified{display:inline-flex;align-items:center;gap:4px;color:#eb4a2e;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}
.em5-rating-verified svg{width:15px;height:15px}
.em5-rating-date{color:#999;font-size:13px;margin:0 0 10px}
.em5-rating-text{color:#333;font-size:15px;line-height:1.6;margin:0 0 12px;white-space:pre-wrap}
.em5-rating-photos{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.em5-rating-photos img{width:64px;height:64px;object-fit:cover;border-radius:10px;border:1px solid #eee}
.em5-rating-author{color:#666;font-size:13px;font-weight:500;margin:0}
.em5-reviews-more{margin-top:24px;display:inline-block}
.em5-reviews-empty{color:#666;font-size:15px}
@media(max-width:767px){
  .em5-reviews-grid{grid-template-columns:1fr}
  .em5-reviews-head h2{font-size:24px}
}

/* ============ BREADCRUMB / misc ============ */
.ww-nav-spacer{height:10px}

/* page fade + reveal keep working */
body.loaded .page-fade{opacity:1;transform:none}
.page-fade{opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease}
