/* 99SEEDS v3 inner pages: catalogue, categories, sale, content pages, blog, cart, checkout, account.
   Measured from the reference's collection and content pages at 1920 × 1080 and 390 × 844. */

body.h-v3:not(.home) { background: var(--h-beige) !important; }
.h-v3:not(.home) .site-content { background: transparent; }
/* Astra boxes everything in its container; v3 pages manage their own widths. */
.h-v3:not(.home) #content > .ast-container { display: block; max-width: none; padding: 0; }
.h-v3:not(.home) #primary { width: 100%; margin: 0 !important; padding: 0 !important; float: none; border: 0; }
.h-v3:not(.home) .ast-separate-container .ast-article-single, .h-v3.ast-separate-container:not(.home) .ast-article-single,
.h-v3.ast-separate-container:not(.home) .ast-article-post { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }

/* ---------- Banner (catalogue, categories, sale) ---------- */
.h-banner { position: relative; display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 1fr); align-items: center; column-gap: 40px; min-height: 728px; padding: var(--h-head-h) var(--h-pad) 48px; background: var(--banner-bg); overflow: hidden; }
.h-banner__title { font-size: clamp(55px, 8vw, 110px); line-height: 1; }
.h-home .h-banner__title, .h-banner .h-banner__title { margin: 0; }
.h-banner__lead { margin: 24px 0 0 !important; max-width: 560px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.333; }
.h-banner .h-btn { margin-top: 37px; }
.h-banner__art { align-self: stretch; display: grid; place-items: center; min-height: 0; }
.h-banner__art .h-scene { width: 100%; max-height: 560px; }
@media (max-width: 999px) {
	.h-banner { grid-template-columns: 1fr; min-height: 0; padding: calc(var(--h-head-h) + 22px) var(--h-pad) 24px; text-align: center; }
	.h-banner__copy { display: grid; justify-items: center; }
	.h-banner__title { font-size: 55px; }
	.h-banner__lead { margin-top: 16px !important; font-size: 18px; line-height: 1.22; }
	.h-banner .h-btn { margin-top: 24px; }
	.h-banner__art .h-scene { max-height: 290px; margin-top: 16px; }
}

/* ---------- Shared four-up product grid ---------- */
.h-v3 ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; margin: 0 !important; padding: 0 !important; list-style: none; }
.h-v3 ul.products::before, .h-v3 ul.products::after { display: none !important; }
.h-v3 ul.products > li.product { width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; text-align: left; }
.h-v3 ul.products > li.product .h-card { height: 100%; }
@media (max-width: 1199px) { .h-v3 ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 999px) {
	.h-v3 ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.h-v3 ul.products .h-card__body { min-height: 0; padding: 10px; }
	.h-v3 ul.products .h-card__title { font-size: 20px !important; line-height: 22px !important; }
	.h-v3 ul.products .h-card__tags .h-tag--blue { display: none; }
	.h-v3 ul.products .h-card__badge { width: 38px; height: 38px; font-size: 8.5px; }
}

/* ---------- Category archives and sale page ---------- */
.h-archive__body { padding: 40px var(--h-pad) 64px; }
.h-archive__body > .h-section-title { margin: 24px 0 40px !important; }
.h-archive__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.h-archive__bar .woocommerce-result-count { margin: 0; float: none; font-size: 14px; color: #555; }
.h-archive__bar .woocommerce-ordering { margin: 0; float: none; }
.h-v3 .woocommerce-ordering select { height: 40px; padding: 0 36px 0 16px; border: 0; border-radius: 99px; background-color: transparent; font: 600 14px var(--h-font); color: #000; cursor: pointer; }
.h-v3 .woocommerce-pagination { margin-top: 48px; }
.h-v3 .woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; gap: 6px; border: 0 !important; }
.h-v3 .woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.h-v3 .woocommerce-pagination .page-numbers a, .h-v3 .woocommerce-pagination .page-numbers span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 99px; background: #fff; color: #000; font-weight: 700; }
.h-v3 .woocommerce-pagination .page-numbers .current { background: #000; color: #fff; }
@media (max-width: 999px) { .h-archive__body { padding: 24px var(--h-pad) 40px; } }

/* ---------- Catalogue (page 6): toolbar, filter pills, grid ---------- */
.page-id-6 .seeds-shop, .page-id-6 .seeds-shop-catalog { max-width: none; margin: 0; padding: 0; background: transparent; }
.page-id-6 .entry-header { display: none; }
.page-id-6 .seeds-shop-toolbar { display: flex; align-items: center; gap: 12px; margin: 40px var(--h-pad) 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.page-id-6 .seeds-shop-search { flex: 1; max-width: 520px; height: 48px; padding: 0 18px; border: 1.5px solid #000; border-radius: 99px; background: #fff; }
.page-id-6 .seeds-shop-search input { height: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; font: 16px var(--h-font); }
.page-id-6 .seeds-shop-sort { margin-left: auto; border: 0; background: transparent; }
.page-id-6 .seeds-shop-sort span { color: #555; font-size: 14px; }
.page-id-6 .seeds-shop-sort select { border: 0; background-color: transparent; font: 600 14px var(--h-font); }
.page-id-6 .seeds-shop-active { margin: 16px var(--h-pad) 0; padding: 0; border: 0; }
.page-id-6 .seeds-shop-layout { display: block; margin: 0 var(--h-pad) 64px; }
.page-id-6 .seeds-shop-results { padding-top: 24px; }
/* Desktop: the filter groups sit above the grid as a row of pills (the reference has tabs, not a sidebar). */
@media (min-width: 768px) {
	.page-id-6 .seeds-shop-filter-toggle { display: none; }
	.page-id-6 .seeds-shop-filter { position: static; width: auto; max-height: none; margin: 20px 0 0; padding: 0; border: 0; background: transparent; box-shadow: none; transform: none; overflow: visible; }
	.page-id-6 .seeds-shop-filter__header, .page-id-6 .seeds-shop-filter__footer { display: none; }
	.page-id-6 .seeds-shop-filter__groups { display: flex; flex-wrap: wrap; gap: 10px 28px; }
	.page-id-6 .seeds-shop-filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; }
	.page-id-6 .seeds-shop-filter-group legend { float: left; margin: 0 4px 0 0; padding: 0; font-size: 12px; font-weight: 600; letter-spacing: .5px; color: #555; text-transform: none; }
}
.page-id-6 .seeds-shop-filter-option { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin: 0; padding: 0 14px; border: 1.5px solid #000; border-radius: 99px; background: #fff; font: 600 14px var(--h-font); cursor: pointer; transition: background .2s, color .2s; }
.page-id-6 .seeds-shop-filter-option input { position: absolute; opacity: 0; pointer-events: none; }
.page-id-6 .seeds-shop-filter-option__check { display: none; }
.page-id-6 .seeds-shop-filter-option small { font-size: 11px; color: #777; }
.page-id-6 .seeds-shop-filter-option:hover { background: var(--h-lime); }
.page-id-6 .seeds-shop-filter-option:has(input:checked) { background: #000; color: #fff; }
.page-id-6 .seeds-shop-filter-option:has(input:checked) small { color: #ccc; }
.page-id-6 .seeds-shop-filter-option:has(input:focus-visible) { outline: 2px solid #000; outline-offset: 2px; }
.page-id-6 .seeds-shop-products ul.products { margin: 0 !important; }
@media (max-width: 767px) {
	.page-id-6 .seeds-shop-toolbar { flex-wrap: wrap; margin-top: 24px; }
	.page-id-6 .seeds-shop-search { flex: 1 0 100%; max-width: none; }
	.page-id-6 .seeds-shop-filter-toggle { height: 40px; padding: 0 16px; border: 1.5px solid #000; border-radius: 99px; background: #fff; font: 700 14px var(--h-font); color: #000; }
}

/* ---------- Content pages (legal, shipping, contact, newsletter …) ---------- */
.h-content-page #main { padding: 0 var(--h-pad); }
.h-content-page .entry-header { margin: 0; padding: 68px 0 48px; text-align: center; }
.h-content-page .entry-title { margin: 0 auto; max-width: 850px; font: 700 48px/1.1 var(--h-font) !important; font-stretch: 75% !important; -webkit-text-stroke: .03em #000; color: #000; }
.h-content-page .entry-content { max-width: 670px; margin: 0 auto; padding-bottom: 64px; font-size: 16px; line-height: 1.5; color: #000; }
.h-content-page .entry-content > * { max-width: 100%; }
.h-content-page .entry-content :is(h2, h3, h4) { margin: 32px 0 8px; font: 700 18px/1.35 var(--h-font); letter-spacing: 0; text-transform: none; color: #000; }
/* Legal texts come as one big heading block; read them as body copy with bold sub-heads. */
.h-content-page .entry-content :is(h5, h6) { margin: 0 0 16px; font: 400 16px/1.5 var(--h-font); text-transform: none; letter-spacing: 0; }
.h-content-page .entry-content a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.h-content-page .entry-content :is(form, .wp-block-group.has-background) { padding: 24px; border-radius: 12px; background: #fff; }
.h-content-page .entry-content :is(input[type=text], input[type=email], input[type=tel], textarea, select) { width: 100%; min-height: 44px; padding: 8px 16px; border: 1.5px solid #000; border-radius: 99px; background: #fff; font: 15px var(--h-font); }
.h-content-page .entry-content textarea { border-radius: 16px; }
.h-content-page .entry-content :is(button, input[type=submit], .wp-block-button__link) { min-height: 48px; padding: 14px 28px; border: 0; border-radius: 99px; background: var(--h-yellow); color: #000; font: 700 16px/1 var(--h-font); }
@media (max-width: 999px) {
	.h-content-page .entry-header { padding: 36px 0 28px; }
	.h-content-page .entry-title { font-size: 34px !important; }
	.h-content-page .entry-content { padding-bottom: 40px; font-size: 15px; }
}

/* ---------- Blog / Journal ---------- */
.blog .site-main, .single-post:not(.h-ctx-journal) .site-main, .archive.category .site-main { padding: 40px var(--h-pad) 64px; }
.blog .site-main > *, .archive.category .site-main > * { max-width: 1520px; margin-left: auto; margin-right: auto; }
.single-post:not(.h-ctx-journal) .entry-header { margin: 0; padding: 28px 0 32px; text-align: center; }
.single-post:not(.h-ctx-journal) .entry-title { max-width: 900px; margin: 0 auto; font: 700 clamp(34px, 4.4vw, 60px)/1.1 var(--h-font) !important; font-stretch: 75% !important; -webkit-text-stroke: .03em #000; }
.single-post:not(.h-ctx-journal) .entry-content { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.6; }
.single-post:not(.h-ctx-journal) .entry-content :is(h2, h3) { margin: 40px 0 12px; font: 700 26px/1.25 var(--h-font); }
.single-post .post-thumb img, .single-post .ast-single-post-featured-section img { border-radius: 16px; }
.blog article.post, .archive.category article.post { border-radius: 16px; overflow: hidden; background: #fff; }

/* ---------- Cart, checkout, account ---------- */
/* --h-pad already centres a 1520 px column; a max-width on top would subtract the padding twice on wide screens. */
.woocommerce-cart #main, .woocommerce-checkout #main, .woocommerce-account #main { max-width: none; margin: 0; padding: 40px var(--h-pad) 64px; box-sizing: border-box; }
.woocommerce-cart .entry-title, .woocommerce-checkout .entry-title, .woocommerce-account .entry-title { margin: 0 0 32px; text-align: center; font: 700 clamp(34px, 4.4vw, 60px)/1.1 var(--h-font) !important; font-stretch: 75% !important; -webkit-text-stroke: .03em #000; }
.woocommerce-cart .entry-header, .woocommerce-checkout .entry-header, .woocommerce-account .entry-header { margin: 0; padding: 0; text-align: center; }
.h-v3 :is(.wc-block-cart, .wc-block-checkout, .woocommerce-MyAccount-content, .um) { padding: 24px; border-radius: 16px; background: #fff; }
.h-v3 :is(.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .woocommerce-button, .um-button) { border-radius: 99px !important; background: var(--h-yellow) !important; color: #000 !important; font-family: var(--h-font) !important; font-weight: 700 !important; }

/* Older catalogue and Astra loop rules: undo their 1320 px box, centred text and upper-case titles. */
.page-id-6 :is(.seeds-shop-toolbar, .seeds-shop-active, .seeds-shop-layout) { width: auto; }
.page-id-6 .seeds-shop-catalog::before { display: none; }
.page-id-6 .seeds-shop-catalog { min-height: 0; }
.page-id-6 .seeds-shop-products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
@media (max-width: 1199px) { .page-id-6 .seeds-shop-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 999px) { .page-id-6 .seeds-shop-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.h-v3 ul.products li.product .h-card, .h-v3 ul.products li.product .h-card :is(p, dl, dt, dd, div) { text-align: left; }
.h-v3 ul.products li.product .h-card__title { margin: 8px 0 0 !important; padding: 0 !important; text-transform: none !important; letter-spacing: -.01em !important; }
.h-v3 ul.products li.product .h-card__title a { font: inherit !important; }
.h-v3 ul.products li.product .h-card__rating { justify-content: center; }
/* seeds-brand.css (v2) styles the finder with !important; v3 wins with one more class. */
.page-id-6 .seeds-shop .seeds-shop-toolbar { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.page-id-6 .seeds-shop .seeds-shop-search { border: 1.5px solid #000 !important; background: #fff !important; }
.page-id-6 .seeds-shop .seeds-shop-filter { border-top: 0 !important; }
.page-id-6 .seeds-shop .seeds-shop-filter-option { border-radius: 99px; }
.page-id-6 .seeds-shop .seeds-shop-filter-option:hover { background: var(--h-lime); }
.page-id-6 .seeds-shop .seeds-shop-filter-option:has(input:checked) { background: #000; }
.page-id-6 .seeds-shop .seeds-shop-filter-option:has(input:checked) .seeds-shop-filter-option__label { color: #fff; }
.page-id-6 .seeds-shop .seeds-shop-filter-group legend { color: #555 !important; letter-spacing: .5px; }
.page-id-6 .seeds-shop .seeds-shop-filter-toggle { background: #fff !important; }
.page-id-6 .seeds-shop .seeds-shop-chip { border-width: 1.5px !important; background: #fff !important; }
/* Astra's column classes and the block content width fight the shared grid. */
.h-v3 ul.products[class*="columns-"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 1199px) { .h-v3 ul.products[class*="columns-"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 999px) { .h-v3 ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.page-id-1013 .entry-header { display: none; }
.page-id-1013 .entry-content, .page-id-1013 .entry-content > * { max-width: none !important; margin: 0 !important; }
.page-id-1013 .entry-content, .page-id-1013 .entry-content > :not(.h-banner) { padding: 0; }
.page-id-1013 .entry-content > .h-archive__body { padding: 40px var(--h-pad) 64px; }
.h-v3 .woocommerce-ordering select { min-width: 230px; text-align: right; }

/* ---------- Journal (posts page): pink banner, intro card, three-up post cards ---------- */
.h-page-head { margin: 24px var(--h-pad) 0; padding: 56px 24px; border-radius: 16px; background: var(--h-pink); text-align: center; }
.h-page-head h1 { margin: 0; font-size: clamp(40px, 6vw, 90px); line-height: 1; text-transform: uppercase; }
.h-page-head p { max-width: 560px; margin: 16px auto 0; font-size: 18px; line-height: 1.35; }
.blog .site-main { padding-top: 40px; }
.blog .ast-row { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; margin: 0 !important; }
.blog .ast-row > .seeds-seo-section { grid-column: 1 / -1; margin: 0; padding: 32px; border: 0; border-radius: 16px; background: #fff; }
.blog .ast-row > .seeds-seo-section :is(h2, h3) { font-family: var(--h-font); color: #000; }
.blog .ast-row > article.post { width: auto !important; margin: 0 !important; padding: 0 !important; border-radius: 16px; background: #fff; overflow: hidden; }
.blog article.post .ast-article-inner { display: flex !important; flex-direction: column; height: 100%; margin: 0; padding: 0 !important; border: 0; background: transparent !important; }
.blog article.post :is(.ast-width-md-6, .post-content) { width: 100% !important; max-width: none !important; flex: none; padding: 0; margin: 0; }
.blog article.post .post-thumb-img-content { margin: 0; }
.blog article.post .post-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.blog article.post .post-content { padding: 20px 20px 24px !important; }
.blog article.post .entry-title { margin: 0 0 12px; font: 700 26px/1.1 var(--h-font) !important; font-stretch: 75% !important; -webkit-text-stroke: .02em #000; }
.blog article.post .entry-title a { color: #000 !important; }
.blog article.post .entry-content p { margin: 0; }
.blog article.post .entry-content a, .blog article.post .read-more a { color: #000 !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.blog .navigation.pagination { margin: 48px 0 0; }
.blog .nav-links { display: flex; justify-content: center; gap: 6px; }
.blog .nav-links .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 99px; background: #fff; color: #000; font-weight: 700; }
.blog .nav-links .page-numbers.current { background: #000; color: #fff; }
@media (max-width: 999px) {
	.h-page-head { margin: 16px 12px 0; padding: 36px 18px; }
	.blog .ast-row { grid-template-columns: 1fr; gap: 16px; }
	.blog .ast-row > .seeds-seo-section { padding: 20px; }
}

/* ---------- Empty cart and member forms ---------- */
.h-v3 .return-to-shop { text-align: center; }
.h-v3 .return-to-shop .button, .h-v3 .s-empty .button { min-height: 52px; padding: 16px 32px !important; border: 0 !important; border-radius: 99px !important; background: var(--h-yellow) !important; color: #000 !important; box-shadow: none !important; font: 700 16px/1 var(--h-font) !important; transform: none !important; }
.h-v3 .um .um-form :is(input[type=text], input[type=password], input[type=email]) { height: 44px !important; padding: 0 16px !important; border: 1.5px solid #000 !important; border-radius: 99px !important; background: #fff !important; }
/* The generic Astra reset above (transparent article boxes) outranks plain .blog selectors. */
.h-v3.blog .ast-row > article.post { background: #fff !important; }
.h-v3.blog article.post h2.entry-title, .h-v3.blog article.post h2.entry-title a { font: 700 26px/1.1 var(--h-font) !important; font-stretch: 75% !important; color: #000 !important; }
.h-v3.blog .seeds-seo-section :is(h1, h2, h3, a, p) { font-family: var(--h-font) !important; color: #000 !important; }
.h-v3.blog .seeds-seo-section :is(h1, h2) { font-weight: 700 !important; font-stretch: 75% !important; -webkit-text-stroke: .02em #000; }
