/* Keep admin-entered paragraphs readable, including long bank identifiers. */
.pd-description p, #payBank small { white-space: pre-wrap !important; overflow-wrap: anywhere; word-break: normal; text-align: start !important; }
.pd-description { min-width: 0; }
.pd-description p { font-size: 14px; line-height: 1.8; }
#payOptions .pay-option > div { flex: 1; min-width: 0; text-align: start; }
#payOptions .pay-option small { line-height: 1.75; }
#payBank small { direction: ltr; unicode-bidi: plaintext; font-variant-numeric: tabular-nums; }
.store-header .brand { min-width: 0; }
.store-header .brand-mark { height: 116px !important; max-width: 340px; }
.store-header .brand-mark img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.product-orbit-grid { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 18px; }
.product-orbit-item > span { width: min(100%,150px); }
@media(max-width:1100px){ .product-orbit-grid {grid-template-columns:repeat(4,minmax(0,1fr));} .store-header .brand-mark {height:96px !important;max-width:270px;} }
@media(max-width:700px){ .store-header .brand-mark {height:78px !important;max-width:210px;} .product-orbit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px;} .product-orbit-item:last-child{grid-column:1 / -1;justify-self:center;width:calc(50% - 8px);} .product-orbit-item>span{width:min(145px,100%);} .pd-description{padding:16px;} }
@media(max-width:380px){.store-header .brand-mark{height:68px !important;max-width:185px;}}

.gc-shipping-choice > label {height:auto !important;max-height:none !important;min-height:82px !important;}
.gc-shipping-choice b,.gc-shipping-choice small {white-space:normal !important;overflow-wrap:anywhere;}
html[dir="rtl"] .gc-shipping-choice span {text-align:right !important;}

.card-desc {white-space:pre-line;overflow-wrap:anywhere;}
@media(min-width:981px){.store-header .header-main{min-height:132px;height:auto;padding-top:8px;padding-bottom:8px;}}
@media(max-width:700px){
 .store-header .header-main{display:flex !important;flex-wrap:wrap;justify-content:center;height:auto !important;min-height:132px;padding:6px 14px 10px;gap:4px !important;}
 .store-header .brand{flex:0 0 100%;justify-content:center;}
 .store-header .brand-mark{height:80px !important;max-width:280px;}
 .store-header .header-actions{width:100%;justify-content:center;gap:14px !important;}
 .store-header .account-menu-wrap .account-dropdown.open{top:132px;}
}

/* Allow grid children and long product metadata to shrink within narrow screens. */
.product-detail{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
.product-detail>*,.pd-gallery,.pd-info,.gc-media-main,.gc-media-thumbs{min-width:0;max-width:100%;box-sizing:border-box;}
.pd-info h1,.pd-info>small,.pd-info>p,.pd-meta span,.delivery-note{overflow-wrap:anywhere;}
.pd-meta>div{gap:16px;align-items:flex-start;}
.pd-meta>div>span{min-width:0;}
.pd-meta>div>span:last-child{text-align:end;}
.purchase-row,.sample-product-actions{min-width:0;max-width:100%;}
.pd-info .add-cart-btn,.sample-product-actions .ghost-btn{box-sizing:border-box;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
@media(max-width:980px){.product-detail{grid-template-columns:minmax(0,1fr);}}
@media(max-width:700px){
 .store-header .brand-mark{height:96px!important;max-width:min(300px,100%);}
 .store-header .header-main{min-height:148px;}
 .store-header .account-menu-wrap .account-dropdown.open{top:148px;}
 .sample-product-actions{display:flex;flex-direction:column;}
 .sample-product-actions .ghost-btn{width:100%;min-width:0;}
 .gc-media-main img,.gc-media-main video{min-width:0;max-width:100%;}
}
@media(max-width:460px){.purchase-row{align-items:stretch;}.purchase-row .qty-row{align-self:center;}.purchase-row .add-cart-btn{width:100%;min-width:0;}}
