/* Shared appearance rules for original and edited content. */
body{font-size:var(--site-body-size,15px)}
header{background:var(--site-header-color,var(--paper))}
header nav,header nav a{font-size:var(--site-nav-size,16px);font-weight:600;color:var(--site-nav-color,var(--ink))}
header nav a{white-space:nowrap}
h1,h2{color:var(--site-heading-color,var(--ink))}
.hero h1{font-size:clamp(32px,5.3vw,var(--site-h1-size,64px))}
.heading h2,.cms-section h2{font-size:var(--site-h2-size,40px)}
footer{background:var(--site-footer-color,#593b2b);color:var(--site-footer-text,#fff8ed)}
footer p,footer address,footer dl,footer a{font-size:var(--site-footer-size,14px)}
button.special-button,#privacy,input::file-selector-button{font-size:var(--site-special-button-size,14px);background:var(--site-special-button-background,#8b5138);color:var(--site-special-button-text,#fff)}
.custom-section-background .section,.custom-section-background .cms-section{background-color:var(--site-section-background)}
.product-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;margin:8px 0 4px}
.product .product-name{font-family:CeravinaSans,Arial,sans-serif;font-size:var(--product-name-size,12px);font-weight:400;line-height:1.5;min-width:0;flex:1;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-msrp{font-family:CeravinaSans,Arial,sans-serif;font-size:var(--product-price-size,12px);line-height:1.5;flex:0 0 auto;white-space:nowrap;text-align:right;padding-right:4px}
.product-measurements{font-size:var(--product-detail-size,12px);line-height:1.5;margin:4px 0 0;min-width:0}
.product-measurements>span:first-child{min-width:0;overflow-wrap:anywhere}
.product-sku{font:inherit;color:inherit;text-align:right;padding-right:4px;flex:0 0 auto;min-width:8ch}
.cms-section,.cms-extra{margin:24px 0}.cms-picture{display:block;max-width:100%;height:auto}.cms-media{display:block;width:100%;max-width:800px;margin:16px 0}.cms-media:is(video,iframe){aspect-ratio:16/9;border:0}.cms-navigation{display:flex;flex-wrap:wrap;gap:20px;padding:12px 7%;border-bottom:1px solid var(--line)}.cms-subnav{padding-left:16px}.cms-page{padding:40px 7%}.certification-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px}.certification-card{border:1px solid var(--line);padding:20px}.certification-badge{display:inline-block;font-weight:700;color:var(--terra,#8b5138)}.profile-spec-row{border-bottom:1px solid var(--line);padding:12px 0}
@media(max-width:1250px){header nav{display:none;position:absolute;top:100%;left:0;right:0;padding:20px 5%;background:var(--site-header-color,var(--paper));flex-wrap:wrap}header nav.open{display:flex}header #menu{display:inline-flex}}

/* Keep all language choices visible and profile content within the page. */
header .tools{flex:0 0 auto;min-width:0;gap:14px}header .brand-logo{flex:0 0 auto}
#language{display:flex;align-items:center;gap:4px;min-width:0;flex:0 0 auto;white-space:nowrap}
#language .language-choice{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:36px;padding:4px;background:transparent;border:1px solid transparent;color:var(--site-nav-color,var(--ink));font-size:12px;line-height:1.3;cursor:pointer}
#language .language-choice[aria-pressed="true"]{font-weight:700;border-bottom-color:currentColor}
.certifications-page{padding:40px 7% 64px}.certifications-page>h1.section{padding:0;margin:0 0 28px;font-size:clamp(28px,3.2vw,44px);line-height:1.2}
.certifications-page .company-profile{max-width:100%;margin:0 0 36px}.company-profile>h2{font-size:clamp(24px,2.5vw,32px);line-height:1.3}
.company-profile .profile-spec-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,3fr);gap:20px;margin:0;padding:14px 0;align-items:start}
.company-profile .profile-spec-row h2{font-family:CeravinaSans,Arial,sans-serif;font-size:15px;font-weight:700;line-height:1.6;margin:0}.profile-spec-row .cms-extra{margin:0}.profile-spec-row p{margin:0;overflow-wrap:anywhere}
.certification-section-heading{font-size:clamp(24px,2.5vw,32px);margin:24px 0}.certification-card{min-width:0;margin:0;overflow-wrap:anywhere}.certification-card h2{font-size:21px;line-height:1.3}.certification-card .cms-picture{width:100%;max-height:240px;object-fit:contain}.certification-card .btn{max-width:100%;white-space:normal;gap:8px}
@media(max-width:650px){header{padding-inline:4%;gap:8px}header .tools{gap:6px}header .tools>.btn{display:none}#language .language-choice{min-width:28px}.company-profile .profile-spec-row{grid-template-columns:minmax(0,1fr);gap:4px}.certifications-page{padding:28px 5% 40px}}

footer .privacy-link{background:transparent;color:inherit}

.footer-contact-qr{display:flex;justify-content:flex-start;padding:20px 0 0;background:transparent}.footer-contact-qr>a{display:flex;flex-direction:column;align-items:center;gap:10px;color:inherit}.footer-contact-qr span{font-size:16px;font-weight:600}.footer-contact-qr img{display:block;width:162px;height:162px;background:white;border:0 solid white;border-radius:4px}
/* Reuse the original logo artwork; white becomes transparent through screen blending. */
footer .brand-logo{background:transparent;padding:0;border-radius:0}
footer .logo-art{background-image:url("/brand/ceravina-footer-white.svg");background-size:contain;background-position:center;background-repeat:no-repeat;filter:none;mix-blend-mode:normal}
footer .brand-motto{color:#fff}

.catalog>.product{min-width:0;max-width:100%;width:100%}.product .product-heading{width:100%;max-width:100%;min-width:0}.product .product-name{display:block;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1 0}
/* Shared product models and SKU galleries. */
.product-filters{display:flex;flex-wrap:wrap;gap:14px;margin:16px 0 24px}.product-filters label{min-width:160px;flex:1}.product-overlay,.product-overlay-price{position:absolute;left:8px;right:8px;top:8px;text-align:left;font-size:var(--product-detail-size,12px);background:#faf5ede8;padding:4px 6px;color:var(--ink);width:fit-content;max-width:calc(100% - 16px)}.product-overlay-price{top:auto;bottom:8px}.product .product-heading{display:flex;align-items:baseline;gap:8px;padding-right:4px;margin-top:10px}.product .product-heading .product-name{margin:0;min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--product-name-size,12px)}.product .product-sku{margin-left:auto;white-space:pre;flex-shrink:0;font-size:var(--product-detail-size,12px)}.catalog-detail-photo{display:block;width:100%;max-height:52vh;object-fit:contain}.catalog-editor{width:min(1000px,96vw)}.catalog-editor form{display:block}.catalog-editor label{display:block;margin:12px 0}.catalog-editor input:not([type=checkbox]),.catalog-editor textarea,.catalog-editor select{display:block;width:100%}.catalog-editor input[type=checkbox]{width:auto}.catalog-editor fieldset{margin:20px 0;padding:18px;border:1px solid #ccb69d}.catalog-editor button{margin:5px}.catalog-editor img{object-fit:contain}.catalog-editor fieldset>div{padding:10px 0;border-bottom:1px solid #d8c8b8}
#buyer-footer-links{margin-top:20px;flex-wrap:wrap}#buyer-events article{border-top:1px solid #ffffff40;padding:18px 0;margin-top:20px}#buyer-events p{white-space:pre-line}.product-overlay-price{font-size:var(--product-price-size,12px)}#status{font-weight:700;color:#b00020}
#products .picture>small{display:block;font-size:12px;line-height:1.5;margin:6px 0;overflow-wrap:break-word}#products .picture>small:first-of-type{font-weight:700}#products .picture img{display:block;width:110px;height:110px}#products .picture label{font-size:12px;line-height:1.4;margin:8px 0}#products .picture input[type=checkbox]{margin:0 4px 0 0}#products .collection-head>.collection-actions{justify-content:flex-end}#products .collection-title{margin:0}.certification-section-heading[hidden]{display:none}
/* Collection editor mode, compact picture visibility and stable card captions. */
#mode-edit[aria-pressed="true"],#mode-add[aria-pressed="true"],#mode-delete[aria-pressed="true"]{background:#a83227!important;color:#fff;outline:2px solid #6f211b}
#products .picture>.picture-list-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;width:100%;height:18px;line-height:18px}
#products .picture>label.picture-visibility{position:absolute;top:4px;right:4px;left:auto;display:flex;align-items:center;justify-content:center;width:26px;height:26px;margin:0;padding:3px;line-height:1;z-index:2;background:#faf5edee;border:1px solid #b69a81;border-radius:4px}
#products .picture>.picture-visibility input[type=checkbox]{width:18px!important;height:18px;margin:0!important;accent-color:#8b5138}
/* Keep standalone pages within a readable, responsive content area. */
main.cms-content-page{padding:40px max(6%,calc((100% - 1100px)/2)) 64px;overflow-wrap:anywhere}
.cms-content-page>#cms-page-heading{padding:0!important;margin:0 0 30px;line-height:1.25;font-size:clamp(30px,4vw,48px)}
.cms-content-page>.cms-section,.cms-content-page>.cms-extra{max-width:100%;margin:26px 0}.cms-content-page p{white-space:pre-line;line-height:1.85}.cms-content-page .cms-section .cms-section{border-top:1px solid var(--line);padding-top:16px}.cms-content-page h2{line-height:1.35}
.cms-content-page>#careers{padding:0;gap:7%;margin:30px 0}.cms-content-page #careers details{min-width:0}.cms-content-page #careers summary{margin-bottom:20px}.cms-content-page #career{min-width:0}
@media(max-width:650px){main.cms-content-page{padding:28px 6% 44px}.cms-content-page>#careers{grid-template-columns:1fr;gap:24px}.cms-content-page .cms-section h2{font-size:28px}}
#footer-contact-pages{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:14px}#footer-contact-pages .text-link{margin:0}
footer .foot-bottom{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:center}
.foot-bottom>#buyer-footer-links{margin:0;display:block;text-align:center}.foot-bottom>.foot-links{justify-content:center;min-width:0;flex-wrap:wrap}.foot-bottom>[data-cms-field="field-106"]{justify-self:end;text-align:right}.foot-bottom>[data-cms-field="field-107"]{grid-column:1/-1;text-align:right}
@media(max-width:650px){footer .foot-bottom{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.foot-bottom>#buyer-footer-links{text-align:right}.foot-bottom>.foot-links{justify-content:flex-start}.foot-bottom>[data-cms-field="field-107"]{text-align:left}}
/* Balanced footer columns; keep the closing motto in the bottom row. */
footer .foot-top{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}footer .foot-top>div{min-width:0}footer .foot-top p{max-width:none}
footer .footer-company-details{font-size:12px;line-height:1.8}.footer-admin-portal{display:inline-block;margin-top:10px}
footer .foot-bottom{grid-template-columns:minmax(180px,1fr) auto auto minmax(280px,1.25fr);gap:28px}.foot-bottom>[data-cms-field="field-107"]{grid-column:auto;text-align:right;white-space:nowrap}
@media(max-width:1100px){footer .foot-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}footer .foot-bottom{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.foot-bottom>[data-cms-field="field-107"]{white-space:normal}}
@media(max-width:650px){footer .foot-top{grid-template-columns:1fr}.foot-bottom>[data-cms-field="field-107"]{text-align:right}}
@media(min-width:1101px){footer .footer-company-details{font-size:clamp(10px,.85vw,12px)}}
@media(min-width:1101px){footer .foot-bottom{grid-template-columns:minmax(170px,1fr) minmax(150px,1fr) minmax(150px,1fr) minmax(280px,1.25fr);column-gap:48px}.foot-bottom>#buyer-footer-links{justify-self:center}.foot-bottom>.foot-links:not(#buyer-footer-links){justify-self:center}}
.foot-bottom>#buyer-footer-links a,.foot-bottom .privacy-link{display:inline-block;position:relative;padding:8px 0;width:auto;max-width:100%}
#footer-brand-pages{margin-top:18px}.footer-events-link,footer .footer-admin-portal{font-size:var(--site-footer-size,14px);line-height:1.6}#footer-brand-pages a{display:inline-block}#buyer-events{display:none}

/* Keep slideshow actions above its absolutely positioned photo. */
.hero-photo{isolation:isolate}.hero-photo>img{inset:0;z-index:0}.hero-photo .photo-label{z-index:1;bottom:78px;max-width:calc(100% - 48px)}
.hero-controls{position:absolute;z-index:3;bottom:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:8px 10px;width:max-content;max-width:calc(100% - 24px);background:#faf5edf5;border:1px solid #b9987f;border-radius:4px;color:#593b2b;box-shadow:0 2px 10px #301a1326}
.hero-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;margin:0;padding:6px 10px;border:1px solid #593b2b;background:#593b2b;color:#fff;font-size:14px;line-height:1.2;white-space:nowrap}.hero-controls button:disabled{opacity:.5;cursor:default}.hero-controls span{min-width:38px;text-align:center;font-size:12px}.hero-controls button:focus-visible{outline:3px solid #335f50;outline-offset:3px}
/* Original decorative corners, independent of the product photo. */
.product .image::before,.product .image::after{content:"";position:absolute;z-index:2;width:54px;height:54px;background:url('/assets/product-corner.svg') center/contain no-repeat;pointer-events:none}
.product .image::before{left:0;bottom:0}.product .image::after{right:0;top:0;transform:rotate(180deg)}.product-overlay,.product-overlay-price{z-index:3}.product-overlay{max-width:calc(100% - 70px)}.product-overlay-price{left:52px;max-width:calc(100% - 60px)}
.product-media-picker{width:min(880px,94vw);max-height:88vh;overflow:auto;padding:24px;border:1px solid #b9987f;background:#faf5ed;color:#593b2b}.product-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin:16px 0}.product-media-option{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px;min-width:0;margin:0;background:#fff8f0;color:#593b2b;border:2px solid #d4bba4}.product-media-option img{width:100%;height:120px;object-fit:contain}.product-media-option span{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-media-option[aria-pressed="true"]{border-color:#335f50;background:#e6eee8}.product-media-option:disabled{opacity:.5;cursor:default}.product-media-actions{position:sticky;bottom:0;padding-top:10px;background:#faf5ed}.product-media-picker input{width:100%;box-sizing:border-box}.product-media-picker::backdrop{background:#301a1399}

/* Hero-only settings leave other website typography unchanged. */
.hero-controls{left:auto;right:12px;bottom:12px;transform:scale(.75);transform-origin:bottom right}
.hero[data-hero-fontfamily] :is(h1,h2,h3,p,span,a,button,small,.eyebrow,.hero-note,.photo-label){font-family:var(--hero-family)}
.hero[data-hero-fontsize] :is(.hero-copy p,.eyebrow,.hero-note,.photo-label,.hero-controls button,.hero-controls span){font-size:var(--hero-size)}
.hero[data-hero-headingsize] h1{font-size:clamp(32px,5.3vw,var(--hero-heading-size))}
.hero[data-hero-textcolor] :is(.hero-copy h1,.hero-copy h1 em,.hero-copy p,.eyebrow,.hero-note,.photo-label){color:var(--hero-color)}
.hero[data-hero-backgroundcolor] .hero-photo,.hero[data-hero-backgroundcolor] .hero-photo>img{background-color:var(--hero-background)}
.hero[data-hero-copybackgroundcolor] .hero-copy{background-color:var(--hero-copy-background)}
.hero[data-hero-fontstyle] :is(h1,h2,h3,p,span,a,button,small,.eyebrow,.hero-note,.photo-label){font-weight:var(--hero-weight);font-style:var(--hero-style)}
.hero-appearance-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;border-bottom:1px solid #d4bba4;padding:10px 0}.hero-appearance-row input[type=color]{height:42px;max-width:160px;padding:3px}.hero-appearance-row label{margin:0}.hero-appearance-row label:last-child{white-space:nowrap}.hero-appearance-row input[type=checkbox]{width:auto;margin:0 6px}.hero-style-preview{padding:20px;margin-top:16px;border:1px solid #d4bba4}.hero-style-preview h3{margin:0 0 12px}.hero-style-preview p{margin:0}
@media(max-width:600px){.hero-appearance-row{grid-template-columns:1fr;gap:4px}}

/* Align the final company/contact actions in their shared footer row. */
@media(min-width:651px){footer .footer-contact,footer .footer-hours{display:flex;flex-direction:column;align-items:flex-start}footer #footer-contact-pages,footer .footer-admin-portal{margin-top:auto;padding-top:14px}footer .footer-admin-portal{margin-bottom:0}footer #footer-contact-pages .text-link{font-size:var(--site-footer-size,14px);line-height:1.6}}

@media(min-width:651px){footer .foot-top{align-items:stretch}footer #footer-contact-pages,footer .footer-admin-portal{padding-top:0}footer #footer-contact-pages .text-link,footer .footer-admin-portal{display:inline-block;padding:0;border:0;letter-spacing:inherit;font-weight:inherit;text-transform:none;line-height:1.6}}
/* Appearance controls remain paired on phones and desktops. */
.theme-area{margin:12px 0;border:1px solid #d4bba4;padding:12px;border-radius:6px}.theme-area>summary{cursor:pointer;font-weight:700}.theme-attributes{min-width:0}.theme-attribute{margin:14px 0}.theme-font-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(75px,.7fr) auto;gap:12px;align-items:end}.theme-font-row:has(select:only-child){min-width:0}.theme-font-row label{min-width:0}.theme-font-row input:not([type=checkbox]),.theme-font-row select{width:100%;min-width:0;box-sizing:border-box}.theme-font-row:has(input[type=color]),.theme-font-row:has(select[data-theme-key=fontStyle]){grid-template-columns:minmax(0,1fr) auto}.theme-font-row input[type=color]{height:40px}.theme-reset{display:flex;align-items:center;gap:6px;white-space:nowrap}.theme-reset input{width:auto!important;margin:0}.theme-preview{padding:14px;border:1px solid #d4bba4;border-radius:4px;margin:14px 0;overflow-wrap:anywhere}@media(max-width:550px){.theme-font-row{grid-template-columns:minmax(0,1fr) minmax(70px,.65fr);gap:8px}.theme-font-row .theme-reset{grid-column:1/-1}.theme-font-row:has(input[type=color]),.theme-font-row:has(select[data-theme-key=fontStyle]){grid-template-columns:minmax(0,1fr)}}
.theme-font-row input:not([type=checkbox]),.theme-font-row select{height:42px;padding:6px 8px}.theme-font-row .theme-reset{align-self:end;min-height:42px}

.footer-visit-counter{text-align:right;font-size:12px;margin-top:14px;line-height:1.6}.hero-subheading{font-size:clamp(20px,2.3vw,30px);line-height:1.3;margin:0 0 18px}.hero-copy h1:empty,.hero-copy h2:empty{display:none}.hero-size-preview{position:relative;width:180px;height:150px;overflow:hidden;background:#f3e8dc;border:1px solid #d4bba4;margin:10px 0}.hero-photo{overflow:hidden}.hero[data-hero-frame-height]{min-height:var(--hero-frame-height)}.hero[data-hero-frame-height] .hero-photo{min-height:var(--hero-frame-height)}@media(max-width:650px){.hero[data-hero-frame-height]{min-height:0}.hero[data-hero-frame-height] .hero-photo{min-height:var(--hero-mobile-height,440px)}.hero[data-hero-mobile-height] .hero-photo{min-height:var(--hero-mobile-height)}}

.footer-brand .footer-visit-counter{text-align:left;margin-top:12px}
/* One underline on interaction; remove the old fixed underline on text links. */
.text-link{border-bottom:0;padding-bottom:0;text-decoration:none}
.text-link:hover,.text-link:focus-visible{ text-decoration:underline;text-underline-offset:4px }
footer .address-map,footer .address-map:hover,footer .address-map:focus-visible{border-bottom:0}
footer .address-map:hover,footer .address-map:focus-visible{text-decoration:underline!important;text-underline-offset:4px}
.foot-bottom>[data-cms-field="field-107"]{padding-inline:12px;box-sizing:border-box}
@media(max-width:650px){footer .foot-bottom>[data-cms-field="field-107"]{grid-column:1/-1;justify-self:start;text-align:left;width:100%;max-width:100%;white-space:normal;text-wrap:balance}}

.typography-guide-note{background:#f0e8dd;color:#593b2b;border-left:3px solid #335f50;padding:10px 12px;margin:10px 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.typography-guide-note strong{display:block}.typography-guide-note small{display:block;font-size:12px}.typography-guide-note button{margin-top:8px;padding:7px 10px}.typography-guide-highlight{outline:3px solid #335f50!important;outline-offset:3px}.typography-inspect-selected{outline:3px solid #2d8b73!important;outline-offset:3px}#typography-inspector{position:fixed;z-index:10000;right:16px;bottom:16px;width:min(420px,calc(100vw - 32px));max-height:65vh;overflow:auto;box-sizing:border-box;border:2px solid #335f50;border-radius:8px;background:#fffaf3;color:#593b2b;padding:16px;box-shadow:0 3px 20px #0003;font:14px/1.5 Arial,sans-serif}#typography-inspector p{margin:8px 0;overflow-wrap:anywhere}#typography-inspector button{padding:6px 10px;margin:5px;font:inherit}#typography-inspector a{display:block;color:#245c4d;text-decoration:underline;margin-top:10px}#typography-inspector strong{font-size:15px}

#website-media-browser{margin-top:14px}#website-media-browser>summary{font-weight:700;cursor:pointer}.media-browser-toolbar{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr);gap:12px;margin:14px 0}.website-media-browser-list{max-height:65vh;overflow:auto;overscroll-behavior:contain;padding-right:8px;margin-top:12px}@media(max-width:600px){.media-browser-toolbar{grid-template-columns:1fr}.website-media-browser-list{max-height:60vh}}
/* Media Control Hub and editable component entities */
#website-library[hidden]{display:none!important}
#media-control-hub{margin:24px 0;padding:18px;border:1px solid #d4bba4;border-radius:12px}
.media-hub-tabs,.media-hub-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.media-hub-toolbar input{flex:1;min-width:180px}.media-hub-tabs button[aria-pressed=true],.media-hub-tree button[aria-pressed=true]{background:#8b5138;color:#fff}
.media-hub-layout{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px}.media-hub-tree{display:flex;flex-direction:column;gap:6px;align-items:stretch}.media-hub-tree button{text-align:left;margin:0}.media-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:65vh;overflow:auto;align-content:start;padding:4px}.media-hub-card{min-width:0;border:1px solid #d4bba4;border-radius:8px;padding:10px}.media-hub-card h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:8px 0;font-size:15px}.media-hub-usage{max-height:75px;overflow:auto;overflow-wrap:anywhere;font-size:12px}.media-hub-preview{height:140px;display:flex;align-items:center;justify-content:center;background:#f0e8df;border-radius:5px}.media-hub-preview img,.media-hub-preview video{max-width:100%;max-height:100%;object-fit:contain}.media-hub-preview audio{max-width:100%}.media-hub-card button{font-size:12px;padding:7px;margin:0}.media-hub-card .admin-actions{gap:5px}
.media-hub-dialog,.entity-editor{width:min(850px,94vw);max-height:90vh;overflow:auto}.media-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:55vh;overflow:auto}.media-picker-option{min-width:0;padding:8px!important;margin:0!important;overflow:hidden}.media-picker-option .media-hub-preview{height:100px}.media-picker-option span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-picker-option[aria-pressed=true]{outline:3px solid #8b5138}.entity-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px;border-bottom:1px solid #d4bba4}.entity-row strong{flex:1;min-width:200px}.entity-row small{overflow-wrap:anywhere}.entity-attribute{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;align-items:center}.entity-attribute input[type=checkbox]{width:auto}#entity-manager>div{max-height:55vh;overflow:auto}
@media(max-width:900px){.media-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.media-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.media-hub-layout{grid-template-columns:minmax(0,1fr)}.media-hub-tree{flex-direction:row;overflow:auto}.media-hub-tree button{flex-shrink:0}.media-hub-grid{max-height:55vh}.media-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.entity-attribute{grid-template-columns:minmax(0,1fr) 115px}.media-hub-tabs button{flex:1}.media-hub-card .admin-actions{flex-direction:column;align-items:stretch}}
.admin-account-actions{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;margin:12px 0}.admin-account-actions form{margin:0;padding:0;width:auto}.admin-account-actions .admin-actions{margin:0;display:flex}.admin-account-actions button{margin:0;white-space:nowrap}.media-hidden-badge{display:block;padding:5px 7px;background:#f9dddd;color:#a21c1c;border-radius:4px;font-size:12px}.hero-media-url{display:block;overflow-wrap:anywhere;font-family:monospace}.media-hub-dialog .media-hub-usage{max-height:160px;white-space:pre-line}.media-hub-dialog input[type=checkbox]{width:auto}.hero-photo>.hero-slideshow-image{z-index:1}
@media(max-width:600px){.admin-account-actions{gap:6px}.admin-account-actions button{font-size:12px;padding:10px 9px}}
.admin-account-actions .admin-form-actions{padding:0;border:0;margin:0;position:static}.admin-account-actions>.admin-actions{width:auto}.admin-account-actions form{flex:0 0 auto}
.media-hub-preview{position:relative}.media-visibility-check{position:absolute;right:5px;bottom:5px;display:flex;align-items:center;gap:5px;background:#faf5edf0;color:#593b2b;border:1px solid #b9987f;border-radius:4px;padding:3px 6px;font-size:12px;cursor:pointer}.media-visibility-check input[type=checkbox]{width:auto;margin:0}.media-running-position{display:block;font-size:12px;margin-bottom:5px}.media-hub-layout{align-items:start}.media-hub-tree{align-self:start}.media-hub-grid{max-height:none;min-height:0;box-sizing:border-box;overflow:auto}.media-hub-layout+.admin-actions{justify-content:flex-end}
@media(max-width:600px){.media-hub-grid{height:auto!important;max-height:65vh}.media-hub-tree{max-width:100%}}
a:not(.brand-logo):not(.btn):not(.logo):hover,a:not(.brand-logo):not(.btn):not(.logo):focus-visible{text-decoration:underline;text-underline-offset:3px}a[style*="--cv-link-hover"]:hover,a[style*="--cv-link-hover"]:focus-visible{color:var(--cv-link-hover)!important}.link-edit-attribute{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:12px;align-items:center}.link-edit-attribute input[type=checkbox]{width:auto}
a[style*="--cv-link-hover"]:hover span,a[style*="--cv-link-hover"]:focus-visible span{color:var(--cv-link-hover)!important}
#media-control-hub .media-hub-card>.admin-actions{display:flex;flex-direction:column;gap:6px}#media-control-hub .media-card-action-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0}#media-control-hub .media-card-action-row>button{width:100%;font-size:12px;min-height:38px;padding:6px 4px;white-space:normal}
#admin-session-banner{position:sticky;top:0;z-index:10000;padding:14px;background:#f9dddd;color:#9a1d1d;font-weight:bold;border:1px solid #b52a2a}#admin-session-banner[hidden]{display:none}#admin-session-expired{z-index:10001}#admin-session-expired a{display:inline-block;background:#335f50;color:#fff;padding:10px;margin:8px 0}#hero-sets-dialog{width:min(1000px,95vw);max-width:1000px}#hero-sets-dialog fieldset{margin:16px 0;padding:15px;min-width:0}#hero-sets-dialog small{display:block;overflow-wrap:anywhere}.hero-set-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hero-set-tabs button[aria-pressed=true]{background:#b04431;color:#fff}.hero-active-selection{padding:12px;border:1px solid #335f50;background:#e5f0e9}#hero-sets-dialog img{object-fit:contain}
@media(max-width:600px){.hero-set-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
#admin-session-banner{position:fixed;top:12px;left:50%;transform:translateX(-50%);width:min(900px,calc(100% - 24px));box-shadow:0 4px 18px #593b2b33}
header .header-admin-link{display:inline-flex;align-items:center;white-space:nowrap;background:transparent;border:0;padding:0;text-decoration:none}header .header-admin-link:hover,header .header-admin-link:focus-visible{text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){header .header-admin-link{display:none!important}}

.cms-type-badge{color:#9666bd;font-size:.85em;font-weight:600;white-space:nowrap}.cms-structure-path{display:block;color:#756c78;font-size:12px;overflow-wrap:anywhere;margin:4px 0 8px}.media-visibility-check{top:5px;bottom:auto;padding:5px;min-width:26px;min-height:26px;justify-content:center}.media-visibility-check input[type=checkbox]{width:18px;height:18px;accent-color:#654477}

/* Clear product selection and model browsing, independent of public gallery sizing. */
.media-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.media-picker-card{min-width:0;display:flex;flex-direction:column;gap:6px}.media-picker-card>.media-picker-option{width:100%;display:block;box-sizing:border-box}.media-picker-option .media-hub-preview{height:190px}.media-picker-option .media-hub-preview img{width:100%;height:100%;object-fit:contain}.media-image-viewer .media-hub-preview{height:min(65vh,650px)}.media-image-viewer .media-hub-preview img{width:100%;height:100%;object-fit:contain}.catalog-editor .product-edit-photo{width:200px;height:200px;max-width:100%;object-fit:contain;display:block}.model-browser{width:min(900px,94vw);max-height:88vh;overflow:auto}.model-browser-row{display:grid;grid-template-columns:24px 160px 65px minmax(0,1fr);align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #d4bba4}.model-browser-row img{width:160px;height:160px;object-fit:contain;background:#f0e8df}.model-browser-row button{min-width:0;overflow-wrap:anywhere;text-align:left}.catalog-move-dialog{width:min(600px,94vw);max-height:90vh;overflow:auto}.catalog-move-dialog label{display:block;margin:18px 0}.catalog-move-dialog select{display:block;width:100%;margin-top:8px;padding:10px;box-sizing:border-box}
@media(max-width:600px){.media-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.media-picker-option .media-hub-preview{height:160px}.model-browser-row{grid-template-columns:24px 110px minmax(0,1fr);gap:8px}.model-browser-row img{width:110px;height:110px}.model-browser-row small{grid-column:3}.model-browser-row .admin-actions{grid-column:2/4}.catalog-editor .product-edit-photo{width:180px;height:180px}}

.media-picker-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:14px 0}.media-picker-filters label{display:block;min-width:0}.media-picker-filters select,.media-picker-filters input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:9px}.media-picker-dialog .media-picker-card{min-width:0}@media(max-width:600px){.media-picker-filters{grid-template-columns:minmax(0,1fr)}}

.media-picker-dialog .media-picker-card.admin-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0}.media-picker-dialog .media-picker-card>.media-picker-option{display:block;width:100%;flex:none}.media-picker-dialog .media-picker-option .media-hub-preview{width:100%;box-sizing:border-box}.media-picker-dialog .media-picker-option>span{margin-top:8px}

.admin-home-exit{margin:0;padding:0}.admin-home-exit>.admin-actions{margin:0}.admin-home-exit button{border:0;background:none;color:inherit;padding:0;margin:0;text-decoration:underline;font:inherit;cursor:pointer}
