/* Alignment, readability and touch-target fixes across phones, tablets and desktops. Loaded last so it overrides earlier sheets. */

/* Product cards: the button sits at the bottom, so buttons line up across a row whatever the name length. */
.product-card{display:flex;flex-direction:column}
.product-card>.product-open{flex:1 1 auto;display:flex;flex-direction:column}
.product-card>.view-product-button{margin-top:auto;min-height:44px}
.shop-grid .product-caption h3,.wishlist-grid .product-caption h3{min-height:0}

/* Product page add-to-cart row: quantity, Add to bag and save share one height and line. */
.product-cta-row{display:grid;grid-template-columns:auto minmax(0,1fr) 52px;align-items:stretch;gap:10px}
.product-cta-row>*{height:52px;margin:0}
.product-cta-row .quantity{height:52px;width:auto;border-radius:26px;justify-content:space-between}
.product-cta-row .quantity button{width:44px;height:100%}
.product-cta-row .quantity span{min-width:30px;font-size:15px}
.product-cta-row .button{width:100%;min-height:0;padding:0 20px;border-radius:26px;font-size:12px!important}
.product-cta-row .icon-button{width:52px;display:grid;place-items:center;border-radius:50%}
/* Stack by the column's own width (narrow on phones and on tablets' two-column layout): quantity + save, then a full-width Add to bag. */
.product-information{container-type:inline-size}
@container (max-width:420px){
 .product-cta-row{grid-template-columns:minmax(0,1fr) 52px}
 .product-cta-row .button{grid-column:1/-1;grid-row:2}
}

/* Readable minimum sizes (the design used 6–9px labels, buttons and footer text). !important where section-specific rules set smaller sizes. */
.eyebrow{font-size:11px!important}
.button,.text-button{font-size:11px!important}
.desktop-nav a,.nav-trigger{font-size:11px!important}
.dropdown-eyebrow,.dropdown-feature span,.dropdown-feature small{font-size:10px!important}
.notes-card small,.field-note small{font-size:10px!important}
.view-product-button{font-size:11px}
.product-type,.shop-grid .product-type{font-size:10px;letter-spacing:.06em}
.result-count{font-size:12px}
.filter{font-size:12px}
.moving-vial figcaption{font-size:11px}
.moving-vial figcaption small{font-size:10px}
/* Cart and wishlist count badges: centred number, pill for 2+ digits, outlined so it reads against the icon. */
.saved-count,.bag-count{display:grid;place-items:center;box-sizing:border-box;min-width:18px;width:auto;height:18px;padding:0 5px;border-radius:9px;top:-3px;right:-3px;font-size:10px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;box-shadow:0 0 0 2px var(--bg);pointer-events:none}
.saved-count[hidden],.bag-count[hidden]{display:none}
.image-caption span,.moving-foot span,.stage-label span,.art-index,.molecule-mini span,.stage-bottom span,.collection-bottom span{font-size:10px}
.footer-links h3{font-size:11px}
.footer-links a,.footer-links button{font-size:13px}
.footer-bottom,.footer-bottom span,.footer-bottom button,.footer-policies a{font-size:11px}

/* Touch screens: comfortable tap targets. */
@media(max-width:900px){
 .glass-header .icon-button{width:40px;height:40px}
 .button{min-height:46px}
 .filter{min-height:40px;padding:10px 14px}
 .collection-toolbar,.shop-filter-row{flex-wrap:wrap;row-gap:10px}
 .collection-toolbar .filter-tabs,.shop-filter-row .filter-tabs{flex-wrap:wrap}
 .footer-links a,.footer-links button{padding:5px 0;margin-bottom:8px}
 .footer-policies a,.info-related a{display:inline-block;padding:6px 0}
 .product-card .favorite{width:40px;height:40px}
 #clear-search{min-width:36px;min-height:36px}
 .cart-item .quantity button{width:40px;height:40px}
 .cart-item .quantity span{font-size:14px}
 .coa-index a{display:inline-block;padding:7px 0}
}
@media(max-width:360px){
 .glass-header .icon-button{width:36px;height:36px}
}
