/* Shared visual rhythm for DURAHQCS, scoped to preserve product data and controls. */
body.store{--ui-gap-xs:6px;--ui-gap-sm:12px;--ui-gap-md:20px;--ui-gap-lg:32px;--ui-text:15px}
.store main>section.collection,.store main>section.business-banner{padding-top:36px;padding-bottom:36px;gap:5%}
.store .collection .eyebrow,.store .business-banner .eyebrow{margin-bottom:10px;font-size:12px;line-height:1.4}
.store .collection h2,.store .business-banner h2{font-size:clamp(27px,3vw,40px);line-height:1.15;letter-spacing:-.7px;margin-bottom:14px}
.store .collection p,.store .business-banner p{font-size:15px;line-height:1.55;margin-bottom:16px}
.store .hero-surround .hero-module .hero-overlay-copy{height:auto!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column;align-items:flex-start;gap:0;overflow:visible}
.store .hero-overlay-copy>#hero-eyebrow{margin-bottom:9px!important}
.store .hero-overlay-copy>#hero-title{height:auto;min-height:0;max-height:none;overflow:visible;margin-bottom:12px!important}
.store .hero-overlay-copy>#hero-subtitle{height:auto;min-height:0;max-height:none;overflow:visible;margin-bottom:18px!important;line-height:1.5;display:block}
@media(min-width:1101px){
 .store .hero-module .image-only-hero{position:relative;display:block}
 .store .hero-module .image-only-hero>a{height:auto;aspect-ratio:3}
 .store .hero-module .image-only-hero img{object-fit:cover!important;object-position:center}
 .store .hero-surround .hero-module .hero-overlay-copy{position:absolute;left:4%;top:50%;bottom:auto;transform:translateY(-50%);width:37%!important;max-width:500px!important;padding:16px!important;background:rgba(247,245,241,.94);border-radius:12px}
 .store .hero-overlay-copy>#hero-title{font-size:clamp(26px,2.6vw,40px);line-height:1.12!important}
}
@media(max-width:1100px){
 .store .hero-module .image-only-hero>a{height:auto;aspect-ratio:1.6}
 .store .hero-module .image-only-hero img{height:100%;width:100%;object-fit:cover!important;object-position:right center!important}
 .store .hero-surround .hero-module .hero-overlay-copy{position:static;transform:none;width:100%!important;padding:20px 5%!important;background:#f7f5f1}
}
.store #shop .promo-panel{padding:18px}
.store #shop .promo-panel>p{margin:10px 0 14px;line-height:1.5}
.store #shop .product-info h3{font-size:16px;line-height:1.4;margin:8px 0 6px}
.store #shop .catalog-model{font-size:13px;line-height:1.4;margin:5px 0}
.store #shop .price-line{margin:8px 0 6px;gap:8px}
.store #shop .stock-note{font-size:12px;line-height:1.4}
.store .product-detail-page .product-page-title{line-height:1.2;letter-spacing:-.4px}
.store .product-detail-content .product-quick-facts li{font-size:15px;line-height:1.55}
.store .product-detail-content .product-quick-facts ul{gap:9px}
.store .product-detail-content .product-section-nav{gap:22px;margin-top:24px;padding-top:8px}
.store .product-detail-content .product-section-nav a{font-size:15px;padding:10px 2px}
.store .product-detail-content .product-reviews{padding-top:24px;padding-bottom:24px}
.store .product-detail-content .product-reviews h2{font-size:25px;margin-bottom:18px}
.store .product-detail-content .review-dashboard{gap:22px;padding-bottom:24px}
.store .product-detail-content .review-media{padding:20px 0}
.store .product-detail-content .review-entry{padding:16px}
.store .product-detail-content .detail-extra-section{padding-top:24px!important;padding-bottom:24px!important}
.store .product-detail-content .detail-extra-heading{margin-bottom:18px}
.store .purchase-payments .catalog-payment-logos{gap:6px;display:grid;grid-template-columns:repeat(auto-fit,minmax(52px,1fr));max-width:100%}
.store .purchase-payments .catalog-payment-logos .pay-logo{width:100%;max-width:none;height:32px;min-width:0}
.store .purchase-services button{font-size:14px;line-height:1.35;min-height:36px}
@media(max-width:760px){
 .store main>section.collection,.store main>section.business-banner{padding-top:24px;padding-bottom:24px;row-gap:18px}
 .store .collection h2,.store .business-banner h2{font-size:28px;margin-bottom:10px}
 .store .hero-surround .hero-module .hero-overlay-copy{padding:18px 5%!important}
 .store .hero-overlay-copy>#hero-title{font-size:26px;line-height:1.15!important}
 .store .hero-overlay-copy>#hero-subtitle{font-size:14px;line-height:1.5}
 .store .hero-module .service-strip{font-size:12px;line-height:1.4;padding:14px 2%}
 .store .service-strip span{padding:0 6px;gap:6px}
 .store #shop .promo-panel{padding:14px}
 .store #shop .promo-title h2{font-size:20px}
 .store #shop .product-info h3{font-size:14px;line-height:1.4}
 .store .product-detail-page{width:92%;padding-top:14px}
 .store .product-detail-page .detail-grid{gap:20px}
 .store .product-detail-content .product-page-title{font-size:24px;line-height:1.22}
 .store .product-detail-content .product-quick-facts li{font-size:15px;line-height:1.55}
 .store .product-detail-content .review-dashboard{gap:18px}
 .store .product-detail-content .product-section-nav{gap:16px}
 .store .product-detail-content .product-section-nav a{font-size:14px;min-height:42px}
 .store .product-detail-content .detail-extra-heading h2{font-size:23px}
}
/* Admin: consistent typography and compact forms; variant rows stay horizontal. */
.admin-body .admin-main{font-size:14px;line-height:1.45}
.admin-body .admin-main #panel>h1,.admin-body .admin-main .section-heading h1{font-size:28px;line-height:1.2;margin-bottom:10px;letter-spacing:-.5px}
.admin-body .admin-main .section-heading{margin-bottom:20px;gap:16px}
.admin-body .catalog-edit-section{padding-top:22px;padding-bottom:22px}
.admin-body .catalog-section-heading{margin-bottom:16px}
.admin-body .catalog-section-heading h3{font-size:21px;margin-bottom:7px;line-height:1.3}
.admin-body .catalog-section-heading p{font-size:14px;line-height:1.5;margin-bottom:0}
.admin-body .catalog-edit-row{padding-top:12px;padding-bottom:12px}
.admin-body .catalog-field-help strong{font-size:14px}
.admin-body .catalog-field-help p{font-size:13px;line-height:1.5;margin-top:5px;margin-bottom:0}
.admin-body .catalog-field-control input,.admin-body .catalog-field-control select,.admin-body .catalog-field-control textarea{font-size:14px;line-height:1.4;padding:10px 12px}
.admin-body .family-row>summary{padding-top:14px;padding-bottom:14px;gap:14px}
.admin-body .family-row>summary strong{font-size:16px;line-height:1.4}
.admin-body .family-row small{font-size:13px;line-height:1.4}
.admin-body #variant-cards .variant-compact-row input:not([type=checkbox]){font-size:13px;height:38px}
.admin-body #variant-cards .variant-compact-row label{font-size:12px;line-height:1.4}
@media(max-width:760px){.admin-body .admin-main section#panel{padding:20px 14px}.admin-body .catalog-edit-row{padding-top:10px;padding-bottom:10px}.admin-body .family-row>summary{gap:10px}}

/* Catalog: compact image and exactly four information rows. */
.store #shop #product-grid .product-card{padding:8px;align-self:start}
.store #shop #product-grid .product-image{aspect-ratio:4/3;height:auto;max-height:220px}
.store #shop #product-grid .image-open{padding:12px}
.store #shop #product-grid .product-info{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:10px 0 2px}
.store #shop #product-grid .product-info>small,.store #shop #product-grid .catalog-model{display:none}
.store #shop #product-grid .product-info h3{display:block;min-height:0;max-height:none;margin:0;font-size:15px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.store #shop #product-grid .product-review-summary{margin:0;font-size:12px;line-height:1.2;gap:6px}
.store #shop #product-grid .product-review-summary .review-stars{font-size:17px}
.store #shop #product-grid .price-line{display:flex;align-items:baseline;flex-wrap:nowrap;min-height:0;margin:0;gap:5px;line-height:1.3;white-space:nowrap}
.store #shop #product-grid .sale-price{font-size:21px;line-height:1.2}
.store #shop #product-grid .price-line del{font-size:11px}
.store #shop #product-grid .price-line .discount{font-size:10px}
.store #shop #product-grid .stock-note{font-size:12px;line-height:1.3;margin:0}
@media(max-width:650px){
 .store #shop #product-grid .product-card{padding:6px}
 .store #shop #product-grid .product-image{aspect-ratio:4/3;max-height:170px}
 .store #shop #product-grid .image-open{padding:8px}
 .store #shop #product-grid .product-info{gap:5px;padding-top:8px}
 .store #shop #product-grid .product-info h3{font-size:14px}
 .store #shop #product-grid .sale-price{font-size:17px}
 .store #shop #product-grid .price-line{gap:4px}
 .store #shop #product-grid .price-line del{font-size:9px}
 .store #shop #product-grid .price-line .discount{font-size:9px}
 .store #shop #product-grid .quick-cart{width:36px;height:36px;padding:9px;right:8px;bottom:8px}
}

/* Square catalog images on desktop and mobile. */
.store #shop #product-grid .product-image{aspect-ratio:1/1;height:auto;max-height:none}
.store #shop #product-grid .image-open img{object-fit:contain;object-position:center}

/* Stock and free-shipping share the fourth information row. */
.store #shop #product-grid .catalog-stock-shipping{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;line-height:1.3}
.store #shop #product-grid .catalog-free-shipping{color:#23723b;font-size:12px;font-weight:700;white-space:nowrap}
@media(max-width:650px){.store #shop #product-grid .catalog-stock-shipping{gap:4px}.store #shop #product-grid .catalog-free-shipping{font-size:10px}.store #shop #product-grid .catalog-stock-shipping .stock-note{font-size:11px}}
