/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child
Author: Elementor Team
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Home hero: native widgets own typography, spacing and responsive controls.
   Only the Figma masks, artwork crops and decorative layer geometry live here. */
/* Theme Builder 404: native widgets, with the existing About artwork/drawing. */
body .elementor .b2b-search-popup {
    --kit-widget-spacing: 0px;
}

body .elementor .b2b-search-popup p {
    margin: 0;
}

body .elementor .b2b-search-popup .elementor-heading-title span {
    color: #537068;
}

body .elementor-popup-modal:has(.b2b-search-popup) .dialog-widget-content {
    border-radius: 24px;
    overflow: hidden;
}

body .elementor-popup-modal:has(:is(.b2b-search-popup, .b2b-first-buyer-popup)) .dialog-close-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 11px;
    border: 1px solid #53706840;
    border-radius: 50%;
    background: #fff;
    color: #537068;
    transition: background-color .2s, border-color .2s, color .2s;
}

body .elementor-popup-modal:has(:is(.b2b-search-popup, .b2b-first-buyer-popup)) .dialog-close-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

body .elementor-popup-modal:has(:is(.b2b-search-popup, .b2b-first-buyer-popup)) .dialog-close-button:hover {
    background: #FFDD94;
    border-color: #FFDD94;
    color: #4F3920;
}

body .elementor-popup-modal:has(:is(.b2b-search-popup, .b2b-first-buyer-popup)) .dialog-close-button:focus-visible {
    outline: 2px solid #537068;
    outline-offset: 3px;
}

@media(prefers-reduced-motion:reduce) {
    body .elementor-popup-modal:has(:is(.b2b-search-popup, .b2b-first-buyer-popup)) .dialog-close-button {
        transition: none;
    }
}

/* Search appearance is owned by the widget's native Style controls. */
/* Account notice actions: override the widget's generic button hover styles. */
body .elementor .b2b-my-account .woocommerce-orders-table__cell-order-actions>a.button {
    margin-inline-start: 0;
    margin-inline-end: 10px;
    margin-block: 5px;
}

body .elementor .b2b-my-account .woocommerce-orders-table__cell-order-actions>a.button:last-child {
    margin-inline-end: 0;
}

body .elementor .elementor-element.b2b-my-account .woocommerce .woocommerce-MyAccount-content .woocommerce-info a.button {
    transition: background-color .2s ease, color .2s ease;
}

body .elementor .elementor-element.b2b-my-account .woocommerce .woocommerce-MyAccount-content .woocommerce-info a.button:is(:hover, :focus-visible) {
    background-color: var(--e-global-color-b2bbhover, #FAAE9F);
    color: #1A355A;
}

/* Checkout: separate gateway rows without changing their embedded fields. */
/* Separate order confirmation; its outer padding is saved natively in Elementor. */
.b2b-order-confirmation {
    text-align: center;
    color: #1A355A;
}

.b2b-order-confirmation h1 {
    margin: 0 0 20px;
}

.b2b-order-confirmation>p {
    max-width: 720px;
    margin: 0 auto 28px;
}

.b2b-order-tick {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 28px;
    fill: none;
    stroke: #23864B;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.b2b-order-tick circle {
    stroke-dasharray: 277;
    stroke-dashoffset: 277;
    animation: b2b-order-draw .7s ease forwards;
}

.b2b-order-tick path {
    stroke-dasharray: 65;
    stroke-dashoffset: 65;
    animation: b2b-order-draw .45s .55s ease forwards;
}

@keyframes b2b-order-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.b2b-order-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 32px 0;
    padding: 28px;
    border: 1px solid #E8E2D7;
    border-radius: 24px;
    background: #F5F0E6;
}

.b2b-order-facts dt {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 8px;
}

.b2b-order-facts dd {
    margin: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.b2b-order-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 0 28px;
}

body .elementor .b2b-order-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    border-radius: 50px;
    background: #FFDD94;
    color: #1A355A;
    font-family: Cleanow, sans-serif;
    font-size: 20px;
    line-height: 26px;
    transition: background-color .2s;
}

body .elementor .b2b-order-button-secondary {
    background: #F5F0E6;
}

body .elementor .b2b-order-button:hover {
    background: #FAAE9F;
    color: #1A355A;
}

body .elementor .b2b-order-button:focus-visible {
    outline: 2px solid #3A5E8E;
    outline-offset: 3px;
}

.b2b-order-confirmation .woocommerce-order-downloads {
    margin-top: 32px;
    text-align: left;
}

@media(max-width:1024px) {
    .b2b-order-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:767px) {
    .b2b-order-facts {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    body .elementor .b2b-order-button {
        width: 100%;
        font-size: 18px;
    }

    .b2b-order-tick {
        width: 84px;
        height: 84px;
    }
}

@media(prefers-reduced-motion:reduce) {

    .b2b-order-tick circle,
    .b2b-order-tick path {
        animation: none;
        stroke-dashoffset: 0;
    }

    body .elementor .b2b-order-button {
        transition: none;
    }
}

body .elementor .b2b-checkout.elementor-widget-woocommerce-checkout-page #payment ul.payment_methods>li.wc_payment_method+li.wc_payment_method {
    margin-top: 16px;
}

/* Purchase Summary: native controls style tables, addresses and buttons.
   WooCommerce's overview list has no panel or wrapping controls in the widget. */
body .elementor .b2b-purchase-summary .woocommerce-order-overview.order_details {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0 0 var(--sections-spacing, 32px);
    padding: var(--sections-padding, 28px);
    background: var(--sections-background-color, #F5F0E6);
    border: 1px solid var(--sections-border-color, #E8E2D7);
    border-radius: var(--sections-border-radius, 24px);
}

body .elementor .b2b-purchase-summary .woocommerce-order-overview.order_details::before,
body .elementor .b2b-purchase-summary .woocommerce-order-overview.order_details::after {
    display: none;
}

body .elementor .b2b-purchase-summary .woocommerce-order-overview.order_details li {
    flex: 1 1 150px;
    min-width: 0;
    float: none;
    margin: 0;
    padding: 0;
    border: 0;
    text-transform: none;
    overflow-wrap: anywhere;
}

body .elementor .b2b-purchase-summary :is(address, .shop_table td, .shop_table th) {
    overflow-wrap: anywhere;
}

body .elementor .b2b-purchase-summary .shop_table {
    border-collapse: separate;
}

body .elementor .b2b-purchase-summary .woocommerce-table--order-details .product-total {
    width: 28%;
}

body .elementor .b2b-purchase-summary address {
    font-style: normal;
}

/* Payment-gateway instructions have typography, but no native alignment control. */
body .elementor .b2b-purchase-summary .woocommerce-thankyou-order-details+p {
    text-align: center;
}

@media(max-width:1024px) {
    body .elementor .b2b-purchase-summary .woocommerce-order-overview.order_details {
        gap: 20px;
    }

    body .elementor .b2b-purchase-summary .woocommerce-order-overview.order_details li {
        flex-basis: 100%;
    }
}

@media(max-width:767px) {
    body .elementor .b2b-purchase-summary .shop_table :is(td, th) {
        min-width: 0;
    }
}

body .elementor .b2b-popup-search-form :is(input, button):focus {
    outline: none;
}

body .elementor .b2b-404 {
    min-height: 100vh;
    min-height: 100svh;
    isolation: isolate;
    overflow: hidden;
}

body .elementor .b2b-404::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/about/paper-texture.png') center/cover;
    opacity: .14;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1;
}

body .elementor .b2b-404 .b2b-404-digits .elementor-heading-title {
    display: flex;
    justify-content: center;
    gap: .035em;
    font-size: clamp(140px, 22vw, 320px);
    line-height: 1;
    margin: 0;
}

body .elementor .b2b-404-digits span {
    display: inline-block;
    animation: b2b-404-float 5s ease-in-out infinite;
}

body .elementor .b2b-404-digits span:nth-child(1) {
    color: #FFDD94;
}

body .elementor .b2b-404-digits span:nth-child(2) {
    color: #FEC9DC;
    animation-delay: -1.7s;
}

body .elementor .b2b-404-digits span:nth-child(3) {
    color: #B9D6C9;
    animation-delay: -3.4s;
}

body .elementor .b2b-404-copy p {
    margin: 0;
}

body .elementor .b2b-404-art {
    position: absolute;
    pointer-events: none;
    z-index: -1;
    line-height: 0;
}

/* The completed image must fill the same box as its animated SVG replacement. */
body .elementor .b2b-404-art img {
    width: 100%;
    height: auto;
}

body .elementor .b2b-404-rainbow {
    right: 5%;
    bottom: 8%;
    width: clamp(100px, 16vw, 250px);
    animation: b2b-404-float 7s ease-in-out infinite;
}

body .elementor .b2b-404-marks {
    left: 6%;
    top: 12%;
    width: clamp(75px, 9vw, 135px);
}

body .elementor .b2b-404 .elementor-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 5px;
}

@keyframes b2b-404-float {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@media(max-width:767px) {
    body .elementor .b2b-404-rainbow {
        bottom: 4%;
        right: 5%;
    }

    body .elementor .b2b-404-marks {
        top: 5%;
        left: 7%;
    }
}

@media(prefers-reduced-motion:reduce) {
    body .elementor :is(.b2b-404-digits span, .b2b-404-rainbow) {
        animation: none;
    }
}

/* About page: native Elementor controls own all section/widget spacing,
   typography, sizing and card styling. Only composite artwork geometry here. */
body .elementor .b2b-ap {
    --kit-widget-spacing: 0px;
    isolation: isolate;
}

body .elementor .b2b-ap :is(p, .elementor-heading-title) {
    margin: 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body .elementor .b2b-ap .elementor-heading-title span {
    color: var(--e-global-color-secondary, #537068);
}

/* Remove Icon List's built-in offsets; native Gap controls supply the exact
   Figma spacing and the wrapping container owns responsive row/column gaps. */
body .elementor .b2b-mission-benefit .elementor-icon-list-icon svg {
    margin: 0;
}

/* Keep replacement uploads square before the native 50% image-radius crop. */
body .elementor .b2b-mission-photo img {
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    object-position: center;
}

body .elementor .b2b-mission-benefit .elementor-icon-list-text {
    padding-inline-start: 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

/* About uses the same Figma curve in a 716.204px rather than 876.204px
   banner. Bottom-align the shared artwork at that ratio, without masking seams. */
body .elementor .b2b-ap-hero {
    overflow: visible;
    isolation: isolate;
}

body .elementor .b2b-ap-hero::before {
    content: '';
    position: absolute;
    inset: 0 0 -1px;
    width: auto;
    height: auto;
    z-index: 10;
    pointer-events: none;
    background: url('assets/images/hero/hero-wave-bottom.svg') center bottom/100% calc(100% * 876.204 / 716.204) no-repeat;
    transform: scaleX(-1);
    opacity: 1;
}

body.b2b-banner-page .elementor .b2b-ap-hero>.e-con-inner {
    padding-top: calc(var(--padding-top, 0px) + var(--b2b-header-overlap, 0px));
}

body .elementor .b2b-ap-hero>.e-con-inner {
    position: static;
}

/* Anchor the Figma brush stroke to its word so mobile line wrapping cannot
   detach the underline from the title. Keep the native Heading widget. */
body .elementor .b2b-ap-hero .elementor-heading-title .b2b-ap-underlined-word {
    color: inherit;
    position: relative;
    display: inline-block;
    isolation: isolate;
}

body .elementor .b2b-ap-underlined-word::after {
    content: '';
    position: absolute;
    width: 107.54%;
    aspect-ratio: 285.266/60.9295;
    left: -3.77%;
    bottom: -12%;
    background: url('assets/images/about-page/hero-underline.svg') center/contain no-repeat;
    transform: rotate(5.09deg);
    pointer-events: none;
    z-index: -1;
}

body .elementor .b2b-ap-hero-photo {
    inset: 0;
    pointer-events: none;
}

body .elementor .b2b-ap-hero-photo :is(.elementor-widget-container, img) {
    width: 100%;
    height: 100%;
}

body .elementor .b2b-ap-hero-photo img {
    display: block;
    object-fit: cover;
    object-position: center;
}

body .elementor .b2b-ap-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/about-page/hero-blue-overlay.svg') center/100% 100% no-repeat, url('assets/images/about-page/hero-overlay.svg') center top/100% 151.3% no-repeat;
    pointer-events: none;
    z-index: 1;
}

body .elementor .b2b-ap-value .elementor-widget-image {
    min-height: 50px;
    display: flex;
    align-items: center;
}

/* Animate only the artwork; the native widget dimensions and card layout stay fixed. */
body:not(.elementor-editor-active) .elementor .b2b-ap-value .elementor-widget-image img {
    transform-origin: 50% 80%;
    animation: b2b-value-idea 5s ease-in-out infinite;
    animation-delay: var(--b2b-value-delay, 0s);
}

body .elementor .b2b-ap-value:nth-child(2) {
    --b2b-value-delay: -.6s;
}

body .elementor .b2b-ap-value:nth-child(3) {
    --b2b-value-delay: -1.2s;
}

body .elementor .b2b-ap-value:nth-child(4) {
    --b2b-value-delay: -1.8s;
}

body .elementor .b2b-ap-value:nth-child(5) {
    --b2b-value-delay: -2.4s;
}

body .elementor .b2b-ap-value:nth-child(6) {
    --b2b-value-delay: -3s;
}

@keyframes b2b-value-idea {

    0%,
    60%,
    100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 0 transparent);
    }

    72% {
        transform: translateY(-3px) rotate(-4deg);
        filter: drop-shadow(0 0 3px #ff00ff26);
    }

    83% {
        transform: translateY(-2px) rotate(3deg);
        filter: drop-shadow(0 0 4px #ff00ff33);
    }

    93% {
        transform: translateY(0) rotate(-1deg);
        filter: drop-shadow(0 0 1px #ff00ff1a);
    }
}

@media (prefers-reduced-motion:reduce) {
    body:not(.elementor-editor-active) .elementor .b2b-ap-value .elementor-widget-image img {
        animation: none;
        transform: none;
        filter: none;
    }
}

body .elementor .b2b-ap-values::before,
body .elementor .b2b-ap-values::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1921/172;
    pointer-events: none;
    background-position: center bottom;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    animation: b2b-scallop-bounce 4.5s ease-in-out infinite;
    --b2b-scallop-stretch: 94%;
}

body .elementor .b2b-ap-values::before {
    top: -1px;
    bottom: auto;
    background-image: url('assets/images/about-page/values-top.svg');
}

body .elementor .b2b-ap-values::after {
    top: auto;
    bottom: -1px;
    background-color: #fff;
    background-image: url('assets/images/about-page/values-bottom.svg');
}

/* The copied Home carousel follows a white section on About, not a cream one. */
body .elementor .b2b-ap-showcase::after {
    display: none;
}

@media (max-width:1600px) {
    body .elementor .b2b-ap-value .elementor-widget-image {
        min-height: 40px;
    }
}

@media (max-width:1200px) {

    body .elementor .b2b-ap-values::before,
    body .elementor .b2b-ap-values::after {
        --b2b-scallop-stretch: 96%;
    }
}

@media (max-width:767px) {
    body .elementor .b2b-ap-hero-photo img {
        object-position: 65% center;
    }

    body .elementor .b2b-ap-values::before,
    body .elementor .b2b-ap-values::after {
        background-size: 100% 100%;
        animation: b2b-scallop-mobile 5.5s ease-in-out infinite;
        will-change: transform;
    }

    /* Keep the white backing stationary at the lower boundary to prevent a
       cream hairline being exposed beneath a vertically compressed divider. */
    body .elementor .b2b-ap-values::after {
        animation: b2b-ap-bottom-wave 5.5s ease-in-out infinite;
        will-change: auto;
    }
}

@keyframes b2b-ap-bottom-wave {

    0%,
    100% {
        background-size: 100% 100%;
    }

    50% {
        background-size: 100% 97%;
    }
}

@media (prefers-reduced-motion:reduce) {

    body .elementor .b2b-ap-values::before,
    body .elementor .b2b-ap-values::after {
        animation: none;
        background-size: 100% 100%;
        will-change: auto;
    }
}

body .elementor .b2b-home-hero {
    isolation: isolate;
    --kit-widget-spacing: 0px;
}

body .elementor .b2b-hero-carousel.elementor-widget-n-carousel {
    --e-n-carousel-arrow-next-right-position: var(--b2b-arrow-inset);
    --e-n-carousel-arrow-prev-left-position: calc(-1 * (var(--b2b-arrow-inset) + var(--b2b-arrow-step)));
}

/* Preserve Figma's flipped curve with a transparent SVG overlay. Avoid inverse
   mask compositing/percentage clipping, which can expose a fractional-pixel seam. */
body .elementor .b2b-hero-carousel.elementor-widget-n-carousel::after {
    content: '';
    position: absolute;
    inset: 0 0 -1px;
    z-index: 10;
    pointer-events: none;
    background: url('assets/images/hero/hero-wave-bottom.svg') center/100% 100% no-repeat;
    transform: scaleX(-1);
}

body .elementor .b2b-hero-carousel {
    --b2b-arrow-inset: max(20px, calc((100% - 1720px) / 2));
    --b2b-arrow-step: 78px;
}

body .elementor .b2b-hero-carousel .elementor-swiper-button::before {
    content: '';
    width: var(--e-n-carousel-arrow-size, 20px);
    aspect-ratio: 1;
    background: url('assets/images/hero/hero-arrow-blue.svg') center/contain no-repeat;
}

body .elementor .b2b-hero-carousel .elementor-swiper-button-prev::before {
    background-image: url('assets/images/hero/hero-arrow-white.svg');
    transform: scaleX(-1);
}

body .elementor .b2b-hero-carousel .elementor-swiper-button :is(i, svg) {
    display: none;
}

body .elementor .b2b-hero-carousel.elementor-widget-n-carousel .elementor-swiper-button-next {
    background: #fff;
}

body .elementor .b2b-hero-carousel.elementor-widget-n-carousel .elementor-swiper-button-next:hover {
    background: var(--e-global-color-accent, #ffdd94);
}

body .elementor .b2b-hero-carousel .elementor-swiper-button:focus-visible {
    outline: 2px solid var(--e-global-color-accent, #ffdd94);
    outline-offset: 4px;
}

/* Dynamic header/hero overlap is content-measured, not a section spacing value.
   Native hero padding remains editable and is added to this measured offset. */
/* First-paint overlap matches the saved native logo size + navigation padding.
   script.js replaces it with the measured height once ready. Without this
   initial value, the transparent header exposes a blank strip until JS runs. */
body.b2b-banner-page {
    --b2b-header-overlap: 164px;
}

@media(max-width:1600px) {
    body.b2b-banner-page {
        --b2b-header-overlap: 132.4px;
    }
}

@media(max-width:1200px) {
    body.b2b-banner-page {
        --b2b-header-overlap: 112px;
    }
}

@media(max-width:1024px) {
    body.b2b-banner-page {
        --b2b-header-overlap: 98px;
    }
}

@media(max-width:767px) {
    body.b2b-banner-page {
        --b2b-header-overlap: 84px;
    }
}

body.b2b-banner-page .elementor-location-header {
    margin-bottom: calc(-1 * var(--b2b-header-overlap, 0px));
}

body.b2b-banner-page .elementor .b2b-home-hero.e-con>.e-con-inner {
    padding-top: calc(var(--padding-top, 0px) + var(--b2b-header-overlap, 0px));
}

body.b2b-banner-page .b2b-home-hero>.e-con-inner> :is(.b2b-hero-decoration, .b2b-hero-trail) {
    translate: 0 var(--b2b-decorative-shift, 0px);
}

body.b2b-banner-page .elementor .b2b-header:not(.elementor-sticky--effects) {
    background: transparent;
}

body.b2b-banner-page .elementor .b2b-header:not(.elementor-sticky--effects) {
    --b2b-action-border: #ffffff80;
    --b2b-action-background: #ffffff29;
    --b2b-cart-art: url('assets/images/cart.svg');
    --b2b-search-art: url('assets/images/search.svg');
    --b2b-account-art: url('assets/images/account.svg');
    --b2b-heart-art: url('assets/images/heart.svg');
}

body.b2b-banner-page .elementor .b2b-header:not(.elementor-sticky--effects) .b2b-primary-nav .elementor-nav-menu--main .elementor-item {
    color: #fff;
}

body.b2b-banner-page .elementor .b2b-header:not(.elementor-sticky--effects) .b2b-primary-nav .elementor-nav-menu--main .elementor-item:is(:hover, :focus-visible, .highlighted) {
    color: var(--e-global-color-accent, #ffdd94);
}

body.b2b-banner-page .elementor .b2b-header:not(.elementor-sticky--effects) .b2b-primary-nav .elementor-menu-toggle {
    color: #fff;
    background: #3a5e8e12;
}

body.b2b-banner-page .elementor .b2b-header:not(.elementor-sticky--effects) .b2b-primary-nav .elementor-menu-toggle svg {
    fill: currentColor;
}

@media (min-width:768px) {
    body.b2b-banner-page .elementor .b2b-home-hero::after {
        background-size: 100% 100%, 100% 100%;
    }
}

body .elementor .b2b-home-hero>.e-con-inner {
    position: static;
}

body .elementor .b2b-home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/hero/hero-blue-overlay.svg') center/100% 100% no-repeat, url('assets/images/hero/hero-top-overlay.svg') center bottom/100% 124% no-repeat;
    z-index: 1;
    pointer-events: none;
}

body .elementor .b2b-hero-copy {
    max-width: 553px;
}

body .elementor .b2b-home-hero .elementor-widget {
    min-width: 0;
}

body .elementor .b2b-hero-copy :is(p, .elementor-heading-title) {
    margin: 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body .elementor .b2b-home-hero .b2b-hero-photo {
    pointer-events: none;
    max-width: none !important;
}

body .elementor .b2b-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
}

body .elementor .b2b-hero-decoration {
    pointer-events: none;
    line-height: 0;
}

body .elementor .b2b-hero-decoration img {
    display: block;
}

body .elementor .b2b-hero-maths {
    transform: rotate(-24.6deg);
}

body .elementor .b2b-hero-rays {
    transform: rotate(10.3deg);
}

body .elementor .b2b-hero-rays.is-rays-animated img {
    display: none;
}

body .elementor .b2b-hero-rays .b2b-rays-sequence {
    display: block;
    width: 100%;
    height: auto;
}

body .elementor .b2b-rays-sequence path {
    transform-box: fill-box;
    transform-origin: center;
    animation-duration: 3.6s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

body .elementor .b2b-rays-sequence path[fill="#C0D6FF"] {
    animation-name: b2b-ray-blue;
}

body .elementor .b2b-rays-sequence path[fill="#FAAE9F"] {
    animation-name: b2b-ray-orange;
}

body .elementor .b2b-rays-sequence path[fill="#FFDD94"] {
    animation-name: b2b-ray-yellow;
}

@keyframes b2b-ray-blue {
    0% {
        opacity: 0;
        transform: scale(.7);
    }

    30%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes b2b-ray-orange {

    0%,
    33% {
        opacity: 0;
        transform: scale(.7);
    }

    63%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes b2b-ray-yellow {

    0%,
    66% {
        opacity: 0;
        transform: scale(.7);
    }

    96%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion:reduce) {
    body .elementor .b2b-rays-sequence path[fill] {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

body .elementor :is(.b2b-hero-title, .b2b-hero-welcome, .b2b-hero-description, .b2b-hero-button) {
    z-index: 1;
}

body .elementor :is(.b2b-hero-trail, .b2b-hero-underline) {
    pointer-events: none;
}

body .elementor .b2b-hero-underline .elementor-divider {
    padding: 0;
}

body .elementor .b2b-home-hero .b2b-hero-underline.elementor-widget-divider .elementor-divider-separator {
    display: block;
    border: 0;
    border-block-start: 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* One native Image widget is the editor/no-JS/reduced-motion fallback. */
body .elementor .b2b-hero-trail img {
    display: block;
    width: 100%;
    height: auto;
}

body .elementor .b2b-fairy-flight {
    display: none;
    width: 100%;
    height: auto;
    overflow: visible;
    pointer-events: none;
}

body .elementor .is-fairy-animated .b2b-fairy-flight {
    display: block;
}

body .elementor .is-fairy-animated .b2b-hero-trail img {
    display: none;
}

@media (prefers-reduced-motion:reduce) {
    body .elementor .is-fairy-animated .b2b-fairy-flight {
        display: none;
    }

    body .elementor .is-fairy-animated .b2b-hero-trail img {
        display: block;
    }
}

/* Keep the combined artwork clear of the copy at every breakpoint. */
body .elementor .b2b-home-hero .elementor-widget.b2b-hero-trail.is-trail-ready {
    left: var(--trail-left);
    top: var(--trail-top);
    width: var(--trail-width);
    max-width: none;
    translate: none;
}

body .elementor .b2b-hero-underline .elementor-divider-separator {
    aspect-ratio: 351 / 61;
    background-image: url('assets/images/hero/hero-underline.svg');
    transform: rotate(5.09deg);
}

body .elementor .b2b-hero-planet {
    aspect-ratio: 83.508 / 49.56;
    overflow: hidden;
    mask: url('assets/images/hero/hero-planet-mask.svg') center/114.64% 117.22% no-repeat;
    transform: rotate(-3.64deg) scaleX(-1);
}

body .elementor .b2b-hero-planet img {
    position: absolute;
    width: 431.12%;
    max-width: none;
    height: 739%;
    left: -184.7%;
    top: -145%;
}

/* Bounce the complete original artwork without changing its crop or orientation. */
body .elementor .b2b-hero-planet {
    --b2b-planet-bounce: 14px;
    animation: b2b-planet-bounce 2.8s ease-in-out infinite;
}

@keyframes b2b-planet-bounce {

    0%,
    100% {
        transform: translateY(0) rotate(-3.64deg) scaleX(-1);
    }

    45% {
        transform: translateY(calc(-1 * var(--b2b-planet-bounce))) rotate(-3.64deg) scaleX(-1);
    }

    70% {
        transform: translateY(0) rotate(-3.64deg) scaleX(-1);
    }

    85% {
        transform: translateY(calc(-.25 * var(--b2b-planet-bounce))) rotate(-3.64deg) scaleX(-1);
    }
}

body .elementor .swiper-slide:not(.swiper-slide-active) .b2b-hero-planet {
    animation-play-state: paused;
}

@media (max-width:1600px) {
    body .elementor .b2b-hero-planet {
        --b2b-planet-bounce: 11.2px;
    }
}

@media (max-width:1200px) {
    body .elementor .b2b-hero-planet {
        --b2b-planet-bounce: 9px;
    }
}

@media (max-width:767px) {
    body .elementor .b2b-hero-planet {
        --b2b-planet-bounce: 7px;
    }
}

@media (prefers-reduced-motion:reduce) {
    body .elementor .b2b-hero-planet {
        animation: none;
    }
}

body .elementor .b2b-hero-button .elementor-button:is(:focus, :active) {
    outline: 0;
}

body .elementor .b2b-hero-button .elementor-button:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width:1600px) {
    body .elementor .b2b-hero-carousel {
        --b2b-arrow-inset: max(20px, calc((100% - 1376px) / 2));
        --b2b-arrow-step: 64px;
    }

    body .elementor .b2b-hero-copy {
        max-width: 442.4px;
    }

    /* Keep bottom-anchored artwork covering the hero as its width shrinks. */
    body .elementor .b2b-home-hero .b2b-hero-photo {
        top: 0;
        bottom: 0;
    }

    body .elementor .b2b-hero-photo :is(.elementor-widget-container, img) {
        height: 100%;
    }

    body .elementor .b2b-hero-photo img {
        min-height: 100%;
        object-fit: cover;
        object-position: top left;
    }
}

@media (max-width:1200px) {
    body .elementor .b2b-hero-carousel {
        --b2b-arrow-inset: 20px;
        --b2b-arrow-step: 60px;
    }

    body .elementor .b2b-hero-copy {
        max-width: 415px;
    }

    body .elementor .b2b-home-hero::after {
        background: linear-gradient(90deg, #2e4e79 0%, #2e4e79e6 20%, #2e4e7999 38%, #2e4e7900 72%);
    }

    body .elementor .b2b-hero-photo img {
        object-fit: cover;
        object-position: 72% center;
    }
}

/* Elementor currently emits tablet_extra after tablet. These scoped fallbacks
   preserve the values saved in the native tablet controls until that is fixed. */
@media (min-width:768px) and (max-width:1024px) {
    body .elementor .b2b-hero-copy {
        max-width: 400px;
    }

    body .elementor .b2b-home-hero.e-con .b2b-hero-welcome .elementor-heading-title {
        font-size: 33.6px;
        line-height: 40.6px;
    }

    body .elementor .b2b-home-hero.e-con .b2b-hero-title .elementor-heading-title {
        font-size: 67.2px;
        line-height: 70px;
        letter-spacing: -1.4px;
    }

    body .elementor .b2b-home-hero.e-con .b2b-hero-underline.elementor-widget {
        left: 78.4px;
        top: 143.5px;
        width: 246.4px;
        max-width: 246.4px;
    }

    body .elementor .b2b-home-hero.e-con .b2b-hero-rays.elementor-widget {
        left: 330.4px;
        top: 18.2px;
        width: 46.2px;
        max-width: 46.2px;
    }
}

@media (max-width:767px) {
    body .elementor .b2b-hero-carousel {
        --b2b-arrow-step: 54px;
    }

    body .elementor .b2b-home-hero::before {
        display: none;
    }

    body .elementor .b2b-home-hero::after {
        background: linear-gradient(180deg, #2e4e79 0%, #2e4e79 37%, #2e4e79cc 51%, #2e4e7900 76%);
    }

    body .elementor .b2b-home-hero .b2b-hero-photo {
        top: 34%;
        bottom: 0;
    }

    body .elementor .b2b-hero-photo img {
        object-position: 68% center;
    }

    body .elementor .b2b-hero-copy {
        max-width: 350px;
    }
}

/* Native Elementor controls own typography, colour, spacing and flex layout.
   Custom CSS handles only fluid sizing, decorative layers, marquee and Gravity Forms. */
/* Product categories: native Loop Carousel, Image and Heading widgets. */
body .elementor .b2b-categories {
    --kit-widget-spacing: 0px;
}

body .elementor .b2b-categories-title .elementor-heading-title,
body .elementor .b2b-category-name .elementor-heading-title {
    margin: 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body .elementor .b2b-categories-title span {
    color: var(--e-global-color-secondary, #537068);
}

body .elementor .b2b-category-name {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

body .elementor .b2b-category-name .elementor-heading-title {
    white-space: normal;
    overflow-wrap: anywhere;
}

body .elementor .b2b-category-name a {
    color: inherit;
}

body .elementor .b2b-category-name a:hover {
    color: var(--e-global-color-secondary, #537068);
}

body .elementor .b2b-category-image a {
    display: inline-block;
    position: relative;
    max-width: 100%;
    vertical-align: top;
}

body .elementor .b2b-category-image img {
    display: block;
    aspect-ratio: 1;
    object-fit: cover;
}

/* Stock category photographs use the same circular framing as the original artwork. */
body .elementor .b2b-category-image img[src*="-pexels-"] {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

body .elementor .b2b-category-image a::before {
    content: '';
    position: absolute;
    inset: -7px;
    background: url('assets/images/categories/category-ring.svg') center/contain no-repeat;
    pointer-events: none;
}

body .elementor .b2b-category-image a::before {
    transform-origin: center;
    animation: b2b-category-ring-spin 24s linear infinite;
}

@keyframes b2b-category-ring-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion:reduce) {
    body .elementor .b2b-category-image a::before {
        animation: none;
    }
}

body .elementor .b2b-category-carousel .swiper {
    overflow: clip;
    overflow-clip-margin: 16px;
}

body .elementor .b2b-category-carousel {
    --arrow-prev-caption-spacing: 0px;
    --arrow-next-caption-spacing: 0px;
}

body .elementor .b2b-category-carousel .elementor-swiper-button::before {
    content: '';
    width: var(--arrow-size, 20px);
    aspect-ratio: 1;
    background: url('assets/images/categories/arrow-brown.svg') center/contain no-repeat;
}

body .elementor .b2b-category-carousel .elementor-swiper-button-prev::before {
    transform: rotate(180deg);
}

body .elementor .b2b-category-carousel .elementor-swiper-button-next::before {
    background-image: url('assets/images/categories/arrow-white.svg');
}

body .elementor .b2b-category-carousel .elementor-swiper-button :is(i, svg) {
    display: none;
}

body .elementor .b2b-categories .elementor-widget-loop-carousel.b2b-category-carousel .elementor-swiper-button-next {
    background: #4F3920;
}

body .elementor .b2b-categories .elementor-widget-loop-carousel.b2b-category-carousel .elementor-swiper-button-next:hover {
    background: var(--e-global-color-accent, #FFDD94);
}

body .elementor .b2b-category-carousel .elementor-swiper-button-next:hover::before {
    background-image: url('assets/images/categories/arrow-brown.svg');
}

body .elementor .b2b-categories :is(a, .elementor-swiper-button):focus-visible {
    outline: 2px solid var(--e-global-color-secondary, #537068);
    outline-offset: 5px;
}

/* Product Loop Item: native controls own layout, type, buttons and carousel.
   Figma's original silhouette/texture layers need custom compositing. */
body .elementor .b2b-products {
    --kit-widget-spacing: 0px;
    --b2b-product-scale: 1;
    --b2b-products-nav-space: 166px;
    isolation: isolate;
    overflow: clip;
}

body .elementor .b2b-products::after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    aspect-ratio: 1921/172;
    background: url('assets/images/products/section-scallop.svg') center/100% 100% no-repeat;
    transform: rotate(180deg);
    pointer-events: none;
    z-index: -1;
}

body .elementor .b2b-products-title .elementor-heading-title,
body .elementor .b2b-product-title .elementor-heading-title,
body .elementor .b2b-product-price .elementor-heading-title {
    margin: 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body .elementor .b2b-products-title span {
    color: var(--e-global-color-secondary, #537068);
}

/* The exported silhouette includes a 6px shadow below its 718px face.
   Keep that export bleed out of the face sizing, and use the same silhouette
   to mask the texture: a separate CSS radius leaves beige corner slivers. */
body .elementor .b2b-product-card {
    background-size: 100% 100.84% !important;
    background-position: center top !important;
    isolation: isolate;
}

/* Match the pointer target to the SVG arch, not its transparent rectangular
   corners. Keep overflow visible so the decorative glow/shadow is preserved.
   Percentages follow each exported SVG's face (excluding its shadow bleed). */
body .elementor .b2b-product-card {
    border-radius: 50% 50% 6.786% 6.786% / 28.343% 28.343% 3.846% 3.846%;
}

body .elementor .b2b-product-card.b2b-clip-card {
    border-radius: 50% 50% 4.994% 4.994% / 38.510% 38.510% 3.846% 3.846%;
}

body .elementor .b2b-product-card.b2b-story-product-card {
    border-radius: 50% 50% 6.266% 6.266% / 30.694% 30.694% 3.846% 3.846%;
}

body .elementor .b2b-product-card.b2b-resource-card {
    border-radius: 50% 50% 6.398% 6.398% / 30.059% 30.059% 3.846% 3.846%;
}

body .elementor .b2b-product-card>.e-con-inner {
    border-radius: inherit;
}

/* A CSS background cannot paint outside its box. This inherited backing layer
   preserves the SVG's complete rounded edge and its original 6px shadow bleed. */
body .elementor .b2b-product-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 100.84%;
    background-image: inherit;
    background-position: center top;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: -2;
}

body .elementor .b2b-product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/products/hover-texture.png') 50% calc(.5px * var(--b2b-product-scale))/167.32% 100.74% no-repeat;
    -webkit-mask: url('assets/images/products/card-blue.svg') center top/100% 100.84% no-repeat;
    mask: url('assets/images/products/card-blue.svg') center top/100% 100.84% no-repeat;
    mask-mode: alpha;
    mix-blend-mode: luminosity;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity .25s ease;
}

body .elementor .b2b-product-card:hover::after,
body .elementor .b2b-product-card:focus-within::after {
    opacity: .5;
}

body .elementor .b2b-product-card:focus-within {
    background-image: url('assets/images/products/card-blue.svg');
}

body .elementor .b2b-product-image {
    isolation: isolate;
}

body .elementor .b2b-product-image a {
    display: inline-block;
    position: relative;
    max-width: 100%;
    vertical-align: top;
}

body .elementor .b2b-product-image img {
    display: block;
    aspect-ratio: 227/294;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

body .elementor .b2b-product-image a::after {
    content: '';
    position: absolute;
    width: 160.35%;
    aspect-ratio: 364/36;
    bottom: -6.12%;
    left: 50%;
    transform: translateX(-50%);
    background: url('assets/images/products/book-shadow.svg') center/contain no-repeat;
    pointer-events: none;
}

body .elementor .b2b-product-image::before {
    content: '';
    position: absolute;
    width: calc(932px * var(--b2b-product-scale));
    aspect-ratio: 1;
    left: 50%;
    top: calc(-358px * var(--b2b-product-scale));
    transform: translateX(-50%);
    background: url('assets/images/products/hover-glow.svg') center/contain no-repeat;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity .25s ease;
}

body .elementor .b2b-product-card:is(:hover, :focus-within) .b2b-product-image::before {
    opacity: 1;
}

body .elementor .b2b-product-title {
    width: 100%;
    max-width: calc(359px * var(--b2b-product-scale));
}

body .elementor .e-loop-item.post-116 .b2b-product-title {
    max-width: calc(373px * var(--b2b-product-scale));
}

body .elementor .e-loop-item.post-115 .b2b-product-title {
    max-width: calc(319px * var(--b2b-product-scale));
}

body .elementor .b2b-product-title .elementor-heading-title {
    min-block-size: calc(103px * var(--b2b-product-scale));
}

body .elementor .b2b-product-title a {
    color: inherit;
}

body .elementor .b2b-products-divider {
    width: calc(100% - var(--b2b-products-nav-space));
    pointer-events: none;
}

body .elementor .b2b-product-carousel {
    --arrow-prev-caption-spacing: 0px;
    --arrow-next-caption-spacing: 0px;
}

body .elementor .b2b-product-carousel {
    overflow: clip;
    overflow-clip-margin: 350px;
}

body .elementor .b2b-product-carousel .swiper {
    overflow: visible;
    clip-path: inset(-350px 0 calc(-.84% - 2px));
}

body .elementor .b2b-product-carousel .elementor-swiper-button::before {
    content: '';
    width: var(--arrow-size, 20px);
    aspect-ratio: 1;
    background: url('assets/images/categories/arrow-brown.svg') center/contain no-repeat;
}

body .elementor .b2b-product-carousel .elementor-swiper-button-prev::before {
    transform: rotate(180deg);
}

body .elementor .b2b-product-carousel .elementor-swiper-button-next::before {
    background-image: url('assets/images/categories/arrow-white.svg');
}

body .elementor .b2b-product-carousel .elementor-swiper-button :is(i, svg) {
    display: none;
}

body .elementor .b2b-products .elementor-widget-loop-carousel.b2b-product-carousel .elementor-swiper-button-next {
    background: #4F3920;
}

body .elementor .b2b-products .elementor-widget-loop-carousel.b2b-product-carousel .elementor-swiper-button-next:hover {
    background: var(--e-global-color-accent, #FFDD94);
}

body .elementor .b2b-product-carousel .elementor-swiper-button-next:hover::before {
    background-image: url('assets/images/categories/arrow-brown.svg');
}

body .elementor .b2b-products :is(a, .elementor-swiper-button):focus-visible {
    outline: 2px solid var(--e-global-color-secondary, #537068);
    outline-offset: 4px;
}

@media (max-width:1600px) {
    body .elementor .b2b-products {
        --b2b-product-scale: .8;
        --b2b-products-nav-space: 136px;
    }
}

@media (max-width:1200px) {
    body .elementor .b2b-products {
        --b2b-product-scale: .75;
        --b2b-products-nav-space: 126px;
    }
}

@media (max-width:1024px) {
    body .elementor .b2b-products {
        --b2b-product-scale: .7;
    }
}

@media (max-width:767px) {
    body .elementor .b2b-products {
        --b2b-products-nav-space: 114px;
    }

    body .elementor .b2b-product-title .elementor-heading-title {
        min-block-size: 58px;
    }
}

@media (prefers-reduced-motion:reduce) {

    body .elementor .b2b-product-card::after,
    body .elementor .b2b-product-image::before {
        transition: none;
    }
}

/* Free Resources reuses the native product carousel's layout and controls.
   The original resource-card artwork has its own texture, crop, and proportions. */
body .elementor .b2b-resources::after {
    content: none;
}

body .elementor .b2b-resource-card {
    background-size: 100% 100.89% !important;
}

body .elementor .b2b-resource-card::before {
    height: 100.89%;
}

body .elementor .b2b-resource-card::after {
    background: url('assets/images/resources/texture.png') 50% calc(1px * var(--b2b-product-scale))/167.32% 100.89% no-repeat;
    -webkit-mask-image: url('assets/images/resources/card-cream.svg');
    mask-image: url('assets/images/resources/card-cream.svg');
    -webkit-mask-size: 100% 100.89%;
    mask-size: 100% 100.89%;
    mix-blend-mode: normal;
    opacity: .5;
}

body .elementor .b2b-resource-card:is(:hover, :focus-within)::after {
    mix-blend-mode: luminosity;
}

body .elementor .b2b-resource-card:focus-within {
    background-image: url('assets/images/resources/card-blue.svg');
}

body .elementor .b2b-resource-image img {
    object-fit: cover;
}

body .elementor .b2b-resource-image::after {
    content: '';
    position: absolute;
    width: calc(364px * var(--b2b-product-scale));
    aspect-ratio: 364/36;
    bottom: calc(-18px * var(--b2b-product-scale));
    left: 50%;
    transform: translateX(-50%);
    background: url('assets/images/products/book-shadow.svg') center/contain no-repeat;
    pointer-events: none;
    z-index: -1;
}

body .elementor .b2b-resource-math-resource .b2b-resource-image img {
    object-position: 74% center;
}

body .elementor .b2b-resources .b2b-resource-card .b2b-resource-title {
    max-width: calc(359px * var(--b2b-product-scale));
}

body .elementor .b2b-resource-math-resource .b2b-resource-card .b2b-resource-title {
    max-width: calc(277px * var(--b2b-product-scale));
}

body .elementor .b2b-resource-multiplication .b2b-resource-card .b2b-resource-title {
    max-width: calc(291px * var(--b2b-product-scale));
}

body .elementor .b2b-resource-download .elementor-button[aria-disabled='true'] {
    cursor: not-allowed;
}

body .elementor .b2b-resource-carousel .swiper {
    clip-path: inset(-350px 0 calc(-.89% - 2px));
}

/* Only the cards are clipped. Their shared hover glow is a sibling of Swiper. */
body .elementor .b2b-product-carousel {
    isolation: isolate;
    overflow: visible;
}

body .elementor .b2b-product-carousel .b2b-product-image::before {
    content: none;
}

body .elementor .b2b-product-carousel::before {
    content: '';
    position: absolute;
    width: calc(932px * var(--b2b-product-scale));
    aspect-ratio: 1;
    left: var(--b2b-glow-x, 0px);
    top: var(--b2b-glow-y, 0px);
    transform: translateX(-50%);
    background: url('assets/images/products/hover-glow.svg') center/contain no-repeat;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity .25s ease;
}

body .elementor .b2b-product-carousel.is-card-glow-active::before {
    opacity: 1;
}

@media (prefers-reduced-motion:reduce) {
    body .elementor .b2b-product-carousel::before {
        transition: none;
    }
}

/* About: native Heading/Text Editor/Image/Button widgets own the content.
   CSS handles the original masks, decorative geometry, and Linear Burn texture. */
body .elementor .b2b-about {
    --kit-widget-spacing: 0px;
    isolation: isolate;
    overflow: clip;
}

/* Linear Burn = max(0, texture + #3A5E8E - 1), then native overlay opacity.
   The filter preserves the original image; browsers lack a linear-burn blend mode. */
body .elementor .b2b-about::before {
    background-size: 50% 107.77%;
    transform: scaleY(-1);
    mix-blend-mode: normal;
    filter: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="burn" color-interpolation-filters="sRGB"%3E%3CfeColorMatrix type="matrix" values="1 0 0 0 -.772549 0 1 0 0 -.631373 0 0 1 0 -.443137 0 0 0 1 0"/%3E%3C/filter%3E%3C/svg%3E#burn');
}

/* Keep the flipped/filtered texture on a stable compositor layer while its
   section crosses the viewport, avoiding partial repaint of the blue overlay. */
body .elementor .b2b-about::before {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: translateZ(0) scaleY(-1);
    backface-visibility: hidden;
    will-change: transform;
    background-attachment: scroll;
}

body .elementor .b2b-about::after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    aspect-ratio: 1921/172;
    background: url('assets/images/about/top-scallop.svg') center/contain no-repeat;
    transform: rotate(180deg);
    pointer-events: none;
}

body .elementor .b2b-about :is(.elementor-heading-title, p) {
    margin: 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body .elementor .b2b-about-art {
    aspect-ratio: 799.6597/679.3483;
    flex-shrink: 0;
}

body .elementor .b2b-about-art img {
    display: block;
}

body .elementor .b2b-about-flower img {
    transform: rotate(32.71deg);
}

body .elementor .is-decoration-animated:not(.is-decoration-complete) img {
    display: none;
}

body .elementor .b2b-decoration-drawing {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

body .elementor .is-decoration-complete .b2b-decoration-drawing {
    display: none;
}

body .elementor .b2b-decoration-stroke {
    fill: none;
    stroke-dasharray: 1 2;
    stroke-dashoffset: 1;
    opacity: 0;
}

body .elementor .b2b-rainbow-mask .b2b-decoration-stroke {
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .elementor .is-decoration-drawing .b2b-decoration-stroke {
    animation: b2b-arrow-draw var(--draw-duration) ease-in-out var(--draw-delay) both;
}

@media (prefers-reduced-motion:reduce) {
    body .elementor .is-decoration-animated:not(.is-decoration-complete) img {
        display: block;
    }

    body .elementor .is-decoration-animated .b2b-decoration-drawing {
        display: none;
    }
}

body .elementor .b2b-about-portrait img {
    -webkit-mask: url('assets/images/about/portrait-circle-mask.svg') 41.382% 67.99%/98.8516% 74.1386% no-repeat;
    mask: url('assets/images/about/portrait-circle-mask.svg') 41.382% 67.99%/98.8516% 74.1386% no-repeat;
}

body .elementor .b2b-about-hair img {
    -webkit-mask: url('assets/images/about/portrait-hair-mask.svg') 31.8246% 16.4567%/72.8713% 31.997% no-repeat;
    mask: url('assets/images/about/portrait-hair-mask.svg') 31.8246% 16.4567%/72.8713% 31.997% no-repeat;
}

body .elementor .b2b-about-arrow :is(img, .b2b-arrow-drawing) {
    transform: rotate(13.61deg);
}

body .elementor :is(.b2b-about-arrow, .b2b-sale-arrow).is-arrow-animated img {
    display: none;
}

body .elementor .is-arrow-animated .b2b-arrow-drawing {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

body .elementor .is-arrow-animated .b2b-arrow-original {
    opacity: 0;
}

body .elementor .is-arrow-animated .b2b-arrow-trace {
    fill: none;
    stroke: var(--b2b-arrow-colour, white);
    stroke-width: 3.6px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1 2;
    stroke-dashoffset: 1;
    opacity: 0;
}

body .elementor .is-arrow-drawing .b2b-arrow-trace {
    opacity: 1;
    animation: b2b-arrow-draw 3.6s ease-in-out both;
}

body .elementor .is-arrow-drawing .b2b-arrow-tip {
    animation-duration: .4s;
    animation-delay: 3.6s;
}

body .elementor .is-arrow-complete .b2b-arrow-original {
    opacity: 1;
}

body .elementor .is-arrow-complete .b2b-arrow-trace {
    animation: none;
    opacity: 0;
}

@keyframes b2b-arrow-draw {
    0% {
        opacity: 0;
    }

    1% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        stroke-dashoffset: 0;
    }
}

@media (prefers-reduced-motion:reduce) {
    body .elementor :is(.b2b-about-arrow, .b2b-sale-arrow).is-arrow-animated img {
        display: block;
    }

    body .elementor .is-arrow-animated .b2b-arrow-drawing {
        display: none;
    }
}

body .elementor :is(.b2b-brown-strip, .b2b-pink-strip) {
    --kit-widget-spacing: 0px;
}

body .elementor :is(.b2b-brown-strip, .b2b-pink-strip) .b2b-marquee-window {
    overflow: hidden;
}

body .elementor :is(.b2b-brown-strip, .b2b-pink-strip) .b2b-marquee-track {
    width: max-content;
    max-width: none;
    will-change: transform;
    transition: none;
}

body .elementor :is(.b2b-brown-strip, .b2b-pink-strip) .b2b-brand-repeat {
    width: max-content;
    max-width: none;
    flex: 0 0 auto;
}

body .elementor .b2b-brand-repeat .elementor-widget {
    flex-shrink: 0;
}

body .elementor .b2b-brand-name .elementor-heading-title {
    white-space: nowrap;
    margin: 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body .elementor .b2b-brand-star img {
    display: block;
}

/* Between the boxed desktop maximum and laptop breakpoint, keep the artwork
   clear of the full-size heading without introducing another site breakpoint. */
@media (min-width:1601px) and (max-width:1760px) {
    body .elementor .b2b-about .b2b-about-rainbow {
        width: 140px;
        top: 100px;
    }
}

@media (max-width:1200px) {
    body .elementor .b2b-about-arrow :is(img, .b2b-arrow-drawing) {
        transform: rotate(-13.61deg) scaleX(-1);
    }
}

@media (max-width:1024px) {
    body .elementor .b2b-about .b2b-about-art {
        max-width: 560px;
    }

    body .elementor .b2b-about .b2b-about-copy {
        max-width: 760px;
    }

    body .elementor .b2b-about::before {
        background-size: 100% auto;
        background-repeat: repeat;
    }
}

@media (max-width:767px) {
    body .elementor .b2b-about .b2b-about-art {
        max-width: 420px;
    }
}

@media (prefers-reduced-motion:reduce) {
    body .elementor :is(.b2b-brown-strip, .b2b-pink-strip) .b2b-marquee-window {
        overflow-x: auto;
    }
}

/* Elementor's native Sticky control owns pinning and admin-bar offsets. */
body .elementor-location-header {
    position: relative;
    z-index: 100;
}

/* Original Figma light-header artwork; the overlay keeps its white variants. */
body .elementor .b2b-header {
    --b2b-action-border: rgba(201, 199, 199, .5);
    --b2b-action-background: #fff;
    --b2b-cart-art: url('assets/images/sticky-cart.svg');
    --b2b-search-art: url('assets/images/sticky-search.svg');
    --b2b-account-art: url('assets/images/sticky-account.svg');
    --b2b-heart-art: url('assets/images/sticky-heart.svg');
    transition: background-color .3s ease, box-shadow .3s ease;
}

body .elementor .b2b-header.elementor-sticky--effects {
    background: #F9F9F9;
    box-shadow: 0 3px 12px #00000014;
}

body .elementor .b2b-header .b2b-search img {
    content: var(--b2b-search-art);
}

body .elementor .b2b-header .b2b-account img {
    content: var(--b2b-account-art);
}

body .elementor .b2b-header .b2b-wishlist img {
    content: var(--b2b-heart-art);
}

body .elementor .b2b-header .b2b-cart img {
    content: var(--b2b-cart-art);
}

body .elementor .b2b-header .b2b-country .elementor-button {
    border-color: var(--b2b-action-border);
}

/* WordPress owns the active state; the existing Figma marker is tinted white. */
body .elementor .b2b-primary-nav .elementor-nav-menu--main>ul> :is(.current-menu-item, .current-menu-ancestor)>a::after {
    content: '';
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    translate: -50% 0;
    width: 8px;
    height: 8px;
    opacity: 1;
    background: #fff;
    mask: url('assets/images/sticky-active.svg') center/contain no-repeat;
    pointer-events: none;
}

body .elementor .b2b-header.elementor-sticky--effects .b2b-primary-nav .elementor-nav-menu--main>ul> :is(.current-menu-item, .current-menu-ancestor)>a::after {
    background: #C0D6FF;
}

body .elementor .b2b-header.elementor-sticky--effects .b2b-primary-nav .elementor-nav-menu--main .elementor-item:is(:hover, :focus-visible, .highlighted) {
    color: var(--e-global-color-accent, #ffdd94);
    fill: currentColor;
}

/* Sticky-only adjustments derive from native breakpoint padding, not new fixed values. */
body .elementor .b2b-header .b2b-header-row {
    transition: padding-top .3s ease, padding-bottom .3s ease;
}

body .elementor .b2b-header.elementor-sticky--effects:not(.elementor-sticky__spacer) .b2b-header-row {
    padding-top: calc(var(--padding-top, 0px) * .5);
    padding-bottom: calc(var(--padding-bottom, 0px) * .5);
}

body .elementor .b2b-header .elementor-widget-theme-site-logo a {
    display: block;
}

body .elementor .b2b-header .elementor-widget-theme-site-logo img {
    transition: width .3s ease;
}

body .elementor .b2b-header.elementor-sticky--effects:not(.elementor-sticky__spacer) .elementor-widget-theme-site-logo img {
    width: 80%;
}

@media (prefers-reduced-motion:reduce) {

    body .elementor .b2b-header,
    body .elementor .b2b-header .b2b-header-row,
    body .elementor .b2b-header .elementor-widget-theme-site-logo img {
        transition: none;
    }
}

@font-face {
    font-family: Cleanow;
    src: url('/from-books-to-bundles/wp-content/uploads/2026/10/Cleanow.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body .elementor :is(.b2b-header, .b2b-footer) {
    --b2b-white: var(--e-global-color-b2bbg, #fff);
    --b2b-yellow: var(--e-global-color-accent, #ffdd94);
    --b2b-green: var(--e-global-color-secondary, #537068);
    --b2b-blue: #1a355a;
}

body .elementor :is(.b2b-header, .b2b-footer) .elementor-widget {
    min-width: 0;
}

body .elementor :is(.b2b-header, .b2b-footer) p {
    margin: 0;
}

body .elementor .b2b-footer :is(p, .elementor-heading-title) {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body .elementor :is(.b2b-header, .b2b-footer) :is(a, input, button):focus-visible {
    outline: 2px solid var(--b2b-yellow);
    outline-offset: 4px;
}

/* 1720px content maximum plus 20px gutters, not a fixed width. */
body .elementor :is(.b2b-header, .b2b-footer) .b2b-shell {
    width: 100%;
    max-width: 1760px;
}

/* script.js changes velocity without restarting the scrolling phase. */
/* RAF owns the transform: Elementor's transition would animate loop resets backwards. */
body .elementor .b2b-header .b2b-marquee-track {
    width: max-content;
    max-width: none;
    will-change: transform;
    transition: none;
}

body .elementor .b2b-header .b2b-season-links {
    width: auto;
    flex: 0 0 auto;
}

body .elementor .b2b-season-links .elementor-icon-list-items {
    display: flex;
    flex-wrap: nowrap !important;
    margin: 0 !important;
}

body .elementor .b2b-season-links .elementor-icon-list-item {
    flex: none;
    margin: 0 !important;
}

body .elementor .b2b-season-links .elementor-icon-list-item a {
    display: flex;
    align-items: center;
    gap: 45.25px;
    padding-inline: 0 45.25px;
    white-space: nowrap;
}

body .elementor .b2b-season-links .elementor-icon-list-item a::after {
    content: '';
    inline-size: 20px;
    aspect-ratio: 1;
    flex: none;
    background: url('assets/images/star.svg') center/contain no-repeat;
}

body .elementor .b2b-season-links .elementor-icon-list-text {
    padding: 0;
}

/* Native taxonomy Loop Carousel, driven by the existing continuous header marquee.
   Swiper's stepped transitions must not compete with that track's RAF transform. */
body .elementor .b2b-header .b2b-occasion-carousel,
body .elementor .b2b-header .b2b-occasion-carousel :is(.elementor-widget-container, .swiper, .swiper-wrapper) {
    width: max-content;
    max-width: none;
    min-width: 0;
    overflow: visible;
}

body .elementor .b2b-header .b2b-occasion-carousel .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    transform: none !important;
    transition: none !important;
}

body .elementor .b2b-header .b2b-occasion-carousel .swiper-slide {
    width: auto !important;
    flex: 0 0 auto;
    margin: 0 !important;
}

body .elementor .b2b-header .b2b-occasion-carousel .b2b-occasion-item {
    width: max-content;
    padding: 0;
    gap: 0;
    margin: 0;
}

body .elementor .b2b-header .b2b-occasion-carousel .elementor-heading-title {
    margin: 0;
}

body .elementor .b2b-header .b2b-occasion-carousel .elementor-heading-title a {
    display: flex;
    align-items: center;
    gap: 45.25px;
    padding-inline: 0 45.25px;
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
}

body .elementor .b2b-header .b2b-occasion-carousel .elementor-heading-title a::after {
    content: '';
    inline-size: 20px;
    aspect-ratio: 1;
    flex: none;
    background: url('assets/images/star.svg') center/contain no-repeat;
}

@media(max-width:1600px) {
    body .elementor .b2b-header .b2b-occasion-carousel .elementor-heading-title a {
        gap: 36.2px;
        padding-inline: 0 36.2px;
    }

    body .elementor .b2b-header .b2b-occasion-carousel .elementor-heading-title a::after {
        inline-size: 16px;
    }
}

@media(max-width:1200px) {
    body .elementor .b2b-header .b2b-occasion-carousel .elementor-heading-title a {
        gap: 30px;
        padding-inline: 0 30px;
    }
}

@media(max-width:1024px) {
    body .elementor .b2b-header .b2b-occasion-carousel .elementor-heading-title a {
        gap: 24px;
        padding-inline: 0 24px;
    }
}

@media(max-width:767px) {
    body .elementor .b2b-header .b2b-occasion-carousel .elementor-heading-title a {
        gap: 18px;
        padding-inline: 0 18px;
    }
}

@media(prefers-reduced-motion:reduce) {
    body .elementor .b2b-header .b2b-occasion-carousel .swiper {
        touch-action: auto;
    }
}

body .elementor .b2b-header .b2b-primary-nav {
    flex: 1;
    width: auto;
}

/* Figma's 24px chevron slot has no extra gap after the label.
   Keep Elementor's native angle-down indicator and submenu behaviour. */
body .elementor .b2b-primary-nav {
    --b2b-submenu-slot: 24px;
    --b2b-submenu-icon: 18px;
}

body .elementor .b2b-primary-nav .elementor-nav-menu>li>a>.sub-arrow {
    width: var(--b2b-submenu-slot);
    height: var(--b2b-submenu-slot);
    flex: 0 0 var(--b2b-submenu-slot);
    justify-content: center;
    padding: 0;
    margin: 0;
    color: inherit;
}

body .elementor .b2b-primary-nav .elementor-nav-menu>li>a>.sub-arrow :is(svg, i) {
    width: var(--b2b-submenu-icon);
    height: var(--b2b-submenu-icon);
    font-size: var(--b2b-submenu-icon);
    fill: currentColor;
}

@media (max-width:1600px) {
    body .elementor .b2b-primary-nav {
        --b2b-submenu-slot: 19.2px;
        --b2b-submenu-icon: 14.4px;
    }
}

body .elementor .b2b-header .b2b-header-actions {
    width: max-content;
    flex-shrink: 0;
}

body .elementor .b2b-country .elementor-button-content-wrapper {
    align-items: center;
    gap: 6px;
}

body .elementor .b2b-country .elementor-button-content-wrapper::before {
    content: '';
    inline-size: 20px;
    aspect-ratio: 1;
    flex: none;
    background: url('assets/images/globe.svg') center/17.5px no-repeat;
}

body .elementor .b2b-country .elementor-button-content-wrapper::after {
    content: '';
    inline-size: 24px;
    aspect-ratio: 1;
    flex: none;
    background: url('assets/images/chevron-gray.svg') center/contain no-repeat;
}

/* Native FOX widget: keep plugin currency handling, match the header pill. */
body .elementor .b2b-header-currency {
    --b2b-currency-width: 132px;
    width: var(--b2b-currency-width) !important;
    min-width: var(--b2b-currency-width);
    max-width: var(--b2b-currency-width);
    flex: 0 0 var(--b2b-currency-width) !important;
    --b2b-currency-padding: 11px 18px;
    --b2b-currency-icon: 18px;
}

body .elementor .b2b-header-currency :is(.widget, .woocommerce-currency-switcher-form) {
    margin: 0;
}

body .elementor .b2b-header-currency :is(.dd-container, .dd-select) {
    width: 100% !important;
}

body .elementor .b2b-header-currency .dd-select {
    border: 1px solid var(--b2b-action-border, #C9C7C780);
    border-radius: 9999px;
    background: #fff !important;
    transition: background-color .3s, border-color .3s;
}

body .elementor .b2b-header-currency .dd-select:hover {
    background: var(--e-global-color-b2bbhover, #FAAE9F) !important;
}

body .elementor .b2b-header-currency .dd-selected {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    padding: var(--b2b-currency-padding);
    white-space: nowrap;
    color: #575757;
    font-family: var(--e-global-typography-b2bnav-font-family, Inter), sans-serif;
    font-size: var(--e-global-typography-b2bnav-font-size, 18px);
    line-height: var(--e-global-typography-b2bnav-line-height, 28px);
    font-weight: 400;
}

body .elementor .b2b-header-currency .dd-selected::before {
    content: '';
    flex: 0 0 var(--b2b-currency-icon);
    height: var(--b2b-currency-icon);
    background: url('assets/images/globe.svg') center/contain no-repeat;
}

body .elementor .b2b-header-currency .dd-selected::after {
    content: '';
    flex: 0 0 24px;
    height: 24px;
    margin-left: auto;
    background: url('assets/images/chevron-gray.svg') center/contain no-repeat;
}

@media(max-width:1600px) {
    body .elementor .b2b-header-currency .dd-selected::after {
        flex-basis: 19.2px;
        height: 19.2px;
    }
}

@media(max-width:767px) {
    body .elementor .b2b-header-currency .dd-selected::after {
        flex-basis: 16px;
        height: 16px;
    }
}

body .elementor .b2b-header-currency :is(.dd-pointer, .dd-desc, .dd-selected-image, .dd-option-image) {
    display: none !important;
}

body .elementor .b2b-header-currency :is(.dd-selected-text, .dd-option-text) {
    margin: 0;
    font: inherit;
    line-height: inherit !important;
    cursor: pointer;
}

body .elementor .b2b-header-currency .dd-selected-text {
    flex: none;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

body .elementor .b2b-header-currency .dd-options {
    width: 100% !important;
    min-width: 0;
    right: 0;
    left: auto;
    margin-top: 6px;
    border: 1px solid #E8E2D7;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px #00000014;
}

body .elementor .b2b-header-currency .dd-option {
    padding: 8px 12px;
    color: #575757;
    border: 0;
    font: 400 14px/20px Inter, sans-serif;
}

@media(max-width:1024px) {
    body .elementor .b2b-header-currency .dd-option {
        padding: 7px 10px;
        font-size: 13px;
        line-height: 20px;
    }
}

@media(max-width:767px) {
    body .elementor .b2b-header-currency .dd-options {
        border-radius: 10px;
        margin-top: 4px;
    }

    body .elementor .b2b-header-currency .dd-option {
        padding: 6px 8px;
        font-size: 12px;
        line-height: 18px;
    }
}

body .elementor .b2b-header-currency .dd-option-selected {
    background: #F5F0E6;
}

body .elementor .b2b-header-currency .dd-option:hover {
    background: #FAAE9F;
}

/* The slide-out cart contains the whole featured cover in a fixed thumbnail slot. */
body .elementor .b2b-cart.elementor-widget-woocommerce-cart .woocommerce table.cart .product-thumbnail a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
}

body .elementor .b2b-cart.elementor-widget-woocommerce-cart .woocommerce table.cart .product-thumbnail img {
    display: block;
    width: 55px !important;
    height: 55px !important;
    max-width: 55px;
    max-height: 55px;
    object-fit: contain;
    object-position: center;
    margin: 0;
}

body .elementor .b2b-cart.elementor-widget-woocommerce-cart .woocommerce table.cart .cart_item>td {
    vertical-align: middle;
}

body .elementor .b2b-cart.elementor-widget-woocommerce-cart .woocommerce table.cart .product-name a {
    display: block;
}

/* Native WooCommerce cart shipping calculator: preserve its toggle/AJAX behavior. */
body.woocommerce-cart .woocommerce-shipping-calculator {
    margin: 12px 0 0;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-button {
    display: inline-block;
    color: #1A355A;
    font: 600 15px/1.5 Inter, sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-button:hover {
    color: #537068;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form {
    box-sizing: border-box;
    margin-top: 12px;
    padding: 20px;
    background: #F5F0E6;
    border: 1px solid #E8E2D7;
    border-radius: 16px;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form .form-row {
    float: none;
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form label {
    display: block;
    margin: 0 0 8px;
    color: #1A355A;
    font: 400 15px/1.45 Inter, sans-serif;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form :is(input[type="text"], select) {
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    min-height: 56px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #C9C7C7;
    border-radius: 12px;
    background: #fff;
    color: #1A355A;
    font: 400 15px/1.45 Inter, sans-serif;
}

/* WooCommerce enhances the country/state selects with Select2; keep both full-width and the same height as text fields. */
body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form .select2-container {
    display: block;
    width: 100% !important;
    max-width: 100%;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form .select2-container .select2-selection--single {
    box-sizing: border-box;
    display: block;
    position: relative;
    width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 0;
    border: 1px solid #C9C7C7;
    border-radius: 12px;
    background: #fff;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form .select2-container .select2-selection__rendered {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    float: none;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 36px 0 16px;
    color: #1A355A;
    font: 400 15px/1.45 Inter, sans-serif;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form .select2-container .select2-selection__arrow {
    top: 0;
    right: 12px;
    height: 100% !important;
}

body.woocommerce-cart .select2-container--open .select2-dropdown {
    overflow: hidden;
    border: 1px solid #C9C7C7;
    border-radius: 0 0 10px 10px;
    background: #fff;
}

body.woocommerce-cart .select2-container--open .select2-search--dropdown {
    padding: 6px;
}

body.woocommerce-cart .select2-container--open .select2-search__field {
    box-sizing: border-box;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #C9C7C7;
    border-radius: 6px;
    color: #1A355A;
    font: 400 15px/1.4 Inter, sans-serif;
}

body.woocommerce-cart .select2-container--open .select2-search__field:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #537068;
}

body.woocommerce-cart .select2-container--open .select2-results__option {
    padding: 10px 12px;
    color: #575757;
    font: 400 14px/1.4 Inter, sans-serif;
}

body.woocommerce-cart .select2-container--open .select2-results__option--highlighted[aria-selected],
body.woocommerce-cart .select2-container--open .select2-results__option--highlighted[data-selected] {
    background: #537068;
    color: #fff;
}

body.woocommerce-cart .select2-container--open .select2-results__option[aria-selected="true"],
body.woocommerce-cart .select2-container--open .select2-results__option[data-selected="true"] {
    background: #F5F0E6;
    color: #1A355A;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form :is(input[type="text"], select):focus {
    border-color: #537068;
    outline: none;
    box-shadow: none;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form .select2-container--focus .select2-selection--single,
body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form .select2-container--open .select2-selection--single {
    border-color: #537068;
    outline: none;
    box-shadow: none;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form p:last-child {
    margin: 4px 0 0;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form button.button {
    min-height: 46px;
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: #FFDD94;
    color: #1A355A;
    font: 400 18px/1.3 Cleanow, sans-serif;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

body.woocommerce-cart .woocommerce-shipping-calculator .shipping-calculator-form button.button:hover {
    background: #537068;
    color: #fff;
}

body .elementor .b2b-header-cart .elementor-menu-cart__product {
    grid-template-columns: 70px minmax(0, 1fr);
}

body .elementor .b2b-header-cart .elementor-menu-cart__product-name a {
    display: block;
}

body .elementor .b2b-header-cart .elementor-menu-cart__product-image,
body .elementor .b2b-header-cart .elementor-menu-cart__product-image a {
    display: block;
    width: 70px;
    height: 70px;
}

body .elementor .b2b-header-cart .elementor-menu-cart__product-image img {
    display: block;
    width: 70px;
    height: 70px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

/* Hamburger panel follows the actual header bottom, including its sticky state. */
body .elementor .b2b-primary-nav {
    --b2b-menu-gutter: 20px;
}

@media(max-width:767px) {
    body .elementor .b2b-primary-nav {
        --b2b-menu-gutter: 10px;
    }
}

body .elementor .b2b-header .elementor-element.b2b-primary-nav>.elementor-widget-container>.elementor-nav-menu--dropdown.elementor-nav-menu__container,
body .elementor .b2b-header .elementor-element.b2b-primary-nav>.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    left: var(--b2b-menu-left, var(--b2b-menu-gutter)) !important;
    top: var(--b2b-menu-top, 100%) !important;
    width: calc(100vw - var(--b2b-menu-gutter) - var(--b2b-menu-gutter)) !important;
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    max-height: var(--b2b-menu-height, 70vh);
    overflow-y: auto;
}

body .elementor .b2b-header-currency select.woocommerce-currency-switcher {
    width: 100%;
    border-radius: 9999px;
    background: #fff;
    color: #575757;
}

@media(max-width:1600px) {
    body .elementor .b2b-header-currency {
        --b2b-currency-width: 106px;
        --b2b-currency-padding: 8.6px 14px;
        --b2b-currency-icon: 14px;
    }
}

@media(max-width:767px) {
    body .elementor .b2b-header-currency {
        --b2b-currency-width: 72px;
        --b2b-currency-padding: 5px 5px;
        --b2b-currency-icon: 12px;
    }

    body .elementor .b2b-header-currency .dd-selected {
        gap: 3px;
        font-size: 13px;
        line-height: 20px;
    }
}

body .elementor .b2b-header .b2b-action.elementor-widget-image {
    width: auto;
    flex: none;
    max-width: 52px;
}

body .elementor .b2b-action a {
    display: block;
    line-height: 0;
}

body .elementor .b2b-header .b2b-action.elementor-widget-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

body .elementor .b2b-action-circle {
    border: 1px solid var(--b2b-action-border);
    border-radius: 50%;
    background: var(--b2b-action-background);
    padding: 15px;
}

body .elementor .b2b-action-circle.b2b-cart {
    padding: 11px;
}

/* Match the native Menu Cart's yellow hover without changing the header artwork. */
body .elementor .b2b-header :is(.b2b-search, .b2b-account) a {
    position: relative;
    border-radius: 50%;
}

body .elementor .b2b-header :is(.b2b-search, .b2b-account) a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--b2b-action-hover-art) center/contain no-repeat;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

body .elementor .b2b-header .b2b-search {
    --b2b-action-hover-art: url('assets/images/header-search-hover.svg');
}

body .elementor .b2b-header .b2b-account {
    --b2b-action-hover-art: url('assets/images/header-account-hover.svg');
}

body .elementor .b2b-header :is(.b2b-search, .b2b-account) a:is(:hover, :focus-visible)::after {
    opacity: 1;
}

body .elementor .b2b-header .b2b-wishlist {
    transition: background-color .3s, border-color .3s;
}

body .elementor .b2b-header .b2b-wishlist:is(:hover, :focus-within) {
    background: #FFDD94;
    border-color: #FFDD94;
}

body .elementor .b2b-header .b2b-wishlist:is(:hover, :focus-within) img {
    content: url('assets/images/sticky-heart.svg');
}

@media(prefers-reduced-motion:reduce) {

    body .elementor .b2b-header :is(.b2b-search, .b2b-account) a::after,
    body .elementor .b2b-header .b2b-wishlist {
        transition: none;
    }
}

/* Mobile-only header sizing; keep the quantity badge on the native cart toggle. */
@media(max-width:1200px) {
    body .elementor .b2b-header .elementor-element.b2b-primary-nav .elementor-menu-toggle {
        width: 41.6px;
        height: 41.6px;
        min-width: 41.6px;
        padding: 0;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--b2b-action-border);
        border-radius: 50%;
        background: var(--b2b-action-background);
        color: #575757;
        font-size: 16px;
        transition: background-color .3s, border-color .3s, color .3s;
    }

    body .elementor .b2b-header .elementor-element.b2b-primary-nav .elementor-menu-toggle svg {
        width: 1em;
        height: 1em;
        fill: currentColor;
    }

    body.b2b-banner-page .elementor .b2b-header:not(.elementor-sticky--effects) .elementor-element.b2b-primary-nav .elementor-menu-toggle {
        background: var(--b2b-action-background);
        color: #fff;
    }

    body .elementor .b2b-header .elementor-element.b2b-primary-nav .elementor-menu-toggle:is(:hover, :focus-visible),
    body.b2b-banner-page .elementor .b2b-header:not(.elementor-sticky--effects) .elementor-element.b2b-primary-nav .elementor-menu-toggle:is(:hover, :focus-visible) {
        background: #FFDD94;
        border-color: #FFDD94;
        color: #575757;
    }
}

@media(max-width:767px) {
    body .elementor .b2b-header .elementor-element.b2b-primary-nav .elementor-menu-toggle {
        width: 30px;
        min-width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

@media(prefers-reduced-motion:reduce) {
    body .elementor .b2b-header .elementor-element.b2b-primary-nav .elementor-menu-toggle {
        transition: none;
    }
}

@media(max-width:767px) {
    body .elementor .b2b-header .elementor-element.b2b-action.elementor-widget-image {
        width: 30px;
        min-width: 30px;
        max-width: 30px;
        height: 30px;
        flex: 0 0 30px;
    }

    body .elementor .b2b-header .elementor-element:is(.b2b-search, .b2b-account) img {
        width: 30px;
        height: 30px;
    }

    body .elementor .b2b-header .elementor-element.b2b-wishlist {
        padding: 0;
        display: grid;
        place-items: center;
    }

    body .elementor .b2b-header .elementor-element.b2b-wishlist a {
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
    }

    body .elementor .b2b-header .elementor-element.b2b-wishlist img {
        width: 13px;
        height: 13px;
        object-fit: contain;
    }

    body .elementor .b2b-header .b2b-header-cart .elementor-menu-cart__toggle_button {
        position: relative;
        width: 30px;
        min-width: 30px;
        height: 30px;
        min-height: 30px;
        padding: 0;
        border-radius: 50%;
    }

    body .elementor .b2b-header .b2b-header-cart .elementor-menu-cart__toggle .elementor-button-icon {
        position: static;
        font-size: 12px;
        line-height: 1;
    }

    body .elementor .b2b-header .b2b-header-cart .elementor-menu-cart__toggle .elementor-button-icon svg {
        width: 12px;
        height: 12px;
    }

    body .elementor .b2b-header .b2b-header-cart.elementor-menu-cart--items-indicator-bubble .elementor-menu-cart__toggle .elementor-button-icon .elementor-button-icon-qty[data-counter] {
        position: absolute;
        top: 0;
        left: 50%;
        right: auto;
        inset-inline-end: auto;
        transform: translate(-50%, -50%);
        min-width: 12px;
        height: 12px;
        padding: 0 2px;
        border-radius: 999px;
        background: #EF0909;
        color: #fff;
        font: 400 9px/12px Inter, sans-serif;
    }
}

/* Content-driven CTA height, with a navy overlap at its lower edge. */
body .elementor .b2b-cta-stage {
    isolation: isolate;
}

body .elementor .b2b-cta-stage::after {
    content: '';
    position: absolute;
    inset: calc(100% - 93px) 0 0;
    background: var(--b2b-blue);
    z-index: -1;
}

body .elementor .b2b-cta {
    isolation: isolate;
}

body .elementor .b2b-cta::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86%;
    height: auto;
    aspect-ratio: 1477 / 1721;
    transform: translate(-50%, -50%) rotate(-90deg) scaleY(-1);
    background: url('assets/images/paper-texture.png') center/117.16% 100.7%;
    opacity: .5;
    mix-blend-mode: multiply;
    z-index: -1;
    pointer-events: none;
}

body .elementor .b2b-cta::after {
    content: '';
    position: absolute;
    top: 16%;
    right: -4.4%;
    width: 37.56%;
    aspect-ratio: 646 / 143.23;
    transform: rotate(-152.6deg) scaleY(-1);
    background: url('assets/images/flourish.svg') center/contain no-repeat;
    z-index: -1;
    pointer-events: none;
}

body .elementor .b2b-cta-copy {
    max-width: 820px;
}

body .elementor .b2b-cta-title span {
    color: var(--b2b-green);
}

body .elementor .b2b-cta-button::after {
    content: '';
    position: absolute;
    width: 34%;
    aspect-ratio: 1;
    left: calc(100% + 24px);
    top: -14px;
    transform: rotate(169.34deg) scaleY(-1);
    background: url('assets/images/arrow.svg') center/contain no-repeat;
    opacity: .5;
    pointer-events: none;
}

body .elementor .b2b-cta-button.is-arrow-animated::after {
    visibility: hidden;
}

body .elementor .b2b-cta-button .b2b-arrow-drawing {
    position: absolute;
    width: 34%;
    height: auto;
    aspect-ratio: 1;
    left: calc(100% + 24px);
    top: -14px;
    transform: rotate(169.34deg) scaleY(-1);
    opacity: .5;
    pointer-events: none;
}

@media (prefers-reduced-motion:reduce) {
    body .elementor .b2b-cta-button.is-arrow-animated::after {
        visibility: visible;
    }
}

body .elementor .b2b-cta .b2b-book {
    position: absolute;
    pointer-events: none;
}

body .elementor .b2b-cta .b2b-books-row {
    display: contents;
}

body .elementor .b2b-book img {
    display: block;
    width: 100%;
    height: auto;
}

body .elementor .b2b-cta .b2b-book-division {
    width: 13.02%;
    left: 4.07%;
    top: 10.33%;
    transform: rotate(-8.5deg);
}

body .elementor .b2b-cta .b2b-book-shark {
    width: 10.17%;
    left: 15.47%;
    top: 38.93%;
    transform: rotate(6.17deg);
}

body .elementor .b2b-cta .b2b-book-summer {
    width: 14.53%;
    right: 7.44%;
    top: 25.09%;
    transform: rotate(7.72deg);
}

body .elementor :is(.b2b-footer-main, .b2b-footer-bottom) {
    position: relative;
}

body .elementor .b2b-footer-nav .elementor-item {
    display: block;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body .elementor .b2b-footer-nav .elementor-nav-menu::after {
    display: none;
}

body .elementor .b2b-footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #ffffff12;
}

body .elementor .b2b-footer .b2b-copyright {
    flex: 1;
    width: auto;
}

body .elementor .b2b-social .elementor-social-icons-wrapper {
    display: flex;
    align-items: center;
    gap: var(--grid-column-gap);
}

/* Original Figma artwork, tinted by the widget's native normal/hover colours. */
body .elementor .b2b-social .elementor-social-icon {
    mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
    border-radius: 0;
}

body .elementor .b2b-social .elementor-social-icon :is(i, svg) {
    visibility: hidden;
}

body .elementor .b2b-social .elementor-social-icon-facebook-f {
    width: calc(var(--icon-size) * .5);
    height: var(--icon-size);
    mask-image: url('assets/images/facebook.svg');
}

body .elementor .b2b-social .elementor-social-icon-instagram {
    width: calc(var(--icon-size) * .85);
    height: calc(var(--icon-size) * .8);
    mask-image: url('assets/images/instagram.svg');
}

body .elementor .b2b-footer .b2b-watermark {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    opacity: .05;
    pointer-events: none;
    overflow: hidden;
}

body .elementor .b2b-watermark .elementor-heading-title {
    white-space: nowrap;
}

body .elementor .b2b-watermark .b2b-watermark-scrolling {
    display: flex;
    width: max-content;
    max-width: none;
    animation: b2b-watermark-scroll var(--b2b-watermark-duration, 60s) linear infinite;
    will-change: transform;
}

body .elementor .b2b-watermark-group {
    display: flex;
    flex: none;
}

body .elementor .b2b-watermark-word {
    display: block;
    flex: none;
    padding-right: 48px;
}

@keyframes b2b-watermark-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

body .elementor .b2b-footer .b2b-bunny {
    position: absolute;
    width: 9%;
    bottom: 0;
    right: 3.65%;
    pointer-events: none;
}

/* Gravity Forms uses global body/button fonts; all form styling stays here. */
/* First-buyer popup: reuse footer inputs; native Elementor owns popup layout. */
body .elementor-popup-modal:has(.b2b-first-buyer-popup) .dialog-close-button {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

body .elementor-popup-modal:has(.b2b-first-buyer-popup) .dialog-close-button:hover {
    background: #FFDD94;
    border-color: #FFDD94;
    color: #4F3920;
}

body .elementor-popup-modal:has(.b2b-first-buyer-popup) .dialog-close-button:is(:focus, :focus-visible, :active) {
    outline: none !important;
    box-shadow: none !important;
}

body .elementor .b2b-first-buyer-popup {
    --b2b-white: #fff;
    --b2b-yellow: #FFDD94;
    --b2b-blue: #3A5E8E;
}

body .elementor .b2b-first-buyer-popup.b2b-newsletter .gform_wrapper .gform_button {
    inline-size: 100% !important;
    block-size: auto;
    min-block-size: 0;
    padding: var(--b2b-submit-y, 18px) var(--b2b-submit-x, 36px) !important;
    margin: 0;
    border: 0;
    border-radius: 9999px;
    background: var(--e-global-color-accent, #FFDD94);
    color: #000;
    box-shadow: none;
    font-family: var(--e-global-typography-accent-font-family, Cleanow), sans-serif;
    font-size: var(--e-global-typography-accent-font-size, 20px) !important;
    font-weight: 400;
    line-height: var(--e-global-typography-accent-line-height, 24px);
    white-space: normal;
    transition: background-color .2s;
}

body .elementor .b2b-first-buyer-popup.b2b-newsletter .gform_wrapper .gform_button:hover {
    background: var(--e-global-color-b2bbhover, #FAAE9F);
}

body .elementor .b2b-first-buyer-popup #gform_submit_button_4:is(:focus, :focus-visible, :active) {
    outline: none !important;
    box-shadow: none !important;
}

body .elementor .b2b-first-buyer-popup.b2b-newsletter .gform_wrapper .gform_button:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body .elementor .b2b-first-buyer-popup .gform_confirmation_message {
    text-align: center;
}

body .elementor .b2b-first-buyer-popup .gform_confirmation_message h6 {
    color: #fff;
    margin: 0;
    text-align: center;
}

body .elementor .b2b-newsletter-form {
    width: 100%;
}

body .elementor .b2b-newsletter .gform_wrapper {
    margin: 12px 0 0;
    color: var(--b2b-white);
    --gf-local-color: var(--b2b-white);
    --gf-ctrl-label-color-primary: var(--b2b-white);
    --gf-ctrl-placeholder-font-size: var(--e-global-typography-text-font-size, 20px);
    --gf-ctrl-placeholder-font-family: var(--e-global-typography-text-font-family, Inter), sans-serif;
    --gf-ctrl-placeholder-font-weight: 400;
    --gf-ctrl-placeholder-color: var(--b2b-white);
    --gf-ctrl-btn-bg-color-primary: var(--b2b-yellow);
    --gf-ctrl-btn-bg-color-hover-primary: var(--e-global-color-b2bbhover, #faae9f);
    --gf-ctrl-btn-bg-color-focus-primary: var(--b2b-yellow);
    --gf-ctrl-btn-color-primary: #000;
    --gf-ctrl-btn-color-hover-primary: #000;
    --gf-ctrl-btn-font-family: var(--e-global-typography-accent-font-family, Cleanow), sans-serif;
    --gf-ctrl-btn-font-size: var(--e-global-typography-accent-font-size, 20px);
    --gf-ctrl-btn-font-weight: 400;
    --gf-ctrl-btn-line-height: var(--e-global-typography-accent-line-height, 24px);
    --gf-ctrl-btn-radius: 9999px;
    --gf-ctrl-btn-padding-x: 36px;
    --gf-ctrl-btn-padding-y: 18px;
    --gf-ctrl-btn-size: auto;
    --gf-ctrl-btn-shadow: none;
    --gf-ctrl-btn-border-width-primary: 0;
}

body .elementor .b2b-newsletter .gform_fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

body .elementor .b2b-newsletter .gfield {
    padding: 0;
    margin: 0;
}

body .elementor .b2b-newsletter .ginput_container {
    margin: 0;
}

body .elementor .b2b-newsletter input:is([type='text'], [type='email']) {
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: 100%;
    padding: 12px 64px 12px 32px;
    margin: 0;
    border: 0;
    border-radius: 9999px;
    background-color: #ffffff33;
    color: var(--b2b-white);
    box-shadow: none;
    font-family: var(--e-global-typography-text-font-family, Inter), sans-serif;
    font-size: var(--e-global-typography-text-font-size, 20px);
    font-weight: 400;
    line-height: 26px;
}

body .elementor .b2b-newsletter input::placeholder {
    color: var(--b2b-white);
    opacity: 1;
}

body .elementor .b2b-newsletter .b2b-gf-name input {
    background-image: url('assets/images/field-user.svg');
    background-position: right 32px center;
    background-size: 20px;
    background-repeat: no-repeat;
}

body .elementor .b2b-newsletter .b2b-gf-email input {
    background-image: url('assets/images/field-email.svg');
    background-position: right 32px center;
    background-size: 20px;
    background-repeat: no-repeat;
}

body .elementor .b2b-newsletter .gform_footer {
    padding: 0;
    margin: 12px 0 0;
}

body .elementor .b2b-footer .b2b-newsletter .gform_wrapper .gform_button {
    inline-size: 100% !important;
    block-size: auto;
    min-block-size: 0;
    padding: 18px 36px;
    margin: 0;
    border: 0;
    border-radius: 9999px;
    background: var(--b2b-yellow);
    color: #000;
    box-shadow: none;
    font-family: var(--e-global-typography-accent-font-family, Cleanow), sans-serif;
    font-size: var(--e-global-typography-accent-font-size, 20px);
    font-weight: 400;
    line-height: var(--e-global-typography-accent-line-height, 24px);
}

body .elementor .b2b-footer .b2b-newsletter .gform_wrapper .gform_button:hover {
    background: var(--e-global-color-b2bbhover, #faae9f);
}

body .elementor .b2b-footer .b2b-newsletter .gform_wrapper .gform_button:is(:focus, :active) {
    outline: 0 !important;
    box-shadow: none !important;
}

body .elementor .b2b-footer .b2b-newsletter .gform_wrapper .gform_button:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body .elementor .b2b-footer .b2b-newsletter .gform_wrapper .gform_button {
    font-size: var(--e-global-typography-accent-font-size, 20px) !important;
    line-height: var(--e-global-typography-accent-line-height, 24px) !important;
    padding: var(--b2b-submit-y, 18px) var(--b2b-submit-x, 36px) !important;
}

body .elementor .b2b-newsletter :is(.gform_confirmation_message, .gfield_validation_message, .validation_message) {
    color: var(--b2b-white);
    font: 400 16px/24px Inter, sans-serif;
}

body .elementor .b2b-footer .b2b-newsletter .gform_confirmation_message {
    font-family: var(--e-global-typography-text-font-family, Inter), sans-serif;
    font-size: var(--e-global-typography-text-font-size, 20px);
    font-weight: 600;
    line-height: var(--e-global-typography-text-line-height, 1.5);
}

body .elementor .b2b-newsletter .gfield_validation_message {
    padding-top: 8px;
}

/* Preserve accessible errors while showing compact hover/focus hints. */
body .elementor .b2b-newsletter .b2b-validation-ready :is(.gform_validation_errors, .gfield_validation_message) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body .elementor .b2b-newsletter .ginput_container {
    position: relative;
}

body .elementor .b2b-newsletter .b2b-validation-ready .gfield_error input {
    background-image: none;
    border: 0;
    outline: 0;
    box-shadow: none;
}

body .elementor .b2b-newsletter input:focus {
    outline: 0;
    box-shadow: inset 0 -2px 0 var(--b2b-yellow);
}

body .elementor .b2b-newsletter .b2b-validation-ready .gfield_error input:focus {
    box-shadow: inset 0 -2px 0 var(--b2b-yellow);
}

body .elementor .b2b-newsletter .b2b-field-error {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

body .elementor .b2b-newsletter .b2b-error-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: var(--b2b-yellow);
    color: var(--b2b-blue);
    font: 700 16px/1 Inter, sans-serif;
    box-shadow: none;
    cursor: help;
    outline: 0;
}

body .elementor .b2b-newsletter .b2b-error-trigger:focus-visible {
    background: #fff;
    box-shadow: 0 0 0 2px var(--b2b-yellow);
}

/* Gravity Forms applies button presets to every button, including this small control. */
body .elementor .b2b-newsletter .gform_wrapper .b2b-error-trigger {
    inline-size: 24px !important;
    block-size: 24px !important;
    min-inline-size: 0 !important;
    min-block-size: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
}

body .elementor .b2b-newsletter .b2b-error-tooltip {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: max-content;
    max-width: 220px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #fff;
    color: var(--b2b-blue);
    font: 400 14px/20px Inter, sans-serif;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

body .elementor .b2b-newsletter .b2b-field-error:is(:hover, :focus-within, .is-open) .b2b-error-tooltip {
    visibility: visible;
    opacity: 1;
}

@media (min-width:1201px) {
    body .elementor .b2b-footer-main>.b2b-footer-links {
        width: auto;
    }
}

@media (max-width:1600px) {
    body .elementor .b2b-newsletter {
        --b2b-submit-y: 14.4px;
        --b2b-submit-x: 28.8px;
    }

    body .elementor :is(.b2b-header, .b2b-footer) .b2b-shell {
        max-width: 1416px;
    }

    body .elementor .b2b-season-links .elementor-icon-list-item a {
        gap: 36.2px;
        padding-inline: 0 36.2px;
    }

    body .elementor .b2b-season-links .elementor-icon-list-item a::after {
        inline-size: 16px;
    }

    body .elementor .b2b-country .elementor-button-content-wrapper {
        gap: 4.8px;
    }

    body .elementor .b2b-country .elementor-button-content-wrapper::before {
        inline-size: 16px;
        background-size: 14px;
    }

    body .elementor .b2b-country .elementor-button-content-wrapper::after {
        inline-size: 19.2px;
    }

    body .elementor .b2b-header .b2b-action.elementor-widget-image {
        max-width: 41.6px;
    }

    body .elementor .b2b-action-circle {
        padding: 12px;
    }

    body .elementor .b2b-action-circle.b2b-cart {
        padding: 8.8px;
    }

    body .elementor .b2b-cta-copy {
        max-width: 656px;
    }

    body .elementor .b2b-newsletter .gform_fields {
        gap: 9.6px;
    }

    body .elementor .b2b-newsletter .gform_footer {
        margin-top: 9.6px;
    }

    body .elementor .b2b-newsletter input:is([type='text'], [type='email']) {
        padding: 9.6px 51.2px 9.6px 25.6px;
        line-height: 20.8px;
        background-size: 16px;
        background-position: right 25.6px center;
    }

    body .elementor .b2b-footer .b2b-newsletter .gform_wrapper .gform_button {
        padding: 14.4px 28.8px;
    }

    body .elementor .b2b-footer .b2b-bunny {
        right: 20px;
    }
}

/* Intermediate laptop width is not an enabled Elementor breakpoint. */
@media (min-width:1201px) and (max-width:1367px) {
    body .elementor .b2b-header .b2b-primary-nav {
        padding-right: 0;
    }

    body .elementor .b2b-primary-nav .elementor-nav-menu--main .elementor-item {
        margin-inline: 9px;
    }

    body .elementor .b2b-primary-nav .elementor-nav-menu--main>.elementor-nav-menu>li:first-child>.elementor-item {
        margin-left: 0;
    }

    body .elementor .b2b-primary-nav .elementor-nav-menu--main>.elementor-nav-menu>li:last-child>.elementor-item {
        margin-right: 0;
    }
}

@media (max-width:1200px) {
    body .elementor .b2b-season-links .elementor-icon-list-item a {
        gap: 30px;
        padding-inline: 0 30px;
    }

    body .elementor .b2b-newsletter {
        --b2b-submit-y: 14px;
        --b2b-submit-x: 28px;
    }

    body .elementor .b2b-header .b2b-primary-nav {
        order: 3;
        flex: 0 0 auto;
    }

    body .elementor .b2b-cta .b2b-books-row {
        display: flex;
    }

    body .elementor .b2b-cta .b2b-book {
        position: static;
        inset: auto;
        width: 26%;
        max-width: 130px;
        flex: 0 1 auto;
    }

    body .elementor .b2b-cta::before {
        width: 150%;
    }
}

@media (max-width:1024px) {
    body .elementor .b2b-season-links .elementor-icon-list-item a {
        gap: 24px;
        padding-inline: 0 24px;
    }

    body .elementor .b2b-newsletter {
        --b2b-submit-y: 12px;
        --b2b-submit-x: 24px;
    }
}

@media (max-width:767px) {
    body .elementor .b2b-season-links .elementor-icon-list-item a {
        gap: 18px;
        padding-inline: 0 18px;
    }

    body .elementor .b2b-header .b2b-header-actions {
        order: 2;
        width: max-content;
    }

    body .elementor .b2b-header .b2b-primary-nav {
        order: 3;
    }

    body .elementor .b2b-country .elementor-button-content-wrapper {
        gap: 3px;
    }

    body .elementor .b2b-country .elementor-button-content-wrapper::before {
        inline-size: 12px;
        background-size: 12px;
    }

    body .elementor .b2b-country .elementor-button-content-wrapper::after {
        inline-size: 12px;
    }

    body .elementor .b2b-header .b2b-action.elementor-widget-image {
        max-width: 26px;
    }

    body .elementor .b2b-action-circle {
        padding: 3px;
    }

    body .elementor .b2b-action-circle.b2b-cart {
        padding: 2px;
    }

    body .elementor .b2b-cta::before {
        width: 250%;
    }

    body .elementor .b2b-cta-button::after {
        left: calc(100% + 8px);
    }

    body .elementor .b2b-footer .b2b-bunny {
        width: 26%;
        right: 10px;
    }
}

@media (prefers-reduced-motion:reduce) {
    body .elementor .b2b-watermark .b2b-watermark-scrolling {
        animation: none;
        transform: none;
    }

    body .elementor .b2b-marquee-window {
        overflow-x: auto;
    }

    body .elementor .b2b-marquee-copy {
        display: none !important;
    }
}

/* Section 8: native Carousel, Heading and Image widgets; original Figma layers. */
body .elementor .b2b-showcase {
    --kit-widget-spacing: 0px;
    isolation: isolate;
}

body .elementor .b2b-showcase::after {
    content: '';
    position: absolute;
    inset: -15px 0 auto;
    width: 100%;
    aspect-ratio: 1921/172;
    background: url('assets/images/showcase/top-scallop.svg') center/contain no-repeat;
    transform: rotate(180deg);
    pointer-events: none;
    z-index: -1;
}

body .elementor .b2b-showcase-title .elementor-heading-title {
    margin: 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body .elementor .b2b-showcase-title span {
    color: var(--e-global-color-secondary, #537068);
}

body .elementor .b2b-showcase-card {
    aspect-ratio: 372/533;
    isolation: isolate;
    mask: url('assets/images/showcase/card-mask.svg') center/100% 100% no-repeat;
}

body .elementor .b2b-showcase-card::before,
body .elementor .b2b-showcase-card::after {
    content: '';
    position: absolute;
    pointer-events: none;
    aspect-ratio: 1;
    z-index: 0;
}

body .elementor .b2b-showcase-card::before {
    inset: -24.765478% auto auto -21.505376%;
    width: 161.827957%;
    height: auto;
    background: url('assets/images/showcase/top-glow.svg') center/contain no-repeat;
    opacity: 1;
}

body .elementor .b2b-showcase-card::after {
    top: 20.262664%;
    left: -51.612903%;
    width: 151.612903%;
    background: url('assets/images/showcase/bottom-glow.svg') center/contain no-repeat;
}

body .elementor .b2b-showcase-print img {
    display: block;
    aspect-ratio: 267/445;
    object-fit: cover;
}

body .elementor .b2b-showcase-shadow {
    pointer-events: none;
}

body .elementor .b2b-showcase-shadow img {
    display: block;
}

body .elementor .b2b-showcase-carousel {
    --e-n-carousel-arrow-prev-caption-spacing: 0px;
    --e-n-carousel-arrow-next-caption-spacing: 0px;
}

body .elementor .b2b-showcase-carousel .elementor-swiper-button::before {
    content: '';
    width: var(--e-n-carousel-arrow-size, 20px);
    aspect-ratio: 1;
    background: url('assets/images/showcase/arrow-brown.svg') center/contain no-repeat;
}

body .elementor .b2b-showcase-carousel .elementor-swiper-button-prev::before {
    transform: rotate(180deg);
}

body .elementor .b2b-showcase-carousel .elementor-swiper-button :is(i, svg) {
    display: none;
}

body .elementor .b2b-showcase-carousel.elementor-widget-n-carousel .elementor-swiper-button-next {
    background-color: #4f3920;
}

body .elementor .b2b-showcase-carousel .elementor-swiper-button-next::before {
    background-image: url('assets/images/showcase/arrow-white.svg');
}

body .elementor .b2b-showcase-carousel.elementor-widget-n-carousel .elementor-swiper-button-next:hover {
    background-color: var(--e-global-color-accent, #ffdd94);
}

body .elementor .b2b-showcase-carousel .elementor-swiper-button-next:hover::before {
    background-image: url('assets/images/showcase/arrow-brown.svg');
}

body .elementor .b2b-showcase-carousel .elementor-swiper-button:focus-visible {
    outline: 2px solid var(--e-global-color-secondary, #537068);
    outline-offset: 4px;
}

/* Preserve native tablet values despite Elementor's tablet_extra rule ordering. */
@media (min-width:768px) and (max-width:1024px) {
    body .elementor .b2b-showcase.e-con {
        --gap: 42px 42px;
        --row-gap: 42px;
        --column-gap: 42px;
    }

    body .elementor .b2b-showcase .b2b-showcase-carousel {
        --e-n-carousel-arrow-size: 14px;
        --e-n-carousel-arrow-prev-top-position: 68px;
        --e-n-carousel-arrow-next-top-position: 68px;
    }

    body .elementor .b2b-pink-strip .b2b-brand-repeat {
        --gap: 28px 28px;
        --row-gap: 28px;
        --column-gap: 28px;
    }

    body .elementor .b2b-pink-strip .b2b-brand-name .elementor-heading-title {
        font-size: 16.8px;
        line-height: 16.8px;
    }

    body .elementor .b2b-pink-strip .b2b-brand-star {
        width: 19.6px;
        max-width: 19.6px;
    }
}

/* Sections 6–7: native Elementor widgets own spacing, typography and colours.
   These rules handle the original Figma artwork and Gravity Forms markup. */
body .elementor :is(.b2b-sale, .b2b-home-signup) {
    --kit-widget-spacing: 0px;
}

body .elementor .b2b-sale {
    isolation: isolate;
}

body .elementor .b2b-sale>.e-con-inner {
    position: static;
}

body .elementor .b2b-sale::before {
    z-index: 1;
    pointer-events: none;
}

body .elementor :is(.b2b-sale-copy, .b2b-home-signup-heading) :is(.elementor-heading-title, p) {
    margin: 0;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body .elementor :is(.b2b-sale-photo, .b2b-sale-scallop, .b2b-sale-arrow) {
    pointer-events: none;
    line-height: 0;
}

body .elementor :is(.b2b-sale-photo, .b2b-sale-scallop, .b2b-sale-arrow) img {
    display: block;
    width: 100%;
    height: auto;
}

body .elementor .b2b-sale-photo {
    max-width: none !important;
}

/* Keep Elementor's Figma-aligned top offset; overlap only the bottom edge. */
body .elementor .b2b-sale .b2b-sale-photo {
    bottom: -2px;
}

body .elementor .b2b-sale-photo :is(.elementor-widget-container, img) {
    height: 100%;
}

body .elementor .b2b-sale-photo img {
    object-fit: cover;
    object-position: left top;
}

body .elementor .b2b-sale-scallop.is-top {
    transform: rotate(180deg);
}

/* Animate the artwork inside its fixed box. Changing the rotation origin
   moves the entire divider and exposes a rectangular strip of section colour. */
body .elementor :is(.b2b-products, .b2b-about, .b2b-showcase)::after {
    --b2b-scallop-stretch: 94%;
    transform-origin: center;
    background-position: center bottom;
    animation: b2b-scallop-bounce 4.5s ease-in-out infinite;
    /* Subpixel overlap prevents a hairline along the adjoining straight edge. */
    margin-top: -1px;
}

body .elementor .b2b-sale-scallop {
    transform-origin: center;
}

body .elementor .b2b-sale-scallop img {
    --b2b-scallop-scale: 1.10;
    transform-origin: center bottom;
    animation: b2b-scallop-image-bounce 4.5s ease-in-out infinite;
}

@keyframes b2b-scallop-bounce {

    0%,
    70%,
    100% {
        background-size: 100% 100%;
    }

    42% {
        background-size: 100% var(--b2b-scallop-stretch);
    }

    85% {
        background-size: 100% 98.5%;
    }
}

@keyframes b2b-scallop-image-bounce {

    0%,
    70%,
    100% {
        scale: 1 1;
    }

    42% {
        scale: 1 var(--b2b-scallop-scale);
    }

    85% {
        scale: 1 1.025;
    }
}

@media (max-width:1200px) {
    body .elementor :is(.b2b-products, .b2b-about, .b2b-showcase)::after {
        --b2b-scallop-stretch: 96%;
    }

    body .elementor .b2b-sale-scallop img {
        --b2b-scallop-scale: 1.07;
    }
}

@media (max-width:767px) {

    /* Transform the rasterized edge instead of repainting its background size.
       The half-height translation keeps its straight top edge anchored while
       the rotated scallops gently compress, without a pause or second bounce. */
    body .elementor :is(.b2b-products, .b2b-about, .b2b-showcase)::after {
        background-size: 100% 100%;
        animation: b2b-scallop-mobile 5.5s ease-in-out infinite;
        will-change: transform;
    }

    body .elementor .b2b-sale-scallop img {
        animation: b2b-scallop-image-mobile 5.5s ease-in-out infinite;
        will-change: transform;
    }
}

@keyframes b2b-scallop-mobile {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(180deg) scaleY(1);
    }

    50% {
        transform: translate3d(0, -1.5%, 0) rotate(180deg) scaleY(.97);
    }
}

@keyframes b2b-scallop-image-mobile {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scaleY(1);
    }

    50% {
        transform: translate3d(0, 0, 0) scaleY(1.035);
    }
}

@media (prefers-reduced-motion:reduce) {

    body .elementor :is(.b2b-products, .b2b-about, .b2b-showcase)::after,
    body .elementor .b2b-sale-scallop img {
        animation: none;
        will-change: auto;
    }
}

body .elementor .b2b-sale-arrow {
    transform: rotate(169.34deg) scaleY(-1);
    opacity: .4;
}

body .elementor .b2b-sale-button .elementor-button:is(:focus, :active) {
    outline: 0;
}

body .elementor .b2b-sale-button .elementor-button:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body .elementor .b2b-home-signup-heading span {
    color: var(--e-global-color-secondary, #537068);
}

body .elementor .b2b-home-signup-form {
    --b2b-white: #575757;
    --b2b-yellow: var(--e-global-color-accent, #ffdd94);
    --b2b-blue: var(--e-global-color-primary, #3a5e8e);
    --b2b-signup-gap: 20px;
    --b2b-signup-submit: 48px;
}

body .elementor .b2b-home-signup-form .gform_wrapper {
    margin: 0;
    --gf-ctrl-btn-bg-color-primary: #4f3920;
    --gf-ctrl-btn-bg-color-hover-primary: var(--e-global-color-secondary, #537068);
    --gf-ctrl-btn-bg-color-focus-primary: #4f3920;
}

body .elementor .b2b-home-signup-form form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) var(--b2b-signup-submit);
    gap: var(--b2b-signup-gap);
    align-items: start;
}

body .elementor .b2b-home-signup-form :is(.gform_body, .gform_fields) {
    display: contents;
}

body .elementor .b2b-home-signup-form .gfield {
    grid-column: auto;
    min-width: 0;
}

body .elementor .b2b-home-signup-form input:is([type='text'], [type='email']),
body .elementor .b2b-home-signup-form .b2b-validation-ready .gfield_error input {
    padding: 0 36px 14px 12px;
    border: 0;
    border-bottom: 1px solid #00000047;
    border-radius: 0;
    background: none;
    color: #575757;
    font-size: var(--e-global-typography-text-font-size, 20px);
    line-height: 32px;
}

body .elementor .b2b-home-signup-form .gform_footer {
    padding: 0;
    margin: 0;
}

body .elementor .b2b-home-signup-form .gform_wrapper .gform_button {
    inline-size: var(--b2b-signup-submit) !important;
    block-size: auto;
    min-inline-size: 0;
    min-block-size: 0;
    aspect-ratio: 1;
    padding: 0 !important;
    margin: 0 !important;
    border: 0;
    border-radius: 9999px;
    background: #4f3920 url('assets/images/signup/paper-plane.svg') 12px center/20px no-repeat;
    font-size: 0 !important;
    line-height: 1 !important;
    box-shadow: none;
    cursor: pointer;
}

body .elementor .b2b-home-signup-form .gform_wrapper .gform_button:hover {
    background-color: var(--e-global-color-secondary, #537068);
}

body .elementor .b2b-home-signup-form .gform_wrapper .gform_button:is(:focus, :focus-visible, :active) {
    outline: 0 !important;
    box-shadow: none !important;
}

body .elementor .b2b-home-signup-form .gform_wrapper .gform_button:focus-visible {
    background-color: var(--e-global-color-secondary, #537068);
}

body .elementor .b2b-home-signup-form .b2b-field-error {
    right: 8px;
    top: 16px;
}

body .elementor .b2b-home-signup-form .b2b-error-trigger {
    --gf-ctrl-btn-bg-color-primary: var(--b2b-yellow);
    --gf-ctrl-btn-bg-color-hover-primary: var(--b2b-yellow);
    --gf-ctrl-btn-bg-color-focus-primary: var(--b2b-yellow);
    --gf-ctrl-btn-color-primary: var(--b2b-blue);
}

body .elementor .b2b-home-signup-form .gform_ajax_spinner {
    position: absolute;
    margin-left: 8px;
}

/* Native H6 markup inherits the kit's complete, responsive H6 typography. */
body .elementor .b2b-home-signup-form .gform_confirmation_message {
    width: 100%;
    text-align: center;
    color: var(--e-global-color-text, #575757);
}

body .elementor .b2b-home-signup-form .gform_confirmation_message h6 {
    margin: 0;
    text-align: center;
}

@media (max-width:1600px) {
    body .elementor .b2b-home-signup-form {
        --b2b-signup-gap: 16px;
        --b2b-signup-submit: 44px;
    }

    body .elementor .b2b-home-signup-form input:is([type='text'], [type='email']),
    body .elementor .b2b-home-signup-form .b2b-validation-ready .gfield_error input {
        padding: 0 32px 17.4px 9.6px;
        line-height: 25.6px;
    }

    body .elementor .b2b-home-signup-form .gform_wrapper .gform_button {
        background-position: 12px center;
        background-size: 18px;
    }
}

@media (max-width:1200px) {
    body .elementor .b2b-sale.e-con::before {
        background-image: linear-gradient(90deg, #000c 0%, #0009 38%, #0000 85%);
    }

    body .elementor .b2b-sale-photo img {
        object-fit: cover;
        object-position: 70% top;
    }

    body .elementor .b2b-home-signup-form {
        --b2b-signup-gap: 15px;
    }

    body .elementor .b2b-home-signup-form input:is([type='text'], [type='email']),
    body .elementor .b2b-home-signup-form .b2b-validation-ready .gfield_error input {
        padding-bottom: 19px;
        line-height: 24px;
    }
}

/* Match the saved tablet controls when Elementor emits tablet_extra last. */
@media (min-width:768px) and (max-width:1024px) {
    body .elementor .b2b-home-signup.e-con {
        --gap: 32px 32px;
        --row-gap: 32px;
        --column-gap: 32px;
    }

    body .elementor .b2b-home-signup .b2b-home-signup-heading {
        width: 491.4px;
        max-width: 100%;
    }
}

@media (max-width:767px) {
    body .elementor .b2b-sale.e-con {
        background-color: #303127;
    }

    /* body .elementor .b2b-sale.e-con::before {
        background-image: linear-gradient(180deg, #303127 0%, #303127 34%, #303127e6 48%, #30312755 70%, #30312700 90%);
    } */

    body .elementor .b2b-sale-photo img {
        object-position: 70% top;
    }

    body .elementor .b2b-sale .b2b-sale-scallop.is-bottom {
        bottom: -2px;
    }

    body .elementor .b2b-home-signup-form form {
        grid-template-columns: minmax(0, 1fr) var(--b2b-signup-submit);
        gap: 20px 12px;
    }

    body .elementor .b2b-home-signup-form .b2b-gf-name {
        grid-column: 1 / -1;
    }

    body .elementor .b2b-home-signup-form input:is([type='text'], [type='email']),
    body .elementor .b2b-home-signup-form .b2b-validation-ready .gfield_error input {
        padding: 6px 36px 13px 8px;
        line-height: 24px;
    }

    body .elementor .b2b-home-signup-form .b2b-field-error {
        top: 18px;
    }
}

/* Shop layout spacing remains editable in Elementor; shortcode controls below. */
/* Dynamic Single Product: layout/type remain native Elementor controls. */
body .elementor .b2b-pd-section {
    --pd-scale: 1;
}

body .elementor .b2b-pd-notices {
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 20px;
}

body .elementor .b2b-pd-gallery-column,
body .elementor .b2b-pd-summary {
    min-width: 0;
}

body .elementor .b2b-pd-title .elementor-heading-title {
    margin: 0;
    line-height: 1.3 !important;
    letter-spacing: normal;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.b2b-pd-title-first {
    color: #000;
}

.b2b-pd-title-rest {
    color: #537068;
}

body .elementor .b2b-pd-payment-placeholder .elementor-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(60px * var(--pd-scale));
    min-height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    cursor: default;
}

body .elementor .b2b-pd-payment-placeholder .elementor-button-content-wrapper {
    align-items: center;
}

body .elementor .b2b-pd-apple-pay .elementor-button-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

body .elementor .b2b-pd-apple-pay .elementor-button-icon {
    width: calc(68.202px * var(--pd-scale));
    height: calc(28px * var(--pd-scale));
    display: flex;
    align-items: center;
    justify-content: center;
}

body .elementor .b2b-pd-link-pay .elementor-button-icon {
    width: calc(72px * var(--pd-scale));
    height: calc(24px * var(--pd-scale));
    display: flex;
    align-items: center;
    justify-content: center;
}

body .elementor .b2b-pd-payment-placeholder .elementor-button-icon svg {
    width: auto;
    height: 100%;
    max-width: 100%;
}

.b2b-pd-description p:last-child {
    margin-bottom: 0;
}

.b2b-pd-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font: 400 calc(18px * var(--pd-scale))/1.55 Inter, sans-serif;
    color: #000;
}

body .elementor .b2b-pd-breadcrumbs a {
    color: #575757;
}

.b2b-pd-breadcrumbs>span[aria-hidden] {
    width: 20px;
    height: 20px;
    background: url('assets/images/product-details/chevron.svg') center/contain no-repeat;
    transform: rotate(-90deg);
}

body.woocommerce .elementor .b2b-pd-gallery-column .b2b-pd-gallery div.images {
    float: none !important;
    width: 100% !important;
    margin: 0;
    padding-left: 25.845%;
    position: relative;
}

body .elementor .b2b-pd-gallery .woocommerce-product-gallery__wrapper {
    margin: 0;
}

body .elementor .b2b-pd-gallery .flex-viewport,
body .elementor .b2b-pd-gallery .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper {
    background: url('assets/images/product-details/gallery-background.svg') center/100% 100% no-repeat;
    border-radius: 20px;
}

body .elementor .b2b-pd-gallery .woocommerce-product-gallery__image {
    position: relative;
}

body .elementor .b2b-pd-gallery .woocommerce-product-gallery__image>a {
    z-index: 1;
    display: block;
    position: relative;
}

body .elementor .b2b-pd-gallery .woocommerce-product-gallery__image>a::after {
    z-index: -1;
    content: '';
    position: absolute;
    left: 3.6%;
    right: 3.6%;
    bottom: 7.7%;
    height: 6.46%;
    background: url('assets/images/product-details/book-shadow.svg') center/100% 100% no-repeat;
    pointer-events: none;
}

body .elementor .b2b-pd-gallery .woocommerce-product-gallery__image img:not(.zoomImg),
body .elementor .b2b-pd-gallery .woocommerce-product-gallery__image--placeholder img {
    display: block;
    width: 100%;
    aspect-ratio: 614/681;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    padding: 20.52% 19.05% 10.26%;
    position: relative;
}

body .elementor .b2b-pd-gallery .woocommerce-product-gallery__trigger {
    display: none;
}

body .elementor .b2b-pd-gallery .flex-control-thumbs {
    position: absolute;
    left: 0;
    top: 9.1%;
    width: 20.77%;
    height: 81.65%;
    overflow: auto;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    gap: calc(20px * var(--pd-scale));
    margin: 0;
    padding: 0;
    list-style: none;
}

body .elementor .b2b-pd-gallery .flex-control-thumbs::-webkit-scrollbar {
    display: none;
}

/* A two-image gallery should not leave its short thumbnail stack at the top. */
@media(min-width:768px) {
    body .elementor .b2b-pd-gallery .flex-control-thumbs:has(> li:nth-child(2):last-child) {
        top: 50%;
        height: auto;
        transform: translateY(-50%);
    }
}

body .elementor .b2b-pd-gallery .flex-control-thumbs li {
    width: 100% !important;
    float: none;
    flex: 0 0 auto;
    padding: 0 !important;
    margin: 0;
    aspect-ratio: 1;
    border: 4px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

body .elementor .b2b-pd-gallery .flex-control-thumbs li:has(.flex-active) {
    border-color: #FAAE9F;
}

body.woocommerce .elementor .b2b-pd-gallery .woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    padding: 0;
    box-sizing: border-box;
}

body .elementor .b2b-pd-gallery .flex-control-thumbs li.b2b-pd-thumb-contained {
    background: #F5F0E6;
}

body.woocommerce .elementor .b2b-pd-gallery .woocommerce-product-gallery .flex-control-thumbs li.b2b-pd-thumb-contained img {
    object-fit: contain;
    object-position: center;
    padding: 18% 26%;
}

body .elementor .b2b-pd-gallery button.b2b-pd-gallery-step {
    position: absolute;
    z-index: 3;
    left: calc(10.385% - 30px * var(--pd-scale));
    width: calc(60px * var(--pd-scale));
    height: calc(60px * var(--pd-scale));
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border: 1px solid #4F3920;
    border-radius: 50%;
    background: #fff url('assets/images/product-details/arrow.svg') center/20px 20px no-repeat;
    cursor: pointer;
}

.b2b-pd-gallery-step.is-prev {
    top: 1.5%;
    transform: rotate(-90deg);
}

.b2b-pd-gallery-step.is-next {
    bottom: 1.5%;
    transform: rotate(90deg);
}

@media(min-width:768px) {

    /* Match the three-thumbnail rail's 9.1% / 90.75% edges and 1.5% button insets. */
    body .elementor .b2b-pd-gallery .b2b-pd-gallery-two-images button.b2b-pd-gallery-step.is-prev {
        top: calc(50% - var(--b2b-thumb-pair-half-height) - 7.6%);
        bottom: auto;
    }

    body .elementor .b2b-pd-gallery .b2b-pd-gallery-two-images button.b2b-pd-gallery-step.is-next {
        top: calc(50% + var(--b2b-thumb-pair-half-height) + 7.75% - max(32px, 60px * var(--pd-scale)));
        bottom: auto;
    }
}

body .elementor .b2b-pd-gallery button.b2b-pd-gallery-step.is-prev {
    background-color: #4F3920;
    background-image: url('assets/images/product-details/arrow-white.svg');
}

body .elementor .b2b-pd-gallery button.b2b-pd-gallery-step:not(:disabled):hover {
    background-color: #FFDD94;
}

body .elementor .b2b-pd-gallery button.b2b-pd-gallery-step:disabled {
    opacity: 1;
    cursor: default;
}

body .elementor .b2b-pd-gallery .flex-control-thumbs li[hidden] {
    display: none !important;
}

body .elementor .b2b-pd-gallery .flex-control-thumbs li img {
    cursor: pointer;
}

body .elementor .b2b-pd-gallery .woocommerce-product-gallery__image>a {
    cursor: zoom-in;
}

body .elementor .b2b-pd-category {
    position: absolute;
    top: calc(28px * var(--pd-scale));
    left: calc(25.845% + 24px * var(--pd-scale));
    max-width: calc(74.155% - 104px * var(--pd-scale));
    width: auto;
    z-index: 2;
    padding: calc(10px * var(--pd-scale)) calc(20px * var(--pd-scale));
    background: #4f39201a;
    border-radius: 8px;
    color: #4F3920;
    font: 500 calc(16px * var(--pd-scale))/24px Inter, sans-serif;
}

body .elementor .b2b-pd-category :is(.sku_wrapper, .tagged_as, .detail-label, .detail-container:not(.posted_in)) {
    display: none;
}

body .elementor .b2b-pd-category .product_meta {
    border: 0;
    margin: 0;
    padding: 0;
    font: inherit;
}

body .elementor .b2b-pd-category .posted_in {
    padding: 0;
    margin: 0;
    border: 0;
}

body .elementor .b2b-pd-category .posted_in::before {
    content: 'Category: ';
}

body .elementor .b2b-pd-category a {
    color: inherit;
}

/* Keep every category visible without changing the thumbnail rail or its spacing. */
@media (min-width:1024px) and (max-width:1230px) {
    body .elementor .b2b-pd-category {
        width: fit-content;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body .elementor .b2b-pd-category .posted_in {
        display: block;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body .elementor .b2b-pd-category a {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body .elementor .b2b-pd-gallery .woocommerce-product-gallery__image img:not(.zoomImg),
    body .elementor .b2b-pd-gallery .woocommerce-product-gallery__image--placeholder img {
        padding-top: calc(20.52% + 36px);
    }

    body .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) .woocommerce-product-gallery__image img:not(.zoomImg) {
        padding: calc(18% + 36px) 22% 10%;
    }
}

body .elementor .b2b-pd-favourite-widget {
    position: absolute;
    top: calc(28px * var(--pd-scale));
    right: calc(24px * var(--pd-scale));
    width: auto;
    z-index: 3;
}

/* With one image (or a placeholder), do not reserve a thumbnail column/row. */
body .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) {
    --b2b-single-gallery-width: 100%;
}

body .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) .b2b-pd-gallery {
    width: var(--b2b-single-gallery-width);
    max-width: 100%;
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
}

body.woocommerce .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) .b2b-pd-gallery div.images {
    padding-left: 0;
    padding-bottom: 0;
}

@media(min-width:768px) {
    body .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) .b2b-pd-category {
        left: calc(100% - var(--b2b-single-gallery-width) + 24px * var(--pd-scale));
        max-width: calc(var(--b2b-single-gallery-width) - 104px * var(--pd-scale));
    }

    body .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) .b2b-pd-favourite-widget {
        right: calc(24px * var(--pd-scale));
    }

    body .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) .woocommerce-product-gallery__image img:not(.zoomImg) {
        aspect-ratio: 1;
        padding: 18% 22% 10%;
    }
}

/* Widen only the background; retain the previous artwork width and box height. */
@media(min-width:1025px) {
    body .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) .woocommerce-product-gallery__image>a {
        width: min(84%, 640px);
        margin-inline: auto;
    }
}

@media(max-width:767px) {
    body .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) .b2b-pd-category {
        left: 14px;
        max-width: calc(100% - 76px);
    }

    body .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) .b2b-pd-favourite-widget {
        right: 12px;
    }

    body .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) .woocommerce-product-gallery__image img:not(.zoomImg) {
        height: clamp(250px, 70vw, 340px);
        padding: 70px 20% 30px;
    }
}

body .elementor button.b2b-pd-favourite {
    display: grid;
    place-items: center;
    width: calc(52px * var(--pd-scale));
    height: calc(52px * var(--pd-scale));
    min-width: 36px;
    min-height: 36px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: #3A5E8E;
    cursor: pointer;
}

body .elementor button.b2b-pd-favourite[aria-pressed=true],
body .elementor button.b2b-pd-favourite:hover {
    background: #537068;
}

.b2b-pd-favourite img {
    width: 20px;
    height: 20px;
}

/* Labelled wishlist control on product loop artwork. */
.b2b-loop-wishlist-wrap {
    position: relative;
}

body .elementor button.b2b-pd-favourite.b2b-loop-wishlist {
    position: absolute;
    top: auto;
    bottom: calc(100% + 8px);
    right: var(--b2b-wishlist-image-right, 0px);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    max-width: var(--b2b-wishlist-image-width, 100%);
    box-sizing: border-box;
    height: auto;
    min-width: 0;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid #3A5E8E33;
    border-radius: 999px;
    background: #F5F0E6;
    color: #1A355A;
    font: 500 clamp(11px, .85vw, 14px)/1.3 Inter, sans-serif;
    text-align: center;
    box-shadow: 0 2px 8px #1A355A12;
    transition: background-color .2s, color .2s, border-color .2s;
}

/* Templates 118 and 571: button and artwork share a normal-flow column. */
body .elementor .b2b-loop-image-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

body .elementor .b2b-loop-image-content {
    width: 100%;
    min-width: 0;
}

body .elementor .b2b-loop-image-stack > button.b2b-pd-favourite.b2b-loop-wishlist {
    /* Relative only provides the loading spinner's containing block. */
    position: relative;
    inset: auto;
    align-self: flex-end;
    flex: 0 0 auto;
    margin: 0;
    margin-inline-end: var(--b2b-wishlist-image-right, 0px);
}

body .elementor .b2b-loop-image-stack .b2b-product-format {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    flex: 0 0 auto;
    margin-inline-end: var(--b2b-wishlist-image-right, 0px);
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    font: 600 11px/1.4 Inter, sans-serif;
    letter-spacing: .02em;
    text-align: center;
    box-sizing: border-box;
}

body .elementor .b2b-product-format--digital {
    background-color: #7545A0;
}

body .elementor .b2b-product-format--physical {
    background-color: #3A5E8E;
}

/* Editable shortcode widgets in the native Elementor image/labels container. */
body .elementor .b2b-loop-editor-stack {
    padding: 0;
    --container-widget-width: 100%;
}

body .elementor .b2b-loop-editor-stack > .elementor-widget-shortcode {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    align-self: stretch;
    margin: 0;
}

/* Carousel widgets can shrink-wrap their inner content. Keep both wrapper
   levels full-width before applying the artwork's right-edge spacing. */
body .elementor .b2b-loop-editor-stack > .elementor-widget-shortcode > .elementor-widget-container,
body .elementor .b2b-loop-editor-stack > .elementor-widget-shortcode .elementor-shortcode {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    align-self: stretch;
    box-sizing: border-box;
}

body .elementor .b2b-loop-editor-stack > .elementor-widget-shortcode .elementor-shortcode {
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    padding-inline-end: var(--b2b-wishlist-image-right, 0px);
    box-sizing: border-box;
}

body .elementor .b2b-loop-editor-stack button.b2b-pd-favourite.b2b-loop-wishlist {
    position: relative;
    inset: auto;
    margin: 0;
    flex: 0 0 auto;
    max-width: 100%;
    white-space: nowrap;
}

body .elementor .b2b-loop-editor-stack .b2b-product-format {
    margin: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

body .elementor button.b2b-loop-wishlist svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

body .elementor button.b2b-pd-favourite.b2b-loop-wishlist:hover {
    background: #FFDD94;
    border-color: #FFDD94;
    color: #1A355A;
}

body .elementor button.b2b-pd-favourite.b2b-loop-wishlist[aria-pressed=true] {
    background: #537068;
    border-color: #537068;
    color: #fff;
}

body .elementor button.b2b-loop-wishlist[aria-pressed=true] svg {
    fill: currentColor;
}

body .elementor button.b2b-loop-wishlist:focus-visible {
    outline: 2px solid #3A5E8E;
    outline-offset: 3px;
}

body .elementor button.b2b-loop-wishlist[aria-busy=true] svg {
    visibility: hidden;
}

body .elementor button.b2b-loop-wishlist[aria-busy=true]::after {
    left: 10px;
    border-color: #1A355A33;
    border-top-color: #1A355A;
}

@media(prefers-reduced-motion:reduce) {
    body .elementor button.b2b-loop-wishlist {
        transition: none;
    }
}

body .elementor button.b2b-pd-favourite:disabled {
    cursor: wait;
    opacity: .65;
}

body .elementor button.b2b-pd-favourite[aria-busy=true] img {
    visibility: hidden;
}

body .elementor button.b2b-pd-favourite[aria-busy=true]::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff66;
    border-top-color: #fff;
    border-radius: 50%;
    animation: b2b-wishlist-spin .7s linear infinite;
}

.b2b-wishlist-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    max-width: min(440px, calc(100vw - 40px));
    padding: 18px 48px 18px 20px;
    background: #F5F0E6;
    color: #222;
    border: 1px solid #537068;
    border-radius: 12px;
    box-shadow: 0 4px 24px #0002;
    font: 16px/1.5 Inter, sans-serif;
}

.b2b-wishlist-notice a {
    color: #315544;
    text-decoration: underline;
    font-weight: 600;
}

body .b2b-wishlist-notice button {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    font: 24px/32px sans-serif;
}

@keyframes b2b-wishlist-spin {
    to {
        transform: rotate(360deg);
    }
}

@media(prefers-reduced-motion:reduce) {
    body .elementor button.b2b-pd-favourite[aria-busy=true]::after {
        animation: none;
    }
}

body .elementor .b2b-pd-price .price {
    margin: 0;
    white-space: nowrap;
    color: #000;
    font-weight: 700;
}

body .elementor .b2b-pd-price .price del {
    font-size: .7em;
}

body .elementor .b2b-pd-digital-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    width: 100%;
    min-width: 0;
}

body .elementor .b2b-pd-digital-price .price {
    flex: 0 0 auto;
}

body .elementor .b2b-pd-digital-notice {
    flex: 1 1 140px;
    min-width: 0;
    color: #575757;
    font: 400 max(12px, calc(14px * var(--pd-scale, 1)))/1.5 Inter, sans-serif;
    white-space: normal;
}

body .elementor .b2b-pd-cart form.cart {
    margin: 0 !important;
}

body .elementor .b2b-pd-cart .e-atc-qty-button-holder {
    display: flex;
    align-items: center;
    gap: calc(12px * var(--pd-scale));
}

body .elementor .b2b-pd-cart .quantity {
    display: flex;
    align-items: center;
    width: calc(153px * var(--pd-scale));
    height: calc(60px * var(--pd-scale));
    min-height: 44px;
    border: 1px solid #c9c7c7;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 28px #0000000d;
    margin: 0 !important;
    flex-shrink: 0;
}

body .elementor .b2b-pd-cart .quantity .qty {
    width: 100%;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 4px 0;
    background: transparent;
    font: 500 18px/26px Inter, sans-serif;
    color: #1e1e1e;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.b2b-pd-cart .qty::-webkit-inner-spin-button,
.b2b-pd-cart .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body .elementor .b2b-pd-cart form.cart .quantity button.b2b-pd-quantity-step {
    flex: 0 0 30%;
    width: 30%;
    min-width: 0;
    align-self: stretch;
    padding: 0;
    margin: 0 !important;
    border: 0;
    background: transparent;
    color: #1e1e1e;
    font: 20px/1 Inter, sans-serif;
    border-radius: 999px;
    cursor: pointer;
}

body .elementor .b2b-pd-cart .quantity {
    overflow: hidden;
}

body .elementor .b2b-pd-cart form.cart .quantity button.b2b-pd-quantity-step {
    border-radius: 0;
    transition: background-color .2s ease, color .2s ease;
}

body .elementor .b2b-pd-cart form.cart .quantity button.b2b-pd-quantity-step:hover {
    background: #FDE7E1;
    color: #000;
}

body .elementor .b2b-pd-cart form.cart .quantity button.b2b-pd-quantity-step:focus-visible {
    background: #FDE7E1;
    color: #000;
    outline: 2px solid #1a355a;
    outline-offset: -3px;
}

body .elementor .b2b-pd-cart .single_add_to_cart_button {
    border: 0;
    border-radius: 999px;
    padding: calc(18px * var(--pd-scale)) calc(36px * var(--pd-scale));
    min-height: 44px;
    background: #FFDD94;
    color: #000;
    font: 400 calc(20px * var(--pd-scale))/24px Cleanow, sans-serif;
    white-space: nowrap;
    margin: 0;
}

body .elementor .b2b-pd-cart .single_add_to_cart_button:hover {
    background: #FAAE9F;
}

/* Simple products: purchase pill followed by the native Stripe payment row.
   Display contents preserves the form and Stripe nodes/handlers in their original DOM. */
body .elementor .b2b-pd-summary {
    container-type: inline-size;
    container-name: product-summary;
}

body .elementor .elementor-element.b2b-pd-purchase {
    --b2b-wallet-height: 55px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    padding: 24px;
    border-radius: 28px;
}

body .elementor .b2b-pd-purchase .b2b-pd-price {
    display: flex;
    align-items: center;
    min-height: max(44px, calc(60px * var(--pd-scale)));
}

body .elementor .b2b-pd-purchase .b2b-pd-cart {
    width: 100%;
    min-width: 0;
}

body .elementor .b2b-pd-purchase .e-atc-qty-button-holder {
    justify-content: flex-end;
    flex-wrap: wrap;
}

body .elementor .b2b-pd-purchase .single_add_to_cart_button {
    min-height: max(44px, calc(60px * var(--pd-scale)));
    margin: 0 !important;
}

body .elementor .b2b-pd-purchase .wc-stripe-product-checkout-container {
    width: 100%;
    margin: 16px 0 0;
    padding: 0;
}

body .elementor .b2b-pd-purchase ul.wc_stripe_product_payment_methods {
    width: 100%;
    padding: 0;
    margin: 0;
}

body .elementor .b2b-pd-purchase ul.wc_stripe_product_payment_methods>li {
    width: 100%;
    margin: 0;
    padding: 0;
}

body .elementor .b2b-pd-purchase ul.wc_stripe_product_payment_methods>li+li {
    margin-top: 12px;
}

body .elementor .elementor-element.b2b-pd-purchase:has(.elementor-product-simple) {
    position: relative;
    isolation: isolate;
    background: transparent;
    padding: 0;
    border-radius: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 20px;
}

body .elementor .b2b-pd-purchase:has(.elementor-product-simple)::before {
    content: '';
    display: block;
    position: relative;
    inset: auto;
    z-index: -1;
    grid-area: 1 / 1 / 2 / -1;
    align-self: stretch;
    height: auto;
    width: 100%;
    border-radius: 999px;
    background: #F9F9F9;
    pointer-events: none;
}

body .elementor .b2b-pd-purchase:has(.elementor-product-simple) .b2b-pd-price {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    padding: 8px 0 8px clamp(18px, 2vw, 35px);
}

body .elementor .b2b-pd-purchase:has(.elementor-product-simple) .b2b-pd-cart,
body .elementor .b2b-pd-purchase:has(.elementor-product-simple) .b2b-pd-cart>.elementor-widget-container,
body .elementor .b2b-pd-purchase .elementor-product-simple,
body .elementor .b2b-pd-purchase .elementor-product-simple form.cart {
    display: contents !important;
}

body .elementor .b2b-pd-purchase .elementor-product-simple form.cart::before,
body .elementor .b2b-pd-purchase .elementor-product-simple form.cart::after,
body .elementor .b2b-pd-purchase .elementor-product-simple wc-order-attribution-inputs,
body .elementor .b2b-pd-purchase .elementor-product-simple .wc-stripe-clear {
    display: none;
}

body .elementor .b2b-pd-purchase .elementor-product-simple .e-atc-qty-button-holder {
    grid-column: 2;
    grid-row: 1;
    padding: 8px 8px 8px 0;
    gap: 12px;
    flex-wrap: nowrap;
}

body .elementor .b2b-pd-purchase .elementor-product-simple .single_add_to_cart_button {
    height: max(44px, calc(60px * var(--pd-scale)));
    padding-block: 0;
}

body .elementor .b2b-pd-purchase .elementor-product-simple .wc-stripe-product-checkout-container {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding: 0;
}

body .elementor .b2b-pd-purchase .elementor-product-simple ul.wc_stripe_product_payment_methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
}

body .elementor .b2b-pd-purchase .elementor-product-simple ul.wc_stripe_product_payment_methods>li {
    flex: 1 1 calc(50% - 6px);
    min-width: min(220px, 100%);
    max-width: 100%;
    width: auto;
    margin: 0;
    padding: 0;
}

body .elementor .b2b-pd-purchase .elementor-product-simple .payment-box {
    margin: 0;
    padding: 0;
}

body .elementor .b2b-pd-purchase .wc_stripe_product_payment_methods>li {
    --wc-stripe-express-btn-h: var(--b2b-wallet-height) !important;
}

@media(max-width:1600px) {
    body .elementor .elementor-element.b2b-pd-purchase {
        --b2b-wallet-height: 48px;
    }
}

@media(max-width:767px) {
    body .elementor .elementor-element.b2b-pd-purchase {
        --b2b-wallet-height: 44px;
    }

    body .elementor .elementor-element.b2b-pd-purchase {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px;
        gap: 16px;
        border-radius: 24px;
    }

    body .elementor .b2b-pd-purchase .b2b-pd-price {
        min-height: 0;
    }

    body .elementor .b2b-pd-purchase .e-atc-qty-button-holder {
        display: grid !important;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
        gap: 12px;
    }

    body .elementor .b2b-pd-purchase .quantity {
        width: 100%;
    }

    body .elementor .b2b-pd-purchase .single_add_to_cart_button {
        width: 100%;
        padding-inline: 12px;
    }

    body .elementor .elementor-element.b2b-pd-purchase:has(.elementor-product-simple) {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px 8px;
    }

    body .elementor .b2b-pd-purchase .elementor-product-simple .e-atc-qty-button-holder {
        display: flex !important;
        width: auto;
        gap: 8px;
    }

    body .elementor .b2b-pd-purchase .elementor-product-simple .quantity {
        width: 90px;
    }

    body .elementor .b2b-pd-purchase .elementor-product-simple .single_add_to_cart_button {
        width: auto;
        padding-inline: 14px;
    }

    body .elementor .b2b-pd-purchase .elementor-product-simple ul.wc_stripe_product_payment_methods {
        gap: 12px;
    }
}

/* Respond to the actual column width, including narrow desktop/tablet columns. */
@container product-summary (max-width:460px) {
    body .elementor .elementor-element.b2b-pd-purchase:has(.elementor-product-simple) {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    body .elementor .b2b-pd-purchase:has(.elementor-product-simple)::before {
        grid-area: 1 / 1 / 3 / -1;
        border-radius: 24px;
    }

    body .elementor .b2b-pd-purchase:has(.elementor-product-simple) .b2b-pd-price {
        grid-area: 1 / 1;
        padding: 16px 16px 0;
        min-height: 0;
    }

    body .elementor .b2b-pd-purchase .elementor-product-simple .e-atc-qty-button-holder {
        grid-area: 2 / 1;
        display: grid !important;
        grid-template-columns: minmax(108px, 1fr) minmax(0, 1.4fr);
        width: 100%;
        padding: 0 12px 12px;
        gap: 12px;
    }

    body .elementor .b2b-pd-purchase .elementor-product-simple .quantity {
        width: 100%;
        height: 48px;
    }

    body .elementor .b2b-pd-purchase .elementor-product-simple .single_add_to_cart_button {
        width: 100%;
        height: 48px;
        min-height: 48px;
        font-size: 16px;
        padding: 0 12px;
    }

    body .elementor .b2b-pd-purchase .elementor-product-simple ul.wc_stripe_product_payment_methods>li {
        flex-basis: 100%;
    }
}

/* Affiliate products: a direct seller link below the description, without a purchase panel. */
body .elementor .elementor-element.b2b-pd-purchase:has(.elementor-product-external) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
}

body .elementor .b2b-pd-purchase:has(.elementor-product-external) .b2b-pd-price {
    min-height: 0;
}

body .elementor .b2b-pd-purchase .elementor-product-external .e-atc-qty-button-holder {
    display: flex !important;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
}

/* Colours, typography, padding and hover effects inherit the site's Elementor button styles. */
body .b2b-affiliate-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
    border: 0;
    box-shadow: none;
    text-align: center;
}

.b2b-pd-section button:focus-visible,
.b2b-pd-section a:focus-visible {
    outline: 2px solid #537068;
    outline-offset: 3px;
}

/* Native WooCommerce tabs; product copy remains in the product description editor. */
.b2b-pd-tabs-section {
    --pd-tabs-scale: 1;
    background-image: url('assets/images/product-details/tabs-background.svg');
    background-size: 100% 100%;
}

body.woocommerce .elementor .b2b-pd-tabs .woocommerce-tabs ul.wc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: calc(56px * var(--pd-tabs-scale));
    overflow: visible;
    padding: 0;
    margin: 0;
    border: 0;
    position: relative;
}

body.woocommerce .elementor .b2b-pd-tabs .woocommerce-tabs ul.wc-tabs::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    bottom: 0;
    border: 0;
    background: url('assets/images/product-details/tabs-line.svg') center/100% 1px no-repeat;
}

body.woocommerce .elementor .elementor-element.b2b-pd-tabs .woocommerce-tabs ul.wc-tabs li {
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
}

body.woocommerce .elementor .b2b-pd-tabs .woocommerce-tabs ul.wc-tabs li::before,
body.woocommerce .elementor .b2b-pd-tabs .woocommerce-tabs ul.wc-tabs li::after {
    display: none;
}

body.woocommerce .elementor .b2b-pd-tabs .woocommerce-tabs ul.wc-tabs li a {
    display: block;
    padding: 0 calc(16px * var(--pd-tabs-scale)) calc(30px * var(--pd-tabs-scale));
    font-weight: 400;
    text-decoration: none;
    line-height: 1.25;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body.woocommerce .elementor .elementor-element.b2b-pd-tabs .woocommerce-tabs ul.wc-tabs li.active {
    background: transparent url('assets/images/product-details/tabs-active.svg') bottom/100% 5px no-repeat;
}

body.woocommerce .elementor .b2b-pd-tabs .woocommerce-tabs ul.wc-tabs li a:focus-visible {
    outline: 2px solid #537068;
    outline-offset: 3px;
}

body.woocommerce .elementor .elementor-element.b2b-pd-tabs .woocommerce-tabs .woocommerce-Tabs-panel {
    padding: calc(32px * var(--pd-tabs-scale)) 0 0;
    margin: 0;
    box-shadow: none;
}

body.woocommerce .elementor .b2b-pd-tabs #tab-description>h2 {
    display: none;
}

body.woocommerce .elementor .b2b-pd-tabs #tab-description hr {
    margin-top: 32px;
    margin-bottom: 32px;
}

@media(max-width:767px) {
    body.woocommerce .elementor .b2b-pd-tabs #tab-description hr {
        margin-top: 24px;
        margin-bottom: 24px;
    }
}

/* Additional information: retain WooCommerce's dynamic, accessible attribute table. */
/* Heading inherits the same responsive widget typography and margins as Reviews. */
body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes {
    display: table;
    width: 100%;
    max-width: 960px;
    margin: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #E8E2D7;
    border-radius: 24px;
    overflow: hidden;
    background: #F5F0E6;
}

body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes :is(th, td) {
    display: table-cell;
    padding: 22px 28px;
    border: 0;
    background: transparent;
    color: #1A355A;
    text-align: left;
    vertical-align: top;
    font: 400 16px/1.6 Inter, sans-serif;
    overflow-wrap: anywhere;
}

body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes tbody {
    display: table-row-group;
}

body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes tr {
    display: table-row;
}

body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes th {
    width: 30%;
    font-weight: 600;
}

body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes tr+tr> :is(th, td) {
    border-top: 1px solid #E2DBCF;
}

body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes td p {
    margin: 0;
    padding: 0;
    font: inherit;
}

body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes td p+p {
    margin-top: 8px;
}

body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes a {
    color: #3A5E8E;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes a:hover {
    color: #537068;
}

@media(max-width:767px) {
    body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes {
        border-radius: 18px;
    }

    body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes :is(th, td) {
        padding: 16px;
        font-size: 14px;
    }

    body.woocommerce .elementor .b2b-pd-tabs #tab-additional_information table.shop_attributes th {
        width: 40%;
    }
}

.elementor .b2b-pd-tabs .b2b-resource-intro {
    margin: 0 0 calc(50px * var(--pd-tabs-scale));
}

.elementor .b2b-pd-tabs h3.b2b-resource-heading {
    font: 400 calc(24px * var(--pd-tabs-scale))/1.333 Cleanow, sans-serif;
    color: #000;
    margin: 0 0 calc(32px * var(--pd-tabs-scale));
}

.b2b-resource-intro,
.b2b-resource-heading {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

body.single-product #tab-description {
    --b2b-description-list-spacing: 30px;
}

body .elementor .b2b-pd-tabs ul.b2b-resource-list {
    display: grid;
    grid-template-columns: 26.25fr 32.25fr 31.5fr;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    column-gap: 5%;
    row-gap: calc(16px * var(--pd-tabs-scale));
    list-style: none;
    padding: 0;
    margin: 0 0 var(--b2b-description-list-spacing, 30px);
}

body .elementor .b2b-pd-tabs ul.b2b-resource-list--three-rows {
    grid-template-rows: repeat(3, auto);
}

body .elementor .b2b-pd-tabs ul.b2b-resource-list:last-child {
    margin-bottom: 0;
}

.b2b-resource-list li {
    position: relative;
    padding-left: calc(40px * var(--pd-tabs-scale));
    margin: 0;
}

.b2b-resource-list li::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: calc(24px * var(--pd-tabs-scale));
    height: calc(24px * var(--pd-tabs-scale));
    background: url('assets/images/product-details/description-check.svg') center/contain no-repeat;
}

.b2b-resource-list li.b2b-resource-long::before {
    width: calc(26.725px * var(--pd-tabs-scale));
    height: calc(26.725px * var(--pd-tabs-scale));
    background-image: url('assets/images/product-details/description-check-large.svg');
}

/* Apply the reference product's check-list design to ordinary product descriptions.
   Keep source text/order intact and leave tabs, reviews, numbered lists and blog posts alone. */
body.single-product #tab-description ul:not(.b2b-resource-list) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: calc(16px * var(--pd-tabs-scale, 1)) 5%;
    list-style: none;
    padding: 0;
    margin: 0 0 var(--b2b-description-list-spacing, 30px);
}

body.single-product #tab-description ul:not(.b2b-resource-list):last-child {
    margin-bottom: 0;
}

body.single-product #tab-description ul:not(.b2b-resource-list)>li {
    position: relative;
    min-width: 0;
    padding: 0 0 0 calc(40px * var(--pd-tabs-scale, 1));
    margin: 0;
    overflow-wrap: break-word;
}

body.single-product #tab-description ul:not(.b2b-resource-list)>li::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: calc(24px * var(--pd-tabs-scale, 1));
    height: calc(24px * var(--pd-tabs-scale, 1));
    background: url('assets/images/product-details/description-check.svg') center/contain no-repeat;
}

body.single-product #tab-description ul:not(.b2b-resource-list)>li>p {
    margin: 0;
}

body.single-product #tab-description ul:not(.b2b-resource-list)>li>p+p {
    margin-top: 8px;
}

body.single-product #tab-description ul:not(.b2b-resource-list)>li:only-child,
body.single-product #tab-description ul:not(.b2b-resource-list)>li:has(ul, ol) {
    grid-column: 1 / -1;
}

body.single-product #tab-description li ul:not(.b2b-resource-list),
body.single-product #tab-description li ul:not(.b2b-resource-list):last-child {
    margin: 12px 0 var(--b2b-description-list-spacing, 30px);
}

@media(max-width:1024px) {
    body.single-product #tab-description {
        --b2b-description-list-spacing: 24px;
    }

    body.single-product #tab-description ul:not(.b2b-resource-list) {
        column-gap: 24px;
    }
}

@media(max-width:767px) {
    body.single-product #tab-description {
        --b2b-description-list-spacing: 20px;
    }

    body.single-product #tab-description ul:not(.b2b-resource-list) {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-bottom: var(--b2b-description-list-spacing, 20px);
    }

    body.single-product #tab-description ul:not(.b2b-resource-list):last-child {
        margin-bottom: 0;
    }
}

.b2b-product-video {
    max-width: 1138px;
    margin: auto;
}

.b2b-product-video :is(iframe, video) {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    border: 0;
    border-radius: 20px;
}

.b2b-video-placeholder-note {
    margin: 0 0 20px;
    font-size: 16px;
}

@media(max-width:1600px) {
    .b2b-pd-tabs-section {
        --pd-tabs-scale: .8;
    }
}

@media(max-width:1200px) {
    .b2b-pd-tabs-section {
        --pd-tabs-scale: .75;
    }
}

@media(max-width:1024px) {
    body .elementor .b2b-pd-tabs ul.b2b-resource-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 24px;
    }
}

@media(max-width:767px) {
    .b2b-pd-tabs-section {
        --pd-tabs-scale: .75;
    }

    body.woocommerce .elementor .b2b-pd-tabs,
    body.woocommerce .elementor .b2b-pd-tabs .elementor-widget-container,
    body.woocommerce .elementor .b2b-pd-tabs .woocommerce-tabs {
        min-width: 0;
        max-width: 100%;
    }

    body.woocommerce .elementor .b2b-pd-tabs .woocommerce-tabs ul.wc-tabs {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 20px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 0 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #537068 #E8E2D7;
    }

    body.woocommerce .elementor .b2b-pd-tabs .woocommerce-tabs ul.wc-tabs::before {
        left: 0;
        transform: none;
        width: 100%;
    }

    body.woocommerce .elementor .elementor-element.b2b-pd-tabs .woocommerce-tabs ul.wc-tabs li {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }

    body.woocommerce .elementor .elementor-element.b2b-pd-tabs .woocommerce-tabs ul.wc-tabs li a {
        padding: 6px 4px 16px;
        white-space: nowrap;
        font-size: 18px;
        line-height: 1.4;
        text-box-trim: none;
    }

    body .elementor .b2b-pd-tabs ul.b2b-resource-list {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
        gap: 12px;
        margin-bottom: var(--b2b-description-list-spacing, 20px);
    }

    .elementor .b2b-pd-tabs h3.b2b-resource-heading {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .elementor .b2b-pd-tabs .b2b-resource-intro {
        margin-bottom: 32px;
    }

    .b2b-product-video :is(iframe, video) {
        border-radius: 12px;
    }
}

@media(max-width:1600px) {
    body .elementor .b2b-pd-section {
        --pd-scale: .8;
    }
}

@media(max-width:1200px) {
    body .elementor .b2b-pd-section {
        --pd-scale: .75;
    }
}

@media(max-width:1024px) {
    body .elementor .b2b-pd-gallery-column {
        max-width: 828px;
        align-self: center;
    }

    body .elementor .b2b-pd-summary {
        width: 100%;
    }
}

@media(max-width:767px) {
    body .elementor .b2b-pd-section {
        --pd-scale: .7;
    }

    body.woocommerce .elementor .b2b-pd-gallery-column .b2b-pd-gallery div.images {
        padding-left: 0;
        padding-bottom: calc((100% - 24px) / 3 + 16px);
    }

    body .elementor .b2b-pd-gallery .woocommerce-product-gallery__image img:not(.zoomImg),
    body .elementor .b2b-pd-gallery .woocommerce-product-gallery__image--placeholder img {
        aspect-ratio: auto;
        height: clamp(270px, 76vw, 380px);
        padding: 64px 16% 24px;
        object-fit: contain;
    }

    body .elementor .b2b-pd-gallery .flex-control-thumbs {
        position: absolute;
        top: auto;
        bottom: 0;
        width: 100%;
        height: auto;
        flex-direction: row;
        gap: 12px;
    }

    body .elementor .b2b-pd-gallery .flex-control-thumbs li {
        width: calc((100% - 24px) / 3) !important;
        height: auto;
        aspect-ratio: 1;
    }

    body .elementor .b2b-pd-gallery button.b2b-pd-gallery-step {
        display: none;
    }

    body .elementor .b2b-pd-category {
        top: 14px;
        left: 14px;
        max-width: calc(100% - 76px);
        font-size: 11px;
        line-height: 16px;
        padding: 7px 10px;
    }

    body .elementor .b2b-pd-favourite-widget {
        top: 12px;
        right: 12px;
    }

    .b2b-pd-breadcrumbs {
        font-size: 14px;
        gap: 4px;
    }

    body .elementor .b2b-pd-purchase {
        flex-wrap: wrap;
        border-radius: 24px;
        gap: 16px;
    }

    body .elementor .b2b-pd-cart {
        max-width: 100%;
    }

    body .elementor .b2b-pd-cart .single_add_to_cart_button {
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* Teacher Talk uses the same AJAX feedback and pagination treatment as Shop. */
body .elementor .b2b-color-main .b2b-color-grid {
    position: relative;
    scroll-margin-top: 160px;
}

body .elementor .b2b-color-grid[aria-busy=true] {
    pointer-events: none;
    min-height: 240px;
}

body .elementor .b2b-color-grid[aria-busy=true]>.elementor-widget-container {
    opacity: .3;
    transition: opacity .15s ease;
}

body .elementor .b2b-color-grid-enter>.elementor-widget-container {
    animation: b2b-shop-appear .25s ease both;
}

.b2b-color-ajax-error {
    color: #575757;
    padding: 16px;
    background: #F5F0E6;
}

@media(max-width:767px) {
    body .elementor .b2b-color-main .b2b-color-grid {
        scroll-margin-top: 110px;
    }
}

@media(prefers-reduced-motion:reduce) {
    body .elementor .b2b-color-grid-enter>.elementor-widget-container {
        animation: none;
    }
}

body .elementor .b2b-talk-results {
    position: relative;
    scroll-margin-top: 160px;
}

body .elementor .b2b-talk-results[aria-busy=true] {
    opacity: 1;
    pointer-events: none;
    min-height: 240px;
}

body .elementor .b2b-talk-results[aria-busy=true] .b2b-talk-grid {
    opacity: .3;
    transition: opacity .15s ease;
}

body .elementor .b2b-talk-results-enter .b2b-talk-grid {
    animation: b2b-shop-appear .25s ease both;
}

body .elementor .b2b-talk-grid nav.elementor-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    margin-top: calc(60px * var(--b2b-product-scale, 1));
}

body .elementor .b2b-talk-grid nav.elementor-pagination .page-numbers {
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    margin: 0 !important;
    border-radius: 50%;
    font: 20px/24px Cleanow, sans-serif;
}

body .elementor .b2b-talk-grid nav.elementor-pagination a.page-numbers:hover {
    background: #FAAE9F;
    color: #000;
}

@media(max-width:767px) {
    body .elementor .b2b-talk-grid nav.elementor-pagination {
        gap: 8px;
    }

    body .elementor .b2b-talk-grid nav.elementor-pagination .page-numbers {
        flex-basis: 44px;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
    }

    body .elementor .b2b-talk-results {
        scroll-margin-top: 110px;
    }
}

@media(prefers-reduced-motion:reduce) {
    body .elementor .b2b-talk-results-enter .b2b-talk-grid {
        animation: none;
    }
}

body .elementor .b2b-shop-main {
    --b2b-product-scale: 1;
    --b2b-shop-scale: 1;
    overflow: clip;
}

body .elementor .b2b-search-results {
    --b2b-product-scale: 1;
    --b2b-shop-scale: 1;
    overflow: clip;
}

body .elementor .b2b-search-grid {
    min-width: 0;
    position: relative;
    scroll-margin-top: 160px;
}

body .elementor .b2b-search-grid[aria-busy=true] {
    pointer-events: none;
    min-height: 240px;
}

body .elementor .b2b-search-grid[aria-busy=true]>.elementor-widget-container {
    opacity: .3;
}

body .elementor .b2b-search-grid.b2b-color-grid-enter {
    animation: b2b-shop-appear .25s ease both;
}

@media(max-width:1600px) {
    body .elementor .b2b-search-results {
        --b2b-product-scale: .8;
        --b2b-shop-scale: .8;
    }
}

@media(max-width:1200px) {
    body .elementor .b2b-search-results {
        --b2b-product-scale: .75;
        --b2b-shop-scale: .75;
    }
}

@media(max-width:1024px) {
    body .elementor .b2b-search-results {
        --b2b-product-scale: .7;
        --b2b-shop-scale: .7;
    }
}

@media(prefers-reduced-motion:reduce) {
    body .elementor .b2b-search-grid.b2b-color-grid-enter {
        animation: none;
    }
}

body .elementor .b2b-shop-results {
    min-width: 0;
    scroll-margin-top: 160px;
}

body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .b2b-product-card {
    height: 100%;
}

/* The shared Home loop has white cards; Shop uses the matching cream silhouette. */
body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .b2b-product-card:not(:hover):not(:focus-within) {
    background-image: url('assets/images/coloring-puzzles/card-cream.svg');
}

body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .b2b-product-card:is(:hover, :focus-within) {
    background-image: url('assets/images/products/card-blue.svg');
}

body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .b2b-product-price span {
    color: inherit;
}

body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .b2b-product-image {
    max-width: 68%;
}

.b2b-shop-filter {
    color: #575757;
    font-size: calc(20px * var(--b2b-shop-scale, 1));
    line-height: 1.6;
}

.b2b-shop-filter details {
    border-bottom: 1px solid #0004;
    padding-bottom: calc(40px * var(--b2b-shop-scale, 1));
    margin-bottom: calc(40px * var(--b2b-shop-scale, 1));
}

.b2b-shop-filter details:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.b2b-shop-filter summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #000;
    font-family: Cleanow, sans-serif;
    font-size: calc(32px * var(--b2b-shop-scale, 1));
    line-height: 1.25;
}

.b2b-shop-filter summary::-webkit-details-marker {
    display: none;
}

.b2b-shop-filter summary::after {
    content: '';
    flex: 0 0 20px;
    height: 20px;
    background: url('assets/images/shop/chevron.svg') center/contain no-repeat;
}

.b2b-shop-filter details[open] summary::after {
    transform: rotate(180deg);
}

.b2b-shop-filter fieldset {
    --b2b-filter-row-gap: calc(24px * var(--b2b-shop-scale, 1));
    border: 0;
    padding: 0;
    margin: calc(36px * var(--b2b-shop-scale, 1)) 0 0;
    display: flex;
    flex-direction: column;
    gap: var(--b2b-filter-row-gap);
}

.b2b-shop-filter fieldset label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.b2b-shop-filter input[type=radio] {
    appearance: none;
    width: calc(25px * var(--b2b-shop-scale, 1));
    height: calc(25px * var(--b2b-shop-scale, 1));
    border: 1px solid #0004;
    border-radius: 50%;
    background: #fff;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.b2b-shop-filter input[type=radio]:checked {
    background: radial-gradient(circle, #000 0 37%, transparent 40%);
}

.b2b-shop-filter input[type=number],
.b2b-shop-filter select {
    display: block;
    width: 100%;
    min-width: 0;
    border: 1px solid #0004;
    border-radius: 4px;
    background-color: #fff;
    color: #575757;
    padding: 8px 11px;
    font: inherit;
    line-height: 1.5;
}

.b2b-shop-filter select {
    margin-top: calc(36px * var(--b2b-shop-scale, 1));
    appearance: none;
    padding-right: 36px;
    background-image: url('assets/images/shop/chevron.svg');
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 24px;
}

.b2b-shop-filter .b2b-shop-price {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: calc(36px * var(--b2b-shop-scale, 1));
}

.b2b-shop-range {
    position: relative;
    height: 16px;
    margin: 0;
}

.b2b-shop-range::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: #e3e5e7;
}

.b2b-shop-range::after {
    content: '';
    position: absolute;
    top: 7px;
    left: var(--range-start, 7.5px);
    right: var(--range-end, 7.5px);
    height: 2px;
    background: #222;
    pointer-events: none;
}

.b2b-shop-range input[type=range] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 20px;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
    border: 0;
    padding: 0;
}

.b2b-shop-range input[type=range] {
    height: 16px;
    z-index: 1;
}

.b2b-shop-range input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 15px;
    border: 0;
    background: transparent;
}

.b2b-shop-range input[type=range]::-moz-range-track {
    width: 100%;
    height: 15px;
    border: 0;
    background: transparent;
}

.b2b-shop-range input[type=range]::-moz-range-progress {
    background: transparent;
}

.b2b-shop-filter input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.b2b-shop-filter input[type=number]::-webkit-inner-spin-button,
.b2b-shop-filter input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.b2b-shop-range input[type=range]::-webkit-slider-thumb {
    appearance: none;
    box-sizing: border-box;
    width: 15px;
    height: 15px;
    border: 2px solid #222;
    border-radius: 50%;
    background: #fff;
    pointer-events: auto;
    cursor: ew-resize;
}

.b2b-shop-range input[type=range]::-moz-range-thumb {
    box-sizing: border-box;
    width: 15px;
    height: 15px;
    border: 2px solid #222;
    border-radius: 50%;
    background: #fff;
    pointer-events: auto;
    cursor: ew-resize;
}

.b2b-shop-filter input[type=number] {
    min-height: 48px;
}

.b2b-shop-filter input[type=number]::placeholder {
    color: #575757;
    opacity: 1;
}

.b2b-shop-filter :is(input, select, summary, a, button):focus-visible {
    outline: 2px solid #537068;
    outline-offset: 4px;
}

.b2b-shop-filter :is(input, select):is(:focus, :focus-visible) {
    outline: none;
    box-shadow: none;
}

.b2b-shop-filter :is(input[type=number], select):focus-visible {
    border-color: #537068;
}

.b2b-shop-range input[type=range]:focus-visible::-webkit-slider-thumb {
    border-color: #537068;
}

.b2b-shop-range input[type=range]:focus-visible::-moz-range-thumb {
    border-color: #537068;
}

.b2b-shop-filter .is-enhanced .b2b-shop-apply {
    display: none;
}

.b2b-shop-reset {
    color: #537068;
    text-decoration: underline;
}

.b2b-shop-filter [hidden] {
    display: none !important;
}

.b2b-shop-results {
    position: relative;
}

.b2b-shop-status.is-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-top: 16px;
    border-radius: 12px;
    background: #fff0c9;
    color: #183858;
    font: 600 14px/1.5 Inter, sans-serif;
}

.b2b-shop-status.is-loading::before {
    content: '';
    flex: 0 0 18px;
    height: 18px;
    border: 2px solid #18385833;
    border-top-color: #183858;
    border-radius: 50%;
    animation: b2b-shop-spin .7s linear infinite;
}

.b2b-shop-results[aria-busy=true] {
    pointer-events: none;
    min-height: 240px;
}

.b2b-shop-results[aria-busy=true]>.b2b-shop-grid {
    opacity: .3;
    transition: opacity .15s ease;
}

.b2b-shop-loading {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 120px;
    background: rgba(255, 255, 255, .35);
    color: #537068;
    font: 16px/24px Inter, sans-serif;
}

.b2b-shop-spinner {
    display: block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 3px solid #e3e5e7;
    border-top-color: #537068;
    border-radius: 50%;
    animation: b2b-shop-spin .7s linear infinite;
}

.b2b-shop-results-enter>.b2b-shop-grid {
    animation: b2b-shop-appear .25s ease both;
}

@keyframes b2b-shop-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes b2b-shop-appear {
    from {
        opacity: .3;
    }

    to {
        opacity: 1;
    }
}

@media(prefers-reduced-motion:reduce) {

    .b2b-shop-spinner,
    .b2b-shop-status.is-loading::before,
    .b2b-shop-results-enter>.b2b-shop-grid {
        animation: none;
    }
}

.b2b-shop-empty {
    text-align: center;
    padding: 50px 20px;
}

body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .elementor-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    margin-top: calc(60px * var(--b2b-shop-scale, 1));
}

body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .elementor-pagination .page-numbers {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 !important;
    padding: 0;
    background: #F5F0E6;
    color: #000;
    font: 20px/24px Cleanow, sans-serif;
}

body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .elementor-pagination .current {
    background: #000;
    color: #fff;
}

body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .elementor-pagination :is(.prev, .next) {
    background: #FFDD94;
}

body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .elementor-pagination a:hover {
    background: #FAAE9F;
}

body .elementor .b2b-shop-signup::before {
    content: '';
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: calc(100% - 1px);
    width: 100%;
    height: auto;
    aspect-ratio: 1922/172;
    opacity: 1;
    background: url('assets/images/shop/signup-top.svg') center bottom/100% auto no-repeat;
    pointer-events: none;
}

body .elementor .b2b-shop-signup::before {
    transform-origin: center bottom;
    --b2b-scallop-scale: .94;
    animation: b2b-scallop-image-bounce 4.5s ease-in-out infinite;
}

@media(max-width:1200px) {
    body .elementor .b2b-shop-signup::before {
        --b2b-scallop-scale: .96;
    }
}

@media(max-width:767px) {
    body .elementor .b2b-shop-signup::before {
        animation: b2b-scallop-image-mobile 5.5s ease-in-out infinite;
        will-change: transform;
    }
}

@media(prefers-reduced-motion:reduce) {
    body .elementor .b2b-shop-signup::before {
        animation: none;
        will-change: auto;
    }
}

@media(max-width:1600px) {
    body .elementor .b2b-shop-main {
        --b2b-product-scale: .8;
        --b2b-shop-scale: .8;
    }
}

@media(max-width:1200px) {
    body .elementor .b2b-shop-main {
        --b2b-product-scale: .75;
        --b2b-shop-scale: .75;
    }
}

@media(max-width:1024px) {
    body .elementor .b2b-shop-main {
        --b2b-product-scale: .7;
        --b2b-shop-scale: .7;
    }
}

@media(max-width:767px) {
    .b2b-shop-filter {
        font-size: 16px;
    }

    .b2b-shop-filter fieldset {
        --b2b-filter-row-gap: 12px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--b2b-filter-row-gap);
    }

    .b2b-shop-filter summary {
        font-size: 24px;
    }

    .b2b-shop-filter details {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    body .elementor .b2b-shop-results {
        scroll-margin-top: 110px;
    }

    body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .elementor-pagination {
        gap: 8px;
    }

    body .elementor :is(.b2b-shop-grid, .b2b-search-grid) .elementor-pagination .page-numbers {
        flex-basis: 44px;
        width: 44px;
        min-width: 44px;
        height: 44px;
    }
}

/* Single Product sections 3–4: native Video and Related Products carousel. */
body .elementor .b2b-pd-video-section {
    --kit-widget-spacing: 0px;
}

body .elementor .b2b-pd-video-player {
    max-width: 100%;
}

body .elementor .b2b-pd-video-player .elementor-wrapper {
    -webkit-mask: url('assets/images/product-details/video-mask.svg') center/100% 100% no-repeat;
    mask: url('assets/images/product-details/video-mask.svg') center/100% 100% no-repeat;
}

body .elementor .b2b-pd-video-player .elementor-custom-embed-image-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 20%);
    pointer-events: none;
}

body .elementor .b2b-pd-video-player .elementor-custom-embed-play {
    z-index: 1;
    line-height: 0;
}

body .elementor .b2b-pd-video-player .elementor-custom-embed-play svg {
    opacity: 1;
    filter: none;
}

body .elementor .b2b-pd-video-edge {
    min-height: 0;
}

body .elementor .b2b-pd-video-edge .elementor-widget-image {
    width: 100%;
    line-height: 0;
}

body .elementor .b2b-pd-video-edge img {
    display: block;
    width: 100%;
    height: auto;
    transform: rotate(180deg);
}

body .elementor .b2b-pd-related::after {
    content: none;
}

/* The copied Shop signup scallop sits above its section, so reserve its height. */
body .elementor .b2b-pd-related:has(+ .b2b-shop-signup) {
    --b2b-related-bottom-space: 100px;
    --padding-bottom: calc(var(--b2b-related-bottom-space) + 100vw * 172 / 1922);
}

@media(max-width:1600px) {
    body .elementor .b2b-pd-related:has(+ .b2b-shop-signup) {
        --b2b-related-bottom-space: 80px;
    }
}

@media(max-width:1200px) {
    body .elementor .b2b-pd-related:has(+ .b2b-shop-signup) {
        --b2b-related-bottom-space: 70px;
    }
}

@media(max-width:1024px) {
    body .elementor .b2b-pd-related:has(+ .b2b-shop-signup) {
        --b2b-related-bottom-space: 60px;
    }
}

@media(max-width:767px) {
    body .elementor .b2b-pd-related:has(+ .b2b-shop-signup) {
        --b2b-related-bottom-space: 48px;
    }
}

body .elementor .b2b-pd-related .b2b-product-card:not(:hover):not(:focus-within) {
    background-image: url('assets/images/product-details/related-card.svg');
}

body .elementor .b2b-pd-related .b2b-product-card:is(:hover, :focus-within) {
    background-image: url('assets/images/products/card-blue.svg');
}

@media (max-width:767px) {
    body .elementor .b2b-pd-video-player .elementor-custom-embed-play {
        width: 52px;
    }
}

.b2b-purchased-downloads {
    margin-top: 40px;
    padding: 28px;
    border: 1px solid #e7dfd2;
    border-radius: 24px;
    background: #F5F0E6;
}

.b2b-purchased-downloads ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.b2b-purchased-downloads li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    text-align: left;
}

.b2b-purchased-downloads li+li {
    border-top: 1px solid #e7dfd2;
}

.b2b-purchased-downloads li div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.b2b-purchased-downloads li span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
}

.b2b-purchased-downloads .b2b-order-button {
    flex-shrink: 0;
}

.b2b-purchased-downloads .b2b-digital-product-notice {
    margin: 20px auto 0;
    max-width: 900px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

@media(max-width:767px) {
    .b2b-purchased-downloads {
        padding: 20px;
        margin-top: 28px;
    }

    .b2b-purchased-downloads li {
        flex-direction: column;
        align-items: stretch;
    }

    .b2b-purchased-downloads li a {
        text-align: center;
    }
}

/* Keep long product-category badges readable without changing the thumbnail rail. */
body .elementor .b2b-pd-category {
    right: calc(96px * var(--pd-scale)) !important;
    width: fit-content !important;
    max-width: calc(100% - 25.845% - 120px * var(--pd-scale)) !important;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
}

body .elementor .b2b-pd-category .posted_in,
body .elementor .b2b-pd-category a {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* If multiple categories wrap, use only the main artwork's existing image area
   to create clearance; the slide/frame height and thumbnail spacing stay fixed. */
body .elementor .b2b-pd-gallery-column:has(.b2b-pd-category .posted_in a:nth-of-type(2)) .b2b-pd-gallery .woocommerce-product-gallery__image img:not(.zoomImg),
body .elementor .b2b-pd-gallery-column:has(.b2b-pd-category .posted_in a:nth-of-type(2)) .b2b-pd-gallery .woocommerce-product-gallery__image--placeholder img {
    padding-top: calc(20.52% + clamp(24px, 3vw, 36px));
}

body .elementor .b2b-pd-gallery-column:not(:has(.woocommerce-product-gallery__wrapper > :nth-child(2))) .b2b-pd-category {
    max-width: calc(var(--b2b-single-gallery-width) - 120px * var(--pd-scale)) !important;
}
