/*
Theme Name: BAMIKO
Theme URI: https://bamiko.vn
Description: Giao diện BAMIKO — thiết bị chăm sóc sức khỏe tại nhà. Child theme của Twenty Twenty-Five, tối ưu cho WooCommerce.
Author: BAMIKO
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bamiko
*/

/* ==========================================================================
   0. Tokens
   ========================================================================== */
:root {
	--bmk-teal: #0E5E6F;
	--bmk-teal-700: #0B4A57;
	--bmk-teal-900: #082F38;
	--bmk-red: #C8442F;
	--bmk-red-700: #9E2B25;
	--bmk-red-ink: #7A3A2C;
	--bmk-cream: #FAF6EF;
	--bmk-mint: #E3F0F1;
	--bmk-blush: #FBE9E3;
	--bmk-peach: #F3D7CF;
	--bmk-salmon: #F3B9A9;
	--bmk-ink: #1F2A2E;
	--bmk-body: #3F5056;
	--bmk-muted: #5F6F74;
	--bmk-line: #DCE6E7;
	--bmk-line-soft: #EEF2F2;
	--bmk-surface: #F7FAFA;
	--bmk-gray: #F5F7F7;
	--bmk-mist: #BFD5D8;
	--bmk-mist-2: #D8E6E8;
	--bmk-wrap: 1240px;
	--bmk-gutter: 24px;
	--bmk-ease: cubic-bezier(.2, .7, .2, 1);
	--bmk-shadow: 0 14px 34px rgba(11, 74, 87, .10);
	--bmk-shadow-sm: 0 6px 18px rgba(11, 74, 87, .08);
	--bmk-focus: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--bmk-teal);
}

html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: var(--bmk-salmon); color: var(--bmk-teal-900); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: none; box-shadow: var(--bmk-focus); border-radius: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wp-site-blocks > .bmk-home, .wp-site-blocks > .bmk-site-footer, .wp-site-blocks > footer { margin-block-start: 0 !important; }
.bmk-videos + .bmk-section { padding-top: 72px; }

/* Flow-layout reset inside our own sections — spacing is set explicitly. */
.bmk-home .is-layout-flow > *,
.bmk-site-header .is-layout-flow > *,
.bmk-site-footer .is-layout-flow > *,
.bmk-home .wp-block-buttons,
.bmk-site-footer .wp-block-list { margin-block: 0; }
.bmk-home :is(h1, h2, h3, p, figure, blockquote) { margin: 0; }

.bmk-wrap { box-sizing: border-box; width: 100%; max-width: var(--bmk-wrap); margin-inline: auto !important; padding-inline: var(--bmk-gutter); }

.bmk-ico { flex: none; display: inline-block; vertical-align: middle; }

/* ==========================================================================
   1. Buttons
   ========================================================================== */
.bmk-btn,
.bmk-home .wp-block-button.bmk-btn-red > .wp-block-button__link,
.bmk-home .wp-block-button.bmk-btn-teal > .wp-block-button__link,
.wp-block-button.bmk-btn-red > .wp-block-button__link,
.wp-block-button.bmk-btn-teal > .wp-block-button__link {
	box-sizing: border-box;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 54px; padding: 0 28px;
	border: 0; border-radius: 14px;
	font: inherit; font-weight: 700; font-size: 17px; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .2s var(--bmk-ease), transform .2s var(--bmk-ease), box-shadow .2s var(--bmk-ease);
}
.bmk-btn--red, .wp-block-button.bmk-btn-red > .wp-block-button__link { background: var(--bmk-red); color: #FFFFFF; }
.bmk-btn--red:hover, .wp-block-button.bmk-btn-red > .wp-block-button__link:hover { background: var(--bmk-red-700); color: #FFFFFF; }
.bmk-btn--teal, .wp-block-button.bmk-btn-teal > .wp-block-button__link { background: var(--bmk-teal); color: #FFFFFF; }
.bmk-btn--teal:hover, .wp-block-button.bmk-btn-teal > .wp-block-button__link:hover { background: var(--bmk-teal-700); color: #FFFFFF; }
.bmk-btn--soft { background: var(--bmk-mint); color: var(--bmk-teal-700); }
.bmk-btn--soft:hover { background: #D3E7E9; color: var(--bmk-teal-700); }
.bmk-btn--ghost-light { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); min-height: 46px; padding: 0 18px; font-size: 15px; }
.bmk-btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #FFFFFF; }
.bmk-btn--block { width: 100%; }
.bmk-btn:active, .wp-block-button__link:active { transform: translateY(1px); }
.wp-block-button.bmk-btn-chat > .wp-block-button__link::before {
	content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3Cpath d='M8 9.5h8M8 12.5h5'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3Cpath d='M8 9.5h8M8 12.5h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   2. Top bar + header
   ========================================================================== */
.bmk-site-header { position: relative; z-index: 50; }
.bmk-topbar { background: var(--bmk-red); color: #FFFFFF; font-size: 14px; font-weight: 500; line-height: 1.45; }
.bmk-topbar__in { max-width: var(--bmk-wrap); margin: 0 auto; padding: 9px var(--bmk-gutter); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; text-align: center; }
.bmk-topbar__item { display: inline-flex; align-items: center; gap: 28px; }
.bmk-topbar__item.is-secondary::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .6); margin-left: -16px; margin-right: -12px; }

.bmk-header { background: #FFFFFF; border-bottom: 1px solid var(--bmk-line-soft); }
.bmk-header__in {
	max-width: var(--bmk-wrap); margin: 0 auto !important; padding: 14px var(--bmk-gutter);
	display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; box-sizing: border-box;
}
.bmk-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; flex: none; border-radius: 10px; }
.bmk-logo .bmk-logo-svg--horizontal { height: 44px; width: auto; display: block; }
.bmk-logo-svg .bmk-ink { fill: var(--bmk-teal); }
.bmk-logo-svg .bmk-ink-s { stroke: var(--bmk-teal); }
.bmk-logo-svg .bmk-acc { fill: var(--bmk-red); }
.bmk-logo-svg.is-light .bmk-ink { fill: var(--bmk-cream); }
.bmk-logo-svg.is-light .bmk-ink-s { stroke: var(--bmk-cream); }

/* Navigation */
.bmk-header .bmk-nav { font-size: 15px; font-weight: 600; flex: none; }
.bmk-header .bmk-nav .wp-block-navigation__container { gap: 6px 22px; }
.bmk-header .bmk-nav .wp-block-navigation-item__content { color: var(--bmk-ink); text-decoration: none; padding: 6px 0; transition: color .15s; }
.bmk-header .bmk-nav .wp-block-navigation-item__content:hover { color: var(--bmk-teal); }
.bmk-header .bmk-nav .bmk-nav-hot > .wp-block-navigation-item__content { color: var(--bmk-red); }
.bmk-header .bmk-nav .wp-block-navigation__submenu-icon { margin-left: 4px; width: 10px; height: 10px; }
.bmk-header .bmk-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--bmk-line-soft) !important; border-radius: 16px; padding: 8px !important;
	box-shadow: var(--bmk-shadow); min-width: 240px !important; background: #FFFFFF; top: calc(100% + 6px) !important;
}
.bmk-header .bmk-nav .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.bmk-header .bmk-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 12px !important; border-radius: 10px; font-weight: 600; }
.bmk-header .bmk-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--bmk-mint); color: var(--bmk-teal-700); }
.bmk-header .wp-block-navigation__responsive-container-open {
	width: 44px; height: 44px; border-radius: 50%; background: var(--bmk-mint); color: var(--bmk-teal-700); display: none; align-items: center; justify-content: center;
}
.bmk-header .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; background: #FFFFFF; }
.bmk-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; gap: 6px; }
.bmk-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 20px; font-weight: 700; padding: 8px 0; }
.bmk-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0 0 8px 12px !important; min-width: 0 !important; }
.bmk-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 16px; font-weight: 600; color: var(--bmk-body); padding: 6px 0 !important; }
.bmk-header .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; border-radius: 50%; background: var(--bmk-mint); display: flex; align-items: center; justify-content: center; top: 0; right: 0; }

/* Search */
.bmk-header .bmk-search { flex: 1 1 240px; min-width: 0; margin: 0; }
.bmk-header .bmk-search .wp-block-search__inside-wrapper {
	border: 1.5px solid var(--bmk-line) !important; border-radius: 999px !important; padding: 3px 3px 3px 16px !important;
	background: #FFFFFF; transition: border-color .2s, box-shadow .2s; height: 48px; box-sizing: border-box;
}
.bmk-header .bmk-search .wp-block-search__inside-wrapper:focus-within { border-color: var(--bmk-teal) !important; box-shadow: 0 0 0 4px rgba(14, 94, 111, .12); }
.bmk-header .bmk-search .wp-block-search__input { border: 0 !important; background: transparent; font: inherit; font-size: 15px; color: var(--bmk-ink); padding: 0 !important; min-width: 0; outline: none; box-shadow: none !important; }
.bmk-header .bmk-search .wp-block-search__input::placeholder { color: #8A9A9E; }
.bmk-header .bmk-search .wp-block-search__button {
	width: 38px; height: 38px; min-width: 38px; padding: 0 !important; margin: 0 !important; border: 0; border-radius: 50% !important;
	background: var(--bmk-teal) !important; color: #FFFFFF !important; display: flex; align-items: center; justify-content: center; transition: background-color .2s;
}
.bmk-header .bmk-search .wp-block-search__button:hover { background: var(--bmk-teal-700) !important; }
.bmk-header .bmk-search .wp-block-search__button svg { width: 22px; height: 22px; fill: currentColor; }

/* Hotline + cart */
.bmk-hotline {
	height: 44px; padding: 0 18px; border-radius: 999px; background: var(--bmk-mint); color: var(--bmk-teal-700) !important;
	font-weight: 700; font-size: 16px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; transition: background-color .2s;
}
.bmk-hotline:hover { background: #D3E7E9; }
.bmk-header .bmk-cart { flex: none; }
.bmk-header .bmk-cart .wc-block-mini-cart__button {
	width: 44px; height: 44px; padding: 0; border-radius: 50%; background: var(--bmk-teal); color: #FFFFFF; display: flex; align-items: center; justify-content: center; transition: background-color .2s;
}
.bmk-header .bmk-cart .wc-block-mini-cart__button:hover { background: var(--bmk-teal-700); opacity: 1; }
.bmk-header .bmk-cart .wc-block-mini-cart__amount { display: none !important; }
.bmk-header .bmk-cart .wc-block-mini-cart__quantity-badge { margin: 0; }
.bmk-header .bmk-cart .wc-block-mini-cart__icon { width: 22px; height: 22px; color: #FFFFFF; fill: currentColor; }
.bmk-header .bmk-cart .wc-block-mini-cart__badge { background: var(--bmk-red) !important; color: #FFFFFF !important; border: 2px solid #FFFFFF; font-weight: 800; min-width: 20px; height: 20px; font-size: 11px; top: -9px; left: 12px; }

/* ==========================================================================
   3. Shared section scaffolding
   ========================================================================== */
.bmk-section { padding-block: 40px; }
.bmk-section--first { padding-top: 72px; padding-bottom: 32px; }
.bmk-section--last { padding-top: 32px; padding-bottom: 72px; }
.bmk-h2 { font-size: clamp(28px, 2.6vw + 10px, 36px) !important; line-height: 1.2 !important; color: var(--bmk-teal-700); font-weight: 800; margin: 0 0 8px !important; }
.bmk-h2--sm { font-size: clamp(26px, 2vw + 10px, 30px) !important; }
.bmk-h2--spaced { margin-bottom: 24px !important; }
.bmk-h2--light { color: var(--bmk-cream); }
.bmk-sub { color: var(--bmk-muted); margin: 0 0 28px !important; }
.bmk-row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 16px; margin-bottom: 24px !important; }
.bmk-row-head .bmk-h2 { margin: 0 !important; }
.bmk-more { margin: 0; font-weight: 700; }
.bmk-more a { color: var(--bmk-teal); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s var(--bmk-ease); padding-bottom: 2px; }
.bmk-more a:hover { background-size: 100% 2px; }
.bmk-more--light a { color: var(--bmk-salmon); }
.bmk-more a.is-unlinked { display: none; }
.bmk-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--bmk-salmon); }

/* Admin hint (only rendered for admins) */
.bmk-admin-hint { display: block; padding: 12px 16px; border: 1.5px dashed var(--bmk-salmon); border-radius: 12px; background: #FFF8F5; color: var(--bmk-red-ink); font-size: 13px; line-height: 1.5; }
.bmk-admin-hint a { color: var(--bmk-red-700); font-weight: 700; }
.bmk-site-footer .bmk-admin-hint { background: rgba(255, 255, 255, .06); color: var(--bmk-mist); border-color: rgba(250, 246, 239, .3); }
.bmk-site-footer .bmk-admin-hint a { color: var(--bmk-salmon); }

/* ==========================================================================
   4. Hero
   ========================================================================== */
.bmk-hero { background: var(--bmk-cream); overflow: hidden; }
.bmk-hero__in { padding-block: 56px 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.bmk-hero__copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.bmk-hero__title { font-size: clamp(36px, 3.6vw + 8px, 56px) !important; line-height: 1.12 !important; font-weight: 800; color: var(--bmk-teal-700); letter-spacing: -0.01em; text-wrap: balance; }
.bmk-hero__title mark { background: none; color: var(--bmk-red); }
.bmk-lead { font-size: 18px; color: var(--bmk-body); max-width: 540px; }
.bmk-chips-wrap { display: flex; flex-direction: column; gap: 10px; }
.bmk-chips__label { font-size: 14px; font-weight: 700; color: var(--bmk-teal-700); }
.bmk-chips { display: flex; flex-wrap: wrap; gap: 10px !important; }
.bmk-chip > .wp-block-button__link {
	height: 44px; padding: 0 18px; border-radius: 999px; background: #FFFFFF; border: 1.5px solid var(--bmk-line);
	color: var(--bmk-ink); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; box-sizing: border-box;
	transition: border-color .2s, color .2s, background-color .2s, transform .2s var(--bmk-ease);
}
.bmk-chip > .wp-block-button__link:hover { border-color: var(--bmk-teal); color: var(--bmk-teal-700); background: #FFFFFF; transform: translateY(-1px); }
.bmk-cta-row { display: flex; flex-wrap: wrap; gap: 12px !important; margin-top: 4px !important; }
.bmk-cta-row .bmk-btn-teal > .wp-block-button__link { padding: 0 26px; }

.bmk-hero__visual { flex: 1 1 440px; position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; }
.bmk-hero__disc { position: absolute; width: 440px; max-width: 92%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--bmk-red); }
.bmk-hero__card {
	position: relative; width: 340px; max-width: 78%; aspect-ratio: 4 / 5; border-radius: 28px; background: #FFFFFF;
	display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(122, 58, 44, .35);
}
.bmk-hero__img { width: 100%; height: 100%; object-fit: contain; padding: 20px; box-sizing: border-box; }
.bmk-hero__art { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; color: var(--bmk-teal-700); background: radial-gradient(120% 90% at 50% 30%, #FFFFFF 0 55%, var(--bmk-cream) 100%); }
.bmk-hero__art .bmk-art { width: 62%; height: auto; }
.bmk-hero__product {
	position: absolute; left: 14px; right: 14px; top: 14px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px;
	background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); border: 1px solid var(--bmk-line-soft); text-decoration: none; transition: box-shadow .2s;
}
.bmk-hero__product:hover { box-shadow: var(--bmk-shadow-sm); }
.bmk-hero__pname { font-weight: 800; color: var(--bmk-teal-700); font-size: 15px; line-height: 1.3; }
.bmk-hero__pmore { font-size: 13px; font-weight: 700; color: var(--bmk-red); display: inline-flex; align-items: center; gap: 4px; }
.bmk-hero__kata { position: absolute; right: 0; top: 18px; width: 30px; height: auto; color: var(--bmk-teal); }
.bmk-hero__badge {
	position: absolute; left: 0; bottom: 36px; background: #FFFFFF; border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
	border: 1px solid var(--bmk-line-soft); text-decoration: none; color: var(--bmk-ink); box-shadow: var(--bmk-shadow-sm); line-height: 1.4; transition: transform .25s var(--bmk-ease), box-shadow .25s;
}
.bmk-hero__badge:hover { transform: translateY(-2px); box-shadow: var(--bmk-shadow); color: var(--bmk-ink); }
.bmk-hero__check { width: 40px; height: 40px; border-radius: 50%; background: var(--bmk-mint); display: flex; align-items: center; justify-content: center; color: var(--bmk-teal); flex: none; }
.bmk-hero__badge-k { display: block; font-size: 13px; color: var(--bmk-muted); }
.bmk-hero__badge-v { display: block; font-weight: 700; font-size: 16px; }

/* ==========================================================================
   5. Trust band
   ========================================================================== */
.bmk-trust { background: var(--bmk-teal-700); color: var(--bmk-cream); }
.bmk-trust__in { padding-block: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.bmk-trust__item { position: relative; padding-left: 22px; display: flex; flex-direction: column; justify-content: center; }
.bmk-trust__item::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--bmk-red); }
.bmk-trust__t { font-weight: 700; line-height: 1.5; }
.bmk-trust__d { font-size: 13px; color: var(--bmk-mist); line-height: 1.5; }

/* ==========================================================================
   6. Category bento
   ========================================================================== */
.bmk-bento { display: flex; flex-wrap: wrap; gap: 16px; }
.bmk-cat { position: relative; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 8px; box-sizing: border-box; min-height: 212px; transition: transform .3s var(--bmk-ease), box-shadow .3s var(--bmk-ease); isolation: isolate; }
.bmk-cat:hover { transform: translateY(-3px); box-shadow: var(--bmk-shadow); }
.bmk-cat:focus-within { box-shadow: var(--bmk-focus); }
.bmk-cat--blush { background: var(--bmk-blush); }
.bmk-cat--mint { background: var(--bmk-mint); }
.bmk-cat__title { font-size: 18px !important; font-weight: 800; line-height: 1.3 !important; color: var(--bmk-teal-700); }
.bmk-cat__title a { color: inherit; text-decoration: none; }
.bmk-cat__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.bmk-cat__title a:focus-visible { box-shadow: none; }
.bmk-cat__desc { font-size: 13px; color: var(--bmk-body); line-height: 1.5; }
.bmk-cat--feature { flex: 1 1 460px; min-height: 440px; border-radius: 26px; background: var(--bmk-teal); color: var(--bmk-cream); padding: 32px; gap: 16px; justify-content: space-between; overflow: hidden; }
.bmk-cat--feature .bmk-cat__title { font-size: clamp(24px, 2vw + 10px, 30px) !important; line-height: 1.2 !important; color: var(--bmk-cream); }
.bmk-cat--feature .bmk-cat__desc { font-size: 17px; color: var(--bmk-mist-2); margin-top: -10px !important; }
.bmk-cat--feature .bmk-cat__title::after { content: "→"; display: inline-block; margin-left: 10px; color: var(--bmk-salmon); transition: transform .25s var(--bmk-ease); }
.bmk-cat--feature:hover .bmk-cat__title::after { transform: translateX(4px); }
.bmk-bento__grid { flex: 1 1 460px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.bmk-illus { flex: 1; min-height: 90px; border-radius: 14px; background: rgba(255, 255, 255, .67); display: flex; align-items: center; justify-content: center; gap: 6%; color: var(--bmk-teal-700); padding: 10px; box-sizing: border-box; }
.bmk-illus .bmk-art { width: 76px; height: 76px; }
.bmk-illus.has-2 .bmk-art { width: 64px; height: 64px; }
.bmk-illus--dark { border-radius: 18px; background: transparent; border: 1px dashed rgba(250, 246, 239, .33); color: var(--bmk-cream); min-height: 200px; gap: 10%; }
.bmk-illus--dark .bmk-art, .bmk-illus--dark.has-2 .bmk-art { width: 34%; max-width: 150px; height: auto; }
.bmk-art__acc { fill: var(--bmk-red); stroke: var(--bmk-red); }
.bmk-art__acc-s { stroke: var(--bmk-red); }
.bmk-illus--dark .bmk-art__acc { fill: var(--bmk-salmon); stroke: var(--bmk-salmon); }
.bmk-illus--dark .bmk-art__acc-s { stroke: var(--bmk-salmon); }
.bmk-cat:hover .bmk-art { transform: rotate(-3deg) scale(1.04); }
.bmk-art { transition: transform .4s var(--bmk-ease); }

/* Branded product tile (used when there is no photo yet) */
.bmk-tile { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; aspect-ratio: 1 / 1; color: var(--bmk-teal-700); box-sizing: border-box; }
.bmk-tile .bmk-art { width: 46%; height: auto; }
.bmk-tile--mint { background: var(--bmk-mint); }
.bmk-tile--gray { background: var(--bmk-gray); }
.bmk-tile--cream { background: var(--bmk-cream); }
.bmk-tile.is-large .bmk-art { width: 38%; }

/* ==========================================================================
   7. Deals
   ========================================================================== */
.bmk-deals { border-radius: 28px; background: var(--bmk-blush); padding: 32px; }
.bmk-deals__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px !important; }
.bmk-deals__title { font-size: clamp(26px, 2vw + 10px, 32px) !important; line-height: 1.2 !important; color: var(--bmk-red-700); margin: 0 !important; }
.bmk-deals__sub { margin: 4px 0 0 !important; color: var(--bmk-red-ink); }
.bmk-cd { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--bmk-red-700); }
.bmk-cd__label { margin-right: 2px; }
.bmk-cd__days { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; }
.bmk-cd__days[hidden] { display: none; }
.bmk-cd__unit { font-size: 15px; }
.bmk-cd__box { min-width: 44px; height: 44px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; background: var(--bmk-red); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; font-size: 18px; }
.bmk-deal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.bmk-deal { position: relative; background: #FFFFFF; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--bmk-ease), box-shadow .3s var(--bmk-ease); }
.bmk-deal:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(122, 58, 44, .14); }
.bmk-deal__badge { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--bmk-red); color: #FFFFFF; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; line-height: 1.4; }
.bmk-deal__media { display: block; aspect-ratio: 1 / 1; background: var(--bmk-gray); overflow: hidden; }
.bmk-deal__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--bmk-ease); }
.bmk-deal:hover .bmk-deal__media img, .bmk-deal:hover .bmk-deal__media .bmk-art { transform: scale(1.05); }
.bmk-deal__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bmk-deal__title { margin: 0; font-size: 16px !important; font-weight: 700; line-height: 1.4 !important; }
.bmk-deal__title a { color: var(--bmk-ink); text-decoration: none; }
.bmk-deal__title a:hover { color: var(--bmk-teal); }
.bmk-deal__price { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.bmk-price { color: var(--bmk-red); font-weight: 800; font-size: 19px; line-height: 1.3; }
.bmk-price.is-big { font-size: 22px; }
.bmk-price ins { text-decoration: none; }
.bmk-price del, .bmk-price__old { color: var(--bmk-muted); font-size: 13px; font-weight: 500; }
.bmk-price--contact { color: var(--bmk-red); font-weight: 800; }
.bmk-deal__bar { height: 8px; border-radius: 999px; background: var(--bmk-peach); overflow: hidden; }
.bmk-deal__bar span { display: block; height: 100%; border-radius: inherit; background: var(--bmk-red); }
.bmk-deal__sold { font-size: 12px; color: var(--bmk-red-ink); margin-top: -2px; }
.bmk-deal .bmk-btn { margin-top: auto; min-height: 46px; border-radius: 12px; font-size: 16px; }

/* ==========================================================================
   8. Product finder (quiz)
   ========================================================================== */
.bmk-finder { border-radius: 28px; border: 1.5px solid var(--bmk-line); padding: 36px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.bmk-finder__intro { flex: 1 1 320px; }
.bmk-finder__title { font-size: clamp(25px, 2vw + 10px, 30px) !important; line-height: 1.25 !important; margin: 0 0 8px !important; }
.bmk-finder .bmk-sub { margin: 0 !important; }
.bmk-quiz { flex: 2 1 520px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bmk-quiz__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.bmk-quiz__q { float: left; width: 150px; font-weight: 700; padding: 0; }
.bmk-quiz__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bmk-pill { position: relative; cursor: pointer; }
.bmk-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bmk-pill span {
	height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--bmk-line); background: #FFFFFF; color: var(--bmk-ink);
	font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; box-sizing: border-box; transition: all .18s var(--bmk-ease); white-space: nowrap;
}
.bmk-pill:hover span { border-color: var(--bmk-teal); }
.bmk-pill input:checked + span { background: var(--bmk-teal); border-color: var(--bmk-teal); color: #FFFFFF; }
.bmk-pill input:focus-visible + span { box-shadow: var(--bmk-focus); }
.bmk-quiz__actions { display: flex; }
.bmk-quiz__actions .bmk-btn { min-height: 50px; padding: 0 26px; }
.bmk-quiz__result { border-top: 1px dashed var(--bmk-line); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; animation: bmk-in .35s var(--bmk-ease); }
.bmk-quiz__result[hidden] { display: none; }
.bmk-quiz__lead { font-weight: 700; color: var(--bmk-teal-700); }
.bmk-quiz__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.bmk-qcard { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--bmk-surface); text-decoration: none; color: var(--bmk-ink); transition: background-color .2s, transform .2s var(--bmk-ease); }
.bmk-qcard:hover { background: var(--bmk-mint); transform: translateY(-1px); color: var(--bmk-ink); }
.bmk-qcard__v { width: 64px; height: 64px; flex: none; border-radius: 12px; overflow: hidden; background: var(--bmk-mint); }
.bmk-qcard__v img, .bmk-qcard__v .bmk-tile { width: 100%; height: 100%; object-fit: cover; }
.bmk-qcard__n { display: block; font-weight: 700; font-size: 15px; line-height: 1.35; }
.bmk-qcard .bmk-price { font-size: 15px; }
.bmk-qcard .bmk-price__old { display: none; }
.bmk-quiz__more { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: 15px; }
.bmk-quiz__more a { color: var(--bmk-teal); }
@keyframes bmk-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
