/*
Theme Name: Chilli Blossom Farm 2026
Description: A warm, editorial storefront child theme for Chilli Blossom Farm.
Template: twentytwentyfive
Version: 1.2.1
Text Domain: chilli-blossom-farm
*/

:root {
	--cb-ink: #22211f;
	--cb-muted: #6b6862;
	--cb-red: #bd2636;
	--cb-red-dark: #941c2b;
	--cb-cream: #fbf8f2;
	--cb-paper: #fffefa;
	--cb-line: #e9e3da;
	--cb-green: #345b3f;
	--cb-green-dark: #27452f;
	--cb-green-soft: #eef1e8;
	--cb-radius: 18px;
	--cb-shadow: 0 18px 46px rgba(31, 29, 25, .08);
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; overflow-x: hidden; background: var(--cb-paper); color: var(--cb-ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
body, button, input, select, textarea { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--cb-red-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cb-ink); }
button, input[type="submit"], .button, .wp-element-button { border-radius: 999px; }
:focus-visible { outline: 3px solid #e7a6ac; outline-offset: 3px; }
.wp-site-blocks { min-height: 100vh; }
.cb-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.cb-screen-reader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header and navigation */
.cb-announcement { background: var(--cb-ink); color: #fff; text-align: center; padding: 7px 16px; font-size: 12px; letter-spacing: .045em; }
.cb-site-header { position: relative; z-index: 30; background: rgba(255,254,250,.97); border-bottom: 1px solid var(--cb-line); }
.cb-header-inner { width: min(1320px, calc(100% - 40px)); min-height: 88px; margin: auto; display: flex; align-items: center; gap: 30px; }
.cb-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--cb-ink); text-decoration: none; flex: 0 0 auto; }
.cb-brand:hover { color: var(--cb-ink); }
.cb-brand-logo { display: block; width: 116px; height: auto; max-height: 70px; object-fit: contain; }
.cb-brand-mark { width: 42px; height: 42px; display: block; }
.cb-brand-name { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 20px; line-height: 1.05; letter-spacing: -.025em; }
.cb-brand-name em { color: var(--cb-red); font-style: normal; }
.cb-brand-tagline { display: block; margin-top: 5px; color: var(--cb-muted); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cb-menu-toggle { display: none; margin-left: auto; padding: 9px; color: var(--cb-ink); background: transparent; border: 1px solid var(--cb-line); cursor: pointer; }
.cb-menu-toggle svg, .cb-header-icon svg { width: 22px; height: 22px; display: block; }
.cb-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 1.45vw, 23px); margin-left: auto; }
.cb-nav a, .cb-nav summary { color: var(--cb-ink); font-size: 13px; font-weight: 650; text-decoration: none; cursor: pointer; }
.cb-nav a:hover, .cb-nav summary:hover { color: var(--cb-red); }
.cb-nav-dropdown { position: relative; }
.cb-nav-dropdown summary { list-style: none; white-space: nowrap; }
.cb-nav-dropdown summary::-webkit-details-marker { display: none; }
.cb-nav-dropdown summary::after { content: "⌄"; margin-left: 5px; color: var(--cb-muted); }
.cb-nav-dropdown[open] .cb-submenu, .cb-nav-dropdown:hover .cb-submenu, .cb-nav-dropdown:focus-within .cb-submenu { display: grid; }
.cb-submenu { display: none; position: absolute; top: calc(100% + 12px); left: -18px; min-width: 220px; padding: 10px; background: #fff; border: 1px solid var(--cb-line); border-radius: 14px; box-shadow: var(--cb-shadow); gap: 2px; }
.cb-submenu a { padding: 9px 11px; border-radius: 9px; }
.cb-submenu a:hover { background: var(--cb-cream); }
.cb-header-tools { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; }
.cb-header-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; color: var(--cb-ink); text-decoration: none; }
.cb-header-icon:hover { color: var(--cb-red); }
.cb-cart-count { position: absolute; top: -8px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: var(--cb-red); color: #fff; font-size: 10px; font-weight: 700; line-height: 1; }
.cb-cart-count[hidden] { display: none; }

/* Homepage */
.cb-home { overflow: hidden; }
.cb-hero { background: radial-gradient(circle at 88% 20%, rgba(189,38,54,.1), transparent 30%), linear-gradient(115deg, #fbf8f2 0%, #f8eee4 100%); padding: clamp(34px, 6vw, 78px) 0; }
.cb-hero-grid { display: block; }
.cb-hero-copy-wrap { max-width: 790px; }
.cb-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--cb-red-dark); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.cb-eyebrow::before { content: ""; width: 21px; height: 2px; background: currentColor; }
.cb-hero h1 { max-width: 660px; margin: 16px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.8vw, 72px); font-weight: 500; letter-spacing: -.055em; line-height: 1; }
.cb-hero h1 em { color: var(--cb-red); font-style: normal; white-space: nowrap; }
.cb-hero-copy { max-width: 560px; margin: 0; color: var(--cb-muted); font-size: clamp(16px, 1.65vw, 19px); }
.cb-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cb-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 21px; border: 1px solid var(--cb-red); border-radius: 999px; background: var(--cb-red); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background .18s ease, transform .18s ease, border-color .18s ease; }
.cb-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { background: var(--cb-red-dark); border-color: var(--cb-red-dark); color: #fff; transform: translateY(-1px); }
.cb-button--quiet { background: transparent; color: var(--cb-ink); border-color: #d9d1c7; }
.cb-button--quiet:hover { background: #fff; border-color: var(--cb-ink); color: var(--cb-ink); }
.cb-trust-strip { background: #fff; border-bottom: 1px solid var(--cb-line); }
.cb-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cb-trust-grid > div { display: flex; flex-direction: column; gap: 2px; padding: 16px 22px; border-left: 1px solid var(--cb-line); }
.cb-trust-grid > div:first-child { padding-left: 0; border-left: 0; }
.cb-trust-grid strong { color: var(--cb-ink); font-size: 12px; font-weight: 750; letter-spacing: .02em; }
.cb-trust-grid span { color: var(--cb-muted); font-size: 11px; line-height: 1.45; }
.cb-section { padding: clamp(44px, 7vw, 82px) 0; }
.cb-section--soft { background: var(--cb-cream); }
.cb-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.cb-section-heading h2 { margin: 6px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 46px); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; }
.cb-section-heading p { max-width: 500px; margin: 8px 0 0; color: var(--cb-muted); }
.cb-text-link { color: var(--cb-red-dark); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cb-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.cb-category-card { position: relative; display: block; min-height: 265px; overflow: hidden; isolation: isolate; border-radius: var(--cb-radius); background: #e8e0d5; color: #fff; text-decoration: none; }
.cb-category-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(13,15,13,.02) 18%, rgba(16,17,16,.82) 100%); }
.cb-category-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cb-category-card:hover img { transform: scale(1.045); }
.cb-category-card__copy { position: absolute; right: 19px; bottom: 17px; left: 19px; }
.cb-category-card__copy small { display: block; margin-bottom: 5px; color: rgba(255,255,255,.94); font-size: 11px; text-shadow: 0 1px 7px rgba(0,0,0,.5); }
.cb-category-card__copy strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; line-height: 1.1; }
.cb-category-note { display: block; max-width: 220px; margin-top: 6px; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.35; text-shadow: 0 1px 7px rgba(0,0,0,.4); }
.cb-category-arrow { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; color: #fff; font-size: 18px; }
.cb-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 17px; }
.cb-product-card { min-width: 0; padding: 10px; overflow: hidden; border: 1px solid var(--cb-line); border-radius: 15px; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.cb-product-card:hover { transform: translateY(-3px); box-shadow: var(--cb-shadow); }
.cb-product-card__image { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 10px; background: var(--cb-cream); }
.cb-product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cb-product-card:hover .cb-product-card__image img { transform: scale(1.035); }
.cb-product-badge { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 99px; background: var(--cb-red); color: #fff; font-size: 10px; font-weight: 700; }
.cb-product-card__body { padding: 12px 3px 3px; }
.cb-product-card__category { display: block; margin-bottom: 4px; color: var(--cb-muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.cb-product-card__title { display: block; min-height: 2.7em; color: var(--cb-ink); font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.28; text-decoration: none; }
.cb-product-card__title:hover { color: var(--cb-red-dark); }
.cb-product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.cb-product-card .price { color: var(--cb-ink); font-size: 14px; font-weight: 750; }
.cb-product-card .price del { color: var(--cb-muted); font-size: 11px; font-weight: 500; }
.cb-product-card .price ins { text-decoration: none; }
.cb-product-card .add_to_cart_button, .cb-product-card a.button { min-height: 34px; padding: 8px 12px; font-size: 11px; }
.cb-story-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 65px); align-items: center; padding: clamp(25px, 5vw, 56px); border-radius: 22px; background: #262522; color: #fff; }
.cb-story-mark { display: flex; align-items: center; justify-content: center; min-height: 220px; padding: 20px; border-radius: 17px; background: linear-gradient(135deg, #ba2735, #721f26); }
.cb-story-mark--logo .cb-brand { justify-content: center; width: 100%; }
.cb-story-mark--logo .cb-brand-logo { width: min(250px, 100%); max-height: 170px; padding: 10px; border-radius: 14px; background: #fff; }
.cb-story-panel h2 { margin: 8px 0 13px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 4vw, 45px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.cb-story-panel p { max-width: 630px; margin: 0 0 20px; color: rgba(255,255,255,.75); }
.cb-story-panel .cb-button--quiet { color: #fff; border-color: rgba(255,255,255,.42); }
.cb-story-panel .cb-button--quiet:hover { background: #fff; border-color: #fff; color: var(--cb-ink); }

/* Practical help, values and journal teaser */
.cb-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cb-step { padding: 26px 24px 24px; border-top: 2px solid var(--cb-ink); background: #fff; border-radius: 0 0 14px 14px; }
.cb-step__number { display: block; margin-bottom: 14px; color: var(--cb-red); font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1; }
.cb-step h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 500; line-height: 1.2; }
.cb-step p { margin: 0; color: var(--cb-muted); font-size: 14px; }

.cb-promise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cb-promise { padding: 24px; border: 1px solid var(--cb-line); border-radius: 15px; background: #fff; }
.cb-promise h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 500; line-height: 1.2; }
.cb-promise p { margin: 0; color: var(--cb-muted); font-size: 14px; }

.cb-journal-section .cb-blog-grid { margin-bottom: 0; }
.cb-post-card__meta { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; color: var(--cb-muted); font-size: 10px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.cb-post-card__meta span { color: var(--cb-line); }
.cb-post-card h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 500; line-height: 1.22; }
.cb-post-card h3 a { color: var(--cb-ink); text-decoration: none; }
.cb-post-card h3 a:hover { color: var(--cb-red-dark); }
.cb-post-card__image { display: block; }

.cb-help-band { padding: clamp(34px, 5vw, 58px) 0; background: var(--cb-green); color: #fff; }
.cb-help-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.cb-help-band .cb-eyebrow { color: #cfe0c3; }
.cb-help-band h2 { margin: 8px 0 10px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3.8vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.cb-help-band p { max-width: 640px; margin: 0; color: rgba(255,255,255,.78); }
.cb-button--light { background: #fff; color: var(--cb-green-dark); border-color: #fff; }
.cb-button--light:hover { background: var(--cb-cream); border-color: var(--cb-cream); color: var(--cb-green-dark); }

/* Page, category, and article layouts */
.cb-page-shell { width: min(1080px, calc(100% - 48px)); margin: clamp(35px, 6vw, 72px) auto 90px; }
.cb-page-title { margin: 0 0 30px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; }
.cb-page-content { max-width: 820px; margin-inline: auto; }
.cb-page-content > :first-child { margin-top: 0; }
.cb-page-content h2, .cb-page-content h3 { margin: 1.7em 0 .55em; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.16; letter-spacing: -.025em; }
.cb-page-content h2 { font-size: clamp(26px,3vw,35px); }
.cb-page-content h3 { font-size: 23px; }
.cb-page-content p, .cb-page-content li { color: #4c4943; }
.cb-page-content p { margin-block: 0 1.05em; }
.cb-page-content li { margin-block: .3em; }
.cb-page-content img { max-width: 100%; height: auto; border-radius: 12px; }
.cb-page-content .wp-block-image { margin-block: 1.6em; }
.cb-page-content .wp-block-quote { padding: 10px 0 10px 20px; border-left: 3px solid var(--cb-red); color: var(--cb-muted); }
.cb-breadcrumbs { margin-bottom: 17px; color: var(--cb-muted); font-size: 12px; }
.cb-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cb-breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.cb-breadcrumbs li + li::before { content: "/"; color: #c9c1b6; }
.cb-breadcrumbs a { color: var(--cb-muted); text-decoration: none; }
.cb-breadcrumbs a:hover { color: var(--cb-ink); }
.cb-breadcrumbs [aria-current="page"] { color: var(--cb-ink); }
.cb-archive-header { margin: 35px 0 26px; padding: clamp(23px,4vw,42px); border-radius: 19px; background: var(--cb-cream); }
.cb-archive-header h1 { margin: 7px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px,5vw,54px); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
.cb-archive-header p { max-width: 760px; margin: 0; color: var(--cb-muted); }
.cb-category-intro { max-width: 900px; margin: 0 0 22px; }
.cb-category-intro > .cb-eyebrow, .cb-blog-intro > .cb-eyebrow { margin: 0 0 10px; }
.cb-category-intro > p:not(.cb-eyebrow) { max-width: 760px; margin: 0 0 12px; color: #4c4943; font-size: 16px; }
.cb-category-intro > p:not(.cb-eyebrow):last-of-type { margin-bottom: 0; }
.cb-category-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; padding: 0; list-style: none; }
.cb-category-links a { color: var(--cb-red-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.cb-category-links a:hover { text-decoration: underline; }
.cb-grow-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 26px; border: 1px solid var(--cb-line); border-radius: 14px; background: #fff; overflow: hidden; }
.cb-grow-facts > div { padding: 13px 16px; border-left: 1px solid var(--cb-line); }
.cb-grow-facts > div:first-child { border-left: 0; }
.cb-grow-facts dt { margin-bottom: 3px; color: var(--cb-muted); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.cb-grow-facts dd { margin: 0; color: var(--cb-ink); font-size: 13px; font-weight: 650; line-height: 1.35; }
.cb-category-learning { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(24px, 5vw, 56px); margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--cb-line); }
.cb-category-faq h2, .cb-category-reading h2 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 2.8vw, 32px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.cb-faq { border-bottom: 1px solid var(--cb-line); }
.cb-faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 15px 0; color: var(--cb-ink); cursor: pointer; font-size: 14px; font-weight: 650; list-style: none; }
.cb-faq summary::-webkit-details-marker { display: none; }
.cb-faq summary::after { content: "+"; color: var(--cb-red); font-size: 19px; line-height: 1; }
.cb-faq[open] summary::after { content: "−"; }
.cb-faq__answer p { margin: 0 0 16px; color: var(--cb-muted); font-size: 14px; }
.cb-category-reading { align-self: start; padding: 22px; border-radius: 15px; background: var(--cb-cream); }
.cb-category-reading ul { margin: 0; padding: 0; list-style: none; }
.cb-category-reading li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--cb-line); }
.cb-category-reading a { color: var(--cb-ink); font-size: 13px; font-weight: 650; text-decoration: none; }
.cb-category-reading a:hover { color: var(--cb-red-dark); }
.cb-shop-assurance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 34px 0 65px; padding: 22px 0; border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); }
.cb-shop-assurance strong { display: block; margin-bottom: 3px; color: var(--cb-ink); font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.cb-shop-assurance span { color: var(--cb-muted); font-size: 12px; }
.cb-shop-category-section { margin: 30px 0 38px; }
.cb-shop-category-section .cb-section-heading { margin-bottom: 18px; }
.cb-shop-category-section .cb-section-heading h2 { font-size: clamp(28px, 3.5vw, 38px); }
.cb-shop-category-grid .cb-category-card { min-height: 225px; }
.cb-archive-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.cb-archive-cats a { padding: 7px 12px; border: 1px solid var(--cb-line); border-radius: 99px; background: #fff; color: var(--cb-ink); font-size: 11px; font-weight: 650; text-decoration: none; }
.cb-archive-cats a:hover, .cb-archive-cats a.is-current { border-color: var(--cb-red); background: var(--cb-red); color: #fff; }
.cb-catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; margin: 22px 0 25px; padding: 16px; border: 1px solid var(--cb-line); border-radius: 14px; background: var(--cb-cream); }
.cb-price-filter { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.cb-price-filter__title { align-self: center; margin-right: 4px; color: var(--cb-ink); font-size: 12px; font-weight: 750; }
.cb-price-filter label { display: grid; gap: 4px; color: var(--cb-muted); font-size: 10px; font-weight: 650; }
.cb-price-filter input { width: 92px; min-height: 38px; padding: 8px 10px; border: 1px solid var(--cb-line); border-radius: 8px; background: #fff; color: var(--cb-ink); font-size: 12px; }
.cb-price-filter .cb-button { min-height: 38px; padding: 8px 14px; border-radius: 8px; font-size: 11px; cursor: pointer; }
.cb-price-filter__clear { align-self: center; color: var(--cb-muted); font-size: 11px; font-weight: 650; text-decoration: none; }
.cb-price-filter__clear:hover { color: var(--cb-red-dark); text-decoration: underline; }
.cb-catalog-controls { display: flex; align-items: center; justify-content: flex-end; gap: 15px; margin: 0; }
.cb-catalog-controls .woocommerce-result-count { margin: 0; color: var(--cb-muted); font-size: 12px; }
.cb-catalog-controls .woocommerce-ordering { float: none; margin: 0; }
.cb-catalog-controls select { min-height: 40px; padding: 8px 34px 8px 12px; border: 1px solid var(--cb-line); border-radius: 10px; background: #fff; color: var(--cb-ink); font-size: 12px; }
.cb-pagination { display: flex; justify-content: center; margin: 34px 0 65px; }
.cb-pagination ul.page-numbers, .woocommerce-pagination ul.page-numbers { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; border: 0; list-style: none; }
.cb-pagination li, .woocommerce-pagination li { margin: 0; padding: 0; border: 0; list-style: none; }
.cb-pagination a.page-numbers, .cb-pagination span.page-numbers, .woocommerce-pagination a.page-numbers, .woocommerce-pagination span.page-numbers, .navigation.pagination .page-numbers { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; border: 0; border-radius: 7px; background: transparent; color: var(--cb-ink); font-size: 12px; line-height: 1; text-decoration: none; }
.cb-pagination .page-numbers.current, .woocommerce-pagination .page-numbers.current, .navigation.pagination .page-numbers.current { background: var(--cb-cream); color: var(--cb-red-dark); font-weight: 750; }
.cb-pagination a.page-numbers:hover, .woocommerce-pagination a.page-numbers:hover, .navigation.pagination a.page-numbers:hover { background: var(--cb-cream); color: var(--cb-red-dark); }
.cb-pagination .page-numbers.dots { min-width: 18px; padding: 0 2px; }
.navigation.pagination .nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; }
.navigation.pagination .page-numbers { margin: 0; }
.cb-no-products { padding: 38px; border: 1px dashed var(--cb-line); border-radius: 15px; color: var(--cb-muted); text-align: center; }
.cb-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; margin: 22px 0 70px; }
.cb-post-card { overflow: hidden; border: 1px solid var(--cb-line); border-radius: 15px; background: #fff; }
.cb-post-card img { width: 100%; aspect-ratio: 1.4/1; object-fit: cover; display: block; background: var(--cb-cream); }
.cb-post-card__body { padding: 16px; }
.cb-post-card time { color: var(--cb-muted); font-size: 11px; }
.cb-post-card h2 { margin: 7px 0; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.2; }
.cb-post-card h2 a { color: var(--cb-ink); text-decoration: none; }
.cb-post-card p { margin: 0; color: var(--cb-muted); font-size: 13px; }
.cb-blog-intro { max-width: 760px; margin: 0 0 26px; }
.cb-blog-intro p:not(.cb-eyebrow) { margin: 0; color: var(--cb-muted); font-size: 17px; }

.cb-post-author { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--cb-line); }
.cb-post-author p { margin: 0; color: var(--cb-muted); font-size: 13px; }
.cb-post-author strong { color: var(--cb-ink); }
.cb-post-author span { color: var(--cb-muted); }
.cb-post-cta { margin: 36px 0 0; padding: clamp(24px, 4vw, 38px); border: 1px solid var(--cb-line); border-radius: 18px; background: var(--cb-cream); }
.cb-post-cta h2 { margin: 8px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 3vw, 34px); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
.cb-post-cta p { max-width: 620px; margin: 0 0 18px; color: var(--cb-muted); }
.cb-related-posts { margin-top: 42px; }
.cb-related-posts h2 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.cb-blog-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }

/* Reading aids on long policy pages */
.cb-toc { margin: 0 0 30px; padding: 20px 24px; border: 1px solid var(--cb-line); border-radius: 14px; background: #fff; }
.cb-toc__title { margin: 0 0 8px; color: var(--cb-muted); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.cb-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 30px; font-size: 13px; }
.cb-toc li { margin: 4px 0; break-inside: avoid; }
.cb-toc a { color: var(--cb-ink); text-decoration: none; }
.cb-toc a:hover { color: var(--cb-red-dark); text-decoration: underline; }
.cb-page-updated { margin-top: 30px; color: var(--cb-muted); font-size: 11px; }
.cb-page-help { margin: 44px 0 0; padding: 28px; border-radius: 18px; background: var(--cb-green); color: #fff; }
.cb-page-help h2 { margin: 0 0 8px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.cb-page-help p { margin: 0 0 18px; color: rgba(255,255,255,.8); }
.cb-page-help a { color: #fff; }
.cb-page-help .cb-button { background: #fff; border-color: #fff; color: var(--cb-green-dark); }
.cb-page-help .cb-button:hover { background: var(--cb-cream); border-color: var(--cb-cream); color: var(--cb-green-dark); }

/* WooCommerce product details, cart and account pages */
.cb-product-page { width: min(1180px, calc(100% - 48px)); margin: 32px auto 80px; }
.cb-product-main { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr); align-items: start; gap: clamp(28px,5vw,66px); }
.cb-product-main .woocommerce-product-gallery { width: 100% !important; float: none !important; opacity: 1 !important; }
.cb-product-main .woocommerce-product-gallery__trigger { display: none; }
.cb-product-main .woocommerce-product-gallery__wrapper { border-radius: 18px; overflow: hidden; background: var(--cb-cream); }
.cb-product-main .woocommerce-product-gallery__image { border-radius: 18px; overflow: hidden; }
.cb-product-main .woocommerce-product-gallery__image img { width: 100%; height: auto; display: block; }
.cb-product-main .flex-control-thumbs { display: none; }
.cb-product-main .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.cb-product-main .product_title { margin: 0 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px,4.4vw,52px); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.cb-product-main .price { color: var(--cb-ink); font-size: 22px !important; font-weight: 750; }
.cb-product-main .woocommerce-product-details__short-description { color: var(--cb-muted); }
.cb-product-main form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-block: 22px; }
.cb-product-main form.cart .quantity input { min-height: 44px; border: 1px solid var(--cb-line); border-radius: 10px; }
.cb-product-main .product_meta { padding-top: 15px; border-top: 1px solid var(--cb-line); color: var(--cb-muted); font-size: 12px; }
.cb-product-details { margin-top: 48px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 8px; margin: 0 0 22px; padding: 0 !important; border: 0 !important; list-style: none; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; list-style: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 9px 14px !important; border-radius: 99px; background: var(--cb-cream); color: var(--cb-ink) !important; font-size: 12px; }
.woocommerce-tabs ul.tabs li.active a { background: var(--cb-ink); color: #fff !important; }
.woocommerce-tabs .panel { max-width: 820px; color: #4c4943; }
.woocommerce-tabs .panel h2 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.woocommerce-Tabs-panel--description > h2:first-of-type { display: none; }
.woocommerce-tabs .panel[hidden] { display: none !important; }
.woocommerce-tabs .panel ul { padding-left: 1.15em; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--cb-red); border-radius: 10px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--cb-red); }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { min-height: 42px; padding: 10px 12px; border: 1px solid var(--cb-line); border-radius: 9px; background: #fff; }
.woocommerce table.shop_table { border-color: var(--cb-line); border-radius: 12px; overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 13px; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { padding: 20px; border: 1px solid var(--cb-line); border-radius: 15px; background: #fff; }
.woocommerce .quantity .qty { width: 4.2em; }
.woocommerce .star-rating { color: #ce8d25; }
.woocommerce .products { clear: both; }

/* Footer */
.cb-site-footer { padding: 49px 0 20px; background: #242321; color: rgba(255,255,255,.75); }
.cb-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.cb-site-footer .cb-brand { color: #fff; }
.cb-site-footer .cb-brand-tagline { color: rgba(255,255,255,.57); }
.cb-footer-intro { max-width: 310px; margin: 15px 0 0; color: rgba(255,255,255,.65); font-size: 13px; }
.cb-footer-address { margin: 14px 0 0; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.6; }
.cb-footer-address a { color: rgba(255,255,255,.8); text-decoration: none; }
.cb-footer-address a:hover { color: #fff; }
.cb-footer-col h2 { margin: 3px 0 13px; color: #fff; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.cb-footer-col a { display: block; width: fit-content; margin: 8px 0; color: rgba(255,255,255,.68); font-size: 12px; text-decoration: none; }
.cb-footer-col a:hover { color: #fff; }
.cb-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 37px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.53); font-size: 11px; }
.cb-footer-bottom a { color: rgba(255,255,255,.68); text-decoration: none; }

@media (max-width: 1000px) {
	.cb-header-inner { min-height: 76px; gap: 17px; }
	.cb-nav { gap: 12px; }
	.cb-nav a, .cb-nav summary { font-size: 12px; }
	.cb-brand-name { font-size: 18px; }
	.cb-header-tools { gap: 11px; }
	.cb-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
	.cb-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
	.cb-wrap { width: min(100% - 32px, 560px); }
	.cb-announcement { font-size: 10px; }
	.cb-header-inner { width: calc(100% - 28px); min-height: 70px; gap: 12px; flex-wrap: wrap; }
	.cb-brand-logo { width: 104px; max-height: 62px; }
	.cb-brand-mark { width: 36px; height: 36px; }
	.cb-brand-name { font-size: 17px; }
	.cb-brand-tagline { font-size: 8px; }
	.cb-menu-toggle { display: inline-flex; align-items: center; justify-content: center; order: 3; margin-left: 0; }
	.cb-header-tools { margin-left: auto; order: 2; }
	.cb-nav { display: none; flex: 0 0 100%; order: 4; align-items: stretch; flex-direction: column; gap: 0; margin: -2px 0 12px; padding: 8px; border: 1px solid var(--cb-line); border-radius: 14px; background: #fff; }
	.cb-nav-open .cb-nav { display: flex; }
	.cb-nav > a, .cb-nav > .cb-nav-dropdown > summary { display: block; padding: 11px 10px; border-radius: 9px; font-size: 14px; }
	.cb-nav > a:hover, .cb-nav > .cb-nav-dropdown > summary:hover { background: var(--cb-cream); }
	.cb-nav-dropdown summary::after { float: right; }
	.cb-submenu { position: static; display: none; min-width: 0; padding: 2px 6px 8px 14px; border: 0; border-radius: 0; box-shadow: none; }
	.cb-nav-dropdown[open] .cb-submenu { display: grid; }
	.cb-submenu a { padding: 9px; }
	.cb-hero { padding: 32px 0 27px; }
	.cb-hero h1 { max-width: 520px; font-size: clamp(38px, 11vw, 56px); }
	.cb-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cb-trust-grid > div { padding: 13px 0; border-left: 0; border-top: 1px solid var(--cb-line); }
	.cb-trust-grid > div:nth-child(-n+2) { border-top: 0; }
	.cb-trust-grid > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--cb-line); }
	.cb-section { padding: 42px 0; }
	.cb-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
	.cb-steps { grid-template-columns: 1fr; gap: 12px; }
	.cb-step { padding: 20px; }
	.cb-promise-grid { grid-template-columns: 1fr; gap: 12px; }
	.cb-help-band__inner { align-items: flex-start; flex-direction: column; gap: 22px; }
	.cb-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
	.cb-category-card { min-height: 210px; border-radius: 13px; }
	.cb-category-card__copy { right: 12px; bottom: 12px; left: 12px; }
	.cb-category-card__copy strong { font-size: 19px; }
	.cb-category-note { max-width: 170px; margin-top: 4px; font-size: 11px; }
	.cb-grow-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cb-grow-facts > div { border-top: 1px solid var(--cb-line); border-left: 1px solid var(--cb-line); }
	.cb-grow-facts > div:nth-child(odd) { border-left: 0; }
	.cb-grow-facts > div:nth-child(-n+2) { border-top: 0; }
	.cb-category-learning { grid-template-columns: 1fr; gap: 26px; margin-top: 38px; padding-top: 30px; }
	.cb-shop-assurance { grid-template-columns: 1fr; gap: 14px; margin-bottom: 45px; }
	.cb-category-intro > p:not(.cb-eyebrow) { font-size: 15px; }
	.cb-toc ol { columns: 1; }
	.cb-page-help { padding: 22px; }
	.cb-blog-grid--related { grid-template-columns: 1fr; }
	.cb-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
	.cb-product-card { padding: 7px; border-radius: 12px; }
	.cb-product-card__body { padding: 9px 2px 2px; }
	.cb-product-card__title { font-size: 15px; }
	.cb-product-card__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
	.cb-product-card .add_to_cart_button, .cb-product-card a.button { width: 100%; }
	.cb-story-panel { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
	.cb-story-mark { min-height: 150px; }
	.cb-page-shell { width: calc(100% - 32px); margin: 34px auto 60px; }
	.cb-page-title { margin-bottom: 22px; }
	.cb-product-page { width: calc(100% - 32px); margin-top: 20px; }
	.cb-product-main { grid-template-columns: 1fr; gap: 24px; }
	.cb-catalog-toolbar { grid-template-columns: 1fr; gap: 14px; }
	.cb-price-filter { align-items: end; }
	.cb-price-filter__title { flex-basis: 100%; }
	.cb-catalog-controls { align-items: flex-start; flex-direction: column; gap: 9px; }
	.cb-blog-grid { grid-template-columns: 1fr; }
	.cb-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 18px; }
	.cb-footer-grid > :first-child { grid-column: 1 / -1; }
	.cb-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
	.cb-home .cb-category-grid,
	.cb-home .cb-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.cb-shop-category-grid .cb-category-card { min-height: 190px; }
}

/* The Growing Desk plugin adds a second guide feed after the homepage shortcode. */
body.home .cbfgd-guide-feed,
body.front-page .cbfgd-guide-feed { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
