/*
Theme Name: Cuddle Paws
Description: The cuddle-paws.in shop theme. Written for this shop: plain CSS, phone first, no libraries.
Version: 0.2.1
Requires at least: 7.0
Text Domain: cuddlepaws
*/

/*
 * ---------- design values ----------
 * Every value here is the live shop's (theme-spec/SPEC-1-shell.md section 5, read from the live theme's settings).
 * This file holds what all areas share: the values, base elements, buttons, form controls. The header, menus and
 * footer are in css/shell.css; each kind of page has its own file in css/.
 * Breakpoints, as on live: phones up to 749px, 750px, 990px (menu row, lighter card shadow), 1100px (largest type).
 */
:root {
	/* colour: mostly white on a pale "mist" page, navy for headings and secondary controls, one orange for actions */
	--cp-white: #ffffff;
	--cp-mist: #f7f8fa;
	--cp-mist-deep: #eef1f4;
	--cp-line: #e6e9ee;
	--cp-text: #2b333d;
	--cp-text-rgb: 43, 51, 61;
	--cp-heading: #16202b;
	--cp-caption: #6b7280;
	--cp-navy: #003662;
	--cp-navy-rgb: 0, 54, 98;
	--cp-navy-deep: #0a4577;
	--cp-gold: #e3c27a;
	--cp-action: #d9480f;
	--cp-action-hover: #bf3f0c;
	--cp-action-rgb: 217, 72, 15;
	--cp-offer-bg: #ffe9db;
	--cp-offer-text: #b43e05;
	--cp-star: #f5e121;
	--cp-green: #1f7a3f;
	--cp-green-bg: #e7f4ec;
	--cp-whatsapp: #25d366;
	--cp-footer-bg: #0e1a2b;
	--cp-footer-text: #d7dce3;
	--cp-footer-line: #22304a;
	--cp-footer-accent: #f47d20;
	/* corners */
	--cp-radius-btn: 8px;
	--cp-radius-card: 20px;
	--cp-radius-box: 24px;
	--cp-radius-panel: 12px;
	--cp-radius-popup: 6px;
	--cp-radius-badge: 4px;
	--cp-radius-blog: 8px;
	/* shadows: cards (lighter from 990px), pop-ups, and the stuck header / wide menu panel */
	--cp-shadow: 0 0 1px 1px rgba(0, 15, 30, .01), 0 6px 8px 0 rgba(0, 15, 30, .03), 0 2px 4px 0 rgba(0, 15, 30, .01);
	--cp-shadow-pop: 0 0 5px rgba(0, 0, 0, .15);
	--cp-shadow-bar: 0 1px 10px 0 rgba(0, 0, 0, .15);
	--cp-shadow-control: rgba(60, 64, 67, .15) 0 1px 3px 1px;
	/* layout */
	--cp-gutter: 20px;
	--cp-max: 1520px;
	--cp-section-y: 28px;
	--cp-gap: 16px;
	/* type: Inter 400 / 500 / 700. Body and heading sizes step up at 750px and 1100px. */
	--cp-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--cp-body: 15px;
	--cp-hxl: 52px;
	--cp-h0: 42px;
	--cp-h1: 34px;
	--cp-h2: 28px;
	--cp-h3: 25px;
	--cp-h4: 21.5px;
	--cp-h5: 19px;
	--cp-h6: 17px;
	--cp-h-section: 21px; /* section headings on phones (the shop's phone-density rule); 36px / 40px above */
	/* the small-text scale ("t0" to "t8" in the live theme). It grows with the body size: x1 on phones,
	   x1.033 from 750px, x1.067 from 1100px (so t4, 14px on a phone, is 15px on a desktop screen). */
	--cp-ts: 1;
	--cp-t0: calc(18.5px * var(--cp-ts));
	--cp-t1: calc(17px * var(--cp-ts));
	--cp-t2: calc(16px * var(--cp-ts));
	--cp-t3: calc(15px * var(--cp-ts));
	--cp-t4: calc(14px * var(--cp-ts));
	--cp-t5: calc(13px * var(--cp-ts));
	--cp-t6: calc(12px * var(--cp-ts));
	--cp-t7: calc(11.5px * var(--cp-ts));
	--cp-t8: calc(11px * var(--cp-ts));
}
@media (min-width: 750px) {
	:root { --cp-gutter: 50px; --cp-section-y: 40px; --cp-body: 15.5px; --cp-ts: 1.0333; --cp-hxl: 66px; --cp-h0: 54px; --cp-h1: 42px; --cp-h2: 36px; --cp-h3: 30px; --cp-h4: 24px; --cp-h5: 20px; --cp-h-section: 36px; }
}
@media (min-width: 990px) {
	:root { --cp-shadow: 0 0 1px 1px rgba(0, 15, 30, .01), 0 2px 7px 0 rgba(0, 15, 30, .03), 0 1px 3px 0 rgba(0, 15, 30, .01); }
}
@media (min-width: 1100px) {
	:root { --cp-body: 16px; --cp-ts: 1.0667; --cp-hxl: 76px; --cp-h0: 64px; --cp-h1: 52px; --cp-h2: 40px; --cp-h3: 34px; --cp-h4: 28px; --cp-h5: 22px; --cp-h6: 18px; --cp-h-section: 40px; }
}

/* ---------- base elements ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 var(--cp-body)/1.8 var(--cp-font); letter-spacing: -.009em; color: var(--cp-text); background: var(--cp-mist); word-break: break-word; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cp-navy); text-underline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { color: var(--cp-heading); font-weight: 400; line-height: 1.26; letter-spacing: -.009em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--cp-h1); }
h2 { font-size: var(--cp-h2); }
h3 { font-size: var(--cp-h3); }
h4 { font-size: var(--cp-h4); }
h5 { font-size: var(--cp-h5); }
h6 { font-size: var(--cp-h6); }
b, strong { font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cp-navy); outline-offset: 2px; }
::selection { background: rgba(var(--cp-text-rgb), .2); }
.screen-reader-text, .cp-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cp-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 400; background: var(--cp-white); padding: 8px 12px; border-radius: var(--cp-radius-btn); }
main:focus { outline: none; }
.cp-wrap { max-width: var(--cp-max); margin-inline: auto; padding-inline: var(--cp-gutter); }
.cp-only-wide { display: none; }

/* ---------- buttons and chips ----------
   Buttons: 15px bold, 8px corners, 1px border. Orange (--action) for buy / checkout / book; navy for other filled
   buttons; --outline is the secondary button. On hover the border ring grows by 1px. */
.cp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 1.1em 1.6em; border: 1px solid transparent; border-radius: var(--cp-radius-btn); font-size: 15px; line-height: 1.2; font-weight: 700; letter-spacing: .005em; text-align: center; text-decoration: none; cursor: pointer; }
.cp-btn:hover { box-shadow: 0 0 0 1px currentColor; }
.cp-btn--navy { background: var(--cp-navy); border-color: var(--cp-navy); color: #fff; }
.cp-btn--navy:hover { box-shadow: 0 0 0 1px var(--cp-navy); }
.cp-btn--action { background: var(--cp-action); border-color: var(--cp-action); color: #fff; }
.cp-btn--action:hover { background: var(--cp-action-hover); border-color: var(--cp-action-hover); box-shadow: 0 0 0 1px var(--cp-action-hover); }
.cp-btn--small { padding: 12px 26px; }
.cp-btn--full { display: flex; width: 100%; }
.cp-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.cp-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.cp-chips::-webkit-scrollbar { display: none; }
.cp-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--cp-line); border-radius: 10px; background: var(--cp-white); color: var(--cp-heading); font-size: 14px; text-decoration: none; white-space: nowrap; }
.cp-chip.is-on { border-color: var(--cp-navy); background: var(--cp-navy); color: #fff; }

/* (announcement bar, header, pincode bar, breadcrumbs, footer, phone tab bar and the menus: css/shell.css) */

/* ---------- product listing ---------- */
.cp-listing__title { font-size: 26px; padding: 14px 4px 12px; }
.cp-sortbar { border-block: 1px solid var(--cp-line); background: var(--cp-white); position: sticky; top: 0; z-index: 5; }
.cp-listing__count { text-align: right; font-size: 14px; color: var(--cp-heading); padding-block: 14px 10px; }
.cp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cp-card { position: relative; display: flex; flex-direction: column; background: var(--cp-white); border-radius: var(--cp-radius-card); box-shadow: var(--cp-shadow); overflow: hidden; }
.cp-card__media { display: block; aspect-ratio: 4 / 3; padding: 6px; }
.cp-card__media img { width: 100%; height: 100%; object-fit: contain; }
.cp-card.is-out .cp-card__media img { opacity: .55; }
.cp-card__flag { position: absolute; top: 10px; left: 8px; padding: 2px 8px; border-radius: 6px; background: var(--cp-offer-bg); color: var(--cp-action); font-size: 12px; font-weight: 600; }
.cp-card__flag--out { background: #eceff3; color: var(--cp-text); }
.cp-card__top { position: relative; }
.cp-card__add { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: var(--cp-radius-btn); background: var(--cp-action); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.cp-card__add:hover { background: var(--cp-action-hover); }
.cp-card__body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 14px; }
.cp-card__title { font-size: 14px; line-height: 1.35; }
.cp-card__title a { color: var(--cp-text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.cp-card__title a::after { content: ""; position: absolute; inset: 0; }
.cp-card__add, .cp-card__flag { z-index: 1; }
.cp-card__pills { display: flex; flex-wrap: wrap; gap: 4px; }
.cp-card__pills li { padding: 1px 6px; border: 1px solid var(--cp-navy); border-radius: 4px; font-size: 11px; line-height: 1.5; color: var(--cp-navy); }
.cp-card__pills li.is-chosen { background: var(--cp-navy); color: #fff; font-weight: 600; }
.cp-card__pills li.is-out { border-color: var(--cp-line); color: var(--cp-caption); text-decoration: line-through; }
.cp-card__price { font-size: 14px; color: var(--cp-heading); }
.cp-pages { display: flex; align-items: center; justify-content: center; gap: 12px; padding-block: 24px; font-size: 14px; }
.cp-empty { padding-block: 32px; }
.cp-listing__about { padding-block: 24px; border-top: 1px solid var(--cp-line); margin-top: 24px; }

/* ---------- text pages ---------- */
.cp-plain { padding-block: 16px 32px; }
.cp-plain h1 { font-size: 26px; margin-bottom: 14px; }
.cp-prose { max-width: 72ch; }
.cp-prose > * + * { margin-top: 12px; }
.cp-prose h2 { font-size: 20px; margin-top: 24px; }
.cp-prose h3 { font-size: 17px; margin-top: 18px; }
.cp-prose ul { list-style: disc; padding-left: 20px; }
.cp-prose ol { list-style: decimal; padding-left: 20px; }
.cp-prose table { display: block; overflow-x: auto; border-collapse: collapse; }
.cp-prose td, .cp-prose th { border: 1px solid var(--cp-line); padding: 6px 10px; text-align: left; }
.cp-postlist li { padding-block: 10px; border-bottom: 1px solid var(--cp-line); }
.cp-postlist a { text-decoration: none; color: var(--cp-heading); }

/* ---------- wider screens ---------- */
@media (min-width: 750px) {
	:root { --cp-radius-badge: 3px; }
	.cp-only-phone { display: none; }
	.cp-only-wide { display: inline; }
	.cp-btn { padding: 1.2em 2.2em; }
	.cp-btn--small { padding: 12px 26px; }
	.cp-listing__title { font-size: 32px; }
	.cp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.cp-card__title, .cp-card__price { font-size: 15px; }
}
@media (min-width: 1100px) {
	.cp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1400px) {
	.cp-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
	.cp-btn, .cp-chip, .cp-card__add { transition: background-color .15s ease, border-color .15s ease, box-shadow .2s ease; }
}

/* ---------- product page ---------- */
.cp-btn--outline { background: transparent; color: var(--cp-navy); border: 1px solid var(--cp-navy); }
.cp-btn[disabled], .cp-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.cp-pdp { display: grid; gap: 20px; padding-top: 8px; }
.cp-pdp__gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--cp-gutter)); padding: 16px var(--cp-gutter); background: var(--cp-mist); }
.cp-pdp__gallery::-webkit-scrollbar { display: none; }
.cp-pdp__gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 5 / 3; object-fit: contain; scroll-snap-align: center; background: var(--cp-white); border-radius: var(--cp-radius-card); }
.cp-pdp__title { font-size: 22px; line-height: 1.25; }
.cp-pdp__price { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; font-size: 24px; color: var(--cp-heading); }
.cp-pdp__price s { font-size: 14px; color: var(--cp-caption); }
.cp-pdp__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 10px; font-size: 14px; }
.cp-pdp__save { color: #1f7a3f; font-weight: 600; }
.cp-pdp__perkg { color: var(--cp-caption); }
.cp-pdp [hidden] { display: none; }
.cp-buy { display: grid; gap: 10px; margin-top: 14px; }
.cp-sizes { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0 0 6px; padding: 0; }
.cp-size { position: relative; display: grid; gap: 2px; justify-items: center; min-width: 96px; padding: 10px 16px; border: 1px solid var(--cp-line); border-radius: 10px; font-size: 13px; color: var(--cp-heading); cursor: pointer; }
.cp-size input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cp-size:has(input:checked) { border: 2px solid var(--cp-heading); padding: 9px 15px; }
.cp-size:has(input:focus-visible) { outline: 2px solid var(--cp-navy); outline-offset: 2px; }
.cp-size.is-out { color: var(--cp-caption); background: var(--cp-mist); }
.cp-size__perkg { font-size: 12px; color: var(--cp-caption); }
.cp-buy__row { display: grid; grid-template-columns: 84px 1fr; gap: 10px; }
.cp-qty { height: 54px; border: 1px solid var(--cp-navy); border-radius: var(--cp-radius-btn); text-align: center; font-size: 16px; background: var(--cp-white); }
.cp-buy__add, .cp-buy__now { min-height: 54px; font-size: 16px; }
.cp-pdp__about { border-top: 1px solid var(--cp-line); padding-top: 20px; }
.cp-pdp__about h2, .cp-related h2 { font-size: 20px; margin-bottom: 12px; }
.cp-related { margin-top: 28px; }
.cp-grid--row { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 2px 16px; }
.cp-grid--row::-webkit-scrollbar { display: none; }
.cp-grid--row > .cp-card { flex: 0 0 46%; scroll-snap-align: start; }
.cp-notice { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: var(--cp-mist); border: 1px solid var(--cp-line); font-size: 14px; }
.cp-notice a { font-weight: 600; margin-left: 8px; }
@media (min-width: 750px) {
	.cp-pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 16px; }
	.cp-pdp__gallery { margin: 0; border-radius: var(--cp-radius-card); flex-wrap: wrap; overflow: visible; }
	.cp-pdp__gallery img { flex: 1 1 40%; }
	.cp-pdp__gallery img:first-child { flex-basis: 100%; }
	.cp-pdp__title { font-size: 30px; }
	.cp-pdp__about { grid-column: 1 / -1; }
	.cp-grid--row > .cp-card { flex-basis: 220px; }
}
.cp-notices:empty { display: none; }
.cp-notices .woocommerce-message, .cp-notices .woocommerce-info, .cp-notices .woocommerce-error { list-style: none; margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--cp-mist); border: 1px solid var(--cp-line); font-size: 14px; }
.cp-notices .woocommerce-error { border-color: #b42318; }
.cp-notices .button { float: right; margin-left: 12px; font-weight: 700; text-decoration: none; }

/* ---------- questions and answers ---------- */
.cp-faqs { max-width: 72ch; margin-top: 24px; }
.cp-faqs h2 { font-size: 20px; margin-bottom: 8px; }
.cp-faqs__group { font-size: 17px; margin: 20px 0 4px; }
.cp-faq { border-bottom: 1px solid var(--cp-line); }
.cp-faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; cursor: pointer; color: var(--cp-heading); list-style: none; }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary::after { content: "+"; flex: none; color: var(--cp-navy); }
.cp-faq[open] summary::after { content: "2"; }
.cp-faq .cp-prose { padding-bottom: 14px; }

/* ---------- forms ---------- */
.cp-form-wrap { max-width: 640px; margin-top: 24px; }
.cp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.cp-form > * { grid-column: 1 / -1; margin: 0; }
.cp-field label { display: block; font-size: 14px; margin-bottom: 4px; color: var(--cp-heading); }
/* Fields: 8px corners, a 1px line at 35% of the text colour that goes solid on hover and doubles on focus (live values).
   16px text on phones so iOS does not zoom in. */
.cp-field input, .cp-field select, .cp-field textarea { width: 100%; min-height: 46px; padding: 10px 15px; border: 1px solid rgba(var(--cp-text-rgb), .35); border-radius: var(--cp-radius-btn); background: var(--cp-white); font: inherit; font-size: 16px; }
.cp-field input:hover, .cp-field select:hover, .cp-field textarea:hover { border-color: var(--cp-text); }
.cp-field input:focus-visible, .cp-field select:focus-visible, .cp-field textarea:focus-visible { outline: none; border-color: var(--cp-text); box-shadow: 0 0 0 1px var(--cp-text); }
.cp-field textarea { min-height: 160px; }
.cp-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cp-form__ok { padding: 12px 14px; border-radius: 10px; background: #e7f5ec; color: #1f7a3f; }
.cp-form__errors { padding: 12px 14px; border-radius: 10px; border: 1px solid #b42318; color: #b42318; font-size: 14px; }
.cp-form__errors ul { list-style: disc; padding-left: 18px; }
@media (min-width: 750px) { .cp-field--half { grid-column: span 1; } }

/* ---------- Birthday Club and affiliates ---------- */
.cp-club__eyebrow { font-size: 13px; color: var(--cp-navy); font-weight: 600; margin-bottom: 4px; }
.cp-club__steps { list-style: decimal; padding-left: 20px; margin: 12px 0 20px; }
.cp-club__steps li { margin-bottom: 6px; }
.cp-club__join { max-width: 640px; padding: 20px; border-radius: 24px; background: var(--cp-mist); scroll-margin-top: 130px; }
.cp-club__join h2 { font-size: 20px; margin-bottom: 6px; }
.cp-club__small { font-size: 13px; color: var(--cp-caption); margin-top: 10px; }
.cp-club__date { border: 0; padding: 0; }
.cp-club__date select { width: auto; min-width: 110px; }
.cp-club__agree input { width: auto; min-height: 0; margin-right: 6px; }
.cp-club__label { display: block; font-size: 13px; color: var(--cp-caption); }
.cp-club__out { font-weight: 600; color: var(--cp-heading); word-break: break-all; }

/* ---------- filter panel on product listings (drawer on phones, left column from 750px) ---------- */
.cp-chip--tool { gap: 6px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.cp-chip__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--cp-navy); color: #fff; font-size: 12px; }
.cp-listing__bar { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.cp-listing__sort { display: none; margin: 0; font-size: 14px; }
.cp-listing__sort select, .cp-facet--sort select { height: 40px; padding: 0 10px; border: 1px solid var(--cp-line); border-radius: var(--cp-radius-btn); background: var(--cp-white); font: inherit; font-size: 14px; color: var(--cp-heading); }
.cp-listing[aria-busy="true"] .cp-listing__main { opacity: .55; }
.cp-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 12px 0 0; }
.cp-active__item { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 1px solid var(--cp-line); border-radius: 16px; font-size: 13px; color: var(--cp-heading); text-decoration: none; }
.cp-active__item:hover { border-color: var(--cp-navy); }
.cp-active__clear { font-size: 13px; padding: 6px 4px; }
.cp-empty__head { font-size: 20px; color: var(--cp-heading); margin: 0 0 4px; }
.cp-facets { position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(100%, 400px); background: var(--cp-white); visibility: hidden; transform: translateX(100%); }
.cp-facets:target, .cp-facets-open .cp-facets { visibility: visible; transform: none; box-shadow: 0 0 0 100vmax rgba(22, 32, 43, .45); }
.cp-facets-open body { overflow: hidden; }
.cp-facets form { display: flex; flex-direction: column; height: 100%; }
.cp-facets__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--cp-line); }
.cp-facets__title { font-size: 18px; font-weight: 500; }
.cp-facets__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--cp-heading); cursor: pointer; }
.cp-facets__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px; }
.cp-facets__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--cp-line); }
.cp-facets__foot .cp-btn { flex: 1; max-width: 240px; min-height: 44px; }
.cp-facet { padding: 12px 0; border-bottom: 1px solid var(--cp-line); }
.cp-facet summary { display: flex; align-items: center; justify-content: space-between; min-height: 32px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--cp-heading); cursor: pointer; }
.cp-facet__chosen { font-weight: 400; color: var(--cp-caption); margin-left: 4px; margin-right: auto; }
.cp-facet__note { margin: 8px 0; font-size: 13px; color: var(--cp-caption); }
.cp-facet__price { display: flex; gap: 12px; }
.cp-facet__price label { flex: 1; font-size: 13px; color: var(--cp-caption); }
.cp-facet__rupee { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid var(--cp-line); border-radius: var(--cp-radius-btn); color: var(--cp-heading); }
.cp-facet__rupee:focus-within { border-color: var(--cp-navy); }
.cp-facet__rupee input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: var(--cp-heading); }
.cp-facet__list { list-style: none; margin: 4px 0 0; padding: 0; }
.cp-js .cp-facet__list:not(.is-all) .cp-facet__more { display: none; }
.cp-facet__all { display: none; min-height: 36px; padding: 0; border: 0; background: none; color: var(--cp-navy); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.cp-js .cp-facet__all { display: inline-block; }
.cp-more { text-align: center; padding-block: 24px; }
.cp-more .cp-btn { min-width: 200px; min-height: 44px; }
.cp-facet__list label { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; color: var(--cp-text); cursor: pointer; }
.cp-facet__list input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--cp-navy); }
.cp-facet__list input:disabled + span { color: var(--cp-caption); }
.cp-facet--sort { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 0; }
@media (min-width: 750px) {
	.cp-chips__tool { display: none; }
	.cp-listing--cols { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; align-items: start; }
	.cp-listing--cols .cp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cp-facets, .cp-facets:target, .cp-facets-open .cp-facets { position: static; z-index: auto; width: auto; visibility: visible; transform: none; box-shadow: none; }
	.cp-facets-open body { overflow: visible; }
	.cp-facets form { height: auto; }
	.cp-facets__head, .cp-facet--sort { display: none; }
	.cp-facets__body { overflow: visible; padding: 0; }
	.cp-facets__foot { padding: 12px 0; border-top: 0; }
	.cp-js .cp-facets__foot { display: none; }
	.cp-listing__bar { justify-content: space-between; }
	.cp-listing__sort { display: block; }
}
@media (min-width: 990px) {
	.cp-listing--cols { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
	.cp-listing--cols .cp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1400px) {
	.cp-listing--cols .cp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
	.cp-facets { transition: transform .22s ease, visibility .22s; }
	.cp-listing__main { transition: opacity .15s ease; }
}

/* ---------- thank-you page: review request ---------- */
.cp-review-ask { margin: 0 0 24px; padding: 16px; border: 1px solid var(--cp-line); border-radius: var(--cp-radius-card); }
.cp-review-ask h2 { font-size: 20px; margin-bottom: 6px; }
.cp-review-ask__btn { width: 100%; min-height: 44px; }

/* ---------- plain page content: pictures, notices, lists and product rows ---------- */
.cp-plain-img { display: block; width: 100%; max-width: 720px; height: auto; border-radius: var(--cp-radius-card); margin: 12px 0; }
.cp-plain-block .cp-plain-img { max-width: 360px; }
.cp-notice { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--cp-line); border-left: 4px solid var(--cp-navy); border-radius: var(--cp-radius-btn); background: var(--cp-mist); }
.cp-notice p { margin: 0; }
.cp-namelist { list-style: none; margin: 12px 0; padding: 0; columns: 2; column-gap: 24px; }
.cp-namelist li { padding: 6px 0; break-inside: avoid; }
.cp-grid--row { margin: 12px 0 16px; }
@media (min-width: 750px) {
	.cp-namelist { columns: 4; }
	.cp-grid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- W9 (27 Oct 2026): ONE content width and ONE section title for the whole site ----------
   The content width is the hero card's (1320px between the edges, the same edges at every screen width), with a
   16px side gutter on phones and 20px from 750px. Every home row sits inside .cp-cw; collection and service pages
   may use it too. The section title (.cp-sh, printed by cp_sh() in inc/sections.php): compact and bold, 19px on
   phones and 26px on computers, "See all" on the same line, an optional short line under the title. */
:root { --cp-content: 1320px; --cp-cw-gutter: 16px; }
@media (min-width: 750px) { :root { --cp-cw-gutter: 20px; } }
.cp-cw { max-width: calc(var(--cp-content) + 2 * var(--cp-cw-gutter)); margin-inline: auto; padding-inline: var(--cp-cw-gutter); }
.cp-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.cp-sh__tx { min-width: 0; }
.cp-sh__t { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--cp-heading); text-wrap: balance; }
.cp-sh__t em { font-style: normal; }
.cp-sh__sub { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--cp-caption); }
.cp-sh__all { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--cp-navy); text-decoration: none; white-space: nowrap; cursor: pointer; }
.cp-sh__all:hover { text-decoration: underline; text-underline-offset: 3px; }
.cp-sh__chev { width: 16px; height: 16px; flex: none; }
@media (min-width: 990px) {
	.cp-sh { margin-bottom: 18px; }
	.cp-sh__t { font-size: 26px; }
	.cp-sh__sub { font-size: 15px; }
	.cp-sh__all { font-size: 15px; }
}

/* ---------- the product card's W9 parts (template-parts/card.php): brand, offer tag line, "+N" sizes ----------
   The tag line is always there (empty when the card has no offer), so the picture starts at the same height on every
   card of a row; a tag never covers the pack. */
.cp-card__tags { display: flex; gap: 4px; min-height: 30px; margin: 0; padding: 8px 20px 0; line-height: 1; }
.cp-card__tag { display: inline-block; padding: 4px 7px; border-radius: 5px; background: var(--cp-offer-bg); color: var(--cp-offer-text); font-size: 11px; font-weight: 700; line-height: 14px; white-space: nowrap; }
.cp-card__tag--out { background: var(--cp-mist-deep); color: var(--cp-text); }
.cp-card__brand { margin: 0 0 1px; font-size: 11.5px; font-weight: 500; line-height: 1.3; color: var(--cp-caption); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-card__pill--more { border-color: transparent !important; background: none !important; color: var(--cp-caption); }
/* phones: the card's Add button sits on the picture's lower edge (css/listing.css); the tag line above the picture
   moves the picture down by its own height, so the button moves with it */
@media (max-width: 749px) {
	.cp-card .cp-card__tags ~ .cp-card__add { top: calc(78cqw - 40px + 30px); }
}
