/* Public catalogue: same colours and card count, clearer touch targets. */
.product-title{overflow-wrap:normal;word-break:normal;line-height:1.35}
.product-details-dialog button,.product-details-dialog input,.product-details-dialog select,.product-card-actions button{min-height:44px}
.product-details-dialog input,.product-details-dialog select{font-size:16px!important;max-width:100%;box-sizing:border-box}
.option-chip{cursor:pointer;min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.option-chip.selected{outline:2px solid var(--primary);outline-offset:2px}
.option-chip:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #1476bd;outline-offset:3px}
#clientModal>div{max-height:90dvh;overflow:auto}
#clientOrderSummary{padding:12px;margin:12px 0;border:1px solid #94a3b8;border-radius:10px;color:var(--text);background:var(--card);line-height:1.5}
#clientOrderSummary ul{padding-left:20px;margin:8px 0;max-height:220px;overflow:auto}
#clientOrderSummary li{margin:9px 0;overflow-wrap:anywhere}
#clientOrderSummary p{margin:6px 0;font-size:14px}
@media(max-width:640px){
 .products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .products-grid>*,.product-info,.product-card-actions{min-width:0}
 .product-title{font-size:16px!important}
 .product-card-actions{display:flex!important;flex-direction:column;gap:8px}
 .product-card-actions button{width:100%;font-size:14px!important;white-space:normal}
 .product-details-modal-header h2{font-size:18px;line-height:1.35}
 .product-details-modal-body{font-size:16px;line-height:1.5}
 .product-description{font-size:16px!important;line-height:1.55!important}
 .product-details-dialog .option-chip{font-size:16px!important;padding:10px}
 .product-info .category-tag{font-size:11px;max-width:100%;overflow-wrap:anywhere}
 .product-info>div:first-child{flex-wrap:wrap;gap:6px}
 #clientModal>div{width:calc(100% - 20px)!important;padding:18px!important}
 #clientModal input,#clientModal textarea{font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){.product-skeleton-image,.skeleton-line{animation:none!important}html{scroll-behavior:auto!important}}


/* Keep card contents within both columns, rather than clipping overflows. */
.products-grid>.product-card{min-width:0;align-self:stretch;height:auto}
.product-card .product-info{min-width:0}
.product-card .product-info>div:first-child{gap:10px;min-width:0}
.product-card .product-title{min-width:0;overflow-wrap:anywhere}
.product-card .product-card-actions{min-width:0;margin-top:auto;padding-top:8px}
.product-card .product-card-actions>button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;justify-content:center}
.product-card .product-details-toggle-label{min-width:0}
.product-card .product-details-toggle-icon,.product-card .product-whatsapp-info svg{flex:none}
.product-details-modal-content,.product-details-modal-body{min-width:0;min-height:0}
.product-details-modal-body .options-section{min-width:0}
.product-details-modal-body .option-chip{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.product-details-modal-body .qty-input-container{max-width:100%;min-width:0}
.product-details-modal-body .qty-input{min-width:40px;max-width:80px;width:100%}
@media(max-width:640px){
 .product-card .product-image{height:clamp(150px,46vw,260px);padding:10px}
 .product-card .product-info{padding:12px;gap:8px}
 .product-card .product-info>div:first-child{margin-bottom:0!important;gap:6px}
 .product-card .product-card-actions{display:grid!important;grid-template-columns:minmax(0,1fr);gap:8px}
 .product-card .product-card-actions>button{width:100%;padding:10px 7px;font-size:13px!important;line-height:1.35;gap:6px}
 .product-card .product-card-actions svg{width:18px;height:18px}
 .product-details-modal{padding:10px}
 .product-details-dialog{max-height:calc(100dvh - 20px);width:100%;border-radius:16px}
 .product-details-modal-content{grid-template-columns:minmax(0,1fr)}
 .product-details-modal-preview{padding:12px;border-right:0}
 .product-details-modal-preview img{max-height:180px}
 .product-details-modal-body{padding:14px}
 .product-details-modal-body .options-section{padding:12px}
 .product-details-modal-body .qty-input-container{gap:4px}
}

/* Public catalogue: quotation-first copy and readable local information. */
.catalog-intro{padding:20px 22px;margin:0 0 22px;border:1px solid #c6d6e5;border-radius:18px;background:#f8fbff;color:#18354f}
.catalog-intro-kicker{margin:0 0 7px;font-size:12px;font-weight:800;letter-spacing:.02em;color:#426381}
.catalog-intro h1{margin:0 0 10px;font-size:clamp(21px,2.1vw,29px);line-height:1.3;font-weight:700}
.catalog-intro>p:last-child{margin:0;max-width:960px;font-size:15px;line-height:1.6}
.purchase-guidance{font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.color-choice-search{display:block;width:100%;max-width:100%;min-height:44px;margin:0 0 10px;padding:10px 12px;border:1px solid #8aa2b8;border-radius:10px;background:var(--card,#fff);color:var(--text,#18354f);font:inherit;font-size:16px;box-sizing:border-box}
.color-choice-empty{font-size:14px;margin:8px 0;color:inherit}
.option-chip[hidden]{display:none!important}
@media(prefers-color-scheme:dark){.catalog-intro{background:#0f1c2b;border-color:#29415d;color:#edf5ff}.catalog-intro-kicker{color:#a3bfd9}}
@media(max-width:640px){.catalog-intro{padding:16px;margin-bottom:16px}.catalog-intro>p:last-child{font-size:14px}}
