/* Alta Clinic product categories. No new script, query or price calculation. */
body.ac-catalog-view { --ac-ink:#181818; --ac-muted:#62625e; --ac-paper:#f5f3ee; --ac-rule:.5px solid #000; }
body.ac-catalog-view #Subheader { display:none; }
body.ac-catalog-view #Content.ac-catalog { padding:30px 0 72px; overflow:clip; background:#fff; color:var(--ac-ink); letter-spacing:normal; }
.ac-catalog,.ac-catalog * { box-sizing:border-box; }
.ac-catalog-shell { width:calc(100% - 96px); max-width:1200px; margin-inline:auto; }
.ac-catalog a { color:inherit; text-decoration:none; }
.ac-catalog a:focus-visible,.ac-catalog summary:focus-visible,.ac-catalog input:focus-visible,.ac-catalog button:focus-visible,.ac-catalog select:focus-visible { outline:2px solid #111; outline-offset:4px; }
.ac-catalog h1,.ac-catalog h2,.ac-catalog h3,.ac-catalog p { color:inherit; }
.ac-catalog-eyebrow { display:block; font-size:11px; line-height:1.7; letter-spacing:.15em; text-transform:uppercase; font-weight:500; }
.ac-catalog-arrow { width:23px; height:23px; flex:0 0 23px; transition:transform .3s; }
.ac-catalog-topline { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:12px 24px; margin-bottom:24px; font-size:12px; line-height:1.7; color:var(--ac-muted); }
.ac-catalog .ac-catalog-topline .woocommerce-breadcrumb { margin:0; font-size:12px; line-height:1.7; color:inherit; }
.ac-catalog .woocommerce-breadcrumb>span { display:inline-block; margin:0 10px; }
.ac-catalog-topline a:hover { text-decoration:underline; text-underline-offset:4px; }
.ac-catalog-hero { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:40px; padding:42px 40px; border:var(--ac-rule); position:relative; background:linear-gradient(115deg,#fff 45%,#f5f3ee); overflow:clip; }
.ac-catalog-hero>div { min-width:0; position:relative; z-index:1; }
.ac-catalog-hero h1 { font:400 clamp(40px,5.6vw,78px)/1.04 Georgia,'Times New Roman',serif; letter-spacing:-.045em; margin:20px 0 0; overflow-wrap:anywhere; }
.ac-catalog-hero__aside { padding:8px 0 8px 36px; border-left:var(--ac-rule); }
.ac-catalog-hero__aside>.term-description { font-size:18px; line-height:1.8; }
.ac-catalog-hero__aside p { margin:0 0 20px; }
.ac-catalog-hero__aside>p { font:400 clamp(23px,2.5vw,32px)/1.25 Georgia,serif; letter-spacing:-.02em; }
.ac-catalog-hero__aside>p>span { color:var(--ac-muted); }
.ac-catalog-hero__mark { position:absolute; font:400 230px/1 Georgia,serif; right:-42px; bottom:-78px; opacity:.035; pointer-events:none; }
.ac-catalog-read { display:inline-flex; justify-content:space-between; align-items:center; gap:28px; min-height:46px; padding:8px 0; border-bottom:var(--ac-rule); font-size:14px; line-height:1.5; font-weight:500; }
.ac-catalog-read:hover .ac-catalog-arrow { transform:translateX(5px); }
.ac-catalog-about { border:var(--ac-rule); border-top:0; }
.ac-catalog-about summary,.ac-catalog-categories summary { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:18px 24px; list-style:none; cursor:pointer; font-size:14px; line-height:1.6; }
.ac-catalog summary::-webkit-details-marker { display:none; }
.ac-catalog-about summary>span,.ac-catalog-categories summary>span { font-size:24px; font-weight:300; line-height:1; transition:transform .2s; }
.ac-catalog details[open]>summary>span { transform:rotate(45deg); }
.ac-catalog-about>div { border-top:var(--ac-rule); padding:28px 32px; font-size:16px; line-height:1.85; }
.ac-catalog-about .term-description { max-width:80ch; }
.ac-catalog-about img { max-width:100%; height:auto; }
.ac-catalog-categories { margin:20px 0 32px; border-block:var(--ac-rule); }
.ac-catalog-categories summary { padding:16px 0; }
.ac-catalog-categories nav { padding:0 0 22px; }
.ac-catalog-categories ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 28px; margin:0; list-style:none; padding:0; }
.ac-catalog-categories li { margin:0; }
.ac-catalog-categories li a { display:flex; justify-content:space-between; align-items:center; gap:14px; border-bottom:.5px solid #d5d4cf; padding:12px 0; min-height:45px; font-size:14px; line-height:1.6; }
.ac-catalog-categories a[aria-current],.ac-catalog-categories a.is-ancestor { font-weight:600; }
.ac-catalog-categories a:hover { text-decoration:underline; text-underline-offset:4px; }
.ac-catalog-results { scroll-margin-top:110px; }
.ac-catalog-toolbar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px 24px; padding-bottom:20px; }
.ac-catalog .ac-catalog-toolbar .woocommerce-result-count { float:none; margin:0; font-size:14px; line-height:1.7; color:var(--ac-muted); }
.ac-catalog .ac-catalog-toolbar .woocommerce-ordering { float:none; margin:0; }
.ac-catalog .ac-catalog-toolbar select { width:auto; max-width:100%; min-width:245px; min-height:46px; border:var(--ac-rule); border-radius:0; background:#fff; color:var(--ac-ink); padding:10px 36px 10px 14px; font-family:inherit; font-size:14px; line-height:1.5; margin:0; box-shadow:none; }
.ac-catalog-toolbar .woocommerce-notices-wrapper { width:100%; }
.ac-catalog-toolbar .woocommerce-notices-wrapper:empty { display:none; }
.ac-catalog-search { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 24px; border:var(--ac-rule); background:var(--ac-paper); margin-bottom:28px; }
.ac-catalog-search .yith-ajaxsearchform-container,.ac-catalog-search .woocommerce-product-search { width:min(100%,480px); margin:0; position:relative; }
.ac-catalog-search form { display:flex; align-items:stretch; width:100%; gap:0; margin:0; position:relative; }
.ac-catalog-search form>div { display:flex; width:100%; position:relative; }
.ac-catalog-search input[type="search"],.ac-catalog-search input[type="text"] { width:100%!important; min-width:0; margin:0!important; padding:12px 14px!important; border:var(--ac-rule)!important; border-radius:0!important; background-color:#fff!important; font-family:inherit; font-size:16px!important; line-height:1.5; min-height:48px; box-shadow:none!important; }
.ac-catalog-search button,.ac-catalog-search input[type="submit"] { position:static!important; min-width:72px; height:auto!important; min-height:48px; border:var(--ac-rule)!important; border-radius:0!important; padding:10px 16px!important; background:#181818!important; color:#fff!important; font-family:inherit; font-size:14px; line-height:1.5; margin:0!important; cursor:pointer; box-shadow:none; }
.ac-catalog-search .autocomplete-suggestions { border:var(--ac-rule); border-radius:0; box-shadow:0 8px 20px rgb(0 0 0 / 6%); text-align:left; z-index:5; }
.ac-catalog .ac-catalog-products ul.products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; margin:0!important; padding:0!important; width:100%; height:auto!important; list-style:none; }
.ac-catalog .ac-catalog-products ul.products::before,.ac-catalog .ac-catalog-products ul.products::after { display:none!important; }
.ac-catalog .ac-catalog-products ul.products>li.product { width:100%!important; margin:0!important; float:none!important; clear:none!important; position:relative!important; inset:auto!important; min-width:0; border:var(--ac-rule); }
.ac-catalog .ac-catalog-products li.ac-catalog-card { display:flex; flex-direction:column; background:#fff; transition:box-shadow .3s; }
.ac-catalog-card:hover { box-shadow:0 9px 25px rgb(0 0 0 / 5%); }
.ac-catalog-card__visual { border-bottom:var(--ac-rule); position:relative; aspect-ratio:4/3; overflow:hidden; background:#fff; }
.ac-catalog-card__visual>a { display:block; width:100%; height:100%; }
#Content.ac-catalog .ac-catalog-card__visual img { display:block; width:100%; height:100%; max-width:none; object-fit:contain; padding:24px; margin:0; transition:transform .6s cubic-bezier(.2,.65,.3,1); }
.ac-catalog-card:hover .ac-catalog-image { transform:translateY(-3px); }
.ac-catalog-stock { position:absolute; top:16px; left:16px; right:auto; z-index:2; min-width:0; min-height:0; height:auto; width:auto; border:var(--ac-rule); border-radius:0; padding:6px 11px; background:#fff; color:#181818; font-size:11px; font-weight:500; letter-spacing:.04em; line-height:1.5; margin:0; }
.ac-catalog-stock { top:auto; bottom:16px; }
.ac-catalog-card__discover { position:absolute; bottom:14px; right:14px; width:38px; height:38px; display:flex; align-items:center; justify-content:center; border:var(--ac-rule); background:#fff; transition:background .3s,color .3s; }
.ac-catalog-card:hover .ac-catalog-card__discover { background:#181818; color:#fff; }
.ac-catalog-card__body { padding:25px 26px 22px; flex:1; }
.ac-catalog .ac-catalog-card h2.woocommerce-loop-product__title { font-family:inherit; font-size:22px; font-weight:400; line-height:1.35; letter-spacing:-.02em; padding:0; margin:0 0 22px; overflow-wrap:anywhere; }
.ac-catalog-card h2 a:hover { text-decoration:underline; text-decoration-thickness:.5px; text-underline-offset:5px; }
.ac-catalog .ac-catalog-card .price { display:block; font-size:21px; line-height:1.6; color:var(--ac-ink); margin:0; font-weight:500; }
.ac-catalog .ac-catalog-card .price del { color:var(--ac-muted); opacity:1; font-size:16px; font-weight:400; }
.ac-catalog .ac-catalog-card .price ins { background:transparent; color:inherit; text-decoration:none; margin-left:4px; }
.ac-catalog .ac-catalog-card .saved-sale { font-size:13px!important; line-height:1.65; color:var(--ac-muted); font-weight:400; margin:8px 0 0!important; }
.ac-catalog-card__excerpt { font-size:15px; line-height:1.75; color:var(--ac-muted); margin-top:18px; }
.ac-catalog-card__actions { margin-top:auto; padding:0 26px 26px; }
.ac-catalog .ac-catalog-card .ac-catalog-card__actions .button { display:flex; width:100%; justify-content:center; align-items:center; min-height:48px; border:var(--ac-rule)!important; border-radius:0; padding:12px 16px; margin:0; background:#181818!important; color:#fff!important; font-family:inherit; font-weight:500; font-size:14px; line-height:1.5; letter-spacing:normal; box-shadow:none; text-align:center; white-space:normal; }
.ac-catalog .ac-catalog-card .ac-catalog-card__actions .button:hover { background:#363630!important; }
.ac-catalog .ac-catalog-card .ac-catalog-card__actions .button::after { position:static; margin-left:10px; }
.ac-catalog .ac-catalog-card a.added_to_cart { display:block; font-size:14px; margin-top:12px; text-align:center; text-decoration:underline; }
.ac-catalog .ac-catalog-products--single ul.products { grid-template-columns:1fr; }
.ac-catalog .ac-catalog-products--single li.ac-catalog-card { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr auto; }
.ac-catalog-products--single .ac-catalog-card__visual { grid-row:1/3; aspect-ratio:auto; min-height:390px; border-bottom:0; border-right:var(--ac-rule); }
.ac-catalog-products--single .ac-catalog-card__body { padding:38px 40px 26px; }
.ac-catalog .ac-catalog-products--single .ac-catalog-card h2.woocommerce-loop-product__title { font-size:28px; line-height:1.22; margin-bottom:24px; }
.ac-catalog-products--single .ac-catalog-card__actions { padding:0 40px 38px; }
.ac-catalog .ac-catalog-products--single .ac-catalog-card .price { font-size:26px; }
.ac-catalog-placeholder { position:relative; width:100%; height:100%; background:#f3f1eb; overflow:hidden; }
.ac-catalog-placeholder svg { width:100%; height:100%; position:absolute; inset:0; stroke:#89887f; stroke-width:.7; }
.ac-catalog-placeholder>span { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; font:400 72px/1 Georgia,serif; letter-spacing:-.08em; color:#57564e; }
.ac-catalog-placeholder small { font-family:inherit; font-size:9px; line-height:1.6; letter-spacing:.25em; margin-top:14px; }
.ac-catalog .ac-catalog-products li.product-category { background:var(--ac-paper); text-align:center; padding:24px!important; }
.ac-catalog li.product-category img { max-width:100%; height:auto; object-fit:contain; }
.ac-catalog li.product-category h2 { font-size:21px; line-height:1.4; }
.ac-catalog .woocommerce-pagination { margin:34px 0 0; }
.ac-catalog .woocommerce-pagination ul { border:0; display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:0; }
.ac-catalog .woocommerce-pagination ul li { border:0; margin:0; }
.ac-catalog .woocommerce-pagination .page-numbers:not(ul) { border:var(--ac-rule); min-width:44px; min-height:44px; padding:11px 14px; font-size:14px; line-height:1.5; color:var(--ac-ink); background:#fff; }
.ac-catalog .woocommerce-pagination .page-numbers.current { background:#181818; color:#fff; }
.ac-catalog-empty { border:var(--ac-rule); padding:30px; }
.ac-catalog-help { border:var(--ac-rule); margin-top:54px; padding:30px 36px; display:flex; justify-content:space-between; gap:30px; align-items:center; }
.ac-catalog-help h2 { font:400 clamp(26px,3vw,36px)/1.2 Georgia,serif; letter-spacing:-.03em; margin:12px 0; }
.ac-catalog-help p { font-size:15px; line-height:1.7; color:var(--ac-muted); margin:0; }
.ac-catalog-help>a { flex-shrink:0; }
@media(prefers-reduced-motion:no-preference) { .ac-catalog-hero { animation:ac-catalog-enter .6s ease both; } @keyframes ac-catalog-enter { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } } }
@media(max-width:1000px) { .ac-catalog-shell { width:calc(100% - 64px); } .ac-catalog-hero { padding:30px; gap:26px; } .ac-catalog-hero h1 { font-size:clamp(40px,6.5vw,64px); } .ac-catalog-hero__aside { padding-left:26px; } .ac-catalog .ac-catalog-products ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; } .ac-catalog .ac-catalog-products--single ul.products { grid-template-columns:1fr; } .ac-catalog-products--single .ac-catalog-card__body { padding:28px; } .ac-catalog-products--single .ac-catalog-card__actions { padding:0 28px 28px; } .ac-catalog-products--single .ac-catalog-card__visual { min-height:350px; } .ac-catalog-search .yith-ajaxsearchform-container { width:65%; } }
@media(max-width:760px) { body.ac-catalog-view #Content.ac-catalog { padding:24px 0 48px; } .ac-catalog-shell { width:calc(100% - 36px); } .ac-catalog-topline { margin-bottom:20px; } .ac-catalog-hero { grid-template-columns:1fr; padding:28px 24px; gap:24px; } .ac-catalog-hero h1 { font-size:clamp(40px,10vw,64px); margin-top:16px; } .ac-catalog-hero__aside { border-left:0; border-top:var(--ac-rule); padding:22px 0 0; } .ac-catalog-hero__aside>.term-description { font-size:16px; line-height:1.8; } .ac-catalog-categories ul { grid-template-columns:1fr 1fr; gap:0 20px; } .ac-catalog-about>div { padding:22px; } .ac-catalog-search { flex-direction:column; align-items:stretch; padding:18px 20px; gap:12px; } .ac-catalog-search .yith-ajaxsearchform-container,.ac-catalog-search .woocommerce-product-search { width:100%; } .ac-catalog-help { padding:26px 24px; display:block; margin-top:36px; } .ac-catalog-help>a { margin-top:20px; } .ac-catalog .ac-catalog-products--single li.ac-catalog-card { display:flex; } .ac-catalog-products--single .ac-catalog-card__visual { min-height:0; aspect-ratio:4/3; border-right:0; border-bottom:var(--ac-rule); } .ac-catalog-products--single .ac-catalog-card__body { padding:25px 26px; } .ac-catalog-products--single .ac-catalog-card__actions { padding:0 26px 26px; } }
@media(max-width:600px) { .ac-catalog .ac-catalog-products ul.products { grid-template-columns:1fr; gap:22px; } .ac-catalog-toolbar { align-items:stretch; gap:12px; } .ac-catalog .ac-catalog-toolbar .woocommerce-ordering,.ac-catalog .ac-catalog-toolbar select { width:100%; font-size:16px; } .ac-catalog-categories ul { grid-template-columns:1fr; } .ac-catalog .ac-catalog-card h2.woocommerce-loop-product__title { font-size:20px; } .ac-catalog .ac-catalog-products--single .ac-catalog-card h2.woocommerce-loop-product__title { font-size:22px; } }
@media(max-width:370px) { .ac-catalog-hero { padding:24px 20px; } .ac-catalog-hero h1 { font-size:40px; } .ac-catalog-card__body,.ac-catalog-products--single .ac-catalog-card__body { padding:22px; } .ac-catalog-card__actions,.ac-catalog-products--single .ac-catalog-card__actions { padding:0 22px 22px; } }
/* Isolate old catalog styles (including theme-option CSS) from the new cards. */
#Content.ac-catalog ul.products>li.ac-catalog-card { padding:0!important; text-align:left!important; }
#Content.ac-catalog .ac-catalog-card h2.woocommerce-loop-product__title { font-size:22px!important; line-height:1.35!important; text-align:left!important; }
#Content.ac-catalog .ac-catalog-card h2.woocommerce-loop-product__title a { font-size:inherit!important; line-height:inherit!important; color:inherit; }
#Content.ac-catalog .ac-catalog-card .price { font-size:24px!important; text-align:left!important; }
#Content.ac-catalog .ac-catalog-products--single .ac-catalog-card h2.woocommerce-loop-product__title { font-size:28px!important; line-height:1.25!important; }
#Content.ac-catalog .ac-catalog-products--single .ac-catalog-card .price { font-size:28px!important; }
.ac-catalog-search form>.yith-ajaxsearchform-container { width:100%!important; max-width:none; }
.ac-catalog-search .yith-ajaxsearchform-select:not(:has(select)) { display:none; }
.ac-catalog-search .search-navigation { flex:1; min-width:0; position:relative; }
@media(max-width:600px) { #Content.ac-catalog .ac-catalog-card h2.woocommerce-loop-product__title { font-size:20px!important; } #Content.ac-catalog .ac-catalog-products--single .ac-catalog-card h2.woocommerce-loop-product__title { font-size:22px!important; } }
.ac-catalog .woocommerce-pagination.pager_wrapper { float:none; width:100%; margin:34px 0 0!important; }
.ac-catalog .woocommerce-pagination .pager { display:flex; justify-content:center; margin:0; }
.ac-catalog .woocommerce-pagination .pages { display:flex; gap:8px; flex-wrap:wrap; border:0!important; background:none!important; padding:0; }
.ac-catalog .woocommerce-pagination .page-numbers:not(ul) { display:inline-flex; align-items:center; justify-content:center; border-radius:0!important; margin:0; box-shadow:none; }
/* Align sorting and search in one compact row on larger screens. */
.ac-catalog-controls { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:end; margin-bottom:28px; }
.ac-catalog-controls .ac-catalog-toolbar { display:flex; flex-direction:column; align-items:stretch; padding:0; gap:12px; }
.ac-catalog-controls .woocommerce-ordering,.ac-catalog-controls .woocommerce-ordering select { width:100%; }
.ac-catalog-controls .ac-catalog-search { display:block; padding:0; border:0; margin:0; background:transparent; }
.ac-catalog-controls .ac-catalog-search>.ac-catalog-eyebrow { margin-bottom:12px; }
.ac-catalog-controls .ac-catalog-search>.yith-ajaxsearchform-container { width:100%; max-width:none; }
@media(max-width:600px) { .ac-catalog-controls { grid-template-columns:1fr; gap:20px; margin-bottom:24px; } }
.ac-catalog .altaclinic-vat-note { font-size:15px; line-height:1.8; }
.ac-catalog .altaclinic-vat-note em { font-size:inherit; }

/* Keep breathing room when category navigation is hidden. */
.ac-catalog-results { margin-top:28px; }

/* Reserve an equal price-and-saving area, including products without a discount.
   Flex/grid rows already share the card height; complete names remain visible. */
body.ac-atelier #Content .ac-catalog-products:not(.ac-catalog-products--single) .ac-catalog-card .price {
 min-block-size:calc(1.4em + 27px); line-height:1.4; font-weight:600; margin-bottom:0!important;
}
@media(max-width:760px) {
 #Content.ac-catalog .ac-catalog-products--single .ac-catalog-card .price { font-size:26px!important; }
}
