/* ie-design 1.0.1 (generated, do not edit) */
/* mobile-fixes.css — LAST. Corrective layer; the only one allowed !important. Numbered sections,
   every !important justified. Bump IE_VERSION on every edit (iOS only refetches on a new ?ver=). */

/* 1. WooCommerce paints a.remove with its own !important colour; only an !important can recolour it. */
.ie-woowrap .woocommerce a.remove{color:var(--brown)!important}
.ie-woowrap .woocommerce a.remove:hover{color:var(--green)!important;background:var(--cream)!important}

/* 2. Flex/grid children that hold long tokens must be allowed to shrink (lesson § 51). */
.v2-masthead>*,.v2-footer-grid>*,.pdp-layout>*,.purchase>*,.shop-shell>*,.toolbar>*,.breadcrumb{min-width:0}
.v2-footer a,.card h3,.breadcrumb,.info-body,.ie-woowrap td.product-name{overflow-wrap:anywhere}

/* 3. Cart / checkout / account collapse to one column. */
@media (max-width:900px){
	.ie-woowrap--cart .woocommerce,.ie-woowrap--account .woocommerce{display:block}
	.ie-woowrap--cart .woocommerce>.cart-collaterals{margin-top:28px}
	.ie-woowrap--checkout form.checkout{display:block}
	.ie-woowrap--checkout form.checkout>#order_review_heading{margin-top:28px}
	.ie-woowrap--account .woocommerce-MyAccount-navigation{margin-bottom:28px}
	body:not(.logged-in) .ie-woowrap--account .u-columns.col2-set{grid-template-columns:1fr}
}
@media (max-width:768px){
	.ie-woowrap .woocommerce table.shop_table_responsive tr td{padding:10px 0}
	.ie-woowrap .woocommerce table.cart td.actions .coupon{flex-wrap:wrap}
	.ie-woowrap .woocommerce table.cart td.actions .coupon .input-text{width:100%}
	.ie-woowrap .woocommerce table.cart td.actions .button{width:100%}
}

/* 4. PDP on phones: gallery height follows the photo, buy row stays one line. */
@media (max-width:760px){
	.gallery-main img{height:auto;aspect-ratio:4/5;max-height:570px}
	.purchase .single_add_to_cart_button{font-size:10px}
	.pdp__chip{padding:0 14px}
}

/* 5. Search overlay + favourites panel on small screens. */
@media (max-width:600px){
	.search-overlay__panel{padding:18px 0 22px}
	.ie-favs__panel{width:94vw;max-height:86vh;padding:22px}
}

/* 6. Archive toolbar wraps instead of overflowing. */
@media (max-width:760px){
	.toolbar{flex-wrap:wrap}
	.ie-posts{grid-template-columns:1fr}
}


/* 7. Home/about hero on phones (Iris 1-12-2026): the frame takes the full cell width. aspect-ratio:4/5 + max-height:72vh
      let browsers derive the WIDTH from the capped height on short screens (Safari/Edge on iOS with toolbars: 380px of 390),
      leaving a cream strip on the right. Width is now fixed; height still follows 4:5, capped at 72vh. */
@media (max-width:900px){
	.v2-hero-media{width:100%;justify-self:stretch}
}

/* 8. Mobile masthead: logo exactly in the middle. Equal side columns, so the narrow hamburger (left) and the wider
      favourites + cart group (right) no longer push the logo off-centre. */
@media (max-width:900px){
	.v2-masthead{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
	.v2-masthead-left{justify-self:start}
	.v2-logo{justify-self:center}
	.v2-masthead-right{justify-self:end}
}

/* 9. Wholesale price (Code Snippet #20): amount, minimum order and consumer price each on their own line, left aligned,
      on product cards, the product page and anywhere else the price html is used. The parentheses are removed in
      inc/iris-tweaks.php (ie_ws_price_lines). */
.wholesale-price-row,.wholesale-min-qty,.consumer-price-row{display:block}
.wholesale-price-row+br{display:none}
.product-price:has(.wholesale-price-row){flex-direction:column;align-items:flex-start;gap:2px}

/* 10. "Read my story" toggle (About band on product pages): the + sits on the text line, just after the text, inside the lines. */
.about-copy summary{align-items:center;justify-content:flex-start;gap:10px}
.about-copy summary::after{line-height:1;font-size:16px}
