/*
Theme Name: MYBC Studio
Author: Beauty Cosmetics St. Gallen
Description: Massgeschneidertes WooCommerce-Theme für das Fachinstitut Beauty Cosmetics in St. Gallen.
Version: 2.9.4
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: mybc-studio
License: GNU General Public License v2 or later
*/

@font-face {
    font-family: "Instrument Sans";
    src: url("assets/fonts/instrument-sans.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("assets/fonts/instrument-sans-italic.woff2") format("woff2");
    font-weight: 400 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Spectral";
    src: url("assets/fonts/spectral-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Spectral";
    src: url("assets/fonts/spectral-medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Spectral";
    src: url("assets/fonts/spectral-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
	--bc-ink: #494949;
	--bc-deep: #545454;
	--bc-blue: #4c6575;
	--bc-logo-gray: #888888;
	--bc-display-gray: #777777;
	--bc-accent: #bad9ee;
	--bc-on-accent: #36444d;
	--bc-accent-hover: #a8cde5;
	--bc-accent-light: #d4e8f4;
	--bc-tint: #dfedf5;
	--bc-pale: #edf4f8;
	--bc-gray-wash: #f3f4f4;
	--bc-surface-tint: #f1f5f7;
	--bc-mist: #f7f8f8;
	--bc-line: #e0e3e4;
	--bc-control: #777777;
	--bc-muted: #646464;
	--bc-paper: #fff;
	--bc-surface: linear-gradient(125deg, var(--bc-paper), var(--bc-mist) 56%, var(--bc-surface-tint));
	--bc-corner: 0;
	--bc-button-fill: var(--bc-accent);
	--bc-button-text: var(--bc-on-accent);
	--bc-button-hover: var(--bc-accent-hover);
	--bc-button-shadow: 0 4px 14px rgb(70 81 89 / 10%);
	--bc-action-transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
	--bc-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
	--bc-display: "Spectral", Georgia, "Times New Roman", serif;
	--bc-type-meta: .875rem;
	--bc-type-ui: 1rem;
	--bc-type-body: clamp(1.0625rem, 1.04rem + .11vw, 1.125rem);
	--bc-type-lead: clamp(1.125rem, 1.08rem + .2vw, 1.25rem);
	--bc-type-subtitle: clamp(1.3125rem, 1.18rem + .55vw, 1.625rem);
	--bc-type-section: clamp(1.75rem, 1.53rem + 1vw, 2.375rem);
	--bc-type-product: clamp(2rem, 1.76rem + 1.05vw, 2.75rem);
	--bc-type-page: clamp(2.2rem, 1.82rem + 1.95vw, 3.5rem);
	--bc-logo-height: clamp(7rem, 8.65vw, 8.25rem);
	--bc-gutter: clamp(1.25rem, 3.1vw, 4.25rem);
	--bc-width: 102rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--bc-ink); background: var(--bc-paper); font-family: var(--bc-sans); font-size: var(--bc-type-body); line-height: 1.58; }
.mybc-studio {
	--wc-primary: var(--bc-button-fill);
	--wc-primary-text: var(--bc-button-text);
	--wc-secondary: var(--bc-pale);
	--wc-secondary-text: var(--bc-ink);
	--wc-highlight: var(--bc-blue);
	--wc-form-color-text: var(--bc-ink);
	--wc-form-color-background: var(--bc-paper);
	--wc-form-border-color: var(--bc-control);
	--wc-separator-color: var(--bc-line);
	--wp--preset--font-size--small: var(--bc-type-meta);
	--wp--preset--font-size--normal: var(--bc-type-body);
	--wp--preset--font-size--medium: var(--bc-type-lead);
	--wp--preset--font-size--large: var(--bc-type-section);
	--wp--preset--font-size--x-large: var(--bc-type-page);
	--wp--preset--font-size--huge: var(--bc-type-page);
}
img, video { max-width: 100%; height: auto; }
a { color: var(--bc-blue); }
/* Imported WordPress content occasionally wraps an actual link in an underlined span. */
.mybc-studio :where(header, main, footer, dialog) a:any-link,
.mybc-studio :where(header, main, footer, dialog) a:any-link :is(u, ins, [style*="underline" i]),
.mybc-studio :where(main, dialog) :is(u, span[style*="underline" i]):has(> a:only-child) { text-decoration-line: none !important; }
.mybc-studio .price ins { text-decoration: none; }
.mybc-studio :is(.woocommerce-MyAccount-content, .woocommerce-info, .woocommerce-message, .comment-content)
	a:where(:not(.button, .wp-block-button__link, :has(img, svg))) {
	border-radius: var(--bc-corner); color: var(--bc-link-ink, var(--bc-blue)); background: var(--bc-link-bg, var(--bc-pale)); font-weight: 550; transition: var(--bc-action-transition);
}
button, input, select, textarea { font: inherit; color: inherit; }
button, summary, select { cursor: pointer; }
:where(button, a, summary, input, textarea, select, [tabindex]):focus-visible { outline: 2px solid var(--bc-blue); outline-offset: 3px; }
::selection { background: var(--bc-tint); color: var(--bc-on-accent); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .45em; color: var(--bc-ink); }
h1, h2, h3 { font-family: var(--bc-display); font-weight: 400; letter-spacing: -.022em; line-height: 1.12; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: var(--bc-type-page); }
h2 { font-size: var(--bc-type-section); }
.bc-heading-row h2, .bc-collection-intro h1, .bc-about-intro h1, .bc-magazine-heading h1,
.bc-medical-intro h1, .bc-contact-intro h1, .bc-order-heading h1 { color: var(--bc-display-gray); }
h3 { font-size: var(--bc-type-subtitle); font-weight: 500; }
h4, h5, h6 { font: 600 var(--bc-type-lead)/1.35 var(--bc-sans); letter-spacing: -.008em; }
small, figcaption { font-size: var(--bc-type-meta); line-height: 1.45; }
.woocommerce-Price-amount, .bc-topbar a[href^="tel:"], .bc-contact-channels dd { font-variant-numeric: lining-nums tabular-nums; }
p { margin: 0 0 1em; }
.bc-shell { width: min(calc(100% - var(--bc-gutter) * 2), var(--bc-width)); margin-inline: auto; }
.screen-reader-text, .bc-skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.bc-skip:focus { position: fixed; top: .5rem; left: .5rem; padding: .7rem 1rem; color: white; background: var(--bc-ink); z-index: 100005; }
.bc-icon { display: block; flex: 0 0 auto; width: 1.35rem; height: 1.35rem; }
.bc-button, .mybc-studio:is(.woocommerce, .woocommerce-page, :has(.woocommerce)) :is(a, button, input).button,
.mybc-studio .woocommerce #respond input#submit, .mybc-studio .wc-block-components-button,
.mybc-studio .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 3rem; padding: .75rem 1.45rem;
	font: 600 var(--bc-type-ui)/1.28 var(--bc-sans); letter-spacing: 0; text-align: center; text-decoration: none; border: 1px solid transparent;
	border-radius: var(--bc-corner); color: var(--bc-button-text); background: var(--bc-action-bg, var(--bc-button-fill)); box-shadow: var(--bc-action-shadow, none); transition: var(--bc-action-transition);
}
.mybc-studio:is(.woocommerce, .woocommerce-page, :has(.woocommerce)) :is(a, button, input).button:is(.alt, :hover, :focus-visible, :active) {
	color: var(--bc-button-text); background: var(--bc-action-bg, var(--bc-button-fill));
}
.mybc-studio :is(.bc-button, .button, .wp-block-button__link, .wc-block-components-button:not(.is-link)):where(:not(:disabled, .disabled, .loading, [aria-disabled="true"], [aria-busy="true"])):is(:focus-visible, :active) {
	--bc-action-bg: var(--bc-button-hover); --bc-action-shadow: var(--bc-button-shadow);
}
@media (hover: hover) {
	.mybc-studio :is(.bc-button, .button, .wp-block-button__link, .wc-block-components-button:not(.is-link)):where(:not(:disabled, .disabled, .loading, [aria-disabled="true"], [aria-busy="true"])):hover {
		--bc-action-bg: var(--bc-button-hover); --bc-action-shadow: var(--bc-button-shadow);
	}
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.mybc-studio :is(.bc-button, .button, .wp-block-button__link, .wc-block-components-button:not(.is-link)):where(:not(:disabled, .disabled, .loading, [aria-disabled="true"], [aria-busy="true"])):hover { transform: translateY(-1px); }
	.mybc-studio :is(.bc-button, .button, .wp-block-button__link, .wc-block-components-button:not(.is-link)):active { transform: translateY(0); }
}
.bc-text-link { display: inline-flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-height: 2.75rem; padding: .55rem 1.08rem; border: 1px solid transparent; border-radius: var(--bc-corner); color: var(--bc-deep); background: var(--bc-pale); font: 550 var(--bc-type-ui)/1.3 var(--bc-sans); text-align: center; text-decoration: none; transition: var(--bc-action-transition); }
.bc-text-link:is(:focus-visible, :active) { color: var(--bc-deep); background: var(--bc-tint); }
@media (hover: hover) {
	.bc-text-link:hover { color: var(--bc-deep); background: var(--bc-tint); }
}

/* Site header */
.bc-topbar { background: var(--bc-pale); color: var(--bc-blue); font-size: var(--bc-type-meta); }
.bc-topbar .bc-shell { display: flex; align-items: center; justify-content: space-between; min-height: 2rem; }
.bc-topbar a { display: inline-flex; align-items: center; gap: .42rem; padding: .12rem .45rem; margin-inline: -.45rem; border-radius: var(--bc-corner); color: inherit; text-decoration: none; transition: var(--bc-action-transition); }
.bc-topbar .bc-icon { width: .86rem; height: .86rem; color: var(--bc-logo-gray); }
.bc-header { background: white; position: relative; z-index: 10; }
.bc-header { container: bc-masthead / inline-size; }
.bc-header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1.2rem;
    min-height: calc(var(--bc-logo-height) + .75rem);
}
.bc-header-start, .bc-header-end { display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 2.75rem); min-width: 0; }
.bc-header-end { justify-content: flex-end; }
.bc-brand { display: inline-flex; justify-content: center; align-items: center; color: inherit; line-height: 1; text-decoration: none; }
.bc-header-row > .bc-brand { justify-self: center; }
.bc-brand .bc-logo { display: block; width: auto; height: var(--bc-logo-height); max-width: 10rem; object-fit: contain; }
.bc-desktop-nav > ul, .bc-desktop-nav ul ul, .bc-sheet-nav ul, .bc-nojs-nav ul { list-style: none; padding: 0; margin: 0; }
.bc-desktop-nav > ul, .bc-tools { display: flex; align-items: center; }
.bc-desktop-nav > ul { gap: clamp(.2rem, 1.05vw, 1.1rem); }
.bc-desktop-nav li { position: relative; }
.bc-desktop-nav a, .bc-desktop-nav summary { display: flex; align-items: center; gap: .36rem; min-height: 2.75rem; padding: .56rem .85rem; border-radius: var(--bc-corner); color: inherit; font-size: var(--bc-type-ui); font-weight: 500; line-height: 1.3; text-decoration: none; white-space: nowrap; transition: var(--bc-action-transition); }
.bc-header-start > .bc-desktop-nav { margin-inline-start: -.85rem; }
.bc-nav-group > summary { list-style: none; font-size: var(--bc-type-ui); }
.bc-nav-group > summary::-webkit-details-marker { display: none; }
.bc-nav-group > summary .bc-icon { width: .9rem; height: .9rem; transition: transform .16s; }
.bc-nav-group[open] > summary .bc-icon { transform: rotate(180deg); }
.bc-desktop-nav .bc-nav-group > ul { position: absolute; top: calc(100% + .25rem); left: 0; z-index: 12; width: max-content; max-width: 22rem; padding: .45rem; background: white; border: 1px solid var(--bc-line); box-shadow: 0 12px 30px rgb(34 30 24 / 13%); }
.bc-desktop-nav .bc-nav-group > ul :is(a, summary) { min-height: 2.6rem; padding: .48rem .8rem; white-space: normal; }
.bc-desktop-nav ul ul .bc-nav-group > ul { left: 100%; top: 0; }
.bc-tools { gap: .3rem; }
.bc-tool { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; min-width: 2.75rem; height: 2.75rem; padding: 0 .35rem; color: inherit; background: transparent; border: 0; border-radius: var(--bc-corner); text-decoration: none; transition: var(--bc-action-transition); }
.bc-tools .bc-cart-link { gap: .36rem; padding-inline: .5rem; }
.bc-bag-count { display: grid; place-items: center; min-width: 1.2rem; min-height: 1.2rem; padding-inline: .23rem; color: var(--bc-on-accent); background: var(--bc-accent); font: 600 var(--bc-type-meta)/1 var(--bc-sans); font-variant-numeric: tabular-nums; }
.bc-bag-count[data-empty] { color: var(--bc-muted); background: var(--bc-gray-wash); }
.bc-menu-trigger { display: none; gap: .45rem; padding-inline: 0 .6rem; font-size: var(--bc-type-ui); font-weight: 550; }
.bc-nojs-nav { padding-block: .75rem; }
.bc-nojs-nav ul { display: flex; flex-wrap: wrap; gap: .75rem; }
.bc-nojs-nav ul ul { display: block; }
@media (scripting: none) { .bc-js { display: none !important; } }

/* The mobile sheet */
.bc-modal-open { overflow: hidden; }
.bc-dialog { color: var(--bc-ink); border: 0; padding: 0; overscroll-behavior: contain; }
.bc-dialog::backdrop { background: rgb(26 28 27 / 37%); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bc-dialog[open] { animation: bc-sheet-in .28s cubic-bezier(.22,.8,.25,1) both; }
.bc-dialog[open]::backdrop { animation: bc-fade-in .2s ease both; }
.bc-dialog.bc-closing { animation: bc-sheet-out .17s ease-in both; }
.bc-dialog.bc-closing::backdrop { opacity: 0; transition: opacity .17s; }
.bc-menu-dialog { inset: auto 0 0; margin: 0 auto; width: 100%; max-width: 43rem; max-height: calc(100dvh - 1rem - env(safe-area-inset-top)); border-radius: var(--bc-corner); background: var(--bc-paper); color: var(--bc-ink); }
.bc-menu-inner { display: flex; flex-direction: column; min-height: min(76dvh, 43rem); padding: .85rem var(--bc-gutter) max(1.5rem, env(safe-area-inset-bottom)); }
.bc-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bc-menu-dialog .bc-dialog-head { display: grid; grid-template-columns: 1fr auto 1fr; }
.bc-menu-dialog .bc-brand { grid-column: 2; }
.bc-menu-dialog .bc-logo { height: clamp(4.75rem, 11svh, 6rem); }
.bc-menu-dialog .bc-close { justify-self: end; }
.bc-menu-dialog .bc-close { color: var(--bc-deep); background: var(--bc-paper); }
.bc-sheet-nav { margin: .75rem 0 1.45rem; }
.bc-sheet-nav > ul > li > a, .bc-sheet-nav > ul > li > details > summary { display: flex; align-items: center; justify-content: space-between; padding: .55rem .7rem; color: inherit; letter-spacing: -.018em; text-decoration: none; font: 400 var(--bc-type-section)/1.16 var(--bc-display); min-height: 3rem; }
.bc-sheet-nav .bc-nav-group > summary .bc-icon { width: 1.12rem; height: 1.12rem; }
.bc-sheet-nav .bc-nav-group > ul { display: grid; gap: .12rem; padding: .4rem 0 .55rem .8rem; border-left: 1px solid var(--bc-line); margin: .25rem 0 .4rem; }
.bc-sheet-nav ul ul a, .bc-sheet-nav ul ul summary { display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .4rem .55rem; border-radius: var(--bc-corner); color: var(--bc-deep); text-decoration: none; font-size: var(--bc-type-ui); }
.bc-menu-foot { margin-top: auto; padding-top: 1rem; font-size: var(--bc-type-ui); }
.bc-menu-foot a:not(.bc-button) { color: inherit; text-decoration: none; }
.bc-menu-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.bc-search-dialog { width: min(36rem, calc(100% - 1.5rem)); max-width: none; padding: clamp(1.25rem, 4vw, 2.2rem); border-radius: var(--bc-corner); }
.bc-dialog-head h2 { margin: 0; font-size: var(--bc-type-subtitle); font-family: var(--bc-sans); font-weight: 550; letter-spacing: -.016em; line-height: 1.2; }
.bc-search-form { display: flex; gap: .55rem; margin-top: 1.25rem; }
.bc-search-form input { flex: 1 1 auto; width: 0; min-width: 0; }
input:not([type="checkbox"],[type="radio"],[type="hidden"],[type="submit"],[type="button"],[type="image"]), textarea, select {
	max-width: 100%; min-height: 2.8rem; padding: .55rem .75rem; font: inherit; background-color: white; color: var(--bc-ink); border: 1px solid var(--bc-control); border-radius: var(--bc-corner);
}
select { padding-right: 2rem; }
@keyframes bc-sheet-in { from { opacity: .65; transform: translateY(.95rem); } to { opacity: 1; transform: none; } }
@keyframes bc-sheet-out { to { opacity: 0; transform: translateY(.65rem); } }
@keyframes bc-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Home */
.bc-hero {
	--bc-hero-paper: #f5f5f2;
	position: relative; isolation: isolate; display: grid;
	min-height: clamp(26.5rem, calc(100svh - var(--bc-logo-height) - 14rem), 49rem); overflow: hidden; background: var(--bc-hero-paper); color: var(--bc-ink);
}
.bc-hero-image { position: absolute; inset: 0 0 0 auto; z-index: -1; width: 68%; overflow: hidden; }
.bc-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.bc-hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bc-hero-paper), rgb(245 245 242 / 85%) 9%, rgb(245 245 242 / 27%) 29%, transparent 49%); }
.bc-hero-copy {
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
	padding-block: clamp(2rem, 3.8vw, 4rem);
}
.bc-hero h1 {
	margin: 0 0 0 -.026em; color: inherit;
	font: 530 clamp(3rem, 2.25rem + 3.1vw, 5.35rem)/.99 var(--bc-sans);
	letter-spacing: -.065em;
}
.bc-hero-lead { max-width: min(32ch, 39vw); margin: clamp(1rem, 1.8vw, 1.6rem) 0 0; font-size: var(--bc-type-lead); line-height: 1.52; text-wrap: pretty; }
.bc-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem .8rem; margin-top: clamp(1.4rem, 2.35vw, 2.1rem); }
.bc-hero-actions .bc-button { --bc-button-fill: var(--bc-accent); --bc-button-text: var(--bc-on-accent); --bc-button-hover: var(--bc-accent-hover); }
.bc-hero-actions .bc-text-link { min-height: 3rem; color: var(--bc-deep); background: var(--bc-paper); }
.bc-hero-actions .bc-text-link:is(:focus-visible, :active) { color: var(--bc-deep); background: var(--bc-tint); }
.bc-hero-actions a:focus-visible { outline-color: var(--bc-blue); }
@media (hover: hover) {
	.bc-hero-actions .bc-text-link:hover { color: var(--bc-deep); background: var(--bc-tint); }
}
.bc-jubilee {
	--bc-seal-ink: #36546b;
	--bc-seal-rule: #82a6bd;
	--bc-seal-width: clamp(5.5rem, 9.5vw, 10rem);
	--bc-seal-gap: clamp(1rem, 2vw, 2.4rem);
	container: bc-jubilee / inline-size; color: var(--bc-seal-ink);
	background: linear-gradient(104deg, var(--bc-accent-light), #e6f1f7 57%, var(--bc-pale));
}
.bc-jubilee-inner {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: var(--bc-seal-gap);
	padding-block: clamp(1.05rem, 1.65vw, 1.75rem);
}
.bc-jubilee h2 {
	display: grid; grid-template-columns: var(--bc-seal-width) minmax(0, 1fr); align-items: center; gap: var(--bc-seal-gap);
	margin: 0; color: inherit; font: 500 clamp(1.875rem, 1.25rem + 1.9vw, 3.25rem)/1.07 var(--bc-sans); letter-spacing: -.045em;
}
.bc-jubilee-number {
	position: relative; display: grid; place-items: center; min-height: .94em;
	font: 400 clamp(5rem, 7.8vw, 8.25rem)/.88 var(--bc-display); letter-spacing: -.055em; font-variant-numeric: lining-nums;
}
.bc-jubilee-number::before, .bc-jubilee-number::after {
	content: ""; position: absolute; width: .15em; height: .15em; border: solid var(--bc-seal-rule);
}
.bc-jubilee-number::before { inset: 0 auto auto 0; border-width: 1px 0 0 1px; }
.bc-jubilee-number::after { inset: auto 0 0 auto; border-width: 0 1px 1px 0; }
.bc-jubilee-wordmark { display: grid; gap: .2em; }
.bc-jubilee-date { color: var(--bc-blue); font: 450 clamp(.9375rem, .83rem + .35vw, 1.125rem)/1.4 var(--bc-sans); letter-spacing: .055em; text-transform: uppercase; }
.bc-jubilee-date strong { font-weight: 650; }
.bc-jubilee-inner::after {
	content: ""; grid-area: 1 / 2; justify-self: center; width: min(100%, 27rem); height: clamp(2.5rem, 4.9vw, 5rem);
	background: radial-gradient(circle, var(--bc-seal-rule) 1.1px, transparent 1.45px) center / .78rem .78rem;
	mask-image: linear-gradient(90deg, transparent, black 30%, black 70%, transparent); opacity: .7;
}
.bc-jubilee-link {
	grid-area: 1 / 3; justify-self: end; display: inline-flex; align-items: center; gap: .65em;
	min-height: 2.75rem; padding: .35em .5em; margin-inline: -.5em;
	color: inherit; font: 550 var(--bc-type-ui)/1.4 var(--bc-sans); text-decoration: none; transition: background-color .2s ease;
}
.bc-jubilee-link > span { font-size: 1.25em; line-height: 1; }
.bc-jubilee-link:focus-visible { outline: 2px solid var(--bc-seal-ink); outline-offset: 3px; }
.bc-jubilee-link:is(:active, :focus-visible) { background: var(--bc-paper); }
@media (hover: hover) {
	.bc-jubilee-link:hover { background: rgb(255 255 255 / 65%); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.bc-jubilee-link > span { transition: transform .2s ease-out; }
	.bc-jubilee-link:hover > span { transform: translateX(.15em); }
}
@container bc-jubilee (max-width: 39em) {
	.bc-jubilee-inner { grid-template-columns: var(--bc-seal-width) minmax(0, 1fr); row-gap: .15rem; }
	.bc-jubilee h2 { grid-area: 1 / 1 / 2 / -1; }
	.bc-jubilee-link { grid-area: 2 / 2; justify-self: start; }
	.bc-jubilee-inner::after { grid-area: 2 / 1; width: 66%; height: 1rem; background-size: .52rem .52rem; }
}
@container bc-jubilee (max-width: 21em) {
	.bc-jubilee-inner { --bc-seal-width: 4.75rem; --bc-seal-gap: .8rem; }
	.bc-jubilee h2 { font-size: 1.75rem; }
	.bc-jubilee-number { font-size: 4.5rem; }
}
@container bc-jubilee (max-width: 17em) {
	.bc-jubilee-inner, .bc-jubilee h2 { grid-template-columns: minmax(0, 1fr); }
	.bc-jubilee-number { width: var(--bc-seal-width); }
	.bc-jubilee-link { grid-column: 1; }
	.bc-jubilee-inner::after { display: none; }
}
.bc-brandbar { background: var(--bc-mist); }
.bc-brandbar-inner { display: flex; align-items: center; gap: clamp(1.6rem, 4vw, 4rem); min-height: clamp(4.7rem, 6.5vw, 6rem); }
.bc-brandbar-label { flex: none; color: var(--bc-muted); font-size: var(--bc-type-meta); font-weight: 500; letter-spacing: .025em; }
.bc-brand-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1.3rem; width: 100%; min-width: 0; }
.bc-brand-links a { font-weight: 550; letter-spacing: -.012em; display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem .65rem; margin-inline: -.35rem; border-radius: var(--bc-corner); color: var(--bc-muted); font-family: var(--bc-sans); font-size: var(--bc-type-lead); line-height: 1; text-decoration: none; white-space: nowrap; }
.bc-brand-links .bc-brand-derma-sr, .bc-brand-links .bc-brand-swiss-color { font-family: var(--bc-sans); font-weight: 500; font-size: var(--bc-type-ui); text-transform: uppercase; letter-spacing: .035em; }
.bc-section { padding-block: clamp(3.4rem, 6vw, 6.3rem); }
.bc-heading-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .65rem 1.2rem; margin-bottom: clamp(1.5rem, 2.8vw, 2.9rem); }
.bc-heading-row > div { min-width: 0; }
.bc-heading-row h2, .bc-page-head h1 { margin: 0; }
.bc-heading-row > .bc-text-link { flex: none; font-size: var(--bc-type-ui); margin-bottom: .2rem; }
.bc-institute { overflow: hidden; border-radius: var(--bc-corner); display: grid; grid-template-columns: 1.08fr 1fr; background: var(--bc-surface); }
.bc-institute > img { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; }
.bc-institute-copy { align-self: center; padding: clamp(2.2rem, 5vw, 5.5rem); }
.bc-institute h2 { font-size: var(--bc-type-section); line-height: 1.12; }
.bc-institute-copy > p { color: var(--bc-muted); max-width: 31rem; }
.bc-appointment-note { margin: 1.5rem 0 0; font-size: var(--bc-type-meta); }
.bc-journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2.5vw, 2.6rem); }
.bc-journal-card { position: relative; }
.bc-journal-card a { color: inherit; text-decoration: none; }
.bc-journal-card h3 a { border-radius: var(--bc-corner); background: var(--bc-link-bg, transparent); box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: var(--bc-action-transition); }
.bc-journal-card h3 a::after { position: absolute; inset: 0; content: ""; }
.bc-journal-image { border-radius: var(--bc-corner); aspect-ratio: 1.53; overflow: hidden; background: var(--bc-pale); margin-bottom: 1rem; }
.bc-journal-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s; }
.bc-journal-card:focus-within h3 { color: var(--bc-blue); }
.bc-journal-card:focus-within .bc-journal-image { box-shadow: 0 0 0 3px var(--bc-tint); }
@media (hover: hover) {
	.bc-journal-card:hover h3 { color: var(--bc-blue); }
	.bc-journal-card:hover .bc-journal-image { box-shadow: 0 0 0 3px var(--bc-tint); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.bc-journal-card:hover img { transform: scale(1.035); }
}
.bc-journal-card .bc-journal-date, .bc-page-head .bc-journal-date { color: var(--bc-muted); font-size: var(--bc-type-meta); }
.bc-journal-card h3 { margin-top: .4rem; font-size: var(--bc-type-subtitle); letter-spacing: -.018em; line-height: 1.2; }

/* WooCommerce catalog and product pages */
.bc-store, .bc-selection { container: bc-products / inline-size; }
.bc-store, .bc-page, .bc-listing, .bc-article { padding-block: clamp(1.6rem, 3vw, 3rem) clamp(3.5rem, 6vw, 6rem); }
.mybc-studio .woocommerce-breadcrumb { margin: 0 0 1.2rem; color: var(--bc-muted); font: 400 var(--bc-type-meta)/1.5 var(--bc-sans); }
.mybc-studio .woocommerce-breadcrumb a { color: var(--bc-muted); }
.mybc-studio.woocommerce .woocommerce-ordering select { min-height: 2.75rem; width: 100%; padding-block: .4rem; border-radius: var(--bc-corner); font-size: var(--bc-type-ui); }
.mybc-studio .woocommerce ul.products, .mybc-studio.woocommerce ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.8rem, 3.4vw, 3.8rem) clamp(.85rem, 1.65vw, 1.7rem);
	clear: both; margin: 0; padding: 0; list-style: none;
}
.mybc-studio .woocommerce ul.products::before, .mybc-studio .woocommerce ul.products::after, .mybc-studio.woocommerce ul.products::before, .mybc-studio.woocommerce ul.products::after { display: none; }
.mybc-studio .woocommerce ul.products li.product, .mybc-studio.woocommerce ul.products li.product {
    float: none; clear: none; display: flex; flex-direction: column; width: auto; min-width: 0; margin: 0; padding: 0;
}
.mybc-studio ul.products li.product a { color: var(--bc-ink); text-decoration: none; }
.mybc-studio ul.products li.product .woocommerce-loop-product__link { display: block; flex: 1 1 auto; }
.bc-product-picture {
    position: relative;
    isolation: isolate;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    margin-bottom: 1.05rem;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-corner);
    background: linear-gradient(160deg, var(--bc-mist), var(--bc-pale));
}
.mybc-studio ul.products li.product .bc-product-picture img {
    display: block; width: 100%; height: 100%; margin: 0; padding: 6.5%; object-fit: contain;
    translate: var(--bc-image-x, 0%) var(--bc-image-y, 0%);
    scale: var(--bc-image-scale, 1);
    mix-blend-mode: multiply; transition: transform .32s ease, opacity .25s ease;
}
.bc-product-picture .bc-alternate-photo { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
@media (hover: hover) {
    .woocommerce-loop-product__link:hover .bc-alternate-photo { opacity: 1; }
    .woocommerce-loop-product__link:hover .bc-product-picture:has(.bc-alternate-photo) img:first-of-type { opacity: 0; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .mybc-studio li.product .woocommerce-loop-product__link:hover .bc-product-picture img { transform: scale(1.035); }
}
.woocommerce-loop-product__link:focus-visible .bc-alternate-photo { opacity: 1; }
.woocommerce-loop-product__link:focus-visible .bc-product-picture:has(.bc-alternate-photo) img:first-of-type { opacity: 0; }
.bc-product-brand { display: block; margin-bottom: .32rem; color: var(--bc-blue); font: 550 var(--bc-type-meta)/1.42 var(--bc-sans); letter-spacing: .022em; text-transform: none; }
.mybc-studio .woocommerce ul.products li.product .woocommerce-loop-product__title,
.mybc-studio.woocommerce ul.products li.product .woocommerce-loop-product__title, .mybc-studio .woocommerce-loop-category__title {
    margin: 0 0 .38rem; padding: 0; color: var(--bc-ink);
    font: 550 var(--bc-type-lead)/1.28 var(--bc-sans); letter-spacing: -.014em; overflow-wrap: anywhere;
}
.mybc-studio .woocommerce ul.products li.product .price, .mybc-studio.woocommerce ul.products li.product .price {
    display: block; margin: .18rem 0 .55rem; color: var(--bc-ink); font: 550 var(--bc-type-ui)/1.4 var(--bc-sans); font-variant-numeric: tabular-nums;
}
.mybc-studio ul.products li.product .wc-gzd-additional-info { margin: .05rem 0; color: var(--bc-muted); font-size: var(--bc-type-meta); line-height: 1.45; }
.mybc-studio ul.products li.product .wc-gzd-additional-info a { color: var(--bc-blue); }
.mybc-studio.woocommerce ul.products li.product a.button, .mybc-studio .woocommerce ul.products li.product a.button {
    width: 100%; min-height: 2.8rem; margin-top: .8rem; padding: .6rem .65rem; border: 1px solid var(--bc-line);
    --bc-button-fill: var(--bc-pale); --bc-button-hover: var(--bc-tint);
    border-radius: var(--bc-corner); background: var(--bc-action-bg, var(--bc-button-fill)); color: var(--bc-deep); font-size: var(--bc-type-ui); font-weight: 550;
}
.mybc-studio ul.products .added_to_cart { display: block; margin-top: .4rem; font-size: var(--bc-type-meta); }
.mybc-studio.woocommerce span.onsale, .mybc-studio .woocommerce span.onsale {
    top: .7rem; left: .7rem; right: auto; bottom: auto; min-width: auto; min-height: auto; margin: 0; padding: .33rem .65rem;
    border-radius: var(--bc-corner); color: white; background: var(--bc-blue); font: 600 var(--bc-type-meta)/1.3 var(--bc-sans); z-index: 1;
}
.mybc-studio .woocommerce nav.woocommerce-pagination, .mybc-studio.woocommerce nav.woocommerce-pagination, .mybc-studio .pagination { margin-top: 2.5rem; text-align: center; }
.mybc-studio nav.woocommerce-pagination ul { border: 0; }
.mybc-studio nav.woocommerce-pagination ul li { margin: .12rem; border: 0; }
.mybc-studio nav.woocommerce-pagination li a, .mybc-studio nav.woocommerce-pagination li span, .mybc-studio .pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; min-width: 2.5rem; color: var(--bc-ink); text-decoration: none; }
.mybc-studio nav.woocommerce-pagination li :is(a, span), .mybc-studio .pagination .page-numbers { border-radius: var(--bc-corner); }
.mybc-studio nav.woocommerce-pagination li span.current, .mybc-studio .pagination .current { background: var(--bc-tint); color: var(--bc-deep); font-weight: 600; }
.single-product .bc-store > .product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
    align-items: start;
    gap: 0 clamp(2.25rem, 5.25vw, 6rem);
}
.single-product .bc-store > .product > * { grid-column: 1 / -1; min-width: 0; }
.single-product .bc-store > .product > .onsale { position: absolute; }
.mybc-studio.single-product .bc-store div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; float: none; width: 100%; margin: 0 0 2rem; }
.mybc-studio.single-product .bc-store div.product > .summary { grid-column: 2; grid-row: 1; float: none; width: auto; margin: 0 0 2rem; padding: clamp(.4rem, 2vw, 2.5rem) 0 0; }
.mybc-studio.woocommerce div.product .product_title { margin: .48rem 0 .75rem; font-size: var(--bc-type-product); line-height: 1.08; overflow-wrap: anywhere; }
.mybc-studio.woocommerce div.product .summary > .price { margin: 0 0 .4rem; color: var(--bc-ink); font: 550 var(--bc-type-subtitle)/1.25 var(--bc-sans); letter-spacing: -.012em; }
.mybc-studio.woocommerce div.product .woocommerce-product-gallery__wrapper { margin: 0; background: var(--bc-mist); }
.mybc-studio.woocommerce div.product .woocommerce-product-gallery { isolation: isolate; }
.mybc-studio.woocommerce div.product .woocommerce-product-gallery__image > a { display: block; aspect-ratio: 1.05; border: 1px solid var(--bc-line); border-radius: var(--bc-corner); overflow: hidden; background: var(--bc-mist); }
.mybc-studio.woocommerce div.product .woocommerce-product-gallery__image > a img { display: block; width: 100%; height: 100%; padding: 7%; object-fit: contain; mix-blend-mode: multiply; }
.mybc-studio.woocommerce div.product .woocommerce-product-gallery__wrapper, .mybc-studio.woocommerce div.product .flex-viewport { border-radius: var(--bc-corner); overflow: hidden; }
.mybc-studio.woocommerce div.product .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .65rem; }
.mybc-studio.woocommerce div.product .flex-control-thumbs li { float: none; width: 4.5rem; }
.mybc-studio.woocommerce div.product .flex-control-thumbs img { height: 4.5rem; padding: .3rem; object-fit: contain; background: var(--bc-mist); border: 1px solid var(--bc-line); border-radius: var(--bc-corner); }
.mybc-studio.woocommerce div.product .flex-control-thumbs img.flex-active { border-color: var(--bc-blue); }
.mybc-studio .product .summary .wc-gzd-additional-info { margin-block: .2rem; font-size: var(--bc-type-meta); color: var(--bc-muted); }
.mybc-studio.woocommerce div.product .summary form.cart { margin-block: 1.35rem; }
.mybc-studio.woocommerce div.product .summary :is(form.cart:not(.variations_form):not(.grouped_form), .woocommerce-variation-add-to-cart) { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.mybc-studio.woocommerce div.product .summary .cart .quantity { float: none; margin: 0; }
.mybc-studio.woocommerce div.product .summary .cart .single_add_to_cart_button { float: none; flex: 1 1 auto; min-height: 3.1rem; }
.mybc-studio.woocommerce div.product form.cart .variations { margin-block: 0 .9rem; }
.mybc-studio.woocommerce div.product form.cart .variations select { min-width: 0; max-width: 100%; }
.mybc-studio .woocommerce-product-details__short-description { margin-block: 1.4rem; padding-top: 1.15rem; border-top: 1px solid var(--bc-line); }
.mybc-studio .woocommerce-product-details__short-description ul { padding-left: 1.25rem; }
.mybc-studio .product_meta { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--bc-line); color: var(--bc-muted); font-size: var(--bc-type-ui); }
.mybc-studio .product_meta > span { display: block; }
.mybc-studio .woocommerce-tabs { clear: both; padding-block: 1rem 2rem; }
.mybc-studio .woocommerce-tabs .panel { max-width: 55rem; }
.mybc-studio .woocommerce-tabs .panel h2, .mybc-studio .related h2:not(.woocommerce-loop-product__title), .mybc-studio .upsells > h2, .mybc-studio .woocommerce h2 { letter-spacing: -.022em; }
.mybc-studio .related > h2, .mybc-studio .upsells > h2 { margin: 1.2rem 0; }
.mybc-studio.woocommerce div.product .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--bc-line); padding: 0; }
.mybc-studio.woocommerce div.product .woocommerce-tabs ul.tabs::before, .mybc-studio.woocommerce div.product .woocommerce-tabs li::before, .mybc-studio.woocommerce div.product .woocommerce-tabs li::after { display: none; }
.mybc-studio.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 .35rem .4rem 0; padding: .1rem .6rem; border: 0; background: transparent; border-radius: var(--bc-corner); }
.mybc-studio.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--bc-tint); }
.mybc-studio div.product .woocommerce-tabs ul.tabs li a { font-weight: 500; }
.mybc-studio .woocommerce-error, .mybc-studio .woocommerce-message, .mybc-studio .woocommerce-info { background: var(--bc-pale); color: var(--bc-ink); border-top-color: var(--bc-blue); }
.mybc-studio .woocommerce .woocommerce-error { border-top-color: #a44342; }
.mybc-studio .woocommerce-info::before, .mybc-studio .woocommerce-message::before { color: var(--bc-blue); }
.mybc-studio .quantity .qty { width: 4.5rem; min-height: 3rem; }
.mybc-studio .woocommerce .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mybc-studio .woocommerce .woocommerce-MyAccount-navigation a { display: block; padding: .55rem .75rem; border-radius: var(--bc-corner); text-decoration: none; }
.mybc-studio .woocommerce .woocommerce-MyAccount-navigation .is-active a { background: var(--bc-pale); }
.mybc-studio .woocommerce form.checkout_coupon, .mybc-studio .woocommerce form.login, .mybc-studio .woocommerce form.register, .mybc-studio .woocommerce table.shop_table { border-color: var(--bc-line); border-radius: var(--bc-corner); }
.mybc-studio .woocommerce form .form-row label { font-weight: 500; }
.mybc-studio .wc-block-components-checkout-step__heading, .mybc-studio .wp-block-woocommerce-cart h2 { font-family: var(--bc-sans); letter-spacing: normal; }
.mybc-studio .wc-block-components-button { text-decoration: none; }

/* WordPress pages and editorial content */
.bc-page-head { margin: clamp(.8rem, 2vw, 2rem) 0 clamp(1.7rem, 4vw, 3.5rem); }
.bc-page-head h1 { text-wrap: balance; max-width: 23ch; }
.bc-page-intro { max-width: 44ch; margin: .75rem 0 0; color: var(--bc-muted); font-size: var(--bc-type-lead); }
.bc-page-head .bc-text-link { margin-bottom: 1rem; }
.bc-entry { display: flow-root; overflow-wrap: anywhere; }
.bc-entry p, .bc-entry li { line-height: 1.65; }
.bc-entry :where(h2,h3,h4) { margin-top: 1.1em; }
.bc-entry :where(.wp-block-column, .wp-block-media-text__content) > :first-child { margin-top: 0; }
.bc-entry .wp-block-image img { display: block; height: auto; }
.bc-entry .wp-block-button .wp-block-button__link:where(.has-background, .has-text-color) {
	color: var(--bc-button-text) !important; background-color: var(--bc-action-bg, var(--bc-button-fill)) !important;
}
.bc-entry .wp-block-button.is-style-outline { --bc-button-fill: var(--bc-paper); --bc-button-text: var(--bc-deep); --bc-button-hover: var(--bc-tint); }
.bc-entry .wp-block-button.is-style-outline .wp-block-button__link { border: 1px solid var(--bc-control); }
.bc-entry figure { max-width: 100%; margin-inline: 0; }
.bc-entry .aligncenter { margin-inline: auto; }
.bc-entry .alignleft { float: left; margin: .4rem 1.5rem 1rem 0; }
.bc-entry .alignright { float: right; margin: .4rem 0 1rem 1.5rem; }
.bc-entry .wp-block-table, .bc-entry pre { max-width: 100%; overflow-x: auto; }
.bc-entry pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.bc-entry iframe { max-width: 100%; }
.bc-entry .wp-block-cover { margin-bottom: 2rem; }
.bc-entry .wp-block-cover h1, .bc-entry .wp-block-cover h2, .bc-entry .wp-block-cover h3 { color: inherit; }
.bc-entry blockquote { border-inline-start: 2px solid var(--bc-accent); margin: 1.8rem 0; padding: .35rem 1.6rem; font: italic 400 var(--bc-type-subtitle)/1.38 var(--bc-display); }
.bc-entry blockquote cite { font: 500 var(--bc-type-meta)/1.45 var(--bc-sans); }
.bc-entry table { border-collapse: collapse; max-width: 100%; }
.bc-entry td, .bc-entry th { vertical-align: top; }
.bc-page:not(.woocommerce-page) .bc-entry > :where(p,ul,ol,pre) { max-width: 53rem; }
.bc-article { max-width: 66rem; }
.bc-article .bc-page-head h1 { margin-bottom: .3em; }
.bc-article-image { margin: 0 0 2rem; }
.bc-article-image img { width: 100%; max-height: 33rem; object-fit: contain; background: var(--bc-mist); display: block; }
.bc-article .bc-entry { max-width: 52rem; margin-inline: auto; }
.bc-page .woocommerce::after { content: ""; display: table; clear: both; }
.bc-footer { background: var(--bc-gray-wash); color: var(--bc-ink); }
.bc-footer-main { display: grid; grid-template-columns: 1.45fr 1.05fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 4rem); padding-block: clamp(2.8rem, 5vw, 5rem); }
.bc-footer h2 { margin-bottom: .8rem; color: var(--bc-deep); font: 600 var(--bc-type-lead)/1.35 var(--bc-sans); letter-spacing: -.012em; }
.bc-footer address, .bc-footer-main > div > a, .bc-footer-intro p { color: var(--bc-ink); font-size: var(--bc-type-ui); line-height: 1.6; }
.bc-footer address { margin-bottom: .5rem; font-style: normal; }
.bc-footer-main > div > a { display: block; width: fit-content; margin-block: .22rem; }
.bc-footer a { color: inherit; text-decoration: none; }
.bc-footer a, .bc-menu-foot a:not(.bc-button) { border-radius: var(--bc-corner); padding: .18rem .5rem; margin-inline: -.5rem; }
.bc-footer-intro h2 { font: 400 var(--bc-type-subtitle)/1.15 var(--bc-display); letter-spacing: -.02em; }
.bc-footer-intro p { margin: 0; max-inline-size: 36ch; text-wrap: pretty; }
.bc-footer-base { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--bc-line); color: var(--bc-muted); font-size: var(--bc-type-meta); }
.bc-footer-base nav { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; }

/* Only components with a surface opt in to this pointer, keyboard and touch feedback. */
.mybc-studio :is(a, button, summary, [role="button"]):where(:not(:disabled, .disabled, .loading, [aria-disabled="true"])):is(:focus-visible, :active) {
	--bc-link-bg: var(--bc-link-hover, var(--bc-tint)); --bc-link-ink: var(--bc-deep);
}
@media (hover: hover) {
	.mybc-studio :is(a, button, summary, [role="button"]):where(:not(:disabled, .disabled, .loading, [aria-disabled="true"])):hover {
		--bc-link-bg: var(--bc-link-hover, var(--bc-tint)); --bc-link-ink: var(--bc-deep);
	}
}
.bc-desktop-nav :is(a, summary), .bc-sheet-nav :is(a, summary), .bc-tools .bc-tool, .bc-dialog .bc-close,
.bc-brand-links a, .bc-nojs-nav a,
.mybc-studio .woocommerce .woocommerce-MyAccount-navigation a, .mybc-studio .pagination a.page-numbers,
.mybc-studio nav.woocommerce-pagination ul li a.page-numbers {
	color: var(--bc-link-ink, var(--bc-ink)); background-color: var(--bc-link-bg, transparent); text-decoration: none; transition: var(--bc-action-transition);
}
:is(.bc-desktop-nav, .bc-sheet-nav) :is(a[aria-current], details[open] > summary, details:has(a[aria-current]) > summary),
.mybc-studio:has(.bc-collection, .product .summary) .bc-nav-shop > details > summary,
.mybc-studio .woocommerce .woocommerce-MyAccount-navigation .is-active a { color: var(--bc-blue); background-color: var(--bc-link-bg, var(--bc-pale)); }
.bc-topbar a, .bc-footer a, .bc-menu-foot a:not(.bc-button), .bc-menu-dialog .bc-close {
	--bc-link-hover: var(--bc-paper); background-color: var(--bc-link-bg, transparent); transition: var(--bc-action-transition);
}
.bc-menu-dialog .bc-close { --bc-link-hover: var(--bc-tint); background-color: var(--bc-link-bg, var(--bc-paper)); }
.bc-brand { border-radius: var(--bc-corner); transition: opacity .18s; }
@media (hover: hover) { .bc-brand:hover { opacity: .8; } }
.mybc-studio :is(.bc-entry :is(p, li, td), .bc-article figcaption, .bc-dossier-body, .bc-contact dd, .bc-about-prose,
	.bc-service-body, .bc-login-options, .bc-cart-feedback, .bc-visit-info p, .wc-block-components-checkbox__label, .woocommerce-privacy-policy-text)
	a:where(:not(.button, .bc-button, .bc-text-link, .wp-block-button__link, :has(img, svg))) {
	padding-inline: .13em; border-radius: var(--bc-corner); color: var(--bc-link-ink, var(--bc-blue)); background-color: var(--bc-link-bg, var(--bc-pale));
	font-weight: 550; text-decoration: none; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: var(--bc-action-transition);
}
.mybc-studio .woocommerce-breadcrumb a {
	display: inline-block; padding: .2rem .35rem; margin-inline: -.13rem; border-radius: var(--bc-corner); color: var(--bc-link-ink, var(--bc-blue)); background-color: var(--bc-link-bg, transparent); text-decoration: none; transition: var(--bc-action-transition);
}
.mybc-studio .woocommerce .lost_password a, .mybc-studio .reset_variations, .mybc-studio ul.products .added_to_cart {
	padding: .15em .4em; border-radius: var(--bc-corner); color: var(--bc-blue); background: var(--bc-link-bg, var(--bc-pale)); text-decoration: none; transition: var(--bc-action-transition);
}

@media (max-width: 980px) {
    :root { --bc-logo-height: clamp(5.75rem, 13vw, 6.7rem); }
    .bc-desktop-nav, .bc-account { display: none; }
    .bc-menu-trigger { display: inline-flex; }
    .bc-header-row { min-height: calc(var(--bc-logo-height) + .5rem); }
    .bc-brandbar-inner { gap: 1.1rem; }
    .bc-brand-links { gap: .7rem; }
    .mybc-studio .woocommerce ul.products, .mybc-studio.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .bc-selection .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .bc-footer-main { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
	.bc-hero { min-height: 31rem; }
	.bc-hero h1 { font-size: clamp(2.75rem, 10.5vw, 4.75rem); }
    .mybc-studio .woocommerce ul.products, .mybc-studio.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .bc-journal-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .bc-brandbar-inner { flex-wrap: wrap; gap: .35rem; padding-block: .9rem; }
    .bc-brand-links { flex-wrap: wrap; gap: .4rem 1rem; }
    .bc-institute-copy { padding: 1.7rem; }
    .single-product .bc-store > .product { grid-template-columns: minmax(0, 1fr); }
    .mybc-studio.single-product .bc-store div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: auto; margin-bottom: 1.4rem; }
    .mybc-studio.single-product .bc-store div.product > .summary { grid-column: 1; grid-row: auto; padding: 0; }
    .mybc-studio.woocommerce div.product .woocommerce-product-gallery__image > a { aspect-ratio: auto; height: min(91vw, 27rem); }
}
@media (max-width: 700px) {
    :root { --bc-gutter: 1.25rem; }
    .bc-hero { display: block; min-height: 0; }
    .bc-hero-image { position: relative; inset: auto; width: 100%; height: clamp(14rem, min(62vw, 35svh), 24rem); }
    .bc-hero-image::after { background: linear-gradient(0deg, var(--bc-hero-paper), transparent 17%); }
    .bc-hero-copy { padding-block: .8rem 2.3rem; }
    .bc-hero-lead { margin: 1.1rem 0 0; max-width: 34ch; }
    .bc-hero-actions { gap: .55rem; margin-top: 1.25rem; }
    .bc-brandbar-inner { display: block; padding-block: 1.05rem; }
    .bc-brandbar-label { display: block; margin-bottom: .4rem; }
    .bc-brand-links { display: flex; justify-content: flex-start; gap: .14rem 1.15rem; }
    .bc-brand-links a, .bc-brand-links .bc-brand-derma-sr, .bc-brand-links .bc-brand-swiss-color { padding-block: .35rem; }
    .bc-institute { grid-template-columns: 1fr; }
    .bc-institute > img { aspect-ratio: 1.55; min-height: 0; max-height: 22rem; }
    .bc-institute-copy { padding: 1.7rem 1.35rem 2rem; }
    .bc-institute h2 br { display: none; }
    .bc-section { padding-block: 2.9rem; }
    .bc-heading-row { align-items: end; gap: .6rem; }

    .bc-footer-main { gap: 1.9rem 1rem; }
    .bc-footer-base { flex-wrap: wrap; }
}
@media (max-width: 510px) {
    .bc-topbar .bc-shell { justify-content: center; min-height: 1.75rem; }
    .bc-topbar .bc-top-phone { display: none; }
    .bc-header-row { gap: .4rem; }
    .bc-tools { gap: 0; }
    .bc-tools .bc-tool { min-width: 2.75rem; padding-inline: .26rem; }

    .bc-hero-actions :is(.bc-button, .bc-text-link) { padding-inline: .8rem; }

    .bc-product-picture { margin-bottom: .75rem; }

    .bc-journal-grid { grid-template-columns: minmax(0,1fr); }

    .bc-footer-intro, .bc-footer-main > div:nth-child(2) { grid-column: 1 / -1; }
    .bc-footer-main { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.25rem), 1fr)); }
    .bc-footer-base { align-items: flex-start; flex-direction: column; }
    .bc-search-form { flex-wrap: wrap; }
    .bc-search-form .bc-button { padding-inline: .8rem; }
}
@media (max-width: 355px) {
    :root { --bc-gutter: .9rem; }
    .bc-hero h1 { font-size: 2.6rem; }
    .bc-hero-actions :is(.bc-button, .bc-text-link) { padding-inline: .59rem; font-size: var(--bc-type-meta); }
    .bc-heading-row { align-items: flex-start; flex-direction: column; }
}
@media (max-height: 540px) and (orientation: landscape) {
	.bc-hero { min-height: 25rem; }
	.bc-hero-copy { padding-block: 2rem; }
	.bc-hero h1 { font-size: var(--bc-type-page); }
}
@media (prefers-reduced-motion: no-preference) {
	@keyframes bc-copy-in { from { opacity: .74; transform: translateY(.52rem); } }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; }
    .bc-dialog[open], .bc-dialog[open]::backdrop { animation: none; }
    .mybc-studio { --bc-action-transition: none; }
    .mybc-studio :is(a, button, summary, .bc-product-picture, .bc-journal-image, .bc-lead-picture) :is(img, .bc-icon) { transition: none !important; }
}
