/*
Theme Name: Enhance
Theme URI: https://esbb.au
Description: The theme for esbb.au, Enhance Skin Body Beauty in Ocean Grove. A child of Hello Elementor that carries the clinic's own colours and faces, its header and footer, and the base styles every Elementor page starts from. Ships beside the Enhance Site plugin (presskit-esbb), which holds the treatment menu and the business facts the header and footer print.
Author: Ryan Parker-Hill
Template: hello-elementor
Version: 0.3.8
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: esbb
*/

/*
 * The tokens are the brand guide's (Samone Shepherdson for Enhance, July 2022,
 * the clinic's own file, applied here for the first time): Wafer, Pantone 4755C,
 * the ground of every printed piece; Chocolate, its type; and the gold foil,
 * flat here, for hairlines, rules, dot leaders, the wordmark's frame and the
 * monogram. Linen is white with a little wafer in it and is the page's ground;
 * the deep wafer and the soft chocolate are mixes of the two, for borders and
 * secondary text; the stage, a third of wafer in linen, is the ground a
 * product's cutout stands on (a white tub vanishes on white and is faint on
 * linen). Gold is never text on a light ground: it is a line. The
 * plugin's KitSeeder restates the hex values for Elementor's globals;
 * tests/ThemeTest.php holds the two in step.
 *
 * The guide names Ivy Presto Display and Texta, both commercial faces; the two
 * here are their self-hosted stand-ins (assets/css/fonts.css): Newsreader for
 * reading and headings, Red Hat Text for the menu, navigation, buttons and
 * anything with numbers in it. Elementor's own widgets inherit these through
 * the kit.
 */
:root {
    --esbb-wafer: #d8c1b6;
    --esbb-wafer-deep: #c3a8a0;
    /* A control's edge (fields, the quiet buttons, the Shop's filter and sort,
       the store's borders): soft chocolate and deep wafer half and half, 3.6:1
       on linen and 4:1 on white, where WCAG 1.4.11 asks 3:1. Deep wafer, at
       2:1, stays for what is not a control (the labels' pills). */
    --esbb-control-edge: #9a7775;
    --esbb-linen: #f8f3f0;
    --esbb-white: #ffffff;
    --esbb-chocolate: #4e1d26;
    --esbb-chocolate-soft: #70464a;
    --esbb-chocolate-hover: #63262f;
    --esbb-gold: #c49a2e;
    --esbb-stage: color-mix(in srgb, var(--esbb-wafer) 34%, var(--esbb-linen));

    --esbb-font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --esbb-font-sans: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;

    /* A 1.25 scale on an 18px body, with one display size above it. */
    --esbb-text-sm: 0.875rem;
    --esbb-text-ui: 1rem;
    --esbb-text-body: 1.125rem;
    --esbb-text-lead: 1.375rem;
    --esbb-text-h3: 1.75rem;
    --esbb-text-h2: 2.25rem;
    --esbb-text-h1: clamp(2.5rem, 1.5rem + 3.5vw, 4.25rem);

    --esbb-measure: 65ch;
    --esbb-measure-wide: 44rem;
    --esbb-max: 76rem;
    --esbb-gutter: max(1rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px), 4vw);
    --esbb-radius: 2px;
}

/* --- Base ---------------------------------------------------------------- */

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body.esbb {
    background: var(--esbb-linen);
    color: var(--esbb-chocolate);
    font-family: var(--esbb-font-serif);
    font-size: var(--esbb-text-body);
    line-height: 1.55;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
}

body.esbb ::selection {
    background: var(--esbb-wafer);
    color: var(--esbb-chocolate);
}

body.esbb h1,
body.esbb h2,
body.esbb h3,
body.esbb h4 {
    font-family: var(--esbb-font-serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--esbb-chocolate);
    text-wrap: balance;
    margin: 0 0 0.5em;
}

body.esbb h1 { font-size: var(--esbb-text-h1); }
body.esbb h2 { font-size: var(--esbb-text-h2); }
body.esbb h3 { font-size: var(--esbb-text-h3); }
body.esbb h4 { font-size: var(--esbb-text-lead); }

body.esbb p {
    margin: 0 0 1em;
    max-width: var(--esbb-measure);
}

body.esbb a {
    color: var(--esbb-chocolate);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    text-decoration-color: var(--esbb-gold);
}

body.esbb a:hover {
    text-decoration-color: currentColor;
}

body.esbb :focus-visible {
    outline: 2px solid var(--esbb-chocolate);
    outline-offset: 3px;
    border-radius: var(--esbb-radius);
}

body.esbb img {
    max-width: 100%;
    height: auto;
}

/* Buttons: the theme's own, Elementor's, and a booking link printed by
   [esbb fact="book_url" link="…"] inside an .esbb-actions row, read the same. */
body.esbb .esbb-button,
body.esbb .elementor-button,
body.esbb .esbb-actions .esbb-fact-link--book_url {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-family: var(--esbb-font-sans);
    font-weight: 500;
    font-size: var(--esbb-text-ui);
    line-height: 1;
    padding: 0.9em 1.4em;
    border-radius: var(--esbb-radius);
    background: var(--esbb-chocolate);
    color: var(--esbb-linen);
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 150ms ease, color 150ms ease;
}

body.esbb .esbb-button:hover,
body.esbb .elementor-button:hover,
body.esbb .esbb-actions .esbb-fact-link--book_url:hover {
    background: var(--esbb-chocolate-hover);
    color: var(--esbb-linen);
}

body.esbb .esbb-button--quiet {
    background: transparent;
    color: var(--esbb-chocolate);
    border-color: var(--esbb-control-edge);
}

body.esbb .esbb-button--quiet:hover {
    background: var(--esbb-wafer);
    color: var(--esbb-chocolate);
}

body.esbb .esbb-band .esbb-button--quiet {
    border-color: var(--esbb-chocolate);
}

body.esbb .esbb-band .esbb-button--quiet:hover {
    background: var(--esbb-linen);
}

/* Forms, for the day the feedback page is built. A native radio or checkbox
   (the store's size choice among them) takes the chocolate, not the browser's
   blue. */
body.esbb {
    accent-color: var(--esbb-chocolate);
}

body.esbb input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.esbb textarea,
body.esbb select {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
    color: var(--esbb-chocolate);
    background: var(--esbb-white);
    border: 1px solid var(--esbb-control-edge);
    border-radius: var(--esbb-radius);
    padding: 0.7em 0.9em;
}

/* --- The page shell ------------------------------------------------------ */

body.esbb .esbb-wrap {
    width: 100%;
    max-width: var(--esbb-max);
    margin-inline: auto;
    padding-left: var(--esbb-gutter);
    padding-right: var(--esbb-gutter);
}

/* The footer sits at the foot of a short page: the body is a column and the
   footer takes the slack. Hello's own templates (archive, search, 404) get
   their breathing room from main's padding; an Elementor page meets the footer
   flush and its last section decides the gap. */
body.esbb {
    /* The admin bar adds its height to html's margin and publishes it as a
       custom property; without subtracting it a short page scrolls by exactly
       32px and the header slips under the bar. svh keeps a phone's address bar
       out of the sum where it is supported. */
    min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
    min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
    display: flex;
    flex-direction: column;
}

body.esbb > .esbb-footer {
    margin-top: auto;
}

body.esbb > main.site-main {
    padding-bottom: 5rem;
}

body.esbb .skip-link:focus {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--esbb-chocolate);
    color: var(--esbb-linen);
    font-family: var(--esbb-font-sans);
    clip: auto;
    width: auto;
    height: auto;
}

/* --- Header -------------------------------------------------------------- */

/* The header stays at hand: it sticks to the top, steps out of the way while
   the reader scrolls down and comes back the moment they scroll up. The theme's
   assets/js/header.js sets the two states (`is-tucked`, `is-lifted`); without
   it the header simply sticks. It never stays tucked while its phone menu is
   open or keyboard focus is inside it (a mouse click leaves focus behind). On a phone WordPress's own bar scrolls away with
   the page, so the header sticks to the very top there. */
body.esbb .esbb-header {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 100;
    background: var(--esbb-linen);
    border-bottom: 1px solid var(--esbb-wafer);
    transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 240ms ease;
}

@media (max-width: 600px) {
    body.esbb .esbb-header {
        top: 0;
    }
}

body.esbb .esbb-header.is-tucked {
    transform: translateY(-100%);
}

body.esbb .esbb-header.is-tucked:has(:focus-visible),
body.esbb .esbb-header.is-tucked:has(details[open]) {
    transform: none;
}

body.esbb .esbb-header.is-lifted {
    box-shadow: 0 8px 20px -14px color-mix(in srgb, var(--esbb-chocolate) 50%, transparent);
}

@media (prefers-reduced-motion: reduce) {
    body.esbb .esbb-header {
        transition: none;
    }
}

body.esbb .esbb-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 4.75rem;
    padding-block: 0.75rem;
}

body.esbb .esbb-brand {
    display: inline-flex;
    align-items: center;
    margin-right: auto;
}

body.esbb .esbb-brand {
    color: var(--esbb-chocolate);
}

body.esbb .esbb-brand svg,
body.esbb .esbb-brand img,
body.esbb .esbb-brand .custom-logo {
    display: block;
    width: clamp(9rem, 16vw, 12.5rem);
    height: auto;
}

body.esbb .esbb-wordmark__frame,
body.esbb .esbb-monogram__frame {
    fill: var(--esbb-gold);
}

/* On a phone the header shows the monogram in its capsule frame in the
   wordmark's place (the owner, 2026-10-23): chocolate letters in a gold frame,
   as the wordmark is drawn. */
body.esbb .esbb-brand .esbb-brand__monogram {
    display: none;
}

body.esbb .esbb-nav {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
    font-weight: 500;
}

body.esbb .esbb-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.75rem;
}

body.esbb .esbb-nav a {
    color: var(--esbb-chocolate);
    text-decoration: none;
    padding-block: 0.25rem;
    border-bottom: 2px solid transparent;
}

body.esbb .esbb-nav a:hover,
body.esbb .esbb-nav .current-menu-item > a,
body.esbb .esbb-nav .current-menu-ancestor > a {
    border-bottom-color: var(--esbb-gold);
}

body.esbb .esbb-header__phone {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
    font-variant-numeric: tabular-nums;
    color: var(--esbb-chocolate);
    text-decoration: none;
    white-space: nowrap;
}

body.esbb .esbb-header__phone:hover {
    color: var(--esbb-chocolate-hover);
}

/* The menu on a phone: a <details> disclosure, no script. */
body.esbb .esbb-menu-toggle {
    display: none;
}

@media (max-width: 900px) {
    body.esbb .esbb-header__inner {
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
    }

    body.esbb .esbb-header__phone {
        display: none;
    }

    body.esbb .esbb-brand .esbb-brand__wordmark {
        display: none;
    }

    body.esbb .esbb-brand .esbb-brand__monogram {
        display: block;
        width: auto;
        height: 3.75rem;
    }

    body.esbb .esbb-menu-toggle {
        display: block;
        order: 3;
        flex-basis: 100%;
        font-family: var(--esbb-font-sans);
    }

    body.esbb .esbb-menu-toggle > summary {
        list-style: none;
        cursor: pointer;
        font-weight: 500;
        padding-block: 0.5rem;
        color: var(--esbb-chocolate);
    }

    body.esbb .esbb-menu-toggle > summary::-webkit-details-marker {
        display: none;
    }

    body.esbb .esbb-menu-toggle > summary::after {
        content: " +";
        color: var(--esbb-chocolate-soft);
    }

    body.esbb .esbb-menu-toggle[open] > summary::after {
        content: " –";
    }

    body.esbb .esbb-menu-toggle .esbb-nav ul {
        flex-direction: column;
        gap: 0;
        padding-bottom: 0.75rem;
    }

    body.esbb .esbb-menu-toggle .esbb-nav a {
        display: block;
        padding-block: 0.6rem;
        border-bottom: 1px solid var(--esbb-wafer);
    }

    body.esbb .esbb-menu-toggle .esbb-header__phone {
        display: block;
        padding-block: 0.6rem;
    }

    body.esbb .esbb-header > .esbb-wrap > .esbb-header__inner > .esbb-nav {
        display: none;
    }
}

/* --- Footer -------------------------------------------------------------- */

body.esbb .esbb-footer {
    background: var(--esbb-chocolate);
    color: var(--esbb-wafer);
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
}

body.esbb .esbb-footer a {
    color: var(--esbb-linen);
    text-decoration-color: color-mix(in srgb, var(--esbb-linen) 35%, transparent);
}

body.esbb .esbb-footer a:hover {
    text-decoration-color: currentColor;
}

body.esbb .esbb-footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 2.5rem 3rem;
    padding-block: 3.5rem 2.5rem;
}

/* The submark, as the brand guide places it where the wordmark does not fit.
   Its hairlines break up under about 6rem, so it is never printed small. */
body.esbb .esbb-footer__mark {
    display: block;
    width: auto;
    height: 8rem;
    fill: var(--esbb-gold);
    margin-bottom: 1rem;
}

body.esbb .esbb-footer__name {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-sm);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--esbb-linen);
    margin: 0 0 1.25rem;
    max-width: none;
}

body.esbb .esbb-footer :focus-visible {
    outline-color: var(--esbb-gold);
}

body.esbb .esbb-footer h2 {
    font-family: var(--esbb-font-serif);
    font-size: var(--esbb-text-lead);
    color: var(--esbb-linen);
    margin-bottom: 0.75rem;
}

body.esbb .esbb-footer p {
    margin: 0 0 0.5em;
    line-height: 1.5;
}

body.esbb .esbb-footer address {
    font-style: normal;
}

body.esbb .esbb-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.esbb .esbb-footer li {
    padding-block: 0.2rem;
}

body.esbb .esbb-footer .esbb-nav a {
    color: var(--esbb-linen);
    border-bottom: 0;
}

body.esbb .esbb-footer .esbb-nav ul {
    flex-direction: column;
    gap: 0.4rem;
}

body.esbb .esbb-hours {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 1.25rem;
    row-gap: 0.25rem;
    font-variant-numeric: tabular-nums;
    margin: 0 0 0.75rem;
}

body.esbb .esbb-hours dt,
body.esbb .esbb-hours dd {
    margin: 0;
}

body.esbb .esbb-footer__small {
    border-top: 1px solid color-mix(in srgb, var(--esbb-wafer) 25%, transparent);
    padding-block: 1.25rem;
    font-size: var(--esbb-text-sm);
    color: var(--esbb-wafer-deep);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    justify-content: space-between;
}

body.esbb .esbb-footer__small p {
    margin: 0;
    max-width: none;
}

/* --- The 404 and plain pages -------------------------------------------- */

body.esbb .esbb-page {
    padding-block: 4rem 2rem;
}

body.esbb .esbb-page__lede {
    font-size: var(--esbb-text-lead);
    color: var(--esbb-chocolate-soft);
}

/* --- Elementor meets the theme ------------------------------------------ */

/* Elementor 4 puts a page's padding on the body; the header and footer span
   the window regardless. A boxed container's content is the width of the
   header's content, gutters taken off, so a section starts on the logo's left
   edge rather than a gutter to the left of it. */
body.esbb .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--esbb-max);
}

body.esbb .e-con-boxed > .e-con-inner {
    max-width: calc(var(--esbb-max) - 2 * var(--esbb-gutter));
}

/* Spacing is the theme's, so a page built in the editor needs no padding typed
   into the panel. A page's top-level container starts with the section rhythm,
   generous above and below and the page's gutter at the sides; a container
   inside another starts with none, so the headings, text and pictures of a
   section share one left edge. Both set Elementor's own defaults
   (--container-default-padding-*, 10px all round when unset), and a padding set
   in the panel replaces a default: the panel always wins. A Theme Builder Single
   (the product page, T-1428) renders as "single-post" and an Archive (the
   ingredients, A to Z: T-1454) as "archive"; both take the same rhythm. */
body.esbb .elementor[data-elementor-type="single-post"] > .e-con,
body.esbb .elementor[data-elementor-type="wp-page"] > .e-con,
body.esbb .elementor[data-elementor-type="archive"] > .e-con {
    --container-default-padding-top: clamp(3rem, 6vw, 5.5rem);
    --container-default-padding-bottom: clamp(3rem, 6vw, 5.5rem);
    --container-default-padding-left: var(--esbb-gutter);
    --container-default-padding-right: var(--esbb-gutter);
}

body.esbb .e-con .e-con {
    --container-default-padding-top: 0px;
    --container-default-padding-bottom: 0px;
    --container-default-padding-left: 0px;
    --container-default-padding-right: 0px;
}

/* --- Hello's Default page template ---------------------------------------- */

/* A page on the Default template prints its title in Hello's page header. The
   theme sets it in the page's width, clear of the header and on the logo's
   edge; the first section under a title starts closer, since the title has
   made the space. A page written in the block editor gets the same width. */
body.esbb .site-main > .page-header {
    max-width: var(--esbb-max);
    margin-inline: auto;
    padding: clamp(2.5rem, 5vw, 4rem) var(--esbb-gutter) 0;
}

body.esbb .site-main > .page-header .entry-title {
    margin: 0;
}

body.esbb .site-main > .page-header + .page-content .elementor[data-elementor-type="wp-page"] > .e-con:first-child {
    --container-default-padding-top: 1.5rem;
}

body.esbb:not([class*="elementor-page-"]) .site-main {
    max-width: none;
    padding-inline: 0;
}

body.esbb:not([class*="elementor-page-"]) .site-main > .page-content {
    max-width: var(--esbb-max);
    margin-inline: auto;
    padding: 1.5rem var(--esbb-gutter) 0;
}

body.esbb .elementor-widget-heading .elementor-heading-title {
    font-family: var(--esbb-font-serif);
    font-weight: 400;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

/* --- The home page -------------------------------------------------------- */

/* The sections are Elementor containers that carry these classes (Advanced ›
   CSS Classes); the layout inside each is Elementor's, the type, the colour
   and the one moment of motion are the theme's, so the page stays editable
   and still reads as one. Their spacing is every page's (above): `esbb-band`
   is the one a builder adds by hand, for a wafer band. */
body.esbb .e-con.esbb-band {
    background: var(--esbb-wafer);
}

/* A band's padding is its space: its last line, a paragraph or a row of
   actions, keeps no margin under it, so the band is even above and below. */
body.esbb .e-con.esbb-band .elementor-widget:last-child > :last-child {
    margin-bottom: 0;
}

body.esbb .esbb-lede,
body.esbb .esbb-lede p {
    font-size: var(--esbb-text-lead);
    line-height: 1.45;
    max-width: 34ch;
}

body.esbb .esbb-soft,
body.esbb .esbb-soft p {
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-fact-line {
    margin: 0 0 0.5em;
}

body.esbb .esbb-where,
body.esbb .esbb-where p {
    font-family: var(--esbb-font-sans);
    font-size: 0.95rem;
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 1.75rem 0 1.25rem;
    max-width: none;
}

/* A row of actions that opens its own widget is placed by the container's gap;
   its top margin would double it (the product page's band on a phone). */
body.esbb .elementor-widget > .esbb-actions:first-child {
    margin-top: 0;
}

body.esbb .esbb-section-head {
    max-width: 60ch;
}

body.esbb .esbb-section-head p {
    font-size: 1.25rem;
    color: var(--esbb-chocolate-soft);
}

/* The hero's picture, in the wordmark's frame, drawn in on load: the brand's
   one rectangle, in the foil's gold. */
body.esbb .esbb-frame {
    position: relative;
    margin: 14px 14px 14px 0;
}

body.esbb .esbb-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

body.esbb .esbb-frame::before {
    content: "";
    position: absolute;
    inset: -14px 14px 14px -14px;
    border: 1px solid var(--esbb-gold);
    pointer-events: none;
    animation: esbb-draw 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* On a phone the frame's offset would put its left line at the screen's edge;
   the picture steps in by the offset so the line keeps the page's gutter. */
@media (max-width: 767px) {
    body.esbb .esbb-frame {
        margin-left: 14px;
    }
}

/* Gold on wafer is 1.5:1, a line that all but disappears for anyone who reads
   lightness rather than hue; in a wafer band the frame is chocolate (8:1).
   Gold stays where it shows: on linen and on chocolate. */
body.esbb .esbb-band .esbb-frame::before {
    border-color: var(--esbb-chocolate);
}

@keyframes esbb-draw {
    from { clip-path: inset(0 100% 100% 0); }
    to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
    body.esbb .esbb-frame::before {
        animation: none;
    }
}

/* What you'd like to change: a grid of concerns, each under a gold rule. */
body.esbb .e-con.esbb-concerns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 2rem 3rem;
}

body.esbb .e-con.esbb-concern {
    border-top: 2px solid var(--esbb-gold);
    --container-default-padding-top: 1rem;
    display: block;
}

body.esbb .esbb-concern h3 {
    font-size: 1.375rem;
    margin-bottom: 0.4em;
}

body.esbb .esbb-concern p {
    font-size: 1.0625rem;
    color: var(--esbb-chocolate-soft);
    margin-bottom: 0.6em;
}

body.esbb .esbb-concern a {
    font-family: var(--esbb-font-sans);
    font-size: 0.95rem;
    font-weight: 500;
}

/* The room: three pictures in a brick. */
body.esbb .e-con.esbb-room__pics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

body.esbb .esbb-room__pics img {
    display: block;
    width: 100%;
    object-fit: cover;
}

body.esbb .esbb-pic--tall {
    grid-row: span 2;
}

body.esbb .esbb-pic--tall img { aspect-ratio: 3 / 4; }
body.esbb .esbb-pic--wide img { aspect-ratio: 4 / 3; }
body.esbb .esbb-pic--square img { aspect-ratio: 1; }

/* What clients say: their words, in the reading face. */
body.esbb .e-con.esbb-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 2.5rem 3rem;
}

body.esbb .esbb-review blockquote {
    margin: 0;
    font-size: var(--esbb-text-lead);
    line-height: 1.4;
    font-style: italic;
    border-left: 2px solid var(--esbb-gold);
    padding-left: 1rem;
}

body.esbb .esbb-review blockquote p {
    margin-bottom: 0.6em;
    max-width: none;
}

body.esbb .esbb-review cite {
    font-style: normal;
    font-family: var(--esbb-font-sans);
    font-size: 0.95rem;
    color: var(--esbb-chocolate-soft);
}

/* Come and see us: the facts, in the utility face. */
body.esbb .e-con.esbb-visit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 2.5rem 3rem;
}

body.esbb .esbb-visit__col {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
}

body.esbb .esbb-visit__col h3 {
    font-family: var(--esbb-font-serif);
    font-size: var(--esbb-text-h3);
    margin-bottom: 0.6em;
}

body.esbb .esbb-visit__col p {
    margin-bottom: 0.5em;
    line-height: 1.5;
}

/* --- The store's look ----------------------------------------------------- */

/* Every element the store prints (Price, Add to Bag, the bag) reads these with
   a neutral fallback and carries no colour of its own, so the theme names them
   once, from its tokens: the chocolate button with linen type (12.5:1), soft
   chocolate for the struck price and "inc. GST" (7.2:1 on linen, 4.6:1 in a
   wafer band), the deep wafer for borders, as the theme's own fields. */
body.esbb {
    --presskit-store-accent: var(--esbb-chocolate);
    --presskit-store-accent-hover: var(--esbb-chocolate-hover);
    --presskit-store-accent-text: var(--esbb-linen);
    --presskit-store-muted: var(--esbb-chocolate-soft);
    --presskit-store-border: var(--esbb-control-edge);
    --presskit-store-focus: var(--esbb-chocolate);
    --presskit-store-surface: var(--esbb-linen);
    --presskit-store-radius: var(--esbb-radius);
    --presskit-store-gap: 1rem;
    --presskit-store-width: var(--esbb-max);
    /* The store's Price and the template's interim price read the one size, so the
       price does not change size when the store arrives (presskit/store bbfa54f). */
    --presskit-store-price-size: 1.625rem;
}

/* Hello's reset paints every button pink (#c36) on hover and focus, and the
   store's buttons set their colours only at rest, so its reset showed through
   (esbb.au, 2026-10-23, the store's first install). The store's button keeps its
   chocolate, a shade deeper on hover; the bag's Remove stays a quiet link. */
body.esbb .presskit-store-button:is(:hover, :focus):not(:disabled) {
    background: var(--esbb-chocolate-hover);
    border-color: var(--esbb-chocolate-hover);
    color: var(--esbb-linen);
}

body.esbb .presskit-store-line__remove:is(:hover, :focus) {
    background: transparent;
    color: var(--esbb-chocolate);
}

/* --- Search's listing, under the theme ------------------------------------ */

/* Presskit Search declares its palette and faces on each widget's own block,
   not on :root, so a value set on the body loses to it. The theme names the
   same blocks, under body.esbb: the grid (.presskit-search-listing), the rail
   (-filters), the search box (-search), the navigation panel and the list
   printed after the grid for readers without script (__all). Light only; the
   theme has no dark scheme. Search's mount also carries an inline style: its
   corner radius always, and its accent and hover when Search's Appearance sets
   them, so those two stay unset there or they win over these. */
body.esbb .presskit-search-listing,
body.esbb .presskit-search-listing-filters,
body.esbb .presskit-search-listing-search,
body.esbb .presskit-search-listing-navigation,
body.esbb .presskit-search-listing__all {
    color-scheme: light;
    --pk-search-c-surface: var(--esbb-white);
    --pk-search-c-stage: var(--esbb-stage);
    --pk-search-c-text: var(--esbb-chocolate);
    --pk-search-c-muted: var(--esbb-chocolate-soft);
    --pk-search-c-border: var(--esbb-wafer);
    --pk-search-c-accent: var(--esbb-chocolate);
    --pk-search-c-hover: var(--esbb-chocolate);
    --pk-cs-font-family-body: var(--esbb-font-sans);
    --pk-cs-font-family-section-title: var(--esbb-font-serif);
    --pk-cs-font-weight-accent: 500;
    --pk-cs-font-size-caption: 0.9375rem;
}

/* The theme's base type reaches into the widgets: its h2, h3 and p rules sit
   at (0,1,2) and (0,1,1) and outrank Search's one-class rules, which put each
   card's title at the theme's h3 size and gave every count and subtitle a
   paragraph's margin and measure. Each is put back here, under the scope. */
body.esbb .presskit-search-listing p,
body.esbb .presskit-search-listing-filters p,
body.esbb .presskit-search-listing__all p {
    max-width: none;
}

body.esbb .presskit-search-listing .presskit-search-listing__count,
body.esbb .presskit-search-listing .presskit-search-listing__card-subtitle,
body.esbb .presskit-search-listing .presskit-search-listing__load-more-count,
body.esbb .presskit-search-listing .presskit-search-listing__empty p,
body.esbb .presskit-search-listing .presskit-search-listing__error p,
body.esbb .presskit-search-listing-filters .presskit-search-listing-filters__rail-editor-note {
    margin: 0;
}

body.esbb .presskit-search-listing .presskit-search-listing__count {
    font-variant-numeric: tabular-nums;
}

body.esbb .presskit-search-listing .presskit-search-listing__truncated {
    margin: 0.75rem 0 0;
}

body.esbb .presskit-search-listing .presskit-search-listing__filter-heading,
body.esbb .presskit-search-listing-filters .presskit-search-listing__filter-heading {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: normal;
    color: inherit;
}

body.esbb .presskit-search-listing .presskit-search-listing__sheet-title,
body.esbb .presskit-search-listing .presskit-search-listing__group-heading {
    margin: 0;
    font-family: var(--esbb-font-serif);
    font-size: var(--esbb-text-lead);
    font-weight: 400;
    line-height: 1.2;
    color: var(--esbb-chocolate);
}

body.esbb .presskit-search-listing .presskit-search-listing__group-heading {
    margin-bottom: 1.25rem;
    font-size: var(--esbb-text-h3);
}

/* The card: the cutout whole, standing on the stage with room around it, the
   name in the reading face, the size and the price in the utility face. The
   stage is the card's frame, so Search's hairline under it goes. */
body.esbb .presskit-search-listing .presskit-search-listing__media {
    border-radius: var(--esbb-radius);
}

body.esbb .presskit-search-listing .presskit-search-listing__inner--contain .presskit-search-listing__card--default .presskit-search-listing__img {
    inset: 9% 14% 6%;
    width: 72%;
    height: 85%;
    transition: opacity 0.35s ease, transform 300ms ease;
}

body.esbb .presskit-search-listing .presskit-search-listing__inner--contain .presskit-search-listing__card--default .presskit-search-listing__card-link:hover .presskit-search-listing__img {
    transform: translateY(-3px);
}

body.esbb .presskit-search-listing .presskit-search-listing__card-body {
    padding-top: 0;
    border-top: 0;
}

body.esbb .presskit-search-listing .presskit-search-listing__card-title {
    margin: 0;
    color: var(--esbb-chocolate);
    font-family: var(--esbb-font-serif);
    font-size: 1.1875rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

/* Gold under the name on hover: a line, never the text. */
body.esbb .presskit-search-listing .presskit-search-listing__card-link:hover .presskit-search-listing__card-title,
body.esbb .presskit-search-listing .presskit-search-listing__card-link:focus-visible .presskit-search-listing__card-title {
    text-decoration: underline;
    text-decoration-color: var(--esbb-gold);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

body.esbb .presskit-search-listing .presskit-search-listing__card-price {
    margin: 0.3rem 0 0;
    color: var(--esbb-chocolate);
    font-size: var(--esbb-text-ui);
}

/* Four across beside the rail at the theme's width, two on a phone. */
body.esbb .presskit-search-listing .presskit-search-listing__grid:not(.presskit-search-listing__grid--compact, .presskit-search-listing__grid--extended, .presskit-search-listing__grid--wide) {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr));
    gap: 2.25rem 1.5rem;
}

@media (max-width: 767px) {
    body.esbb .presskit-search-listing .presskit-search-listing__grid:not(.presskit-search-listing__grid--compact, .presskit-search-listing__grid--extended, .presskit-search-listing__grid--wide) {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr));
        gap: 1.75rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.esbb .presskit-search-listing .presskit-search-listing__inner--contain .presskit-search-listing__card--default .presskit-search-listing__card-link:hover .presskit-search-listing__img {
        transform: none;
    }
}

/* The controls: every one a 44px target, the sort and the search box the
   theme's own fields, the Filter button (a phone's and a tablet's) the quiet
   button. Search spells out background and colour in every state, because
   Hello's reset paints a hovered button; so do these. */
body.esbb .presskit-search-listing .presskit-search-listing__quick-chip,
body.esbb .presskit-search-listing .presskit-search-listing__active-chip,
body.esbb .presskit-search-listing .presskit-search-listing__clear,
body.esbb .presskit-search-listing .presskit-search-listing__retry,
body.esbb .presskit-search-listing .presskit-search-listing__toggle-all,
body.esbb .presskit-search-listing .presskit-search-listing__show-all,
body.esbb .presskit-search-listing .presskit-search-listing__filter-option,
body.esbb .presskit-search-listing-filters .presskit-search-listing__clear,
body.esbb .presskit-search-listing-filters .presskit-search-listing__toggle-all,
body.esbb .presskit-search-listing-filters .presskit-search-listing__show-all,
body.esbb .presskit-search-listing-filters .presskit-search-listing__filter-option {
    min-height: 2.75rem;
}

body.esbb .presskit-search-listing .presskit-search-listing__page-num,
body.esbb .presskit-search-listing .presskit-search-listing__page-arrow {
    min-width: 2.75rem;
    min-height: 2.75rem;
}

body.esbb .presskit-search-listing .presskit-search-listing__sheet-close {
    width: 2.75rem;
    height: 2.75rem;
}

body.esbb .presskit-search-listing .presskit-search-listing__layout-btn {
    width: 2.5rem;
    min-height: 2.5rem;
}

body.esbb .presskit-search-listing .presskit-search-listing__filter-btn {
    min-height: 2.75rem;
    padding: 0.5rem 1.1rem;
    border-color: var(--esbb-control-edge);
    border-radius: var(--esbb-radius);
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
    font-weight: 500;
}

body.esbb .presskit-search-listing .presskit-search-listing__filter-btn:hover,
body.esbb .presskit-search-listing .presskit-search-listing__filter-btn:focus {
    background: var(--esbb-wafer);
    color: var(--esbb-chocolate);
}

body.esbb .presskit-search-listing .presskit-search-listing__sort-select,
body.esbb .presskit-search-listing .presskit-search-listing__per-page-select {
    min-height: 2.75rem;
    padding: 0.5rem 2.25rem 0.5rem 0.85rem;
    border: 1px solid var(--esbb-control-edge);
    border-radius: var(--esbb-radius);
    background-color: var(--esbb-white);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2370464a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 0.8rem center;
    font-size: var(--esbb-text-ui);
}

body.esbb .presskit-search-listing .presskit-search-listing__sort-select:hover,
body.esbb .presskit-search-listing .presskit-search-listing__sort-select:focus,
body.esbb .presskit-search-listing .presskit-search-listing__per-page-select:hover,
body.esbb .presskit-search-listing .presskit-search-listing__per-page-select:focus {
    border-color: var(--esbb-chocolate);
    color: var(--esbb-chocolate);
}

/* The theme's own field rule (0,4,1) reaches the search box and takes its
   padding, which puts the words under the magnifier; the type attribute is
   what lifts this one over it. */
body.esbb .presskit-search-listing input[type="search"].presskit-search-listing__search-input,
body.esbb .presskit-search-listing-search input[type="search"].presskit-search-listing__search-input {
    min-height: 2.75rem;
    padding: 0.6rem 2.75rem 0.6rem 2.5rem;
    border: 1px solid var(--esbb-control-edge);
    border-radius: var(--esbb-radius);
    background: var(--esbb-white);
    color: var(--esbb-chocolate);
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
    line-height: 1.5;
}

body.esbb .presskit-search-listing input[type="search"].presskit-search-listing__search-input:focus,
body.esbb .presskit-search-listing-search input[type="search"].presskit-search-listing__search-input:focus {
    border-color: var(--esbb-chocolate);
    background: var(--esbb-white);
    color: var(--esbb-chocolate);
}

body.esbb .presskit-search-listing .presskit-search-listing__search-input::placeholder,
body.esbb .presskit-search-listing-search .presskit-search-listing__search-input::placeholder {
    color: var(--esbb-chocolate-soft);
    opacity: 1;
}

body.esbb .presskit-search-listing .presskit-search-listing__search-clear,
body.esbb .presskit-search-listing-search .presskit-search-listing__search-clear {
    inset-inline-end: 0;
    width: 2.75rem;
    height: 2.75rem;
}

/* The rail fills its column; the Shop's column is the measure. */
body.esbb .presskit-search-listing-filters .presskit-search-listing-filters__rail {
    max-width: none;
}

/* The list printed after the grid: the utility face, one step down; its links
   read as the page's, never the theme's underlined body links. */
body.esbb .presskit-search-listing__all {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-sm);
}

body.esbb .presskit-search-listing__all > summary {
    min-height: 2.75rem;
}

body.esbb .presskit-search-listing__all a,
body.esbb .presskit-search-listing__all a:visited {
    color: var(--esbb-chocolate);
    text-decoration: none;
}

body.esbb .presskit-search-listing__all a:hover,
body.esbb .presskit-search-listing__all a:focus {
    color: var(--esbb-chocolate);
    text-decoration: underline;
    text-decoration-color: var(--esbb-gold);
}

/* --- The Shop -------------------------------------------------------------- */

/* The page (esbb-shop) holds the rail (__rail, Search's Listing Filters), the
   grid (__grid, Search's Listing) and, when one is placed, a search box above
   the grid (__search). Whatever box holds the rail lays the three out: one
   column up to 1024px, where Search puts its rail away for the grid's own
   Filter sheet, and the rail beside the grid from 1025px. Anything else in that
   box (the page's heading and line) runs the full width. */
body.esbb .esbb-shop:has(> .esbb-shop__rail),
body.esbb .esbb-shop :has(> .esbb-shop__rail) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem 2.5rem;
    align-items: start;
}

body.esbb .esbb-shop:has(> .esbb-shop__rail) > *,
body.esbb .esbb-shop :has(> .esbb-shop__rail) > * {
    grid-column: 1 / -1;
    min-width: 0;
}

body.esbb .esbb-shop__search {
    width: 100%;
}

@media (max-width: 1024px) {
    body.esbb .esbb-shop__rail {
        display: none;
    }
}

@media (min-width: 1025px) {
    body.esbb .esbb-shop:has(> .esbb-shop__rail),
    body.esbb .esbb-shop :has(> .esbb-shop__rail) {
        grid-template-columns: 15rem minmax(0, 1fr);
    }

    body.esbb .esbb-shop:has(> .esbb-shop__rail) > .esbb-shop__rail,
    body.esbb .esbb-shop :has(> .esbb-shop__rail) > .esbb-shop__rail {
        grid-column: 1;
    }

    body.esbb .esbb-shop:has(> .esbb-shop__rail):has(> .esbb-shop__search) > .esbb-shop__rail,
    body.esbb .esbb-shop :has(> .esbb-shop__rail):has(> .esbb-shop__search) > .esbb-shop__rail {
        grid-row: span 2;
    }

    body.esbb .esbb-shop:has(> .esbb-shop__rail) > :is(.esbb-shop__grid, .esbb-shop__search),
    body.esbb .esbb-shop :has(> .esbb-shop__rail) > :is(.esbb-shop__grid, .esbb-shop__search) {
        grid-column: 2;
    }

    /* A rail with nothing to filter (an ingredient in one product: Search
       mounts its filters and leaves them empty, and its own rule hides the
       widget) gives its column back, so the grid is not pushed to the right of
       an empty space. Only once mounted: before then every rail is empty, and
       collapsing would shift each Shop and brand page as its filters arrive. */
    body.esbb .esbb-shop:has(> .esbb-shop__rail [data-pk-presskit-search-listing-filters-mounted]:empty),
    body.esbb .esbb-shop :has(> .esbb-shop__rail [data-pk-presskit-search-listing-filters-mounted]:empty) {
        grid-template-columns: minmax(0, 1fr);
    }

    body.esbb .esbb-shop__rail:has([data-pk-presskit-search-listing-filters-mounted]:empty) {
        display: none;
    }

    body.esbb .esbb-shop:has(> .esbb-shop__rail [data-pk-presskit-search-listing-filters-mounted]:empty) > :is(.esbb-shop__grid, .esbb-shop__search),
    body.esbb .esbb-shop :has(> .esbb-shop__rail [data-pk-presskit-search-listing-filters-mounted]:empty) > :is(.esbb-shop__grid, .esbb-shop__search) {
        grid-column: 1 / -1;
    }
}

/* --- A product's own page -------------------------------------------------- */

/* The template is one container (esbb-product) around its sections, so it
   places as one thing. The wrapper takes no spacing of its own, so its closing
   band runs edge to edge and meets the footer as the home page's does; each
   section in it takes a page's top-level rhythm, and the copy follows the
   picture without a second helping. The wrapper's gap is zero unless the panel
   sets one (the :where keeps this under Elementor's own element rule). A copy
   section with no copy on this product (Query Manager printed none of its
   regions, Post Content printed no text under About, and Search dropped both
   listings) takes no room. A brand's page (esbb-brand-page, below), a
   treatment's (esbb-treatment, T-1442) and an ingredient's (esbb-ingredient)
   are built the same way and take the same rules: a brand's products follow
   its overview, a treatment's "More in" its overview and an ingredient's
   products its overview, as a product's copy follows its picture. */
body.esbb .elementor[data-elementor-type] > .e-con.esbb-brand-page,
body.esbb .elementor[data-elementor-type] > .e-con.esbb-product,
body.esbb .elementor[data-elementor-type] > .e-con.esbb-treatment,
body.esbb .elementor[data-elementor-type] > .e-con.esbb-ingredient {
    --container-default-padding-top: 0px;
    --container-default-padding-bottom: 0px;
    --container-default-padding-left: 0px;
    --container-default-padding-right: 0px;
}

:where(body.esbb) .e-con.esbb-brand-page,
:where(body.esbb) .e-con.esbb-product,
:where(body.esbb) .e-con.esbb-treatment,
:where(body.esbb) .e-con.esbb-ingredient {
    --gap: 0px 0px;
    --row-gap: 0px;
}

body.esbb .e-con.esbb-brand-page > .e-con.esbb-section,
body.esbb .e-con.esbb-product > .e-con.esbb-section,
body.esbb .e-con.esbb-treatment > .e-con.esbb-section,
body.esbb .e-con.esbb-ingredient > .e-con.esbb-section {
    --container-default-padding-top: clamp(3rem, 6vw, 5.5rem);
    --container-default-padding-bottom: clamp(3rem, 6vw, 5.5rem);
    --container-default-padding-left: var(--esbb-gutter);
    --container-default-padding-right: var(--esbb-gutter);
}

/* An ingredient's key-ingredient products (__featured) show only when its
   products (__products) do not (below), so they follow the overview too. */
body.esbb .e-con.esbb-brand-page > .e-con.esbb-brand-page__overview + .e-con.esbb-section:not(.esbb-band),
body.esbb .e-con.esbb-product > .e-con.esbb-section:has(> .e-con-inner > .esbb-product__media) + .e-con.esbb-section:not(.esbb-band),
body.esbb .e-con.esbb-treatment > .e-con.esbb-treatment__overview + .e-con.esbb-section:not(.esbb-band),
body.esbb .e-con.esbb-ingredient > .e-con.esbb-ingredient__overview + .e-con.esbb-section:not(.esbb-band),
body.esbb .e-con.esbb-ingredient > .e-con.esbb-ingredient__featured {
    --container-default-padding-top: 0px;
}

body.esbb:not(.elementor-editor-active) .e-con.esbb-product > .e-con.esbb-section:has(:is(.esbb-product__description, .esbb-product__key-ingredients, .esbb-product__how-to-use, .esbb-product__ingredients, .esbb-product__kit-contents)):not(:has(.esbb-product__description .elementor-widget-theme-post-content :is(p, ul, ol, h2, h3, h4, blockquote, figure), .esbb-product__how-to-use, .esbb-product__ingredients, .presskit-search-listing)) {
    display: none;
}

/* The page (esbb-product): the picture (__media) and the summary (__summary)
   side by side from 768px, picture first and wider, stacked below that in the
   same order; whatever else shares their box (the copy sections, a band) runs
   the full width under them. */
body.esbb .esbb-product:has(> .esbb-product__media),
body.esbb .esbb-product :has(> .esbb-product__media) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

body.esbb .esbb-product:has(> .esbb-product__media) > :not(.esbb-product__media, .esbb-product__summary),
body.esbb .esbb-product :has(> .esbb-product__media) > :not(.esbb-product__media, .esbb-product__summary) {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    body.esbb .esbb-product:has(> .esbb-product__media),
    body.esbb .esbb-product :has(> .esbb-product__media) {
        grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    }
}

/* The cutout whole, standing on the stage, inside the hero's gold frame drawn
   in on load. The frame sits up and left of the stage by the hero's 14px and
   inside the box, so its left line keeps the page's gutter on a phone. The
   picture IS the stage (its padding is the room around the bottle), so a
   wrapper Elementor puts between the two changes nothing. With no cutout on
   file the stage stays, empty and quiet: never the monogram in its place. */
body.esbb .esbb-product__media {
    position: relative;
    min-width: 0;
}

/* The picture's widget takes the region's full width, so the picture sizes
   from a definite width. Below 768px Elementor makes every container a
   wrapping column, and a wrapping column sized the picture from its natural
   width instead: the stage ran past the frame and over the brand line
   (esbb.au, 2026-10-22, from 424px in Safari and 470px in Chrome). */
body.esbb .esbb-product__media > .elementor-widget {
    width: 100%;
}

body.esbb .esbb-product__media img {
    display: block;
    box-sizing: border-box;
    width: calc(100% - 14px);
    max-width: none;
    height: auto;
    aspect-ratio: 4 / 5;
    margin: 14px 0 0 14px;
    padding: 8% 18% 6%;
    object-fit: contain;
    object-position: 50% 100%;
    background: var(--esbb-stage);
    border-radius: 0;
}

body.esbb .esbb-product__media:not(:has(img)) {
    aspect-ratio: 4 / 5;
    background: linear-gradient(var(--esbb-stage), var(--esbb-stage)) 14px 14px / calc(100% - 14px) calc(100% - 14px) no-repeat;
}

body.esbb .esbb-product__media::after {
    content: "";
    position: absolute;
    inset: 0 14px 14px 0;
    border: 1px solid var(--esbb-gold);
    pointer-events: none;
    animation: esbb-draw 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    body.esbb .esbb-product__media::after {
        animation: none;
    }
}

/* The summary, in reading order: brand, name, size, price, the store's slot,
   what to do next, the short description, the labels, and on a trial size the
   product it is the trial of. */
body.esbb .esbb-product__summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

body.esbb .esbb-product__summary p {
    margin: 0;
}

/* The summary's small lines are Heading widgets for their dynamic tags, but they
   read as interface text: the face every Heading widget's title takes (above)
   had set the brand, size, price and labels in Newsreader. Their titles take
   the region's own type. */
body.esbb .elementor-widget-heading:is(.esbb-product__brand, .esbb-product__size, .esbb-product__full-size, .esbb-product__price, .esbb-product__labels, .esbb-treatment__concerns, .esbb-ingredient__kind) .elementor-heading-title {
    font: inherit;
    letter-spacing: inherit;
}

body.esbb .esbb-product__brand,
body.esbb .esbb-product__brand a,
body.esbb .esbb-ingredient__kind {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-product__title :is(h1, h2, .elementor-heading-title),
body.esbb .esbb-treatment__title :is(h1, .elementor-heading-title),
body.esbb .esbb-ingredient__title :is(h1, .elementor-heading-title) {
    margin: 0;
    font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
}

body.esbb .esbb-product__size,
body.esbb .esbb-product__full-size {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
    font-variant-numeric: tabular-nums;
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-product__full-size a {
    color: var(--esbb-chocolate);
}

body.esbb .esbb-product__price {
    margin-top: 0.5rem;
    font-family: var(--esbb-font-sans);
    font-size: var(--presskit-store-price-size);
    font-weight: 500;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    color: var(--esbb-chocolate);
}

/* The store's slot: empty until the store is installed and its Price and Add
   to Bag are dropped in, and while it holds nothing it takes no room — empty,
   or holding only the inner box Elementor gives a container. Never in the
   editor, where the empty slot is what a builder drops the widgets into. */
body.esbb .esbb-buy {
    border-top: 1px solid var(--esbb-wafer);
    border-bottom: 1px solid var(--esbb-wafer);
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
}

body.esbb .e-con.esbb-buy {
    --container-default-padding-top: 1.25rem;
    --container-default-padding-bottom: 1.25rem;
}

/* What to do next: the booking link is the theme's button and the phone the
   quiet one, whether they stand in the region itself or in a paragraph of it. */
body.esbb .esbb-product__actions,
body.esbb .esbb-product__actions :is(p, div):has(> .esbb-fact-link) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 0.75rem;
    max-width: none;
}

body.esbb .esbb-product__actions > :is(p, div) {
    flex: 1 1 100%;
    margin: 0;
}

body.esbb .esbb-product__actions .esbb-fact-link--book_url,
body.esbb .esbb-product__actions .esbb-fact-link--phone_href {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 2.75rem;
    gap: 0.5em;
    font-family: var(--esbb-font-sans);
    font-weight: 500;
    font-size: var(--esbb-text-ui);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    padding: 0.9em 1.4em;
    border-radius: var(--esbb-radius);
    border: 1px solid transparent;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
}

body.esbb .esbb-product__actions .esbb-fact-link--book_url {
    background: var(--esbb-chocolate);
    color: var(--esbb-linen);
}

body.esbb .esbb-product__actions .esbb-fact-link--book_url:hover {
    background: var(--esbb-chocolate-hover);
    color: var(--esbb-linen);
}

body.esbb .esbb-product__actions .esbb-fact-link--phone_href {
    background: transparent;
    color: var(--esbb-chocolate);
    border-color: var(--esbb-control-edge);
}

body.esbb .esbb-product__actions .esbb-fact-link--phone_href:hover {
    background: var(--esbb-wafer);
    color: var(--esbb-chocolate);
}

body.esbb .esbb-product__actions p:not(:has(> .esbb-fact-link)) {
    margin-top: 0.75rem;
    font-size: 1.0625rem;
    line-height: 1.45;
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-product__excerpt,
body.esbb .esbb-product__excerpt p {
    margin-top: 0.5rem;
    font-size: var(--esbb-text-lead);
    line-height: 1.45;
    max-width: 40ch;
}

body.esbb .esbb-product__excerpt p {
    margin: 0 0 0.5em;
}

/* Labels, printed unlinked until the term archives have a template: quiet
   pills when they arrive as a list, a quiet line when they arrive as words. A
   treatment's concerns the same. */
body.esbb .esbb-product__labels,
body.esbb .esbb-treatment__concerns {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-sm);
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-product__labels ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.esbb .esbb-product__labels li {
    border: 1px solid var(--esbb-wafer-deep);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    color: var(--esbb-chocolate);
}

/* The copy, each under a wafer hairline: About, Key Ingredients, How to Use,
   Ingredients and, on a kit, In This Kit. Their spacing is Elementor's own
   default, as every section's, so the panel still wins. */
body.esbb .esbb-product__description,
body.esbb .esbb-product__key-ingredients,
body.esbb .esbb-product__how-to-use,
body.esbb .esbb-product__ingredients,
body.esbb .esbb-product__kit-contents {
    border-top: 1px solid var(--esbb-wafer);
    min-width: 0;
}

body.esbb .e-con:is(.esbb-product__description, .esbb-product__key-ingredients, .esbb-product__how-to-use, .esbb-product__ingredients, .esbb-product__kit-contents) {
    --container-default-padding-top: clamp(1.5rem, 3vw, 2.25rem);
    --container-default-padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

body.esbb :is(.esbb-product__description, .esbb-product__key-ingredients, .esbb-product__how-to-use, .esbb-product__ingredients, .esbb-product__kit-contents) :is(h2, .elementor-heading-title) {
    margin: 0 0 0.75rem;
    font-size: var(--esbb-text-h3);
}

/* A list in the copy keeps a paragraph's rhythm. Hello's reset takes the space
   from under it, so a paragraph after a list sat against its last item; its
   items stand a little apart. A brand's description the same. */
body.esbb :is(.esbb-product__description, .esbb-product__how-to-use, .esbb-product__ingredients, .esbb-brand-page__description, .esbb-treatment__content, .esbb-ingredient__content) :is(ul, ol) {
    margin: 0 0 1em;
    max-width: var(--esbb-measure);
}

body.esbb :is(.esbb-product__description, .esbb-product__how-to-use, .esbb-product__ingredients, .esbb-brand-page__description, .esbb-treatment__content, .esbb-ingredient__content) li + li {
    margin-top: 0.4em;
}

/* About shows on the short description (Query Manager has no content kind,
   T-1428), so a product whose description is empty would print its heading over
   nothing. It takes no room while Post Content prints no text (Elementor drops
   the widget when it prints nothing at all), and a copy section holding only it
   takes none either (above). A brand's description and a treatment's and an
   ingredient's content, which are Post Content itself, the same. Never in the
   editor. */
body.esbb:not(.elementor-editor-active) .esbb-product__description:not(:has(.elementor-widget-theme-post-content :is(p, ul, ol, h2, h3, h4, blockquote, figure))),
body.esbb:not(.elementor-editor-active) .elementor-widget-theme-post-content.esbb-brand-page__description:not(:has(:is(p, ul, ol, h2, h3, h4, blockquote, figure))),
body.esbb:not(.elementor-editor-active) .elementor-widget-theme-post-content.esbb-treatment__content:not(:has(:is(p, ul, ol, h2, h3, h4, blockquote, figure))),
body.esbb:not(.elementor-editor-active) .elementor-widget-theme-post-content.esbb-ingredient__content:not(:has(:is(p, ul, ol, h2, h3, h4, blockquote, figure))) {
    display: none;
}

body.esbb .esbb-product__ingredients details > summary {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    font-family: var(--esbb-font-sans);
    font-weight: 500;
    font-size: var(--esbb-text-ui);
    cursor: pointer;
}

body.esbb .esbb-product__ingredients details p {
    margin-top: 0.5rem;
    font-family: var(--esbb-font-sans);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--esbb-chocolate-soft);
}

/* Key Ingredients: Search's Compact cards over the ingredient records, set as
   the home page's concerns are, each under a gold rule, three across. A record
   with no picture shows no empty thumbnail here: its words are the card. */
body.esbb .esbb-product__key-ingredients .presskit-search-listing .presskit-search-listing__grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
    gap: 1.5rem 2rem;
}

body.esbb .esbb-product__key-ingredients .presskit-search-listing .presskit-search-listing__card--compact {
    padding: 0.8rem 0 0;
    border-bottom: 0;
    border-top: 2px solid var(--esbb-gold);
}

body.esbb .esbb-product__key-ingredients .presskit-search-listing .presskit-search-listing__media:has(> .presskit-search-listing__img-empty) {
    display: none;
}

body.esbb .esbb-product__key-ingredients .presskit-search-listing .presskit-search-listing__card-body {
    align-self: flex-start;
}

body.esbb .esbb-product__key-ingredients .presskit-search-listing .presskit-search-listing__card-title {
    font-size: 1.25rem;
}

/* The list Search prints after its grid, for readers without script and for
   crawlers, belongs on the Shop and a brand's page; under a product's two small
   listings it only repeats the cards above it. */
body.esbb :is(.esbb-product__key-ingredients, .esbb-product__kit-contents) .presskit-search-listing__all {
    display: none;
}

/* A region with nothing in it takes no room and draws no rule: the store's slot
   before the store, a copy section before the copy, Key Ingredients and In This
   Kit when Search's Hide When Empty has dropped the grid (its heading too).
   Empty, or holding only the empty boxes Elementor wraps around things; text
   alone in a plain element is not detectable here, so a plain element is only
   hidden when it is truly :empty. Never in the editor. */
body.esbb:not(.elementor-editor-active) :is(.esbb-buy, .esbb-product__description, .esbb-product__key-ingredients, .esbb-product__how-to-use, .esbb-product__ingredients, .esbb-product__kit-contents, .esbb-product__excerpt, .esbb-product__labels, .esbb-product__full-size):empty,
body.esbb:not(.elementor-editor-active) .elementor-element:is(.esbb-buy, .esbb-product__description, .esbb-product__key-ingredients, .esbb-product__how-to-use, .esbb-product__ingredients, .esbb-product__kit-contents, .esbb-product__excerpt, .esbb-product__labels, .esbb-product__full-size):not(:has(:not(.e-con-inner, .elementor-widget-container:empty))),
body.esbb:not(.elementor-editor-active) .elementor-element:is(.esbb-product__key-ingredients, .esbb-product__kit-contents):not(:has(.presskit-search-listing)) {
    display: none;
}

/* --- A brand's own page ---------------------------------------------------- */

/* The template (esbb-brand-page, T-1437) is a product page's shape: one wrapper
   with no spacing of its own around sections that take a page's (the rules are
   the product page's, above). The overview (__overview) holds the brand's logo
   when it has one (__logo), its name as the page's heading (__title), its short
   description as a lede (__lede) and its description (__description) at a
   reading measure; the products (__products) follow under a heading of their
   own, in the Shop's regions (esbb-shop, above). */
body.esbb .esbb-brand-page__logo {
    text-align: start;
}

body.esbb .esbb-brand-page__logo img {
    display: block;
    width: auto;
    max-width: min(100%, 14rem);
    max-height: 4.5rem;
    object-fit: contain;
    object-position: 0 50%;
}

body.esbb .esbb-brand-page__title :is(h1, .elementor-heading-title) {
    margin: 0;
}

body.esbb .esbb-brand-page__lede,
body.esbb .esbb-brand-page__lede p,
body.esbb .esbb-treatment__lede,
body.esbb .esbb-treatment__lede p,
body.esbb .esbb-ingredient__lede,
body.esbb .esbb-ingredient__lede p {
    font-size: var(--esbb-text-lead);
    line-height: 1.45;
    max-width: 40ch;
}

body.esbb .esbb-brand-page__lede p,
body.esbb .esbb-treatment__lede p,
body.esbb .esbb-ingredient__lede p {
    margin: 0;
}

/* The measure sits on what the description holds, not on the widget: Elementor
   gives every widget in a container its full width (0,4,0), and the panel's
   own width controls ride on that rule. */
body.esbb .esbb-brand-page__description > *,
body.esbb .esbb-treatment__content > *,
body.esbb .esbb-ingredient__content > * {
    max-width: var(--esbb-measure);
}

body.esbb .esbb-brand-page__description p:last-child {
    margin-bottom: 0;
}

body.esbb .esbb-brand-page__products .elementor-widget-heading .elementor-heading-title,
body.esbb :is(.esbb-ingredient__products, .esbb-ingredient__featured) .elementor-widget-heading .elementor-heading-title {
    margin: 0;
}

/* A brand with no logo, no short description or no description shows nothing
   in their place: Elementor drops a widget that prints nothing, and this holds
   if one prints only its empty box. Never in the editor. */
body.esbb:not(.elementor-editor-active) :is(.esbb-brand-page__logo, .esbb-brand-page__lede, .esbb-brand-page__description):empty,
body.esbb:not(.elementor-editor-active) .elementor-element:is(.esbb-brand-page__logo, .esbb-brand-page__lede, .esbb-brand-page__description):not(:has(:not(.e-con-inner, .elementor-widget-container:empty))) {
    display: none;
}

/* --- An ingredient's own page ---------------------------------------------- */

/* The template (esbb-ingredient) is a brand page's shape. The overview
   (__overview) holds a quiet "Ingredient" (__kind), the name as the page's
   heading (__title), its summary as a lede and its content at a reading
   measure. The summary is the record's own (__lede, the excerpt) or, without
   one, the brand's line for it as a key ingredient (__message,
   featured_message). The products follow in the Shop's regions: those whose
   ingredient lists name it (__products), or, for an ingredient no list names,
   the products that feature it as a key ingredient (__featured). Never both:
   the second only stands in for the first. */
body.esbb:not(.elementor-editor-active) .esbb-ingredient__lede:has(p) ~ .esbb-ingredient__message,
body.esbb:not(.elementor-editor-active) :is(.esbb-ingredient__lede, .esbb-ingredient__message, .esbb-ingredient__content):empty,
body.esbb:not(.elementor-editor-active) .elementor-element:is(.esbb-ingredient__lede, .esbb-ingredient__message, .esbb-ingredient__content):not(:has(:not(.e-con-inner, .elementor-widget-container:empty))),
body.esbb:not(.elementor-editor-active) .e-con:is(.esbb-ingredient__products, .esbb-ingredient__featured):not(:has(.presskit-search-listing)),
body.esbb:not(.elementor-editor-active) .e-con.esbb-ingredient:has(> .esbb-ingredient__products .presskit-search-listing) > .esbb-ingredient__featured {
    display: none;
}

body.esbb .esbb-ingredient__message,
body.esbb .esbb-ingredient__message p {
    font-size: var(--esbb-text-lead);
    line-height: 1.45;
    max-width: var(--esbb-measure);
}

body.esbb .esbb-ingredient__message p {
    margin: 0;
}

/* --- An ingredient's guide (T-1462) ----------------------------------------- */

/* Under the name, its roles (__roles: Post Terms over ingredient_role, each a
   link to its role's page) as quiet pills, and its other names (__aka). Below
   the overview, the guide (__guide): What It Is (__what), Why It's Used
   (__why), Good to Know (__good) and Sources (__sources), each a heading over
   cited text at a reading measure. The text comes from the esbb plugin's
   [esbb-cited] (.esbb-cited, its markers .esbb-cite) and the list from
   [esbb-sources] (.esbb-sources, each item's id the marker's target). A part
   with nothing to say takes no room, and the guide with no part none; never
   in the editor. A role's own page (esbb-ingredient-role-page) says what the
   role is above its ingredients, with the same quiet line over its name. */
body.esbb .elementor-widget-heading:is(.esbb-ingredient__roles, .esbb-ingredient__aka) .elementor-heading-title {
    font: inherit;
    letter-spacing: inherit;
}

body.esbb .esbb-ingredient__roles {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-sm);
}

body.esbb .esbb-ingredient__roles a {
    display: inline-block;
    margin: 0 0.4rem 0.4rem 0;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--esbb-control-edge);
    border-radius: 999px;
    color: var(--esbb-chocolate);
    text-decoration: none;
}

body.esbb .esbb-ingredient__roles a:is(:hover, :focus-visible) {
    border-color: var(--esbb-chocolate);
}

body.esbb .esbb-ingredient__aka {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-sm);
    color: var(--esbb-chocolate-soft);
}

body.esbb .e-con.esbb-ingredient__guide > .e-con-inner,
body.esbb .e-con-full.esbb-ingredient__guide {
    gap: clamp(1.75rem, 3.5vw, 2.5rem);
}

body.esbb :is(.esbb-ingredient__what, .esbb-ingredient__why, .esbb-ingredient__good, .esbb-ingredient__sources) .elementor-widget-heading .elementor-heading-title {
    margin: 0 0 0.5em;
    font-size: var(--esbb-text-h3);
}

body.esbb .esbb-cited {
    max-width: var(--esbb-measure);
}

body.esbb .esbb-cited p:last-child {
    margin-bottom: 0;
}

body.esbb .esbb-cite {
    font-family: var(--esbb-font-sans);
    font-size: 0.7em;
    line-height: 0;
    margin-left: 0.1em;
}

body.esbb .esbb-cite a {
    text-decoration: none;
}

/* Two sources on one sentence read "1,2", never "12". */
body.esbb .esbb-cite + .esbb-cite::before {
    content: ",";
}

body.esbb .esbb-sources-label {
    margin: 1.25rem 0 0.4rem;
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-sources {
    max-width: var(--esbb-measure);
    margin: 0;
    padding-left: 1.4em;
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-sm);
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-sources li + li {
    margin-top: 0.35em;
}

body.esbb .esbb-sources li:target {
    color: var(--esbb-chocolate);
}

body.esbb .esbb-sources li[id] {
    scroll-margin-top: 6rem;
}

/* With no guide, the products follow the overview as they did before it. */
body.esbb:not(.elementor-editor-active) .e-con.esbb-ingredient > .e-con.esbb-ingredient__overview + .e-con.esbb-ingredient__guide:not(:has(.esbb-cited, .esbb-sources)) + .e-con.esbb-section:not(.esbb-band) {
    --container-default-padding-top: 0px;
}

body.esbb:not(.elementor-editor-active) .e-con:is(.esbb-ingredient__what, .esbb-ingredient__why, .esbb-ingredient__good):not(:has(.esbb-cited)),
body.esbb:not(.elementor-editor-active) .e-con.esbb-ingredient__sources:not(:has(.esbb-sources)),
body.esbb:not(.elementor-editor-active) .e-con.esbb-ingredient__guide:not(:has(.esbb-cited, .esbb-sources)) {
    display: none;
}

body.esbb .esbb-ingredient-role-page__kind {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--esbb-chocolate-soft);
}

body.esbb .elementor-widget-heading.esbb-ingredient-role-page__kind .elementor-heading-title {
    font: inherit;
    letter-spacing: inherit;
}

body.esbb .esbb-ingredient-role-page__intro {
    max-width: var(--esbb-measure);
}

/* A role's ingredients ([esbb-role-ingredients]): each its name, how and why it is used at a
   reading measure, and a quiet product count, under a hairline; and every role at a glance
   ([esbb-ingredient-roles], the Ingredient Roles page), two to a row from 768px. */
body.esbb :is(.esbb-role-ingredients, .esbb-roles) {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
}

body.esbb .esbb-role-ingredient {
    border-top: 1px solid var(--esbb-wafer-deep);
    padding-block: 1.1rem;
    display: grid;
    gap: 0.3rem;
}

body.esbb :is(.esbb-role-ingredient__name, .esbb-roles__name) {
    margin: 0;
    font-size: var(--esbb-text-h3);
}

body.esbb :is(.esbb-role-ingredient__name, .esbb-roles__name) a {
    text-decoration: none;
}

body.esbb :is(.esbb-role-ingredient__name, .esbb-roles__name) a:is(:hover, :focus-visible) {
    text-decoration: underline;
}

body.esbb :is(.esbb-role-ingredient__why, .esbb-roles__intro) {
    margin: 0;
    max-width: var(--esbb-measure);
}

body.esbb :is(.esbb-role-ingredient__count, .esbb-roles__count) {
    margin: 0;
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-sm);
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-roles {
    gap: 1.25rem 2.5rem;
}

body.esbb .esbb-roles__role {
    border-top: 1px solid var(--esbb-gold);
    padding-top: 1rem;
    display: grid;
    gap: 0.4rem;
    align-content: start;
}

@media (min-width: 768px) {
    body.esbb .esbb-roles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* --- The treatment pages ---------------------------------------------------- */

/* A section page (Skin, Body, Beauty: esbb-treatments-page, T-1442) is the
   Treatment Menu's section under the page's heading: each group
   (esbb-treatments__group, its id the group's slug, so /skin/#facials lands on
   it) under a gold rule, its heading and intro (__head) beside its rows from
   1025px and above them below. The rows are the menu's own, as the home page
   shows them. A link that lands on a group leaves room for the header. */
body.esbb .esbb-treatments {
    gap: clamp(2.5rem, 5vw, 4rem);
    margin-top: clamp(0.5rem, 2vw, 1.5rem);
}

body.esbb .esbb-treatments__group {
    border-top: 1px solid var(--esbb-gold);
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
    scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 6rem);
}

body.esbb .esbb-treatments__heading {
    font-size: var(--esbb-text-h3);
    margin: 0 0 0.4em;
}

body.esbb .esbb-treatments__intro {
    max-width: var(--esbb-measure);
    font-size: 1.0625rem;
    color: var(--esbb-chocolate-soft);
}

@media (min-width: 1025px) {
    body.esbb .esbb-treatments__group {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, var(--esbb-measure-wide));
        gap: 0 clamp(2.5rem, 5vw, 4.5rem);
        align-items: start;
    }

    body.esbb .esbb-treatments__head {
        margin: 0;
    }

    body.esbb .esbb-treatments__group > .esbb-menu {
        grid-column: 2;
    }
}

/* A treatment's own page (esbb-treatment) is a product page's shape (the
   wrapper and section rules above). The overview (__overview) reads top to
   bottom: where it sits (__place), its name (__title, at the product's size),
   its description as a lede (__lede, at the brand's), its content when it has
   any (__content, at a reading measure), its facts and Book (__facts), and its
   concerns as quiet labels (__concerns); then the rest of its group (__more).
   Each part the treatment has nothing for takes no room: Elementor drops a
   widget that prints nothing, and __more with no other treatment goes too.
   Never in the editor. */
body.esbb .esbb-treatment__place .esbb-menu__place {
    font-family: var(--esbb-font-sans);
    font-size: var(--esbb-text-ui);
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-treatment__place a {
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-treatment__place a:hover {
    color: var(--esbb-chocolate);
}

body.esbb .esbb-treatment__facts .esbb-menu__facts {
    border-top: 1px solid var(--esbb-wafer);
    border-bottom: 1px solid var(--esbb-wafer);
    padding-block: 1rem;
}

body.esbb .esbb-treatment__facts .esbb-menu__note {
    max-width: var(--esbb-measure);
    font-family: var(--esbb-font-sans);
    color: var(--esbb-chocolate-soft);
}

body.esbb .esbb-treatment__facts .esbb-menu__actions {
    margin: 1.25rem 0 0;
}

body.esbb .esbb-menu--more .esbb-menu__heading {
    font-size: var(--esbb-text-h3);
    margin-bottom: 1.25rem;
}

body.esbb:not(.elementor-editor-active) .e-con.esbb-treatment__more:not(:has(.esbb-menu)) {
    display: none;
}
