body.home .main-page-wrapper:has(.pe-home-content) {
    padding-top: 0;
    background: #fffafa;
}
body.home .wd-content-layout:has(.pe-home-content) {
    max-width: none;
    padding-inline: 0;
}
.pe-home-content {
    --pe-ink: #0e1922;
    --pe-yellow: #ffdb64;
    --pe-paper: #fffafa;
    color: var(--pe-ink);
    background: var(--pe-paper);
}
.pe-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: min(42vw, 640px);
    max-height: 80svh;
    overflow: hidden;
    isolation: isolate;
    background: #ffdb64;
}
.pe-hero picture,
.pe-hero picture img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pe-hero .pe-hero-card {
    position: relative;
    z-index: 1;
    width: min(370px, 45vw);
    margin: clamp(18px, 4vw, 65px);
    padding: clamp(24px, 3vw, 42px);
    background: var(--pe-paper);
    color: var(--pe-ink);
}
.pe-hero-card p { margin-block: 0 12px; }
.pe-hero-card h1 {
    margin-block: 0 12px;
    font-size: clamp(26px, 3vw, 45px);
    line-height: 1.04;
    text-transform: uppercase;
}
.pe-home-content a.pe-button {
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    align-items: center;
    padding: 9px 24px;
    background: var(--pe-yellow);
    font-weight: 700;
    color: var(--pe-ink);
    text-decoration: none;
}
.pe-home-content a.pe-button:hover,
.pe-home-content a.pe-button:focus-visible {
    color: var(--pe-ink);
    background: #f7ca42;
}
.pe-home-content :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.pe-best-sellers {
    padding: clamp(28px, 4vw, 68px) max(18px, 3vw);
    text-align: center;
}
.pe-best-sellers h2 { text-transform: uppercase; }
body.pe-woo-storefront {
    --pe-ink: #0e1922;
    --pe-yellow: #ffdb64;
}
.pe-woo-storefront .main-page-wrapper .wd-entities-title a,
.pe-woo-storefront .main-page-wrapper h1,
.pe-woo-storefront .main-page-wrapper .woocommerce-loop-product__title { color: var(--pe-ink); }
.pe-woo-storefront .main-page-wrapper .product-grid-item .product-image-link img,
.pe-woo-storefront .main-page-wrapper .woocommerce-product-gallery__image img {
    object-fit: contain;
    border-radius: 2px;
}
.pe-woo-storefront .main-page-wrapper .single_add_to_cart_button,
.pe-woo-storefront .main-page-wrapper .wd-add-btn > a:not(.added_to_cart) {
    background: var(--pe-yellow);
    color: var(--pe-ink);
}
.pe-woo-storefront .main-page-wrapper .single_add_to_cart_button:focus-visible,
.pe-woo-storefront .main-page-wrapper .wd-add-btn > a:focus-visible {
    outline: 2px solid var(--pe-ink);
    outline-offset: 2px;
}
@media (max-width: 767px) {
    .pe-hero {
        align-items: end;
        min-height: min(620px, 74svh);
    }
    .pe-hero .pe-hero-card {
        margin: 0 18px 18px;
        width: auto;
        padding: clamp(14px, 4vw, 23px);
    }
    .pe-hero-card h1 { font-size: clamp(24px, 7.25vw, 36px); }
    .pe-hero-card p { margin-block-end: 9px; }
}
.pe-home-content .pe-scrollport {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    height: auto !important;
    touch-action: pan-x pan-y;
}
.pe-home-content .pe-scrollport::-webkit-scrollbar { display: none; }
.pe-home-content .pe-scroll-track {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    left: 0 !important;
}
.pe-home-content .pe-scroll-track > .carousel__item {
    flex: 0 0 100%;
    position: relative !important;
    left: auto !important;
    opacity: 1;
    visibility: visible;
    scroll-snap-align: start;
}
.pe-home-content .ugc-carousel .pe-scroll-track > .carousel__item {
    flex-basis: 33.333%;
}
.pe-home-content .mfr-core__hero-banner .pe-scroll-track > .carousel__item {
    min-height: min(42vw, 640px);
    max-height: 80svh;
}
.pe-home-content .pe-video-poster { display: block; width: 100%; height: auto; }
.pe-home-content .pe-tooltip-open .tooltip-item__text { opacity: 1; visibility: visible; }
.pe-home-content [id^="pe-"] { scroll-margin-top: 120px; }
@media (max-width: 767px) {
    .pe-home-content .mfr-core__hero-banner .pe-scroll-track > .carousel__item { min-height: min(620px, 74svh); }
    .pe-home-content .ugc-carousel .pe-scroll-track > .carousel__item { flex-basis: 78%; }
}
.pe-home-content .pe-hero-carousel { position: relative; }
.pe-home-content .pe-hero .pe-hero-card h2 {
    margin-block: 0 12px;
    color: var(--pe-ink);
    font-size: clamp(26px, 3vw, 45px);
    line-height: 1.04;
    text-transform: uppercase;
}
.pe-hero-card .pe-hero-kicker {
    font-size: 1.2em;
    font-style: italic;
    font-weight: 600;
}
.pe-home-content .pe-hero-carousel .pe-arrow {
    position: absolute;
    z-index: 2;
    inset-block-start: 46%;
    width: 44px;
    height: 44px;
    border-radius: 100%;
    border: 1px solid currentColor;
    background: var(--pe-paper);
    color: var(--pe-ink);
    font-size: 31px;
    line-height: 1;
}
.pe-home-content .pe-hero-carousel .pe-arrow.previous { left: 12px; }
.pe-home-content .pe-hero-carousel .pe-arrow.next { right: 12px; }
@media (max-width: 767px) {
    .pe-hero picture img { object-position: center top; }
    .pe-home-content .pe-hero-carousel .pe-arrow { inset-block-start: 36%; }
    .pe-home-content .pe-hero .pe-hero-card h2 { font-size: clamp(24px, 7.25vw, 36px); }
}
.pe-best-sellers .wd-carousel-item:nth-child(5n+1) { --pe-card-color: #f4d2e6; }
.pe-best-sellers .wd-carousel-item:nth-child(5n+2) { --pe-card-color: #cceee5; }
.pe-best-sellers .wd-carousel-item:nth-child(5n+3) { --pe-card-color: #f6dcc6; }
.pe-best-sellers .wd-carousel-item:nth-child(5n+4) { --pe-card-color: #f5cbb5; }
.pe-best-sellers .wd-carousel-item:nth-child(5n+5) { --pe-card-color: #d7eafb; }
.pe-best-sellers .wd-carousel-item .product-wrapper {
    background: var(--pe-card-color, #fffafa);
    padding: 12px 8px;
}
.pe-home-content { overflow-x: clip; }
.pe-home-content .pe-hero-card { font-family: Monarcha, Georgia, serif; }
.pe-home-content .pe-hero-card h1,
.pe-home-content .pe-hero-card h2,
.pe-home-content .pe-best-sellers h2,
.pe-home-content a.pe-button { font-family: "Purely Sans", "Arial Narrow", sans-serif; }
.pe-home-content .pe-hero-card .pe-hero-kicker {
    font-family: "Oranges and Lemons", cursive;
    font-style: normal;
    font-weight: 400;
}
.pe-home-content a.pe-button { text-transform: uppercase; }
.pe-home-content .central-image .mfr-responsive-image,
.pe-home-content .central-image .mfr-responsive-image img { opacity: 1 !important; visibility: visible !important; }
.pe-home-content .pe-video-controls .mfr-components__video-control-button,
.pe-home-content .pe-video-controls .speaker-button { display: none; }
@media (max-width: 767px) {
    .pe-home-content .blog-carousel {
        display: flex;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    .pe-home-content .blog-carousel .blog-carousel__item {
        flex: 0 0 min(78%, 300px);
        min-width: 0;
        width: min(78%, 300px);
        scroll-snap-align: start;
    }
    .pe-home-content .blog-carousel .blog-card__image { width: 100%; }
    .pe-home-content .reviews-carousel__reviewer { overflow-x: auto; }
}
body.home .wd-content-layout:has(.pe-home-content) { margin-top: 0; }
.pe-best-sellers .product-image-link img {
    width: 100%;
    height: clamp(150px, 21vw, 300px);
    object-fit: contain;
}
.pe-best-sellers .product-title,
.pe-best-sellers .wd-entities-title { font-family: "Purely Sans", "Arial Narrow", sans-serif; }
.pe-best-sellers .price del { color: #56312a; opacity: 1; }
.pe-fix-module {
    padding: clamp(28px, 6vw, 92px) max(20px, 6vw);
    font-family: Monarcha, Georgia, serif;
}
.pe-fix-module h2, .pe-fix-module h3, .pe-fix-module h4,
.pe-fix-module .pe-categories li span {
    font-family: "Purely Sans", "Arial Narrow", sans-serif;
    color: #0e1922;
    text-transform: uppercase;
}
.pe-fix-module h2 { font-size: clamp(26px,3.4vw,40px); text-align: center; }
.pe-fix-module h3 { font-size: clamp(24px,3.3vw,42px); line-height: 1.12; }
.pe-fix-module .pe-script {
    font-family: "Oranges and Lemons", cursive;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.12;
}
.pe-categories { display: grid; gap: clamp(22px, 5vw, 76px); grid-template-columns: minmax(190px,1fr) minmax(420px,2fr); align-items: center; }
.pe-categories ul, .pe-ingredient-grid ul { list-style: none; padding: 0; margin: 0; }
.pe-categories li a { min-height: 94px; display: flex; align-items: center; gap: 14px; justify-content: space-between; text-decoration: none; }
.pe-categories li img { width: 104px; height: 88px; object-fit: contain; }
.pe-bundle {
    display: grid;
    grid-template-columns: minmax(190px,1fr) minmax(190px,1.2fr);
    align-items: center;
    gap: 12px;
    padding: clamp(25px, 4vw, 54px);
    border-radius: 3px;
    background: var(--pe-yellow);
    overflow: hidden;
}
.pe-bundle h2 { text-align: left; }
.pe-bundle .pe-button { background: #fff; }
.pe-bundle-pictures { display: flex; min-width: 0; align-items: center; }
.pe-bundle-pictures img { width: 56%; object-fit: contain; transform: rotate(-9deg); }
.pe-bundle-pictures img + img { margin-left: -10%; transform: rotate(9deg) translateY(12%); }
.pe-fix-module:has(.pe-ingredient-grid) > .pe-script { text-align: center; margin-bottom: 6px; }
.pe-ingredient-grid {
    display: grid;
    grid-template-columns: minmax(0,1.45fr) minmax(0,1fr);
    max-width: 1000px;
    margin-inline: auto;
    gap: 22px;
    align-items: center;
}
.pe-ingredient-grid img { width: 100%; height: auto; }
.pe-ingredient-grid ul { display: grid; gap: 11px; }
.pe-ingredient-grid li { border-bottom: 1px solid #ecdadd; padding: 0 0 8px; }
.pe-fix-module:has(.pe-editorial-feature) { background: #fff2f3; }
.pe-editorial-feature h3 { font-size: clamp(22px, 2.5vw, 32px); }
.pe-editorial-feature { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: clamp(24px,4vw,58px); }
.pe-editorial-feature > div > .pe-button { margin-top: 18px; }
.pe-story-slide { min-height: 100%; }
.pe-story-slide img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pe-story-slide h3 { margin: 14px 5px; }
.pe-podcast { background: var(--pe-paper); padding: 24px; }
.pe-podcast-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 14px; }
.pe-podcast-heading img { border-radius: 50%; width: min(30%,90px); }
.pe-podcast-heading mark { background: var(--pe-yellow); padding-inline: 4px; }
.pe-podcast article { display: grid; grid-template-columns: 60px 1fr; gap: 12px; border-top: 1px solid #ecdadd; padding: 12px 0; }
.pe-podcast article img { width: 60px; height: 65px; object-fit: cover; }
.pe-podcast article h4, .pe-podcast article p { margin-bottom: 4px; }
@media(max-width: 767px) {
    .pe-categories, .pe-editorial-feature, .pe-ingredient-grid { grid-template-columns: minmax(0,1fr); }
    .pe-bundle { grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding: 20px; }
    .pe-bundle .pe-button { padding-inline: 10px; }
    .pe-bundle-pictures img { width: 60%; }
    .pe-categories li a { min-height: 72px; }
    .pe-categories li img { width: 74px; height: 65px; }
    .pe-story-carousel .pe-arrow { inset-block-start: 42%; }
}
@media(max-width: 767px) {
    .pe-home-content .reviews-carousel__reviewer {
        overflow: visible;
        list-style: none;
        padding-inline: 12px;
    }
    .pe-home-content .reviews-carousel__reviewer .flickity-viewport {
        height: auto !important;
        overflow: visible;
    }
    .pe-home-content .reviews-carousel__reviewer .flickity-slider {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
        gap: 8px;
        position: relative;
        width: 100%;
        height: auto;
        transform: none !important;
        left: auto !important;
    }
    .pe-home-content .reviews-carousel__reviewer .reviews-carousel__reviewer-wrapper {
        min-width: 0;
        position: relative;
        left: auto !important;
        width: 100% !important;
    }
    .pe-home-content .reviews-carousel__reviewer .reviews-carousel__reviewer-btn,
    .pe-home-content .reviews-carousel__reviewer .reviews-carousel__reviewer-image {
        width: 100%;
        max-width: 100%;
    }
    .pe-home-content .reviews-carousel__reviewer .reviews-carousel__reviewer-btn { min-width: 0; }
    .pe-home-content .reviews-carousel__reviewer .reviews-carousel__reviewer-image > img {
        width: 100%;
        height: 30px;
        object-fit: contain;
    }
}

.pe-home-content .pe-best-sellers {
    padding-block-start: clamp(22px, 3vw, 38px);
}
.pe-best-sellers .wd-entities-title,
.pe-best-sellers .wd-entities-title a {
    display: block;
    height: auto !important;
    max-height: none !important;
    overflow: visible;
    overflow-wrap: anywhere;
    white-space: normal;
    -webkit-line-clamp: unset;
}
.pe-best-sellers .wd-entities-title {
    min-height: 2.8em;
    line-height: 1.4;
}
@media (max-width: 767px) {
    .pe-best-sellers .wd-entities-title { min-height: 4.2em; }
}

/* The reviews theme styles leave extra offsets on the imported quote track. */
.pe-home-content .reviews-carousel__review .pe-scrollport {
    scroll-snap-type: none;
}
.pe-home-content .reviews-carousel__review .pe-scroll-track > .reviews-carousel__review-text {
    flex: 0 0 100%;
    margin-inline: 0;
    transform: none !important;
}
