/*
Theme Name: Cat Store
Template: twentytwentyfive
Description: Child theme of Twenty Twenty-Five for the cat supplies store. Design direction: Whisker Green.
Version: 1.0.0
Text Domain: cat-store
*/

:root {
	--cs-radius: 16px;
	--cs-radius-sm: 8px;
	--cs-line: var(--wp--preset--color--line);
	--cs-ink: var(--wp--preset--color--contrast);
	--cs-muted: var(--wp--preset--color--muted);
	--cs-accent: var(--wp--preset--color--accent);
	--cs-deep: var(--wp--preset--color--deep);
	--cs-tint: var(--wp--preset--color--tint);
	--cs-surface: var(--wp--preset--color--surface);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
p { max-width: 70ch; }
.has-text-align-center { margin-inline: auto; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--cs-accent); outline-offset: 3px; }
.screen-reader-text:focus { background: var(--cs-surface); }

/* ---------- Header ---------- */
.cs-site-header { position: sticky; top: 0; z-index: 100; }
.admin-bar .cs-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cs-site-header { top: 0; } }
.cs-header { border-bottom: 1px solid var(--cs-line); box-shadow: 0 6px 20px -18px rgba(31, 74, 60, .45); }
.cs-header__row { gap: 16px; }
.cs-brand { margin: 0; line-height: 1; }
.cs-brand a { display: inline-flex; align-items: center; gap: 10px; color: var(--cs-ink); text-decoration: none; }
.cs-brand a::before {
	content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
	background: var(--cs-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M8 9l3.5 4.2c1.4-.5 3-.7 4.5-.7s3.1.2 4.5.7L24 9v8.5c0 4.4-3.6 7.5-8 7.5s-8-3.1-8-7.5z'/%3E%3Ccircle cx='12.8' cy='18' r='1.3' fill='%23B8501F'/%3E%3Ccircle cx='19.2' cy='18' r='1.3' fill='%23B8501F'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.cs-brand--light a { color: var(--cs-surface); }
.cs-nav .wp-block-navigation-item__content { color: var(--cs-ink); text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; }
.cs-nav .wp-block-navigation-item__content:hover,
.cs-nav .current-menu-item > .wp-block-navigation-item__content,
.cs-nav [aria-current="page"] { color: var(--cs-deep); border-bottom-color: var(--cs-accent); }
.cs-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; background: var(--cs-surface); }
.cs-nav .is-menu-open .wp-block-navigation-item__content { font-size: 1.5rem; font-family: var(--wp--preset--font-family--heading); padding: 10px 0; }
.cs-nav .wp-block-navigation__responsive-container-open,
.cs-nav .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; }
@media (max-width: 599px) { .cs-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; } }
.cs-nav .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
.cs-header__tools { gap: 4px; }
.cs-search .wp-block-search__button,
.cs-cart .wc-block-mini-cart__button {
	width: 44px; height: 44px; min-width: 44px; padding: 0; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: transparent; color: var(--cs-ink); border: 0;
}
.cs-search .wp-block-search__button:hover, .cs-cart .wc-block-mini-cart__button:hover { background: var(--cs-tint); color: var(--cs-ink); }
.cs-search .wp-block-search__button svg { width: 26px; height: 26px; fill: currentColor; }
.cs-cart .wc-block-mini-cart__icon { width: 28px; height: 28px; }
.cs-cart .wc-block-mini-cart__badge { background: var(--cs-accent); color: #fff; border: 0; font-weight: 700; }
.cs-search.wp-block-search__searchfield-hidden .wp-block-search__input { border: 0; }
.cs-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { border: 1px solid var(--cs-line); border-radius: 999px; background: var(--cs-surface); padding: 0 0 0 12px; }
.cs-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input { border: 0; min-width: 180px; background: transparent; }

.wp-site-blocks { overflow-x: clip; }
.cs-brand { min-width: 0; flex: 0 1 auto; }
@media (max-width: 599px) {
	.cs-header__row { flex-wrap: nowrap; gap: 4px !important; }
	.cs-header__tools { gap: 0 !important; }
	.cs-brand a { font-size: clamp(.875rem, 4vw, 1.05rem); gap: 8px; }
	.cs-brand a::before { width: 28px; height: 28px; background-size: 20px; }
	.cs-nav { order: 3; }
	.cs-header__tools { order: 2; margin-left: auto; }
	.cs-search:not(.wp-block-search__searchfield-hidden) { position: absolute; left: 16px; right: 16px; top: 100%; background: var(--cs-surface); padding: 8px 0; }
	.cs-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input { min-width: 0; width: 100%; }
}

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link, .wc-block-components-button:not(.is-link), .button, button.button, a.button {
	border-radius: 999px;
	transition: background-color .15s ease, color .15s ease, transform .1s ease;
}
.wp-element-button:active, .wc-block-components-button:active, .button:active { transform: translateY(1px); }
.wc-block-components-button:not(.is-link), .woocommerce .button.alt, .woocommerce button.button.alt,
.single_add_to_cart_button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--cs-accent) !important; color: #fff !important; font-weight: 600; border: 0;
}
.wc-block-components-button:not(.is-link):hover, .single_add_to_cart_button:hover { background: var(--cs-deep) !important; }

/* ---------- Sections (home, about, contact) ---------- */
.cs-section { padding-block: var(--wp--preset--spacing--70); }
.cs-section-title { margin-bottom: var(--wp--preset--spacing--40); }
.cs-lede { font-size: 1.1875rem; color: var(--cs-muted); }
.cs-eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cs-accent); margin-bottom: .5rem; }

.cs-section-head { margin-bottom: var(--wp--preset--spacing--40); gap: 8px 24px; }
.cs-section-head h2 { margin: 0; }
.cs-more { margin: 0; font-weight: 600; }

.cs-about__img { margin: 0; }
.cs-about__img img { width: 100%; border-radius: var(--cs-radius); aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.cs-about-split { gap: clamp(28px, 5vw, 72px) !important; }
.cs-reviews-wrap:empty, .cs-reviews-wrap:not(:has(*)) { display: none; }
.cs-reviews { padding-block: var(--wp--preset--spacing--60); }
.cs-faq { gap: clamp(24px, 5vw, 72px) !important; }
.cs-cta-section { padding-top: 0; }

.cs-cats { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .cs-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cs-why { border-top: 1px solid var(--cs-line); }
.cs-why__grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.cs-why__item { margin: 0 !important; padding: 28px 24px 8px 0; border-top: 3px solid var(--cs-deep); }
.cs-why__item + .cs-why__item { padding-left: 24px; border-left: 1px solid var(--cs-line); }
.cs-why__item h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.cs-why__item p { color: var(--cs-muted); font-size: .9688rem; margin: 0; }
@media (max-width: 900px) {
	.cs-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
	.cs-why__item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
	.cs-why__grid { grid-template-columns: 1fr; }
	.cs-why__item, .cs-why__item + .cs-why__item { padding-left: 0; border-left: 0; }
}

.cs-about-split img { border-radius: var(--cs-radius); aspect-ratio: 5 / 4; object-fit: cover; }
.cs-about-split .wp-block-media-text__content { padding-right: 0 !important; }
@media (max-width: 600px) { .cs-about-split .wp-block-media-text__content { padding: 24px 0 0 !important; } }

.cs-faq__list .wp-block-details { padding: 18px 0; margin: 0; }
.cs-faq__list .wp-block-details:first-child { border-top: 1px solid var(--cs-line); }
.cs-faq__list summary {
	cursor: pointer; list-style: none; font-family: var(--wp--preset--font-family--heading);
	font-weight: 700; font-size: 1.125rem; line-height: 1.3; padding-right: 40px; position: relative;
}
.cs-faq__list summary::-webkit-details-marker { display: none; }
.cs-faq__list summary::after {
	content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.5rem; font-weight: 400; color: var(--cs-accent); line-height: 1;
}
.cs-faq__list details[open] summary::after { content: "\2212"; }
.cs-faq__list details > :not(summary) { margin-top: 10px; color: var(--cs-muted); }

.cs-cta { border-radius: 24px; }
.cs-cta h2 { color: var(--cs-surface); }
.cs-cta p { color: #CFDDD5; margin-inline: auto; }
.cs-cta .wp-block-button__link { background: var(--cs-surface); color: var(--cs-deep); }
.cs-cta .wp-block-button__link:hover { background: var(--wp--preset--color--accent-soft); color: var(--cs-deep); }

.cs-panel { border-radius: var(--cs-radius); background: var(--cs-surface); border: 1px solid var(--cs-line); padding: clamp(20px, 3vw, 32px) !important; }
.cs-list-check { list-style: none; padding-left: 0; }
.cs-list-check li { position: relative; padding-left: 30px; margin-bottom: .6rem; }
.cs-list-check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--cs-accent); border-bottom: 2.5px solid var(--cs-accent); transform: rotate(-45deg); }

/* Clearly visible placeholders for the store owner to replace */
.cs-todo { background: #FFF4C2; outline: 1px dashed #8A6D00; color: #4A3B00; padding: 0 .3em; border-radius: 4px; font-style: normal; }

/* ---------- Product tiles ---------- */
.cs-collection .wc-block-product-template, .cs-grid { gap: 20px !important; }
.cs-grid > li, .cs-collection .wc-block-product {
	background: var(--cs-surface); border: 1px solid var(--cs-line); border-radius: var(--cs-radius);
	padding: 12px 12px 16px; display: flex; flex-direction: column; margin: 0;
	transition: border-color .15s ease;
}
.cs-grid > li:hover { border-color: #BFC8C1; }
.cs-tile__img, .cs-collection .wc-block-components-product-image { border-radius: 10px; overflow: hidden; margin-bottom: 12px !important; background: var(--cs-tint); }
.cs-tile__img img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .3s ease; }
.cs-grid > li:hover .cs-tile__img img { transform: scale(1.03); }
.cs-tile__title { font-size: 1.0625rem !important; line-height: 1.3; margin: 0 0 6px !important; text-align: left; font-family: var(--wp--preset--font-family--heading); }
.cs-tile__title a { color: var(--cs-ink); text-decoration: none; }
.cs-tile__title a:hover { color: var(--cs-deep); text-decoration: underline; }
.cs-tile__price { font-weight: 700; font-size: 1.0625rem; text-align: left; margin-bottom: 14px !important; }
.cs-tile__price del { color: var(--cs-muted); font-weight: 400; }
.cs-tile__btn { margin-top: auto; }
.cs-tile__btn .wp-block-button__link, .cs-tile__btn .wc-block-components-product-button__button {
	width: 100%; justify-content: center; font-size: .9375rem; padding: .7rem 1rem; border-radius: 999px;
	background: var(--cs-accent); color: #fff; border: 0;
}
.cs-tile__btn .wp-block-button__link:hover, .cs-tile__btn .wc-block-components-product-button__button:hover { background: var(--cs-deep); }
.cs-tile__btn .added_to_cart { display: block; text-align: center; margin-top: 8px; font-size: .875rem; }
.wc-block-components-product-sale-badge { background: var(--cs-accent); color: #fff; border: 0; border-radius: 999px; font-weight: 700; }
@media (max-width: 600px) {
	.cs-collection .wc-block-product-template.is-flex-container, .cs-grid.is-flex-container { gap: 12px !important; }
	.cs-grid > li { padding: 8px 8px 12px; }
	.cs-tile__title { font-size: .9688rem !important; }
	.cs-tile__btn .wp-block-button__link, .cs-tile__btn .wc-block-components-product-button__button { font-size: .875rem; padding: .6rem .5rem; }
}

/* ---------- Shop ---------- */
.cs-shop__head .wp-block-query-title { margin: .25rem 0 .75rem; }
.cs-shop__head .woocommerce-breadcrumb, .cs-product .woocommerce-breadcrumb { font-size: .875rem; color: var(--cs-muted); margin-bottom: .5rem; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.cs-chips a {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px;
	background: var(--cs-surface); border: 1px solid var(--cs-line); color: var(--cs-ink); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.cs-chips a:hover { border-color: var(--cs-deep); }
.cs-chips a[aria-current="page"] { background: var(--cs-deep); border-color: var(--cs-deep); color: #fff; }
.cs-chips .cs-chips__count { font-weight: 400; opacity: .7; }
.cs-shop__bar { margin-bottom: 20px; align-items: center; }
.cs-shop__bar .woocommerce-result-count { margin: 0; color: var(--cs-muted); font-size: .9375rem; }
.cs-shop__bar .woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, .cs-shop__bar select {
	min-height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--cs-line); border-radius: var(--cs-radius-sm);
	background-color: var(--cs-surface); font: inherit; color: var(--cs-ink);
}
.cs-shop__filters .cs-filter__title { font-size: 1rem; margin: 0 0 12px; }
.cs-shop__filters .wp-block-woocommerce-product-filter-taxonomy,
.cs-shop__filters .wp-block-woocommerce-product-filter-price,
.cs-shop__filters .wp-block-woocommerce-product-filter-active { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--cs-line); }
.cs-shop__filters { position: sticky; top: 96px; align-self: flex-start; }
@media (max-width: 781px) {
	.cs-shop__filters { position: static; }
	.cs-shop__body { gap: 16px !important; }
}

/* ---------- Single product ---------- */
.cs-product__top { align-items: flex-start; }
.cs-product__gallery .woocommerce-product-gallery__image img, .cs-product__gallery .woocommerce-product-gallery img { border-radius: var(--cs-radius); }
.cs-product__gallery .flex-control-thumbs { display: flex; gap: 10px; margin-top: 10px; padding: 0; list-style: none; }
.cs-product__gallery .flex-control-thumbs li { width: 80px; }
.cs-product__gallery .flex-control-thumbs img { border-radius: 8px; cursor: pointer; opacity: .7; }
.cs-product__gallery .flex-control-thumbs img.flex-active { opacity: 1; outline: 2px solid var(--cs-accent); }
.cs-product__summary { position: sticky; top: 96px; }
@media (max-width: 781px) { .cs-product__summary { position: static; } }
.cs-product__cat { font-size: .875rem; font-weight: 600; margin-bottom: .25rem; }
.cs-product__cat a { color: var(--cs-accent); text-decoration: none; }
.cs-product__title { font-size: clamp(2rem, 3.5vw, 2.75rem) !important; margin: 0 0 .5rem; }
.cs-product__price, .cs-product__price .amount { font-size: 1.625rem !important; font-weight: 700; color: var(--cs-ink); }
.cs-product .wc-block-components-product-stock-indicator { font-weight: 600; font-size: .9375rem; }
.cs-product .wc-block-components-product-stock-indicator--in-stock { color: #2E6B45; }
.cs-product .wc-block-components-product-stock-indicator--out-of-stock { color: #A1301B; }
.cs-product__short { color: var(--cs-muted); }
.cs-product__short ul { padding-left: 1.2em; }
.cs-product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 20px 0 8px; }
.cs-product form.cart .quantity input.qty {
	width: 76px; height: 52px; border: 1px solid var(--cs-line); border-radius: 999px; text-align: center; font: inherit; font-weight: 600; background: var(--cs-surface);
}
.cs-product form.cart .single_add_to_cart_button, .cs-product form.cart .cs-buy-now { min-height: 52px; padding: 0 28px !important; font-size: 1rem; flex: 1 1 160px; }
.cs-product form.cart .cs-buy-now {
	background: transparent !important; color: var(--cs-deep) !important; border: 2px solid var(--cs-deep) !important; border-radius: 999px; font-weight: 600; cursor: pointer;
}
.cs-product form.cart .cs-buy-now:hover { background: var(--cs-deep) !important; color: #fff !important; }
.cs-product form.variations_form table.variations { width: 100%; margin-bottom: 10px; }
.cs-product form.variations_form table.variations select { min-height: 44px; border: 1px solid var(--cs-line); border-radius: var(--cs-radius-sm); padding: 0 12px; width: 100%; }
.cs-product form.variations_form .single_variation_wrap { width: 100%; }
.cs-product form.variations_form .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-delivery { margin: 18px 0; padding: 18px 20px; border-radius: var(--cs-radius); background: var(--cs-tint); }
.cs-delivery h2 { font-size: 1rem; margin: 0 0 8px; }
.cs-delivery ul { margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.cs-delivery li { padding: 4px 0; }
.cs-delivery a { font-weight: 600; }
.cs-product .wp-block-woocommerce-product-meta { font-size: .875rem; color: var(--cs-muted); }
.cs-product__details .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 12px; margin: 0 0 24px; list-style: none; border-bottom: 1px solid var(--cs-line); }
.cs-product__details .woocommerce-tabs ul.tabs li { margin: 0; }
.cs-product__details .woocommerce-tabs ul.tabs li a { display: inline-block; padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--cs-ink); }
.cs-product__details .woocommerce-tabs ul.tabs li.active a { background: var(--cs-deep); color: #fff; }
.cs-product__details .woocommerce-Tabs-panel > h2:first-child { font-size: 1.375rem; }
.cs-product__details table.shop_attributes { width: 100%; border-collapse: collapse; }
.cs-product__details table.shop_attributes th, .cs-product__details table.shop_attributes td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--cs-line); vertical-align: top; }
.cs-product__details table.shop_attributes th { width: 35%; font-weight: 600; }
.cs-product__details table.shop_attributes td p { margin: 0; }
#reviews .commentlist { list-style: none; padding: 0; }
#reviews .comment-form input, #reviews .comment-form textarea { width: 100%; border: 1px solid var(--cs-line); border-radius: var(--cs-radius-sm); padding: 10px 12px; font: inherit; }
#reviews .comment-form-rating .stars a { color: var(--cs-accent); }
.cs-product-faq { margin-top: var(--wp--preset--spacing--50); }

/* ---------- Cart & checkout ---------- */
.cs-cart-head h1 { margin: 0; }
.cs-continue { margin: 0; font-weight: 600; }
.wc-block-cart, .wc-block-checkout { font-size: 1rem; }
.wc-block-components-totals-item__label, .wc-block-components-order-summary-item__description { font-size: .9375rem; }
.wc-block-cart-items__row .wc-block-cart-item__image img { border-radius: 10px; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select {
	border-radius: var(--cs-radius-sm) !important;
}
.cs-header--checkout .cs-checkout-back { margin: 0; font-weight: 600; }
.cs-checkout-footer { border-top: 1px solid var(--cs-line); }
.cs-checkout-footer a { color: var(--cs-muted); }

/* ---------- Contact form ---------- */
.cs-form { display: grid; gap: 16px; max-width: 620px; }
.cs-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .cs-form__row { grid-template-columns: 1fr; } }
.cs-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9375rem; }
.cs-form input, .cs-form select, .cs-form textarea {
	font: inherit; font-weight: 400; color: var(--cs-ink); background: var(--cs-surface);
	border: 1px solid #BFC8C1; border-radius: var(--cs-radius-sm); padding: 12px 14px; min-height: 48px; width: 100%;
}
.cs-form textarea { min-height: 150px; resize: vertical; }
.cs-form input:focus, .cs-form select:focus, .cs-form textarea:focus { outline: 2px solid var(--cs-accent); outline-offset: 1px; border-color: var(--cs-accent); }
.cs-form button { justify-self: start; cursor: pointer; }
.cs-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cs-notice { padding: 14px 16px; border-radius: var(--cs-radius-sm); margin-bottom: 16px; }
.cs-notice--ok { background: var(--cs-tint); color: #2E6B45; }
.cs-notice--err { background: var(--wp--preset--color--accent-soft); color: #A1301B; }
.cs-contact-item { padding: 16px 0; border-bottom: 1px solid var(--cs-line); margin: 0 !important; }
.cs-contact-item h3 { font-size: 1rem; margin: 0 0 4px; }
.cs-contact-item p { margin: 0; }

/* ---------- Legal pages ---------- */
.cs-page .wp-block-post-content h2 { font-size: 1.5rem; margin-top: 2.2em; }
.cs-page__title { margin-bottom: var(--wp--preset--spacing--40); }

/* ---------- Footer ---------- */
.cs-footer { font-size: .9688rem; }
.cs-footer__about { color: #CFDDD5; margin-top: 14px; max-width: 34ch; }
.cs-footer__title { font-size: .875rem !important; letter-spacing: .06em; text-transform: uppercase; color: #F2C9AE !important; margin-bottom: 12px; font-family: var(--wp--preset--font-family--body); font-weight: 700; }
.cs-footer__links { list-style: none; padding: 0; margin: 0; }
.cs-footer__links li { padding: 5px 0; }
.cs-footer__links a { text-decoration: none; }
.cs-footer__links a:hover { text-decoration: underline; color: #fff; }
.cs-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .16); color: #CFDDD5; font-size: .875rem; }
.cs-footer__bottom p { margin: 0; }
.cs-social { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 781px) { .cs-footer .cs-footer__cols.wp-block-columns { flex-wrap: wrap !important; row-gap: 32px; } .cs-footer .cs-footer__cols.wp-block-columns > .wp-block-column { flex-basis: calc(50% - 16px) !important; flex-grow: 0; } .cs-footer .cs-footer__cols.wp-block-columns > .wp-block-column:first-child { flex-basis: 100% !important; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .cs-grid > li:hover .cs-tile__img img { transform: none; } }

[id] { scroll-margin-top: 96px; }
html { scroll-behavior: auto; }

/* ---------- Page heads (About, Contact) ---------- */
.cs-pagehead { padding-block: var(--wp--preset--spacing--60); }
.cs-pagehead h1 { margin-bottom: .75rem; }
.cs-pagehead .cs-lede { margin: 0; }
.cs-contact, .cs-approach { gap: clamp(28px, 5vw, 72px) !important; }
.cs-help { margin-top: var(--wp--preset--spacing--40); }
.cs-help h3 { margin-top: 0; }
.cs-help__links { list-style: none; padding: 0; margin: 0; }
.cs-help__links li { padding: 8px 0; border-bottom: 1px solid var(--cs-line); }
.cs-help__links li:last-child { border-bottom: 0; }
.cs-help__links a { font-weight: 600; text-decoration: none; }
.cs-help__links a:hover { text-decoration: underline; }
.cs-why__item h3 a { color: var(--cs-ink); text-decoration: none; }
.cs-why__item h3 a:hover { color: var(--cs-accent); text-decoration: underline; }
.cs-sell .cs-why__item { border-top-color: var(--cs-accent); }
/* Product filters: fit the sidebar on desktop (the block's own overlay handles mobile) */
@media (min-width: 782px) {
	.cs-shop__filters .wp-block-woocommerce-product-filters,
	.cs-shop__filters .wc-block-product-filters__overlay,
	.cs-shop__filters .wc-block-product-filters__overlay-wrapper,
	.cs-shop__filters .wc-block-product-filters__overlay-dialog,
	.cs-shop__filters .wc-block-product-filters__overlay-content { width: 100% !important; max-width: 100%; min-width: 0; }
	.cs-shop__filters .wc-block-product-filters__overlay-content { padding: 0; }
}
.cs-shop__filters .wc-block-product-filters__open-overlay { border: 1px solid var(--cs-line); border-radius: 999px; padding: 10px 18px; background: var(--cs-surface); font-weight: 600; color: var(--cs-ink); }
.cs-shop__filters input[type="checkbox"] { accent-color: var(--cs-deep); }
.cs-shop__filters .wc-block-product-filter-price-slider__range input[type="range"] { accent-color: var(--cs-accent); }
.cs-shop__filters .wc-block-product-filter-price-slider input[type="text"] { border: 1px solid var(--cs-line); border-radius: var(--cs-radius-sm); padding: 6px 8px; width: 100%; font: inherit; font-size: .9375rem; }
.cs-shop__filters .wc-block-product-filter-price-slider__content { gap: 8px; }
.cs-shop__filters .wc-block-product-filter-price-slider__content { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; grid-template-areas: "range range" "left right" !important; row-gap: 12px; column-gap: 10px; }
.cs-shop__filters .wc-block-product-filter-price-slider__range { grid-area: range; width: 100%; min-width: 0; }
.cs-shop__filters .wc-block-product-filter-price-slider__left { grid-area: left; min-width: 0; }
.cs-shop__filters .wc-block-product-filter-price-slider__right { grid-area: right; min-width: 0; }
.cs-shop__filters .wc-block-product-filter-price-slider__range input[type="range"] { width: 100%; }
.cs-product .wp-block-add-to-cart-form > .stock, .cs-product .wp-block-add-to-cart-form p.stock { display: none; }

/* ---------- Hero: full-width photo, centered copy ---------- */
.cs-hero.wp-block-cover { padding: var(--wp--preset--spacing--70) clamp(16px, 4vw, 40px); }
.cs-hero .wp-block-cover__inner-container { color: #fff; }
.cs-hero h1 { color: #fff; max-width: 16ch; margin: 0 auto 1rem; text-wrap: balance; }
.cs-hero .cs-lede { color: #E9EFEA; max-width: 56ch; margin: 0 auto 2rem; font-size: 1.1875rem; }
.cs-hero .is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; background: transparent; }
.cs-hero .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--cs-deep); }
@media (max-width: 600px) {
	.cs-hero.wp-block-cover { min-height: 520px !important; padding-block: var(--wp--preset--spacing--60); }
	.cs-hero .cs-lede { font-size: 1.0625rem; }
}

/* ---------- Category cards with photos ---------- */
.cs-cats-section { padding-top: var(--wp--preset--spacing--50); }
.cs-cat {
	position: relative; margin: 0 !important; padding: 0 !important; overflow: hidden; border-radius: var(--cs-radius);
	background: var(--cs-surface); border: 1px solid var(--cs-line); transition: border-color .15s ease;
}
.cs-cat:hover { border-color: var(--cs-deep); }
.cs-cat__img { margin: 0 !important; overflow: hidden; }
.cs-cat__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .3s ease; }
.cs-cat:hover .cs-cat__img img { transform: scale(1.04); }
.cs-cat__body { padding: 16px 18px 18px; }
.cs-cat h3 { margin: 0 0 4px; font-size: 1.1875rem; }
.cs-cat h3 a { color: var(--cs-ink); text-decoration: none; }
.cs-cat h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cs-cat:hover h3 a { color: var(--cs-accent); }
.cs-cat p { margin: 0; color: var(--cs-muted); font-size: .9375rem; }
@media (max-width: 600px) { .cs-cat__body { padding: 12px 14px 14px; } .cs-cat h3 { font-size: 1.0625rem; } .cs-cat p { font-size: .875rem; } }

/* ---------- Header: orange bar, white items ---------- */
.cs-header { background-color: var(--cs-accent) !important; border-bottom: 0; box-shadow: 0 6px 20px -16px rgba(184, 80, 31, .6); }
.cs-header .cs-brand a { color: #fff; }
.cs-header .cs-brand a::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23B8501F' d='M8 9l3.5 4.2c1.4-.5 3-.7 4.5-.7s3.1.2 4.5.7L24 9v8.5c0 4.4-3.6 7.5-8 7.5s-8-3.1-8-7.5z'/%3E%3Ccircle cx='12.8' cy='18' r='1.3' fill='%23fff'/%3E%3Ccircle cx='19.2' cy='18' r='1.3' fill='%23fff'/%3E%3C/svg%3E"); }
.cs-header .cs-nav .wp-block-navigation-item__content { color: #fff; }
.cs-header .cs-nav .wp-block-navigation-item__content:hover,
.cs-header .cs-nav .current-menu-item > .wp-block-navigation-item__content,
.cs-header .cs-nav [aria-current="page"] { color: #fff; border-bottom-color: #fff; }
.cs-header .cs-nav .wp-block-navigation__responsive-container-open { color: #fff; }
.cs-header .cs-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--cs-accent); color: #fff; }
.cs-header .cs-nav .is-menu-open .wp-block-navigation-item__content { color: #fff; }
.cs-header .cs-nav .wp-block-navigation__responsive-container-close { color: #fff; }
.cs-header .cs-search .wp-block-search__button, .cs-header .cs-cart .wc-block-mini-cart__button { color: #fff; }
.cs-header .cs-search .wp-block-search__button:hover, .cs-header .cs-cart .wc-block-mini-cart__button:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.cs-header .cs-cart .wc-block-mini-cart__badge { background: #fff; color: var(--cs-accent); }
.cs-header .cs-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { border-color: #fff; }
.cs-header .cs-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input { color: var(--cs-ink); }
.cs-header .cs-checkout-back a { color: #fff; }
.cs-header :where(a, button):focus-visible { outline-color: #fff; }
.cs-cat > .cs-cat__body, .cs-cat__body > * { margin-top: 0 !important; }
.cs-cat__body h3 + p { margin-top: 4px !important; }
