/* Page Builder runtime styles.
   Nearly every rule is nested under .pb-root, the wrapper of builder content, so nothing outside it is affected.
   The exceptions, each with its reason beside it, are the sideways-scroll guard above the section rules,
   --pb-text-size below, the catalog and moved-node rules, and the wrapper of a product page with a layout.
   Per-node values (spacing, colours, alignment) are not here; they come from the generated stylesheet. */

/* Page text size in px, for text a theme sets to 0: RenderSession.InThemeClass */
@property --pb-text-size { syntax: '<length>'; inherits: true; initial-value: 16px; }
body { --pb-text-size: 1em; }

/* Design tokens. Colours follow the theme's accent variables where a theme provides them. */
.pb-root {
    --pb-color-accent: var(--theme-accent, #2a6fdb);
    --pb-color-accent-hover: var(--theme-accent-hover, #1f57b0);
    /* deep (white text on it), soft (a background) */
    --pb-color-accent-strong: var(--theme-accent-text, #1d4a96);
    --pb-color-accent-soft: var(--theme-accent-bg, #eef3fc);
    --pb-color-on-accent: #fff;
    --pb-color-surface: #fff;
    --pb-color-surface-alt: #f5f6f8;
    --pb-color-text: #1f2328;
    --pb-color-text-muted: #5b6470;
    --pb-color-border: #d9dde3;
    --pb-shadow-sm: 0 1px 2px rgba(0, 0, 0, .08);
    --pb-shadow-md: 0 4px 12px rgba(0, 0, 0, .10);
    --pb-shadow-lg: 0 12px 32px rgba(0, 0, 0, .14);
    --pb-content-width: 1200px;
    --pb-gutter: 16px;
    --pb-em: max(1em, calc(var(--pb-text-size) - 1000em)); /* 1em, never 0 */

    /* How much of the window's width the theme keeps for itself beside the content: a fixed side column, for
       example. Nothing in most themes. A full-width band is the window's width less this. */
    --pb-frame-inset: 0px;
    --pb-band: calc(100vw - var(--pb-frame-inset));
}

/* A theme without its accent variables (preset not saved again): its own default accent, not blue. */
.pb-root.pb-theme-pacific {
    --pb-color-accent: var(--theme-accent, #f5a64a);
    --pb-color-accent-hover: var(--theme-accent-hover, #f28e1a);
    --pb-color-accent-strong: var(--theme-accent-text, #996427);
    --pb-color-accent-soft: var(--theme-accent-bg, #fef8f1);
}

.pb-root.pb-theme-emporium {
    --pb-color-accent: var(--theme-accent, #87a728);
    --pb-color-accent-hover: var(--theme-accent-hover, #667e1e);
    --pb-color-accent-strong: var(--theme-accent-text, #2e341b);
    --pb-color-accent-soft: var(--theme-accent-bg, #f5f8ee);
}

.pb-root.pb-theme-poppy {
    --pb-color-accent: var(--theme-accent, #ce9191);
    --pb-color-accent-hover: var(--theme-accent-hover, #be6e6e);
    --pb-color-accent-strong: var(--theme-accent-text, #796666);
    --pb-color-accent-soft: var(--theme-accent-bg, #fbf6f6);
}

.pb-root.pb-theme-prisma {
    --pb-color-accent: var(--theme-accent, #57b568);
    --pb-color-accent-hover: var(--theme-accent-hover, #429752);
    --pb-color-accent-strong: var(--theme-accent-text, #404c42);
    --pb-color-accent-soft: var(--theme-accent-bg, #f2f9f3);
}

.pb-root.pb-theme-venture {
    --pb-color-accent: var(--theme-accent, #f3cc2e);
    --pb-color-accent-hover: var(--theme-accent-hover, #e1b70d);
    --pb-color-accent-strong: var(--theme-accent-text, #816e21);
    --pb-color-accent-soft: var(--theme-accent-bg, #fefbee);
}

.pb-root.pb-theme-voyage {
    --pb-color-accent: var(--theme-accent, #c09e6c);
    --pb-color-accent-hover: var(--theme-accent-hover, #ae864b);
    --pb-color-accent-strong: var(--theme-accent-text, #5f584e);
    --pb-color-accent-soft: var(--theme-accent-bg, #faf7f3);
}

/* Black text on a light accent, where the browser has relative colours, is in pb-contrast.min.css. */

/* Themes whose content is not in the middle of the window. The wrapper of builder content carries the theme's
   name (pb-theme-<name>). A theme that is not listed here and needs a value sets --pb-frame-inset on .pb-root in
   its own stylesheet, with the breakpoints at which its layout changes. */

/* Poppy keeps a column on the left from 1025 pixels on: 250 pixels wide, and 300 from 1281 pixels on. */
@media all and (min-width: 1025px) {
    .pb-root.pb-theme-poppy {
        --pb-frame-inset: 250px;
    }
}

@media all and (min-width: 1281px) {
    .pb-root.pb-theme-poppy {
        --pb-frame-inset: 300px;
    }
}

/* A section spans the window even though the theme keeps its content in a column: it breaks out of the column by
   the distance between the column's edge and the edge of the area the theme leaves to the content. That area is
   the window less --pb-frame-inset (--pb-band), and the column is in its middle. */
/* A full-width band is as wide as the viewport, and 100vw includes the vertical scrollbar. Without this the page
   could be scrolled sideways by the width of that scrollbar. This is the only rule here that reaches outside
   .pb-root; it applies only to pages that contain a section, and "clip" does not create a scroll container, so
   sticky headers keep working. */
html:has(.pb-section, .pb-root > .pb-hero, .pb-root > .pb-block > .pb-hero) > body {
    overflow-x: clip;
}

.pb-root .pb-section {
    box-sizing: border-box;
    width: var(--pb-band);
    max-width: var(--pb-band);
    margin-left: calc(50% - var(--pb-band) / 2);
    margin-right: calc(50% - var(--pb-band) / 2);
    /* a theme may centre the text of a page; a section starts where the language does */
    text-align: start;
}

/* In a column beside other things a section is as wide as the column (pb-zone.js marks such a widget, a catalog
   page has a side column). */
.pb-record-text .pb-root,
.pb-root.pb-root--column,
.html-pagebuilder-catalog-page .pb-root {
    --pb-band: 100%;
}

/* Text a theme sets to 0: RenderSession.InThemeClass */
.pb-root.pb-root,
.pb-root .pb-in-theme {
    font-size: var(--pb-em);
}

/* A moved part of a theme's page is not pinned where the theme writes it */
.pb-theme-moved {
    position: static !important;
    inset: auto !important;
    float: none !important;
    transform: none !important;
    max-width: 100% !important;
}

.pb-root .pb-section__inner {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pb-gutter);
    padding-right: var(--pb-gutter);
}

.pb-root .pb-section--boxed > .pb-section__inner {
    max-width: var(--pb-content-width);
}

/* The column count and the gap of a component are custom properties, and a custom property is handed down: a list
   inside a row of three columns would have three columns too, and a group in it the row's gap. So every component
   that reads one of the two starts from its own value. These rules weigh nothing (":where"), so the value an
   author sets, which is written on the same element, always wins. A component added later does the same. */
:where(.pb-root .pb-columns) { --pb-cols: 2; --pb-gap: 24px; }
:where(.pb-root .pb-group) { --pb-gap: 16px; }
:where(.pb-root .pb-list) { --pb-cols: 1; --pb-gap: 8px; }
:where(.pb-root .pb-gallery) { --pb-cols: 4; --pb-gap: 12px; }
:where(.pb-root .pb-social) { --pb-gap: 12px; }

/* Columns: a grid whose column count and gap are custom properties, so each breakpoint only changes a number. */
.pb-root .pb-columns {
    display: grid;
    grid-template-columns: repeat(var(--pb-cols, 2), minmax(0, 1fr));
    gap: var(--pb-gap, 24px);
    align-items: stretch;
}

.pb-root .pb-column {
    box-sizing: border-box;
    min-width: 0;
}

/* Group: a flex container; direction, justification and alignment come from the generated stylesheet. */
.pb-root .pb-group {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: var(--pb-gap, 16px);
    min-width: 0;
}

/* A group centred with auto margins (a column of at most so many pixels) is as wide as its content, and the content
   of an accordion or tabs changes when a visitor opens a panel: the group, and everything in it, would grow and
   shrink with every click. Such a group takes the full width its max-width allows instead. */
.pb-root .pb-group:has(.pb-accordion, .pb-tabs) {
    width: 100%;
}

.pb-root .pb-group--wrap {
    flex-wrap: wrap;
}

/* The other containers stack their children as a flex column too. The children fill the width as blocks do, and
   the alignment a node sets for itself (start, centre, end) then works in every container, not only in a group. */
.pb-root .pb-section__inner,
.pb-root .pb-column,
.pb-root .pb-accordion__body,
.pb-root .pb-tabs__panel,
.pb-root .pb-carousel__slide {
    display: flex;
    flex-direction: column;
}

/* A global block shown by reference. Its wrapper lays its content out as the other containers do, so the content
   behaves the same whether it is written into the page or shown through a block. */
.pb-root .pb-block {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pb-root .pb-heading {
    margin: 0 0 .5em;
}

.pb-root .pb-text > :first-child {
    margin-top: 0;
}

.pb-root .pb-text > :last-child {
    margin-bottom: 0;
}

/* Shown to administrators only, in place of a node that could not be rendered. */
.pb-root .pb-diagnostic {
    margin: 8px 0;
    padding: 8px 12px;
    border: 1px dashed #c0392b;
    color: #c0392b;
    font: 12px/1.4 monospace;
}

/* ----- content components ------------------------------------------------------------------------------------- */

/* Image. The shape (aspect-ratio) comes from the generated stylesheet; without one the picture keeps its own. */
.pb-root .pb-image {
    display: block;
    margin: 0;
    overflow: hidden;
}

.pb-root .pb-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.pb-root .pb-image--contain img {
    object-fit: contain;
}

.pb-root .pb-image > a {
    display: block;
    height: 100%;
}

/*
   Button. Colours follow the design tokens, which follow the theme's accent where the theme provides one.
   What a text style of the node can replace (size, weight, line height, decoration) is set on the wrapper, which
   is the element the generated rule of the node addresses; the button takes all of it over from the wrapper.
*/
.pb-root .pb-button-wrap {
    font-weight: 600;
    line-height: 1.3;
}

.pb-root .pb-button-wrap--sm {
    font-size: calc(.875 * var(--pb-em));
}

.pb-root .pb-button-wrap--lg {
    font-size: calc(1.125 * var(--pb-em));
}

.pb-root .pb-button {
    box-sizing: border-box;
    display: inline-block;
    padding: 10px 22px;
    border: 2px solid var(--pb-color-accent);
    border-radius: 4px;
    background: var(--pb-color-accent);
    color: var(--pb-color-on-accent);
    font: inherit;
    letter-spacing: inherit;
    text-align: center;
    text-decoration: inherit;
    text-transform: inherit;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}

.pb-root a.pb-button:hover,
.pb-root a.pb-button:focus-visible {
    background: var(--pb-color-accent-hover);
    border-color: var(--pb-color-accent-hover);
    color: var(--pb-color-on-accent);
}

.pb-root .pb-button:focus-visible {
    outline: 2px solid var(--pb-color-text);
    outline-offset: 2px;
}

.pb-root .pb-button--secondary {
    background: var(--pb-color-text);
    border-color: var(--pb-color-text);
    color: var(--pb-color-surface);
}

.pb-root .pb-button--outline {
    background: transparent;
    color: var(--pb-color-accent);
}

.pb-root a.pb-button--outline:hover,
.pb-root a.pb-button--outline:focus-visible {
    background: var(--pb-color-accent);
    color: var(--pb-color-on-accent);
}

.pb-root .pb-button--sm {
    padding: 6px 14px;
}

.pb-root .pb-button--lg {
    padding: 14px 30px;
}

.pb-root .pb-button--block {
    display: block;
    width: 100%;
}

.pb-root span.pb-button {
    cursor: default;
}

/* Link. The underline is set on the wrapper for the same reason as the text styles of the button. */
.pb-root .pb-link {
    text-decoration: underline;
}

.pb-root .pb-link--plain {
    text-decoration: none;
}

.pb-root .pb-link a {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-decoration: inherit;
    text-transform: inherit;
}

.pb-root .pb-divider {
    box-sizing: content-box;
    height: 0;
    margin: 0;
    border: 0;
    border-top: 1px solid currentColor;
}

.pb-root .pb-spacer {
    height: 32px;
}

/* Video: the poster and a play mark; the player replaces them when the visitor asks for the video. */
.pb-root .pb-video {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #111;
}

.pb-root .pb-video__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pb-root .pb-video__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-root .pb-video__icon {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    transition: background-color .15s;
}

.pb-root .pb-video__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -14px 0 0 -8px;
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent #fff;
}

.pb-root .pb-video__play:hover .pb-video__icon,
.pb-root .pb-video__play:focus-visible .pb-video__icon {
    background: var(--pb-color-accent);
}

.pb-root .pb-video iframe,
.pb-root .pb-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pb-root .pb-video video {
    object-fit: contain;
}

/* The pause and play button of what moves by itself (a video file without controls, a carousel): two bars while it
   moves, a triangle when it stands. */
.pb-root .pb-toggle {
    position: relative;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--pb-color-border);
    border-radius: 50%;
    background: var(--pb-color-surface);
    color: var(--pb-color-text);
    cursor: pointer;
}

.pb-root .pb-toggle::before {
    /* the two bars are the borders around an empty middle; a theme's border-box would swallow the middle */
    box-sizing: content-box;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-style: solid;
    border-color: currentColor;
    border-width: 0 4px;
}

.pb-root .pb-toggle--stopped::before {
    width: 0;
    margin: -7px 0 0 -4px;
    height: 0;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent currentColor;
}

.pb-root .pb-toggle:focus-visible {
    outline: 2px solid var(--pb-color-accent);
    outline-offset: 2px;
}

.pb-root .pb-video__toggle {
    position: absolute;
    inset-inline-end: 12px;
    bottom: 12px;
    border-color: transparent;
    background: rgba(0, 0, 0, .65);
    color: #fff;
}

.pb-root .pb-html {
    overflow-wrap: anywhere;
}

/* A code block keeps to its own box: what its CSS positions is placed inside it and cut off at its edge, and its
   layers do not mix with the page's. The block's own CSS may lift the cut for a shadow or a pop-up. */
.pb-root .pb-codeblock {
    position: relative;
    isolation: isolate;
    overflow: clip;
    overflow-wrap: anywhere;
}

/* ----- marketing components ----------------------------------------------------------------------------------- */

/* Banner. The picture fills the box; a dark layer of adjustable strength keeps the text readable on it. */
.pb-root .pb-hero {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    overflow: hidden;
    color: #fff;
    background: #2b2f36;
    --pb-hero-overlay: .35;
}

.pb-root > .pb-hero,
.pb-root > .pb-block > .pb-hero {
    width: var(--pb-band);
    max-width: var(--pb-band);
    margin-left: calc(50% - var(--pb-band) / 2);
    margin-right: calc(50% - var(--pb-band) / 2);
}

.pb-root .pb-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-root .pb-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: var(--pb-hero-overlay);
}

.pb-root .pb-hero--plain::after {
    display: none;
}

.pb-root .pb-hero__inner {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: var(--pb-content-width);
    padding: 32px var(--pb-gutter);
    text-align: center;
}

.pb-root .pb-hero--start .pb-hero__inner {
    text-align: start;
}

.pb-root .pb-hero--end .pb-hero__inner {
    text-align: end;
}

.pb-root .pb-hero__heading {
    margin: 0 0 12px;
    color: inherit;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.15;
}

.pb-root .pb-hero__text {
    margin: 0 0 20px;
    color: inherit;
    font-size: 1.125em;
    white-space: pre-line;
}

/* Accordion: the browser's own disclosure element. */
.pb-root .pb-accordion__item {
    border-bottom: 1px solid var(--pb-color-border);
}

.pb-root .pb-accordion__item:first-child {
    border-top: 1px solid var(--pb-color-border);
}

.pb-root .pb-accordion__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 4px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.pb-root .pb-accordion__title::-webkit-details-marker {
    display: none;
}

.pb-root .pb-accordion__title::after {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    margin-inline-end: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .15s;
}

.pb-root .pb-accordion__item[open] > .pb-accordion__title::after {
    transform: rotate(-135deg);
}

.pb-root .pb-accordion__title:focus-visible {
    outline: 2px solid var(--pb-color-accent);
    outline-offset: -2px;
}

.pb-root .pb-accordion__body {
    padding: 4px 4px 16px;
}

/* Tabs. */
.pb-root .pb-tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 1px solid var(--pb-color-border);
}

.pb-root .pb-tabs--center > .pb-tabs__list {
    justify-content: center;
}

.pb-root .pb-tabs--end > .pb-tabs__list {
    justify-content: flex-end;
}

.pb-root .pb-tabs__tab {
    margin: 0 0 -1px;
    padding: 10px 18px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: none;
    color: var(--pb-color-text-muted);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.pb-root .pb-tabs__tab[aria-selected="true"] {
    border-bottom-color: var(--pb-color-accent);
    color: var(--pb-color-text);
}

.pb-root .pb-tabs__tab:focus-visible {
    outline: 2px solid var(--pb-color-accent);
    outline-offset: -2px;
}

.pb-root .pb-tabs__panel {
    padding: 16px 0;
}

.pb-root .pb-tabs__panel[hidden] {
    display: none;
}

/* In the editor every panel is shown under its title, so each one can be edited. */
.pb-root .pb-tabs--editing > .pb-tabs__panel::before {
    content: attr(data-pb-title);
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--pb-color-text-muted);
}

/* Carousel: scroll snapping; the number of slides in view and the gap are custom properties. */
.pb-root .pb-carousel {
    position: relative;
    --pb-slides: 3;
    --pb-gap: 16px;
}

.pb-root .pb-carousel__track {
    display: flex;
    gap: var(--pb-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.pb-root .pb-carousel__track:focus-visible {
    outline: 2px solid var(--pb-color-accent);
    outline-offset: 2px;
}

.pb-root .pb-carousel__slide {
    box-sizing: border-box;
    flex: 0 0 calc((100% - (var(--pb-slides) - 1) * var(--pb-gap)) / var(--pb-slides));
    min-width: 0;
    scroll-snap-align: start;
}

.pb-root .pb-carousel__button {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    padding: 0;
    border: 1px solid var(--pb-color-border);
    border-radius: 50%;
    background: var(--pb-color-surface);
    box-shadow: var(--pb-shadow-sm);
    cursor: pointer;

    /* above what a slide holds: a theme's product tile lays a hover layer over itself, and a button under it
       could not be pressed (seen live with Pacific) */
    z-index: 20;
    color: var(--pb-color-text);
}

.pb-root .pb-carousel__button--previous {
    inset-inline-start: 8px;
}

.pb-root .pb-carousel__button--next {
    inset-inline-end: 8px;
}

.pb-root .pb-carousel__button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--pb-color-text);
    border-right: 2px solid var(--pb-color-text);
}

.pb-root .pb-carousel__button--previous::after {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.pb-root .pb-carousel__button--next::after {
    transform: translate(-70%, -50%) rotate(45deg);
}

/* Written from right to left the row starts at the right: "previous" is there, and points there. */
[dir="rtl"] .pb-root .pb-carousel__button--previous::after {
    transform: translate(-70%, -50%) rotate(45deg);
}

[dir="rtl"] .pb-root .pb-carousel__button--next::after {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.pb-root .pb-carousel__button:focus-visible {
    outline: 2px solid var(--pb-color-accent);
    outline-offset: 2px;
}

/* Below the track: the stop button and the dots, which the script makes. A dot is a 24 pixel target with a 10 pixel
   mark. The row is 12 + 32 pixels high, so the previous and next buttons move up by half of that to stay centred on
   the track. */
.pb-root .pb-carousel__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 32px;
    margin-top: 12px;
}

.pb-root .pb-carousel--nav .pb-carousel__button {
    top: calc(50% - 22px);
}

.pb-root .pb-carousel__nav .pb-toggle {
    width: 32px;
    height: 32px;
    margin-inline-end: 8px;
}

.pb-root .pb-carousel__dot {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.pb-root .pb-carousel__dot::before {
    content: "";
    position: absolute;
    top: 7px;
    inset-inline-start: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pb-color-border);
}

.pb-root .pb-carousel__dot[aria-current]::before {
    background: var(--pb-color-accent);
}

.pb-root .pb-carousel__dot:focus-visible {
    outline: 2px solid var(--pb-color-accent);
    outline-offset: -2px;
    border-radius: 50%;
}

/* Commerce: the theme's product boxes; the node sets only the tiles per row and the gap, so the theme's
   catalogue sizing of ".item-box" (percent widths, floats, clears) is taken back. */
.pb-root .pb-products {
    --pb-cols: 4;
    --pb-gap: 24px;
    min-width: 0;
}

.pb-root .pb-products .product-grid {
    margin: 0;
}

.pb-root .pb-products--grid .pb-products__track {
    display: grid;
    grid-template-columns: repeat(var(--pb-cols), minmax(0, 1fr));
    gap: var(--pb-gap);
    margin: 0;
}

.pb-root .pb-products .pb-products__track > .pb-products__item {
    float: none;
    clear: none;
    width: auto;
    max-width: none;
    margin: 0;
}

.pb-root .pb-products--grid .pb-products__track::before,
.pb-root .pb-products--grid .pb-products__track::after {
    content: none;
}

.pb-root .pb-products--carousel {
    --pb-slides: var(--pb-cols);
}

.pb-root .pb-products--carousel .pb-products__track > .pb-products__item {
    flex: 0 0 calc((100% - (var(--pb-slides) - 1) * var(--pb-gap)) / var(--pb-slides));
}

/* One product is a tile, not a band across the section. A width set on the node replaces this. */
.pb-root .pb-product {
    max-width: 320px;
}

.pb-root .pb-product .pb-products__item {
    float: none;
    width: auto;
    margin: 0;
}

/* The wrapper of a product page with a layout (ProductPage.cshtml) keeps the theme's class product-essential, so
   that the theme's rules for what it holds still apply, but not the theme's box around it: Pioneer makes
   product-essential a grid of three columns from 1345px wide, which put the whole layout in its first column and
   the sections' full width off the left of the window. This rule reaches outside .pb-root, onto that wrapper only. */
.product-essential.pb-product-essential {
    display: block;
}

/* A product part shows the theme's view inside the theme's element (overview, collateral), whose column box is
   taken back: the layout places the part. */
.pb-root .pb-product-part.overview,
.pb-root .pb-product-part.product-collateral {
    position: relative;
    float: none;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

/* The name is a part of its own: Voyage hiding it, Venture laying it over the column, Emporium narrowing it, Prisma
   writing it right to left (a table with its breadcrumb) are taken back. */
.pb-root .pb-product-part--name .product-name {
    display: block;
    direction: inherit;
    position: static;
    width: auto;
    height: auto;
    min-height: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* The pictures fill their part: a theme floats its gallery (and Venture the picture), which would shrink here. */
.pb-root .pb-product-part--gallery .gallery {
    float: none;
    width: auto;
    max-width: none;
    margin-inline: 0;
}

.pb-root .pb-product-part--gallery .picture-wrapper {
    float: none;
}

/* Share buttons where the theme puts them: Pacific and NextGen at the left of the box of the pictures, which is the
   nearest box drawn around them (a column or group with a background, border or shadow), else the part. */
.pb-root .pb-product-part--gallery,
.pb-root .pb-framed:has(.pb-product-part--gallery) {
    position: relative;
}

.pb-root .pb-framed .pb-product-part--gallery {
    position: static;
}

/* Add to cart on one line in a narrow column: Pacific's and NextGen's 42% for the wish list and e-mail buttons
   wraps under it; Poppy's width is for its whole overview. */
:is(.pb-theme-pacific, .pb-theme-nextgen) .pb-product-part--buy .overview-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

:is(.pb-theme-pacific, .pb-theme-nextgen) .pb-product-part--buy .add-to-cart {
    order: -1;
    max-width: 100%;
}

:is(.pb-theme-pacific, .pb-theme-nextgen) .pb-product-part--buy .overview-buttons {
    float: none;
    width: auto;
    margin-inline-start: auto;
}

.pb-theme-poppy .pb-product-part--buy .add-to-cart-button {
    min-width: min(100%, 200px);
}

/* A frame whose parts show nothing for this product (no reviews...) is not shown; the canvas shows placeholders. */
.pagebuilder-product-page .pb-root .pb-group:not(:has(*)) {
    display: none;
}

/* The breadcrumb stays in place: Venture lays it over its page, over the product's name here. */
.pb-root .pb-product-part--breadcrumb .breadcrumb {
    position: static;
    inset: auto;
    width: auto;
    transform: none;
}

/* The category navigation without its title: also where the theme writes the title in the navigation's own view. */
.pb-root .pb-product-part--no-title .block-category-navigation > .title {
    display: none;
}

/* One value of the product with its label: on one line, or the label above the value. */
.pb-root .pb-product-field--inline .pb-product-field__label {
    margin-inline-end: .35em;
    font-weight: 700;
}

.pb-root .pb-product-field--inline .pb-product-field__label::after {
    content: ":";
}

.pb-root .pb-product-field--stacked .pb-product-field__label {
    display: block;
    margin-bottom: 2px;
    color: var(--pb-color-text-muted);
    font-size: .875em;
}

/* Codes hidden in the product info, found by the id of their value; the rule wins over the store's script showing
   them again on an attribute change. */
.pb-root .pb-product-info--hide-sku div:has(> [id^="sku-"]),
.pb-root .pb-product-info--hide-manufacturerpartnumber div:has(> [id^="mpn-"]),
.pb-root .pb-product-info--hide-gtin div:has(> [id^="gtin-"]),
.pb-root .pb-product-info--hide-vendor .product-vendor,
.pb-root .pb-product-info--hide-leadtime .product-estimatedLeadTime {
    display: none !important;
}

/* The rows an author adds to the product info: one value with its label each, below the theme's codes. */
.pb-root .pb-product-info__rows {
    display: grid;
    gap: 6px;
    margin-block: 8px 12px;
}

/* The full description is the part's own. A tabs plugin of the store (Quick Tabs) hides the description of the
   theme's product page by its class, to show it in its tabs; the part shows it where the author put it. */
.pb-root .pb-product-part--description .full-description {
    display: block;
}

/* A part folded under its heading (the description, the specifications): the visitor opens it with a click. */
.pb-root .pb-product-fold {
    border-bottom: 1px solid var(--pb-color-border, rgba(0, 0, 0, .12));
}

.pb-root .pb-product-fold__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.pb-root .pb-product-fold__heading::-webkit-details-marker {
    display: none;
}

.pb-root .pb-product-fold__heading::after {
    content: "+";
    font-size: 1.25em;
    line-height: 1;
}

.pb-root .pb-product-fold[open] > .pb-product-fold__heading::after {
    content: "\2212";
}

.pb-root .pb-product-fold__body {
    padding-bottom: 16px;
}

.pb-root .pb-categories {
    --pb-cols: 4;
    --pb-gap: 24px;
    display: grid;
    grid-template-columns: repeat(var(--pb-cols), minmax(0, 1fr));
    gap: var(--pb-gap);
}

.pb-root .pb-categories__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.pb-root .pb-categories__picture {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    background: var(--pb-color-surface-alt);
}

.pb-root .pb-categories__picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-root .pb-categories__name {
    font-weight: 600;
}

.pb-root a.pb-categories__item:hover .pb-categories__name,
.pb-root a.pb-categories__item:focus-visible .pb-categories__name {
    color: var(--pb-color-accent);
}

.pb-root a.pb-categories__item:focus-visible {
    outline: 2px solid var(--pb-color-accent);
    outline-offset: 2px;
}

/* Logos are fitted, not cropped. */
.pb-root .pb-manufacturers .pb-categories__picture img {
    object-fit: contain;
    padding: 12%;
    box-sizing: border-box;
}

/* An icon is as large as the text around it and takes its colour. */
.pb-root .pb-icon {
    display: inline-block;
    flex: none;
    width: 1em;
    height: 1em;
    vertical-align: -.125em;
}

.pb-root .pb-icon-wrap {
    font-size: 32px;
    line-height: 1;
}

.pb-root .pb-icon-wrap__mark {
    display: inline-block;
    color: inherit;
}

.pb-root a.pb-icon-wrap__mark:focus-visible {
    outline: 2px solid var(--pb-color-accent);
    outline-offset: 2px;
}

.pb-root .pb-button__icon,
.pb-root .pb-link__icon {
    margin-inline-end: .5em;
}

.pb-root .pb-button__icon--end {
    margin-inline: .5em 0;
}

.pb-root .pb-list--icon .pb-list__icon {
    position: absolute;
    top: .2em;
    inset-inline-start: 0;
    color: var(--pb-color-accent);
}

/* A picture with a caption: the caption sits below the picture, inside the figure. With a fixed shape the shape is
   that of picture and caption together. */
.pb-root .pb-image--captioned {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
}

.pb-root .pb-image__caption {
    padding: 6px 2px 0;
    color: var(--pb-color-text-muted);
    font-size: .875em;
    text-align: center;
}

/* Quote. Themes style blockquote heavily; everything a theme sets on it is taken back, so the values of the node
   (on the figure) are what shows. */
.pb-root .pb-quote {
    margin: 0;
    padding: 4px 0;
    padding-inline-start: 20px;
    border-inline-start: 4px solid var(--pb-color-accent);
}

.pb-root .pb-quote--quotes,
.pb-root .pb-quote--none {
    padding-inline-start: 0;
    border-inline-start: 0;
}

.pb-root .pb-quote__text {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    quotes: "\201C" "\201D";
    white-space: pre-line;
}

.pb-root .pb-quote__text::before,
.pb-root .pb-quote__text::after {
    content: none;
}

.pb-root .pb-quote--quotes .pb-quote__text::before {
    content: open-quote;
}

.pb-root .pb-quote--quotes .pb-quote__text::after {
    content: close-quote;
}

.pb-root .pb-quote__by {
    margin-top: 8px;
    color: var(--pb-color-text-muted);
    font-size: .875em;
}

.pb-root .pb-quote__source {
    font-style: italic;
}

.pb-root .pb-quote__author + .pb-quote__source::before {
    content: ", ";
}

/* List. The markers are drawn here, so they look the same in every theme. */
.pb-root .pb-list {
    display: grid;
    grid-template-columns: repeat(var(--pb-cols, 1), minmax(0, 1fr));
    gap: var(--pb-gap, 8px) 24px;
    margin: 0;
    padding: 0;
    counter-reset: pb-list;
    list-style: none;
}

.pb-root .pb-list__item {
    position: relative;
    margin: 0;
    padding: 0;
    padding-inline-start: 1.6em;
    background: none;
    list-style: none;
}

.pb-root .pb-list--none .pb-list__item {
    padding-inline-start: 0;
}

.pb-root .pb-list__item::before {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    content: none;
}

.pb-root .pb-list--bullet .pb-list__item::before {
    top: .55em;
    inset-inline-start: .35em;
    width: .4em;
    height: .4em;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

/* A counted list: numbers, letters or Roman numerals. The marker ends a little before the text, so markers of
   different widths line up on their full stop; one wider than the indent grows towards the start. */
.pb-root .pb-list--counted { --pb-list-indent: 1.6em; }
.pb-root .pb-list--lowerRoman { --pb-list-indent: 2.6em; }
.pb-root .pb-list--upperRoman { --pb-list-indent: 3em; }

.pb-root .pb-list--counted .pb-list__item {
    padding-inline-start: var(--pb-list-indent);
    counter-increment: pb-list;
}

.pb-root .pb-list--counted .pb-list__item::before {
    inset-inline-start: auto;
    inset-inline-end: calc(100% - var(--pb-list-indent) + .45em);
    white-space: nowrap;
    content: counter(pb-list) ".";
    font-variant-numeric: tabular-nums;
}

.pb-root .pb-list--lowerAlpha .pb-list__item::before { content: counter(pb-list, lower-alpha) "."; }
.pb-root .pb-list--upperAlpha .pb-list__item::before { content: counter(pb-list, upper-alpha) "."; }
.pb-root .pb-list--lowerRoman .pb-list__item::before { content: counter(pb-list, lower-roman) "."; }
.pb-root .pb-list--upperRoman .pb-list__item::before { content: counter(pb-list, upper-roman) "."; }

.pb-root .pb-list--check .pb-list__item::before {
    top: .3em;
    inset-inline-start: .3em;
    width: .35em;
    height: .7em;
    border: solid var(--pb-color-accent);
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.pb-root .pb-list--dividers .pb-list__item {
    padding-bottom: var(--pb-gap, 8px);
    border-bottom: 1px solid var(--pb-color-border);
}

.pb-root .pb-list__item a {
    color: inherit;
    text-decoration: underline;
}

/* Table. A table wider than its place scrolls inside its own box. */
.pb-root .pb-table {
    overflow-x: auto;
}

.pb-root .pb-table:focus-visible,
.pb-root .pb-code:focus-visible {
    outline: 2px solid var(--pb-color-accent);
    outline-offset: 2px;
}

.pb-root .pb-table table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    background: none;
    color: inherit;
    font: inherit;
}

.pb-root .pb-table caption {
    padding: 0 0 8px;
    caption-side: top;
    color: var(--pb-color-text-muted);
    font-size: .875em;
    text-align: start;
}

.pb-root .pb-table th,
.pb-root .pb-table td {
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--pb-color-border);
    background: none;
    color: inherit;
    font: inherit;
    text-align: start;
    vertical-align: top;
}

.pb-root .pb-table th {
    font-weight: 600;
}

.pb-root .pb-table thead th {
    border-bottom-width: 2px;
}

.pb-root .pb-table--compact th,
.pb-root .pb-table--compact td {
    padding: 5px 8px;
}

.pb-root .pb-table--bordered th,
.pb-root .pb-table--bordered td {
    border: 1px solid var(--pb-color-border);
}

.pb-root .pb-table--striped tbody tr:nth-child(even) > *,
.pb-root .pb-table--hover tbody tr:hover > * {
    background: var(--pb-color-surface-alt);
    color: var(--pb-color-text);
}

/* Code: shown as typed, never run. */
.pb-root .pb-code {
    margin: 0;
    padding: 14px 16px;
    overflow-x: auto;
    border: 0;
    border-radius: 6px;
    background: #1f2328;
    color: #f5f6f8;
    font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    tab-size: 4;
    white-space: pre;
}

.pb-root .pb-code--wrap {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.pb-root .pb-code code {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
}

.pb-root .pb-audio audio {
    display: block;
    width: 100%;
}

/* Gallery. The pictures take the corners of the node. */
.pb-root .pb-gallery {
    display: grid;
    grid-template-columns: repeat(var(--pb-cols, 4), minmax(0, 1fr));
    gap: var(--pb-gap, 12px);
}

.pb-root .pb-gallery--masonry {
    display: block;
    column-count: var(--pb-cols, 4);
    column-gap: var(--pb-gap, 12px);
}

.pb-root .pb-gallery__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: inherit;
}

.pb-root .pb-gallery--masonry .pb-gallery__item {
    margin-bottom: var(--pb-gap, 12px);
    break-inside: avoid;
}

.pb-root .pb-gallery__link {
    display: block;
}

.pb-root .pb-gallery__link:focus-visible {
    outline: 2px solid var(--pb-color-accent);
    outline-offset: -2px;
}

.pb-root .pb-gallery img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    transition: transform .25s ease;
}

.pb-root .pb-gallery--grid img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.pb-root .pb-gallery--grid.pb-gallery--landscape img {
    aspect-ratio: 4/3;
}

.pb-root .pb-gallery--grid.pb-gallery--photo img {
    aspect-ratio: 3/2;
}

.pb-root .pb-gallery--grid.pb-gallery--wide img {
    aspect-ratio: 16/9;
}

.pb-root .pb-gallery--grid.pb-gallery--portrait img {
    aspect-ratio: 3/4;
}

.pb-root .pb-gallery--zoom .pb-gallery__link:hover img,
.pb-root .pb-gallery--zoom .pb-gallery__link:focus-visible img {
    transform: scale(1.04);
}

.pb-root .pb-gallery__caption {
    padding: 6px 2px 0;
    color: var(--pb-color-text-muted);
    font-size: .875em;
}

.pb-root .pb-gallery--captions-over .pb-gallery__caption {
    position: absolute;
    inset: auto 0 0;
    padding: 18px 10px 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .65));
    color: #fff;
    pointer-events: none;
}

/* The dialog a gallery picture opens in. It is put inside the content wrapper by the component script. */
.pb-root .pb-lightbox {
    max-width: 96vw;
    max-height: 96vh;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    color: #fff;
}

.pb-root .pb-lightbox::backdrop {
    background: rgba(0, 0, 0, .85);
}

.pb-root .pb-lightbox img {
    display: block;
    width: auto;
    max-width: 96vw;
    height: auto;
    max-height: 86vh;
    margin: 0 auto;
}

.pb-root .pb-lightbox__caption {
    margin: 8px 0 0;
    font: 14px/1.4 system-ui, sans-serif;
    text-align: center;
}

.pb-root .pb-lightbox button {
    position: fixed;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font: 24px/1 system-ui, sans-serif;
    cursor: pointer;
}

.pb-root .pb-lightbox button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* The sides are those of the language: written from right to left, "previous" is at the right. Its sign is one a
   browser mirrors with the direction of the text, so it points the way it leads on either side. */
.pb-root .pb-lightbox__close {
    top: 12px;
    inset-inline-end: 12px;
}

.pb-root .pb-lightbox__previous {
    top: calc(50% - 22px);
    inset-inline-start: 12px;
}

.pb-root .pb-lightbox__next {
    top: calc(50% - 22px);
    inset-inline-end: 12px;
}

/* Social links. The entries are inline, so the alignment of the node places them. */
.pb-root .pb-social {
    margin: 0 calc(var(--pb-gap, 12px) / -2);
    padding: 0;
    list-style: none;
}

.pb-root .pb-social__item {
    display: inline-block;
    margin: 4px calc(var(--pb-gap, 12px) / 2);
    padding: 0;
    background: none;
    list-style: none;
    vertical-align: middle;
}

.pb-root .pb-social__item::before {
    content: none;
}

.pb-root .pb-social__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    line-height: 1;
    text-decoration: none;
}

.pb-root .pb-social__link:hover,
.pb-root .pb-social__link:focus-visible {
    color: var(--pb-color-accent);
}

.pb-root .pb-social__link:focus-visible {
    outline: 2px solid var(--pb-color-accent);
    outline-offset: 2px;
}

.pb-root .pb-social svg {
    flex: none;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.pb-root .pb-social--sm svg {
    width: 16px;
    height: 16px;
}

.pb-root .pb-social--lg svg {
    width: 30px;
    height: 30px;
}

.pb-root .pb-social--circle .pb-social__link,
.pb-root .pb-social--square .pb-social__link {
    padding: 10px;
    border-radius: 6px;
    background: var(--pb-color-surface-alt);
}

.pb-root .pb-social--circle .pb-social__link {
    border-radius: 999px;
}

/* The fonts of the store's global styles. The wrapper carries a class only when the store chose a font, so the
   theme's fonts are left alone otherwise. The headings rule weighs as much as a node's own rule, which comes later
   and so wins: a font chosen on an element beats the store's heading font (seen live on 2026-10-03). */
/* The global text colour, when the store sets one: builder text takes it instead of the theme's. An element's own
   colour still wins, being set on the element. */
.pb-root.pb-colour-text {
    color: var(--pb-color-text);
}

.pb-root.pb-font-body {
    font-family: var(--pb-font-body);
}

.pb-root.pb-font-heading :where(h1, h2, h3, h4, h5, h6) {
    font-family: var(--pb-font-heading);
}

/* Said to the author in the editor's canvas only; the storefront never renders it. */
.pb-root .pb-editor-note {
    margin: 0 0 8px;
    padding: 6px 10px;
    background: var(--pb-color-surface-alt);
    color: var(--pb-color-text-muted);
    font: 12px/1.4 system-ui, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
    .pb-root .pb-carousel__track {
        scroll-behavior: auto;
    }

    .pb-root .pb-button,
    .pb-root .pb-video__icon,
    .pb-root .pb-gallery img,
    .pb-root .pb-accordion__title::after {
        transition: none;
    }
}
