/* 01. Shared editorial language. */
:root { --cosmo-ink:#45453B; --cosmo-paper:#F7F5F1; --cosmo-line:#D3C6BC; --cosmo-hairline:rgba(100,99,85,.12); --cosmo-ease:cubic-bezier(.25,1,.5,1); }
.cosmo-home,.cosmo-commerce,.cosmo-info,.cosmo-policy { color:var(--cosmo-ink); }
.cosmo-home { margin:0; padding:0; background:white; }
.cosmo-home *, .cosmo-product-details *, .cosmo-mobile-buy * { box-sizing:border-box; }
.cosmo-home p:empty { display:none; }
.cosmo-home h1,.cosmo-home h2,.cosmo-home h3 { font-weight:500; color:var(--color-marble-garden); }
.cosmo-home h1 { font-size:clamp(56px,6vw,92px); letter-spacing:-.025em; line-height:1.06; margin:25px 0; }
.cosmo-home h2 { font-size:clamp(38px,4.2vw,64px); letter-spacing:-.025em; line-height:1.1; margin:18px 0 24px; }
.cosmo-home p { line-height:1.85; }
.cosmo-eyebrow { margin:0; font:500 10px/1.7 var(--font-sans); letter-spacing:.16em; text-transform:uppercase; color:var(--color-marble-garden); }
.cosmo-section { padding:112px max(28px,calc((100% - 1240px)/2)); }
.cosmo-intro { max-width:480px; margin:0 auto; font-size:14px; color:var(--color-marble-garden); }
.cosmo-button,.cosmo-home .wp-block-button__link { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:16px 24px; border:1px solid var(--color-marble-garden); border-radius:30px; color:white; background:var(--color-marble-garden); font:500 10px/1.6 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; text-decoration:none; transition:background-color .25s ease,transform .25s var(--cosmo-ease); }
.cosmo-home .wp-block-button.is-style-outline .wp-block-button__link { color:var(--color-marble-garden); background:transparent; }
.cosmo-button:hover,.cosmo-home .wp-block-button__link:hover { color:white; background:var(--cosmo-ink); border-color:var(--cosmo-ink); transform:translateY(-2px); }
.cosmo-home .wp-block-buttons { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.cosmo-text-link { display:inline-flex; align-items:center; min-height:48px; padding:8px 0; color:var(--color-marble-garden); font:500 10px/1.6 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; text-decoration:none; background:linear-gradient(currentColor,currentColor) left calc(100% - 7px)/100% 1px no-repeat; transition:background-size .3s var(--cosmo-ease),color .2s ease; }
.cosmo-text-link:hover { color:var(--color-matte-brown); background-size:65% 1px; }

/* 02. Centered atelier masthead, dialogs and drawer. */
.cosmo-announcement { display:flex; justify-content:center; gap:28px; padding:11px 24px; background:var(--color-marble-garden); color:white; font:400 10px/1.7 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; text-align:center; }
.cosmo-announcement a { color:inherit; text-decoration:none; }
.cosmo-announcement a:hover { text-decoration:underline; text-underline-offset:4px; }
.cosmo-announcement span { padding-left:28px; border-left:1px solid #ffffff40; }
.cosmo-header { position:relative; z-index:30; background:white; border-bottom:1px solid var(--cosmo-hairline); }
.cosmo-header__main { position:relative; max-width:1380px; min-height:112px; margin:auto; padding:28px 44px; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:24px; align-items:center; }
.cosmo-brand { grid-column:2; grid-row:1; justify-self:center; display:block; }
img.cosmo-logo { display:block; width:auto; height:40px; max-height:40px; max-width:100%; object-fit:contain; }
.cosmo-header__signature { grid-column:1; grid-row:1; margin:0; font:500 9px/1.8 var(--font-sans); letter-spacing:.14em; text-transform:uppercase; color:var(--color-marble-garden); }
.cosmo-header__signature span { font-weight:400; letter-spacing:.07em; }
.cosmo-header__actions { grid-column:3; grid-row:1; justify-self:end; display:flex; align-items:center; gap:12px; }
button.cosmo-icon-button,a.cosmo-icon-button { display:inline-flex; position:relative; align-items:center; justify-content:center; width:44px; height:44px; padding:11px; border:0; border-radius:50%; color:var(--color-marble-garden); background:transparent; box-shadow:none; cursor:pointer; text-decoration:none; transition:background-color .2s ease; }
.cosmo-icon-button:hover { background:var(--cosmo-paper); }
button.cosmo-menu-toggle { display:none; }
.cosmo-header__cart .thecosmoline-cart-status { position:absolute; top:0; right:-1px; }
.cosmo-desktop-nav { display:flex; justify-content:center; gap:36px; padding:0 24px; border-top:1px solid var(--cosmo-hairline); }
.cosmo-desktop-nav a { position:relative; display:flex; align-items:center; min-height:58px; font:500 10px/1.6 var(--font-sans); letter-spacing:.1em; text-decoration:none; color:var(--color-marble-garden); }
.cosmo-desktop-nav a::after { content:''; position:absolute; bottom:10px; left:0; width:100%; height:1px; background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform .25s var(--cosmo-ease); }
.cosmo-desktop-nav a:hover::after { transform:scaleX(1); }
html.cosmo-menu-open,html.cosmo-search-open,html.cosmo-cart-open { overflow:hidden; }
.cosmo-drawer { box-sizing:border-box; position:fixed; inset:0 auto 0 0; height:100dvh; max-height:100dvh; width:min(430px,92vw); max-width:92vw; margin:0; padding:30px; border:0; background:var(--cosmo-paper); color:var(--color-marble-garden); overflow-y:auto; }
.cosmo-drawer[open] { animation:cosmo-drawer-in .35s var(--cosmo-ease); }
.cosmo-drawer::backdrop,dialog.cosmo-search::backdrop { background:rgba(36,35,29,.45); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
.cosmo-drawer__top { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:28px; margin-bottom:30px; border-bottom:1px solid var(--cosmo-hairline); }
.cosmo-drawer__top img { max-width:200px; }
.cosmo-drawer nav { display:grid; margin:18px 0 35px; }
.cosmo-drawer nav a { min-height:54px; display:flex; align-items:center; padding:10px 0; border-bottom:1px solid var(--cosmo-hairline); font:500 24px/1.4 var(--font-serif); text-decoration:none; }
.cosmo-drawer__help { font-size:12px; padding-bottom:25px; }
.cosmo-drawer__help a { display:flex; align-items:center; min-height:48px; font-size:11px; text-underline-offset:5px; }
@keyframes cosmo-drawer-in { from { transform:translateX(-100%); } to { transform:translateX(0); } }

/* 03. Native-block homepage storytelling. */
.cosmo-hero { display:grid; grid-template-columns:1.1fr 1fr; min-height:690px; background:var(--cosmo-paper); }
.cosmo-hero > .wp-block-group__inner-container,.cosmo-editorial__cards > .wp-block-group__inner-container,.cosmo-collection-header > .wp-block-group__inner-container,.cosmo-faq > .wp-block-group__inner-container,.cosmo-discovery > .wp-block-group__inner-container { display:contents; }
.cosmo-hero__copy { align-self:center; padding:80px clamp(36px,5.5vw,90px); }
.cosmo-hero__copy h1 em { font-weight:500; }
.cosmo-hero__description { max-width:390px; margin-bottom:0; color:var(--color-marble-garden); font-size:14px; }
.cosmo-hero__note { display:flex; align-items:center; gap:14px; margin-top:32px; font-size:10px; letter-spacing:.04em; color:var(--color-marble-garden); }
.cosmo-hero__note::before { content:''; width:28px; height:1px; background:var(--color-matte-brown); }
.cosmo-hero__image { position:relative; width:calc(100% - 40px); height:calc(100% - 80px); min-height:560px; margin:40px 40px 40px 0; padding-bottom:37px; background:#e6ded5; }
.cosmo-hero__image img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 50%; }
.cosmo-hero__image figcaption { position:absolute; bottom:9px; left:20px; margin:0; font:400 9px/1.6 var(--font-sans); letter-spacing:.13em; text-transform:uppercase; color:var(--color-marble-garden); }
.cosmo-discovery { display:grid; grid-template-columns:180px minmax(0,1fr); align-items:center; gap:28px; padding:24px max(28px,calc((100% - 1240px)/2)); background:white; border-bottom:1px solid var(--cosmo-hairline); }
.cosmo-categories { display:flex; gap:10px; min-width:0; overflow-x:auto; padding:4px 0 8px; margin:0; scrollbar-width:thin; scroll-snap-type:x proximity; overscroll-behavior-inline:contain; }
.cosmo-categories a { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-height:48px; padding:11px 19px; border:1px solid var(--cosmo-hairline); border-radius:28px; color:var(--color-marble-garden); background:white; font:400 11px/1.6 var(--font-sans); text-decoration:none; scroll-snap-align:start; transition:background-color .2s ease,border-color .2s ease; }
.cosmo-categories a:hover,.cosmo-categories a[aria-current=page] { background:var(--cosmo-paper); border-color:var(--color-chic-beige); }
.cosmo-editorial { text-align:center; overflow:hidden; padding-bottom:90px; }
.cosmo-editorial__cards { display:grid; grid-template-columns:1fr 1.08fr 1fr; align-items:center; gap:55px; max-width:1040px; margin:85px auto 55px; padding:10px; }
.cosmo-editorial__card { margin:0; padding:11px 11px 0; background:var(--cosmo-paper); border:1px solid var(--cosmo-hairline); box-shadow:0 10px 30px rgba(69,69,59,.05); transform:rotate(-5deg) translateY(16px); transition:transform .4s var(--cosmo-ease),box-shadow .4s ease; }
.cosmo-editorial__card:nth-child(2) { transform:rotate(3deg) translateY(-24px); }
.cosmo-editorial__card:nth-child(3) { transform:rotate(-3deg) translateY(24px); }
.cosmo-editorial__card:hover,.cosmo-editorial__card:focus-within { transform:rotate(0) translateY(-8px); box-shadow:0 20px 40px rgb(69 69 59 / 9%); }
.cosmo-editorial__card a { display:block; }
.cosmo-editorial__card img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; }
.cosmo-editorial__card figcaption { margin:0; padding:20px 4px 24px; color:var(--color-marble-garden); font:500 23px/1.35 var(--font-serif); }
.cosmo-editorial__footnote { margin:55px 0 0; color:var(--color-marble-garden); font-size:10px; letter-spacing:.05em; }
.cosmo-bestsellers,.cosmo-wholesale { background:var(--cosmo-paper); }
.cosmo-diy,.cosmo-furniture { background:white; }
.cosmo-collection-header { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); align-items:end; gap:80px; margin-bottom:52px; }
.cosmo-collection-title h2 { margin-bottom:0; }
.cosmo-collection-intro p { max-width:350px; margin:0 0 16px; color:var(--color-marble-garden); font-size:13px; }
.cosmo-home .cosmo-collection-link.wp-block-buttons { margin:0; }
.cosmo-home .cosmo-collection-link .wp-block-button__link,
.cosmo-home .cosmo-collection-link .wp-block-button.is-style-outline .wp-block-button__link {
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  width:auto !important; min-height:44px !important; padding:12px 24px !important;
  border:1px solid var(--color-marble-garden) !important; border-radius:3px !important;
  background:transparent !important; color:var(--color-marble-garden) !important;
  font:500 11px/1.4 var(--font-sans) !important; letter-spacing:.12em !important;
  text-transform:uppercase !important; text-decoration:none !important;
  transition:all .2s ease !important;
}
.cosmo-home .cosmo-collection-link .wp-block-button__link:hover {
  background:var(--color-marble-garden) !important; color:white !important; transform:none !important;
}

/* 04. Consistent collection cards and catalog. */
.cosmo-products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:48px 30px; }
.cosmo-product { min-width:0; display:flex; flex-direction:column; }
.cosmo-product__image { position:relative; display:block; overflow:hidden; background:white; border:1px solid var(--cosmo-hairline); border-radius:5px; }
.cosmo-product__image img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; transition:transform .4s cubic-bezier(.25,1,.5,1); }
.cosmo-product__image:hover img,.cosmo-product__image:focus-visible img { transform:scale(1.035); }
.cosmo-card-badge,.cosmo-card-stock { position:absolute; top:16px; left:16px; z-index:2; padding:5px 10px; border:1px solid var(--cosmo-hairline); border-radius:20px; background:rgba(255,255,255,.93); color:var(--color-marble-garden); font:500 8px/1.7 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; }
.cosmo-product__details { display:flex; flex-direction:column; flex:1; align-items:start; padding:24px 2px 0; }
.cosmo-product__category { margin:0 0 10px; font:500 9px/1.7 var(--font-sans); letter-spacing:.14em; text-transform:uppercase; color:var(--color-marble-garden); }
.cosmo-product h3 { margin:0 0 15px; font:500 clamp(22px,2vw,28px)/1.25 var(--font-serif); letter-spacing:-.02em; color:var(--color-marble-garden); }
.cosmo-product h3 a { color:inherit; text-decoration:none; }
.cosmo-product__price { margin-bottom:10px; font-size:13px; line-height:1.7; }
.cosmo-product__price del { opacity:.5; margin-right:6px; }
.cosmo-product__price ins { background:transparent; text-decoration:none; }
.cosmo-product .cosmo-text-link { margin-top:auto; }
.woocommerce .site-container,.woocommerce-page .site-container { max-width:1320px; }
.woocommerce .content-area,.woocommerce-page .content-area { margin-block:55px 90px; }
.woocommerce .woocommerce-breadcrumb,#kadence-breadcrumbs { margin-bottom:30px; font-size:10px; line-height:1.8; color:var(--color-marble-garden); }
.woocommerce .woocommerce-products-header__title { font-size:clamp(40px,4vw,60px); }
.cosmo-catalog-intro { max-width:630px; margin:0 0 28px; font-size:14px; line-height:1.9; color:var(--color-marble-garden); }
.woocommerce .woocommerce-result-count { padding-top:12px; font-size:11px; }
.woocommerce .woocommerce-ordering select { min-height:46px; padding:12px 36px 12px 16px; background-color:white; border:1px solid var(--cosmo-line); border-radius:2px; font-size:11px; }
.woocommerce ul.products { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:50px 30px; margin-top:35px; }
.woocommerce ul.products::before,.woocommerce ul.products::after { display:none !important; }
.woocommerce ul.products li.product { position:relative; width:auto !important; min-width:0; margin:0 !important; float:none !important; }
.woocommerce ul.products li.product a img { width:100%; height:auto; aspect-ratio:1; object-fit:cover; margin:0 0 20px; border:1px solid var(--cosmo-hairline); border-radius:5px; transition:transform .4s var(--cosmo-ease); }
.woocommerce ul.products li.product a:hover img { transform:scale(1.015); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding:0; margin:8px 0 14px; color:var(--color-marble-garden); font:500 24px/1.3 var(--font-serif); letter-spacing:-.02em; }
.woocommerce ul.products li.product .price { font-size:12px; font-weight:400; color:var(--cosmo-ink); margin-bottom:12px; }
.woocommerce ul.products li.product .button,
.woocommerce ul.products.woo-archive-loop.woo-archive-action-visible .product-action-wrap > a.button:not(.kb-button) { min-height:48px; display:inline-flex; align-items:center; justify-content:center; padding:12px 16px; margin:0; border:1px solid var(--cosmo-line); border-radius:24px; background:transparent; color:var(--color-marble-garden); font:500 9px/1.6 var(--font-sans); letter-spacing:.1em; text-transform:uppercase; }
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products.woo-archive-loop.woo-archive-action-visible .product-action-wrap > a.button:not(.kb-button):hover { color:white; background:var(--color-marble-garden); border-color:var(--color-marble-garden); }
.woocommerce span.onsale,.cosmo-catalog-badge { position:absolute; top:14px !important; left:14px !important; right:auto !important; z-index:2; min-height:0; min-width:0; padding:5px 10px; margin:0 !important; border:1px solid var(--cosmo-hairline); border-radius:20px; background:white; color:var(--color-marble-garden); font:500 8px/1.7 var(--font-sans); letter-spacing:.1em; text-transform:uppercase; }
.cosmo-catalog-badge { top:44px !important; background:var(--cosmo-paper); }
.woocommerce nav.woocommerce-pagination ul { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:50px; border:0; }
.woocommerce nav.woocommerce-pagination ul li { border:0; }
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span { min-width:44px; min-height:48px; display:grid; place-items:center; padding:12px 15px; border:1px solid var(--cosmo-hairline); border-radius:2px; font-size:11px; }

/* 05. Trust, guidance and atelier membership. */
.cosmo-trust { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:34px; padding:50px max(28px,calc((100% - 1240px)/2)); border-block:1px solid var(--cosmo-hairline); background:white; }
.cosmo-trust > div { padding-left:28px; border-left:1px solid var(--cosmo-hairline); }
.cosmo-trust > div:first-child { padding-left:0; border:0; }
.cosmo-trust svg { color:var(--color-matte-brown); margin-bottom:18px; }
.cosmo-trust h3 { margin:0 0 10px; font:500 20px/1.35 var(--font-serif); color:var(--color-marble-garden); }
.cosmo-trust p { margin:0; font-size:11px; line-height:1.85; }
.cosmo-faq { display:grid; grid-template-columns:1fr 1.35fr; gap:90px; background:white; }
.cosmo-faq__intro > p:not(.cosmo-eyebrow) { max-width:300px; font-size:13px; color:var(--color-marble-garden); }
.cosmo-faq__questions { border-top:1px solid var(--cosmo-hairline); }
.cosmo-faq .wp-block-details { padding:0; margin:0; border-bottom:1px solid var(--cosmo-hairline); }
.cosmo-faq summary { position:relative; padding:25px 35px 25px 0; cursor:pointer; list-style:none; font:500 14px/1.8 var(--font-sans); }
.cosmo-faq summary::-webkit-details-marker { display:none; }
.cosmo-faq summary::after { content:'+'; position:absolute; right:1px; top:23px; font:400 22px/1.5 var(--font-sans); }
.cosmo-faq details[open] summary::after { content:'−'; }
.cosmo-faq details > p { margin:0 30px 26px 0; font-size:13px; color:var(--color-marble-garden); }
.cosmo-atelier { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:90px; background:#eae8e1; }
.cosmo-atelier h2 { margin:17px 0 22px; font:500 clamp(42px,4.2vw,64px)/1.1 var(--font-serif); letter-spacing:-.025em; }
.cosmo-atelier p { font-size:13px; line-height:1.85; }
.cosmo-signup-fields,.cosmo-signup-fields > p { display:flex; align-items:end; gap:0; }
.cosmo-signup-fields > p { display:contents; }
.cosmo-signup-fields label { flex:1; min-width:0; font-size:10px; }
.cosmo-signup-fields input[type=email] { width:100%; min-height:52px; margin-top:9px; padding:14px; border:1px solid var(--cosmo-line); border-right:0; border-radius:2px 0 0 2px; background:#ffffffb0; font-size:12px; }
.cosmo-signup-fields input[type=submit] { min-height:52px; padding:14px 19px; border-radius:0 2px 2px 0; background:var(--color-marble-garden); color:white; font:500 9px/1.6 var(--font-sans); letter-spacing:.1em; text-transform:uppercase; }
.cosmo-atelier .wpcf7-list-item { margin:16px 0 0; font-size:10px; line-height:1.8; }
.cosmo-atelier .wpcf7-list-item label { display:flex; gap:10px; align-items:start; }
.cosmo-atelier input[type=checkbox] { flex-shrink:0; margin-top:4px; }
.cosmo-atelier .cosmo-signup-privacy,.cosmo-atelier .cosmo-atelier__note { margin:12px 0 0; font-size:10px; }
.cosmo-atelier .wpcf7-spinner { display:none; }
.cosmo-atelier .submitting .wpcf7-spinner { display:inline-block; }
.cosmo-atelier .wpcf7 form .wpcf7-response-output { margin:18px 0 0; padding:12px; border-color:var(--color-matte-brown); font-size:12px; }

/* 06. Product gallery, sticky summary and native disclosure panels. */
.single-product.woocommerce div.product { position:relative; display:block; }
.cosmo-product-purchase { position:relative; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:0 70px; align-items:start; }
.single-product.woocommerce div.product div.images { grid-column:1; grid-row:1; float:none; width:auto !important; margin:0; }
.single-product.woocommerce div.product div.summary { grid-column:2; grid-row:1; float:none; width:auto !important; min-width:0; margin:0; padding:12px 12px 5px 0; position:sticky; top:30px; }
/* 2026-11-26: no inner scroll area on the product details column (Jessica: a second scrollbar confused shoppers). Long details now scroll with the page; short ones still stay in view. */
.single-product div.product .product_title { margin:0 0 24px; font:500 clamp(34px,3.1vw,48px)/1.13 var(--font-serif); letter-spacing:-.025em; color:var(--color-marble-garden); }
.single-product div.product p.price { margin:0 0 25px; font-size:18px; color:var(--cosmo-ink); }
.single-product .woocommerce-product-details__short-description { font-size:13px; line-height:1.9; color:var(--color-marble-garden); }
.single-product .woocommerce-product-details__short-description strong { font-weight:500; }
.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image img { width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:5px; }
.single-product.woocommerce div.product div.images.woocommerce-product-gallery .flex-control-thumbs { display:flex; flex-wrap:nowrap; justify-content:flex-start; gap:10px; overflow-x:auto; overflow-y:hidden; width:100%; max-width:100%; margin:0; padding:16px 0 5px; left:auto; transform:none; scrollbar-width:thin; scroll-snap-type:x proximity; }
.single-product.woocommerce div.product div.images.woocommerce-product-gallery .flex-control-thumbs li { float:none; flex:0 0 72px; width:72px !important; min-width:72px; margin:0; padding:0; border:0; scroll-snap-align:start; }
.single-product.woocommerce div.product div.images.woocommerce-product-gallery .flex-control-thumbs li img { display:block; box-sizing:border-box; width:72px; height:72px; object-fit:cover; border:2px solid transparent; border-radius:3px; opacity:.6; }
.single-product.woocommerce div.product div.images.woocommerce-product-gallery .flex-control-thumbs li img.flex-active { border-color:var(--color-marble-garden); opacity:1; }
.single-product form.cart:not(.variations_form),
.single-product form.cart :is(.woocommerce-variation-add-to-cart, .woocommerce-variation-add-to-cart-enabled) {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
}
.single-product form.cart .quantity {
  flex: 0 0 auto;
  margin: 0 !important;
}
.single-product .quantity input.qty {
  width: 56px;
  height: 48px;
  padding: 0 4px;
  text-align: center;
  border: 1px solid var(--cosmo-line);
  border-radius: 3px;
  font-size: 14px;
  appearance: textfield;
  -moz-appearance: textfield;
}
.single-product .quantity input.qty::-webkit-inner-spin-button,
.single-product .quantity input.qty::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
.single-product form.cart .single_add_to_cart_button,
.single-product form.cart .cosmo-buy-now {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  min-height: 48px;
  margin: 0 !important;
  margin-inline-start: 0 !important;
  padding: 0 8px !important;
  font-size: 11px !important;
  letter-spacing: .08em;
  text-align: center;
  white-space: nowrap;
}
:is(.single-product, .cosmo-quick-view) form.cart :is(.single_add_to_cart_button, .cosmo-buy-now):is(:disabled, .disabled),
:is(.single-product, .cosmo-quick-view) form.cart .single_add_to_cart_button:is(:disabled, .disabled) ~ .cosmo-buy-now {
  background: #e7dcd2 !important;
  color: #644f43 !important;
  opacity: .75 !important;
  cursor: not-allowed !important;
  border-color: #d8c9bc !important;
}
.woocommerce button.button,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:14px 22px; background:var(--color-marble-garden); color:white; border-radius:3px; box-shadow:none; font:500 10px/1.6 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; }
.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover { background:var(--cosmo-ink); color:white; }
.single-product .product_meta { margin-top:20px; padding-top:18px; border-top:1px solid var(--cosmo-hairline); font-size:10px; line-height:1.8; color:var(--color-marble-garden); }
.single-product .product_meta .tagged_as { display:none; }
.cosmo-payment-plan { padding:22px 0 0; margin-top:22px; border-top:1px solid var(--cosmo-hairline); }
.cosmo-payment-plan dl { margin:16px 0 12px; }
.cosmo-payment-plan dl > div { display:grid; grid-template-columns:105px 1fr; align-items:baseline; gap:12px; padding:5px 0; font-size:11px; line-height:1.55; }
.cosmo-payment-plan dt { font-weight:600; color:var(--cosmo-ink); }
.cosmo-payment-plan dd { margin:0; text-align:left; color:var(--color-marble-garden); }
.cosmo-payment-plan__note { margin:0; font-size:9px; line-height:1.8; color:var(--color-marble-garden); }
.cosmo-product-details,.cosmo-paired,.single-product .related.products,.single-product .upsells.products { grid-column:1/-1; min-width:0; clear:both; }
.cosmo-product-details { display:grid; grid-template-columns:1fr 1.5fr; gap:90px; margin-top:85px; padding:65px 0; border-top:1px solid var(--cosmo-hairline); }
.cosmo-product-details header h2 { margin:16px 0 22px; font:500 45px/1.12 var(--font-serif); letter-spacing:-.025em; color:var(--color-marble-garden); }
.cosmo-product-details header > p:last-child { font-size:12px; color:var(--color-marble-garden); max-width:230px; }
.cosmo-product-details__panels { border-top:1px solid var(--cosmo-hairline); }
.cosmo-product-detail { border-bottom:1px solid var(--cosmo-hairline); scroll-margin-top:28px; }
.cosmo-product-detail > summary { position:relative; padding:23px 35px 23px 0; min-height:48px; cursor:pointer; list-style:none; font:500 21px/1.5 var(--font-serif); color:var(--color-marble-garden); }
.cosmo-product-detail > summary::-webkit-details-marker { display:none; }
.cosmo-product-detail > summary::after { content:'+'; position:absolute; top:23px; right:0; font:400 21px/1.5 var(--font-sans); }
.cosmo-product-detail[open] > summary::after { content:'−'; }
.cosmo-detail-panel { padding:0 12px 26px 0; font-size:13px; line-height:1.85; }
.cosmo-detail-panel > h2:first-child { display:none; }
.cosmo-detail-panel h2,.cosmo-detail-panel h3,.cosmo-detail-panel h4 { font-family:var(--font-serif); font-weight:500; }
.cosmo-detail-panel p { margin-bottom:20px; }
.cosmo-guide { display:grid; grid-template-columns:110px 1fr; gap:18px; padding:22px; margin:20px 0; background:var(--cosmo-paper); border:1px solid var(--cosmo-hairline); }
.cosmo-guide dd { margin:0; }
.cosmo-paired,.single-product .related.products,.single-product .upsells.products { padding-top:55px; margin-top:45px; border-top:1px solid var(--cosmo-hairline); }
.cosmo-paired h2,.single-product .related.products > h2,.single-product .upsells.products > h2 { font:500 40px/1.2 var(--font-serif); margin:15px 0 35px; letter-spacing:-.025em; }
.woocommerce ul.products li.product .cosmo-related-category { font:500 9px/1.7 var(--font-sans); letter-spacing:.14em; text-transform:uppercase; margin:0 0 10px; color:var(--color-marble-garden); }
.woocommerce #reviews #comments ol.commentlist { padding:0; margin:25px 0; }
.woocommerce #reviews #comments ol.commentlist li { padding:24px; margin-bottom:18px; border:1px solid var(--cosmo-hairline); border-radius:4px; background:white; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { width:44px; height:44px; padding:0; position:static; float:left; border:0; border-radius:50%; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { margin-left:64px; border:0; padding:0; }
.woocommerce #reviews .comment-text p.meta { font-size:10px; color:var(--color-marble-garden); }
.woocommerce .star-rating,.woocommerce p.stars a { color:var(--color-gold-accent); }
.woocommerce #reviews .verified { border:1px solid var(--cosmo-hairline); padding:3px 7px; border-radius:12px; font-size:9px; }
.woocommerce #review_form_wrapper { padding:25px; margin-top:25px; background:var(--cosmo-paper); border:1px solid var(--cosmo-hairline); }
.woocommerce #review_form #respond .comment-reply-title { font:500 25px/1.4 var(--font-serif); }
.woocommerce #review_form #respond p { font-size:12px; margin-bottom:20px; }
.woocommerce #review_form label { display:block; margin-bottom:8px; }
.woocommerce #review_form input[type=text],.woocommerce #review_form input[type=email],.woocommerce #review_form textarea { width:100%; padding:12px 14px; border:1px solid var(--cosmo-line); border-radius:2px; background:white; font-size:13px; }
.woocommerce #review_form textarea { min-height:150px; }
.woocommerce #review_form #respond .form-submit input { min-height:48px; padding:14px 25px; border-radius:24px; background:var(--color-marble-garden); color:white; font:500 10px/1.5 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; }
.woocommerce #review_form .comment-form-cookies-consent label { display:inline; margin-left:8px; }
.cosmo-mobile-buy { display:none; }

/* 07. Cart, checkout and account surfaces. Native commerce math is unchanged. */
.cosmo-commerce { max-width:1320px; margin:auto; padding:70px 40px 100px; }
.cosmo-commerce__heading { margin-bottom:42px; }
.cosmo-commerce__heading h1 { margin:16px 0 0; font:500 clamp(44px,4.5vw,68px)/1.1 var(--font-serif); letter-spacing:-.025em; }
.woocommerce table.shop_table { border:1px solid var(--cosmo-hairline); border-collapse:collapse; border-radius:3px; font-size:13px; }
.woocommerce table.shop_table th { padding:19px; background:var(--cosmo-paper); font:500 9px/1.7 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; }
.woocommerce table.shop_table td { padding:20px 18px; border-color:var(--cosmo-hairline); }
.woocommerce-cart .woocommerce-cart-form > .cart-summary { margin:0 0 24px; padding:14px 20px; border:1px solid var(--cosmo-hairline); border-radius:4px; background:var(--cosmo-paper); }
.woocommerce-cart .cart-summary h2 { margin:0; }
.woocommerce-cart table.shop_table .product-thumbnail img { width:70px; height:70px; object-fit:cover; border-radius:5px; }
.woocommerce-cart table.shop_table .quantity input.qty { width:64px; min-height:48px; padding:10px 7px; border:1px solid var(--cosmo-line); border-radius:2px; box-shadow:none; text-align:center; }
.woocommerce-cart table.cart td.actions .coupon { display:flex; align-items:stretch; flex-wrap:wrap; gap:0; }
.woocommerce-cart table.cart td.actions .coupon input.input-text { width:180px; min-height:48px; margin:0; padding:12px 14px; border:1px solid var(--cosmo-line); border-right:0; border-radius:2px 0 0 2px; box-shadow:none; font-size:12px; }
.woocommerce-cart table.cart td.actions .coupon button.button { min-height:48px; padding:12px 18px; margin:0; border:1px solid var(--color-marble-garden); border-radius:0 2px 2px 0; background:var(--color-marble-garden); color:#fff; font-size:13px; white-space:nowrap; }
.woocommerce-cart table.cart td.actions .coupon button.button:not(:disabled):is(:hover,:focus) { background:var(--cosmo-ink); color:#fff; }
.woocommerce-cart table.cart td.actions .coupon button.button:focus-visible { outline:2px solid var(--cosmo-ink); outline-offset:3px; }
.woocommerce-cart table.cart td.actions .coupon button.button:disabled { background:#e5e4e2; color:#353432; opacity:1; }
.woocommerce-cart .coupon .coupon-error-notice { flex:1 0 100%; width:100%; margin:10px 0 0; font-size:11px; line-height:1.7; }
.woocommerce .cart-collaterals .cart_totals { width:100%; padding:28px; margin:0; border:1px solid var(--cosmo-hairline); border-radius:4px; background:var(--cosmo-paper); box-shadow:0 10px 30px rgb(69 69 59 / 5%); }
.woocommerce .cart_totals h2 { margin-top:0; font:500 31px/1.3 var(--font-serif); }
.woocommerce .cart_totals table.shop_table { border:0; background:transparent; }
.woocommerce .cart_totals table.shop_table td,.woocommerce .cart_totals table.shop_table th { padding:17px 0; background:transparent; border-color:var(--cosmo-hairline); font-size:11px; text-transform:none; letter-spacing:0; }
.woocommerce .cart_totals table.shop_table th { width:55%; }
.woocommerce .cart_totals table.shop_table td { text-align:right; }
.woocommerce .cart_totals .tax-rate,.woocommerce .cart_totals .includes_tax { font-size:10px; line-height:1.8; }
.woocommerce-cart .wc-proceed-to-checkout { padding-bottom:0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width:100%; min-height:52px; display:flex; align-items:center; justify-content:center; margin:0; background:var(--color-marble-garden); color:white; border-radius:2px; font:500 10px/1.6 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; }
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.select2-container--default .select2-selection--single { min-height:48px; padding:12px 14px; border:1px solid var(--cosmo-line); border-radius:2px; background:white; box-shadow:none; color:var(--cosmo-ink); font-size:13px; }
.woocommerce input:focus,.woocommerce textarea:focus,.woocommerce select:focus { border-color:var(--color-matte-brown); outline:2px solid rgb(158 126 103 / 15%); outline-offset:2px; }
.woocommerce form .form-row { padding:0; margin-bottom:24px; }
.woocommerce form .form-row label { margin-bottom:8px; font-size:11px; font-weight:500; }
.woocommerce-checkout .content-container { max-width:1320px; }
.woocommerce-checkout .cosmo-commerce > .woocommerce { max-width:none; margin:0; }
.woocommerce-checkout .cosmo-commerce .woocommerce .wps_wpr_checkout_points_class {
 display:grid !important;
 grid-template-columns:minmax(0,135px) max-content minmax(0,1fr);
 gap:10px 12px;
 text-align:start !important;
}
.woocommerce-checkout .wps_wpr_checkout_points_class::after { content:none; }
.woocommerce-checkout .wps_wpr_checkout_points_class > :is(#wps_cart_points,#wps_cart_points_apply) {
 box-sizing:border-box;
 height:48px;
 min-height:48px;
 margin:0;
}
.woocommerce-checkout .wps_wpr_checkout_points_class > #wps_cart_points { width:100%; min-width:0; }
.woocommerce-checkout .wps_wpr_checkout_points_class > #wps_cart_points_apply {
 width:auto;
 padding:0 16px;
 background:var(--color-marble-garden);
 color:#fff;
 font:600 13px/1.2 var(--font-sans);
 letter-spacing:.04em;
 white-space:nowrap;
}
.woocommerce-checkout .wps_wpr_checkout_points_class > #wps_cart_points_apply:not(:disabled):hover { background:var(--cosmo-ink); }
.woocommerce-checkout .wps_wpr_checkout_points_class > #wps_cart_points_apply:disabled { background:#e5e4e2; color:#605d55; opacity:1; }
.woocommerce-checkout .wps_wpr_checkout_points_class > #wps_cart_points_apply:focus-visible { outline:2px solid var(--cosmo-ink); outline-offset:3px; }
.woocommerce-checkout .wps_wpr_checkout_points_class > #wps_cart_points_apply + p { width:auto; min-width:0; margin:0; padding:0; font-size:13px; line-height:1.5; }
.woocommerce-checkout form.checkout { display:grid !important; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:48px; align-items:start; }
.woocommerce-checkout .col2-set,.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2,.woocommerce-checkout #order_review,.woocommerce-checkout #order_review_heading { float:none !important; width:100% !important; padding:0; }
.woocommerce-checkout #customer_details { min-width:0; grid-column:1; grid-row:1; }
.woocommerce-checkout #customer_details .form-row-first,.woocommerce-checkout #customer_details .form-row-last { width:100%; float:none; }
.woocommerce-checkout #customer_details input.input-text,.woocommerce-checkout #customer_details textarea { width:100%; }
.woocommerce-checkout form.checkout h3 { margin:0 0 28px; padding-top:20px; font:500 30px/1.35 var(--font-serif); }
.woocommerce-checkout .cosmo-checkout-review { --cosmo-review-inset:18px; grid-column:2; grid-row:1; position:sticky; top:120px; max-height:calc(100dvh - 144px); overflow-y:auto; overscroll-behavior:contain; min-width:0; padding:28px; background:var(--cosmo-paper); border:1px solid var(--cosmo-hairline); border-radius:4px; scrollbar-width:thin; }
.woocommerce-checkout form.checkout .cosmo-checkout-review > #order_review_heading { margin:0 0 18px; padding:0 var(--cosmo-review-inset); }
.cosmo-checkout-update:has(p:not(:empty)) { position:sticky; top:0; z-index:10; margin:0 0 12px; padding:10px 14px; background:var(--cosmo-stone); color:var(--cosmo-ink); font-size:14px; }
.cosmo-checkout-update p { margin:0; }
.cosmo-checkout-update button { padding:6px 0; border:0; background:transparent; color:inherit; text-decoration:underline; }
.woocommerce-checkout form.checkout:not(:has(#customer_details)) .cosmo-checkout-review { grid-column:1/-1; }
.woocommerce-checkout .cosmo-checkout-review .woocommerce-checkout-review-order-table { width:100%; background:#fff; border:1px solid var(--cosmo-hairline); }
.woocommerce-checkout .cosmo-checkout-review #order_review .woocommerce-checkout-review-order-table :is(th,td) { padding:14px var(--cosmo-review-inset); background:transparent; border-color:var(--cosmo-hairline); font-size:13px; line-height:1.55; }
.woocommerce-checkout .cosmo-checkout-review #order_review .woocommerce-checkout-review-order-table thead th { font-size:10px; letter-spacing:.12em; }
.woocommerce-checkout .cosmo-checkout-review .woocommerce-checkout-review-order-table .product-name { overflow-wrap:anywhere; }
.woocommerce-checkout .cosmo-checkout-review .woocommerce-checkout-review-order-table dl.variation { font-size:13px; line-height:1.55; }
.woocommerce-checkout .cosmo-checkout-review .woocommerce-checkout-review-order-table :is(.product-total,tfoot td) { text-align:end; }
.woocommerce-checkout .cosmo-checkout-review .woocommerce-checkout-review-order-table .woocommerce-Price-amount { white-space:nowrap; }
.woocommerce-checkout #payment { margin-top:22px; border:0; background:transparent; }
.woocommerce-checkout #payment ul.payment_methods { display:grid; gap:12px; padding:0; border:0; }
.woocommerce-checkout #payment ul.payment_methods > li { padding:18px 16px; margin:0; border:1px solid var(--cosmo-line); border-radius:4px; background:white; font-size:13px; line-height:1.65; }
.woocommerce-checkout #payment ul.payment_methods > li:has(>input:checked) { background:var(--cosmo-paper); border-color:var(--color-marble-garden); box-shadow:inset 0 0 0 1px var(--color-marble-garden); }
.woocommerce-checkout #payment ul.payment_methods input[type=radio] { margin-right:8px; }
.woocommerce-checkout #payment ul.payment_methods label { display:inline; cursor:pointer; font-weight:500; }
.woocommerce-checkout #payment ul.payment_methods img { max-width:100px; max-height:30px; width:auto; height:auto; object-fit:contain; }
.cosmo-gateway-fee { display:block; padding:11px 0 0 25px; color:var(--color-marble-garden); }
.cosmo-gateway-fee > span { display:inline-block; padding:4px 8px; border:1px solid var(--cosmo-hairline); border-radius:14px; background:var(--cosmo-paper); font-size:9px; letter-spacing:.05em; }
.cosmo-gateway-fee small { display:block; margin-top:6px; font-size:9px; font-weight:400; }
.woocommerce-checkout #payment div.payment_box { margin:0; padding:13px 0 0 25px; background:transparent; font-size:13px; line-height:1.55; }
.woocommerce-checkout #payment div.payment_box::before { display:none; }
.woocommerce-checkout #payment .place-order { padding:25px 0 0; margin:0; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text,.woocommerce-checkout #payment .woocommerce-terms-and-conditions-checkbox-text { font-size:10px; line-height:1.8; }
.woocommerce-checkout #payment #place_order { width:100%; min-height:54px; padding:17px; background:var(--color-marble-garden); color:white; border-radius:2px; font:500 11px/1.5 var(--font-sans); letter-spacing:.14em; text-transform:uppercase; }
.woocommerce-checkout #payment #place_order:hover { background:var(--cosmo-ink); }
.cosmo-checkout-trust { display:grid; gap:10px; padding-top:22px; font-size:9px; line-height:1.7; }
.cosmo-checkout-trust > span { display:flex; align-items:center; justify-content:center; gap:8px; }
.cosmo-checkout-trust svg { width:16px; height:16px; max-width:16px; max-height:16px; }
.woocommerce-info,.woocommerce-message,.woocommerce-error { background:var(--cosmo-paper); color:var(--color-marble-garden); border-top-color:var(--color-matte-brown); font-size:12px; }
.woocommerce-info::before,.woocommerce-message::before { color:var(--color-marble-garden); }
#wps_wpr_order_notice { padding:15px 20px; margin-bottom:20px; border:1px solid var(--cosmo-hairline); background:var(--cosmo-paper) !important; color:var(--color-marble-garden); box-shadow:none; }
#wps_wpr_order_notice span { background:transparent !important; color:var(--color-marble-garden) !important; font-size:10px; }
.woocommerce-account .woocommerce-MyAccount-navigation { padding:25px; border:1px solid var(--cosmo-hairline); background:var(--cosmo-paper); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin:0; padding:0; list-style:none; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display:flex; align-items:center; min-height:48px; }
.woocommerce-account form.login,.woocommerce-account form.register { padding:32px; border-color:var(--cosmo-hairline); background:var(--cosmo-paper); }

/* 08. Information pages and the atelier footer. */
.cosmo-info { max-width:1320px; padding-inline:40px; margin:auto; }
.cosmo-info h1 { margin:20px 0 45px; font:500 clamp(42px,5vw,72px)/1.1 var(--font-serif); letter-spacing:-.025em; }
.cosmo-info h2 { font-size:32px; }
.cosmo-info p { max-width:800px; }
.cosmo-info__lead { font:500 29px/1.5 var(--font-serif); }
.cosmo-info__split,.cosmo-contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:85px; align-items:start; }
.cosmo-info__split figure { margin:0; }
.cosmo-info__split img { display:block; width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:4px; }
.cosmo-info__split .cosmo-button { margin-top:20px; }
.cosmo-info-faq details { padding:24px 0; border-bottom:1px solid var(--cosmo-hairline); }
.cosmo-info-faq summary { cursor:pointer; font:500 24px/1.5 var(--font-serif); }
.cosmo-info-faq details > :not(summary) { margin-top:25px; }
.cosmo-policy-original { margin-top:40px; padding-top:40px; border-top:1px solid var(--cosmo-hairline); }
.cosmo-policy { max-width:980px; margin:auto; padding-inline:40px; }
.cosmo-policy h1 { margin:0 0 25px; font-size:clamp(40px,4vw,60px); }
.cosmo-policy h2,.cosmo-policy h3 { margin-top:35px; font-size:26px; }
.cosmo-policy p { font-size:13px; line-height:1.9; }
.cosmo-policy nav ul { display:flex; gap:15px; margin:0 0 35px; padding:0; list-style:none; font-size:11px; }
.cosmo-policy nav li + li::before { content:'/'; margin-right:15px; }
.cosmo-footer { padding:85px max(28px,calc((100% - 1240px)/2)) 28px; background:var(--cosmo-paper); border-top:1px solid var(--cosmo-hairline); color:var(--color-marble-garden); }
.cosmo-footer__grid { display:grid; grid-template-columns:1.35fr .9fr .9fr 1.1fr; gap:65px; padding-bottom:70px; }
.cosmo-footer h2 { margin:0 0 25px; font:500 22px/1.4 var(--font-serif); }
.cosmo-footer p { margin-block:24px; font-size:12px; line-height:1.95; }
.cosmo-footer__story p { max-width:275px; }
.cosmo-footer a { display:block; min-height:32px; margin-bottom:8px; font-size:11px; text-decoration:none; overflow-wrap:anywhere; }
.cosmo-footer a:hover { text-decoration:underline; text-underline-offset:5px; }
.cosmo-footer .cosmo-eyebrow { font-size:8px; }
.cosmo-payments { display:flex; flex-wrap:wrap; gap:7px; margin-top:25px; }
.cosmo-payments span { padding:5px 8px; border:1px solid var(--cosmo-hairline); border-radius:2px; background:white; font:500 8px/1.6 var(--font-sans); }
.cosmo-footer__bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; padding-top:28px; border-top:1px solid var(--cosmo-hairline); font-size:9px; }
.cosmo-footer__bottom > div { display:flex; gap:24px; }
.cosmo-footer__bottom a { min-height:0; margin:0; font-size:9px; }

/* 09. Accessible live search. */
dialog.cosmo-search { box-sizing:border-box; position:fixed; inset:0; width:min(760px,calc(100vw - 48px)); height:fit-content; max-height:min(82dvh,850px); margin:8vh auto auto; padding:0; border:1px solid var(--cosmo-hairline); border-radius:5px; background:var(--cosmo-paper); color:var(--cosmo-ink); box-shadow:0 25px 90px rgb(30 29 24 / 18%); overflow-y:auto; overscroll-behavior:contain; }
dialog.cosmo-search[open] { animation:cosmo-search-in .25s var(--cosmo-ease); }
.cosmo-search__panel { padding:28px; }
.cosmo-search__heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; }
.cosmo-search form > .cosmo-search__fields { display:flex; flex-wrap:nowrap; gap:0; }
.cosmo-search input[type=search] { flex:1 1 auto; width:0; min-width:0; min-height:52px; padding:13px 15px; border:1px solid var(--cosmo-line); border-right:0; border-radius:2px 0 0 2px; background:white; color:var(--cosmo-ink); font-size:13px; }
.cosmo-search button[type=submit] { min-height:52px; padding:14px 24px; border-radius:0 2px 2px 0; background:var(--color-marble-garden); color:white; font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
.cosmo-search__status { position:relative; margin:18px 0 0; font-size:10px; line-height:1.8; color:var(--color-marble-garden); }
.cosmo-search.is-loading .cosmo-search__status { padding-left:23px; }
.cosmo-search.is-loading .cosmo-search__status::before { content:''; position:absolute; top:3px; left:0; width:13px; height:13px; border:1px solid var(--cosmo-line); border-top-color:var(--color-marble-garden); border-radius:50%; animation:cosmo-search-spin .7s linear infinite; }
.cosmo-search__results { display:grid; gap:9px; margin-top:20px; }
.cosmo-search__result { display:flex; align-items:center; gap:17px; min-width:0; padding:16px; border:1px solid var(--cosmo-hairline); border-radius:4px; background:white; color:var(--cosmo-ink); text-decoration:none; transition:background-color .2s ease,border-color .2s ease; animation:cosmo-search-in .2s ease; }
.cosmo-search__result:hover,.cosmo-search__result[aria-selected=true],.cosmo-search__result:focus-visible { color:var(--cosmo-ink); background:var(--color-arctic-white); border-color:var(--color-chic-beige); }
.cosmo-search__result img { flex:0 0 50px; width:50px; height:50px; object-fit:cover; border-radius:3px; background:var(--cosmo-paper); }
.cosmo-search__copy { display:grid; gap:4px; min-width:0; }
.cosmo-search__category { color:var(--color-marble-garden); font-size:8px; letter-spacing:.14em; text-transform:uppercase; }
.cosmo-search__title { font:500 20px/1.35 var(--font-serif); overflow-wrap:anywhere; }
.cosmo-search__price { font-size:11px; line-height:1.7; }
.cosmo-search__price ins { background:transparent; }
.cosmo-search__price del { opacity:.5; }
@keyframes cosmo-search-in { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
@keyframes cosmo-search-spin { to { transform:rotate(360deg); } }

/* 10. Tablet and mobile app refinements. */
@media (max-width:1100px) { .cosmo-section { padding-block:85px; } .cosmo-hero__copy { padding-inline:45px; } .cosmo-collection-header { gap:45px; } .cosmo-footer__grid { gap:35px; } .cosmo-product-purchase { gap:0 40px; } }
@media (max-width:900px) {
 .cosmo-header__main { min-height:88px; padding:20px 24px; }
 .cosmo-header__signature,.cosmo-desktop-nav { display:none; }
 button.cosmo-menu-toggle { display:inline-flex; grid-column:1; grid-row:1; justify-self:start; }
 .cosmo-header__actions { gap:0; }
 .cosmo-account-link { display:none !important; }
 .cosmo-header .cosmo-logo { max-width:200px; height:auto; max-height:36px; }
 .cosmo-hero { grid-template-columns:1fr 1fr; min-height:600px; }
 .cosmo-hero__image { min-height:480px; }
 .cosmo-home h1 { font-size:clamp(45px,6.3vw,65px); }
 .cosmo-discovery { grid-template-columns:1fr; gap:15px; }
 .cosmo-editorial__cards { gap:28px; }
 .cosmo-trust { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; }
 .cosmo-trust > div { padding:0; border:0; }
 .cosmo-atelier { gap:40px; }
 .cosmo-faq { gap:40px; }
 .cosmo-footer__grid { grid-template-columns:1.2fr 1fr; gap:45px; }
 .woocommerce-checkout form.checkout { display:block !important; }
 .woocommerce-checkout .cosmo-checkout-review { position:static; margin-top:40px; max-height:none; overflow:visible; }
 .cosmo-product-purchase { gap:0 32px; }
 .cosmo-product-details { gap:40px; grid-template-columns:1fr 1.4fr; }
}
@media (max-width:767px) {
 .cosmo-announcement { padding:10px 16px; font-size:10.5px; letter-spacing:.05em; line-height:1.4; }
 .cosmo-announcement span { display:none; }
 .cosmo-header__main { display:flex; align-items:center; justify-content:space-between; min-height:80px; padding:14px 12px; gap:0; }
 .cosmo-header__main .cosmo-brand { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); }
 .cosmo-header .cosmo-logo { max-width:min(180px,calc(100vw - 200px)); height:auto; max-height:32px; }
 .cosmo-header__actions { margin-left:auto; }
 .cosmo-hero { display:flex; flex-direction:column; min-height:0; }
 .cosmo-hero__copy { order:0; padding:48px 24px 36px; }
 .cosmo-home h1 { margin:22px 0; font-size:clamp(46px,12vw,65px); line-height:1.07; }
 .cosmo-hero__description { max-width:390px; font-size:13px; }
 .cosmo-home .wp-block-button__link { min-height:48px; padding:14px 22px; font-size:11px; letter-spacing:.08em; }
 .cosmo-home .wp-block-button.is-style-outline .wp-block-button__link { border:1px solid var(--color-marble-garden) !important; color:var(--color-marble-garden); background:transparent; }
 .cosmo-home .wp-block-buttons { gap:10px; margin-top:26px; }
 .cosmo-hero__note { margin-top:25px; font-size:9px; }
 .cosmo-hero__image { order:1; width:calc(100% - 48px); height:350px; min-height:0; padding-bottom:34px; margin:0 24px 32px; }
 .cosmo-hero__image img { object-position:50% 47%; }
 .cosmo-hero__image figcaption { left:13px; font-size:8px; }
 .cosmo-section { padding:70px 24px; }
 .cosmo-home h2 { font-size:39px; line-height:1.12; }
 .cosmo-discovery { padding:25px 24px; gap:15px; }
 .cosmo-categories a { min-height:48px; padding:10px 16px; font-size:10px; }
 .cosmo-editorial { padding-bottom:35px; }
 .cosmo-editorial__cards { grid-template-columns:1fr 1fr; gap:26px 20px; max-width:420px; margin:45px auto 20px; padding:6px; }
 .cosmo-editorial__card { padding:7px 7px 0; transform:rotate(-2.5deg) translateY(6px); }
 .cosmo-editorial__card:nth-child(2) { transform:rotate(2.5deg) translateY(-6px); }
 .cosmo-editorial__card:nth-child(3) { grid-column:1/-1; width:56%; justify-self:center; transform:rotate(-1.5deg) translateY(4px); }
 .cosmo-editorial__card figcaption { padding:15px 3px 17px; font-size:18px; }
 .cosmo-editorial__footnote { margin-top:38px; font-size:9px; }
 .cosmo-collection-header { grid-template-columns:1fr; gap:24px; margin-bottom:35px; }
 .cosmo-collection-intro p { max-width:390px; margin-bottom:7px; font-size:12px; }
 .cosmo-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:35px 16px; }
 .cosmo-product__details { padding-top:18px; }
 .cosmo-product__category { margin-bottom:8px; font-size:8px; letter-spacing:.1em; }
 .cosmo-product h3 { font-size:22px; line-height:1.27; margin-bottom:12px; }
 .cosmo-product__price { font-size:11px; margin-bottom:5px; }
 .cosmo-product .cosmo-text-link { font-size:12px; letter-spacing:.02em; }
 .cosmo-card-badge { top:9px; left:9px; padding:4px 7px; font-size:7px; letter-spacing:.08em; }
 .cosmo-trust { padding:38px 24px; gap:28px 24px; }
 .cosmo-trust h3 { font-size:19px; }
 .cosmo-trust p { font-size:10px; }
 .cosmo-faq,.cosmo-atelier { grid-template-columns:1fr; gap:30px; }
 .cosmo-faq__intro > p:not(.cosmo-eyebrow) { max-width:360px; }
 .cosmo-faq h2 br { display:none; }
 .cosmo-faq summary { padding-block:22px; font-size:13px; }
 .cosmo-faq summary::after { top:20px; }
 .cosmo-atelier { padding-block:65px; }
 .cosmo-atelier h2 { font-size:43px; }
 .cosmo-signup-fields input[type=submit] { padding-inline:13px; font-size:8px; letter-spacing:.05em; }
 .cosmo-signup-fields input[type=email] { min-width:0; font-size:11px; }
 .woocommerce .site-container,.woocommerce-page .site-container { padding-inline:20px; }
 .woocommerce .content-area,.woocommerce-page .content-area { margin-block:30px 55px; }
 .woocommerce ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:34px 16px; }
 .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size:20px; }
 .woocommerce ul.products li.product .price { font-size:11px; }
 .woocommerce ul.products li.product .button { padding:11px 13px; font-size:8px; letter-spacing:.07em; }
 .woocommerce .woocommerce-ordering { max-width:100%; float:none; clear:both; }
 .woocommerce .woocommerce-result-count { float:none; }
 .woocommerce .woocommerce-ordering select { max-width:100%; }
 .cosmo-catalog-badge { top:41px !important; }
 .single-product.woocommerce div.product,.cosmo-product-purchase { display:block; }
 .single-product.woocommerce div.product div.images { float:none; width:100% !important; }
 .single-product.woocommerce div.product div.summary { position:static; float:none; width:100% !important; max-height:none; overflow:visible; margin:32px 0 0; padding:0; }
 .single-product div.product .product_title { font-size:37px; }
 .cosmo-product-details { display:block; margin-top:55px; padding-top:45px; padding-bottom:20px; }
 .cosmo-product-details header { margin-bottom:30px; }
 .cosmo-product-details header h2 { font-size:37px; }
 .cosmo-product-details header h2 br { display:none; }
 .cosmo-product-details header > p:last-child { max-width:100%; }
 .cosmo-product-detail > summary { padding-block:21px; font-size:21px; }
 .cosmo-product-detail > summary::after { top:21px; }
 .cosmo-detail-panel { font-size:13px; }
 .cosmo-guide { grid-template-columns:1fr; gap:9px; padding:18px; }
 .cosmo-guide dd { margin-bottom:12px; }
 .cosmo-paired,.single-product .related.products,.single-product .upsells.products { margin-top:35px; padding-top:40px; }
 .cosmo-paired h2,.single-product .related.products > h2,.single-product .upsells.products > h2 { font-size:33px; }
 .woocommerce #reviews #comments ol.commentlist li { padding:18px; }
 .woocommerce #reviews #comments ol.commentlist li .comment-text { margin-left:55px; }
 .cosmo-mobile-buy:not([hidden]) { position:fixed; display:flex; align-items:center; justify-content:space-between; gap:14px; z-index:9998; bottom:calc(76px + env(safe-area-inset-bottom,0px)); inset-inline:0; min-height:94px; padding:15px 20px; border-top:1px solid var(--cosmo-hairline); background:rgba(247,245,241,.97); backdrop-filter:blur(12px); box-shadow:0 -8px 30px rgb(69 69 59 / 5%); }
 .cosmo-mobile-buy__copy { flex:1; min-width:0; }
 .cosmo-mobile-buy__title { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:var(--color-marble-garden); font:500 17px/1.2 var(--font-serif); }
 .cosmo-mobile-buy__price { display:block; margin-top:7px; font-size:10px; line-height:1.3; }
 .cosmo-mobile-buy__price del { opacity:.5; margin-right:4px; }
 .cosmo-mobile-buy__price ins { background:transparent; text-decoration:none; }
 .cosmo-mobile-buy__price .screen-reader-text { display:none; }
 .cosmo-mobile-buy__button { flex:0 0 auto; max-width:48%; min-width:126px; min-height:48px; padding:13px 15px; background:var(--color-marble-garden); color:white; border:0; border-radius:26px; font:500 9px/1.5 var(--font-sans); letter-spacing:.08em; text-transform:uppercase; }
 .cosmo-commerce { padding:45px 24px 70px; }
 .cosmo-commerce .woocommerce { padding:0; }
 .woocommerce table.shop_table td,.woocommerce table.shop_table th { padding:15px; }
 .woocommerce .cart-collaterals .cart_totals { padding:23px; }
 .woocommerce-cart table.cart td.actions .coupon { display:flex; flex-wrap:wrap; }
 .woocommerce-cart table.cart td.actions .coupon input.input-text { flex:1 1 auto; min-width:0; width:1px !important; }
 .woocommerce-cart table.cart td.actions .coupon button.button { flex:0 0 auto; width:auto !important; padding-inline:13px; }
 .woocommerce-checkout .cosmo-commerce .woocommerce .wps_wpr_checkout_points_class { grid-template-columns:minmax(0,135px) max-content; }
 .woocommerce-checkout .wps_wpr_checkout_points_class > #wps_cart_points_apply + p { grid-column:1/-1; }
 .woocommerce-checkout .cosmo-checkout-review { --cosmo-review-inset:14px; padding:24px 18px; }
 .woocommerce-checkout #payment ul.payment_methods > li { padding:16px 13px; }
 .cosmo-info,.cosmo-policy { padding:55px 24px; }
 .cosmo-info__split,.cosmo-contact-grid { grid-template-columns:1fr; gap:35px; }
 .cosmo-info__lead { font-size:25px; }
 .cosmo-info-faq summary { font-size:21px; }
 .cosmo-footer { padding:55px 24px 24px; }
 .cosmo-footer__grid { gap:35px 28px; padding-bottom:40px; }
 .cosmo-footer__story,.cosmo-footer__grid > div:last-child { grid-column:1/-1; }
 .cosmo-footer h2 { font-size:23px; margin-bottom:20px; }
 .cosmo-footer a { min-height:48px; display:flex; align-items:center; margin-bottom:0; }
 .cosmo-footer__bottom { align-items:start; gap:15px; }
 .cosmo-footer__bottom a { min-height:48px; }
 .cosmo-footer__bottom > span:last-child { display:none; }
 .cosmo-drawer { padding:24px; }
 dialog.cosmo-search { width:calc(100vw - 28px); margin-top:4vh; max-height:86dvh; }
 .cosmo-search__panel { padding:18px 16px 23px; }
 .cosmo-search__result { padding:13px; gap:13px; }
 .cosmo-search__title { font-size:18px; }
 .cosmo-search button[type=submit] { padding-inline:16px; }
}
@media (max-width:380px) { .cosmo-product h3 { font-size:20px; } .cosmo-signup-fields { flex-wrap:wrap; gap:10px; } .cosmo-signup-fields label { flex-basis:100%; } .cosmo-signup-fields input[type=email] { border-right:1px solid var(--cosmo-line); border-radius:2px; } .cosmo-signup-fields input[type=submit] { border-radius:2px; min-width:140px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; } .cosmo-drawer[open],dialog.cosmo-search[open],.cosmo-search__result,.cosmo-search.is-loading .cosmo-search__status::before { animation:none; } .cosmo-product__image img,.cosmo-editorial__card,.cosmo-text-link,.wp-block-button__link { transition:none; } }
@media print { .cosmo-header,.cosmo-announcement,.cosmo-campaign-dialog,.cosmo-footer,.cosmo-mobile-buy { display:none !important; } }

/* Keep the italic display word visually separated from the following word. */
.cosmo-hero h1 em { margin-right:.055em; }

/* Native cart metadata and rewards notices share the quiet commerce palette. */
.woocommerce #wps_wpr_order_notice { background:var(--cosmo-paper) !important; color:var(--cosmo-ink) !important; border:1px solid var(--cosmo-hairline); padding:18px 22px; font:500 11px/1.7 var(--font-sans); letter-spacing:.06em; }
.woocommerce .cart_item dl.variation { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:3px 10px; margin:12px 0 0; text-align:left; font:400 11px/1.6 var(--font-sans); }
.woocommerce .cart_item dl.variation dt,.woocommerce .cart_item dl.variation dd { float:none; margin:0; padding:0; }
.woocommerce .cart_item dl.variation dd p { margin:0; }
.woocommerce table.cart a.remove { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:48px; color:var(--color-matte-brown) !important; font-size:24px; }
.woocommerce table.cart a.remove:hover { color:white !important; background:var(--color-marble-garden); }
.cosmo-commerce .woocommerce div.woocommerce-message,.cosmo-commerce .woocommerce div.woocommerce-info,.cosmo-commerce .woocommerce ul.woocommerce-error { background:var(--cosmo-paper); color:var(--cosmo-ink); border:1px solid var(--cosmo-hairline); border-left:3px solid var(--color-matte-brown); }
.cosmo-commerce .woocommerce a.button:not(.checkout-button),.cosmo-commerce .woocommerce button.button { min-height:48px; padding:14px 22px; background:var(--color-marble-garden); color:white; border-radius:24px; font:500 10px/1.8 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; }
.cosmo-commerce .woocommerce .cart-empty { font:500 clamp(24px,3vw,36px)/1.4 var(--font-serif); color:var(--color-marble-garden); }
.woocommerce #wps_wpr_order_notice p { margin:0; padding:0; background:transparent !important; color:inherit; font:inherit; text-transform:none; }

/* Cart drawer shares the site's quiet commerce palette and native dialog behavior. */
.cosmo-cart-drawer { inset:0 0 0 auto; width:min(100%,450px); max-width:100%; height:100%; max-height:100%; height:100dvh; max-height:100dvh; padding:0; margin:0; border:0; color:var(--cosmo-ink); background:var(--cosmo-paper); overscroll-behavior:contain; }
.cosmo-cart-drawer[open] { animation:cosmo-cart-slide .23s ease-out; }
.cosmo-cart-drawer::backdrop { background:rgba(26,26,26,.44); }
@keyframes cosmo-cart-slide { from { transform:translateX(100%); } to { transform:translateX(0); } }
.cosmo-cart-drawer__header { position:sticky; top:0; z-index:1; display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:12px; padding:18px 22px; background:var(--cosmo-paper); border-bottom:1px solid var(--cosmo-hairline); }
.cosmo-cart-drawer__header h2 { margin:0; font:500 29px/1.25 var(--font-serif); }
.cosmo-cart-drawer__header .thecosmoline-cart-status { position:static; }
.cosmo-cart-drawer__header .thecosmoline-cart-count { position:static; min-width:24px; height:auto; padding:3px 7px; border-radius:1rem; color:#fff; background:var(--color-marble-garden); font-size:12px; }
.cosmo-cart-drawer__header button { width:44px; height:44px; }
.cosmo-cart-drawer__body { padding:18px 22px max(22px,env(safe-area-inset-bottom)); font:400 14px/1.5 var(--font-sans); }
.cosmo-cart-drawer__feedback { margin:8px 22px 0; font-size:13px; }
.cosmo-cart-drawer__feedback:empty { margin:0; }
.cosmo-cart-shipping { display:block; margin:0 0 14px; padding:12px; background:var(--cosmo-stone); }
.cosmo-cart-shipping p { margin:0; }
.cosmo-cart-shipping svg { vertical-align:middle; width:18px; height:18px; margin-right:8px; }
.cosmo-cart-shipping progress { display:block; width:100%; height:12px; margin:6px 0; accent-color:var(--color-marble-garden); }
.cosmo-cart-shipping small { display:block; font-size:12px; }
.cosmo-cart-drawer__items { margin:0; padding:0; list-style:none; }
.cosmo-cart-drawer__item { display:grid; grid-template-columns:72px minmax(0,1fr); gap:14px; padding:16px 0; border-bottom:1px solid var(--cosmo-hairline); }
.cosmo-cart-drawer__image img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:4px; }
.cosmo-cart-drawer__details { overflow-wrap:anywhere; }
.cosmo-cart-drawer__details a { font-weight:600; }
.cosmo-cart-drawer__details dl { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:2px 6px; margin:6px 0; font-size:12px; }
.cosmo-cart-drawer__details dd,.cosmo-cart-drawer__details dd p,.cosmo-cart-drawer__price { margin:0; }
.cosmo-cart-drawer__item-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.cosmo-cart-drawer__item-actions button { min-width:44px; min-height:44px; padding:4px 8px; color:var(--cosmo-ink); background:var(--cosmo-stone); border:1px solid var(--cosmo-line); border-radius:2px; }
.cosmo-cart-drawer__item-actions button:disabled { opacity:.48; }
.cosmo-cart-drawer__body[aria-busy="true"] [data-cart-action] { cursor:wait; }
.cosmo-cart-drawer__subtotal { display:flex; justify-content:space-between; gap:12px; margin:20px 0 14px; font-size:16px; }
.cosmo-cart-drawer__links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.cosmo-cart-drawer__links a { display:grid; place-items:center; min-height:48px; padding:7px 10px; border:1px solid var(--color-marble-garden); border-radius:2px; color:var(--color-marble-garden); text-align:center; text-decoration:none; }
.cosmo-cart-drawer__links a:last-child { color:#fff; background:var(--color-marble-garden); }
.cosmo-cart-drawer__links a:hover { text-decoration:underline; }
.cosmo-cart-drawer :is(a,button):focus-visible { outline:2px solid var(--cosmo-ink); outline-offset:2px; }
@media (prefers-reduced-motion:reduce) { .cosmo-cart-drawer[open] { animation:none; } }

/* 11. Merchant campaign, secondary imagery and 48px commerce controls. */
:root { --cosmo-ink:#332722; --cosmo-paper:#f5efe8; --cosmo-stone:#ede2d6; --color-marble-garden:#584338; --cosmo-hairline:rgb(88 67 56 / 17%); }
html { overflow-x:clip; }
@supports not (overflow:clip) { html { overflow-x:hidden; } }
.cosmo-campaign { display:block; min-height:0; padding:30px max(24px,calc((100% - 1380px)/2)) 0; background:var(--cosmo-paper); }
.cosmo-campaign figure.cosmo-campaign__banner { width:100%; height:auto; min-height:0; padding:0; margin:0; background:var(--cosmo-stone); }
.cosmo-campaign__banner a { display:block; }
.cosmo-campaign figure.cosmo-campaign__banner img { display:block; width:100%; height:auto; aspect-ratio:auto 1916/821; object-fit:contain; }
.cosmo-campaign .cosmo-hero__copy { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; padding:32px 32px 36px; }
.cosmo-campaign .cosmo-hero__copy > .wp-block-group__inner-container { display:contents; }
.cosmo-campaign h1 { margin:14px 0 0; font-size:clamp(44px,4.4vw,68px); line-height:1.08; }
.cosmo-campaign .cosmo-hero__description { max-width:460px; margin:0; font-size:14px; color:var(--cosmo-ink); }
.cosmo-campaign .wp-block-buttons { margin-top:24px; }
.cosmo-campaign .cosmo-hero__note { max-width:420px; margin:20px 0 0; line-height:1.8; }
.cosmo-product__image > img.cosmo-product__secondary { position:absolute; inset:0; width:100%; height:100%; opacity:0; transition:opacity .4s var(--cosmo-ease),transform .4s var(--cosmo-ease); }
@media (hover:hover) and (pointer:fine) {
 .cosmo-product:hover { transform:translateY(-3px); }
 .cosmo-product__image:has(.cosmo-product__secondary):hover > img.cosmo-product__secondary { opacity:1; transform:scale(1.035); }
 .cosmo-product:hover .cosmo-product__image { box-shadow:0 12px 30px rgb(69 69 59 / 7%); }
}
.cosmo-product { transition:transform .4s var(--cosmo-ease); }
button.cosmo-icon-button,a.cosmo-icon-button { width:48px; height:48px; padding:13px; }
.cosmo-categories a,.cosmo-text-link,.cosmo-drawer__help a { min-height:48px; min-width:48px; }
.woocommerce table.cart a.remove { min-width:48px; min-height:48px; }
.woocommerce-cart table.shop_table .quantity input.qty { min-height:48px; }
@media (max-width:767px) {
 .cosmo-header .cosmo-logo { max-width:min(180px,calc(100vw - 216px)); }
 .cosmo-campaign { display:block; padding:16px 16px 0; }
 .cosmo-campaign .cosmo-hero__copy { display:grid; grid-template-columns:1fr; gap:22px; padding:24px 8px 30px; text-align:center; }
 .cosmo-campaign .cosmo-hero__copy .wp-block-buttons { justify-content:center; }
 .cosmo-campaign .cosmo-hero__description,
 .cosmo-campaign .cosmo-hero__note { margin-inline:auto; }
 .cosmo-campaign h1 { margin:13px 0 0; font-size:clamp(42px,11.5vw,56px); }
 .cosmo-campaign .cosmo-hero__description { font-size:13px; }
 .cosmo-campaign .cosmo-hero__note { margin-top:20px; }
 .cosmo-campaign .cosmo-hero__note::before { flex-shrink:0; }
 .cosmo-categories a { min-height:48px; }
 .cosmo-product .cosmo-text-link { min-height:48px; }
}

/* 12. The WhatsApp concierge stays above both mobile commerce layers. */
.cosmo-concierge { position:fixed; z-index:10001; right:28px; bottom:28px; display:flex; align-items:center; justify-content:center; width:56px; height:56px; border:1px solid rgb(100 99 85 / 16%); border-radius:50%; background:var(--color-marble-garden); color:white; box-shadow:0 8px 28px rgb(69 69 59 / 15%); text-decoration:none; transition:background-color .2s ease,transform .25s var(--cosmo-ease); }
.cosmo-concierge:hover { background:var(--cosmo-ink); color:white; transform:translateY(-2px); }
.cosmo-concierge__label { position:absolute; right:calc(100% + 12px); padding:10px 14px; border:1px solid var(--cosmo-hairline); border-radius:3px; background:var(--cosmo-paper); color:var(--cosmo-ink); white-space:nowrap; font:500 11px/1.7 var(--font-sans); box-shadow:0 4px 18px rgb(69 69 59 / 6%); opacity:0; visibility:hidden; pointer-events:none; transform:translateX(4px); transition:opacity .2s ease,transform .2s ease; }
.cosmo-concierge:hover .cosmo-concierge__label,.cosmo-concierge:focus-visible .cosmo-concierge__label { opacity:1; visibility:visible; transform:none; }
@media (max-width:767px) {
 .cosmo-concierge { width:48px; height:48px; right:16px; bottom:calc(92px + env(safe-area-inset-bottom,0px)); }
 body.cosmo-has-buy-bar .cosmo-concierge { bottom:calc(192px + env(safe-area-inset-bottom,0px)); }
}
@media print { .cosmo-concierge { display:none; } }
@media (prefers-reduced-motion:reduce) {
 .cosmo-product,.cosmo-product__image > img.cosmo-product__secondary,.cosmo-concierge,.cosmo-concierge__label { transition:none; transform:none; }
}

.cosmo-product__image:has(.cosmo-product__secondary):focus-visible > img.cosmo-product__secondary { opacity:1; }

/* Full-size native option, payment and pagination hit areas. */
.single-product .reset_variations { display:inline-flex; align-items:center; min-height:48px; min-width:48px; }
.woocommerce-checkout #payment ul.payment_methods > li { position:relative; padding:0 16px 16px; }
.woocommerce-checkout #payment ul.payment_methods > li > input[type=radio] { position:absolute; top:20px; left:16px; margin:0; }
.woocommerce-checkout #payment ul.payment_methods > li > label { display:block; min-height:56px; padding:17px 0 8px 28px; }
.woocommerce-checkout #payment .cosmo-gateway-fee { padding-left:0; }
.woocommerce nav.woocommerce-pagination ul { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; max-width:100%; border:0; }
.woocommerce nav.woocommerce-pagination ul li { border:0; }
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span { display:inline-grid; place-items:center; min-width:48px; min-height:48px; padding:8px; border:1px solid var(--cosmo-hairline); }
.woocommerce-account .woocommerce-MyAccount-navigation a { display:flex; align-items:center; min-height:48px; }
.cosmo-home .cosmo-collection-link .wp-block-button__link { min-height:48px; }
.cosmo-concierge:focus,.cosmo-concierge:focus-visible { color:#fff; background:var(--cosmo-ink); }

/* One merchant-managed menu on both navigation surfaces. */
.cosmo-primary-menu, .cosmo-primary-menu .sub-menu { list-style:none; margin:0; padding:0; }
.cosmo-primary-menu li { position:relative; }
.cosmo-primary-menu summary {
 display:flex; align-items:center; justify-content:center; list-style:none;
 inline-size:44px; min-block-size:44px; color:#353432; cursor:pointer;
}
.cosmo-primary-menu summary::-webkit-details-marker { display:none; }
.cosmo-menu-indicator::before { content:'+'; }
.cosmo-menu-disclosure[open] > summary .cosmo-menu-indicator::before { content:'−'; }
.cosmo-primary-menu :is(a,summary):focus-visible { outline:2px solid #574b3b; outline-offset:2px; }
.cosmo-desktop-nav .cosmo-primary-menu { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; column-gap:20px; }
.cosmo-desktop-nav .cosmo-primary-menu > li { display:flex; align-items:center; }
.cosmo-desktop-nav .cosmo-primary-menu a { font-size:14px; letter-spacing:0; text-transform:none; color:#353432; }
.cosmo-desktop-nav .cosmo-primary-menu .sub-menu {
 position:absolute; z-index:1; inset:100% auto auto 0; inline-size:max-content;
 min-inline-size:215px; max-inline-size:min(300px,90vw); max-block-size:65vh; overflow:auto;
 background:var(--cosmo-paper); border:1px solid var(--cosmo-line); box-shadow:0 10px 25px #28241e20;
}
.cosmo-desktop-nav .cosmo-primary-menu > li:nth-last-child(-n+3) .sub-menu { inset-inline:auto 0; }
.cosmo-desktop-nav .cosmo-primary-menu .sub-menu a { min-block-size:43px; padding:6px 14px; }
.cosmo-desktop-nav .sub-menu .sub-menu { position:static; min-inline-size:0; box-shadow:none; padding-inline-start:10px; }
.cosmo-desktop-nav .sub-menu .cosmo-menu-disclosure > summary { position:absolute; inset:0 0 auto auto; }
.cosmo-desktop-nav .sub-menu .menu-item-has-children > a { padding-inline-end:48px; }
.cosmo-drawer .cosmo-primary-menu a { font:500 17px/1.45 var(--font-sans); color:#353432; }
.cosmo-drawer .cosmo-primary-menu summary { position:absolute; inset:5px 0 auto auto; background:#eee9e0; border-radius:50%; }
.cosmo-drawer .cosmo-primary-menu .sub-menu { padding-inline-start:16px; }
.cosmo-drawer .cosmo-primary-menu .sub-menu a { font-size:15px; min-block-size:48px; }
.cosmo-drawer__help a { font-size:14px; }
.cosmo-footer a { font-size:14px; }
.cosmo-footer__bottom a, .cosmo-footer__bottom { font-size:12px; }
.cosmo-footer__bottom > div { flex-wrap:wrap; }
.single-product .product_meta { font-size:14px; }
.cosmo-campaign > .cosmo-campaign__action,
.cosmo-campaign > .wp-block-group__inner-container > .cosmo-campaign__action { justify-content:center; margin-block:clamp(14px,2vw,24px) 0; }
.cosmo-home .cosmo-quick-shop { padding:clamp(18px,2vw,28px) 16px 0; }
.cosmo-home .cosmo-quick-shop .wp-block-buttons { justify-content:center; margin:0; }
.cosmo-home .cosmo-quick-shop .wp-block-button__link { min-inline-size:clamp(128px,18vw,172px); }
@media (min-width:901px) {
 .cosmo-home .cosmo-discovery .cosmo-categories { flex-wrap:wrap; padding-block:0; }
}
.cosmo-home #salon-furniture .cosmo-products {
  --furniture-card-gap:16px;
  position:relative;
  grid-template-columns:none;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - var(--furniture-card-gap)) / 2);
  gap:var(--furniture-card-gap);
  overflow-x:auto;
  padding-block:8px 12px;
  scroll-snap-type:x mandatory;
  scrollbar-width:thin;
}
.cosmo-home #salon-furniture .cosmo-product { scroll-snap-align:start; }
.cosmo-furniture-controls { display:flex; justify-content:flex-end; gap:8px; margin-bottom:4px; }
.cosmo-furniture-controls[hidden] { display:none; }
.cosmo-furniture-controls button {
  min-height:44px;
  padding:7px 16px;
  border:1px solid var(--color-marble-garden);
  border-radius:22px;
  background:white;
  color:var(--color-marble-garden);
  font:500 13px/1.4 var(--font-sans);
}
.cosmo-furniture-controls button[aria-disabled="true"] { opacity:.45; cursor:default; }
.cosmo-furniture-controls button:focus-visible, .cosmo-home #salon-furniture .cosmo-products:focus-visible {
  outline:2px solid var(--color-marble-garden);
  outline-offset:2px;
}
@media (min-width:768px) {
 .cosmo-home #salon-furniture .cosmo-products { --furniture-card-gap:20px; grid-auto-columns:calc((100% - 2 * var(--furniture-card-gap)) / 3); }
}
@media (min-width:1024px) {
 .cosmo-home #salon-furniture .cosmo-products { grid-auto-columns:calc((100% - 4 * var(--furniture-card-gap)) / 5); }
}
.cosmo-product-share button { border:0; box-shadow:none; border-radius:0; cursor:pointer; }
.cosmo-product-share .cosmo-share-status { margin-inline-start:.75rem; font-size:13px; }
.cosmo-product-share input:not([hidden]) { display:block; width:100%; margin-top:.4rem; }
@media (max-width:767px) {
 .thecosmoline-mobile-nav .thecosmoline-mobile-nav__label { font-size:11px; letter-spacing:0; }
 body.thecosmoline-has-mobile-nav:has(.thecosmoline-mobile-nav__link[href*="wa.me"]) .cosmo-concierge { display:none; }
}

/* 12. Cart Notice & Alert Refinement */
.woocommerce-notices-wrapper {
  max-width: 960px;
  margin: 0 auto 20px auto;
  width: 100%;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.cosmo-commerce .woocommerce div.woocommerce-message,
.cosmo-commerce .woocommerce div.woocommerce-info {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 11px !important;
  letter-spacing: .02em !important;
  line-height: 1.6 !important;
  padding: 12px 24px !important;
  margin: 0 auto 24px auto !important;
  background: #f7f5f0 !important;
  color: #353432 !important;
  border: 1px solid #dfdad2 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}
.woocommerce-message::before,
.woocommerce-info::before {
  display: none !important;
}
.woocommerce-message a.restore-item,
.woocommerce-message a.button {
  display: inline-block !important;
  float: none !important;
  margin: 0 0 0 8px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #8c6d48 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  min-height: auto !important;
  line-height: inherit !important;
}
.woocommerce-message a.restore-item:hover,
.woocommerce-message a.button:hover {
  color: #2d2b2a !important;
}
.wps_wpr_apply_custom_points p {
  font-size: 11px;
  color: var(--color-marble-garden);
  margin: 4px 0 0;
  line-height: 1.4;
}


/* Mobile browsing and product selection. */
.cosmo-shop-collections { background:var(--cosmo-paper); }
.cosmo-shop-collections .cosmo-editorial__cards { margin-block:clamp(34px,5vw,70px) 24px; }
.cosmo-shop-collections figure { position:relative; }
.cosmo-shop-collections figure > a::after { content:""; position:absolute; inset:0; }

/* The homepage's 3–1–3 editorial collection grid. */
.cosmo-editorial-grid {
  background:#f8f3eb;
  padding:clamp(36px,6vw,80px) clamp(12px,4vw,48px);
}
.cosmo-editorial-grid > .wp-block-heading,
.cosmo-editorial-grid > .wp-block-group__inner-container > .wp-block-heading {
  margin:0 auto clamp(20px,4vw,42px);
  text-align:center;
  font-size:clamp(32px,9vw,64px);
}
.cosmo-editorial-grid .cosmo-editorial-grid__cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(8px,2vw,20px);
  max-width:1120px;
  margin-inline:auto;
}
.cosmo-editorial-grid :is(.cosmo-editorial-grid__cards,.cosmo-editorial-grid__card) > .wp-block-group__inner-container {
  display:contents;
}
.cosmo-editorial-grid .cosmo-editorial-grid__card {
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:5px;
  width:100%;
  min-width:0;
  min-height:112px;
  aspect-ratio:3 / 4;
  padding:clamp(7px,1.8vw,22px);
  overflow:hidden;
  border:1px solid #ded4c8;
  border-radius:4px;
  background:#3c3027;
  color:#fff;
  text-align:left;
}
.cosmo-editorial-grid .cosmo-editorial-grid__card--wide {
  grid-column:1 / -1;
  aspect-ratio:2.7;
  background:#fbf8f3;
}
.cosmo-editorial-grid .cosmo-editorial-grid__photo {
  position:absolute;
  inset:0;
  z-index:-1;
  margin:0;
}
.cosmo-editorial-grid .cosmo-editorial-grid__photo img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 42%;
}
.cosmo-editorial-grid .cosmo-editorial-grid__card--wide img {
  width:65%;
  margin-inline-start:auto;
  object-fit:contain;
  object-position:right center;
}
.cosmo-editorial-grid .cosmo-editorial-grid__photo::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,transparent 30%,rgb(36 25 19 / 71%) 68%,#241913 100%);
}
.cosmo-editorial-grid .cosmo-editorial-grid__card--wide .cosmo-editorial-grid__photo::after {
  background:linear-gradient(90deg,rgb(36 25 19 / 93%),rgb(36 25 19 / 70%) 36%,transparent 73%);
}
.cosmo-editorial-grid .cosmo-editorial-grid__card h3 {
  margin:0;
  color:inherit;
  font:500 clamp(14px,4.3vw,30px)/1.04 var(--font-serif);
  letter-spacing:-.015em;
  overflow-wrap:anywhere;
}
.cosmo-editorial-grid .cosmo-editorial-grid__card--wide h3 { font-size:clamp(23px,6vw,44px); }
.cosmo-editorial-grid .cosmo-editorial-grid__action {
  margin:0;
  font:600 clamp(9px,2.4vw,13px)/1.35 var(--font-sans);
}
.cosmo-editorial-grid .cosmo-editorial-grid__action a {
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.cosmo-editorial-grid .cosmo-editorial-grid__action a::after {
  content:"";
  position:absolute;
  inset:0;
}
.cosmo-editorial-grid .cosmo-editorial-grid__action a:focus-visible::after {
  outline:2px solid #fff;
  outline-offset:-5px;
}
.cosmo-editorial-grid .cosmo-editorial-grid__action a:hover { text-decoration-thickness:2px; }
@media (min-width:768px) {
  .cosmo-editorial-grid .cosmo-editorial-grid__card { aspect-ratio:4 / 3; }
  .cosmo-editorial-grid .cosmo-editorial-grid__card--wide { aspect-ratio:4.2; }
}

.cosmo-menu-thumbnail {
  flex:0 0 52px; inline-size:52px; block-size:52px; display:grid; place-items:center;
  overflow:hidden; background:var(--cosmo-stone); border-radius:4px;
}
.cosmo-menu-thumbnail img {
  box-sizing:border-box; display:block; inline-size:100%; block-size:100%; object-fit:contain;
  padding:2px; background:#fffaf6;
}
.cosmo-drawer .cosmo-primary-menu li > a {
  box-sizing:border-box; position:relative; isolation:isolate;
  display:flex; align-items:center; min-block-size:64px;
  padding:6px 18px; gap:14px; margin-block:7px; margin-inline-end:var(--drawer-toggle-space,0px);
  border:1px solid transparent; border-radius:4px;
  color:var(--cosmo-ink); font-size:15px; font-weight:650; line-height:1.35; overflow-wrap:anywhere;
}
/* Draw a full-width frame while keeping the link and disclosure as separate targets. */
.cosmo-drawer .cosmo-primary-menu li > a::before {
  content:""; position:absolute; inset:-1px;
  inset-inline-end:calc(-1px - var(--drawer-toggle-space,0px));
  z-index:-1; pointer-events:none;
  border:1px solid var(--drawer-row-border,var(--cosmo-line));
  border-radius:inherit; background:var(--drawer-row-background,#fffaf6);
}
.cosmo-drawer .cosmo-primary-menu li > a:has(.cosmo-menu-thumbnail) {
  padding-inline-start:6px;
}
.cosmo-drawer .cosmo-primary-menu summary {
  position:absolute; inset-block-start:10px; inset-inline-end:10px; z-index:2;
}
.cosmo-drawer .cosmo-primary-menu .menu-item-has-children > a {
  --drawer-toggle-space:58px;
}
.cosmo-drawer .cosmo-primary-menu .sub-menu { padding-inline-start:16px; margin-block:4px 8px; }
.cosmo-drawer .cosmo-primary-menu .sub-menu li > a {
  --drawer-row-border:var(--cosmo-hairline);
  --drawer-row-background:white;
  min-block-size:52px; padding:6px 14px; margin-block:4px; font-size:14px; font-weight:550;
}

.cosmo-card-badge,.woocommerce span.onsale,.cosmo-catalog-badge { font-size:9px; font-weight:650; letter-spacing:.035em; }
.cosmo-card-badge.cosmo-badge--sale,.woocommerce span.onsale.cosmo-badge--sale { background:#d8ead8; color:#164627; border-color:#8eaf91; }
.cosmo-card-badge.cosmo-badge--bestseller,.cosmo-catalog-badge.cosmo-badge--bestseller { background:#405437; color:#fff; border-color:#405437; }
.cosmo-card-badge.cosmo-badge--restock,.woocommerce div.product .cosmo-stock-status.cosmo-badge--restock { background:#f4dad5; color:#73291f; border-color:#b9786d; }
.cosmo-payment-plan { padding:clamp(14px,2.5vw,24px); background:#ecdbca; border:1px solid #c9ad96; border-radius:4px; color:var(--cosmo-ink); }
.cosmo-payment-plan dl > div,.cosmo-payment-plan__note { font-size:12px; }
.cosmo-payment-plan dl > div { line-height:1.55; }
.cosmo-social-shortcuts {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-block:16px;
  padding-block:4px;
}
.cosmo-social-label {
  font-size:12px;
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#644f43;
}
.cosmo-social-shortcuts a {
  display:grid; place-items:center; width:44px; height:44px; border:1px solid currentColor;
  border-radius:50%; text-decoration:none;
}
.cosmo-social-shortcuts .cosmo-social-whatsapp { background:#f2faf4; color:#186346; }
.cosmo-social-shortcuts .cosmo-social-facebook { background:#f1f6ff; color:#244a80; }
.cosmo-social-shortcuts .cosmo-social-instagram { background:#f9edf3; color:#833453; }
.cosmo-social-shortcuts a svg { width:20px; height:20px; }
.cosmo-cart-drawer__manage,.cosmo-quick-view-mobile { display:none; }

:is(.cosmo-quick-view-open,.cosmo-campaign-dialog-open) { overflow:hidden; }
.cosmo-quick-view, .cosmo-campaign-dialog {
  box-sizing:border-box; border:1px solid var(--cosmo-line); border-radius:6px;
  color:var(--cosmo-ink); background:var(--cosmo-paper);
}
.cosmo-quick-view::backdrop, .cosmo-campaign-dialog::backdrop { background:rgb(41 28 21 / 62%); }
.cosmo-quick-view {
  inset:auto 0 0; width:min(100%,624px); max-width:100%; max-height:none; height:92vh; height:92dvh;
  margin:auto auto 0; padding:0; overflow:hidden;
}
.cosmo-quick-view[open] {
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  animation:cosmo-quickview-slide .26s cubic-bezier(.16, 1, .3, 1);
}
@keyframes cosmo-quickview-slide {
  from { transform:translateY(100%); }
  to { transform:translateY(0); }
}
@media (prefers-reduced-motion:reduce) {
  .cosmo-quick-view[open] { animation:none; }
}
.cosmo-quick-view__header {
  display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 16px;
  border-block-end:1px solid var(--cosmo-line);
}
.cosmo-quick-view__header h2 { margin:0; font:500 clamp(17px,5vw,24px)/1.25 var(--font-serif); overflow-wrap:anywhere; }
.cosmo-quick-view__header button { flex:0 0 44px; }
.cosmo-quick-view__scroll {
  overflow:auto; overscroll-behavior:contain; padding:14px 16px calc(18px + env(safe-area-inset-bottom,0px));
}
.cosmo-quick-view__contents figure { margin:0 0 12px; }
.cosmo-quick-view__contents img { display:block; width:100%; height:auto; max-height:36dvh; object-fit:contain; background:white; }
.cosmo-quick-view__contents > p { margin:8px 0 16px; font-size:14px; line-height:1.55; }
.cosmo-quick-view__price { font-weight:650; }
.cosmo-quick-view__status { margin:0 0 12px; font-size:14px; line-height:1.4; }
.cosmo-quick-view__status:empty { display:none; }
.cosmo-quick-view form.cart, .cosmo-quick-view .variations { width:100%; margin:0; }
.cosmo-quick-view .variations td,.cosmo-quick-view .variations th { border:none; padding:0; background:transparent; }
.cosmo-quick-view .single_variation_wrap .woocommerce-variation-price { display:none; }
.cosmo-quick-view .woocommerce-variation-add-to-cart { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.cosmo-quick-view__quantity { display:inline-flex; align-items:center; }
.cosmo-quick-view__quantity button {
  width:44px; min-height:44px; padding:0; border:1px solid var(--cosmo-line); border-radius:0;
  background:white; color:var(--cosmo-ink); font-size:16px;
}
.cosmo-quick-view__quantity input {
  width:48px; min-height:44px; padding:2px 4px; border-radius:0; text-align:center; appearance:textfield;
}
.cosmo-quick-view__quantity input::-webkit-inner-spin-button { appearance:none; }
.cosmo-quick-view .single_add_to_cart_button { flex:1 0 132px; min-height:44px; color:white; background:var(--cosmo-ink); }
.cosmo-quick-view .single_add_to_cart_button:disabled { background:#e7dcd2; color:#644f43; cursor:not-allowed; }
.cosmo-quick-view__details { display:flex; width:fit-content; align-items:center; min-height:44px; margin-top:10px; text-underline-offset:4px; }
:is(.cosmo-quick-view,.cosmo-campaign-dialog,.cosmo-social-shortcuts) :is(a,button,input):focus-visible { outline:2px solid var(--cosmo-ink); outline-offset:2px; }

.cosmo-campaign-dialog {
  width:min(440px,calc(100% - 32px)); max-width:none; max-height:calc(100% - 40px); max-height:calc(100dvh - 40px);
  padding:0 20px 24px; overflow:auto; overscroll-behavior:contain; overflow-wrap:anywhere;
}
.cosmo-campaign-dialog__bar { position:sticky; top:0; display:flex; justify-content:flex-end; padding-block:6px; background:var(--cosmo-paper); }
.cosmo-campaign-dialog__bar button { width:44px; height:44px; }
.cosmo-campaign-dialog__image { display:block; width:100%; height:auto; max-height:32dvh; object-fit:contain; margin-bottom:16px; }
.cosmo-campaign-dialog h2 { margin:0 0 8px; font:500 clamp(24px,7vw,34px)/1.2 var(--font-serif); }
.cosmo-campaign-dialog p { margin:0; font-size:14px; line-height:1.55; }
.cosmo-campaign-dialog__action {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin-top:18px; padding:8px 18px;
  border-radius:3px; color:white; background:var(--cosmo-ink); font-size:13px; font-weight:600; text-decoration:none;
}
.cosmo-campaign-dialog__action:is(:hover,:focus) { color:white; text-decoration:underline; text-underline-offset:3px; }
.cosmo-campaign-dialog--artwork { padding:0; }
.cosmo-campaign-dialog--artwork .cosmo-campaign-dialog__bar {
  position:absolute; inset:8px 8px auto auto; z-index:1;
  padding:0; background:transparent;
}
.cosmo-campaign-dialog--artwork .cosmo-campaign-dialog__bar button { background:var(--cosmo-paper); }
.cosmo-campaign-dialog--artwork .cosmo-campaign-dialog__image {
  max-height:calc(100dvh - 42px); margin:0;
}
@media (min-width:768px) {
  .cosmo-campaign-dialog--artwork { width:70vw; max-width:calc(200dvh - 84px); }
}

@media (max-width:767px) {
 .cosmo-footer__story > a { display:flex; justify-content:center; }
 .cosmo-footer__story p { max-width:none; }
 .thecosmoline-mobile-nav { padding-inline:8px; }
 .thecosmoline-mobile-nav .thecosmoline-mobile-nav__link { padding-inline:0; }
 .thecosmoline-mobile-nav .thecosmoline-mobile-nav__label { font-size:10px !important; letter-spacing:.02em; }
 .thecosmoline-mobile-nav__link.is-active { background:var(--cosmo-paper); }
 .cosmo-quick-view-mobile { display:inline; }
 .cosmo-quick-view-desktop { display:none; }
 .cosmo-product__details :is(.add_to_cart_button,.cosmo-quick-view-trigger,.cosmo-product__action,.cosmo-text-link),
 .woocommerce ul.products.woo-archive-loop.woo-archive-action-visible .product-action-wrap > a.button:not(.kb-button),
 .woocommerce ul.products li.product :is(.button,.product_type_simple.add_to_cart_button,.cosmo-quick-view-trigger,.cosmo-product__action,.cosmo-text-link) {
   box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; width:100%;
   min-height:44px; padding:7px 10px; border:1px solid var(--cosmo-ink); border-radius:3px;
   background:transparent; color:var(--cosmo-ink); text-align:center; text-decoration:none; text-transform:none;
   font:600 12px/1.25 var(--font-sans); letter-spacing:.02em; margin-top:auto;
   transition:background-color .2s ease,color .2s ease;
 }
 .cosmo-product__details :is(.add_to_cart_button,.cosmo-quick-view-trigger,.cosmo-product__action,.cosmo-text-link):hover,
 .woocommerce ul.products.woo-archive-loop.woo-archive-action-visible .product-action-wrap > a.button:not(.kb-button):hover,
 .woocommerce ul.products li.product :is(.button,.product_type_simple.add_to_cart_button,.cosmo-quick-view-trigger,.cosmo-product__action,.cosmo-text-link):hover {
   background:var(--cosmo-ink); color:white;
 }
 .cosmo-cart-drawer__manage { display:flex; align-items:center; width:fit-content; min-height:44px; font-size:13px; text-underline-offset:3px; }
 .cosmo-cart-drawer__links { grid-template-columns:minmax(0,1fr); }
 .cosmo-cart-drawer__links a:first-child { display:none; }
 .cosmo-cart-drawer__links a:last-child { background:var(--cosmo-ink); }
 .cosmo-shop-collections .cosmo-editorial__cards { gap:20px 14px; }
 .cosmo-shop-collections .cosmo-editorial__card figcaption { font-size:clamp(15px,4vw,18px); }
}

/* ==========================================================================
   Client fixes, 2026-11-22. Presentation only; WooCommerce markup, AJAX and
   totals are unchanged.
   ========================================================================== */

/* 1. Checkout order review: grid rows so Shipping can sit above a full-width list. */
.woocommerce-checkout .cosmo-checkout-review #order_review .woocommerce-checkout-review-order-table { display:block; border-collapse:separate; }
.woocommerce-checkout .cosmo-checkout-review #order_review .woocommerce-checkout-review-order-table :is(thead,tbody,tfoot) { display:block; }
.woocommerce-checkout .cosmo-checkout-review #order_review .woocommerce-checkout-review-order-table tr { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:16px; align-items:start; border-top:1px solid var(--cosmo-hairline); }
.woocommerce-checkout .cosmo-checkout-review #order_review .woocommerce-checkout-review-order-table thead tr { border-top:0; }
.woocommerce-checkout .cosmo-checkout-review #order_review .woocommerce-checkout-review-order-table :is(th,td) { display:block; width:auto; border:0; }
.woocommerce-checkout .cosmo-checkout-review #order_review .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { grid-template-columns:minmax(0,1fr); }
.woocommerce-checkout .cosmo-checkout-review #order_review .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th { padding-bottom:10px; font:500 10px/1.6 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; text-align:start; }
.woocommerce-checkout .cosmo-checkout-review #order_review .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td { padding-top:0; text-align:start; }
.woocommerce-checkout .cosmo-checkout-review ul#shipping_method { display:grid; gap:8px; float:none; margin:0; padding:0; list-style:none; text-align:start; }
.woocommerce-checkout .cosmo-checkout-review ul#shipping_method li { position:relative; margin:0; padding:0; text-indent:0; line-height:1.5; text-align:start; }
.woocommerce-checkout .cosmo-checkout-review ul#shipping_method li > input[type=radio] { position:absolute; top:15px; left:14px; width:18px; height:18px; margin:0; accent-color:var(--color-marble-garden); cursor:pointer; }
.woocommerce-checkout .cosmo-checkout-review ul#shipping_method li > label { display:block; min-height:48px; margin:0; padding:13px 14px 13px 44px; border:1px solid var(--cosmo-line); border-radius:4px; background:#fff; font-size:13px; font-weight:500; line-height:1.5; text-align:start; overflow-wrap:anywhere; cursor:pointer; }
.woocommerce-checkout .cosmo-checkout-review ul#shipping_method li > input[type=hidden] + label { padding-left:14px; cursor:default; }
.woocommerce-checkout .cosmo-checkout-review ul#shipping_method li:has(> input:checked) > label { background:var(--cosmo-paper); border-color:var(--color-marble-garden); box-shadow:inset 0 0 0 1px var(--color-marble-garden); }
.woocommerce-checkout .cosmo-checkout-review ul#shipping_method li > input:focus-visible + label { outline:2px solid var(--cosmo-ink); outline-offset:2px; }
.woocommerce-checkout .cosmo-checkout-review ul#shipping_method .woocommerce-Price-amount { white-space:nowrap; font-weight:600; }
.woocommerce-checkout .cosmo-checkout-review .woocommerce-shipping-totals :is(.woocommerce-shipping-destination,.woocommerce-shipping-contents,p) { margin:10px 0 0; font-size:12px; line-height:1.5; text-align:start; }

/* 2. Order received. */
.cosmo-commerce--received .woocommerce-order { display:grid; gap:28px; max-width:880px; }
.cosmo-commerce--received .woocommerce-order > * { margin:0; }
.cosmo-commerce--received .woocommerce-thankyou-order-received { font-size:15px; line-height:1.6; }
.cosmo-commerce--received .woocommerce-order h2 { margin:0 0 16px; font:500 clamp(28px,3.4vw,36px)/1.15 var(--font-serif); letter-spacing:-.02em; }
.cosmo-commerce--received ul.woocommerce-order-overview { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; margin:0; padding:0; list-style:none; background:var(--cosmo-hairline); border:1px solid var(--cosmo-hairline); border-radius:4px; overflow:hidden; }
.cosmo-commerce--received ul.woocommerce-order-overview::before,.cosmo-commerce--received ul.woocommerce-order-overview::after { display:none; content:none; }
.cosmo-commerce--received ul.woocommerce-order-overview li { float:none; min-width:0; margin:0; padding:16px 18px; border:0; background:var(--cosmo-paper); font:500 10px/1.6 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; color:var(--color-marble-garden); }
.cosmo-commerce--received ul.woocommerce-order-overview li strong { display:block; margin-top:6px; font:600 16px/1.35 var(--font-sans); letter-spacing:0; text-transform:none; color:var(--cosmo-ink); overflow-wrap:anywhere; }
@media (min-width:1024px) { .cosmo-commerce--received ul.woocommerce-order-overview { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:339px) { .cosmo-commerce--received ul.woocommerce-order-overview { grid-template-columns:minmax(0,1fr); } }
.cosmo-commerce--received .woocommerce-order > p:not(.woocommerce-notice),.cosmo-commerce--received .cosmo-proof-of-payment { padding:16px 18px; border-left:3px solid var(--color-marble-garden); background:var(--cosmo-paper); font-size:15px; line-height:1.6; }
.cosmo-commerce--received .cosmo-proof-of-payment a { font-weight:600; color:var(--cosmo-ink); text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.cosmo-commerce--received .woocommerce-bacs-bank-details { padding:22px 20px; border:1px solid var(--cosmo-hairline); border-radius:4px; background:#fff; }
.cosmo-commerce--received .woocommerce-bacs-bank-details h2 { margin-bottom:12px; }
.cosmo-commerce--received .woocommerce-bacs-bank-details h3 { margin:0 0 10px; font:500 10px/1.6 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; color:var(--color-marble-garden); }
.cosmo-commerce--received ul.bacs_details { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px 24px; margin:0 0 6px; padding:0; list-style:none; }
.cosmo-commerce--received ul.bacs_details::before,.cosmo-commerce--received ul.bacs_details::after { display:none; content:none; }
.cosmo-commerce--received ul.bacs_details li { float:none; margin:0; padding:0; border:0; font:500 10px/1.6 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; color:var(--color-marble-garden); }
.cosmo-commerce--received ul.bacs_details li strong { display:block; margin-top:4px; font:600 16px/1.35 var(--font-sans); letter-spacing:.02em; text-transform:none; color:var(--cosmo-ink); overflow-wrap:anywhere; }
.cosmo-commerce--received .woocommerce-order-details table.shop_table { width:100%; margin:0; }
.cosmo-commerce--received .woocommerce-order-details :is(th,td) { padding:14px 16px; }
.cosmo-commerce--received .woocommerce-order-details tfoot td,.cosmo-commerce--received .woocommerce-order-details .product-total { text-align:end; }
.cosmo-commerce--received .woocommerce-customer-details address { padding:18px; border:1px solid var(--cosmo-hairline); border-radius:4px; font-style:normal; line-height:1.7; }
@media (max-width:767px) {
 .cosmo-commerce--received .cosmo-commerce__heading { margin-bottom:26px; }
 .cosmo-commerce--received .woocommerce-order { gap:24px; padding-bottom:calc(96px + env(safe-area-inset-bottom,0px)); }
 .cosmo-commerce--received ul.woocommerce-order-overview li { padding:14px; }
 .cosmo-commerce--received ul.woocommerce-order-overview li strong { font-size:15px; }
}

/* 3. Product-page shelves: visible actions, aligned across each row. */
.woocommerce ul.products li.product { display:flex; flex-direction:column; }
.woocommerce ul.products li.product > .product-details { display:flex; flex:1 1 auto; flex-direction:column; }
.woocommerce ul.products li.product > .product-details > .product-action-wrap { margin-top:auto; }
.single-product :is(.related,.upsells).products ul.products li.product > .product-details { padding:0; }
.single-product :is(.related,.upsells).products ul.products .product-action-wrap { position:static; opacity:1; visibility:visible; transform:none; }
.cosmo-paired .cosmo-product { display:flex; flex-direction:column; }
.cosmo-paired .cosmo-product__details { display:flex; flex:1 1 auto; flex-direction:column; }
.cosmo-paired .cosmo-product__details > :is(.cosmo-product__action,.add_to_cart_button,.cosmo-quick-view-trigger) { margin-top:auto; }

/* 4. Go to page. */
.cosmo-page-jump { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px 10px; margin:18px auto 0; font-size:13px; }
.cosmo-page-jump label { font-weight:500; }
.cosmo-page-jump input { width:64px; min-height:48px; padding:8px; border:1px solid var(--cosmo-line); border-radius:2px; background:#fff; font-size:16px; text-align:center; }
.cosmo-page-jump input[aria-invalid=true] { border-color:#a33a2b; }
.cosmo-page-jump button { min-width:64px; min-height:48px; padding:10px 18px; border:0; border-radius:2px; background:var(--color-marble-garden); color:#fff; font:500 11px/1.4 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; cursor:pointer; }
.cosmo-page-jump button:hover { background:var(--cosmo-ink); }
.cosmo-page-jump__error { flex-basis:100%; margin:0; color:#a33a2b; font-size:13px; text-align:center; }

/* 5. Collection chips: show that the row scrolls. */
@media (max-width:767px) {
 .woocommerce .cosmo-categories { margin-inline:-20px; padding-inline:20px; scroll-padding-inline:20px; -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent); mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent); }
 .woocommerce .cosmo-categories.is-scrolled-end { -webkit-mask-image:none; mask-image:none; }
}
.cosmo-categories a[aria-current=page] { border-color:var(--color-marble-garden); color:var(--cosmo-ink); font-weight:600; }

/* 7. Desktop catalog: four columns on wide archives, three on tablets. */
@media (min-width:1200px) {
 :is(.woocommerce-shop,.tax-product_cat,.tax-product_tag,.search-results) .woocommerce ul.products,
 :is(.woocommerce-shop,.tax-product_cat,.tax-product_tag,.search-results) ul.products { grid-template-columns:repeat(4,minmax(0,1fr)); gap:44px 26px; }
 :is(.woocommerce-shop,.tax-product_cat,.tax-product_tag,.search-results) ul.products li.product .woocommerce-loop-product__title { font-size:20px; }
}
@media (min-width:768px) and (max-width:1199px) {
 .woocommerce ul.products { gap:40px 22px; }
 .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size:20px; }
}
/* Product-page shelves lack Kadence's woo-archive-loop class; mirror the Shop card buttons. */
.single-product.woocommerce ul.products.woo-archive-action-visible .product-action-wrap > a.button:not(.kb-button) { min-height:48px; display:inline-flex; align-items:center; justify-content:center; padding:12px 16px; margin:0; border:1px solid var(--cosmo-line); border-radius:24px; background:transparent; color:var(--color-marble-garden); font:500 9px/1.6 var(--font-sans); letter-spacing:.1em; text-transform:uppercase; }
.single-product.woocommerce ul.products.woo-archive-action-visible .product-action-wrap > a.button:not(.kb-button):hover { color:white; background:var(--color-marble-garden); border-color:var(--color-marble-garden); }
@media (max-width:767px) {
 .single-product.woocommerce ul.products.woo-archive-action-visible .product-action-wrap > a.button:not(.kb-button) { box-sizing:border-box; width:100%; min-height:44px; padding:7px 10px; border:1px solid var(--cosmo-ink); border-radius:3px; background:transparent; color:var(--cosmo-ink); text-align:center; text-transform:none; font:600 12px/1.25 var(--font-sans); letter-spacing:.02em; }
 .single-product.woocommerce ul.products.woo-archive-action-visible .product-action-wrap > a.button:not(.kb-button):hover { background:var(--cosmo-ink); color:white; }
}
.cosmo-commerce--received .woocommerce-order-details table.shop_table :is(th,td) { border-color:var(--cosmo-hairline); }
.cosmo-commerce--received .woocommerce-order-details table.shop_table tfoot :is(th,td) { background:transparent; }
.cosmo-commerce--received .woocommerce-order-details table.shop_table tfoot tr:nth-last-child(2) :is(th,td) { font-weight:600; }

/* Audit follow-up: cart page shipping uses the same stacked method list as checkout. */
.woocommerce-cart .cart_totals table.shop_table,.woocommerce-cart .cart_totals table.shop_table tbody { display:block; }
.woocommerce-cart .cart_totals table.shop_table tr { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:16px; align-items:start; border-top:1px solid var(--cosmo-hairline); }
.woocommerce-cart .cart_totals table.shop_table tr:first-child { border-top:0; }
.woocommerce-cart .cart_totals table.shop_table :is(th,td) { display:block; width:auto; border:0; }
.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals { grid-template-columns:minmax(0,1fr); }
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > th { padding-bottom:10px; }
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > td { padding-top:0; text-align:start; }
.woocommerce-cart .cart_totals ul#shipping_method { display:grid; gap:8px; float:none; margin:0; padding:0; list-style:none; text-align:start; }
.woocommerce-cart .cart_totals ul#shipping_method li { position:relative; margin:0; padding:0; text-indent:0; line-height:1.5; text-align:start; }
.woocommerce-cart .cart_totals ul#shipping_method li > input[type=radio] { position:absolute; top:15px; left:14px; width:18px; height:18px; margin:0; accent-color:var(--color-marble-garden); cursor:pointer; }
.woocommerce-cart .cart_totals ul#shipping_method li > label { display:block; min-height:48px; margin:0; padding:13px 14px 13px 44px; border:1px solid var(--cosmo-line); border-radius:4px; background:#fff; font-size:13px; font-weight:500; line-height:1.5; text-align:start; overflow-wrap:anywhere; cursor:pointer; }
.woocommerce-cart .cart_totals ul#shipping_method li > input[type=hidden] + label { padding-left:14px; cursor:default; }
.woocommerce-cart .cart_totals ul#shipping_method li:has(> input:checked) > label { background:var(--cosmo-paper); border-color:var(--color-marble-garden); box-shadow:inset 0 0 0 1px var(--color-marble-garden); }
.woocommerce-cart .cart_totals ul#shipping_method li > input:focus-visible + label { outline:2px solid var(--cosmo-ink); outline-offset:2px; }
.woocommerce-cart .cart_totals ul#shipping_method .woocommerce-Price-amount { white-space:nowrap; font-weight:600; }
.woocommerce-cart .cart_totals .woocommerce-shipping-totals :is(.woocommerce-shipping-destination,.woocommerce-shipping-calculator,p) { margin:10px 0 0; font-size:12px; line-height:1.5; text-align:start; }

/* Audit follow-up: "Frequently paired with" actions match the Related products buttons on desktop. */
@media (min-width:768px) {
 .single-product .cosmo-paired .cosmo-product__details > :is(.cosmo-product__action,.add_to_cart_button,.cosmo-quick-view-trigger) { display:inline-flex; align-items:center; justify-content:center; align-self:flex-start; min-height:48px; padding:12px 22px; border:1px solid var(--cosmo-line); border-radius:24px; background:transparent; color:var(--color-marble-garden); font:500 9px/1.6 var(--font-sans); letter-spacing:.1em; text-transform:uppercase; text-decoration:none; }
 .single-product .cosmo-paired .cosmo-product__details > :is(.cosmo-product__action,.add_to_cart_button,.cosmo-quick-view-trigger):hover { color:#fff; background:var(--color-marble-garden); border-color:var(--color-marble-garden); }
}
/* Cart totals: the visible th is the label, so drop WooCommerce's small-screen duplicate and alignment. */
.woocommerce-cart .cart_totals table.shop_table tr td::before { content:none; display:none; }
.woocommerce-cart .cart_totals table.shop_table tr > td { text-align:end !important; }
.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals > td { text-align:start !important; }
.woocommerce-cart .cart_totals ul#shipping_method li { display:block; }
.woocommerce-cart .cart_totals ul#shipping_method li > label { width:auto; }
/* Checkout: every shipping option spans the full row (an older rule made each li a right-aligned flex row). */
.woocommerce-checkout .cosmo-checkout-review ul#shipping_method li { display:block; }
.woocommerce-checkout .cosmo-checkout-review ul#shipping_method li > label { width:auto; }
/* Cart with no address yet: WooCommerce renders the calculator row as tr.shipping (no woocommerce-shipping-totals class). */
.woocommerce-cart .cart_totals table.shop_table tr.shipping { grid-template-columns:minmax(0,1fr); }
.woocommerce-cart .cart_totals tr.shipping > th { padding-bottom:10px; }
.woocommerce-cart .cart_totals table.shop_table tr.shipping > td { padding-top:0; text-align:start !important; }
.woocommerce-cart .cart_totals .woocommerce-shipping-calculator { text-align:start; }
.woocommerce-cart .cart_totals .shipping-calculator-form { margin-top:12px; }
.woocommerce-cart .cart_totals .shipping-calculator-form .form-row { width:100%; float:none; margin:0 0 12px; padding:0; text-align:start; }
.woocommerce-cart .cart_totals .shipping-calculator-form .form-row label { display:block; margin-bottom:6px; text-align:start; }
.woocommerce-cart .cart_totals .shipping-calculator-form :is(input.input-text,select:not(.select2-hidden-accessible),.select2-container) { width:100% !important; box-sizing:border-box; }
.woocommerce-cart .cart_totals .shipping-calculator-form button[name="calc_shipping"] { width:100%; min-height:48px; }

/* iPhone Safari zooms into any field under 16px and doesn't zoom back out. Keep form text at 16px on phones. */
@media (max-width:767px) {
 input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=image]),select,textarea,
 .select2-container .select2-selection__rendered,.select2-search__field,.select2-results__option { font-size:16px !important; }
}
/* Centre the text in WooCommerce dropdowns (select2) and the Apply coupon button. */
.woocommerce .select2-container .select2-selection--single { display:flex; align-items:center; height:48px; padding:0 !important; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { flex:1 1 auto; height:auto !important; padding:0 36px 0 14px !important; line-height:1.4 !important; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top:0 !important; height:100% !important; }
.woocommerce-cart table.cart td.actions .coupon button.button[name="apply_coupon"] { display:inline-flex; align-items:center; justify-content:center; padding-top:0; padding-bottom:0; line-height:1.2; }

/* Checkout and form errors: a readable left-aligned list in red, one message per line
   (the site-wide notice rule centres notices in a flex row, which split lists into columns). */
ul.woocommerce-error,.cosmo-commerce .woocommerce ul.woocommerce-error,.woocommerce-NoticeGroup ul.woocommerce-error {
  display:block !important; text-align:left !important; justify-content:normal !important;
  margin:0 0 24px !important; padding:14px 18px !important; list-style:none;
  background:#fbf3f1 !important; color:#9b2c1f !important; border:1px solid #ecc9c2 !important; border-left:3px solid #9b2c1f !important;
  font-size:14px !important; line-height:1.5 !important; letter-spacing:0 !important;
}
ul.woocommerce-error::before { display:none !important; }
ul.woocommerce-error > li { display:block; margin:0 0 6px; padding:0; text-align:left; }
ul.woocommerce-error > li:last-child { margin-bottom:0; }
ul.woocommerce-error > li a,ul.woocommerce-error > li strong { color:inherit !important; text-decoration:none !important; font-weight:600; }
ul.woocommerce-error > li a { font-weight:400; }
.woocommerce-checkout .checkout-inline-error-message,.woocommerce form .form-row .checkout-inline-error-message { margin:6px 0 0; color:#9b2c1f; font-size:13px; line-height:1.4; }

/* Order received: WhatsApp proof-of-payment link with the WhatsApp icon. */
.cosmo-commerce--received .woocommerce-order .cosmo-proof-of-payment a.cosmo-wa-link { display:inline-flex; align-items:center; gap:6px; color:var(--cosmo-ink) !important; font-weight:600; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; vertical-align:bottom; }
.cosmo-commerce--received .woocommerce-order .cosmo-proof-of-payment a.cosmo-wa-link svg { flex:0 0 auto; color:#1f8a4c; }

/* After an AJAX add, WooCommerce inserts "View cart" under the button. Keep it out of the flow
   so buttons in the same row stay aligned (Shop, collections, Related, Frequently paired). */
.woocommerce ul.products li.product .product-action-wrap,.cosmo-product__details { position:relative; }
.woocommerce ul.products li.product .product-action-wrap a.added_to_cart,.cosmo-product__details a.added_to_cart {
  position:absolute; top:100%; left:0; right:0; margin:6px 0 0; padding:0; min-height:0;
  border:0; background:none; text-align:center; font:600 11px/1.4 var(--font-sans); letter-spacing:.08em; text-transform:uppercase; color:var(--cosmo-ink);
}

/* Sorting control: stays 16px on phones (no iOS zoom) but reads lighter. */
.woocommerce .woocommerce-ordering select { font-weight:400; color:var(--cosmo-ink); }
@media (max-width:767px) { .woocommerce .woocommerce-ordering select { min-height:44px; padding:8px 30px 8px 12px; letter-spacing:0; background-position:right 10px center; } }

/* Footer "Let's talk lashes" on phones: links flow two per row instead of one per row. */
@media (max-width:767px) {
 .cosmo-footer__grid > div:last-child { display:flex; flex-wrap:wrap; align-items:center; column-gap:24px; }
 .cosmo-footer__grid > div:last-child > :is(h2,p,.cosmo-payments) { flex:0 0 100%; }
 .cosmo-footer__grid > div:last-child > a { min-height:44px; }
 .cosmo-footer__grid > div:last-child > p { margin-top:14px; }
}
@media (max-width:767px) {
 .cosmo-footer__grid > div:last-child > h2 { order:0; }
 .cosmo-footer__grid > div:last-child > a { order:1; }
 .cosmo-footer__grid > div:last-child > a[href^="mailto:"] { order:2; flex-basis:100%; }
 .cosmo-footer__grid > div:last-child > :is(p,.cosmo-payments) { order:3; }
}
/* Phones: result count on one line, full-width sorting below, the same on every archive and width. */
@media (max-width:767px) {
 .woocommerce .kadence-shop-top-row { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
 .woocommerce .kadence-shop-top-row > .kadence-shop-top-item { width:100%; margin:0; }
 .woocommerce .kadence-shop-top-row .woocommerce-result-count { margin:0; padding-top:0; }
 .woocommerce .kadence-shop-top-row .woocommerce-ordering { width:100%; margin:0; }
 .woocommerce .kadence-shop-top-row .woocommerce-ordering select { width:100%; }
}

/* Adhesive care copy (Jessica, 2026-11-23). */
.cosmo-detail-panel ul.cosmo-care-list { margin:0 0 22px; padding-left:20px; list-style:disc; }
.cosmo-detail-panel ul.cosmo-care-list li { margin:0 0 8px; padding-left:2px; }
.cosmo-detail-panel ul.cosmo-care-list strong { font-weight:600; }
.cosmo-detail-panel h3.cosmo-care-note { margin:0 0 10px; font-size:19px; line-height:1.3; color:var(--color-marble-garden); }
.cosmo-detail-panel ul.cosmo-care-list { list-style:disc outside !important; }
.cosmo-detail-panel ul.cosmo-care-list li { display:list-item !important; list-style:inherit !important; }
.cosmo-detail-panel ul.cosmo-care-list li::marker { color:var(--color-marble-garden); }

/* Black Friday edit, 2026-11-24 */
/* Phones: the campaign artwork keeps its centred message legible by cropping the collage edges. */
@media (max-width:767px) {
  .cosmo-campaign figure.cosmo-campaign__banner--focus-centre img { aspect-ratio:5 / 4; object-fit:cover; object-position:45% 50%; }
}
/* A photographic wide collection card fills its frame; the dark wash keeps the title legible. */
.cosmo-editorial-grid .cosmo-editorial-grid__card--wide.cosmo-editorial-grid__card--cover { background:#3c3027; }
.cosmo-editorial-grid .cosmo-editorial-grid__card--cover img { width:100%; margin:0; object-fit:cover; object-position:50% 38%; }
.cosmo-editorial-grid .cosmo-editorial-grid__card--cover .cosmo-editorial-grid__photo::after {
  background:linear-gradient(90deg,rgb(36 25 19 / 88%),rgb(36 25 19 / 55%) 38%,rgb(36 25 19 / 0%) 72%);
}
@media (min-width:768px) {
  .cosmo-editorial-grid .cosmo-editorial-grid__card--cover img {
    width:60%;
    margin-inline-start:auto;
    object-position:50% 44%;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 32%);
    mask-image:linear-gradient(90deg,transparent,#000 32%);
  }
  .cosmo-editorial-grid .cosmo-editorial-grid__card--cover .cosmo-editorial-grid__photo::after {
    background:linear-gradient(90deg,rgb(36 25 19 / 40%),rgb(36 25 19 / 0%) 55%);
  }
}
/* Catalogue title band: compact, warm and branded instead of a tall flat grey strip. */
.entry-hero.product-archive-hero-section .entry-hero-container-inner {
  background:linear-gradient(180deg,var(--cosmo-paper) 0%,var(--cosmo-stone) 100%);
  border-bottom:1px solid var(--cosmo-hairline);
}
.entry-hero.product-archive-hero-section .entry-header {
  min-height:0;
  padding:clamp(30px,3vw,40px) 0 clamp(28px,2.8vw,36px);
  text-align:center;
}
.entry-hero.product-archive-hero-section .entry-header::before {
  content:"The Cosmoline";
  display:block;
  margin-bottom:clamp(8px,1vw,12px);
  font:500 10px/1.7 var(--font-sans);
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--color-matte-brown);
}
.entry-hero.product-archive-hero-section .archive-title {
  margin:0;
  font:500 clamp(34px,3.6vw,48px)/1.1 var(--font-serif);
  letter-spacing:-.01em;
  color:var(--color-marble-garden);
}
.entry-hero.product-archive-hero-section .entry-header::after {
  content:"";
  display:block;
  width:40px;
  height:1px;
  margin:clamp(14px,1.6vw,18px) auto 0;
  background:var(--color-matte-brown);
}
/* Lashes and DIY intros link to each other; the link never breaks across lines. */
.cosmo-catalog-intro__link { color:var(--color-marble-garden); font-weight:500; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; white-space:nowrap; }
.cosmo-catalog-intro__link:hover { text-decoration-thickness:2px; }
/* Phone banner slot, 2026-11-26: when a phone image is set, phones show it whole instead of the automatic crop. */
.cosmo-campaign__banner picture { display:block; }
@media (max-width:767px) {
  .cosmo-campaign figure.cosmo-campaign__banner.has-phone-banner img { aspect-ratio:auto var(--cosmo-phone-ratio); object-fit:contain; object-position:50% 50%; }
}
