/*
 * bettrweb 2026-11-17: the theme now prints a proper document (doctype, head, body), so browsers render in
 * standards mode instead of quirks mode. These rules keep the layout exactly as it was in quirks mode
 * (checked by full-page screenshot comparison of 18 pages, desktop + mobile, and menus/side cart/cookie banner).
 */
/* Quirks mode gave lines that hold only an image no descender gap; standards mode adds one under every inline image. */
img, svg, video, canvas, iframe { vertical-align: middle; }
textarea { vertical-align: top; }
/* The mobile homepage hero used height:100% of an auto-height parent, which quirks mode resolved to the screen height. */
@media (max-width: 800px) { .homepage > .category-cards { height: 100vh; } }
/* YITH gift card form: inline labels got the parent's line-height strut. */
.gift-cards_form .clearfix > label { display: block; text-align: left; } /* theme centres these labels; inline they were only as wide as their text */
/* BluOr (spell) payment method logos: an image alone in a div got the line-height strut. */
.payment_method_spell label > div > img, .payment_method_spell label > span > img { display: block; }
/* Theme fix (pre-existing, not standards-mode related): the side cart's dimming overlay (z-index 20) sat below the
   fixed header (z-index 50), so the header stayed bright while the rest of the page was dimmed. */
.sidecart { z-index: 60; }
