/*
Theme Name: Connie M
Theme URI: https://conniempersonalshopper.co.za
Description: Luxury minimal child theme of Twenty Twenty-Five for Connie M Personal Shopper.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: connie-m
*/

/* Header: sticky, hairline border */
.cm-header { position: sticky; top: 0; z-index: 50; }
body.admin-bar .cm-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .cm-header { top: 0; } }
.cm-header .cm-header-main { border-bottom: 1px solid var(--wp--preset--color--hairline); }
.cm-announce a { color: var(--wp--preset--color--accent); text-decoration: none; }

/* Wordmark */
.cm-wordmark { line-height: 1; text-decoration: none; }
.cm-wordmark a { text-decoration: none; color: inherit; }
.cm-wordmark-sub { letter-spacing: .32em; font-size: .62rem; text-transform: uppercase; margin-top: .3rem !important; color: var(--wp--preset--color--muted); }

/* Navigation */
.cm-nav .wp-block-navigation-item__content { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; }
.cm-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--accent-dark); }
.cm-nav .wp-block-navigation__submenu-container { border: 1px solid var(--wp--preset--color--hairline) !important; padding: .5rem 0; min-width: 230px !important; }
.cm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .92rem; padding: .45rem 1.1rem; }

/* Eyebrow labels */
.cm-eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; font-weight: 600; color: var(--wp--preset--color--accent-dark); }
.has-contrast-background-color .cm-eyebrow, .has-contrast-2-background-color .cm-eyebrow, .wp-block-cover .cm-eyebrow { color: var(--wp--preset--color--accent); }

/* Hero cover: readable text over photo */
.cm-hero .wp-block-cover__inner-container { max-width: 1320px; }
.cm-hero h1 { text-wrap: balance; }

/* Category cards */
.cm-cat { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.cm-cat img { transition: transform .6s ease; }
.cm-cat:hover img { transform: scale(1.04); }
.cm-cat .wp-block-cover__inner-container { align-self: flex-end; }
.cm-cat a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.cm-cat a { text-decoration: none; color: inherit; }

/* Trust strip icons */
.cm-trust p { margin: 0; }
.cm-trust .cm-trust-icon { font-size: 1.4rem; line-height: 1; color: var(--wp--preset--color--accent-dark); }

/* Steps */
.cm-step-num { font-family: var(--wp--preset--font-family--cormorant); font-size: 3.2rem; line-height: 1; color: var(--wp--preset--color--accent-dark); }

/* Product cards */
.wc-block-product .wc-block-components-product-image img, .wc-block-grid__product-image img, .wp-block-woocommerce-product-image img { aspect-ratio: 4 / 5; object-fit: cover; background: var(--wp--preset--color--base-2); transition: transform .5s ease; }
.wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.03); }
.wc-block-components-product-image { overflow: hidden; }
.wp-block-post-title.has-text-align-center a, .wc-block-product .wp-block-post-title a { text-decoration: none; }
.wc-block-components-product-sale-badge, .wc-block-components-product-badge { border-radius: 0 !important; border: 0 !important; background: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--base) !important; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem !important; }

/* Sourcing note on product pages */
.cm-source-note { margin-top: 1.25rem; padding: 1rem 1.15rem; background: var(--wp--preset--color--base-2); border-left: 3px solid var(--wp--preset--color--accent); font-size: .9rem; line-height: 1.55; }
.cm-source-note strong { display: block; margin-bottom: .2rem; letter-spacing: .04em; }
.cm-source-note a { color: inherit; }

/* Variation swatches: make selects calm */
.variations select, .wc-block-components-select select { border-radius: 0 !important; border-color: var(--wp--preset--color--hairline) !important; min-height: 46px; }

/* FAQ */
.cm-faq details { border-bottom: 1px solid var(--wp--preset--color--hairline); padding: 1.1rem 0; }
.cm-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.cm-faq summary::-webkit-details-marker { display: none; }
.cm-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--wp--preset--color--accent-dark); }
.cm-faq details[open] summary::after { content: "\2212"; }
.cm-faq details > :not(summary) { margin-top: .7rem; color: var(--wp--preset--color--muted); }

/* Footer */
.cm-footer a { text-decoration: none; }
.cm-footer a:hover { color: var(--wp--preset--color--accent); }
.cm-footer .cm-footer-list { list-style: none; padding: 0; margin: 0; }
.cm-footer .cm-footer-list li { margin: .45rem 0; }
.cm-footer .wp-block-social-links .wp-social-link { background: transparent !important; border: 1px solid rgba(243, 237, 223, .35); }

/* Floating WhatsApp button */
.cm-wa { position: fixed; right: 18px; bottom: 18px; z-index: 99; display: inline-flex; align-items: center; gap: .55rem; background: #1f7a4d; color: #fff; padding: .8rem 1.05rem; border-radius: 999px; box-shadow: 0 8px 24px rgba(21, 16, 10, .25); text-decoration: none; font-weight: 600; font-size: .88rem; }
.cm-wa:hover, .cm-wa:focus-visible { background: #17613c; color: #fff; }
.cm-wa svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 600px) { .cm-wa span { display: none; } .cm-wa { padding: .85rem; } }

/* Accessibility: visible focus */
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--wp--preset--color--accent-dark); outline-offset: 2px; }

/* Menu collapses to the hamburger below 1366px so it never wraps onto two lines next to the logo */
@media (min-width: 600px) and (max-width: 1365px) {
	.cm-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.cm-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.cm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex; }
}
.cm-nav .is-menu-open .wp-block-navigation__container { gap: 1.1rem; }
.cm-nav .is-menu-open .wp-block-navigation-item__content { font-size: 1rem; }
.cm-nav .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; padding: .4rem 0 0 1rem !important; }

/* Header icons: light, same weight */
.cm-header .wp-block-search__button { background: transparent !important; color: var(--wp--preset--color--contrast) !important; border: 0 !important; padding: .35rem !important; min-width: 0; }
.cm-header .wp-block-search__button svg { width: 24px; height: 24px; }
.cm-header .wp-block-search__inside-wrapper { border: 0; padding: 0; }
.cm-header .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { border: 1px solid var(--wp--preset--color--hairline); background: var(--wp--preset--color--base-2); }
.cm-header .wc-block-mini-cart__button, .cm-header .wc-block-customer-account a { color: var(--wp--preset--color--contrast); padding: .35rem; }
.cm-header .wc-block-mini-cart__badge { background: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--contrast) !important; }

/* Category cards */
.cm-cat-card .cm-cat-img { margin: 0; overflow: hidden; background: var(--wp--preset--color--base-2); }
.cm-cat-card .cm-cat-img img { width: 100%; transition: transform .6s ease; }
.cm-cat-card:hover .cm-cat-img img { transform: scale(1.04); }
.cm-cat-label { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; }
.cm-cat-label a { text-decoration: none; }
.cm-cat-label a::after { content: " \2192"; color: var(--wp--preset--color--accent-dark); }

/* Brand list */
.cm-brands a { text-decoration: none; white-space: nowrap; }
.cm-brands a:hover { color: var(--wp--preset--color--accent-dark); }
.cm-brands span { color: var(--wp--preset--color--accent); margin: 0 .35rem; }

/* Hero image fills its column */
.cm-hero .wp-block-columns { margin-bottom: 0; }
.cm-hero .cm-hero-img { margin: 0; height: 100%; }
.cm-hero .cm-hero-img img { width: 100%; height: 100%; max-height: 640px; }
@media (max-width: 781px) { .cm-hero .cm-hero-img img { max-height: 420px; object-position: 50% 20%; } }

/* Product page */
.woocommerce-product-gallery { overflow: hidden; }
.single-product h1.product_title, .single-product .wp-block-post-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.08; }
.single-product table.variations th.label, .single-product table.variations td.label { display: block; padding: 0 0 .5rem; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.single-product table.variations td.value { display: block; padding: 0 0 1.1rem; }
.single-product table.variations tr { display: block; }
.cm-pills-select { position: absolute !important; left: 0; width: 1px !important; min-width: 0 !important; max-width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; overflow: hidden; clip-path: inset(50%); }\n.single-product table.variations td.value { position: relative; }
.cm-pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.cm-pill { min-width: 3.25rem; min-height: 44px; padding: .55rem .95rem; border: 1px solid var(--wp--preset--color--hairline); background: transparent; color: var(--wp--preset--color--contrast); font: inherit; font-size: .9rem; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, transform .15s; }
.cm-pill:hover { border-color: var(--wp--preset--color--accent); }
.cm-pill:active { transform: scale(.96); }
.cm-pill[aria-checked="true"] { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--accent); font-weight: 600; }
.cm-pill:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.cm-pill.is-unavailable { color: var(--wp--preset--color--muted); background: linear-gradient(to top right, transparent calc(50% - .5px), var(--wp--preset--color--hairline) calc(50% - .5px), var(--wp--preset--color--hairline) calc(50% + .5px), transparent calc(50% + .5px)); }
.cm-pill.is-unavailable[aria-checked="true"] { color: var(--wp--preset--color--base); background-color: var(--wp--preset--color--muted); border-color: var(--wp--preset--color--muted); }
.single-product .reset_variations { font-size: .8rem; }

/* Shop and category pages */
.cm-archive-head .wp-block-query-title { margin: 0; }
.cm-term-desc { font-size: .98rem; line-height: 1.7; }
.cm-archive-bar select { border: 1px solid var(--wp--preset--color--hairline); background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); padding: .45rem .6rem; font: inherit; }
.cm-archive-bar p, .cm-archive-bar .woocommerce-result-count { margin: 0; }
@media (max-width: 600px) {
	.wc-block-product-template.is-flex-container, ul.wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.6rem .9rem !important; }
	.wc-block-product .wp-block-post-title { font-size: .85rem !important; }
}
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { padding: .3rem .65rem; text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); }

/* Mobile menu and wordmark */
.cm-nav .is-menu-open .wp-block-navigation__container, .cm-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.cm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-left: 1.5rem; }
@media (max-width: 600px) { .cm-wordmark-sub { letter-spacing: .2em; font-size: .56rem; } }

/* Footer lists: one size */
.cm-footer .cm-footer-list { font-size: .9rem !important; }
.cm-footer .cm-footer-list a { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* =========================================================
   Dark palette fit (matches conniempersonalshopper.co.za)
   ========================================================= */
::selection { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); }
.cm-header .cm-header-main { transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
.cm-nav .wp-block-navigation-item__content, .cm-header .wc-block-customer-account a, .cm-wordmark a { color: var(--wp--preset--color--contrast); }
.cm-nav .wp-block-navigation__submenu-container, .cm-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--contrast) !important; }
.wp-block-post-title a, .cm-cat-label a, .cm-brands a, .wc-block-product .wp-block-post-title a { color: inherit; }
.cm-cat-label a::after { color: var(--wp--preset--color--accent); }
.cm-eyebrow, .cm-trust .cm-trust-icon, .cm-step-num, .cm-faq summary::after { color: var(--wp--preset--color--accent); }
.cm-cat-card:hover .cm-cat-label a, .wc-block-product:hover .wp-block-post-title a { color: var(--wp--preset--color--accent); }
.woocommerce-breadcrumb, .woocommerce-breadcrumb a { color: var(--wp--preset--color--muted); }

/* Form fields */
:where(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], input[type="url"], textarea, select) { background-color: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); border: 1px solid var(--wp--preset--color--hairline); border-radius: 0; }
:where(input, textarea)::placeholder { color: var(--wp--preset--color--muted); opacity: 1; }
:where(input, textarea, select):focus { border-color: var(--wp--preset--color--accent); }
.wc-block-components-text-input input, .wc-block-components-textarea, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-combobox .wc-block-components-combobox-control input { background-color: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--contrast) !important; border-color: var(--wp--preset--color--hairline) !important; }
.wc-block-components-text-input label, .wc-blocks-components-select__label, .wc-block-components-combobox label { color: var(--wp--preset--color--muted) !important; }

/* Product cards: slimmer outline buttons that never wrap */
.wc-block-product .wp-block-button__link, .wc-block-product .wc-block-components-product-button__button { background: transparent; color: var(--wp--preset--color--accent); border: 1px solid var(--wp--preset--color--accent); padding: .7rem 1.1rem; font-size: .7rem; letter-spacing: .14em; white-space: nowrap; }
.wc-block-product .wp-block-button__link:hover, .wc-block-product .wc-block-components-product-button__button:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); }

/* =========================================================
   Product page
   ========================================================= */
.single-product .wc-block-components-product-price, .single-product .wp-block-woocommerce-product-price { font-size: 1.35rem; letter-spacing: .01em; }
.single-product form.cart .woocommerce-variation-add-to-cart, .single-product form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; }
.single-product form.cart .quantity input.qty { width: 4.75rem; min-height: 52px; text-align: center; font-size: 1rem; }
.single-product form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 52px; }
.single-product form.cart .single_add_to_cart_button.disabled { opacity: .55; cursor: not-allowed; }
.single-product .woocommerce-variation-price .price { font-size: 1.15rem; }
.single-product .woocommerce-variation-availability .out-of-stock { color: #E8A27C; }

.cm-pdp-extras { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
.cm-pdp-extras .cm-source-note { margin-top: 0; }
.cm-trust-list { list-style: none; margin: 0; padding: 1.25rem 0; border-top: 1px solid var(--wp--preset--color--hairline); border-bottom: 1px solid var(--wp--preset--color--hairline); display: grid; gap: 1rem; }
.cm-trust-list li { display: grid; grid-template-columns: 26px 1fr; gap: .85rem; align-items: start; }
.cm-trust-list svg { width: 24px; height: 24px; color: var(--wp--preset--color--accent); margin-top: .1rem; }
.cm-trust-list strong { display: block; font-size: .95rem; }
.cm-trust-list span { display: block; font-size: .87rem; color: var(--wp--preset--color--muted); line-height: 1.5; }
.cm-ask { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .8rem 1.2rem; border: 1px solid var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); text-decoration: none; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 600; transition: background-color .25s, color .25s; }
.cm-ask:hover, .cm-ask:focus-visible { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); }
.cm-ask svg { width: 18px; height: 18px; fill: currentColor; }
.cm-acc details:first-child { border-top: 1px solid var(--wp--preset--color--hairline); }
.cm-acc summary { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.cm-acc details > p { font-size: .92rem; line-height: 1.65; }

/* =========================================================
   Motion. Only active with .cm-js, which is never set for
   visitors who ask for reduced motion.
   ========================================================= */
:root { --cm-ease: cubic-bezier(.2, .7, .2, 1); --cm-ease-out: cubic-bezier(.16, 1, .3, 1); }

/* Hold the hero still until the script takes over (3 s failsafe in the head script) */
.cm-js:not(.cm-motion-on):not(.cm-motion-failsafe) .cm-hero .wp-block-column { opacity: 0; }

/* Scroll reveal: soft rise and fade */
.cm-js .cm-reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .9s var(--cm-ease), transform .9s var(--cm-ease-out); transition-delay: var(--cm-delay, 0ms); }
.cm-js .cm-reveal.is-in { opacity: 1; transform: none; }

/* Image curtain: picture is unveiled from the bottom while it settles from a slight zoom.
   The clip sits on the children: a fully clipped element is never reported as on screen. */
.cm-js .cm-curtain { overflow: hidden; }
.cm-js .cm-curtain > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.25s var(--cm-ease-out); transition-delay: var(--cm-delay, 0ms); }
.cm-js .cm-curtain img:not(.zoomImg) { transform: scale(1.14); transition: transform 1.8s var(--cm-ease-out); transition-delay: var(--cm-delay, 0ms); }
.cm-js .cm-curtain.is-in > * { clip-path: inset(0 0 0 0); }
.cm-js .cm-curtain.is-in img:not(.zoomImg) { transform: scale(1); }
.cm-js .cm-hero-img.cm-curtain > * { transition-duration: .95s; }
.cm-js .cm-settle img:not(.zoomImg) { transform: scale(1.06); transition: transform 1.4s var(--cm-ease-out); }
.cm-js .cm-settle.is-in img:not(.zoomImg) { transform: scale(1); }

/* Hero headline: words rise out of a mask one after another */
.cm-hero h1 .cm-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.cm-hero h1 .cm-w > span { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1s var(--cm-ease-out); }
.cm-hero h1.is-in .cm-w > span { transform: none; }

/* Gold hairline draws in before eyebrow labels */
.cm-eyebrow::before { content: ""; display: inline-block; width: 2.2rem; height: 1px; margin-right: .9em; vertical-align: middle; background: currentColor; transform-origin: left center; transition: transform 1s var(--cm-ease-out) .25s; }
.cm-eyebrow.has-text-align-center::after { content: ""; display: inline-block; width: 2.2rem; height: 1px; margin-left: .9em; vertical-align: middle; background: currentColor; transform-origin: right center; transition: transform 1s var(--cm-ease-out) .25s; }
.cm-js .cm-eyebrow:not(.is-in)::before, .cm-js .cm-eyebrow:not(.is-in)::after { transform: scaleX(0); }

/* Buttons: a light sweep crosses the gold on hover */
.wp-block-button__link, .single_add_to_cart_button, .cm-ask { position: relative; overflow: hidden; isolation: isolate; }
.wp-block-button__link::before, .single_add_to_cart_button::before, .cm-ask::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 25%, rgba(255, 247, 225, .45) 50%, transparent 75%); transform: translateX(-120%); transition: transform .9s var(--cm-ease); }
.wp-block-button__link:hover::before, .single_add_to_cart_button:not(.disabled):hover::before, .cm-ask:hover::before { transform: translateX(120%); }

/* Main menu: gold underline grows from the left */
.cm-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { background: linear-gradient(var(--wp--preset--color--accent), var(--wp--preset--color--accent)) left calc(100% - 2px) / 0 1px no-repeat; transition: background-size .4s var(--cm-ease), color .25s; }
.cm-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover, .cm-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content[aria-current="page"] { background-size: 100% 1px; color: var(--wp--preset--color--accent); }

/* Header: frosted espresso glass once the page scrolls */
.cm-header.is-scrolled .cm-header-main { background-color: rgba(21, 16, 10, .82) !important; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }

/* Brands we source: endless marquee with soft faded edges */
.cm-brands.cm-marquee { overflow: hidden; white-space: nowrap; text-align: left !important; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cm-marquee-track { display: inline-flex; animation: cm-marquee 48s linear infinite; }
.cm-marquee-set { display: inline-block; padding-right: .35rem; }
.cm-brands.cm-marquee:hover .cm-marquee-track, .cm-brands.cm-marquee:focus-within .cm-marquee-track { animation-play-state: paused; }
@keyframes cm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Cart badge bounce after adding to cart */
.cm-bump { animation: cm-bump .6s var(--cm-ease-out); }
@keyframes cm-bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }

/* Eyebrow hairlines stay drawn on task pages where nothing is observed */
.woocommerce-cart .cm-eyebrow::before, .woocommerce-checkout .cm-eyebrow::before, .woocommerce-account .cm-eyebrow::before { transform: none !important; }

/* Floating WhatsApp button slides in after the page settles */
.cm-js .cm-wa { animation: cm-wa-in .8s var(--cm-ease-out) 1.2s both; }
@keyframes cm-wa-in { from { opacity: 0; transform: translateY(24px) scale(.9); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.cm-brands.cm-marquee { white-space: normal; text-align: center !important; -webkit-mask-image: none; mask-image: none; }
}
/* =========================================================
   Soft raised UI (inspired by tactile "design your way" pages),
   in the Shopify espresso, cream and gold.
   ========================================================= */
:root {
	--cm-soft-bg: linear-gradient(145deg, #241B11 0%, #17110B 100%);
	--cm-soft-shadow: 14px 14px 32px rgba(0, 0, 0, .55), -10px -10px 26px rgba(255, 232, 190, .035), inset 0 1px 0 rgba(255, 240, 210, .07);
	--cm-soft-shadow-hover: 20px 22px 44px rgba(0, 0, 0, .6), -10px -10px 26px rgba(255, 232, 190, .045), inset 0 1px 0 rgba(255, 240, 210, .1), 0 0 0 1px rgba(218, 182, 104, .35);
	--cm-gold-grad: linear-gradient(180deg, #E6C982 0%, #DAB668 45%, #C29A47 100%);
}
.cm-soft { background: var(--cm-soft-bg); border-radius: 28px; box-shadow: var(--cm-soft-shadow); }

/* Pill buttons (Shopify also used rounded buttons) */
.wp-element-button, .wp-block-button__link, .cm-ask { border-radius: 999px !important; }
.cm-pill { border-radius: 12px; }
.cm-pill-btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .85rem 1.7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--wp--preset--color--contrast); background: var(--cm-soft-bg); box-shadow: 8px 8px 20px rgba(0, 0, 0, .5), -6px -6px 16px rgba(255, 232, 190, .04), inset 0 1px 0 rgba(255, 240, 210, .08); transition: transform .3s var(--cm-ease-out, ease), box-shadow .3s ease, color .25s; }
.cm-pill-btn:hover { color: var(--wp--preset--color--accent); transform: translateY(-2px); }
.cm-pill-btn:active { transform: translateY(1px) scale(.98); box-shadow: inset 4px 4px 10px rgba(0, 0, 0, .5), inset -3px -3px 8px rgba(255, 232, 190, .04); }
.cm-pill-btn.is-gold { color: var(--wp--preset--color--base); background: var(--cm-gold-grad); box-shadow: 0 10px 26px rgba(218, 182, 104, .22), inset 0 1px 0 rgba(255, 250, 230, .6), inset 0 -2px 0 rgba(120, 85, 25, .35); }
.cm-pill-btn.is-gold:hover { color: var(--wp--preset--color--base); box-shadow: 0 16px 36px rgba(218, 182, 104, .32), inset 0 1px 0 rgba(255, 250, 230, .6), inset 0 -2px 0 rgba(120, 85, 25, .35); }
.cm-pill-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 25%, rgba(255, 247, 225, .5) 50%, transparent 75%); transform: translateX(-120%); transition: transform .9s var(--cm-ease, ease); }
.cm-pill-btn:not(.is-gold)::before { background: linear-gradient(110deg, transparent 25%, rgba(218, 182, 104, .18) 50%, transparent 75%); }
.cm-pill-btn:hover::before { transform: translateX(120%); }

/* ---------- Hero ---------- */
.cm-hero2 { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5.5rem) var(--wp--preset--spacing--40) clamp(3rem, 7vw, 6rem); background: radial-gradient(120% 90% at 85% 10%, #2A2014 0%, var(--wp--preset--color--base) 55%); }
.cm-hero2__glow { position: absolute; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -8vw; top: -14vw; border-radius: 50%; background: radial-gradient(circle, rgba(218, 182, 104, .22) 0%, rgba(218, 182, 104, 0) 65%); filter: blur(10px); pointer-events: none; }
.cm-hero2__inner { position: relative; max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cm-hero2__copy > * + * { margin-top: 1.4rem; }
.cm-hero2__title { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.cm-hero2__title .cm-w:nth-last-child(-n+3) > span, .cm-hero2__title em { font-style: italic; color: var(--wp--preset--color--accent); }
.cm-hero2__lead { font-size: 1.08rem; line-height: 1.75; color: rgba(243, 237, 223, .82); max-width: 34rem; }
.cm-hero2__ctas { display: flex; flex-wrap: wrap; gap: .9rem; padding-top: .4rem; }
.cm-hero2__facts { list-style: none; margin: 2.2rem 0 0 !important; padding: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; border-top: 1px solid var(--wp--preset--color--hairline); }
.cm-hero2__facts strong { display: block; font-family: var(--wp--preset--font-family--cormorant); font-size: 1.7rem; font-weight: 500; color: var(--wp--preset--color--accent); line-height: 1.1; }
.cm-hero2__facts span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }

.cm-hero2__visual { position: relative; justify-self: center; width: min(100%, 470px); perspective: 1100px; }
.cm-hero2__frame { position: relative; padding: 14px; border-radius: 34px; transform: rotateX(var(--cm-rx, 0deg)) rotateY(var(--cm-ry, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--cm-ease-out, ease); }
.cm-hero2__frame::after { content: ""; position: absolute; inset: 14px; border-radius: 22px; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(14, 10, 6, .55) 100%), radial-gradient(80% 60% at var(--cm-gx, 30%) var(--cm-gy, 0%), rgba(255, 240, 210, .14), transparent 60%); }
.cm-hero2__frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 22px; }
.cm-hero2__badge { position: absolute; z-index: 3; left: -46px; top: 38px; width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; background: var(--cm-soft-bg); box-shadow: var(--cm-soft-shadow), 0 0 0 1px rgba(218, 182, 104, .3); }
.cm-hero2__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: cm-spin 22s linear infinite; }
.cm-hero2__badge text { font: 600 7.6px/1 var(--wp--preset--font-family--manrope); letter-spacing: .2em; fill: var(--wp--preset--color--accent); }
.cm-hero2__badge span, .cm-hero2__badge img { position: relative; font-family: var(--wp--preset--font-family--cormorant); font-size: 1.9rem; color: var(--wp--preset--color--accent); }
.cm-hero2__badge img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; }
.cm-hero2__chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem; border-radius: 18px; min-width: 230px; animation: cm-float 6s ease-in-out infinite; }
.cm-hero2__chip svg { flex: 0 0 34px; width: 34px; height: 34px; padding: 7px; border-radius: 50%; color: var(--wp--preset--color--base); background: var(--cm-gold-grad); }
.cm-hero2__chip strong { display: block; font-size: .9rem; }
.cm-hero2__chip span { display: block; font-size: .78rem; color: var(--wp--preset--color--muted); }
.cm-hero2__chip.is-a { right: -38px; top: 44%; }
.cm-hero2__chip.is-b { left: -30px; bottom: 34px; animation-delay: -3s; }
@keyframes cm-spin { to { transform: rotate(360deg); } }
@keyframes cm-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -12px, 0); } }

@media (max-width: 900px) {
	.cm-hero2__inner { grid-template-columns: 1fr; }
	.cm-hero2__visual { width: min(100%, 420px); margin-top: 1rem; }
	.cm-hero2__badge { left: -10px; top: -26px; width: 104px; height: 104px; }
	.cm-hero2__chip { min-width: 0; padding: .7rem .9rem; }
	.cm-hero2__chip.is-a { right: -8px; top: auto; bottom: 120px; }
	.cm-hero2__chip.is-b { left: -8px; bottom: 26px; }
}
@media (max-width: 480px) {
	.cm-hero2__chip span { display: none; }
	.cm-hero2__facts { gap: 1rem 1.6rem; }
	.cm-hero2__facts strong { font-size: 1.4rem; }
}

/* ---------- Category carousel ---------- */
.cm-cats { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.cm-cats__head { max-width: 760px; margin: 0 auto; padding: 0 var(--wp--preset--spacing--40); text-align: center; }
.cm-cats__head h2 { margin: .6rem 0 0; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.cm-cats__head > p:last-child { margin: 1rem auto 0; max-width: 36rem; color: var(--wp--preset--color--muted); }
.cm-carousel { position: relative; max-width: 1400px; margin: clamp(2rem, 4vw, 3rem) auto 0; }
.cm-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 30%, 380px); gap: clamp(1.1rem, 2vw, 1.8rem); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--wp--preset--spacing--40); padding: 1.5rem var(--wp--preset--spacing--40) 2.6rem; scrollbar-width: none; cursor: grab; }
.cm-carousel__track::-webkit-scrollbar { display: none; }
.cm-carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.cm-carousel__track.is-dragging a { pointer-events: none; }
.cm-card { scroll-snap-align: start; position: relative; border-radius: 26px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(218, 182, 104, .12); transition: transform .6s var(--cm-ease-out, ease), box-shadow .6s ease; }
.cm-card:hover, .cm-card:focus-within { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(218, 182, 104, .55), 0 0 40px rgba(218, 182, 104, .12); }
.cm-card__link { position: relative; display: block; overflow: hidden; border-radius: 26px; aspect-ratio: 3 / 4; color: var(--wp--preset--color--contrast); text-decoration: none; background: var(--wp--preset--color--base-2); isolation: isolate; }
.cm-card__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--cm-ease-out, ease); z-index: -2; }
.cm-card__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 10, 6, .95) 0%, rgba(14, 10, 6, .7) 26%, rgba(14, 10, 6, .1) 55%, rgba(14, 10, 6, 0) 70%); transition: opacity .5s; }
.cm-card:hover .cm-card__link img { transform: scale(1.08); }
.cm-card__num { position: absolute; top: 1.1rem; left: 1.2rem; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .18em; color: var(--wp--preset--color--accent); background: rgba(14, 10, 6, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(218, 182, 104, .35); }
.cm-card__body { position: absolute; left: 1.4rem; right: 5rem; bottom: 1.35rem; display: block; }
.cm-card__title { margin: 0; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.05; color: var(--wp--preset--color--contrast); }
.cm-card__sub { display: block; margin-top: .4rem; font-size: .85rem; line-height: 1.45; color: rgba(243, 237, 223, .75); }
.cm-card__cta { position: absolute; right: 1.1rem; bottom: 1.25rem; height: 48px; min-width: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--wp--preset--color--base); background: var(--cm-gold-grad); box-shadow: 0 10px 24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 250, 230, .6); transition: padding .5s var(--cm-ease-out, ease), gap .5s; }
.cm-card__cta svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s; }
.cm-card__cta-label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: max-width .55s var(--cm-ease-out, ease); }
.cm-card:hover .cm-card__cta, .cm-card:focus-within .cm-card__cta { padding: 0 1.1rem 0 1.25rem; gap: .55rem; }
.cm-card:hover .cm-card__cta-label, .cm-card:focus-within .cm-card__cta-label { max-width: 12rem; }
.cm-card:hover .cm-card__cta svg { transform: translateX(2px); }
.cm-card:hover .cm-card__body { right: 1.4rem; }
.cm-card:hover .cm-card__sub { opacity: 0; }
.cm-card__sub { transition: opacity .3s; }
@media (hover: none) {
	.cm-card__body { right: 1.2rem; bottom: 5rem; }
	.cm-card__cta { left: 1.2rem; right: auto; padding: 0 1.1rem 0 1.25rem; gap: .55rem; }
	.cm-card__cta-label { max-width: 12rem; }
}
.cm-carousel__nav { position: absolute; z-index: 4; top: 40%; width: 54px; height: 54px; border: 0; border-radius: 50% !important; display: grid; place-items: center; cursor: pointer; color: var(--wp--preset--color--contrast); transition: color .25s, transform .25s, opacity .3s; }
.cm-carousel__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cm-carousel__nav:hover { color: var(--wp--preset--color--accent); transform: scale(1.06); }
.cm-carousel__nav[disabled] { opacity: 0; pointer-events: none; }
.cm-carousel__nav.is-prev { left: 12px; }
.cm-carousel__nav.is-next { right: 12px; }
.cm-cats__all { text-align: center; margin: .5rem 0 0; }
@media (max-width: 700px) {
	.cm-carousel__track { grid-auto-columns: 78%; }
	.cm-carousel__nav { display: none; }
}

/* ---------- Soft accordions, like raised pills ---------- */
.cm-faq details { border: 0 !important; margin: 0 0 .9rem; padding: 0; border-radius: 20px; background: var(--cm-soft-bg); box-shadow: 8px 8px 22px rgba(0, 0, 0, .5), -6px -6px 18px rgba(255, 232, 190, .03), inset 0 1px 0 rgba(255, 240, 210, .06); transition: box-shadow .3s; }
.cm-faq details:first-child { border-top: 0 !important; }
.cm-faq summary { padding: 1.15rem 1.4rem; align-items: center; }
.cm-faq summary::after { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; background: rgba(218, 182, 104, .1); transition: transform .35s var(--cm-ease-out, ease), background-color .25s; }
.cm-faq details[open] summary::after { transform: rotate(180deg); background: rgba(218, 182, 104, .2); }
.cm-faq details > :not(summary) { margin: 0 !important; padding: 0 1.4rem 1.2rem; }
.cm-faq details[open] { box-shadow: var(--cm-soft-shadow-hover); }

/* Product cards and gallery: rounded to match */
.wc-block-components-product-image, .wc-block-components-product-image img, .woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery__image img, .flex-control-thumbs img { border-radius: 18px; }
.cm-source-note { border-radius: 0 16px 16px 0; }

/* Hold the new hero until the script takes over (same failsafe as before) */
.cm-js:not(.cm-motion-on):not(.cm-motion-failsafe) .cm-hero2__copy, .cm-js:not(.cm-motion-on):not(.cm-motion-failsafe) .cm-hero2__visual { opacity: 0; }
.cm-js .cm-hero2__badge, .cm-js .cm-hero2__chip { opacity: 0; transition: opacity .8s ease; }
.cm-js .cm-hero2.is-live .cm-hero2__badge { opacity: 1; transition-delay: .9s; }
.cm-js .cm-hero2.is-live .cm-hero2__chip.is-a { opacity: 1; transition-delay: 1.15s; }
.cm-js .cm-hero2.is-live .cm-hero2__chip.is-b { opacity: 1; transition-delay: 1.35s; }

@media (prefers-reduced-motion: reduce) {
	.cm-hero2__frame { transform: none !important; }
}
.cm-motion-failsafe .cm-hero2__badge, .cm-motion-failsafe .cm-hero2__chip { opacity: 1; }

/* Header logo (core Site Logo block; renders nothing until a logo is set) */
.cm-brand { min-width: 0; }
.cm-brand .cm-logo { margin: 0; }
.cm-brand .cm-logo a { display: block; border-radius: 50%; }
.cm-brand .cm-logo img { display: block; width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--wp--preset--color--accent), 0 0 0 5px rgba(218, 182, 104, .12), 0 0 22px rgba(218, 182, 104, .35); transition: transform .5s var(--cm-ease-out, ease), box-shadow .4s ease; }
.cm-brand .cm-logo a:hover img { box-shadow: 0 0 0 1.5px var(--wp--preset--color--accent), 0 0 0 6px rgba(218, 182, 104, .2), 0 0 30px rgba(218, 182, 104, .5); }
.cm-brand .cm-logo a:hover img { transform: rotate(-6deg) scale(1.05); }
@media (min-width: 600px) { .cm-wordmark .wp-block-site-title { white-space: nowrap; } }
/* Phones: the logo already spells out the name, so the text wordmark steps aside (it stays for screen readers) */
@media (max-width: 599px) {
	.cm-brand .cm-logo img { width: 54px !important; height: 54px !important; }
	.cm-brand:has(.cm-logo img) .cm-wordmark { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.cm-pill-btn, .cm-card__cta { box-sizing: border-box; }
/* Header logo never gets squeezed by the menu (it was collapsing to 0px wide at 1280px) */
.cm-brand, .cm-brand .cm-logo, .cm-brand .cm-logo a { flex-shrink: 0 !important; }
.cm-brand .cm-logo img { max-width: none !important; }
@media (min-width: 1366px) {
	.cm-nav .wp-block-navigation__container { flex-wrap: nowrap !important; gap: 1.25rem !important; }
	.cm-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { white-space: nowrap; }
}
/* Laptop widths: a tighter menu so it fits on one line without sideways scrolling */
@media (min-width: 1366px) and (max-width: 1599px) {
	.cm-nav .wp-block-navigation__container { gap: .9rem !important; }
	.cm-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { font-size: .72rem; letter-spacing: .08em; }
	.cm-wordmark .wp-block-site-title { font-size: 1.45rem !important; }
}
.cm-header-main > .wp-block-group { min-width: 0; }
/* Owner rule: no dashes. The gold hairlines beside section labels read as dashes, so they are gone. */
.cm-eyebrow::before, .cm-eyebrow::after { content: none !important; display: none !important; }

/* ---------- Perks: four raised cards at the foot of the homepage ---------- */
.cm-perks { position: relative; z-index: 2; padding: clamp(1rem, 3vw, 2rem) var(--wp--preset--spacing--40) clamp(3.5rem, 7vw, 6rem); }
.cm-perks__grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1320px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.5rem); }
.cm-perk { position: relative; overflow: hidden; isolation: isolate; padding: 1.6rem 1.5rem 1.7rem; border-radius: 24px; translate: 0 0; transition: translate .5s var(--cm-ease-out, ease), box-shadow .5s ease; }
.cm-js .cm-perk.cm-reveal { transition: opacity .9s var(--cm-ease) var(--cm-delay, 0ms), transform .9s var(--cm-ease-out) var(--cm-delay, 0ms), translate .5s var(--cm-ease-out), box-shadow .5s ease; }
.cm-perk:hover { translate: 0 -6px; box-shadow: var(--cm-soft-shadow-hover); }
.cm-perk::before { content: ""; position: absolute; z-index: -1; width: 180px; height: 180px; right: -70px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(218, 182, 104, .16), rgba(218, 182, 104, 0) 70%); transition: transform .8s var(--cm-ease-out, ease); }
.cm-perk:hover::before { transform: scale(1.35); }
.cm-perk::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 240, 210, .08) 50%, transparent 70%); transform: translateX(-120%); transition: transform 1.1s var(--cm-ease, ease); pointer-events: none; }
.cm-perk:hover::after { transform: translateX(120%); }
.cm-perk__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem; border-radius: 50%; color: var(--wp--preset--color--base); background: var(--cm-gold-grad); box-shadow: 0 10px 24px rgba(218, 182, 104, .25), inset 0 1px 0 rgba(255, 250, 230, .65), inset 0 -2px 0 rgba(120, 85, 25, .35); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), opacity .5s ease; }
.cm-perk__icon svg { width: 26px; height: 26px; }
.cm-perk:hover .cm-perk__icon { transform: rotate(-10deg) scale(1.08); }
.cm-perk__title { margin: 0 0 .4rem; font-family: var(--wp--preset--font-family--cormorant); font-size: 1.45rem; font-weight: 600; line-height: 1.15; color: var(--wp--preset--color--contrast); }
.cm-perk__text { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--wp--preset--color--muted); }
/* Icon pops in a beat after its card arrives */
.cm-js .cm-perk.cm-reveal .cm-perk__icon { transform: scale(.4) rotate(-35deg); opacity: 0; transition-delay: calc(var(--cm-delay, 0ms) + 250ms); }
.cm-js .cm-perk.cm-reveal.is-in .cm-perk__icon { transform: none; opacity: 1; }
.cm-js .cm-perk.cm-reveal.is-in:hover .cm-perk__icon { transform: rotate(-10deg) scale(1.08); transition-delay: 0ms; }
@media (max-width: 1000px) { .cm-perks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
	.cm-perk { padding: 1.15rem 1rem 1.25rem; border-radius: 20px; }
	.cm-perk__icon { width: 44px; height: 44px; margin-bottom: .8rem; }
	.cm-perk__icon svg { width: 22px; height: 22px; }
	.cm-perk__title { font-size: 1.15rem; }
	.cm-perk__text { font-size: .8rem; }
}

/* =========================================================
   Product gallery: the photo and all its thumbnails in one view.
   Desktop: thumbnails in a column beside the photo (as on the Shopify store), gallery stays in view while scrolling.
   Phones: a swipeable thumbnail row under the photo.
   ========================================================= */
.single-product .woocommerce-product-gallery { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.single-product .woocommerce-product-gallery .flex-viewport, .single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-row: 1; border-radius: 22px; background: var(--wp--preset--color--base-2); }
.single-product .woocommerce-product-gallery__image img:not(.zoomImg) { width: 100%; max-height: 62vh; object-fit: contain; background: var(--wp--preset--color--base-2); border-radius: 22px; }
.single-product .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 10px; margin: 0 !important; padding: 2px; list-style: none; overflow-x: auto; overscroll-behavior: contain; scrollbar-width: none; }
.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar { display: none; }
.single-product .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 74px; width: 74px !important; margin: 0 !important; float: none !important; list-style: none; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; opacity: .5; cursor: pointer; transition: opacity .25s, box-shadow .25s, transform .25s; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: .85; transform: translateY(-2px); }
.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; box-shadow: 0 0 0 2px var(--wp--preset--color--accent), 0 6px 18px rgba(218, 182, 104, .25); }
.single-product .woocommerce-product-gallery__trigger { z-index: 5; top: 14px !important; right: 14px !important; }

@media (min-width: 900px) {
	.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) { grid-template-columns: 86px minmax(0, 1fr); gap: 16px; align-items: start; }
	.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) .flex-viewport { grid-column: 2; }
	.single-product .woocommerce-product-gallery .flex-control-thumbs { grid-column: 1; grid-row: 1; flex-direction: column; overflow-x: hidden; overflow-y: auto; max-height: calc(100vh - 210px); }
	.single-product .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 auto; width: 100% !important; }
	.single-product .woocommerce-product-gallery__image img:not(.zoomImg) { max-height: calc(100vh - 210px); }
	/* Keep the photos in view while the shopper reads the details */
	.single-product .wp-block-woocommerce-product-image-gallery { position: sticky; top: 158px; }
	body.admin-bar.single-product .wp-block-woocommerce-product-image-gallery { top: 190px; }
}
@media (min-width: 900px) {
	/* Thumbnail column is exactly as tall as the photo; extra thumbnails scroll inside it */
	.single-product .woocommerce-product-gallery:has(.flex-control-thumbs) { align-items: stretch; }
	.single-product .woocommerce-product-gallery .flex-control-thumbs { align-self: stretch; height: 0; min-height: 100%; max-height: none; }
	.single-product .woocommerce-product-gallery .flex-viewport { align-self: start; }
}
/* Soft fade hints that more thumbnails are hidden (class set by motion.js) */
.single-product .flex-control-thumbs.is-more-below { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
@media (max-width: 899px) { .single-product .flex-control-thumbs.is-more-below { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); } }
/* =========================================================
   Links: no underlines. A thin gold line slides in on hover so links still read as links.
   ========================================================= */
a { text-decoration: none !important; }
a:where(:not(.wp-element-button, .wp-block-button__link, .cm-pill-btn, .cm-card__link, .cm-ask, .cm-wa, .wp-block-navigation-item__content, .wp-social-link-anchor):not(:has(img, svg))) { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 1px; transition: background-size .35s var(--cm-ease, ease), color .25s ease; }
a:where(:not(.wp-element-button, .wp-block-button__link, .cm-pill-btn, .cm-card__link, .cm-ask, .cm-wa, .wp-block-navigation-item__content, .wp-social-link-anchor):not(:has(img, svg))):hover { background-size: 100% 1px; }
.wc-block-components-product-name, .woocommerce-breadcrumb a, .wp-block-woocommerce-breadcrumbs a { color: var(--wp--preset--color--contrast); }
.wc-block-components-product-name:hover, .woocommerce-breadcrumb a:hover, .wp-block-woocommerce-breadcrumbs a:hover { color: var(--wp--preset--color--accent); }

/* =========================================================
   Focus: nothing on mouse clicks or taps; keyboard users get a soft, rounded gold ring.
   ========================================================= */
html { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none !important; }
:where(a, button, summary, [role="button"], [tabindex]):focus-visible, .wc-block-mini-cart__button:focus-visible { outline: 2px solid rgba(218, 182, 104, .9) !important; outline-offset: 3px !important; border-radius: 10px; box-shadow: 0 0 0 6px rgba(218, 182, 104, .16); }
:where(input, select, textarea):focus-visible { outline: none !important; border-color: var(--wp--preset--color--accent) !important; box-shadow: 0 0 0 3px rgba(218, 182, 104, .22) !important; }
.wc-block-mini-cart__button:focus, .wc-block-mini-cart__button:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.wc-block-components-button:not(.is-link):focus:not(:focus-visible) { box-shadow: none !important; outline: none !important; }
.wc-block-components-button:not(.is-link).is-style-outline:focus:not(:focus-visible), .wc-block-components-button:not(.is-link).outlined:focus:not(:focus-visible) { box-shadow: inset 0 0 0 1.5px currentColor !important; }
.wc-block-components-button:not(.is-link):focus-visible { box-shadow: 0 0 0 2px var(--wp--preset--color--base), 0 0 0 4px rgba(218, 182, 104, .9) !important; outline: none !important; }

/* =========================================================
   Cart drawer: breathing room at the top, prices never clipped
   ========================================================= */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title { margin: max(1.7rem, env(safe-area-inset-top)) 0 1rem !important; padding: 0 3.8rem 0 22px !important; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.15; }
.wc-block-mini-cart__drawer .wc-block-components-drawer__close { top: max(1.25rem, env(safe-area-inset-top)) !important; right: 1rem !important; border-radius: 50% !important; }
.wc-block-mini-cart__drawer .wc-block-mini-cart__items { overflow-x: hidden; padding-top: .4rem; }
.wc-block-mini-cart__drawer .wc-block-cart-item__total, .wc-block-mini-cart__drawer .wc-block-components-product-price { white-space: nowrap; }
.wc-block-mini-cart__drawer .wc-block-cart-items__row { padding-bottom: 1.2rem; border-bottom: 1px solid var(--wp--preset--color--hairline); margin-bottom: 1.2rem; }
.wc-block-mini-cart__drawer .wc-block-cart-item__image img { border-radius: 12px; }
.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description { display: none; }

/* Cart drawer: one 22px side margin for title, items and footer */
.wc-block-mini-cart__drawer .wc-block-mini-cart__items { padding-left: 22px !important; padding-right: 22px !important; }
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer { padding-left: 22px !important; padding-right: 22px !important; }

/* =========================================================
   Header search opens as a dropdown bar under the header instead of growing inside the row
   (it was pushing the page wider than the screen on phones).
   ========================================================= */
.cm-header .cm-header-main { position: relative; }
.cm-header .wp-block-search { position: static !important; }
.cm-header .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { position: absolute !important; z-index: 70; top: calc(100% + 10px); right: var(--wp--preset--spacing--40); left: auto; width: min(460px, calc(100vw - 32px)) !important; max-width: none !important; display: flex; gap: .4rem; padding: .45rem !important; border: 1px solid rgba(218, 182, 104, .45) !important; border-radius: 999px !important; background: var(--wp--preset--color--base-2) !important; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); animation: cm-search-in .35s var(--cm-ease-out, ease) both; }
.cm-header .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input { flex: 1 1 auto; min-width: 0; width: auto !important; height: 44px; padding: 0 1rem !important; border: 0 !important; background: transparent !important; color: var(--wp--preset--color--contrast); font-size: 1rem; box-shadow: none !important; }
.cm-header .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__button { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50% !important; color: var(--wp--preset--color--base) !important; background: var(--cm-gold-grad) !important; display: grid; place-items: center; }
@keyframes cm-search-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 781px) {
	.cm-header .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { left: 16px; right: 16px; width: auto !important; }
}
/* Read by search engines and screen readers, not shown */
.cm-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* =========================================================
   Phones: product photo and its thumbnails fit in the first screen.
   Compact announcement bar and one line breadcrumb free up space; the photo height follows the
   visible screen (100svh excludes the browser's own bars).
   ========================================================= */
@media (max-width: 781px) {
	.cm-announce { padding-top: .35rem !important; padding-bottom: .35rem !important; font-size: .68rem !important; line-height: 1.4; }
	.cm-announce p { margin: 0; }
	.single-product .woocommerce-breadcrumb, .single-product .wp-block-woocommerce-breadcrumbs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .8rem; }
	.single-product .woocommerce-product-gallery__image img:not(.zoomImg) { max-height: max(260px, calc(100svh - 300px)); }
	.single-product .woocommerce-product-gallery { gap: 10px; }
	.single-product .woocommerce-product-gallery .flex-control-thumbs li { flex-basis: 64px; width: 64px !important; }
	.single-product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 12px; }
}
/* =========================================================
   WooCommerce forms everywhere (account details, addresses, lost password): dark fields like the rest of the site
   ========================================================= */
body { --wc-form-color-background: var(--wp--preset--color--base); --wc-form-color-text: var(--wp--preset--color--contrast); --wc-form-border-color: var(--wp--preset--color--hairline); --wc-form-border-radius: 14px; --wc-form-border-width: 1px; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea { background: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--contrast) !important; border: 1px solid var(--wp--preset--color--hairline) !important; border-radius: 14px !important; min-height: 52px; padding: .8rem 1rem !important; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus, .woocommerce form .form-row textarea:focus { border-color: var(--wp--preset--color--accent) !important; box-shadow: 0 0 0 3px rgba(218, 182, 104, .2) !important; outline: none; }
.woocommerce form .form-row label { color: var(--wp--preset--color--contrast); font-size: .85rem; font-weight: 600; margin-bottom: .45rem; }
.woocommerce form .form-row .required { color: var(--wp--preset--color--accent); text-decoration: none; }
.woocommerce form .show-password-input, .woocommerce-page form .show-password-input { top: 50% !important; right: .9rem !important; transform: translateY(-50%); filter: invert(.85) sepia(.4) saturate(2) hue-rotate(5deg); opacity: .8; }
.woocommerce form .show-password-input:hover { opacity: 1; }
.woocommerce .password-input { display: block; position: relative; }

/* =========================================================
   Sign in / Create account screen
   ========================================================= */
body:has(#customer_login.cm-auth) main .wp-block-post-title { display: none; }
body:has(#customer_login.cm-auth) main > .wp-block-group, body:has(#customer_login.cm-auth) .wp-block-post-content { max-width: none; }
.cm-auth { display: grid; grid-template-columns: 1.05fr 1fr; max-width: 1120px; margin: clamp(1.5rem, 4vw, 3.5rem) auto; border-radius: 30px; overflow: hidden; background: var(--cm-soft-bg); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(218, 182, 104, .14); }
.cm-auth__brand { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 640px; padding: clamp(2rem, 4vw, 3.2rem); background: url(/wp-content/uploads/2026/10/connie-m-personal-shopper-sourcing-sneakers.jpg) center 30% / cover no-repeat; }
.cm-auth__brand::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 10, 6, .2) 0%, rgba(14, 10, 6, .72) 45%, rgba(14, 10, 6, .96) 100%), radial-gradient(70% 50% at 20% 100%, rgba(218, 182, 104, .22), transparent 70%); }
.cm-auth__eyebrow { margin: 0 0 .9rem; font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
.cm-auth__title { margin: 0; font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1.05; color: var(--wp--preset--color--contrast); }
.cm-auth__lead { margin: 1rem 0 0; max-width: 30rem; font-size: 1rem; line-height: 1.65; color: rgba(243, 237, 223, .82); }
.cm-auth__perks { list-style: none; margin: 1.8rem 0 0; padding: 1.4rem 0 0; display: grid; gap: .85rem; border-top: 1px solid rgba(218, 182, 104, .25); }
.cm-auth__perks li { display: flex; align-items: center; gap: .85rem; font-size: .95rem; color: var(--wp--preset--color--contrast); }
.cm-auth__perks svg { flex: 0 0 36px; width: 36px; height: 36px; padding: 8px; border-radius: 50%; color: var(--wp--preset--color--base); background: var(--cm-gold-grad); box-shadow: 0 6px 16px rgba(218, 182, 104, .25); }

.cm-auth__panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.8rem, 4vw, 3.4rem); background: var(--wp--preset--color--base-2); }
.cm-auth__switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 2rem; border-radius: 999px; background: var(--wp--preset--color--base); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--wp--preset--color--hairline); }
.cm-auth__switch button { position: relative; z-index: 1; min-height: 46px; border: 0; border-radius: 999px; background: transparent; color: var(--wp--preset--color--muted); font: inherit; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: color .3s; }
.cm-auth__switch button[aria-selected="true"] { color: var(--wp--preset--color--base); }
.cm-auth__thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--cm-gold-grad); box-shadow: 0 6px 18px rgba(218, 182, 104, .3), inset 0 1px 0 rgba(255, 250, 230, .6); transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.cm-auth[data-view="register"] .cm-auth__thumb { transform: translateX(100%); }
.cm-auth.is-tabbed .cm-auth__pane:not([hidden]) { animation: cm-pane-in .45s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cm-pane-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cm-auth__pane + .cm-auth__pane:not([hidden]) { margin-top: 0; }
.cm-auth:not(.is-tabbed) .cm-auth__pane + .cm-auth__pane { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--wp--preset--color--hairline); }
.cm-auth__heading { margin: 0; font-size: 2rem; line-height: 1.1; }
.cm-auth__sub { margin: .45rem 0 1.6rem; color: var(--wp--preset--color--muted); font-size: .95rem; }
.cm-auth form.login, .cm-auth form.register { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
.cm-auth .form-row { margin: 0 0 1.1rem !important; padding: 0 !important; }
.cm-auth .form-row label { display: block; }
.cm-auth__options { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .2rem 0 1.4rem; }
.cm-auth__options .lost_password { margin: 0; }
.cm-auth__options .lost_password a, .cm-auth__link { color: var(--wp--preset--color--accent); font-size: .9rem; }
.cm-check { display: inline-flex !important; align-items: center; gap: .6rem; cursor: pointer; font-size: .9rem; color: var(--wp--preset--color--contrast); margin: 0 !important; }
.cm-check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--wp--preset--color--hairline); border-radius: 6px; background: var(--wp--preset--color--base); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.cm-check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--wp--preset--color--base); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.cm-check input:checked { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
.cm-check input:checked::after { transform: rotate(-45deg) scale(1); }
.cm-auth__actions { margin: 0 !important; }
.cm-auth .cm-auth__submit { width: 100%; min-height: 54px; margin: 0 !important; border: 0 !important; border-radius: 999px !important; background: var(--cm-gold-grad) !important; color: var(--wp--preset--color--base) !important; font-size: .82rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 12px 28px rgba(218, 182, 104, .25), inset 0 1px 0 rgba(255, 250, 230, .6); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.cm-auth .cm-auth__submit:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(218, 182, 104, .35), inset 0 1px 0 rgba(255, 250, 230, .6); }
.cm-auth .cm-auth__submit.is-busy { color: transparent !important; pointer-events: none; }
.cm-auth .cm-auth__submit.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(21, 16, 10, .3); border-top-color: var(--wp--preset--color--base); border-radius: 50%; animation: cm-spin .8s linear infinite; }
.cm-auth__alt { margin: 1.4rem 0 0; text-align: center; color: var(--wp--preset--color--muted); font-size: .9rem; }
.cm-auth__link { border: 0; padding: 0; background: none; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.cm-auth__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.cm-auth__note, .cm-auth .woocommerce-privacy-policy-text p { font-size: .8rem; line-height: 1.6; color: var(--wp--preset--color--muted); margin: 0 0 1.2rem; }
.cm-auth__secure { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 1.8rem 0 0; padding-top: 1.3rem; border-top: 1px solid var(--wp--preset--color--hairline); font-size: .8rem; color: var(--wp--preset--color--muted); }
.cm-auth__secure svg { width: 16px; height: 16px; color: var(--wp--preset--color--accent); }
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error, .woocommerce-account .woocommerce-notices-wrapper .woocommerce-message, .woocommerce-account .woocommerce-notices-wrapper .woocommerce-info { max-width: 1120px; margin: 1.5rem auto 0; border-radius: 16px; }
@media (max-width: 860px) {
	.cm-auth { grid-template-columns: 1fr; margin: 1rem auto 2rem; border-radius: 24px; }
	.cm-auth__brand { min-height: 0; padding: 2rem 1.4rem 1.6rem; background-position: center 20%; }
	.cm-auth__perks { display: none; }
	.cm-auth__title { font-size: 2rem; }
	.cm-auth__lead { font-size: .92rem; }
	.cm-auth__panel { padding: 1.6rem 1.25rem 1.8rem; }
	.cm-auth__heading { font-size: 1.6rem; }
}

/* =========================================================
   Signed in account area: side menu card + content card
   ========================================================= */
.woocommerce-account.logged-in main .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); align-items: start; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.woocommerce-account .woocommerce-MyAccount-navigation { position: sticky; top: 160px; padding: .7rem; border-radius: 24px; background: var(--cm-soft-bg); box-shadow: var(--cm-soft-shadow); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 46px; padding: .7rem 1rem; border-radius: 14px; color: var(--wp--preset--color--contrast); font-size: .92rem; font-weight: 500; background-image: none !important; transition: background-color .2s, color .2s; }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background-color: rgba(243, 237, 223, .05); color: var(--wp--preset--color--accent); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background-color: rgba(218, 182, 104, .14); color: var(--wp--preset--color--accent); box-shadow: inset 0 0 0 1px rgba(218, 182, 104, .35); }
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--wp--preset--color--muted); }
.woocommerce-account .woocommerce-MyAccount-content { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 24px; background: var(--wp--preset--color--base-2); box-shadow: inset 0 0 0 1px rgba(218, 182, 104, .1); }
.woocommerce-account .woocommerce-MyAccount-content > p:first-child { font-size: 1.05rem; }
.woocommerce-account table.shop_table { border: 0 !important; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; }
.woocommerce-account table.shop_table th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--muted); background: var(--wp--preset--color--base); border: 0 !important; padding: .9rem 1rem !important; }
.woocommerce-account table.shop_table td { border: 0 !important; border-top: 1px solid var(--wp--preset--color--hairline) !important; padding: .9rem 1rem !important; }
.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.woocommerce-account .woocommerce-Address { float: none !important; width: auto !important; padding: 1.3rem; border-radius: 18px; background: var(--wp--preset--color--base); box-shadow: inset 0 0 0 1px var(--wp--preset--color--hairline); }
@media (max-width: 860px) {
	.woocommerce-account.logged-in main .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-account .woocommerce-MyAccount-navigation { position: static; padding: .5rem; border-radius: 18px; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-account .woocommerce-MyAccount-navigation a { white-space: nowrap; min-height: 42px; }
}
/* Sign in screen: the card sits close under the header instead of below the page template's stacked spacing */
body:has(#customer_login.cm-auth) main { margin-top: 0 !important; }
body:has(#customer_login.cm-auth) main > .wp-block-group { padding-top: 0 !important; }
body:has(#customer_login.cm-auth) main .wp-block-post-content { margin-top: 0 !important; }
body:has(#customer_login.cm-auth) .cm-auth { margin-top: clamp(1.2rem, 3vw, 2rem); }
.cm-auth .cm-auth__submit { position: relative; }

/* 16px text in every field: smaller text makes iPhones zoom in when a field is tapped */
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea, .cm-auth input.input-text { font-size: 16px !important; }
@media (max-width: 480px) { .cm-auth__switch button { font-size: .72rem; letter-spacing: .08em; white-space: nowrap; padding: 0 .5rem; } }

/* Account grid: WooCommerce's clearfix pseudo elements must not take grid cells */
.woocommerce-account.logged-in main .woocommerce::before, .woocommerce-account.logged-in main .woocommerce::after { display: none !important; content: none !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { align-content: start; grid-auto-rows: min-content; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button.view { min-height: 38px; padding: .5rem 1.1rem !important; font-size: .72rem !important; }

.woocommerce-account .woocommerce-MyAccount-navigation a { box-sizing: border-box; }

@media (max-width: 860px) {
	.woocommerce-account.logged-in main .woocommerce { grid-template-columns: minmax(0, 1fr) !important; }
	.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { min-width: 0; }
	.woocommerce-account table.shop_table_responsive { display: block; overflow-x: auto; }
}
