/*
Theme Name: EmpireWorks Eyewear Portal
Theme URI: https://empireworkseyewear.com
Author: CHAOSRXOptics
Description: Private employer safety-eyewear portal for WooCommerce.
Version: 0.4.32
Requires at least: 6.5
Text Domain: empireworks-portal
*/

:root {
	--ew-ink: #202328;
	--ew-ink-soft: #565c64;
	--ew-yellow: #f3bd3e;
	--ew-yellow-deep: #dca521;
	--ew-red: #df2f35;
	--ew-paper: #f7f7f4;
	--ew-wash: #ededE8;
	--ew-white: #ffffff;
	--ew-error: #9b2c24;
	--ew-rule: rgba(32, 35, 40, .18);
	--ew-max: 1240px;
	--ew-radius: 10px;
	--ew-shadow: 0 18px 48px rgba(26, 29, 33, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ew-paper); color: var(--ew-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.58; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 100; top: 12px; left: 12px; background: var(--ew-white); padding: 10px 14px; }
.ew-wrap { width: min(calc(100% - 48px), var(--ew-max)); margin-inline: auto; }
.ew-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { text-wrap: balance; }

.ew-site-header { position: absolute; z-index: 20; inset: 0 0 auto; background: rgba(32,35,40,.97); box-shadow: 0 1px 0 rgba(255,255,255,.13); color: var(--ew-white); }
.ew-header-inner { display: grid; grid-template-columns: minmax(170px,1fr) auto auto; align-items: center; gap: 22px; min-height: 70px; }
.ew-site-header .ew-logo { display: block; width: auto; height: 50px; max-width: 220px; object-fit: contain; object-position: left center; }
.ew-fulfilled { max-width: 270px; color: rgba(255,255,255,.74); font-size: .76rem; line-height: 1.25; text-align: right; }
.ew-fulfilled strong { display: block; color: var(--ew-white); letter-spacing: .03em; }
.ew-language { display: inline-flex; padding: 3px; background: #111317; border: 1px solid rgba(255,255,255,.28); border-radius: var(--ew-radius); }
.ew-language a { min-width: 40px; padding: 6px 9px; border-radius: 7px; text-align: center; text-decoration: none; font-size: .75rem; font-weight: 800; }
.ew-language a[aria-current="true"] { background: var(--ew-yellow); color: var(--ew-ink); }

.ew-hero { position: relative; min-height: 680px; display: grid; align-items: end; color: var(--ew-white); background: #26282c url("https://lirp.cdn-website.com/f2eef22e/dms3rep/multi/opt/image-1920w.png") center 46% / cover no-repeat; overflow: hidden; }
.ew-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,18,19,.9) 0%, rgba(17,18,19,.66) 52%, rgba(17,18,19,.28) 100%); }
.ew-hero-content { position: relative; z-index: 1; padding: 138px 0 72px; }
.ew-hero .ew-kicker { color: rgba(255,255,255,.76); }
.ew-hero h1 { max-width: 860px; margin: 14px 0 20px; font-size: clamp(3.4rem,7.2vw,6.7rem); font-weight: 650; letter-spacing: -.06em; line-height: .94; }
.ew-hero h1 em { color: var(--ew-yellow); font-family: inherit; font-style: italic; font-weight: 680; line-height: 1.1; padding-bottom: .08em; }
html[lang="es"] .ew-hero h1 { max-width: 760px; font-size: clamp(3rem,6.5vw,5.8rem); }
.ew-hero-copy { max-width: 590px; margin: 0; color: rgba(255,255,255,.84); font-size: clamp(1.05rem,1.8vw,1.25rem); }
.ew-primary-link, .button, button, input[type="submit"] { display: inline-flex; justify-content: center; align-items: center; gap: 12px; border: 0; border-radius: var(--ew-radius); background: var(--ew-yellow); color: var(--ew-ink); padding: 14px 20px; font: 800 .79rem/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .16s ease, background-color .16s ease; }
.ew-primary-link { margin-top: 26px; }
.ew-primary-link::after { content: "\2192"; font-size: 1.1rem; }
.ew-primary-link:hover, .button:hover, button:hover, input[type="submit"]:hover { background: var(--ew-yellow-deep); transform: translateY(-1px); }
.ew-primary-link:active, .button:active, button:active, input[type="submit"]:active { transform: translateY(1px); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(243,189,62,.72); outline-offset: 3px; }

.ew-stats { background: var(--ew-ink); color: var(--ew-white); }
.ew-stat-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; }
.ew-stat { min-height: 104px; padding: 24px; border-right: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.69); font-size: .86rem; }
.ew-stat:first-child { padding-left: 0; }
.ew-stat:last-child { border-right: 0; }
.ew-stat b { display: block; margin-bottom: 5px; color: var(--ew-yellow); font-size: 1.42rem; line-height: 1.15; font-variant-numeric: tabular-nums; }

.ew-section { padding: 78px 0 88px; }
.ew-section + .ew-section { border-top: 1px solid var(--ew-rule); }
.ew-section-head { max-width: 820px; margin-bottom: 36px; }
.ew-section-head h2 { margin: 0; font-size: clamp(2.35rem,4.6vw,4.4rem); letter-spacing: -.05em; line-height: 1; }
.ew-section-head p { max-width: 62ch; margin: 18px 0 0; color: var(--ew-ink-soft); }

.ew-catalog-section { padding-top: 86px; }
.ew-catalog-section > .ew-wrap { width: min(calc(100% - 48px),1580px); }
.ew-catalog-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 48px; align-items: end; margin-bottom: 52px; }
.ew-catalog-kicker { margin: 0 0 16px; color: var(--ew-red); font-size: .75rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.ew-catalog-head h2 { margin: 0; font-size: clamp(3rem,5.2vw,5.5rem); letter-spacing: -.055em; line-height: .82; text-transform: uppercase; }
.ew-catalog-head h2 span, .ew-catalog-head h2 em { display: block; }
.ew-catalog-head h2 em { margin-top: 8px; font-family: Georgia,"Times New Roman",serif; font-size: .9em; font-weight: 400; letter-spacing: -.045em; line-height: .8; text-transform: lowercase; }
.ew-catalog-tabs { display: inline-flex; padding: 4px; border: 1px solid var(--ew-rule); border-radius: var(--ew-radius); background: var(--ew-white); }
.ew-catalog-tabs a { min-width: 76px; padding: 11px 13px; border-radius: 6px; font-size: .76rem; font-weight: 800; text-align: center; text-decoration: none; }
.ew-catalog-tabs a.is-active { background: var(--ew-ink); color: var(--ew-white); }
.ew-catalog-tabs a:hover { color: var(--ew-red); }
.ew-catalog-tabs a.is-active:hover { color: var(--ew-white); }

.ew-catalog-filters { display: grid; grid-template-columns: minmax(220px,1.4fr) repeat(3,minmax(140px,1fr)) minmax(210px,1.25fr); gap: 14px; align-items: end; margin: 0 0 24px; padding: 18px; border: 1px solid var(--ew-rule); border-radius: var(--ew-radius); background: var(--ew-white); }
.ew-catalog-filters label { min-width: 0; }
.ew-catalog-filters label span { display: block; margin-bottom: 5px; font-size: .8rem; font-weight: 750; }
.ew-catalog-filters input, .ew-catalog-filters select { width: 100%; min-width: 0; min-height: 46px; padding: 9px 36px 9px 11px; border: 1px solid #858b93; border-radius: var(--ew-radius); background: var(--ew-white); color: var(--ew-ink); font: inherit; }
.ew-filter-actions { grid-column: 1/-1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; align-items: stretch; }
.ew-filter-actions button, .ew-filter-reset { min-height: 46px; padding-inline: 15px; }
.ew-filter-reset { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ew-ink); border-radius: var(--ew-radius); background: var(--ew-white); color: var(--ew-ink); font-size: .76rem; font-weight: 800; letter-spacing: .05em; line-height: 1; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.ew-filter-reset:hover { background: var(--ew-ink); color: var(--ew-white); }
.ew-empty-reset { margin-top: 20px; }
.ew-filter-summary { min-height: 1.5em; margin: 0 0 18px; color: var(--ew-ink-soft); font-size: .9rem; }
.ew-product-grid ul.products, .woocommerce-shop ul.products, .tax-product_cat ul.products { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 38px 22px; margin: 0; padding: 0; }
.ew-product-grid ul.products::before, .ew-product-grid ul.products::after, .woocommerce-shop ul.products::before, .woocommerce-shop ul.products::after, .tax-product_cat ul.products::before, .tax-product_cat ul.products::after { display: none; }
.ew-product-grid ul.products li.product, .woocommerce-shop ul.products li.product, .tax-product_cat ul.products li.product { float: none; width: auto !important; margin: 0 !important; grid-column: span 3; display: flex; flex-direction: column; min-width: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.ew-product-grid ul.products li.product a.woocommerce-LoopProduct-link, .woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link, .tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex: 1; flex-direction: column; text-decoration: none; }
.ew-product-image { position: relative; display: grid; width: 100%; aspect-ratio: 1/1; place-items: center; margin: 0 0 20px; padding: clamp(22px,2.5vw,42px); border: 1px solid var(--ew-rule); border-radius: 4px; background: var(--ew-white); overflow: hidden; }
.ew-product-image img { display: block; width: 100% !important; height: 100% !important; max-height: none; margin: 0 !important; padding: 0 !important; object-fit: contain; background: transparent !important; transition: transform .22s ease; }
.ew-product-grid ul.products li.product:hover .ew-product-image img, .woocommerce-shop ul.products li.product:hover .ew-product-image img, .tax-product_cat ul.products li.product:hover .ew-product-image img { transform: scale(1.025); }
body.term-stoggles-approved-frames .ew-product-image img { filter: contrast(1.12) saturate(1.06); transform: scale(1.28); }
body.term-stoggles-approved-frames ul.products li.product:hover .ew-product-image img { transform: scale(1.32); }
.ew-product-badge { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 8px 10px; border-radius: 3px; background: var(--ew-red); color: var(--ew-white); font-size: .68rem; font-weight: 900; letter-spacing: .08em; line-height: 1; }
.ew-card-brand { display: block; margin-bottom: 7px; color: var(--ew-red); font-size: .72rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.ew-product-grid .woocommerce-loop-product__title, .woocommerce-shop .woocommerce-loop-product__title, .tax-product_cat .woocommerce-loop-product__title { margin: 0; padding: 0; font-size: clamp(1.02rem,1.3vw,1.2rem); font-weight: 720; letter-spacing: -.025em; line-height: 1.25; text-wrap: pretty; }
.ew-card-details { display: block; min-height: 2.7em; margin-top: 8px; color: #70747d; font-size: .8rem; line-height: 1.38; }
.ew-card-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 14px; color: var(--ew-ink); font-size: .78rem; font-weight: 800; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; }
.ew-card-link span { color: var(--ew-red); font-size: 1rem; transition: transform .16s ease; }
.ew-card-link:hover span { transform: translateX(3px); }
.ew-product-grid .button, .woocommerce-shop ul.products .button, .tax-product_cat ul.products .button { display: none !important; }
.woocommerce ul.products li.product .price, body.single-product.woocommerce div.product .price { display: none; }
.ew-catalog-footer { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--ew-rule); }
.ew-catalog-footer p { max-width: 62ch; margin: 0; color: var(--ew-ink-soft); }
.ew-catalog-footer a { display: inline-flex; gap: 10px; align-items: center; flex: 0 0 auto; font-size: .78rem; font-weight: 850; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.ew-catalog-footer a span { color: var(--ew-red); font-size: 1rem; }
.ew-catalog-state { grid-column: 1/-1; padding: 36px; border: 1px solid var(--ew-rule); border-radius: var(--ew-radius); background: var(--ew-white); }
.ew-catalog-state h3 { margin: 0 0 8px; font-size: 1.7rem; }
.ew-catalog-state p { max-width: 62ch; margin: 0; color: var(--ew-ink-soft); }
.ew-filter-error { border-color: rgba(155,44,36,.5); }
.ew-filter-error h3 { color: var(--ew-error); }
.ew-product-skeletons { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 26px; }
.ew-product-skeletons span { min-height: 210px; border-radius: var(--ew-radius); background: linear-gradient(100deg,#e8e8e4 30%,#f3f3ef 50%,#e8e8e4 70%); background-size: 220% 100%; }

.ew-how { background: var(--ew-wash); }
.ew-steps { counter-reset: steps; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ew-rule); }
.ew-step { counter-increment: steps; display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 32px 30px 34px 0; border-bottom: 1px solid var(--ew-rule); }
.ew-step:nth-child(odd) { border-right: 1px solid var(--ew-rule); }
.ew-step:nth-child(even) { padding-left: 30px; }
.ew-step::before { content: "0" counter(steps); color: #a67200; font-size: 2rem; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.ew-step h3 { margin: 0 0 7px; font-size: 1.28rem; }
.ew-step p { max-width: 42ch; margin: 0; color: var(--ew-ink-soft); }

.ew-coverage { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.ew-coverage h2 { max-width: 740px; margin: 0; font-size: clamp(2.7rem,5vw,5.2rem); letter-spacing: -.06em; line-height: .94; }
.ew-coverage h2 span { color: #986900; }
.ew-coverage p { margin: 0; color: var(--ew-ink-soft); }
.ew-shipping { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); gap: 64px; align-items: start; }
.ew-shipping h2 { margin: 0; font-size: clamp(2.5rem,4.6vw,4.6rem); letter-spacing: -.05em; line-height: .98; }
.ew-shipping p { max-width: 58ch; margin: 8px 0 0; color: var(--ew-ink-soft); }

.ew-site-footer { padding: 48px 0 58px; background: var(--ew-ink); color: rgba(255,255,255,.72); }
.ew-footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.ew-site-footer strong { color: var(--ew-white); }
.ew-site-footer a { color: var(--ew-yellow); }
.ew-footer-support { margin-top: 22px; }

.woocommerce .woocommerce-breadcrumb, .woocommerce-breadcrumb { padding-top: 24px; }
.woocommerce main, .woocommerce-page main { width: min(calc(100% - 48px),var(--ew-max)); margin-inline: auto; padding-bottom: 80px; }
body.woocommerce-shop.woocommerce main, body.post-type-archive-product.woocommerce main, body.tax-product_cat.woocommerce main { padding-top: 62px; }
.woocommerce .woocommerce-ordering select { min-height: 42px; padding: 8px 36px 8px 11px; border: 1px solid #858b93; border-radius: var(--ew-radius); background: var(--ew-white); color: var(--ew-ink); font: inherit; }
body.single-product .ew-site-header, body.woocommerce-shop .ew-site-header, body.post-type-archive-product .ew-site-header, body.tax-product_cat .ew-site-header { position: relative; }
body.single-product.woocommerce main { padding-top: clamp(30px,4vw,54px); }
body.single-product.woocommerce div.product { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); gap: 54px 64px; align-items: start; }
body.single-product.woocommerce div.product div.images, body.single-product.woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
body.single-product.woocommerce div.product div.images { display: grid; min-height: 520px; padding: clamp(48px,5vw,72px); place-items: center; border: 1px solid var(--ew-rule); border-radius: 4px; background: var(--ew-white); }
body.single-product.woocommerce div.product div.images.ew-single-product-image { grid-template-rows: minmax(0,1fr) auto; gap: 22px; }
body.single-product.woocommerce div.product div.images img { width: 100%; max-height: 420px; aspect-ratio: 4/3; object-fit: contain; }
body.ew-stoggles-product.single-product.woocommerce div.product div.images img { filter: contrast(1.12) saturate(1.06); transform: scale(1.38); }
body.single-product.woocommerce div.product .summary { min-width: 0; padding-top: 0; }
body.single-product.woocommerce div.product .product_title { max-width: 14ch; margin: 0 0 18px; font-size: clamp(2.45rem,3.6vw,3.75rem); letter-spacing: -.045em; line-height: 1.02; overflow-wrap: anywhere; }
body.single-product.woocommerce div.product .woocommerce-product-details__short-description { max-width: 54ch; color: var(--ew-ink-soft); }
body.single-product.woocommerce div.product .cart { margin-top: 24px; }
body.single-product.woocommerce div.product .single_add_to_cart_button { min-height: 50px; }
body.single-product.woocommerce div.product .related, .ew-product-description { grid-column: 1/-1; }
body.single-product.woocommerce div.product .product_meta { display: none; }
.ew-vto-open { width: 100%; max-width: 290px; background: var(--ew-ink); color: var(--ew-white); }
.ew-vto-open:hover { background: #111317; }
.ew-vto-modal[hidden] { display: none; }
.ew-vto-modal { position: fixed; z-index: 99999; inset: 0; display: grid; place-items: center; padding: 24px; }
.ew-vto-backdrop { position: absolute; inset: 0; background: rgba(10,12,14,.76); backdrop-filter: blur(5px); }
.ew-vto-dialog { position: relative; width: min(100%,980px); max-height: calc(100vh - 48px); overflow: auto; border-radius: var(--ew-radius); background: var(--ew-paper); box-shadow: 0 30px 90px rgba(0,0,0,.32); }
.ew-vto-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 26px 20px; border-bottom: 1px solid var(--ew-rule); }
.ew-vto-head .ew-kicker { color: var(--ew-red); }
.ew-vto-head h2 { margin: 3px 0 0; font-size: clamp(2rem,4vw,3.2rem); letter-spacing: -.045em; line-height: 1; }
.ew-vto-close { width: 44px; height: 44px; min-width: 44px; padding: 0; border: 1px solid var(--ew-rule); border-radius: 50%; background: var(--ew-white); font-size: 1.8rem; font-weight: 400; letter-spacing: 0; line-height: 1; }
.ew-vto-stage { position: relative; aspect-ratio: 16/9; background: #17191c; overflow: hidden; }
.ew-vto-stage video, .ew-vto-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ew-vto-stage video { transform: scaleX(-1); }
.ew-vto-stage canvas { z-index: 2; }
.ew-vto-placeholder { position: absolute; z-index: 1; inset: 0; display: grid; align-content: center; justify-items: center; gap: 7px; padding: 24px; color: rgba(255,255,255,.72); text-align: center; }
.ew-vto-placeholder strong { color: var(--ew-white); font-size: 1.2rem; }
.ew-vto-stage.is-running .ew-vto-placeholder { display: none; }
.ew-vto-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 28px; padding: 22px 26px 26px; }
.ew-vto-controls label { font-size: .86rem; font-weight: 750; }
.ew-vto-controls input { display: block; width: 100%; min-height: 46px; margin-top: 6px; padding: 8px 11px; border: 1px solid #858b93; border-radius: var(--ew-radius); background: var(--ew-white); color: var(--ew-ink); font: inherit; }
.ew-vto-controls input[type="range"] { min-height: 30px; padding: 0; border: 0; accent-color: var(--ew-red); }
.ew-vto-label-row { display: flex; justify-content: space-between; gap: 18px; }
.ew-vto-label-row span:last-child { color: var(--ew-ink-soft); font-variant-numeric: tabular-nums; }
.ew-vto-actions { display: flex; align-items: end; gap: 10px; }
.ew-vto-actions [hidden] { display: none; }
.ew-vto-secondary { border: 1px solid var(--ew-ink); background: var(--ew-white); }
.ew-vto-status { min-height: 1.5em; margin: 0; color: var(--ew-ink-soft); font-weight: 650; }
.ew-vto-status[data-state="error"] { color: var(--ew-error); }
.ew-vto-status[data-state="measured"] { color: #285a20; }
.ew-vto-fit-result { display: grid; gap: 2px; margin: 0; padding: 12px 14px; border-left: 4px solid var(--ew-red); background: var(--ew-white); font-size: .86rem; }
.ew-vto-fit-result[hidden] { display: none; }
.ew-vto-fit-result span { color: var(--ew-ink-soft); }
.ew-vto-privacy, .ew-vto-note { grid-column: 1/-1; margin: 0; color: var(--ew-ink-soft); font-size: .84rem; }
.ew-vto-privacy { padding-top: 14px; border-top: 1px solid var(--ew-rule); }
.ew-vto-note { margin-top: -12px; }
body.ew-vto-opened { overflow: hidden; }
.ew-product-description { max-width: 780px; padding-top: 34px; border-top: 1px solid var(--ew-rule); }
.ew-product-description h2 { margin: 0 0 14px; font-size: clamp(1.8rem,3vw,2.6rem); letter-spacing: -.035em; }
.ew-product-description p:first-of-type { margin-top: 0; }
.cpo-product-program-details { margin: 24px 0; padding: 22px; border: 1px solid var(--ew-rule); border-radius: var(--ew-radius); background: var(--ew-white); }
.cpo-product-program-details h2 { margin: 0 0 14px; font-size: 1.15rem; letter-spacing: -.01em; }
.cpo-product-program-details dl { margin: 0; }
.cpo-product-program-details dl div { display: grid; grid-template-columns: minmax(110px,.38fr) minmax(0,1fr); gap: 16px; padding: 8px 0; border-top: 1px solid var(--ew-rule); }
.cpo-product-program-details dt { color: var(--ew-ink-soft); font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.cpo-product-program-details dd { margin: 0; font-weight: 650; }
.cpo-product-program-details p { margin: 14px 0 0; color: var(--ew-ink-soft); font-size: .9rem; }
.woocommerce-checkout .mwc-external-checkout-buttons,
.woocommerce-checkout .mwc-external-checkout-buttons-divider { display: none !important; }
.woocommerce-checkout .woocommerce-billing-fields > h3::after { content: " / Home delivery"; color: var(--ew-ink-soft); font-size: .58em; font-weight: 500; }
html[lang="es"] .woocommerce-checkout .woocommerce-billing-fields > h3::after { content: " / Entrega a domicilio"; }
.ew-checkout-help { margin: -4px 0 24px; color: var(--ew-ink-soft); }
.ew-checkout-help strong { color: var(--ew-ink); }
.ew-checkout-help a { font-weight: 700; }
.woocommerce form .form-row label { display: block; font-weight: 700; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 48px; padding: 10px 12px; border: 1px solid #858b93; border-radius: var(--ew-radius); background: var(--ew-white); color: var(--ew-ink); }
.woocommerce form .form-row .description { display: block; margin-top: 5px; color: var(--ew-ink-soft); font-size: .85rem; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { border-radius: var(--ew-radius); background: var(--ew-white); }
.woocommerce-error { border-top-color: var(--ew-error); }
.cpo-rx-intake { margin: 26px 0; padding: 24px; border: 1px solid var(--ew-rule); border-radius: var(--ew-radius); background: var(--ew-white); }
.cpo-rx-intake h3 { margin-top: 0; }
.cpo-rx-file-field input[type="file"] { width: 100%; padding: 12px; border: 1px dashed #727780; border-radius: var(--ew-radius); background: var(--ew-paper); }
.cpo-sms-consent { margin-top: 24px !important; padding: 20px; border: 1px solid var(--ew-rule); border-radius: var(--ew-radius); background: var(--ew-white); }

@media (prefers-reduced-motion: no-preference) {
	.ew-product-skeletons span { animation: ew-skeleton 1.5s ease-in-out infinite; }
}
@keyframes ew-skeleton { to { background-position: -120% 0; } }

@media (max-width: 900px) {
	.ew-header-inner { grid-template-columns: 1fr auto; }
	.ew-fulfilled { display: none; }
	.ew-stat-grid { grid-template-columns: 1fr 1fr; }
	.ew-stat:nth-child(2) { border-right: 0; }
	.ew-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
	.ew-catalog-filters { grid-template-columns: 1fr 1fr; }
	.ew-catalog-head { grid-template-columns: 1fr; align-items: start; }
	.ew-catalog-tabs { justify-self: start; }
	.ew-product-grid ul.products li.product, .woocommerce-shop ul.products li.product, .tax-product_cat ul.products li.product { grid-column: span 6; }
	.ew-coverage, .ew-shipping { grid-template-columns: 1fr; gap: 26px; }
	body.single-product.woocommerce div.product { grid-template-columns: 1fr; gap: 34px; }
}

@media (min-width: 901px) and (max-width: 1180px) {
	.ew-catalog-filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
	.ew-filter-actions { align-self: end; }
}

@media (max-width: 620px) {
	.ew-wrap { width: min(calc(100% - 32px),var(--ew-max)); }
	.ew-header-inner { min-height: 62px; gap: 12px; }
	.ew-site-header .ew-logo { height: 42px; max-width: 58vw; }
	.ew-language a { min-width: 36px; padding: 5px 7px; }
	.ew-hero { min-height: 620px; background-position: 60% center; }
	.ew-hero-content { padding: 112px 0 52px; }
	.ew-hero h1 { max-width: 9ch; font-size: clamp(3.1rem,15.5vw,4.7rem); line-height: .96; }
	html[lang="es"] .ew-hero h1 { max-width: 10.5ch; font-size: clamp(2.7rem,13vw,4rem); line-height: 1; }
	.ew-hero-copy { max-width: 27ch; }
	.ew-primary-link { width: 100%; max-width: 320px; }
	.ew-stat { min-height: 100px; padding: 20px 14px; }
	.ew-stat:first-child { padding-left: 14px; }
	.ew-section { padding: 60px 0 68px; }
	.ew-section-head h2 { font-size: clamp(2.25rem,12vw,3.35rem); }
	.ew-catalog-section > .ew-wrap { width: min(calc(100% - 32px),1580px); }
	.ew-catalog-head { gap: 30px; margin-bottom: 36px; }
	.ew-catalog-head h2 { font-size: clamp(3rem,14vw,4.5rem); }
	.ew-catalog-tabs { max-width: 100%; overflow-x: auto; }
	.ew-catalog-tabs a { min-width: auto; padding-inline: 11px; }
	.ew-catalog-filters { grid-template-columns: 1fr; padding: 14px; }
	.ew-filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
	.ew-filter-actions button, .ew-filter-reset { width: 100%; }
	.ew-product-grid ul.products, .woocommerce-shop ul.products, .tax-product_cat ul.products { gap: 30px 14px; }
	.ew-product-grid ul.products li.product, .woocommerce-shop ul.products li.product, .tax-product_cat ul.products li.product { grid-column: span 6; }
	.ew-product-image { margin-bottom: 12px; padding: 18px; }
	.ew-product-badge { top: 9px; left: 9px; padding: 6px 7px; font-size: .58rem; }
	.ew-card-brand { font-size: .68rem; }
	.ew-product-grid .woocommerce-loop-product__title, .woocommerce-shop .woocommerce-loop-product__title, .tax-product_cat .woocommerce-loop-product__title { font-size: .94rem; }
	.ew-card-details { min-height: 0; font-size: .71rem; }
	.ew-card-link { margin-top: 10px; font-size: .7rem; }
	.ew-catalog-footer { display: grid; gap: 20px; margin-top: 34px; }
	.ew-product-skeletons { grid-template-columns: 1fr; }
	.ew-steps { grid-template-columns: 1fr; }
	.ew-step, .ew-step:nth-child(even) { grid-template-columns: 52px 1fr; padding: 26px 0; border-right: 0; }
	.ew-coverage { gap: 22px; }
	.ew-shipping { gap: 18px; }
	.ew-footer-inner { grid-template-columns: 1fr; gap: 24px; }
	.woocommerce main, .woocommerce-page main { width: min(calc(100% - 32px),var(--ew-max)); }
	body.single-product.woocommerce div.product div.images { min-height: 0; padding: 28px; }
	body.single-product.woocommerce div.product .product_title { max-width: none; font-size: clamp(2.15rem,10vw,3.1rem); }
	.ew-vto-modal { padding: 0; }
	.ew-vto-dialog { width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; }
	.ew-vto-head { padding: 18px; }
	.ew-vto-controls { grid-template-columns: 1fr; padding: 18px; }
	.ew-vto-actions button { flex: 1; }
	.ew-vto-privacy, .ew-vto-note { grid-column: 1; }
	.cpo-product-program-details dl div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 430px) {
	.ew-filter-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
