/* Blazer Tales: one stylesheet. Tokens from theme.json; green = backgrounds/borders/headings, gold = accents only. */
:root {
	--bt-green: var(--wp--preset--color--green, #367955);
	--bt-green-dark: var(--wp--preset--color--green-dark, #2b6245);
	--bt-gold: var(--wp--preset--color--gold, #ECCF54);
	--bt-gold-soft: var(--wp--preset--color--gold-soft, #fbf5dc);
	--bt-cream: var(--wp--preset--color--cream, #F6F3F2);
	--bt-ink: var(--wp--preset--color--ink, #1e2b24);
	--bt-muted: var(--wp--preset--color--muted, #5b665f);
	--bt-line: var(--wp--preset--color--line, #ece8df);
	--bt-r: 14px;
	--bt-gut: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bt-skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: #fff; padding: 10px 14px; border-radius: 8px; }
.bt-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--bt-gold); outline-offset: 2px; }

.bt-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--bt-gut); }
.bt-main { min-height: 50vh; }
.bt-section { padding-block: 28px; }
.bt-section h1, .bt-section h2 { margin: 0 0 12px; color: var(--bt-ink); }
.bt-section h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); color: var(--bt-green); }
.bt-section h2 { font-size: clamp(1.35rem, 1.15rem + 1vw, 1.75rem); }
.bt-muted { color: var(--bt-muted); }
.bt-small { font-size: 0.8125rem; }
.bt-todo { background: var(--bt-gold-soft); border-radius: 6px; padding: 2px 6px; }
.bt-eyebrow { margin: 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bt-green-dark); }
.bt-more { font-weight: 700; }
.bt-icon { display: block; }

/* Buttons */
.bt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 2px solid var(--bt-green); background: var(--bt-green); color: #fff; font-weight: 700; text-decoration: none; font-size: 1rem; line-height: 1.2; text-align: center; }
.bt-btn:hover { background: var(--bt-green-dark); border-color: var(--bt-green-dark); color: #fff; }
.bt-btn--line { background: #fff; color: var(--bt-green-dark); }
.bt-btn--line:hover { background: var(--bt-cream); color: var(--bt-green-dark); }
.bt-btn--big { min-height: 52px; font-size: 1.0625rem; padding: 0 24px; }
.bt-iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--bt-ink); cursor: pointer; position: relative; padding: 0; }
.bt-iconbtn:hover { background: var(--bt-cream); }
.bt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 599px) { .bt-actions .bt-btn { flex: 1 1 100%; } }

/* Header */
.bt-header { background: #fff; border-bottom: 1px solid var(--bt-line); position: relative; z-index: 20; }
.bt-header__in { max-width: 1200px; margin: 0 auto; padding: 8px 12px; display: flex; align-items: center; gap: 8px; }
.bt-header__logo { line-height: 0; margin-inline: auto; }
.bt-header__logo img { width: 186px; height: auto; }
.bt-cartcount { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--bt-gold); color: var(--bt-ink); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.bt-cartcount[hidden] { display: none; }
.bt-nav { display: none; }
.bt-nav ul { list-style: none; margin: 0; padding: 0; }
.bt-nav a { color: var(--bt-ink); text-decoration: none; font-weight: 700; }
.bt-nav a:hover { color: var(--bt-green-dark); text-decoration: underline; }
.bt-search { display: flex; gap: 6px; }
.bt-search input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid #cfc8bb; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 1rem; }
.bt-nav-open .bt-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--bt-line); padding: 8px 16px 16px; box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.bt-nav-open .bt-nav li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--bt-line); }
.bt-nav-open .bt-search { margin-top: 12px; }
@media (min-width: 1240px) {
	.bt-header__menu { display: none; }
	.bt-header__in { padding: 12px 24px; gap: 24px; }
	.bt-header__logo { margin: 0; }
	.bt-header__logo img { width: 220px; }
	.bt-nav, .bt-nav-open .bt-nav { display: flex; position: static; align-items: center; gap: 20px; flex: 1; padding: 0; border: 0; box-shadow: none; }
	.bt-nav ul { display: flex; gap: 20px; flex-wrap: wrap; }
	.bt-nav-open .bt-nav li a { display: inline; padding: 0; border: 0; }
	.bt-search { margin-left: auto; width: 240px; margin-top: 0 !important; }
}

/* Hero */
.bt-hero { border-bottom: 6px solid var(--bt-gold); padding-block: 28px 26px; }
.bt-hero .bt-wrap { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin-inline: 0 auto; }
@media (min-width: 960px) { .bt-hero { padding-block: 56px 48px; } .bt-hero .bt-wrap { margin-inline: auto; max-width: 1200px; } }
.bt-hero__title { margin: 0; color: var(--bt-green); font-size: clamp(2rem, 1.4rem + 2.8vw, 3.25rem); max-width: 20ch; }
.bt-hero__line { margin: 0; color: #46524b; font-size: 1.0625rem; max-width: 60ch; }

/* Month buttons + panel */
.bt-months ul { list-style: none; margin: 4px 0 12px; padding: 0 0 6px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.bt-months a { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #cfc8bb; background: #fff; color: var(--bt-ink); font-weight: 700; text-decoration: none; }
.bt-months a:hover { border-color: var(--bt-green); }
.bt-months a[aria-current="true"] { background: var(--bt-green); border-color: var(--bt-green); color: #fff; }
.bt-months abbr { text-decoration: none; }
@media (min-width: 960px) { .bt-months ul { flex-wrap: wrap; overflow: visible; } }
.bt-panel { background: var(--bt-cream); border-radius: 16px; padding: 14px; display: grid; gap: 10px; }
@media (min-width: 760px) { .bt-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bt-panel__title, .bt-panel > p { grid-column: 1 / -1; } }
.bt-panel__title { margin: 0; font-weight: 700; color: var(--bt-green-dark); }
.bt-panel > p.bt-muted { margin: 0; }

/* Book links */
.bt-books { display: grid; gap: 10px; }
@media (min-width: 760px) { .bt-books { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bt-books { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bt-book { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: #fff; border: 1.5px solid var(--bt-line); color: var(--bt-ink); text-decoration: none; min-height: 76px; }
.bt-book:hover { border-color: var(--bt-green); }
.bt-book__pic { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex: none; }
.bt-book__text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.bt-book__name { font-weight: 700; }
.bt-book__set { font-size: 0.8125rem; color: var(--bt-muted); }

/* Product cards */
.bt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
@media (min-width: 760px) { .bt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.bt-card { display: flex; flex-direction: column; gap: 8px; }
.bt-card__pic { position: relative; display: block; line-height: 0; }
.bt-card__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--bt-cream); }
.bt-badge { position: absolute; top: 8px; left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--bt-gold); color: var(--bt-ink); font-size: 12px; font-weight: 700; line-height: 1.4; }
.bt-card__title { margin: 0; font-family: inherit; font-size: 0.875rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bt-card__title a { color: inherit; text-decoration: none; }
.bt-card__price { margin: 0; font-weight: 700; }
.bt-card .bt-btn { margin-top: auto; }
.bt-switch { margin: -4px 0 16px; }
.bt-crumbs { font-size: 0.875rem; margin-bottom: 6px; }

/* Set rows (product page) */
.bt-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: #fff; color: var(--bt-ink); text-decoration: none; }
.bt-row--bundle { background: var(--bt-gold-soft); }
.bt-row__pic { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex: none; }
.bt-row__name { flex: 1; font-weight: 600; }
.bt-row__price { font-weight: 700; }

/* Bedazzled + about */
.bt-dazzle { display: flex; align-items: center; gap: 16px; padding: 16px; border: 2px solid var(--bt-gold); border-radius: 16px; }
.bt-dazzle__pic { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; flex: none; }
.bt-dazzle h2 { margin: 0 0 4px; }
.bt-dazzle p { margin: 0 0 4px; }
.bt-about { display: flex; gap: 16px; align-items: flex-start; }
.bt-about__photo { width: 84px; height: 84px; flex: none; border-radius: 50%; border: 3px solid var(--bt-gold); object-fit: cover; }
.bt-about h2 { margin-bottom: 6px; }
.bt-about p { margin: 0 0 6px; max-width: 65ch; }

/* Blog cards */
.bt-pager { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.bt-pager .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--bt-line); border-radius: 10px; text-decoration: none; }
.bt-pager .current { background: var(--bt-green); color: #fff; border-color: var(--bt-green); }

/* Pages and posts */
.bt-page, .bt-post { padding-block: 28px 40px; }
.bt-page__title { color: var(--bt-green); }
.bt-post__date, .bt-post__cat { color: var(--bt-muted); font-size: 0.875rem; }
.bt-post__image img { border-radius: var(--bt-r); }
.bt-prose { max-width: 70ch; }

/* Footer */
.bt-footer { background: var(--bt-green); color: #fff; margin-top: 32px; }
.bt-footer__in { max-width: 1200px; margin: 0 auto; padding: 28px 16px 36px; display: flex; flex-wrap: wrap; gap: 20px 48px; }
.bt-footer__brand { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.bt-footer__logo { width: 200px; height: auto; background: #fff; border-radius: 8px; padding: 6px 10px; }
.bt-footer__nav { flex: 1 1 320px; }
.bt-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.bt-footer a { color: #fff; }
.bt-footer .bt-small { color: #e3eee8; margin: 0; }
.bt-footer__copy { flex: 1 1 100%; }

/* WooCommerce classic templates (product, cart, checkout) */
.bt-main--product { max-width: 1200px; margin-inline: auto; padding-inline: var(--bt-gut); }
.woocommerce-breadcrumb { font-size: 0.875rem; color: var(--bt-muted); padding-top: 12px; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce div.product div.images { opacity: 1 !important; max-width: 560px; }
.woocommerce div.product div.images img { width: 100%; height: auto; display: block; }
.woocommerce-product-gallery__trigger { display: none !important; }
.woocommerce div.product { padding-block: 16px 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .woocommerce div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; } .woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .up-sells { grid-column: 1 / -1; } }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--bt-r); }
.woocommerce div.product .product_title { color: var(--bt-green); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); margin: 0 0 8px; }
.woocommerce div.product p.price { font-size: 1.6rem; font-weight: 700; color: var(--bt-ink); margin: 0 0 12px; }
form.cart .quantity, .woocommerce .quantity { display: none !important; }
.wp-video, .wp-video video, iframe, video { max-width: 100% !important; height: auto; }
.wp-video { width: 100% !important; }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--bt-green); color: #fff; font: inherit; font-weight: 700; font-size: 1.0625rem; cursor: pointer; text-decoration: none; }
.woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--bt-green-dark); color: #fff; }
.woocommerce div.product form.cart .button { width: 100%; }
.woocommerce-tabs ul.tabs { list-style: none; padding: 0; margin: 8px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-tabs ul.tabs li a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--bt-line); text-decoration: none; color: var(--bt-ink); font-weight: 700; }
.woocommerce-tabs ul.tabs li.active a { background: var(--bt-green); color: #fff; border-color: var(--bt-green); }
.woocommerce .related ul.products, .woocommerce .up-sells ul.products { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .woocommerce .related ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.woocommerce ul.products li.product a img { border-radius: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 0.875rem; font-family: inherit; }
.bt-set { background: var(--bt-cream); border-radius: 16px; padding: 14px; display: grid; gap: 8px; margin: 16px 0; }
.bt-set h2 { margin: 0 0 4px; font-size: 1.15rem; }
.bt-ship-note { margin: 12px 0 0; padding: 10px 14px; border-left: 4px solid var(--bt-gold, #ECCF54); background: var(--bt-cream); border-radius: 0 10px 10px 0; font-size: .95rem; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 12px 16px; border-radius: 12px; background: var(--bt-cream); border-left: 4px solid var(--bt-green); margin: 12px 0; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 10px 6px; border-bottom: 1px solid var(--bt-line); text-align: left; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea { width: 100%; min-height: 46px; border: 1.5px solid #cfc8bb; border-radius: 10px; padding: 8px 12px; font: inherit; }

/* WooCommerce's own order-confirmation template */
.woocommerce-order-received .wp-site-blocks > main, .woocommerce-order-received main.wp-block-group { max-width: 1200px; margin-inline: auto; padding: 24px var(--bt-gut) 40px; }
.woocommerce-order-received main h1 { color: var(--bt-green); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); }

/* ---------- Reading: post and page text (her content, any editor) ---------- */
.bt-page .wp-block-post-content, .bt-post .wp-block-post-content { font-size: 1.0625rem; line-height: 1.7; overflow-wrap: anywhere; }
.wp-block-post-content > * { margin-block: 0 1.05em; }
.wp-block-post-content :is(h1, h2, h3, h4, h5, h6) { margin: 1.6em 0 .5em; color: var(--bt-green-dark); line-height: 1.2; }
.wp-block-post-content > :first-child { margin-top: 0; }
/* Old posts use h1 inside the text; keep it below the page title. */
.wp-block-post-content h1 { font-size: clamp(1.5rem, 1.3rem + 1vw, 1.9rem); }
.wp-block-post-content :is(h1, h2, h3, h4):empty { display: none; }
.wp-block-post-content a { color: var(--bt-green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wp-block-post-content ul, .wp-block-post-content ol { padding-left: 1.3em; }
.wp-block-post-content li { margin-bottom: .4em; }
.wp-block-post-content li::marker { color: var(--bt-green); }
.wp-block-post-content blockquote, .wp-block-quote { margin-inline: 0; padding: 14px 18px; border-left: 4px solid var(--bt-gold); background: var(--bt-gold-soft); border-radius: 0 12px 12px 0; }
.wp-block-post-content blockquote p:last-child { margin-bottom: 0; }
.wp-block-post-content img { border-radius: 10px; }
.wp-block-post-content figure { margin-inline: 0; }
.wp-block-post-content .aligncenter, .wp-block-image.aligncenter { margin-inline: auto; text-align: center; }
.wp-block-post-content .alignleft, .wp-block-post-content .alignright { max-width: 50%; }
.wp-block-post-content .alignleft { float: left; margin: 4px 16px 10px 0; }
.wp-block-post-content .alignright { float: right; margin: 4px 0 10px 16px; }
.wp-block-post-content::after { content: ""; display: table; clear: both; }
@media (max-width: 599px) { .wp-block-post-content :is(.alignleft, .alignright) { float: none; max-width: 100%; margin: 0 auto 1em; display: block; } }
.wp-block-separator { border: 0; border-top: 1.5px solid var(--bt-line); margin-block: 1.6em; opacity: 1; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 1.5em; }
.wp-block-column { flex: 1 1 240px; min-width: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; text-decoration: none !important; }
.wp-block-button__link:hover { background: var(--bt-green-dark); color: #fff; }
.wp-block-cover { border-radius: var(--bt-r); overflow: hidden; }
.wp-block-embed { margin-inline: 0; }
.wp-block-embed__wrapper { position: relative; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; }
/* YouTube: a picture until tapped (plugin compat.php + site.js) */
.bt-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: #111; cursor: pointer; }
.bt-yt img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; opacity: .92; }
.bt-yt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 14px; background: #e00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 30px no-repeat; }
.bt-yt:hover::after, .bt-yt:focus-visible::after { background-color: #c00; }
.wp-block-latest-posts.is-grid { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .wp-block-latest-posts.is-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wp-block-latest-posts.is-grid li { margin: 0; width: auto !important; border: 1.5px solid var(--bt-line); border-radius: 12px; overflow: hidden; padding-bottom: 12px; }
.wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0 !important; }
.wp-block-latest-posts__post-title { display: block; padding: 8px 14px 0; font-weight: 700; text-decoration: none; color: var(--bt-ink) !important; }
.wp-block-latest-posts__post-date { display: block; padding: 4px 14px 0; font-size: .8125rem; color: var(--bt-muted); }
.wp-block-table table, .wp-block-post-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wp-block-post-content :is(td, th) { border: 1px solid var(--bt-line); padding: 8px; }
.wp-block-table { overflow-x: auto; }

/* Single post: header + end */
.bt-post .wp-block-post-title { margin: 4px 0 6px; color: var(--bt-green); }
.bt-post__cat a { color: var(--bt-green-dark); font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; font-size: .8125rem; }
.bt-post__image { margin: 16px 0 24px; }
.bt-post__end { margin-top: 36px; padding-top: 20px; border-top: 6px solid var(--bt-gold); display: grid; gap: 12px; }
@media (min-width: 700px) { .bt-post__end { grid-template-columns: 1fr 1fr; } .bt-post__end .wp-block-post-navigation-link.post-navigation-link-next { text-align: right; } }
.bt-post__end .wp-block-post-navigation-link a { display: block; padding: 12px 14px; border: 1.5px solid var(--bt-line); border-radius: 12px; color: var(--bt-ink); text-decoration: none; font-weight: 700; }
.bt-post__end .wp-block-post-navigation-link a:hover { border-color: var(--bt-green); }
.bt-post__end .post-navigation-link__label { display: block; font-weight: 400; font-size: .8125rem; color: var(--bt-muted); }
.bt-post__back { grid-column: 1 / -1; margin: 4px 0 0; }

/* ---------- My account ---------- */
.woocommerce-account .bt-page .wp-block-post-content { line-height: 1.5; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password { border: 1.5px solid var(--bt-line); border-radius: 16px; padding: 18px; margin: 12px 0 24px; background: #fff; max-width: 480px; }
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.woocommerce form .form-row label { font-weight: 700; font-size: .9375rem; }
.woocommerce form .form-row .required { color: #a3361f; text-decoration: none; }
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.woocommerce-form-login .button { width: 100%; }
.woocommerce-LostPassword { margin: 14px 0 0; }
.woocommerce .password-input { position: relative; display: block; }
.woocommerce .show-password-input { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--bt-line); color: var(--bt-ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--bt-green); border-color: var(--bt-green); color: #fff; }
@media (min-width: 900px) { .woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; } .woocommerce-MyAccount-navigation ul { flex-direction: column; } .woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; } }
.woocommerce-account .woocommerce:has(form.login) { display: block; }
/* Tables become stacked rows on phones (downloads, orders) */
@media (max-width: 699px) {
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr { display: block; border: 1.5px solid var(--bt-line); border-radius: 12px; padding: 6px 12px; margin-bottom: 10px; }
	.woocommerce table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 0; text-align: right; }
	.woocommerce table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; text-align: left; }
	.woocommerce table.shop_table_responsive td.product-remove::before, .woocommerce table.shop_table_responsive td.product-thumbnail::before { content: none; }
}
.woocommerce-MyAccount-content .button, .woocommerce-table--order-downloads .button, .woocommerce-order-downloads .button { min-height: 44px !important; font-size: .9375rem !important; padding: 0 16px !important; }
.woocommerce-Address { border: 1.5px solid var(--bt-line); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.woocommerce-Address address { font-style: normal; }
.woocommerce-pagination .button { min-height: 44px; }
.wp-block-post-content a.wp-block-button__link, .wp-block-button__link { color: #fff; background: var(--bt-green); text-decoration: none; }
.wp-block-post-content a.wp-block-button__link:hover { color: #fff; background: var(--bt-green-dark); }
.woocommerce :is(form.login, form.register, form.lost_reset_password) { border-color: var(--bt-line) !important; }

/* ---------- Cart ---------- */
.woocommerce-cart-form td.product-quantity, .woocommerce-cart-form th.product-quantity { display: none !important; }
.woocommerce-cart-form button[name="update_cart"] { display: none !important; }
.woocommerce-cart-form .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-cart-form .coupon .input-text { flex: 1 1 160px; min-height: 48px; border: 1.5px solid #cfc8bb; border-radius: 10px; padding: 0 12px; font: inherit; }
.woocommerce-cart-form .coupon .button { min-height: 48px !important; font-size: 1rem !important; }
.woocommerce-cart-form td.actions { text-align: left !important; }
.woocommerce-cart-form td.actions::before { content: none !important; }
.woocommerce table.cart .product-name a { color: var(--bt-ink); font-weight: 700; text-decoration: none; }
.woocommerce a.remove { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; color: #a3361f !important; text-decoration: none; font-size: 1.4rem; }
.woocommerce a.remove:hover { background: #fbe9e5; }
.cart-collaterals { margin-top: 24px; display: grid; gap: 24px; }
.cart-collaterals .cart_totals { width: auto !important; float: none !important; }
.cart-collaterals .cross-sells { width: auto !important; float: none !important; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }
/* Product lists WooCommerce draws itself (cross-sells, related, up-sells) */
.woocommerce ul.products { list-style: none !important; padding: 0 !important; margin: 0 0 16px; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
@media (min-width: 900px) { .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { color: var(--bt-ink); text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.woocommerce ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0 !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0; padding: 0 !important; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.woocommerce ul.products li.product .price { color: var(--bt-ink); font-weight: 700; margin: 0; }
.woocommerce ul.products li.product .button { margin-top: auto; width: 100%; min-height: 44px; font-size: .9375rem; padding: 0 12px; }
.woocommerce ul.products li.product .added_to_cart { font-size: .875rem; text-align: center; }

/* ---------- Checkout ---------- */
.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner { color: var(--bt-ink) !important; background: var(--bt-cream) !important; border: 0 !important; border-left: 4px solid var(--bt-green) !important; border-radius: 12px !important; }
.woocommerce-error { border-left-color: #a3361f !important; }
.woocommerce-info::before, .woocommerce-message::before { display: none; }
.wc-block-components-notice-banner > svg { fill: var(--bt-green) !important; background: transparent !important; }
.woocommerce form.checkout_coupon { border: 1.5px solid var(--bt-line); border-radius: 12px; padding: 14px; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: auto !important; float: none !important; }
.woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { width: auto !important; float: none !important; }
@media (min-width: 600px) { .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; } .woocommerce-billing-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; } }
@media (min-width: 960px) { form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: 40px; align-items: start; } form.woocommerce-checkout > #customer_details { grid-column: 1; grid-row: 1 / span 3; } form.woocommerce-checkout > #order_review_heading, form.woocommerce-checkout > #order_review { grid-column: 2; } }
.woocommerce table.woocommerce-checkout-review-order-table { table-layout: auto; border: 1.5px solid var(--bt-line); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce-checkout-review-order-table :is(td, th) { border: 0 !important; border-bottom: 1px solid var(--bt-line) !important; padding: 10px 12px !important; }
.woocommerce-checkout-review-order-table tr:last-child :is(td, th) { border-bottom: 0 !important; }
.woocommerce-checkout-review-order-table :is(.product-total, tfoot td) { white-space: nowrap; text-align: right !important; width: 1%; }
.woocommerce-checkout #payment { background: var(--bt-cream) !important; color: var(--bt-ink); border-radius: 16px; padding: 16px; margin-top: 16px; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; padding: 0 0 12px; margin: 0 0 12px; border-bottom: 1px solid var(--bt-line); }
.woocommerce-checkout #payment ul.payment_methods li { padding: 6px 0; }
.woocommerce-checkout #payment div.payment_box { background: #fff !important; color: var(--bt-ink); border-radius: 10px; padding: 12px; margin-top: 8px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment .form-row.place-order { padding: 0 !important; margin: 0; }
.woocommerce-checkout #payment a { color: var(--bt-green-dark); }
.woocommerce-privacy-policy-text p { font-size: .875rem; color: var(--bt-muted); margin: 0 0 12px; }
.woocommerce-terms-and-conditions-wrapper .form-row { flex-direction: row; }
.woocommerce-checkout #place_order { width: 100%; float: none; min-height: 54px; }
.woocommerce form .form-row textarea { min-height: 96px; }

/* Contrast */
.bt-footer .bt-small { color: #fff; }
.woocommerce-breadcrumb, .woocommerce-breadcrumb a { color: var(--bt-muted) !important; }
.woocommerce :is(button.button.alt, a.button.alt, .single_add_to_cart_button), .woocommerce :is(button.button.alt, .single_add_to_cart_button):hover { color: #fff !important; background: var(--bt-green); }
.woocommerce .single_add_to_cart_button:hover { background: var(--bt-green-dark) !important; }
/* Cookie Notice plugin: our colors */
#cookie-notice .cn-button, #cookie-notice .cn-button:not(.cn-button-custom) { background: #fff !important; color: var(--bt-green-dark) !important; border-radius: 10px !important; font-weight: 700 !important; min-height: 40px; padding: 0 14px !important; }
#cookie-notice .cn-more-info { background: transparent !important; color: #fff !important; text-decoration: underline; }

/* ---------- Polish round 2 ---------- */
/* Her older buttons carry a WordPress default color that this theme doesn't define: Blazer green, white text. */
.wp-block-button__link.has-text-color, .wp-block-post-content a.wp-block-button__link.has-text-color { color: #fff !important; background: var(--bt-green); }
.wp-block-button__link.has-text-color:hover { background: var(--bt-green-dark); }
.wp-block-post-content .wp-block-buttons { margin-block: .6em 1.2em; }
.wp-block-post-content .wp-block-columns .wp-block-image { margin-bottom: 8px; }

/* Desktop header on one line */
@media (min-width: 1240px) {
	.bt-nav ul { flex-wrap: nowrap; gap: 6px; }
	.bt-nav ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; white-space: nowrap; }
	.bt-nav ul a:hover { background: var(--bt-cream); text-decoration: none; }
	.bt-nav ul a[aria-current="page"] { color: var(--bt-green-dark); box-shadow: inset 0 -3px 0 var(--bt-gold); border-radius: 10px 10px 0 0; }
	.bt-search { width: 220px; }
	.bt-header__logo img { width: 200px; }
}

/* Hero: three newest covers fanned beside the headline on wide screens */
.bt-hero__fan { display: none; }
@media (min-width: 960px) {
	.bt-hero { overflow: hidden; }
	.bt-hero .bt-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 420px; column-gap: 40px; align-items: center; }
	.bt-hero .bt-wrap > :not(.bt-hero__fan) { grid-column: 1; }
	.bt-hero__fan { display: block; grid-column: 2; grid-row: 1 / span 4; position: relative; height: 320px; }
	.bt-hero__cover { position: absolute; width: 220px; height: 220px; object-fit: cover; border-radius: 14px; box-shadow: 0 14px 30px rgba(30, 43, 36, .18); border: 4px solid #fff; }
	.bt-hero__cover--1 { left: 0; top: 70px; transform: rotate(-7deg); }
	.bt-hero__cover--2 { left: 100px; top: 10px; z-index: 2; transform: rotate(2deg); }
	.bt-hero__cover--3 { left: 196px; top: 86px; transform: rotate(8deg); }
}

/* Product page gallery: one big picture, the rest as small pictures under it */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.woocommerce-product-gallery__image:first-child { grid-column: 1 / -1; }
.woocommerce-product-gallery__image:not(:first-child) img { aspect-ratio: 1; object-fit: cover; border-radius: 8px !important; border: 1.5px solid var(--bt-line); }
.woocommerce-product-gallery__image:not(:first-child) a:hover img { border-color: var(--bt-green); }
.woocommerce div.product .summary .woocommerce-product-details__short-description { font-size: 1rem; line-height: 1.6; }
.woocommerce div.product .product_meta { font-size: .875rem; color: var(--bt-muted); display: grid; gap: 4px; margin-top: 16px; }
.woocommerce div.product .woocommerce-tabs .panel { line-height: 1.65; max-width: 820px; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.woocommerce div.product .related > h2 { margin-top: 12px; }

/* Blog cards line up, text-only titles keep their weight */
.bt-header__logo { flex: none; }
@media (min-width: 1240px) { .bt-header__logo img { width: 190px; } .bt-search { width: 230px; flex: none; } .bt-nav { min-width: 0; } }
@media (min-width: 1240px) { .bt-header__in { gap: 16px; } .bt-nav ul a { padding: 0 8px; } .bt-search { width: 200px; } .bt-search input { font-size: .9375rem; } }
@media (min-width: 1340px) { .bt-search { width: 240px; } .bt-nav ul a { padding: 0 10px; } }
@media (min-width: 1240px) { .bt-nav, .bt-nav-open .bt-nav { gap: 12px; } .bt-nav ul { flex: none; gap: 2px; } .bt-search, .bt-search { flex: 1 1 auto; width: auto !important; min-width: 150px; max-width: 260px; } }

/* ---------- Polish round 3 ---------- */
/* Every page title in Blazer green */
.bt-main h1 { color: var(--bt-green); }
.woocommerce-products-header__title, .woocommerce-products-header h1 { color: var(--bt-green); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); margin: 8px 0 4px; }
.bt-main--shop { max-width: 1200px; margin-inline: auto; padding: 0 var(--bt-gut) 32px; }
.woocommerce-result-count { color: var(--bt-muted); font-size: .9375rem; margin: 0 0 8px; }
.woocommerce-ordering select { min-height: 44px; border: 1.5px solid #cfc8bb; border-radius: 10px; padding: 0 36px 0 12px; font: inherit; font-size: .9375rem; background: #fff; color: var(--bt-ink); }
.woocommerce-ordering { margin: 0 0 16px; }
@media (min-width: 700px) { .woocommerce .woocommerce-result-count { float: left; margin-top: 12px; } .woocommerce .woocommerce-ordering { float: right; } .woocommerce ul.products { clear: both; } }

/* Review cards: her square pictures shown whole; calm list on phones, airy grid on wider screens */
.bt-posts { display: grid; gap: 0; }
.bt-post-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--bt-line); color: var(--bt-ink); text-decoration: none; }
.bt-post-card__media { flex: none; width: 96px; line-height: 0; }
.bt-post-card__pic { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--bt-cream); display: block; }
.bt-post-card__pic--none { display: block; }
.bt-post-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bt-post-card__cat { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bt-green-dark); }
.bt-post-card__title { font-weight: 700; font-size: 1rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bt-post-card__date { font-size: .8125rem; color: var(--bt-muted); }
.bt-post-card:hover .bt-post-card__title { color: var(--bt-green-dark); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 600px) {
	.bt-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
	.bt-post-card { flex-direction: column; gap: 10px; padding: 0; border: 0; }
	.bt-post-card__media { width: 100%; }
	.bt-post-card__pic { border-radius: 14px; transition: transform .2s; }
	.bt-post-card:hover .bt-post-card__pic { transform: scale(1.02); }
	.bt-post-card__title { font-size: 1.0625rem; }
}
@media (min-width: 1000px) { .bt-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; } }
@media (min-width: 1240px) { .bt-main--blog .bt-posts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Category chips */
.bt-chips ul { list-style: none; margin: 4px 0 24px; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.bt-chips a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #cfc8bb; color: var(--bt-ink); font-weight: 700; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.bt-chips a:hover { border-color: var(--bt-green); }
.bt-chips a[aria-current="page"] { background: var(--bt-green); border-color: var(--bt-green); color: #fff; }
@media (min-width: 960px) { .bt-chips ul { flex-wrap: wrap; overflow: visible; } }
.bt-pager { margin-top: 32px; }

/* Search results + 404 */
.bt-search__h { margin: 28px 0 12px !important; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem) !important; }
.bt-search.bt-search--page { display: flex; gap: 8px; width: 100% !important; max-width: 560px !important; margin: 8px 0 8px; }
.bt-search--page input { flex: 1; min-width: 0; height: 48px; border: 1.5px solid #cfc8bb; border-radius: 10px; padding: 0 14px; font: inherit; }
.bt-search--page .bt-btn { min-height: 48px; }
.wp-block-search__inside-wrapper { display: flex; gap: 8px; max-width: 560px; }
.wp-block-search__input { flex: 1; min-width: 0; height: 48px; border: 1.5px solid #cfc8bb !important; border-radius: 10px; padding: 0 14px; font: inherit; }
.wp-block-search__button { min-height: 48px; margin: 0 !important; border: 0; border-radius: 12px; padding: 0 20px; background: var(--bt-green); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.wp-block-search__button:hover { background: var(--bt-green-dark); }

/* Pages: columns, pictures and post lists may use the wide width (About) */
.bt-page .wp-block-post-content.is-layout-constrained > :is(.wp-block-columns, .wp-block-latest-posts, .wp-block-cover) { max-width: var(--wp--style--global--wide-size, 1100px); }
.bt-page .wp-block-post-content > .wp-block-columns { gap: 32px; margin-block: 8px 32px; }
.bt-page .wp-block-column > .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bt-page .wp-block-columns > .wp-block-column:has(> .wp-block-image:only-child) img { aspect-ratio: auto; }
.bt-page .wp-block-cover { min-height: 220px !important; }
@media (min-width: 960px) { .bt-page .wp-block-cover { min-height: 340px !important; } }
ul.wp-block-latest-posts.is-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { ul.wp-block-latest-posts.is-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
ul.wp-block-latest-posts.is-grid li { border: 0; padding: 0; }
ul.wp-block-latest-posts .wp-block-latest-posts__featured-image img { aspect-ratio: 1; border-radius: 14px !important; }
ul.wp-block-latest-posts .wp-block-latest-posts__post-title { padding: 10px 0 0; font-size: 1rem; line-height: 1.35; }
ul.wp-block-latest-posts .wp-block-latest-posts__post-date { padding: 4px 0 0; }
.bt-page .wp-block-post-content.is-layout-constrained > .bt-posts--inline { max-width: var(--wp--style--global--wide-size, 1100px); margin-block: 8px 24px; }
@media (min-width: 1000px) { .bt-posts--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bt-page .wp-block-post-content .bt-post-card { text-decoration: none; color: var(--bt-ink); }
/* Spacer blocks in her posts: keep the breathing room, never a hole */
.wp-block-post-content .wp-block-spacer { height: auto !important; min-height: 8px; max-height: 32px; flex-basis: 32px; }
.wp-block-post-content > .wp-block-spacer:last-child, .wp-block-post-content > .wp-block-separator:last-child, .wp-block-post-content > .wp-block-spacer:has(+ .wp-block-separator:last-child), .wp-block-post-content > .wp-block-separator:has(+ .wp-block-spacer:last-child), .wp-block-post-content > .wp-block-spacer:has(+ .wp-block-separator + .wp-block-spacer:last-child) { display: none; }

/* ---------- Brand: footer badge + social ---------- */
.bt-footer__badge { display: inline-block; line-height: 0; }
.bt-footer__round { width: 120px; height: 120px; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.bt-footer__follow-h { margin: 6px 0 8px; font-weight: 700; color: #fff; }
.bt-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.bt-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--bt-green-dark); }
.bt-social a:hover { background: var(--bt-gold); color: var(--bt-ink); }
.bt-social__icon { display: block; }

/* ---------- Her picture + button rows in posts (social, book talk, trailer...) ---------- */
/* A gallery followed by a row of buttons: each button sits under its picture, same width. */
.wp-block-post-content .wp-block-gallery:has(+ .wp-block-buttons) { display: grid !important; gap: 12px !important; margin-bottom: 10px; }
.wp-block-post-content .wp-block-gallery:has(+ .wp-block-buttons):has(> figure:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wp-block-post-content .wp-block-gallery:has(+ .wp-block-buttons):has(> figure:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wp-block-post-content .wp-block-gallery:has(+ .wp-block-buttons):has(> figure:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-post-content .wp-block-gallery:has(+ .wp-block-buttons) > figure.wp-block-image { width: auto !important; margin: 0 !important; }
.wp-block-post-content .wp-block-gallery:has(+ .wp-block-buttons) img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.wp-block-post-content .wp-block-gallery + .wp-block-buttons { display: grid !important; gap: 12px; margin: 0 0 1.6em; }
.wp-block-post-content .wp-block-gallery:has(> figure:nth-child(2):last-child) + .wp-block-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wp-block-post-content .wp-block-gallery:has(> figure:nth-child(3):last-child) + .wp-block-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wp-block-post-content .wp-block-gallery:has(> figure:nth-child(4):last-child) + .wp-block-buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-post-content .wp-block-gallery + .wp-block-buttons .wp-block-button { width: 100%; margin: 0; }
.wp-block-post-content .wp-block-gallery + .wp-block-buttons .wp-block-button__link { width: 100%; min-height: 48px; padding: 10px 8px; line-height: 1.25; text-align: center; white-space: normal; border-radius: 12px !important; }
@media (max-width: 599px) {
	.wp-block-post-content .wp-block-gallery:has(+ .wp-block-buttons) { gap: 8px !important; }
	.wp-block-post-content .wp-block-gallery + .wp-block-buttons { gap: 8px; }
	.wp-block-post-content .wp-block-gallery + .wp-block-buttons .wp-block-button__link { font-size: .8125rem; min-height: 44px; padding: 8px 6px; }
}

/* 0.6.2: "See details" prompt on product cards and the book pages' product grid */
.bt-card__more, .bt-loop-more { display: inline-flex; align-items: center; gap: 4px; font-size: .9375rem; font-weight: 600; color: var(--bt-green-dark); text-decoration: underline; text-underline-offset: 3px; }
.bt-card__more:hover, .woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover .bt-loop-more { color: var(--bt-green); text-decoration-thickness: 2px; }
.bt-card__pic img, .woocommerce ul.products li.product a img { transition: transform .15s ease, box-shadow .15s ease; }
.bt-card__pic:hover img, .woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover img { transform: translateY(-2px); box-shadow: 0 6px 18px rgb(0 0 0 / .12); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .bt-card__pic img, .woocommerce ul.products li.product a img { transition: none; } .bt-card__pic:hover img, .woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover img { transform: none; } }

/* Month line: same size as the hero line */
.bt-month__line { margin: 0 0 12px; color: #46524b; font-size: 1.0625rem; max-width: 60ch; }

/* ---------- 0.7.0: cart page (full width, items left, totals right) ---------- */
.bt-page--shop { max-width: 1200px; }
.bt-page--shop .wp-block-post-content > * { max-width: none; }
:is(.woocommerce-cart, .woocommerce-checkout) main .bt-page--shop :is(.woocommerce, .wp-block-post-title) { max-width: none; } /* WooCommerce's block-theme CSS caps these at 1000px */
.woocommerce table.shop_table.cart { border: 0; border-radius: 0; margin: 0 0 8px; }
.woocommerce table.shop_table.cart thead { display: none; }
.woocommerce table.shop_table.cart, .woocommerce table.shop_table.cart tbody { display: block; width: 100%; }
.woocommerce table.shop_table.cart tr { border: 0 !important; border-radius: 0 !important; margin: 0 !important; }
.woocommerce table.shop_table.cart tr.cart_item { border-bottom: 1px solid var(--bt-line) !important; }
.bt-main--cart .cart-collaterals { display: flex; flex-direction: column; gap: 32px; } .bt-main--cart .cart-collaterals .cart_totals { order: -1; }
.woocommerce table.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 36px; align-items: center; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--bt-line); }
@media (min-width: 600px) { .woocommerce table.shop_table.cart tr.cart_item { grid-template-columns: 88px minmax(0, 1fr) auto 36px; gap: 4px 20px; padding: 18px 0; } }
.woocommerce table.shop_table.cart tr.cart_item td { display: block !important; border: 0 !important; padding: 0 !important; background: none !important; text-align: left !important; }
.woocommerce table.shop_table.cart td::before { display: none !important; }
.woocommerce table.shop_table.cart td.product-thumbnail { grid-column: 1; grid-row: 1; width: auto !important; min-width: 0; }
.woocommerce-page .woocommerce-cart-form .product-thumbnail a img { width: 100% !important; }
.woocommerce table.shop_table.cart td.product-thumbnail img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1.5px solid var(--bt-line); display: block; }
.woocommerce table.shop_table.cart td.product-name { grid-column: 2; grid-row: 1; font-size: 1rem; line-height: 1.4; }
.woocommerce table.shop_table.cart tr.cart_item :is(td.product-price, td.product-quantity) { display: none !important; }
.woocommerce table.shop_table.cart td.product-subtotal { grid-column: 3; grid-row: 1; font-weight: 700; white-space: nowrap; }
.woocommerce table.shop_table.cart td.product-remove { grid-column: 4; grid-row: 1; justify-self: end; }
.woocommerce table.shop_table.cart tr:not(.cart_item), .woocommerce table.shop_table.cart td.actions { display: block !important; border: 0 !important; padding: 0 !important; background: none !important; }
.woocommerce table.shop_table.cart td.actions { padding-top: 18px !important; }
.woocommerce-cart-form .coupon { max-width: 460px; }
.woocommerce-cart-form .coupon label { display: none; }
.cart_totals { background: var(--bt-cream); border-radius: 16px; padding: 20px; }
.cart_totals h2 { font-size: 1.25rem; margin: 0 0 8px; }
.cart_totals table.shop_table { border: 0 !important; margin: 0 0 16px !important; background: none; }
.cart_totals table.shop_table :is(th, td) { border: 0 !important; border-top: 1px solid #e2ddd3 !important; padding: 12px 0 !important; background: none !important; }
.cart_totals table.shop_table tr:first-child :is(th, td) { border-top: 0 !important; }
.cart_totals table.shop_table td { text-align: right; }
.cart_totals .order-total :is(th, td) { font-size: 1.125rem; }
.cart_totals .wc-proceed-to-checkout { padding: 0 !important; }
.cart_totals .wc-proceed-to-checkout .checkout-button { min-height: 54px; display: flex !important; align-items: center; justify-content: center; margin: 0 0 8px !important; font-size: 1.0625rem !important; }
.woocommerce .cart-empty, .woocommerce .return-to-shop { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .bt-main--cart .wp-block-post-content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 48px; align-items: start; }
  .bt-main--cart .woocommerce > :is(.woocommerce-notices-wrapper, .wc-empty-cart-message, .cart-empty, .return-to-shop) { grid-column: 1 / -1; }
  .bt-main--cart .woocommerce-cart-form { grid-column: 1; grid-row: 2; }
  .bt-main--cart .cart-collaterals { display: contents; }
  .bt-main--cart .cart-collaterals .cart_totals { grid-column: 2; grid-row: 2 / span 2; }
  .bt-main--cart .cart-collaterals .cross-sells { grid-column: 1; grid-row: 3; margin-top: 32px; }
}

/* ---------- 0.7.0: checkout (full width, details left, order right) ---------- */
@media (min-width: 960px) { form.woocommerce-checkout { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 48px; } }
.woocommerce-checkout #order_review_heading { font-size: 1.25rem; margin: 0 0 10px; }
@media (min-width: 960px) { .woocommerce-checkout #order_review_heading { margin-top: 0; } }
.woocommerce-checkout #customer_details h3 { font-size: 1.25rem; margin: 0 0 12px; }
.woocommerce form .form-row :is(input.input-text, select) { min-height: 48px; border: 1.5px solid #cfc8bb; border-radius: 10px; padding: 0 12px; font: inherit; background: #fff; }
.woocommerce form .form-row textarea { border: 1.5px solid #cfc8bb; border-radius: 10px; padding: 10px 12px; font: inherit; }
.woocommerce form .form-row :is(input.input-text, select, textarea):focus { border-color: var(--bt-green); outline: 2px solid var(--bt-gold); outline-offset: 1px; }
.woocommerce form .form-row label { font-weight: 600; margin-bottom: 4px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 16px; }

/* ---------- 0.7.0: side cart ---------- */
.bt-drawer[hidden] { display: none; }
.bt-drawer { position: fixed; inset: 0; z-index: 100001; } /* above the cookie bar (100000) */
.bt-drawer__scrim { position: absolute; inset: 0; background: rgb(30 43 36 / .45); opacity: 0; transition: opacity .2s ease; }
.bt-drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -8px 0 30px rgb(0 0 0 / .15); outline: 0; }
.bt-drawer.is-open .bt-drawer__scrim { opacity: 1; }
.bt-drawer.is-open .bt-drawer__panel { transform: none; }
html.bt-drawer-open { overflow: hidden; }
.bt-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--bt-line); }
.bt-drawer__head h2 { margin: 0; font-size: 1.25rem; color: var(--bt-green); }
.bt-drawer__x { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--bt-ink); }
.bt-drawer__x:hover { background: var(--bt-cream); }
.bt-drawer__x svg { width: 24px; height: 24px; }
.bt-drawer__status:empty { display: none; }
.bt-drawer__status { margin: 12px 20px 0; padding: 10px 12px; border-radius: 10px; background: var(--bt-cream); border-left: 4px solid var(--bt-green); font-size: .9375rem; }
.bt-drawer__status.is-error { border-left-color: #a3361f; }
.bt-drawer__items { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 0 20px; }
.bt-drawer__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--bt-line); }
.bt-drawer__item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1.5px solid var(--bt-line); grid-row: 1 / span 2; }
.bt-drawer__name { color: var(--bt-ink); font-weight: 600; font-size: .9375rem; line-height: 1.35; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bt-drawer__name:hover { text-decoration: underline; }
.bt-drawer__price { font-weight: 700; white-space: nowrap; }
.bt-drawer__remove { grid-column: 2; justify-self: start; border: 0; background: none; padding: 4px 0; font: inherit; font-size: .875rem; color: var(--bt-muted); text-decoration: underline; cursor: pointer; min-height: 32px; }
.bt-drawer__remove:hover { color: #a3361f; }
.bt-drawer__empty { padding: 28px 0; color: var(--bt-muted); }
.bt-drawer__foot { border-top: 1px solid var(--bt-line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 10px; }
.bt-drawer__foot[hidden] { display: none; }
.bt-drawer__sub { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: 1.125rem; }
.bt-drawer__foot .bt-btn { width: 100%; min-height: 50px; }
.bt-drawer__keep { border: 0; background: none; font: inherit; color: var(--bt-green-dark); text-decoration: underline; cursor: pointer; min-height: 40px; }
.bt-drawer.is-busy .bt-drawer__items { opacity: .5; }
[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (prefers-reduced-motion: reduce) { .bt-drawer__scrim, .bt-drawer__panel { transition: none; } }
.cart_totals table.shop_table tr { border: 0 !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; }
.cart_totals table.shop_table_responsive tr td { border-top: 1px solid #e2ddd3 !important; }
.cart_totals table.shop_table_responsive tr:first-child td { border-top: 0 !important; }
