/* Structural corrections shared by each theme, after reference and commerce styles. */
body[class]{width:100%;max-width:none;margin:0;padding:0}
body[class] main.page{width:100%;min-width:0}
body .store-footer-grid{align-items:start!important;justify-items:stretch!important;text-align:right}
body .store-footer-grid>div{min-width:0;width:100%;text-align:right}
body .store-footer :is(h2,ul,li,.footer-menu,.stack){text-align:right;justify-content:flex-start!important;align-items:flex-start!important;justify-items:start!important;margin-inline:0}
body .store-footer :is(ul,.footer-menu){display:flex;flex-direction:column;gap:9px;padding:0;list-style:none}
body .store-footer li{width:100%}
body .store-footer li a{display:block;text-align:right;width:100%}
body .store-footer .site-brand{justify-content:flex-start!important}
body .store-footer-bottom{margin-bottom:0}
body .pagination,:is(body.woocommerce,body .woocommerce)-pagination,body .nav-links{width:100%;display:flex;flex-wrap:wrap;justify-content:center!important;align-items:center;gap:8px;margin:24px auto 0;text-align:center}
body .pagination a,body .pagination span,body .nav-links .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:6px 12px;border:1px solid var(--store-border);border-radius:10px;font:inherit}
body .pagination .current,body .nav-links .current{background:var(--store-accent);color:var(--store-ink)}
body .store-catalog-layout{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start!important;justify-items:stretch!important;gap:24px;margin-top:24px}
body .store-filter-sidebar{display:block!important;min-width:0;width:100%;position:sticky;top:110px;align-self:start!important;padding:18px;border:1px solid var(--store-border);border-radius:16px;background:var(--surface,#fff)}
body .store-filter-sidebar h2{font-size:17px;margin:0 0 16px;text-align:right}
body .store-filter-sidebar .filter-panel{border:0;padding:0;background:none}
body .store-catalog-results{min-width:0;width:100%}
body .store-catalog-results :is(.grid-4,.product-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch!important;justify-items:stretch!important;gap:16px}
body .catalog-card{display:flex!important;flex-direction:column;height:100%;width:100%;min-width:0;align-self:stretch!important}
body .catalog-card :is(.pbody,.product-body,.product-info,.p-info){display:flex;flex-direction:column;flex:1;min-width:0}
body .catalog-card :is(.pname,.product-title,.p-title){line-height:1.8}
body .catalog-card :is(.price,.p-price,.final){white-space:normal;overflow-wrap:anywhere}
body :is(.price,.p-price,.pprice,.visual-price,.sticky-cta,.pricebox) ins{text-decoration:none;background:none}
body del{opacity:.65}
body .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.store-search-submit{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 36px!important;width:36px;min-height:36px;padding:6px;border:0;background:transparent;color:inherit;cursor:pointer}
.store-search-submit svg{width:21px;height:21px;flex:none}
body .storefront-search,body .field:has(>.store-search-submit){display:flex;align-items:center;gap:8px}
body .field:has(>.store-search-submit)>input{flex:1;min-width:0}
body.storefront-nexfit [data-slider-ready] .hero-slide{justify-content:center!important;align-items:center!important;isolation:isolate}
body.storefront-nexfit .hero-slide-content{width:min(920px,100%);margin-inline:auto;align-items:center;position:relative;z-index:1}
body.storefront-nexfit .hero-slide-content :is(h1,.lead,.kicker){text-align:center;margin-inline:auto}
body.storefront-nexfit :is(.hero-slide-meta,.hero-ctas,.hero-slide-badges){justify-content:center!important}
body.storefront-veyro [data-slider-ready] .topbar-slide{justify-content:center!important;align-items:center!important;isolation:isolate}
body.storefront-veyro .topbar-title{width:100%;max-width:1200px;margin-inline:auto;position:relative;z-index:1}
body.storefront-veyro .topbar-title :is(.row,.meta){justify-content:center!important}
body.storefront-veyro .topbar :is(.lead,.smallprint){color:rgba(255,255,255,.8)}
body :is(.hero-slide,.topbar-slide,.hero-home){position:relative}
body .has-hero-cover{isolation:isolate;overflow:hidden;background:#181b20}
body .store-hero-cover{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none;object-fit:cover!important;object-position:center;z-index:-2;pointer-events:none}
body .has-hero-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,15,20,.22),rgba(10,15,20,.76));z-index:-1;pointer-events:none}
body .has-hero-cover :is(h1,.lead,.hero-sub,.kicker,.micro,.help){color:#fff}
body .has-hero-cover>.hero-grid{position:relative;width:100%;z-index:1}
body .has-hero-cover>.hero-grid>.hero-visual{visibility:hidden;pointer-events:none}
body.storefront-veyro .has-hero-cover .topbar-title{grid-template-columns:1fr}
body.storefront-veyro .has-hero-cover .topbar-title>.panel+ .panel{display:none}
body.storefront-veyro .has-hero-cover .topbar-title>.panel{max-width:900px;margin-inline:auto;background:transparent}
body .store-hero-visual{margin:0 auto;max-width:440px;width:100%;height:260px;display:flex;align-items:center;justify-content:center}
body .store-hero-visual img{width:100%;height:100%;object-fit:contain}
body.storefront-nexfit .hero-slide:has(>.store-hero-visual){gap:24px}
body.storefront-nexfit .hero-slide:has(>.store-hero-visual) .hero-slide-content{max-width:700px}
body .store-faq{display:grid;gap:10px;text-align:right}
body .store-faq-item{border:1px solid var(--store-border);border-radius:12px;overflow:hidden;background:var(--surface,#fff);color:var(--store-ink)}
body .store-faq-item>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;cursor:pointer;font-size:14px;font-weight:800;list-style:none;text-align:right}
body .store-faq-item>summary::-webkit-details-marker{display:none}
body .store-faq-item>summary svg{width:21px;height:21px;flex:none}
body .store-faq-item[open] .faq-plus{display:none}
body .store-faq-answer{padding:0 16px 16px;line-height:1.9;font-size:13px;color:var(--text,#656565)}
body .store-faq-answer p{margin:0}
body details>summary:focus-visible{outline:2px solid var(--store-accent);outline-offset:-3px}
body :is(.comment-respond,.comments-area,#reviews){min-width:0;text-align:right;font-family:inherit;color:var(--store-ink)}
body :is(.comment-respond,.comments-area,#reviews) h2,body .comment-reply-title{font-size:22px;font-weight:900;line-height:1.7;text-align:right}
body .comment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%}
body .comment-form>p{margin:0;min-width:0;float:none;width:auto}
body .comment-form :is(.comment-notes,.logged-in-as,.comment-form-comment,.comment-form-cookies-consent,.form-submit,.comment-form-rating){grid-column:1/-1}
body .comment-form label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}
body .comment-form :is(input:not([type=checkbox]):not([type=submit]),textarea,select){width:100%;max-width:100%;padding:12px 14px;border:1px solid var(--store-border);border-radius:12px;background:var(--surface,#fff);font:inherit;color:var(--store-ink);box-shadow:none}
body .comment-form textarea{min-height:140px;resize:vertical}
body .comment-form .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:8px}
body .comment-form-cookies-consent input{margin-top:6px;flex:none}
body .comment-form .submit{appearance:none;padding:12px 24px;border:0;border-radius:12px;background:var(--store-accent);color:var(--store-ink);font:inherit;font-weight:800;cursor:pointer;width:auto}
body .comment-list,:is(body.woocommerce,body .woocommerce) #reviews #comments ol.commentlist{list-style:none;padding:0;margin:20px 0}
body .comment-list .children{list-style:none;margin:16px 20px 0 0;padding:0}
body .comment-list .comment-body{border:1px solid var(--store-border);background:var(--surface,#fff);padding:20px;border-radius:16px;margin-bottom:14px;text-align:right}
body .comment-list .comment-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0;background:none}
body .comment-list .comment-author{display:flex;align-items:center;gap:10px}
body .comment-list .avatar{width:44px;height:44px;border-radius:50%}
body .comment-list .comment-metadata{font-size:12px;color:var(--muted)}
body .comment-list .comment-content{line-height:1.9}
body .comment-list .reply{font-size:12px;font-weight:800;margin-top:12px}
:is(body.woocommerce,body .woocommerce) #reviews #comments ol.commentlist li .comment-text{border:1px solid var(--store-border);background:var(--surface,#fff);border-radius:14px;padding:18px}
:is(body.woocommerce,body .woocommerce) #reviews #comments ol.commentlist li img.avatar{border:0;border-radius:50%;padding:0;width:40px;height:40px}
:is(body.woocommerce,body .woocommerce) p.stars{display:block!important;overflow:hidden;max-width:100%;width:100%;direction:ltr;text-align:right}
:is(body.woocommerce,body .woocommerce) p.stars a{overflow:hidden}
:is(body.woocommerce,body .woocommerce) p.stars a:before{white-space:nowrap}
body.theme-view-product :is(.gallery,.pdp-top,.summary,.buy,.sticky,.product-head){min-width:0}
body.theme-view-product .gallery [data-gallery-main]{display:block;width:100%;height:100%;object-fit:contain;position:relative;z-index:1}
body.theme-view-product .gallery .thumb{cursor:pointer;padding:8px;overflow:hidden}
body.theme-view-product .gallery .thumb img{width:100%;height:100%;object-fit:contain;display:block}
body.theme-view-product .gallery .thumb.active{outline:2px solid var(--store-accent);outline-offset:-2px}
body.theme-view-product .gallery .thumb:focus-visible{outline:2px solid var(--store-ink)}
body.theme-view-product .gallery-badges{position:absolute;left:18px;top:18px;display:flex;flex-wrap:wrap;gap:8px;z-index:2}
body.storefront-lunera.theme-view-product .pdp{margin-top:20px;align-items:start}
body.storefront-lunera.theme-view-product .summary .card-body{gap:14px}
body.storefront-lunera.theme-view-product .product-brand-row{margin-top:10px}
body.storefront-lunera.theme-view-product .pdp-actions{display:block}
body.storefront-lunera.theme-view-product .pdp-actions form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0}
body.storefront-lunera.theme-view-product .pdp-actions .single_add_to_cart_button{flex:1}
body.storefront-lunera.theme-view-product .product-details-grid{align-items:start;margin-top:20px}
body.theme-view-product .product_meta{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}
body.theme-view-product :is(.product-short-description,.entry-content){line-height:1.9}
:is(body.woocommerce,body .woocommerce)-product-attributes{width:100%;border-collapse:collapse;text-align:right;font-size:13px}
:is(body.woocommerce,body .woocommerce)-product-attributes :is(th,td){padding:12px;border-bottom:1px solid var(--store-border);text-align:right;vertical-align:top}
:is(body.woocommerce,body .woocommerce)-product-attributes p{margin:0}
body .entry-content :is(table,img,video,iframe){max-width:100%}
body .entry-content table{display:block;overflow-x:auto}
body .entry-content pre{overflow-x:auto;max-width:100%;direction:ltr}
@media(max-width:1100px){
 body .store-catalog-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}
 body .store-catalog-results :is(.grid-4,.product-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 body .store-catalog-layout{grid-template-columns:minmax(0,1fr)}
 body .store-filter-sidebar{position:static}
 body .store-catalog-results :is(.grid-4,.product-grid){gap:12px}
 body .has-hero-cover>.hero-grid{grid-template-columns:minmax(0,1fr)}
 body .has-hero-cover>.hero-grid>.hero-visual{display:none}
 body.storefront-nexfit .hero-slide:has(>.store-hero-visual){flex-direction:column}
 body .store-hero-visual{height:180px;max-width:320px}
 body .comment-form{grid-template-columns:minmax(0,1fr)}
 body .comment-list .comment-body{padding:14px}
 body .comment-list .children{margin-inline-start:12px}
 body .store-footer-grid{gap:28px 20px}
 body.theme-view-product .summary{position:static}
}
@media(prefers-reduced-motion:reduce){body [data-slider-ready] .hero-slide,body [data-slider-ready] .topbar-slide{transition:none!important}}

/* WooCommerce styles must also match when .woocommerce is the body itself. */
body.woocommerce :is(a.button.alt,button.button.alt,input.button.alt),body .woocommerce :is(a.button.alt,button.button.alt,input.button.alt){background:var(--store-accent);border:1px solid var(--store-accent);color:#fff;border-radius:12px;padding:12px 18px;min-height:44px;font:inherit;font-weight:800;line-height:1.5}
body.storefront-nexfit.woocommerce :is(a.button.alt,button.button.alt,input.button.alt),body.storefront-nexfit .woocommerce :is(a.button.alt,button.button.alt,input.button.alt){color:var(--heading)}
body.woocommerce :is(a.button.alt,button.button.alt,input.button.alt):hover,body .woocommerce :is(a.button.alt,button.button.alt,input.button.alt):hover{background:var(--store-ink);border-color:var(--store-ink);color:white}
body.woocommerce .store-product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0}
body.woocommerce .store-product form.cart.variations_form{display:block;width:100%}
body.woocommerce .store-product form.cart .variations :is(th,td){border:0;vertical-align:middle;padding:8px;text-align:right}
body.woocommerce .store-product form.cart .variations select{font:inherit;min-height:44px;padding:8px 12px;width:100%;border:1px solid var(--store-border);background:var(--surface);border-radius:12px}
body.woocommerce .store-product .woocommerce-variation-add-to-cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.woocommerce .store-product .woocommerce-variation-add-to-cart .single_add_to_cart_button{flex:1}
body.woocommerce .store-product .quantity{float:none;margin:0}
body.storefront-lunera.woocommerce .store-product .summary{width:auto;float:none;margin:0;top:110px}
body.storefront-lunera{--radius-xl:28px;--radius-lg:20px;--radius-md:16px;--radius-sm:12px;--shadow:0 14px 40px rgba(36,33,32,.08);--max:1440px;--content:1200px;--space-1:8px;--space-2:12px;--space-3:16px;--space-4:24px;--space-5:32px;--space-6:48px}
body .store-article-card{height:100%;width:100%;display:flex;flex-direction:column;min-width:0;align-self:stretch!important}
body .store-article-card :is(.post-body,.article-content){flex:1;display:flex;flex-direction:column}
body .store-article-card :is(.post-meta,.card-actions){margin-top:auto}
body .store-article-card img{width:100%;height:100%;object-fit:cover}
body .store-article-card :is(.post-title,.article-title){font-size:16px;font-weight:900;line-height:1.8}
@media(max-width:760px){body.storefront-lunera.woocommerce .store-product .summary{position:static}}

/* Keep each reference's content width; headers and footers remain full-bleed. */
body.storefront-nexfit main.page{max-width:1200px;padding:34px 22px 32px}
body.storefront-veyro main.page{max-width:1288px;padding:40px 28px 32px}
body.storefront-nexo main.page{max-width:1440px;padding:32px 48px 32px}
body.storefront-nexfit{--lime:var(--primary);--charcoal:var(--secondary);--ink:var(--accent)}
body.storefront-veyro{--ink:var(--heading);--taupe:var(--secondary)}
body.storefront-nexo{--ink:var(--heading)}
body.storefront-lunera.theme-view-product .gallery .hero-media{display:grid;place-items:center}
body.storefront-lunera.theme-view-product .gallery [data-gallery-main]{max-height:520px}
body input[type=number]{font-feature-settings:"ss01";font-variant-numeric:tabular-nums}
@media(max-width:900px){
 body.storefront-nexo main.page{padding:16px 16px 24px}
 body.storefront-veyro main.page{padding:22px 16px 24px}
}
@media(max-width:860px){body.storefront-nexfit main.page{padding:22px 18px 24px}}
body .store-filter-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:17px;font-weight:900;list-style:none;text-align:right;cursor:pointer}
body .store-filter-disclosure>summary::-webkit-details-marker{display:none}
body .store-filter-disclosure>summary svg{width:20px;height:20px;flex:none;transition:transform .2s}
body .store-filter-disclosure[open]>summary svg{transform:rotate(180deg)}
body .store-filter-content{padding-top:18px}
@media(min-width:761px){body .store-filter-disclosure>summary{pointer-events:none}body .store-filter-disclosure>summary svg{display:none}}
@media(max-width:760px){body.storefront-nexo.theme-view-product .store-footer,body.storefront-nexfit.theme-view-product .store-footer{padding-bottom:84px}}
