/*
 * Brand Store — polish layer (loaded last on every page).
 *
 * 1. Buttons never blend into the panel they sit on (rest AND hover), on every screen size.
 * 2. Touch: no "stuck" hover after a tap, a soft press instead.
 * 3. Phones (≤ 767px): one calm size system — type, buttons, fields, spacing, header, footer.
 * 4. Small luxury motion (drawer, menu, cards, bag card) — never hides content, honours reduced motion.
 * 5. "Your bag" card on cart + checkout (inc/bag-summary.php).
 *
 * Every rule starts with  html:not(#bs)  — one ID's worth of weight — so this file has the final
 * word over the older layers without !important. Keep new overrides here, not in skin.css.
 */

/* =====================================================================
 * 1. Buttons vs. surfaces
 * ===================================================================== */

/* Light surfaces (white, cream, mint, blush, yellow): hover = lime fill + ink edge, so the button
   outline stays visible even where lime is close to the panel colour. */
html:not(#bs) :is(.bs-button, .pg-btn, .pg-btn-ghost, .pg-btn--light, .button, a.button, button.button, input[type="submit"], .wp-block-button__link, .wc-block-components-button:not(.is-link), .bs-m-submit, .bs-ss__go, .bs-mic__go, .single_add_to_cart_button, .bs-product-card__add, .bs-footer__cta-btn, .bs-mcart__checkout, .bs-mcart__sugg-add, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .checkout-button, .bs-buybar__btn, .bs-buy-now, .bs-button--outline):hover {
	background: var(--bs-color-lime);
	border-color: var(--bs-color-ink);
	color: var(--bs-color-ink);
}

/* Lime panels: lime hover would vanish → white with ink edge. */
html:not(#bs) :is(.bs-ft__cta, .bs-budgets__grid li:nth-child(2) .bs-budget) :is(.bs-button, .bs-button--outline, .pg-btn, .pg-btn-ghost):hover {
	background: #fff; border-color: var(--bs-color-ink); color: var(--bs-color-ink); box-shadow: none;
}

/* Dark panels (ink, photos with dark overlay, footer, sticky bars): ink buttons would vanish →
   lime at rest, white on hover. Outline buttons become white outlines. */
html:not(#bs) :is(.bs-story, .pg-statement, .bs-newsletter__card, .bs-finder__form, .bs-dash__hero, .bs-auth__aside, .bs-campaign, .bs-lf-banner, .pg-cta__band, .bs-ft__main, .bs-ft__bottom, .bs-stickybag, .bs-budgets__grid li:nth-child(4)) :is(.bs-button:not(.bs-button--outline), .pg-btn:not(.pg-btn-ghost):not(.pg-btn--ghost-light), .bs-stickybag__go, .button:not(.bs-button--outline)) {
	background: var(--bs-color-lime); border-color: var(--bs-color-lime); color: var(--bs-color-ink);
}
html:not(#bs) :is(.bs-story, .pg-statement, .bs-newsletter__card, .bs-finder__form, .bs-dash__hero, .bs-auth__aside, .bs-campaign, .bs-lf-banner, .pg-cta__band, .bs-ft__main, .bs-ft__bottom, .bs-budgets__grid li:nth-child(4)) :is(.bs-button--outline, .pg-btn-ghost, .pg-btn--ghost-light) {
	background: transparent; border-color: color-mix(in srgb, #fff 65%, transparent); color: #fff;
}
html:not(#bs) :is(.bs-story, .pg-statement, .bs-newsletter__card, .bs-finder__form, .bs-dash__hero, .bs-auth__aside, .bs-campaign, .bs-lf-banner, .pg-cta__band, .bs-ft__main, .bs-ft__bottom, .bs-stickybag, .bs-budgets__grid li:nth-child(4)) :is(.bs-button, .pg-btn, .pg-btn-ghost, .pg-btn--ghost-light, .bs-stickybag__go, .button):hover {
	background: #fff; border-color: #fff; color: var(--bs-color-ink); box-shadow: none;
}

/* Header Menu pill (ink on white): hover keeps an ink edge. */

/* After adding, the button keeps its normal colours (WooCommerce tags it ".added"; the bag
   drawer already confirms the add). Hover still works as on every other button. */
html:not(#bs) :is(.bs-product-card__add, .single_add_to_cart_button).added { background: var(--bs-color-button-bg); border-color: var(--bs-color-button-bg); color: var(--bs-color-button-text); box-shadow: none; transform: none; }
html:not(#bs) :is(.bs-product-card__add, .single_add_to_cart_button).added:hover { background: var(--bs-color-lime); border-color: var(--bs-color-ink); color: var(--bs-color-ink); }
/* Phones/tablets: a tap leaves ":hover" stuck on, which painted the button green after adding.
   Touch screens get no hover colour on add-to-bag buttons (the press effect stays). */
@media (hover: none) {
	html:not(#bs) :is(.bs-product-card__add, .single_add_to_cart_button):not(.bs-buybar *):hover { background: var(--bs-color-button-bg); border-color: var(--bs-color-button-bg); color: var(--bs-color-button-text); box-shadow: none; transform: none; }
}

/* Keyboard focus is always visible (ink ring on light, white ring on dark). */
html:not(#bs) :is(a, button, input[type="submit"], .bs-button, .button, summary):focus-visible { outline: 2px solid var(--bs-color-ink); outline-offset: 3px; }
html:not(#bs) :is(.bs-story, .pg-statement, .bs-newsletter__card, .bs-finder__form, .bs-dash__hero, .bs-campaign, .pg-cta__band, .bs-ft__main, .bs-ft__bottom, .bs-stickybag, .bs-announcement) :is(a, button, .bs-button):focus-visible { outline-color: #fff; }

/* =====================================================================
 * 2. Touch screens: no stuck hover, a soft press instead
 * ===================================================================== */
@media (hover: none) {
	html:not(#bs) :is(.bs-button, .pg-btn, .pg-btn-ghost, .button, a.button, button.button, input[type="submit"], .wc-block-components-button, .bs-product-card__add, .single_add_to_cart_button, .bs-buy-now, .bs-buybar__btn, .bs-stickybag__go, .bs-mcart__checkout, .bs-hicon, .bs-dquick a, .bs-cattile, .bs-budget, .bs-promo):hover { transform: none; box-shadow: none; }
	html:not(#bs) .bs-product-card:hover { transform: none; box-shadow: none; }
}
html:not(#bs) :is(.bs-button, .pg-btn, .pg-btn-ghost, .button, a.button, button.button, input[type="submit"], .wc-block-components-button:not(.is-link), .bs-product-card__add, .single_add_to_cart_button, .bs-buy-now, .bs-buybar__btn, .bs-stickybag__go, .bs-mcart__checkout, .bs-hicon, .bs-dquick a, .bs-ss__go):active {
	transform: scale(0.97);
	transition-duration: 0.08s;
}
html:not(#bs) :is(.bs-product-card, .bs-cattile, .bs-budget, .bs-promo, .bs-feature, .pg-related__card):active { transform: scale(0.985); transition: transform 0.1s ease; }
html { -webkit-tap-highlight-color: transparent; }

/* =====================================================================
 * 3. Phones (≤ 767px): one size system
 * ===================================================================== */
@media (max-width: 767px) {

	/* ---------- Tokens: everything built on them shrinks together ---------- */
	html:not(#bs) {
		--bs-font-size-base: 15px;
		--bs-h1: 34px;
		--bs-h2: 26px;
		--bs-h3: 19px;
		--bs-h4: 17px;
		--bs-small: 13px;
		--bs-line-height: 1.55;
		--bs-header-height: 58px;
		--bs-rhythm: 36px;
		--bs-space: 36px;
		--bs-pad: 16px;
		--bs-r-lg: 20px;
		--bs-r-md: 16px;
		--bs-r-sm: 12px;
		--bs-radius-card: 16px;
	}
	html:not(#bs) body { font-size: 15px; line-height: 1.55; }

	/* ---------- Type: display 28 / section 21 / card 17 / body 15 / small 13 ---------- */
	html:not(#bs) :is(.bs-hero__title, .bs-shophead__title, .pg-hero__title, .pg-hero--brand .pg-hero__title, .bs-thanks__title) { font-size: 29px; line-height: 1.06; letter-spacing: -0.035em; }
	html:not(#bs) :is(.single-product .product_title, .woocommerce div.product .summary .product_title, .woocommerce-account .entry-title, .woocommerce-checkout .entry-title, .bs-entry__title) { font-size: 23px; line-height: 1.15; letter-spacing: -0.025em; }
	html:not(#bs) :is(.bs-section-title, .bs-campaign__title, .bs-ft__cta-title, .pg-cta__title, .bs-story__headline, .bs-lf-banner__title, .bs-lf__title, .bs-pdp-details h2, .bs-pdp-details .woocommerce-Reviews-title, .bs-pdp-about-block h2, .bs-reviews__head h2, .bs-videos h2, .pg-tool__title, .bs-shopafter__title, .bs-shoprecent__title, .bs-mic__title, .pg-policy__sec h2, .bs-cf__title, .pg-head h2, .pg-title, .related.products > h2, .up-sells > h2, .wp-block-woocommerce-empty-cart-block h2) { font-size: 21px; line-height: 1.18; letter-spacing: -0.025em; }
	html:not(#bs) .woocommerce .bs-pdp-details #reviews .woocommerce-Reviews-title { font-size: 21px; }
	html:not(#bs) :is(.woocommerce-account .woocommerce .bs-dash__name, .woocommerce-account .woocommerce .bs-dash__hello, .woocommerce-account .woocommerce .bs-acc-title, .woocommerce-account .woocommerce .bs-auth__headline, .woocommerce-account .woocommerce .bs-auth__title, body.woocommerce-order-received .woocommerce-thankyou-order-received) { font-size: 22px; line-height: 1.15; }
	html:not(#bs) .pg-statement__text { font-size: 20px; line-height: 1.3; }
	html:not(#bs) :is(.bs-promo__title, .bs-feature__title, .bs-budget__label, .bs-lf-cta__title, .bs-modal__title, .bs-thanks__h2, .pg-card__title, .pg-related__title, .bs-reviews__empty h3, .bs-reviews__form .comment-reply-title, .bs-filters__title, .pg-steps__title, .pg-explorer__panel h3, .pg-explorer__copy h3, .bs-returns__title, .bs-mcart__empty .bs-mcart__empty-title, .woocommerce-Tabs-panel h2, .bs-story-tab__h) { font-size: 17px; line-height: 1.25; letter-spacing: -0.015em; }
	html:not(#bs) .bs-drawer__title { font-size: 18px; }
	html:not(#bs) :is(.bs-hero__text, .bs-shophead__text, .pg-hero__text, .bs-campaign__text, .bs-lf-banner__text, .bs-ft__cta-text) { font-size: 14.5px; line-height: 1.5; }
	html:not(#bs) :is(.bs-section-sub, .bs-promo__text, .bs-feature__text, .bs-budget__sub, .pg-steps__text, .pg-explorer__panel p, .bs-returns__panel p, .bs-aboutfaq__text) { font-size: 13.5px; line-height: 1.5; }
	html:not(#bs) :is(.bs-eyebrow, .bs-hero__eyebrow, .bs-shophead__eyebrow, .pg-eyebrow, .pg-hero__eyebrow, .bs-ft__eyebrow, .bs-lf-banner__kicker, .bs-lf-cta__kicker, .bs-drawer__label) { font-size: 10.5px; letter-spacing: 0.12em; margin-bottom: 6px; }
	html:not(#bs) :is(.bs-reviews__avg) { font-size: 44px; }
	html:not(#bs) :is(.pg-explorer__num) { font-size: 30px; }
	html:not(#bs) :is(.bs-trust__value, .pg-stat__value, .bs-dash__stat-value, .bs-dash__stats dd) { font-size: 18px; }
	html:not(#bs) .bs-wordmark { font-size: 21px; }
	html:not(#bs) .bs-ft__name { font-size: 24px; }
	html:not(#bs) .bs-announcement { font-size: 10.5px; letter-spacing: 0.06em; }
	html:not(#bs) .bs-announcement__inner { min-height: 32px; padding-block: 6px; }

	/* Prices */
	html:not(#bs) .woocommerce div.product .summary :is(p.price, span.price) { font-size: 20px; }
	html:not(#bs) .bs-product-card__price { font-size: 14px; margin-bottom: 6px; }
	html:not(#bs) .bs-product-card__title { font-size: 13px; line-height: 1.3; min-height: 2.6em; }
	html:not(#bs) :is(.bs-lf-cta__price, .bs-mcart__foot .woocommerce-mini-cart__total .amount) { font-size: 18px; }

	/* ---------- Buttons: 44px touch target, 13px label, one line ---------- */
	html:not(#bs) :is(.bs-button, .pg-btn, .pg-btn-ghost, .button, a.button, button.button, input[type="submit"], .wp-block-button__link, .wc-block-components-button:not(.is-link), .bs-m-submit, .bs-mic__go, .bs-buy-now, .bs-button--outline) {
		min-height: 44px; padding: 0 20px; gap: 8px;
		font-size: 13px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.1;
		border-width: 1.5px;
	}
	/* Main checkout actions: full width, a touch taller */
	html:not(#bs) :is(.single_add_to_cart_button, .bs-buy-now, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .checkout-button, .bs-mcart__checkout, .woocommerce-mini-cart__buttons .button) {
		min-height: 50px; font-size: 14px; letter-spacing: 0.02em;
	}
	/* Small buttons */
	html:not(#bs) :is(.bs-button--sm, .bs-ai__action, .bs-ocard__actions .bs-button, .woocommerce-MyAccount-content table.shop_table .button, .bs-shopafter__actions .bs-button, .bs-promo .bs-button) { min-height: 38px; padding: 0 16px; font-size: 12px; }
	/* Product card button: compact, still a 36px target */
	html:not(#bs) .bs-product-card__add, html:not(#bs) .woocommerce ul.bs-product-grid li.product a.bs-product-card__add { min-height: 36px; padding: 0 8px; border-width: 1px; font-size: 11px; letter-spacing: 0.03em; border-radius: 999px; }
	/* Sticky bars */
	html:not(#bs) .bs-buybar__btn { min-height: 42px; padding: 0 16px; font-size: 12.5px; }
	html:not(#bs) .bs-stickybag:not([hidden]) { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px 6px 6px 8px; gap: 10px; }
	html:not(#bs) .bs-stickybag__count { width: 30px; height: 30px; font-size: 13px; }
	html:not(#bs) .bs-stickybag__meta strong { font-size: 14px; }
	html:not(#bs) .bs-stickybag__meta small { font-size: 11px; }
	html:not(#bs) .bs-stickybag__go { min-height: 38px; padding: 0 16px; font-size: 12px; letter-spacing: 0.03em; }

	/* Button rows: spacing from the parent only, buttons share the width */
	html:not(#bs) :is(.bs-ft__cta-actions, .pg-cta__actions, .pg-hero__actions, .bs-lf-cta__actions, .bs-shopafter__actions, .bs-thanks__actions, .bs-drawer__foot, .woocommerce-mini-cart__buttons) { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
	html:not(#bs) :is(.bs-ft__cta-actions, .pg-cta__actions, .pg-hero__actions, .bs-lf-cta__actions, .bs-shopafter__actions, .bs-drawer__foot, .woocommerce-mini-cart__buttons) > * { flex: 1 1 0; min-width: 0; margin: 0; }
	html:not(#bs) .bs-thanks__actions { flex-direction: column; }
	html:not(#bs) .bs-thanks__actions > * { margin: 0; }
	/* A button wrapped in its own paragraph: no stray paragraph margin */
	html:not(#bs) :is(p, div):has(> .bs-button:only-child, > .pg-btn:only-child) { margin-block: 0; }
	html:not(#bs) :is(.bs-hero__copy, .bs-shophead__copy, .pg-hero__copy, .bs-campaign__copy, .bs-promo__copy, .bs-feature__copy, .pg-cta__copy, .bs-ft__cta-copy, .bs-lf-cta__copy, .bs-lf-banner__copy, .bs-returns__panel, .bs-aboutfaq__about) > :last-child { margin-bottom: 0; }
	html:not(#bs) :is(.bs-hero__copy, .bs-shophead__copy, .pg-hero__copy, .bs-campaign__copy, .bs-promo__copy, .bs-feature__copy, .pg-cta__copy, .bs-ft__cta-copy, .bs-lf-cta__copy, .bs-lf-banner__copy) > :first-child { margin-top: 0; }

	/* ---------- Fields: 16px text so iPhone never zooms in ---------- */
	html:not(#bs) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], select, textarea, .input-text, .bs-ss__input, .bs-search__field) { font-size: 16px; }
	html:not(#bs) :is(.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .bs-m-form input:not([type="checkbox"]):not([type="radio"])) { min-height: 46px; }
	html:not(#bs) .woocommerce div.product form.cart .quantity .qty { min-height: 50px; }

	/* ---------- Header ---------- */
	html:not(#bs) .bs-header--slim .bs-header__inner { min-height: 58px; gap: 6px; padding-block: 4px; }
	html:not(#bs) .bs-hicon { width: 40px; height: 40px; }
	html:not(#bs) .bs-hicon svg { width: 21px; height: 21px; }
	html:not(#bs) .bs-hicon .bs-bag-link__count { top: 0; right: -2px; min-width: 18px; height: 18px; font-size: 10px; }
	html:not(#bs) .bs-hicon__avatar { width: 30px; height: 30px; font-size: 13px; }
	html:not(#bs) .bs-searchbar__inner { padding-block: 10px; gap: 8px; }
	html:not(#bs) .bs-searchbar .bs-ss { height: 46px; padding-left: 14px; border-width: 1.5px; }
	html:not(#bs) .bs-searchbar .bs-ss__go--header { min-height: 36px; padding: 0 14px; font-size: 12px; }
	html:not(#bs) .bs-drawer__search .bs-ss { height: 46px; }

	/* ---------- Section rhythm: one gap between sections, one under headings ---------- */
	html:not(#bs) :is(.bs-home-section, .pg-sec) { padding-top: 36px; }
	html:not(#bs) :is(.bs-section-head, .pg-head, .pg-sec > .bs-container > header) { margin-bottom: 14px; gap: 10px; }
	html:not(#bs) .bs-section-head > * { margin-bottom: 0; }
	html:not(#bs) .bs-section-sub { margin-top: 4px; }
	html:not(#bs) .bs-ft { margin-top: 44px; padding-top: 32px; }
	html:not(#bs) :is(.bs-entry--app.bs-section) { padding-top: 18px; }

	/* ---------- Home ---------- */
	html:not(#bs) .bs-hero { padding-top: 10px; }
	html:not(#bs) .bs-hero__copy { padding: 22px 18px 20px; gap: 10px; }
	html:not(#bs) .bs-hero__media { height: 200px; min-height: 0; }
	html:not(#bs) .bs-hero__chip { width: 64px; height: 64px; font-size: 8.5px; }
	html:not(#bs) .bs-cattile__name { font-size: 12.5px; margin-top: 6px; }
	html:not(#bs) .bs-product-grid { gap: 10px; }
	html:not(#bs) .bs-product-card { gap: 3px; padding: 6px 6px 8px; }
	html:not(#bs) .bs-badge { left: 6px; top: 6px; padding: 3px 7px; font-size: 9.5px; }
	html:not(#bs) .bs-promo { min-height: 150px; padding: 18px; }
	html:not(#bs) .bs-promo__text { margin-bottom: 12px; }
	html:not(#bs) .bs-budget { min-height: 92px; padding: 12px; }
	html:not(#bs) .bs-budget__go { width: 26px; height: 26px; top: 8px; right: 8px; }
	html:not(#bs) .bs-campaign__frame { min-height: 200px; padding: 20px; }
	html:not(#bs) .bs-feature { min-height: 130px; padding: 16px; }
	html:not(#bs) .bs-promises__band { padding: 14px 12px; gap: 12px 8px; }
	html:not(#bs) .bs-promises__icon { width: 36px; height: 36px; }
	html:not(#bs) .bs-promises__item strong { font-size: 13px; }
	html:not(#bs) .bs-promises__item small { font-size: 11.5px; }
	html:not(#bs) :is(.bs-segmented > button, .bs-filterpills > *, .bs-chip, .bs-step) { min-height: 36px; padding: 0 14px; font-size: 13px; }
	html:not(#bs) :is(.bs-finder__form, .bs-newsletter__card, .bs-returns__card, .bs-delivery__card) { padding: 20px 16px; }
	html:not(#bs) .bs-arrow-link { font-size: 12.5px; }

	/* ---------- Shop ---------- */
	html:not(#bs) .bs-shophead__copy { padding: 18px 16px 20px; gap: 8px; }
	html:not(#bs) .bs-shop__bar { gap: 8px; margin-bottom: 12px; }
	html:not(#bs) :is(.bs-filters-toggle, .bs-shop__sort select, .woocommerce-ordering select) { min-height: 40px; font-size: 13px; }
	html:not(#bs) .bs-shop__results { font-size: 12.5px; }
	html:not(#bs) .woocommerce-pagination ul.page-numbers > li > :is(a, span) { min-width: 38px; height: 38px; padding: 0 10px; font-size: 13px; }
	html:not(#bs) .bs-shopafter__cta { padding: 20px 16px; gap: 14px; }

	/* ---------- Product page ---------- */
	html:not(#bs) .woocommerce div.product .summary { gap: 10px; }
	html:not(#bs) .woocommerce div.product .woocommerce-product-details__short-description { font-size: 14px; }
	html:not(#bs) .woocommerce div.product .flex-control-thumbs li { width: 56px; }
	html:not(#bs) .bs-lf__sec { padding-top: 32px; }
	html:not(#bs) :is(.bs-lf-benefit, .bs-lf-faq__item, .bs-lf-specs__note) { padding: 14px; }
	html:not(#bs) .bs-lf-cta__card { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 16px; }
	html:not(#bs) .bs-lf-banner__frame { min-height: 240px; padding: 20px; }
	html:not(#bs) .bs-buybar { padding-block: 8px; }
	html:not(#bs) .bs-buybar__name { font-size: 13px; }
	html:not(#bs) .bs-buybar__price { font-size: 13px; }

	/* ---------- Cart & checkout ---------- */
	html:not(#bs) .wc-block-components-checkout-step__title, html:not(#bs) .bs-checkout-shell .wc-block-components-title.wc-block-components-title { font-size: 17px; }
	html:not(#bs) .wc-block-components-checkout-order-summary__title-text { font-size: 16px; }
	html:not(#bs) :is(.wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value) { font-size: 18px; }
	html:not(#bs) .wc-block-components-product-name { font-size: 14px; line-height: 1.35; }
	html:not(#bs) .wc-block-cart .wc-block-cart-items td { padding-block: 12px; }
	html:not(#bs) .wc-block-cart .wc-block-components-sidebar, html:not(#bs) .bs-checkout-shell .wc-block-components-sidebar { padding: 16px; }
	html:not(#bs) .wc-block-components-checkout-step { margin-bottom: 20px; }
	html:not(#bs) .bs-cart-assure { font-size: 12px; gap: 4px 10px; }

	/* ---------- Drawers ---------- */
	html:not(#bs) dialog.bs-drawer { width: min(420px, 92vw); }
	html:not(#bs) .bs-drawer__head { padding: 10px 10px 10px 16px; }
	html:not(#bs) .bs-drawer__body { padding: 12px 16px 20px; }
	html:not(#bs) .bs-dmenu > li > a { min-height: 46px; font-size: 16px; }
	html:not(#bs) .bs-dmenu .sub-menu a { min-height: 38px; font-size: 14px; }
	html:not(#bs) .bs-dquick { gap: 8px; }
	html:not(#bs) .bs-dquick a { min-height: 46px; padding: 0 12px; font-size: 13px; }
	html:not(#bs) .bs-drawer__cols .bs-dmenu > li > a { min-height: 34px; font-size: 13.5px; }
	html:not(#bs) .bs-dask { padding: 12px; }
	html:not(#bs) .bs-drawer__foot { padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); }
	html:not(#bs) .bs-drawer .bs-mcart li.bs-mcart__item { grid-template-columns: 60px minmax(0, 1fr); gap: 10px; padding: 10px; }
	html:not(#bs) .bs-drawer .bs-mcart__media { width: 60px; height: 60px; }
	html:not(#bs) .bs-mcart__name { font-size: 13.5px; }
	html:not(#bs) .bs-mcart__foot { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }

	/* ---------- Pages ---------- */
	html:not(#bs) :is(.pg-steps__panel, .pg-explorer__panel, .pg-related__card) { padding: 16px; }
	html:not(#bs) .pg-cta__band { padding: 22px 18px; gap: 14px; }
	html:not(#bs) .pg-hero__copy { padding: 22px 18px; gap: 10px; }

	/* ---------- Account & orders ---------- */
	html:not(#bs) .bs-dash__stat { padding: 12px; }
	html:not(#bs) .woocommerce-account .woocommerce-Addresses .woocommerce-Address { padding: 16px; }
	html:not(#bs) :is(.bs-thanks__card, .bs-thanks__summary, .bs-ocard) { padding: 16px; }

	/* ---------- Footer ---------- */
	html:not(#bs) .bs-ft__cta { padding: 20px 18px; gap: 14px; }
	html:not(#bs) .bs-ft__main { gap: 24px; }
	html:not(#bs) .bs-ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
	html:not(#bs) .bs-ft :is(.bs-footer__menu a, .bs-ft__contact-link) { font-size: 13.5px; }
	html:not(#bs) .bs-ft .bs-footer__heading { font-size: 11px; margin-bottom: 8px; }
	html:not(#bs) .bs-ft__promise { gap: 12px 8px; }
	html:not(#bs) .bs-ft__bottom { font-size: 12px; gap: 8px; }
	html:not(#bs) .bs-ft__picon { width: 34px; height: 34px; }
}

/* Very small phones (≤ 380px) */
@media (max-width: 380px) {
	html:not(#bs) :is(.bs-hero__title, .bs-shophead__title, .pg-hero__title, .bs-thanks__title) { font-size: 26px; }
	html:not(#bs) .bs-section-title { font-size: 19px; }
	html:not(#bs) .bs-wordmark { font-size: 19px; }
	html:not(#bs) .bs-hicon { width: 38px; height: 38px; }
	html:not(#bs) .bs-product-card__add { font-size: 10.5px; }
}

/* =====================================================================
 * 4. Motion — quiet, quick, never blocks content
 * ===================================================================== */
:root { --bs-ease-lux: cubic-bezier(.22, 1, .36, 1); }
html:not(#bs) .bs-drawer__panel { transition: transform 0.42s var(--bs-ease-lux); }
html:not(#bs) dialog.bs-drawer::backdrop { transition: opacity 0.3s ease; }
html:not(#bs) dialog.bs-drawer.is-open :is(.bs-dmenu > li, .bs-dquick > li, .bs-mcart__item) { animation: bs-lux-in 0.45s var(--bs-ease-lux) both; }
html:not(#bs) dialog.bs-drawer.is-open :is(.bs-dmenu > li, .bs-dquick > li, .bs-mcart__item):nth-child(2) { animation-delay: 0.03s; }
html:not(#bs) dialog.bs-drawer.is-open :is(.bs-dmenu > li, .bs-dquick > li, .bs-mcart__item):nth-child(3) { animation-delay: 0.06s; }
html:not(#bs) dialog.bs-drawer.is-open :is(.bs-dmenu > li, .bs-dquick > li, .bs-mcart__item):nth-child(4) { animation-delay: 0.09s; }
html:not(#bs) dialog.bs-drawer.is-open :is(.bs-dmenu > li, .bs-dquick > li, .bs-mcart__item):nth-child(n+5) { animation-delay: 0.12s; }
@keyframes bs-lux-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
html:not(#bs) .bs-product-card__media img { transition: transform 0.6s var(--bs-ease-lux); }
@media (hover: hover) { html:not(#bs) .bs-product-card:hover .bs-product-card__media img { transform: scale(1.04); } }
html:not(#bs) :is(.bs-button, .pg-btn, .pg-btn-ghost, .button, .bs-product-card__add, .bs-hicon, .bs-stickybag__go) { transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.18s var(--bs-ease-lux), box-shadow 0.25s ease; }
@media (prefers-reduced-motion: reduce) {
	html:not(#bs) dialog.bs-drawer.is-open :is(.bs-dmenu > li, .bs-dquick > li, .bs-mcart__item) { animation: none; }
	html:not(#bs) :is(.bs-drawer__panel, .bs-product-card__media img) { transition: none; }
	html:not(#bs) :is(.bs-button, .pg-btn, .button, .bs-product-card, .bs-product-card__add):active { transform: none; }
}

/* =====================================================================
 * 5. "Your bag" card — cart + checkout, phones and tablets
 * ===================================================================== */
.bs-bagsum { margin: 0 0 16px; }
.bs-bagsum[hidden] { display: none; }
@media (min-width: 1000px) { .bs-bagsum { display: none; } }
.bs-bagsum__box { border: 1px solid var(--bs-color-border); border-radius: var(--bs-r-md, 16px); background: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--bs-color-ink) 6%, transparent); overflow: hidden; }
.bs-bagsum__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; list-style: none; cursor: pointer; background: var(--bs-color-surface); }
.bs-bagsum__head::-webkit-details-marker { display: none; }
.bs-bagsum__thumbs { display: flex; flex: 0 0 auto; }
.bs-bagsum__thumbs img { width: 36px; height: 36px; object-fit: cover; border: 2px solid #fff; border-radius: 10px; background: var(--bs-color-card-bg); }
.bs-bagsum__thumbs img + img { margin-left: -12px; }
.bs-bagsum__title { display: grid; flex: 1 1 auto; min-width: 0; line-height: 1.2; }
.bs-bagsum__title strong { color: var(--bs-color-ink); font-family: var(--bs-font-heading); font-size: 15px; font-weight: 800; }
.bs-bagsum__title small { color: var(--bs-color-muted); font-size: 12.5px; }
.bs-bagsum__total { color: var(--bs-color-ink); font-family: var(--bs-font-heading); font-size: 16px; font-weight: 800; white-space: nowrap; }
.bs-bagsum__chev { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: #fff; position: relative; transition: transform 0.3s var(--bs-ease-lux); }
.bs-bagsum__chev::before { content: ""; position: absolute; left: 50%; top: 45%; width: 7px; height: 7px; border-right: 2px solid var(--bs-color-ink); border-bottom: 2px solid var(--bs-color-ink); transform: translate(-50%, -50%) rotate(45deg); }
.bs-bagsum__box[open] .bs-bagsum__chev { transform: rotate(180deg); }
.bs-bagsum__box[open] .bs-bagsum__body { animation: bs-bagsum-open 0.35s var(--bs-ease-lux); }
@keyframes bs-bagsum-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.bs-bagsum__body { padding: 4px 14px 14px; }
.bs-bagsum__list { list-style: none; margin: 0; padding: 0; }
.bs-bagsum__item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bs-color-border); }
.bs-bagsum__media { position: relative; width: 52px; height: 52px; }
.bs-bagsum__media img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; background: var(--bs-color-card-bg); }
.bs-bagsum__qty { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: var(--bs-color-ink); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 1; }
.bs-bagsum__info { display: grid; gap: 2px; min-width: 0; }
.bs-bagsum__name { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--bs-color-ink); font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.bs-bagsum__meta, .bs-bagsum__unit { color: var(--bs-color-muted); font-size: 12px; line-height: 1.3; }
.bs-bagsum__line { color: var(--bs-color-ink); font-size: 14px; font-weight: 800; white-space: nowrap; }
.bs-bagsum__totals { display: grid; gap: 6px; margin: 12px 0 0; }
.bs-bagsum__totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.bs-bagsum__totals dt { margin: 0; color: var(--bs-color-muted); }
.bs-bagsum__totals dd { margin: 0; color: var(--bs-color-ink); font-weight: 700; }
.bs-bagsum__totals .is-discount dd { color: var(--bs-color-success); }
.bs-bagsum__totals .is-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--bs-color-border); font-size: 15px; }
.bs-bagsum__totals .is-total :is(dt, dd) { color: var(--bs-color-ink); font-weight: 800; }
.bs-bagsum__edit { margin: 10px 0 0; text-align: right; font-size: 13px; }
.bs-bagsum__edit a { color: var(--bs-color-ink); font-weight: 700; text-underline-offset: 3px; }

/* =====================================================================
 * 6. Header — three equal zones so the logo is always in the true centre:
 *    left (menu button on smaller screens, links on desktop) · logo · icons.
 *    White like the homepage. Hides while scrolling down, back on a small scroll up.
 * ===================================================================== */
html:not(#bs) .bs-header { background: var(--bs-color-header-bg); border-bottom: 1px solid var(--bs-color-border); transition: transform 0.38s var(--bs-ease-lux), box-shadow 0.25s ease; }
html:not(#bs) .bs-header.is-scrolled { box-shadow: 0 8px 30px color-mix(in srgb, var(--bs-color-ink) 7%, transparent); }
html:not(#bs) .bs-header.is-hidden { transform: translateY(-102%); box-shadow: none; }
/* Phones & tablets: logo left, every icon (search, wishlist, account, bag, menu) right — one row. */
html:not(#bs) .bs-header--slim .bs-header__inner { display: flex; align-items: center; gap: 8px; min-height: 60px; padding-block: 0; grid-template-areas: none; }
html:not(#bs) .bs-header--slim :is(.bs-header__left, .bs-header__brand, .bs-header__actions) { grid-area: auto; margin: 0; }
html:not(#bs) .bs-header--slim .bs-header__brand { order: 1; flex: 0 1 auto; min-width: 0; display: flex; align-items: center; }
html:not(#bs) .bs-header--slim .bs-header__actions { order: 2; display: flex; align-items: center; gap: 0; margin-left: auto; }
html:not(#bs) .bs-header__left { order: 3; display: flex; align-items: center; gap: 18px; min-width: 0; }
html:not(#bs) .bs-header--slim .bs-header__main { display: none; min-width: 0; }
html:not(#bs) .bs-wordmark { display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 0; line-height: 1; text-align: center; }
html:not(#bs) .bs-wordmark__tag { display: none; }
html:not(#bs) .custom-logo-link { display: flex; align-items: center; justify-content: center; }
html:not(#bs) .custom-logo { display: block; width: auto; max-height: 44px; }
/* Icons: same size, same gap, plain (no filled circles) */
html:not(#bs) .bs-hicon { width: 42px; height: 42px; margin: 0; background: transparent; }
html:not(#bs) .bs-hicon:hover { background: var(--bs-skin-chip); }
html:not(#bs) .bs-hicon .bs-bag-link__count { top: 3px; right: 1px; border-color: var(--bs-color-header-bg); }
html:not(#bs) .bs-hicon__avatar { width: 28px; height: 28px; font-size: 12.5px; }
html:not(#bs) .bs-hicon__dot { right: 6px; bottom: 7px; width: 9px; height: 9px; }
/* Menu button: an icon on the left, never a pill */
html:not(#bs) .bs-hicon--menu { width: 42px; height: 42px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--bs-color-ink); justify-content: center; }
html:not(#bs) .bs-hicon--menu:hover { background: var(--bs-skin-chip); border: 0; color: var(--bs-color-ink); }
html:not(#bs) .bs-hicon--menu .bs-hicon__label { display: none; }
/* Account icon stays visible on small phones too (owner: search · wishlist · bag · account · menu). */
@media (max-width: 420px) {
	html:not(#bs) .bs-hicon--account { display: inline-grid; }
}
@media (min-width: 1024px) {
	/* Desktop: three equal zones, one row only (the old 2-row search layout left an empty row). */
	html:not(#bs) .bs-header--slim .bs-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: none; gap: 24px; min-height: 80px; padding-block: 0; }
	html:not(#bs) .bs-header--slim .bs-header__left { order: 0; grid-column: 1; grid-row: 1; justify-self: start; }
	html:not(#bs) .bs-header--slim .bs-header__brand { order: 0; grid-column: 2; grid-row: 1; justify-self: center; }
	html:not(#bs) .bs-header--slim .bs-header__actions { order: 0; grid-column: 3; grid-row: 1; justify-self: end; margin: 0; }
	html:not(#bs) .bs-header--slim .bs-header__main { display: block; }
	html:not(#bs) .bs-mainmenu { display: flex; flex-wrap: nowrap; gap: 0 clamp(18px, 2vw, 32px); }
	html:not(#bs) .bs-mainmenu a { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0; border-radius: 0; background: none; color: var(--bs-color-ink); font-size: 15px; font-weight: 700; white-space: nowrap; }
	html:not(#bs) .bs-mainmenu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--bs-color-ink); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--bs-ease-lux); }
	html:not(#bs) .bs-mainmenu a:hover, html:not(#bs) .bs-mainmenu .current-menu-item > a, html:not(#bs) .bs-mainmenu .current-menu-ancestor > a { background: none; color: var(--bs-color-ink); }
	html:not(#bs) .bs-mainmenu a:hover::after, html:not(#bs) .bs-mainmenu .current-menu-item > a::after, html:not(#bs) .bs-mainmenu .current-menu-ancestor > a::after { transform: scaleX(1); }
	html:not(#bs) .bs-wordmark { font-size: 32px; }
	html:not(#bs) .bs-header__actions { gap: 4px; }
	html:not(#bs) .bs-hicon { width: 44px; height: 44px; }
	html:not(#bs) .bs-hicon svg { width: 22px; height: 22px; }
	/* 1024–1279: menu button + first 4 links; 1280+: all links, no menu button */
	html:not(#bs) .bs-mainmenu > li:nth-child(n+5) { display: none; }
}
@media (min-width: 1280px) {
	html:not(#bs) .bs-hicon--menu { display: none; }
	html:not(#bs) .bs-mainmenu > li:nth-child(n+5) { display: list-item; }
}

/* =====================================================================
 * 7. Wishlist — hearts, header count, toast, page
 * ===================================================================== */
html:not(#bs) .bs-wish { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0; border: 0; background: none; color: var(--bs-color-ink); cursor: pointer; min-height: 0; box-shadow: none; text-transform: none; letter-spacing: 0; }
html:not(#bs) .bs-wish svg { fill: transparent; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: fill 0.25s ease, stroke 0.25s ease, transform 0.25s var(--bs-ease-lux); }
html:not(#bs) .bs-wish.is-on svg { fill: var(--bs-color-coral-strong); stroke: var(--bs-color-coral-strong); }
html:not(#bs) .bs-wish.is-pop svg { animation: bs-wish-pop 0.5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bs-wish-pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 70% { transform: scale(0.9); } 100% { transform: scale(1); } }
/* On cards: round white button top-right of the photo */
/* The photo sits above the card's invisible "whole card is a link" layer, so the heart is tappable. */
html:not(#bs) .bs-product-card__media { position: relative; z-index: 2; }
html:not(#bs) .bs-wish--card { position: absolute; top: 8px; right: 8px; z-index: 5; touch-action: manipulation; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, #fff 92%, transparent); box-shadow: 0 4px 14px color-mix(in srgb, var(--bs-color-ink) 12%, transparent); }
html:not(#bs) .bs-wish--card:hover { background: #fff; transform: scale(1.06); }
html:not(#bs) .bs-wish--card svg { width: 18px; height: 18px; }
/* On the product page: pill "Save" */
html:not(#bs) .bs-wish--pdp { min-height: 36px; padding: 0 14px 0 12px; border: 1.5px solid var(--bs-color-border); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; transition: border-color 0.2s ease, background-color 0.2s ease; }
html:not(#bs) .bs-wish--pdp:hover { border-color: var(--bs-color-ink); background: #fff; color: var(--bs-color-ink); }
html:not(#bs) .bs-wish--pdp.is-on { border-color: color-mix(in srgb, var(--bs-color-coral-strong) 45%, transparent); background: var(--bs-color-blush); }
/* Header heart */
html:not(#bs) .bs-hicon--wish.is-bump svg { animation: bs-wish-pop 0.5s cubic-bezier(.3, 1.6, .5, 1); }
html:not(#bs) .bs-wish-count[hidden] { display: none; }
@media (max-width: 360px) { html:not(#bs) .bs-hicon { width: 38px; height: 38px; } }
/* Toast */
/* Toast: full width on phones (left+right, not left:50%, which squeezed it to half the screen). */
.bs-wtoast { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 2147483001; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: auto; max-width: 440px; margin: 0 auto; padding: 10px 10px 10px 18px; border-radius: 18px; background: var(--bs-color-ink); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; box-shadow: 0 16px 40px color-mix(in srgb, var(--bs-color-ink) 35%, transparent); opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity 0.3s ease, transform 0.4s var(--bs-ease-lux); }
.bs-wtoast.is-on { opacity: 1; pointer-events: auto; transform: none; }
.bs-wtoast span { flex: 1 1 auto; min-width: 0; }
.bs-wtoast a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--bs-color-lime); color: var(--bs-color-ink); font-size: 12.5px; font-weight: 800; text-decoration: none; white-space: nowrap; }
/* Stack above whichever bottom bar is showing — never on top of it. */
html.bs-buybar-on .bs-wtoast { bottom: calc(82px + env(safe-area-inset-bottom)); }
body:has(.bs-stickybag:not([hidden]):not(.is-closed)) .bs-wtoast { bottom: calc(80px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { html.bs-buybar-on .bs-wtoast { bottom: 100px; } }

/* Floating "Checkout" bag bar: closable, one tidy row. */
html:not(#bs) .bs-stickybag.is-closing { opacity: 0; transform: translateY(20px); transition: opacity 0.2s ease, transform 0.2s ease; }
html:not(#bs) .bs-stickybag.is-closed { display: none !important; }
html:not(#bs) .bs-stickybag__x { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; min-height: 0; margin: 0 0 0 -2px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, #fff 14%, transparent); color: #fff; cursor: pointer; }
html:not(#bs) .bs-stickybag__x svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
html:not(#bs) .bs-stickybag__x:hover { background: #fff; color: var(--bs-color-ink); }
html:not(#bs) body:has(.bs-stickybag.is-closed) .bs-ft { padding-bottom: 0; }

/* Page */
.bs-wl { display: grid; gap: 20px; }
.bs-wl__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.bs-wl__count { margin: 0; color: var(--bs-color-ink); font-weight: 800; }
.bs-wl__note { margin: 0; color: var(--bs-color-muted); font-size: 13.5px; }
.bs-wl__note a { color: var(--bs-color-ink); font-weight: 700; }
html:not(#bs) .bs-wl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { html:not(#bs) .bs-wl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { html:not(#bs) .bs-wl__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bs-wl__grid[hidden], .bs-wl__empty[hidden] { display: none; }
.bs-wl__item { margin: 0; transition: opacity 0.26s ease, transform 0.26s var(--bs-ease-lux); }
.bs-wl__item.is-leaving { opacity: 0; transform: scale(0.96); }
.bs-wl__empty { display: grid; justify-items: center; gap: 10px; padding: 48px 20px; border: 1px dashed var(--bs-color-border); border-radius: var(--bs-r-lg); background: var(--bs-color-surface); text-align: center; }
.bs-wl__empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bs-color-blush); color: var(--bs-color-coral-strong); }
.bs-wl__empty-title { margin: 0; font-size: 22px; }
.bs-wl__empty p { margin: 0 0 6px; color: var(--bs-color-muted); }

/* =====================================================================
 * 8. Sign in / sign up — Google button + spacing (account page and lightbox)
 * ===================================================================== */
html:not(#bs) .bs-social-login { display: grid; gap: 12px; margin: 0 0 20px; }
html:not(#bs) .bs-social-login > * { margin: 0; }
html:not(#bs) .bs-social-btn { min-height: 46px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 700; gap: 10px; }
html:not(#bs) .bs-social-login.is-gsi .bs-social-btn { display: none; }
html:not(#bs) .bs-gsi { display: flex; justify-content: center; min-height: 44px; }
html:not(#bs) .bs-gsi[aria-hidden="true"] { display: none; }
html:not(#bs) .bs-gsi iframe { margin: 0 auto !important; }
html:not(#bs) .bs-social-login.is-busy { opacity: 0.6; pointer-events: none; }
html:not(#bs) .bs-social-msg { padding: 10px 12px; border-radius: 12px; background: var(--bs-color-blush); color: var(--bs-color-ink); font-size: 13px; line-height: 1.45; }
html:not(#bs) .bs-social-msg[hidden] { display: none; }
html:not(#bs) .bs-social-sep { margin: 4px 0 0; font-size: 12.5px; }
@media (max-width: 767px) {
	html:not(#bs) .bs-social-login { gap: 10px; margin-bottom: 18px; }
	html:not(#bs) .bs-social-btn { min-height: 44px; font-size: 14px; }
}

/* One-time welcome after Google sign-in (brand-store-core) */
.bs-welcome { position: fixed; left: 16px; right: 16px; top: calc(16px + env(safe-area-inset-top)); z-index: 2147483002; display: flex; align-items: flex-start; gap: 12px; max-width: 460px; margin: 0 auto; padding: 16px 12px 16px 18px; border-radius: 20px; background: var(--bs-color-ink); color: #fff; box-shadow: 0 20px 50px color-mix(in srgb, var(--bs-color-ink) 35%, transparent); animation: bs-welcome-in 0.5s var(--bs-ease-lux); }
.bs-welcome.is-out { opacity: 0; transform: translateY(-12px); transition: opacity 0.3s ease, transform 0.3s ease; }
.bs-welcome__in { display: grid; gap: 4px; flex: 1 1 auto; min-width: 0; }
.bs-welcome strong { color: var(--bs-color-lime); font-family: var(--bs-font-heading); font-size: 16px; }
.bs-welcome span { font-size: 13.5px; line-height: 1.45; opacity: 0.92; }
.bs-welcome__x { flex: 0 0 auto; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, #fff 14%, transparent); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
@keyframes bs-welcome-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* =====================================================================
 * 9. My account on phones & tablets — app-style
 *    Home: a clear list of rows (icon · label · arrow) incl. Sign out.
 *    Inner pages: just a "‹ My account" back button, content first.
 * ===================================================================== */
html:not(#bs) .bs-accnav__back { display: none; }
@media (max-width: 959px) {
	html:not(#bs) .bs-accnav { gap: 0; padding: 0; border: 0; background: none; }
	/* Home */
	html:not(#bs) .bs-accnav.is-home { padding: 6px 0 0; }
	html:not(#bs) .bs-accnav.is-home .bs-accnav__me { margin: 0 0 12px; padding: 16px; border: 0; border-radius: var(--bs-r-md); background: var(--bs-color-sunny); }
	html:not(#bs) .bs-accnav.is-home .bs-accnav__avatar { width: 48px; height: 48px; background: var(--bs-color-ink); color: var(--bs-color-lime); }
	html:not(#bs) .bs-accnav.is-home .bs-accnav__label { display: block; margin: 4px 4px 8px; }
	html:not(#bs) .bs-accnav.is-home ul:not(.bs-accnav__out),
	html:not(#bs) .bs-accnav.is-home .bs-accnav__out { display: grid; gap: 0; padding: 0; overflow: visible; border: 1px solid var(--bs-color-border); border-radius: var(--bs-r-md); background: #fff; }
	html:not(#bs) .bs-accnav.is-home .bs-accnav__out { margin-top: 10px; }
	html:not(#bs) .bs-accnav.is-home li { flex: none; border-top: 1px solid var(--bs-color-border); }
	html:not(#bs) .bs-accnav.is-home li:first-child { border-top: 0; }
	html:not(#bs) .bs-accnav.is-home ul a,
	html:not(#bs) .bs-accnav.is-home ul a:hover { position: relative; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 44px 0 14px; border: 0; border-radius: 0; background: transparent; color: var(--bs-color-ink); font-size: 15px; font-weight: 700; }
	html:not(#bs) .bs-accnav.is-home ul a svg { display: block; box-sizing: content-box; width: 18px; height: 18px; padding: 8px; border-radius: 12px; background: var(--bs-color-surface); opacity: 1; }
	html:not(#bs) .bs-accnav.is-home ul a::after { content: ""; display: block; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--bs-color-muted); border-top: 2px solid var(--bs-color-muted); transform: translateY(-50%) rotate(45deg); }
	html:not(#bs) .bs-accnav.is-home ul a:active { background: var(--bs-color-surface); }
	html:not(#bs) .bs-accnav.is-home .is-active a { background: transparent; color: var(--bs-color-ink); }
	html:not(#bs) .bs-accnav.is-home .bs-accnav__out a { color: var(--bs-color-danger); }
	html:not(#bs) .bs-accnav.is-home .bs-accnav__out a svg { background: var(--bs-color-blush); }
	html:not(#bs) .bs-accnav.is-home .bs-accnav__help { display: grid; margin: 10px 0 0; }
	/* Inner pages */
	html:not(#bs) .bs-accnav.is-inner > :not(.bs-accnav__back) { display: none; }
	html:not(#bs) .bs-accnav.is-inner .bs-accnav__back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px 0 10px; border: 1.5px solid var(--bs-color-border); border-radius: 999px; background: #fff; color: var(--bs-color-ink); font-size: 14px; font-weight: 800; text-decoration: none; justify-self: start; }
	html:not(#bs) .bs-accnav.is-inner .bs-accnav__back:hover { border-color: var(--bs-color-ink); }
	html:not(#bs) .woocommerce-account.logged-in .woocommerce { gap: 14px; }
}

/* =====================================================================
 * 10. Phone tweaks (owner, 19 Nov)
 * ===================================================================== */
@media (max-width: 767px) {
	/* Cart drawer: the reassurance line and "View bag" are tiny and quiet. */
	html:not(#bs) .bs-mcart__assure { gap: 0 8px; margin: 6px 0 0; font-size: 9px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.3; opacity: 0.7; }
	html:not(#bs) .bs-mcart__viewbag { margin-top: 4px; font-size: 10px; font-weight: 600; opacity: 0.75; }
	/* Header icons, left to right: search · wishlist · bag · account · menu */
	html:not(#bs) .bs-header__actions > [data-bs-open="search"] { order: 1; }
	html:not(#bs) .bs-header__actions > .bs-hicon--wish { order: 2; }
	html:not(#bs) .bs-header__actions > .bs-hicon--bag { order: 3; }
	html:not(#bs) .bs-header__actions > .bs-hicon--account { order: 4; }
	/* "Who are we shopping for?": two tiles and half of the third in view. */
	html:not(#bs) .bs-cattiles__grid { grid-auto-columns: calc((100vw - var(--bs-pad, 16px) - 20px) / 2.5); gap: 10px; }
	html:not(#bs) .bs-cattile__name { font-size: 14px; margin-top: 8px; }
}


/* Page titles line up with the page content: store/app pages are full width, so their title is too
   (it used to sit in a centred 760px column while the content started at the left edge). */
html:not(#bs) .bs-entry--app .bs-entry__header { max-width: none; margin-inline: 0; }

/* ======================================================================
 * ONE TYPE SCALE on every page (tablet/desktop; phones keep the phone scale above).
 * Reading text 16px · secondary 15px · meta 14px · small labels 13px. Product page, bag,
 * checkout, confirmation, account and policy/about pages used 12.5–14px before, so they
 * looked smaller than home and shop.
 * ==================================================================== */
@media (min-width: 768px) {
	/* Product page */
	html:not(#bs):not(#bs2) :is(.bs-pdx-acc__body, .bs-pdx-points li, .bs-pdx-rich, .bs-pdx-rich p, .bs-pdx-rich li, .bs-pdx-faqsec__item p, .bs-pdx-reviews p) { font-size: 16px; line-height: 1.65; }
	html:not(#bs):not(#bs2) :is(.bs-pdx-acc__title, .bs-pdx-rich :is(h2, h3, h4)) { font-size: 17px; }
	html:not(#bs):not(#bs2) :is(.bs-pdx-specs dd, .bs-pdx-faq p, .bs-pdx-trustsec__card p, .bs-pdx-steps__list small, .bs-pdx-buy .woocommerce-variation-description p, .bs-reel__cap) { font-size: 15px; }
	html:not(#bs):not(#bs2) :is(.bs-pdx-specs dt, .bs-pdx-stock, .bs-pdx-rating, .bs-pdx-ship span:not(.bs-pdx-ship__icon), .bs-pdx-buy table.variations label, .bs-pdx-buy .stock, .bs-swatch, .bs-pdx-more, .bs-pdx-rich table) { font-size: 14px; }
	html:not(#bs):not(#bs2) :is(.bs-pdx-ship strong, .bs-pdx-faq h3) { font-size: 15.5px; }
	html:not(#bs):not(#bs2) :is(.bs-pdx__crumbs, .bs-pdx-price__save, .bs-pdx-price__note) { font-size: 13.5px; }
	html:not(#bs):not(#bs2) :is(.bs-pdx-buy .single_add_to_cart_button, .bs-pdx-buy .bs-buy-now) { font-size: 14.5px; }
	html:not(#bs):not(#bs2) .bs-pdx-steps__head p { font-size: 16px; }

	/* Bag + checkout + confirmation */
	html:not(#bs):not(#bs2) :is(.wc-block-cart, .wc-block-checkout) { font-size: 16px; }
	html:not(#bs):not(#bs2) .bs-flow__text { font-size: 16px; }
	html:not(#bs):not(#bs2) :is(.bs-flow__steps li, .bs-flow__steps a) { font-size: 14px; }
	html:not(#bs):not(#bs2) :is(.wc-block-cart, .wc-block-checkout) :is(.wc-block-components-totals-item, .wc-block-components-totals-item__label, .wc-block-components-totals-item__value, .wc-block-components-radio-control__label, .wc-block-components-checkbox__label, .wc-block-components-order-summary-item__description) { font-size: 15.5px; }
	html:not(#bs):not(#bs2) .wc-block-cart .wc-block-components-product-name { font-size: 17px; }
	html:not(#bs):not(#bs2) .wc-block-checkout .wc-block-components-product-name { font-size: 15.5px; }
	html:not(#bs):not(#bs2) :is(.wc-block-cart-item__prices, .wc-block-components-product-metadata, .wc-block-components-checkout-step__description, .wc-block-components-radio-control__secondary-label, .wc-block-components-radio-control__description) { font-size: 14.5px; }
	html:not(#bs):not(#bs2) :is(.wc-block-cart-item__remove-link, .wc-block-checkout__terms, .bs-cart-note, .bs-mcart__note) { font-size: 14px; }
	html:not(#bs):not(#bs2) :is(.wc-block-components-text-input input, .wc-blocks-components-select__select, .wc-block-components-textarea, .wc-block-components-quantity-selector__input) { font-size: 16px; }
	html:not(#bs):not(#bs2) :is(.wc-block-components-text-input label, .wc-blocks-components-select__label) { font-size: 15px; }
	html:not(#bs):not(#bs2) :is(.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button) { font-size: 15px; }

	/* Order screens + account */
	html:not(#bs):not(#bs2) :is(.bs-odetails dd, .bs-oitem__body strong, .bs-oitem__body a, .bs-ototals dt, .bs-ototals dd, .bs-thanks__lead, .bs-onotes p, .woocommerce-MyAccount-content p, .woocommerce-MyAccount-content address) { font-size: 16px; }
	html:not(#bs):not(#bs2) :is(.bs-oitem__meta, .bs-ocard__top, .bs-ocard__foot small, .bs-progress__step small, .bs-odetails dt, .bs-acc-sub) { font-size: 14px; }
	html:not(#bs):not(#bs2) .bs-progress__step strong { font-size: 15px; }
	html:not(#bs):not(#bs2) .bs-accnav ul a { font-size: 16px; }

	/* About / policy / help pages */
	html:not(#bs):not(#bs2) :is(.pg-stat__label, .pg-glance__label, .pg-reach__label, .bs-cf__count) { font-size: 14px; }
}

/* ONE place for every pop-up message: bottom centre, same card as the wishlist toast.
   (The sign-in / Google-linking welcome used to drop in at the top.) */
html:not(#bs) .bs-welcome { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); align-items: center; max-width: 440px; border-radius: 18px; animation-name: bs-toast-up; }
html:not(#bs) .bs-welcome.is-out { transform: translateY(16px); }
html.bs-buybar-on:not(#bs) .bs-welcome { bottom: calc(82px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { html.bs-buybar-on:not(#bs) .bs-welcome { bottom: 100px; } }
@keyframes bs-toast-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* A second line + action in the toast (guest sign-in nudge). */
html:not(#bs) .bs-wtoast small { display: block; margin-top: 2px; color: color-mix(in srgb, #fff 72%, transparent); font-size: 12.5px; font-weight: 500; }
html:not(#bs) .bs-wtoast button { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--bs-color-lime); color: var(--bs-color-ink); font: inherit; font-size: 12.5px; font-weight: 800; white-space: nowrap; cursor: pointer; }

/* Bag drawer: guest sign-in note (one line, quiet, above the totals). */
html:not(#bs) .bs-mcart__signin { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 24px 4px; padding: 12px 12px 12px 16px; border-radius: 14px; background: var(--bs-color-surface); }
html:not(#bs) .bs-mcart__signin span { display: grid; gap: 2px; min-width: 0; color: var(--bs-color-muted); font-size: 13px; line-height: 1.4; }
html:not(#bs) .bs-mcart__signin strong { color: var(--bs-color-ink); font-size: 14px; }
html:not(#bs) .bs-mcart__signin button { flex: 0 0 auto; min-height: 36px; padding: 0 16px; border: 1.5px solid var(--bs-color-ink); border-radius: 999px; background: #fff; color: var(--bs-color-ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: background-color 0.28s ease; }
html:not(#bs) .bs-mcart__signin button:hover { background: var(--bs-color-lime); }
@media (max-width: 767px) { html:not(#bs) .bs-mcart__signin { margin: 0 16px 4px; } }

/* ======================================================================
 * Sticky side panels never slide under the header.
 * The header hides while scrolling down and comes back on scroll up; sticky panels (bag totals,
 * checkout summary, order summary, product columns, account menu, filters, policy contents) follow
 * it: just under the header when it is showing, near the top when it is hidden.
 * ==================================================================== */
:root { --bs-sticky-top: calc(var(--bs-header-height, 80px) + 20px); }
html.bs-header-hidden { --bs-sticky-top: 20px; }
html:not(.bs-header-hidden) body.admin-bar { --bs-sticky-top: calc(var(--bs-header-height, 80px) + 52px); }
html.bs-header-hidden body.admin-bar { --bs-sticky-top: 52px; }
@media (min-width: 900px) {
	html:not(#bs) :is(.wc-block-cart .wc-block-components-sidebar, .bs-checkout-shell .wc-block-components-sidebar, .wc-block-components-sidebar-layout .wc-block-components-sidebar, .bs-thanks__summary, .bs-pdx__media, .bs-pdx__info, .woocommerce-account .bs-accnav, .woocommerce-account .woocommerce-MyAccount-navigation, .pg-policy__toc, .bs-filters, .bs-pdx-faqsec__intro) { top: var(--bs-sticky-top); transition: top 0.3s var(--bs-ease-lux, ease); }
}

/* ======================================================================
 * SPACING: one gap between blocks, never two stacked.
 * Rule of the site: sections own their TOP space only (--bs-rhythm); the footer owns the gap
 * above it. So the last block on a page has no bottom padding/margin, and coloured full-width
 * bands use margin (not margin + padding) above them.
 * ==================================================================== */
html:not(#bs) .pg-page { padding-bottom: 0; }
html:not(#bs) .bs-main > :last-child, html:not(#bs) .pg-page > :last-child, html:not(#bs) .bs-entry__content > :last-child { margin-bottom: 0; }
html:not(#bs) .bs-main > .bs-section:last-child { padding-bottom: 0; }
html:not(#bs) .pg-page > .pg-sec:last-child { padding-bottom: 0; margin-bottom: 0; }
html:not(#bs) .pg-sec:is(.pg-story--full, .pg-statement) { margin-top: var(--bs-rhythm); padding-top: 0; }
html:not(#bs) .pg-sec:is(.pg-story--full, .pg-statement) + .pg-sec { padding-top: var(--bs-rhythm); }
/* Blocks inside a section never add their own outer gap on top of the section's. */
html:not(#bs) :is(.bs-home-section, .pg-sec, .bs-pdx-sec) > .bs-container > :first-child { margin-top: 0; }
html:not(#bs) :is(.bs-home-section, .pg-sec, .bs-pdx-sec) > .bs-container > :last-child { margin-bottom: 0; }
