/* Compact purchasing details; the existing movie, rail geometry and transitions remain in story.css. */
.card-image{padding:6px 6px 4px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.card-material{margin:4px 0 6px;line-height:1.35;flex:none}
.card-pack{display:block;color:#eef0db;font-size:10px;line-height:1.35;margin-top:3px}
.card-actions{display:flex;align-items:center;gap:8px;border-top:1px solid #e4edcf29}
.card-actions .card-add{flex:1;border:0;padding:9px 0;min-height:34px}
.card-actions .card-add{white-space:normal;min-width:0;line-height:1.3}.card-actions .card-add span:last-child{display:none}
.card-compare{font-size:10px;padding:8px 0;color:#d5dfc6;white-space:nowrap}
.card-compare[aria-pressed=true]{color:#f1f6d9;text-decoration:underline;text-underline-offset:3px}
.catalog-sales-actions{display:flex;align-items:center;gap:14px;min-width:0;flex-wrap:wrap}
.catalog-sales-actions .text-button{font-size:11px;padding:8px 0}
.catalog-sales-actions .button{font-size:11px;min-height:36px;padding:8px 15px;gap:8px}
.catalog-bottom{gap:14px}
.catalog-bottom [hidden],dialog [hidden]{display:none!important}
.detail-checkout{margin-top:10px!important;background:transparent!important;color:var(--cream)!important;border:1px solid #c6d5ad60;justify-content:center}
.detail-compare{margin:12px 0 0}
.detail-description{white-space:pre-line}
#basket-dialog{width:min(790px,calc(100vw - 28px))}
#basket-dialog h2{margin-bottom:12px}
.basket-intro{margin-bottom:20px}
.basket-item{display:grid;grid-template-columns:56px 1fr 38px;gap:10px 16px;padding:0 0 18px;align-items:center}
.basket-item .basket-product{min-width:0;font-size:14px}
.basket-product strong{font-weight:500}
.basket-item .basket-quantity{grid-column:2/-1;display:flex;flex-wrap:wrap;align-items:end;gap:10px 12px;font-size:12px}
.basket-quantity>label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#dce0ca}
.basket-quantity input[type=number],.basket-quantity select{min-height:44px;background:#10271f;color:var(--cream);border:1px solid #becda858;border-radius:7px;padding:9px 10px;width:115px;font-size:15px}
.basket-quantity select{width:125px}
.basket-quantity .quantity-help{display:flex;flex-direction:row;align-items:center;min-height:44px;gap:7px;flex:1;min-width:130px;font-size:12px}
.quantity-help input{width:17px;height:17px;accent-color:var(--accent);flex:none}
.quantity-total{grid-column:2/-1;background:#2b4436;padding:10px 12px;border-radius:7px;color:#e5e8d4}
.basket-item .basket-remove{font-size:23px;padding:8px;align-self:start}
.basket-actions{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-top:18px}
#basket-order{margin:0;justify-content:center}
.basket-note{margin-top:18px;font-size:11px}
#request-dialog h2{margin-bottom:12px;max-width:520px}
#request-intro{margin-bottom:18px}
#request-selection{display:grid;gap:9px;background:#2b4436;padding:12px 15px;border-radius:8px}
#request-selection>div{display:flex;gap:12px;align-items:start;justify-content:space-between}
#request-selection strong{font-weight:500;color:var(--cream)}
#request-selection span{text-align:right}
#request-edit{justify-self:start;margin-top:-11px;font-size:11px}
#order-form .request-comment{grid-column:1/-1;font-size:12px}
.request-comment summary{cursor:pointer;padding:8px 0;color:#dce0ca;min-height:36px}
.request-comment textarea{margin-top:8px}
#order-form>button[type=submit]{justify-content:center}
#request-contact{margin-top:16px;display:flex;justify-content:center;flex-wrap:wrap;gap:7px 16px;font-size:12px;color:#d5dcc7}
#request-contact a{text-decoration:underline;text-underline-offset:3px}
#terms-dialog dl{margin:20px 0}
#terms-dialog dt{font-weight:500;font-size:14px;margin-top:18px}
#terms-dialog dd{margin:5px 0 0;font-size:13px;color:#cfd7c0;line-height:1.65}
#terms-dialog .button{margin-top:12px}
#comparison-dialog{width:min(1000px,calc(100vw - 24px))}
.comparison-scroll{overflow-x:auto;overscroll-behavior:contain}
.comparison-scroll table{border-collapse:collapse;width:100%;font-size:12px}
.comparison-scroll caption{text-align:left;padding-bottom:16px;color:#d7dfc7}
.comparison-scroll th,.comparison-scroll td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid #dce6bf28;min-width:160px;max-width:260px;overflow-wrap:anywhere}
.comparison-scroll th{font-weight:500}.comparison-scroll th:first-child{min-width:125px;color:#bfcdb3}
.comparison-scroll img{width:80px;height:80px;object-fit:contain;display:block;margin-bottom:12px}
.comparison-scroll strong{display:block;font-weight:500}
.comparison-scroll th button{display:block;padding:9px 0;color:#dce6bf;font-size:11px;text-decoration:underline}
.comparison-scroll td .button{padding:9px 12px;min-height:40px;gap:7px;font-size:12px}
#comparison-checkout{margin-top:20px}
@media(max-width:760px){
 .card-material{display:block!important;font-size:10px;margin:3px 0 5px}
 .card-pack{font-size:10px;min-height:27px}
 .card-actions{gap:7px}.card-compare{font-size:10px;min-height:40px}.card-actions .card-add{min-height:40px;font-size:11px}
 .catalog-bottom{display:grid;grid-template-columns:1fr auto;gap:7px 10px;padding:8px 10px}
 .catalog-sales-actions{display:contents}
 #catalog-terms{justify-self:start;grid-column:1;font-size:11px;text-align:left;min-height:34px}
 .catalog-bottom .rail-controls{grid-column:2;grid-row:1;width:auto;gap:4px}
 .catalog-bottom .rail-controls button{min-width:40px;min-height:38px}
 #compare-open{grid-row:2;grid-column:1;font-size:11px;justify-self:start}
 #catalog-checkout{grid-row:2;grid-column:2;min-height:40px;font-size:11px;justify-content:center}
 .catalog-bottom:has(#catalog-checkout:not([hidden])),.catalog-bottom:has(#compare-open:not([hidden])){bottom:92px;top:auto}
 .catalog-gallery{height:min(310px,calc(var(--vh) - 455px))}
 .basket-item{grid-template-columns:45px 1fr 32px;gap:9px 12px}
 .basket-item img{width:45px;height:54px}
 .basket-item .basket-quantity,.quantity-total{grid-column:1/-1}
 .basket-quantity input[type=number],.basket-quantity select{font-size:16px;width:110px}
 .basket-actions{flex-direction:column-reverse;align-items:stretch}.basket-actions button{width:100%;text-align:center;justify-content:center}
 #order-form{grid-template-columns:1fr;gap:15px}
 #order-form input:not([type=checkbox]),#order-form textarea{font-size:16px;min-height:44px}
 #request-dialog,#basket-dialog,#terms-dialog,#comparison-dialog{padding:30px 20px 24px}
 #request-dialog h2,#basket-dialog h2{font-size:29px;padding-right:18px}
 #request-selection>div{display:grid;gap:4px}#request-selection span{text-align:left}
 #request-contact{display:grid;text-align:center;gap:9px}
 #comparison-dialog h2{font-size:27px}.comparison-scroll th,.comparison-scroll td{min-width:145px;padding:10px}.comparison-scroll th:first-child{min-width:110px}
}
@media(max-width:760px) and (max-height:700px){
 .catalog-gallery{top:244px;height:calc(var(--vh) - 435px);min-height:190px}
 .card-pack{min-height:0;font-size:9px}.card-material{font-size:9px;line-height:1.2}
 .card-image{padding:3px 5px}.card-view h3{font-size:11px;min-height:28px}
 .card-top{min-height:25px}.catalog-bottom:has(#catalog-checkout:not([hidden])),.catalog-bottom:has(#compare-open:not([hidden])){bottom:83px}
}

/* Larger product presentation, retaining the existing rail and landing animation. */
@media(min-width:1101px){
 .product-card{flex-basis:calc((90vw - 42px)/4);padding:16px 18px 13px}
 .catalog-gallery{top:38%;height:43%}
 .catalog-bottom{top:83%}
 .card-view h3{font-size:15px;min-height:39px}
 .card-top{font-size:10px}
 .card-material,.card-pack,.card-actions .card-add,.card-compare{font-size:12px}
}
@media(min-width:761px) and (max-width:1100px){
 .product-card{flex-basis:calc((90vw - 28px)/3)}
}
.card-image{padding:7px 4px;overflow:hidden}
.card-image img{position:absolute;inset:7px 4px;width:calc(100% - 8px);height:calc(100% - 14px);max-width:none;object-fit:contain}
@media(max-width:760px){
 .product-card{flex-basis:calc(100vw - 84px);padding:12px 16px}
 .catalog-gallery{top:250px;height:min(390px,calc(var(--vh) - 435px));min-height:250px}
 .card-view h3{font-size:15px;min-height:38px}
 .card-top{font-size:10px}
 .card-material,.card-pack{font-size:11px}
 .card-pack{min-height:0}
 .card-actions .card-add,.card-compare{font-size:12px}
}
@media(max-width:760px) and (max-height:700px){
 .catalog-gallery{top:210px;height:calc(var(--vh) - 395px);min-height:230px}
 .card-view h3{font-size:14px;min-height:36px}
}

/* Desktop: a product-led image area with one compact information block. */
@media(min-width:761px){
 .product-card{padding:12px 16px 9px}
 .card-top{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;min-height:14px;font-size:9px;line-height:14px}
 .catalog-section-label{font-size:9px;white-space:nowrap}
 .card-view{gap:0}
 .card-image{padding:0;overflow:visible}
 .card-image img{inset:0;width:100%;height:100%;max-height:none}
 .card-view h3{font-size:14px;line-height:1.2;min-height:0;margin:0 0 6px;flex:none}
 .card-material{font-size:10px;line-height:1.3;margin:0 0 6px}
 .card-pack{font-size:11px;line-height:1.3;margin-top:3px}
 .card-actions{gap:10px}
 .card-actions .card-add,.card-compare{font-size:11px;min-height:30px;padding:6px 0}
}
@media(min-width:1101px){
 .catalog-gallery{top:37%;height:46%}
 .catalog-bottom{top:85%}
}

/* Nikita review: factory identity and a centered catalog direction selector. */
.site-header .brand{display:flex;flex-direction:column;align-items:center;gap:5px;flex:none;line-height:1}
.site-header .brand-logo{display:block;width:100px;height:64px;object-fit:contain;opacity:1}
.site-header .brand span{font-size:8px;letter-spacing:.12em;margin:0;opacity:.85}
@media(min-width:761px){
 .catalog-heading{top:14%;bottom:67%;display:block}
 .catalog-heading h2{font-size:clamp(30px,2.8vw,44px);line-height:1.1}
 .catalog-heading .eyebrow{font-size:10px;margin-bottom:8px}
 .catalog-heading .modes{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:max-content;max-width:100%;margin:0;padding:5px;background:#183b2cbf;border-color:#e1edba80;box-shadow:0 5px 24px #0003}
 .modes button{min-height:46px;min-width:126px;padding:11px 24px;font-size:15px}
 .category-row{top:34%;}
 .catalog-gallery{top:40%;height:43%}
 .catalog-bottom{top:85%}
}
@media(min-width:761px) and (max-width:1100px){
 .catalog-heading{top:112px;bottom:64%}
 .catalog-heading h2{font-size:30px}
 .modes button{min-height:42px;min-width:112px;padding:10px 18px;font-size:14px}
 .category-row{top:37%}
 .catalog-gallery{top:44%;height:39%}
 .catalog-bottom{top:85%;bottom:auto}
}
@media(min-width:761px) and (max-height:660px){
 .catalog-heading{top:92px}
 .catalog-heading .eyebrow{display:none}
 .catalog-heading h2{font-size:30px}
 .modes button{min-height:38px;padding:8px 20px;font-size:13px}
 .site-header .brand-logo{width:82px;height:52px}
}
@media(max-width:760px){
 .site-header .brand{gap:3px}
 .site-header .brand-logo{width:78px;height:50px}
 .site-header .brand span{font-size:7px;letter-spacing:.06em}
}
@media(max-width:760px) and (max-height:710px){
 .site-header .brand-logo{width:67px;height:43px}
 .site-header .brand span{font-size:6px}
}

/* A missing price is explicit; administrator-supplied units stay visible. */
.product-price{display:block;color:#f4efdc;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.card-price{font-size:13px;line-height:1.35;margin:2px 0 8px;flex-shrink:0}
.detail-price{font-size:20px;line-height:1.4;margin:16px 0}
.basket-product .product-price{font-size:14px;margin-top:6px}
@media(max-width:760px){.card-price{font-size:13px;margin:2px 0 7px}.detail-price{font-size:18px}}
