/* EMPIRE V22 — CYAN FACTORY STORE HOMEPAGE
   Scope: only <main class="em22-home">. Does not alter navigation, category,
   product, cart, checkout, admin or shipping styles. Load AFTER v20 CSS.
   Palette: #1B252D / #344A58 / #00AEEF / #EEF3F7 / #FFFFFF.
*/
.em22-home{
  --em22-dark:#1B252D;
  --em22-slate:#344A58;
  --em22-cyan:#00AEEF;
  --em22-cyan-hover:#008CC7;
  --em22-light:#EEF3F7;
  --em22-white:#FFFFFF;
  --em22-ink:#15232D;
  --em22-muted:#5A6B77;
  --em15-orange:var(--em22-cyan);
  --em18-orange:var(--em22-cyan);
  --em19-orange:var(--em22-cyan);
  --em20-orange:var(--em22-cyan);
  background:var(--em22-dark)!important;
  color:#FFFFFF;
  font-family:inherit;
}
.em22-home *, .em22-home *::before, .em22-home *::after{box-sizing:border-box}
.em22-home a:focus-visible{outline:3px solid var(--em22-cyan);outline-offset:4px}
.em22-home img{max-width:100%}
.em22-home .em15-kicker{color:#65D2FB!important;letter-spacing:.12em!important}
.em22-home .em15-button-orange{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--em22-cyan)!important;border:1px solid var(--em22-cyan)!important;
  color:#071923!important;box-shadow:0 8px 26px rgba(0,174,239,.15)!important;
  font-weight:900!important;text-decoration:none!important;
}
.em22-home .em15-button-orange:hover{
  background:#46C7F7!important;color:#071923!important;border-color:#46C7F7!important;
  box-shadow:0 10px 29px rgba(0,174,239,.22)!important;
}
.em22-home .em15-button-outline{border-color:#8EA9B9!important;color:white!important;background:rgba(27,37,45,.16)!important;text-decoration:none!important}
.em22-home .em15-button-outline:hover{border-color:#65D2FB!important;color:white!important;background:#344A58!important}

/* Hero: original responsive structure, real uncut stacks on right. */
.em22-home .em22-hero{background:#15202A!important;border-bottom:0!important;min-height:530px}
.em22-home .em15-home-hero-photo{
  inset:0 0 0 40%!important;
  background-image:url('/store/image/catalog/empire/factory/v20/uncut_stacks.webp')!important;
  background-size:cover!important;background-position:center 48%!important;
  filter:saturate(.9) contrast(1.06) brightness(.88)!important;
}
.em22-home .em15-home-hero-shade{
  background:linear-gradient(90deg,#1B252D 0%,#1B252D 31%,rgba(27,37,45,.95) 43%,rgba(27,37,45,.72) 56%,rgba(27,37,45,.24) 76%,rgba(27,37,45,.08) 100%)!important;
}
.em22-home .em15-home-hero-copy{width:min(660px,100%)}
.em22-home .em15-home-hero-copy h1{
  font-size:clamp(37px,4.25vw,60px)!important;line-height:1.06!important;
  letter-spacing:-.028em!important;max-width:720px;color:#fff!important;
  text-wrap:balance;margin:0 0 20px!important;text-shadow:0 4px 28px rgba(0,0,0,.16);
}
.em22-home .em15-home-hero-copy>p:not(.em22-hero-footnote){font-size:16px!important;line-height:1.62!important;max-width:525px;color:#D5E2EA!important;margin-bottom:24px}
.em22-home .em22-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:11px}
.em22-home .em22-hero-manufacturing{display:inline-flex;align-items:center;gap:7px;padding:12px 7px;color:#79D8FA!important;font-size:11px;font-weight:900;letter-spacing:.055em;text-decoration:none!important;white-space:nowrap}
.em22-home .em22-hero-manufacturing:hover{color:#fff!important}
.em22-home .em15-home-hero-copy>.em22-hero-footnote{margin:19px 0 0!important;color:#A6BFCE!important;max-width:590px;font-size:9px!important;letter-spacing:.085em;font-weight:800;line-height:1.5}

/* Trust bar: cooler slate, not bright marketing banners. */
.em22-home .em22-trust{background:#243541!important;border-color:#3C505E!important}
.em22-home .em22-trust .em15-home-trust-grid>div{background:linear-gradient(180deg,#263844,#21313D)!important;border-color:#40505B!important}
.em22-home .em22-trust .em15-home-trust-grid i{color:#54C9F6!important;text-shadow:none!important}
.em22-home .em22-trust .em15-home-trust-grid b{font-size:10px!important;letter-spacing:.045em;color:#F7FBFF!important}
.em22-home .em22-trust .em15-home-trust-grid small{font-size:10px!important;color:#BCCBD4!important;line-height:1.38}

/* Shared section headers: practical text sizes and comfortable spacing. */
.em22-home .em22-section-head{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:24px}
.em22-home .em22-section-head>div{min-width:0}
.em22-home .em22-section-head p{max-width:420px;margin:0;font-size:14px;line-height:1.65;color:#627482}
.em22-home .em22-eyebrow{display:block;margin-bottom:9px;color:#008CC7;font-size:11px;letter-spacing:.12em;font-weight:900}
.em22-home .em22-section-head h2,.em22-home .em22-paths-head h2{
  margin:0!important;font-size:clamp(29px,3.2vw,43px)!important;line-height:1.09!important;
  letter-spacing:-.025em!important;font-weight:900!important;color:#1B252D!important;
}

/* Four actual-photo shopping choices on cool light background. */
.em22-home .em22-shop{padding:64px 0 62px;background:#EEF3F7;color:#1B252D}
.em22-home .em22-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.em22-home .em22-category-card{display:flex;flex-direction:column;min-width:0;background:#fff;color:#1B252D!important;border:1px solid #D6E1E8;text-decoration:none!important;box-shadow:0 12px 27px rgba(17,39,54,.065);overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}
.em22-home .em22-category-card:hover{transform:translateY(-3px);border-color:#00AEEF;box-shadow:0 18px 33px rgba(17,39,54,.13)}
.em22-home .em22-category-media{display:block;width:100%;height:210px;background:#DDE7ED;overflow:hidden}
.em22-home .em22-category-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s;filter:saturate(.94) contrast(1.035)}
.em22-home .em22-category-card:hover img{transform:scale(1.025)}
.em22-home .em22-category-copy{display:flex;flex:1;flex-direction:column;min-height:150px;padding:20px 18px 21px}
.em22-home .em22-category-copy small{display:block;font-size:9px;letter-spacing:.07em;color:#607482;font-weight:900;line-height:1.45}
.em22-home .em22-category-copy strong{display:block;margin:9px 0 15px;font-size:22px;font-weight:900;letter-spacing:-.02em;line-height:1.12;color:#1B252D}
.em22-home .em22-category-copy em{display:block;margin-top:auto;font-size:10px;line-height:1.4;letter-spacing:.025em;font-style:normal;color:#0079AE;font-weight:900}

/* Featured products: white cards / verified prices where available. */
.em22-home .em22-featured{padding:59px 0 56px;background:#fff;color:#1B252D;border-bottom:1px solid #DDE6EB}
.em22-home .em22-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.em22-home .em22-product-card{display:flex;min-width:0;flex-direction:column;border:1px solid #DCE5EB;background:#F9FBFD;color:#1B252D!important;text-decoration:none!important;overflow:hidden;transition:border-color .18s,transform .18s,box-shadow .18s}
.em22-home .em22-product-card:hover{border-color:#00AEEF;transform:translateY(-3px);box-shadow:0 16px 36px rgba(15,53,77,.11)}
.em22-home .em22-product-media{display:block;height:194px;overflow:hidden;background:#E6ECF0}
.em22-home .em22-product-media img{width:100%;height:100%;display:block;object-fit:cover;filter:saturate(.92)}
.em22-home .em22-product-content{display:flex;flex:1;flex-direction:column;gap:9px;padding:19px 17px 18px}
.em22-home .em22-product-content small{font-size:9px;letter-spacing:.06em;line-height:1.4;font-weight:800;color:#72818A}
.em22-home .em22-product-content strong{font-size:18px;font-weight:900;line-height:1.25;color:#142630;letter-spacing:-.008em}
.em22-home .em22-product-bottom{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:auto;padding-top:17px;border-top:1px solid #E1E9EE}
.em22-home .em22-product-bottom b{font-size:20px;font-weight:900;color:#162B37;white-space:nowrap;line-height:1.2}
.em22-home .em22-product-bottom em{font-size:9px;font-weight:900;font-style:normal;letter-spacing:.02em;color:#0079AE;text-align:right;line-height:1.4}
.em22-home .em22-shop-more{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.em22-home .em22-shop-more a{display:inline-flex;align-items:center;gap:6px;padding:11px 14px;background:#EDF8FD;color:#006E9F!important;border:1px solid #CAE8F4;font-size:11px;font-weight:900;text-decoration:none!important;transition:background .18s}
.em22-home .em22-shop-more a:hover{background:#CDEFFD}
.em22-home .em22-price-note{margin:15px 0 0;color:#758691;font-size:10px;line-height:1.5}

/* Short choice-of-customer section in charcoal. */
.em22-home .em22-paths{padding:54px 0 58px;background:#1B252D;color:#fff}
.em22-home .em22-paths-head{margin-bottom:21px}
.em22-home .em22-paths-head .em22-eyebrow{color:#61CFFA}
.em22-home .em22-paths-head h2{color:#fff!important}
.em22-home .em22-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.em22-home .em22-path-grid a{display:flex;flex-direction:column;gap:11px;min-height:193px;padding:25px 23px;border:1px solid #45606F;background:linear-gradient(135deg,#344A58,#243641);color:#fff!important;text-decoration:none!important;transition:transform .18s,border-color .18s}
.em22-home .em22-path-grid a:hover{transform:translateY(-2px);border-color:#00AEEF}
.em22-home .em22-path-grid small{font-size:10px;letter-spacing:.07em;font-weight:900;color:#72D6FA}
.em22-home .em22-path-grid strong{font-size:18px;line-height:1.25;color:#FFFFFF;font-weight:900;letter-spacing:-.005em}
.em22-home .em22-path-grid span{font-size:12px;line-height:1.6;color:#D5E0E7}
.em22-home .em22-path-grid em{margin-top:auto;font-size:10px;font-weight:900;font-style:normal;color:#80DEFF}

/* Keep all pre-existing Empire factory photographs, upgrade dark sections to slate. */
.em22-home .em19-built,.em22-home .em19-process,.em22-home .em19-production,
.em22-home .em19-factory-proof,.em22-home .em20-printed-work{
  background:#1B252D!important;border-color:#38505E!important;
}
.em22-home .em19-built{padding:59px 0 66px!important}
.em22-home .em19-built-grid,.em22-home .em19-production-grid,.em22-home .em19-factory-proof-grid{
  border-color:#405764!important;background:#243540!important;
}
.em22-home .em19-built-copy,.em22-home .em19-production-copy,.em22-home .em19-factory-proof-copy{
  background:linear-gradient(145deg,#2D4351,#1D2F3A)!important;
}
.em22-home .em19-built-copy h2,.em22-home .em19-production-copy h2,.em22-home .em19-factory-proof-copy h2,
.em22-home .em19-process-head h2,.em22-home .em20-printed-head h2{
  line-height:1.08!important;letter-spacing:-.015em!important;color:#FFF!important;
}
.em22-home .em19-built-copy h2{font-size:clamp(29px,3.1vw,42px)!important}
.em22-home .em19-production-copy h2,.em22-home .em20-printed-head h2{font-size:clamp(28px,3.1vw,40px)!important}
.em22-home .em19-factory-proof-copy h2{font-size:clamp(27px,2.75vw,37px)!important}
.em22-home .em19-built-copy p,.em22-home .em19-production-copy>p,.em22-home .em19-factory-proof-copy>p,
.em22-home .em19-process-head p,.em22-home .em20-printed-head>p{
  color:#D5E0E7!important;font-size:13px!important;line-height:1.72!important;
}
.em22-home .em19-proof-grid>div{border-color:#48606E!important}
.em22-home .em19-proof-grid b,.em22-home .em19-paths b{color:#F6FBFF!important;font-size:11px!important}
.em22-home .em19-proof-grid span,.em22-home .em19-paths span{color:#CCD9E1!important;font-size:11px!important;line-height:1.5!important}
.em22-home .em19-process-card,.em22-home .em19-paths>a{background:#263945!important;border-color:#425968!important}
.em22-home .em19-process-copy{border-color:#425968!important}
.em22-home .em19-process-copy>span,.em22-home .em19-paths em,.em22-home .em19-text-link{color:#62CFFA!important}
.em22-home .em19-process-copy b{color:#FFF!important;font-size:11px!important}
.em22-home .em19-process-copy small{color:#C5D4DE!important;font-size:10px!important}
.em22-home .em19-paths>a:hover{background:#344A58!important;border-color:#00AEEF!important}
.em22-home .em19-factory-stats{border-color:#46606F!important}
.em22-home .em19-factory-stats span{border-color:#46606F!important}
.em22-home .em19-factory-stats small{color:#B4C7D3!important}
.em22-home .em20-printed-grid figure{border-color:#425968!important;background:#243540!important}
.em22-home .em20-printed-grid figcaption b{font-size:11px!important}
.em22-home .em20-printed-grid figcaption span{font-size:10px!important;color:#D1DAE0!important}
.em22-home .em20-customer-note{color:#B2C5D0!important;font-size:10px!important}

@media(max-width:1199px){
  .em22-home .em22-category-grid,.em22-home .em22-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .em22-home .em22-category-media{height:250px}
  .em22-home .em22-product-media{height:245px}
}
@media(max-width:991px){
  .em22-home .em22-section-head{align-items:flex-start;flex-direction:column;gap:12px}
  .em22-home .em22-section-head p{max-width:680px}
  .em22-home .em22-hero{height:610px!important}
  .em22-home .em15-home-hero-photo{inset:42% 0 0 0!important;background-position:center 48%!important}
  .em22-home .em15-home-hero-shade{background:linear-gradient(180deg,#1B252D 0%,#1B252D 31%,rgba(27,37,45,.97) 40%,rgba(27,37,45,.62) 60%,rgba(27,37,45,.04) 100%)!important}
  .em22-home .em15-home-hero-copy{margin-top:45px!important}
}
@media(max-width:767px){
  .em22-home .em22-shop,.em22-home .em22-featured{padding:42px 0}
  .em22-home .em22-paths{padding:43px 0}
  .em22-home .em22-path-grid{grid-template-columns:1fr}
  .em22-home .em22-path-grid a{min-height:0;padding:22px}
  .em22-home .em22-hero{height:620px!important}
  .em22-home .em15-home-hero-copy h1{font-size:39px!important}
  .em22-home .em15-home-hero-copy>p:not(.em22-hero-footnote){font-size:14px!important}
}
@media(max-width:540px){
  .em22-home .em22-category-grid,.em22-home .em22-product-grid{grid-template-columns:1fr}
  .em22-home .em22-category-media{height:236px}
  .em22-home .em22-product-media{height:230px}
  .em22-home .em22-hero{height:670px!important}
  .em22-home .em15-home-hero-copy h1{font-size:34px!important}
  .em22-home .em22-hero-actions{align-items:stretch;gap:9px}
  .em22-home .em22-hero-actions .em15-button{flex:1 1 100%}
  .em22-home .em22-hero-manufacturing{justify-content:center;width:100%}
  .em22-home .em22-hero-footnote{font-size:8px!important}
  .em22-home .em15-home-hero-copy{margin-top:29px!important}
  .em22-home .em15-home-hero-photo{inset:51% 0 0 0!important}
  .em22-home .em15-home-hero-shade{background:linear-gradient(180deg,#1B252D 0%,#1B252D 39%,rgba(27,37,45,.96) 50%,rgba(27,37,45,.35) 76%,rgba(27,37,45,.06) 100%)!important}
}
@media(prefers-reduced-motion:reduce){.em22-home a,.em22-home img{transition:none!important}}

/* EMPIRE V22 — Search results readability fix */
/* Only affects OpenCart product search pages */

body.product-search .center-column {
    color: #1B252D !important;
}

body.product-search .center-column h1,
body.product-search .center-column h2,
body.product-search .center-column h3,
body.product-search .center-column h4,
body.product-search .center-column legend,
body.product-search .center-column label,
body.product-search .center-column p,
body.product-search .center-column .description,
body.product-search .center-column .product-filter,
body.product-search .center-column .product-filter span,
body.product-search .center-column .product-list .price,
body.product-search .center-column .product-grid .price {
    color: #1B252D !important;
}

body.product-search .center-column .price-new {
    color: #008CC7 !important;
}

body.product-search .center-column .price-old {
    color: #687B88 !important;
}

body.product-search .center-column input,
body.product-search .center-column select {
    color: #1B252D !important;
}
