/* Wax homepage. Shared spacing applies to every content section. */
.home-page{--wh-space:40px;--wh-heading-gap:28px;--wh-grid-gap:24px}
.home-page>:is(.wh-section,.reviews-section,.newsletter-section,.thank-section){padding-block:var(--wh-space);margin-block:0;color:var(--main-text-color)}
.home-page .wh-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:var(--wh-heading-gap)}
.home-page .wh-heading h2{margin:0;color:var(--second-color);font-size:clamp(28px,3vw,42px);font-weight:600;line-height:1.16;letter-spacing:-.03em}
.home-page .wh-heading p{max-width:520px;margin:12px 0 0;color:#667268;font-size:16px;line-height:1.6}
.home-page .wh-text-link{display:inline-flex;align-items:center;color:var(--second-color);text-decoration:underline;text-underline-offset:5px;font-size:14px;font-weight:600;white-space:nowrap}
.home-page .wh-empty{padding:20px 0;margin:0;color:#667268}
.home-page :is(button,a,input):focus-visible{outline:2px solid #315c50;outline-offset:4px}

/* Campaign copy stays readable; photographs retain the actual catalogue products. */
.wax-site .home-page .wh-hero-banners{background:#f2f0e9}
.wax-site .home-page .wh-hero-banners #homeHeroSlider{max-width:1800px;margin-inline:auto}
.wax-site .home-page .wh-hero-banners .carousel-item{display:none;min-height:0;height:auto;padding:0}
.wax-site .home-page .wh-hero-banners .carousel-item:is(.active,.carousel-item-next,.carousel-item-prev){display:block}
.wax-site .home-page .wh-hero-banners .carousel-item::after{display:none}
.wax-site .home-page .wh-hero-banners .wh-hero-link{display:grid;grid-template-columns:46% 54%;min-height:360px;aspect-ratio:3/1;color:#294e41;background:#f2f0e9;text-decoration:none;overflow:hidden}
.wax-site .home-page .wh-hero-banners .wh-hero-copy{position:relative;z-index:1;align-self:center;padding:32px 26px 40px clamp(65px,6.5vw,120px);min-width:0}
.wax-site .home-page .wh-hero-banners .wh-hero-copy h2{margin:0;font-size:clamp(30px,3.25vw,58px);font-weight:600;line-height:1.14;letter-spacing:-.04em;color:inherit;text-transform:none}
.wax-site .home-page .wh-hero-banners .wh-hero-copy p{max-width:450px;margin:20px 0 25px;font-size:clamp(13px,1.1vw,17px);line-height:1.75;color:inherit;opacity:.8}
.wax-site .home-page .wh-hero-banners .wh-hero-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:13px 23px;border-radius:4px;background:#315c50;color:#fff;font-size:13px;font-weight:700;line-height:1.5}
.wax-site .home-page .wh-hero-banners .wh-hero-link:is(:hover,:focus-visible) .wh-hero-button{background:#254a3e;color:#fff}
.wax-site .home-page .wh-hero-banners .wh-hero-visual{min-width:0;min-height:0;overflow:hidden}
.wax-site .home-page .wh-hero-banners .wh-hero-banner{display:block;width:100%;height:100%;object-fit:cover}
.wax-site .home-page .wh-hero-banners .wh-hero-tone--sand{background:#eee6d8}
.wax-site .home-page .wh-hero-banners .wh-hero-tone--sage{background:#e8eee3}
.wax-site .home-page .wh-hero-banners .wh-hero-tone--peach{background:#e4c4b8}
.wax-site .home-page .wh-hero-banners .wh-hero-tone--forest{background:#213b30;color:#fff}
.wax-site .home-page .wh-hero-banners .wh-hero-tone--forest .wh-hero-button{background:#f1eee2;color:#294e41}
.wax-site .home-page .wh-hero-banners .carousel-indicators{position:absolute;inset:auto 0 13px;justify-content:center;gap:8px;margin:0;padding:0}
.wax-site .home-page .wh-hero-banners .carousel-indicators [data-bs-target]{background:#315c50;box-shadow:0 0 0 1px rgb(255 255 255 / .8)}
.wax-site .home-page .wh-hero-banners .carousel-control-prev,.wax-site .home-page .wh-hero-banners .carousel-control-next{display:flex;top:50%;transform:translateY(-50%);bottom:auto;width:40px;height:40px;margin:0;border-radius:50%;background:rgb(255 255 255 / .9);color:#315c50;opacity:1}
.wax-site .home-page .wh-hero-banners .carousel-control-prev{left:12px}
.wax-site .home-page .wh-hero-banners .carousel-control-next{right:12px}
@media(max-width:767.98px){
    .wax-site .home-page .wh-hero-banners .wh-hero-link{grid-template-columns:1fr;grid-template-rows:auto auto;aspect-ratio:auto;min-height:0}
    .wax-site .home-page .wh-hero-banners .wh-hero-copy{padding:30px 25px 25px;min-height:280px;align-self:stretch;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
    .wax-site .home-page .wh-hero-banners .wh-hero-copy h2{font-size:clamp(28px,7.5vw,38px)}
    .wax-site .home-page .wh-hero-banners .wh-hero-copy p{font-size:13px;line-height:1.65;margin:15px 0 19px;max-width:520px}
    .wax-site .home-page .wh-hero-banners .wh-hero-button{min-height:43px;padding:11px 18px;font-size:12px}
    .wax-site .home-page .wh-hero-banners .wh-hero-visual{aspect-ratio:3/2}
    .wax-site .home-page .wh-hero-banners .carousel-control-prev,.wax-site .home-page .wh-hero-banners .carousel-control-next{top:auto;bottom:calc(33.333vw - 16px);transform:none;width:32px;height:32px}
    .wax-site .home-page .wh-hero-banners .carousel-control-prev{left:10px}
    .wax-site .home-page .wh-hero-banners .carousel-control-next{right:10px}
    .wax-site .home-page .wh-hero-banners .carousel-indicators{bottom:12px;gap:6px}
}

/* Media are a quiet row of original logos; swipe naturally on smaller screens. */
.home-page .wh-press-strip{padding:28px 0 0;background:#fff; padding-bottom: 50px;}
.home-page .wh-press-inner{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:32px}
.home-page .wh-press-inner>span{font-size:16px;font-weight:500;color:#667268;line-height:1.4}
.home-page .wh-press-slider{min-width:0;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
.home-page .wh-press-slider::-webkit-scrollbar{display:none}
.home-page .wh-press-track{display:flex;align-items:center;justify-content:space-between;gap:32px;min-width:100%;width:max-content}
.home-page .wh-press-track .item{display:flex;align-items:center;justify-content:center;flex:0 0 120px;height:44px;scroll-snap-align:start}
.home-page .wh-press-track img{display:block;width:auto;height:auto;max-width:96px;max-height:24px;object-fit:contain;filter:grayscale(1);opacity:.6}
.home-page .wh-press-track a:hover{opacity:.65}

/* Existing product cards, with continuous loops and no reserved empty feedback row. */
.home-page .wh-tabs{display:flex;justify-content:flex-start;flex-wrap:nowrap;gap:32px;list-style:none;margin:0;padding:0}
.home-page .wh-tabs .nav-link{padding:0 0 12px;border:0;border-bottom:2px solid transparent;border-radius:0;color:#7d857c;background:none;font-family:inherit;font-size:clamp(24px,2.5vw,38px);font-weight:600;line-height:1.2;letter-spacing:-.03em;text-transform:none;opacity:1;white-space:nowrap}
.home-page .wh-tabs .nav-link.active{color:var(--second-color);border-color:var(--second-color)}
.home-page .wh-products .wh-tabs{margin:0 0 var(--wh-heading-gap)}
.home-page .wh-products [data-product-loop]{padding:0 0 4px;touch-action:pan-y}
.home-page .wh-products .highlight-track{gap:0;padding:4px 0 0;overflow:visible;scroll-snap-type:none;scroll-behavior:auto}
.home-page .wh-products .highlight-track .product-main-item{flex:0 0 calc((100% - 72px)/4);width:calc((100% - 72px)/4);padding:0;min-width:0;scroll-snap-align:none;grid-template-rows:auto 60px 40px 46px auto auto}
.wax-site .home-page .product-main-item .wax-card-status[hidden]{display:none!important}
.home-page .wh-products .highlight-scroll-btn{top:calc(50% - 35px)}
.home-page .wh-products .highlight-scroll-btn.prev{left:8px}
.home-page .wh-products .highlight-scroll-btn.next{right:8px}
.home-page .wh-products .highlight-scroll-btn.swiper-button-lock{display:none}

.home-page .wh-category-mosaic{display:grid;gap:var(--wh-grid-gap)}
.home-page .wh-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:clamp(150px,17vw,320px);gap:16px}
.home-page .wh-category-grid--1{grid-template-columns:1fr}
.home-page .wh-category-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-page :is(.wh-category-grid--4,.wh-category-grid--5) .wh-category-card:first-child{grid-row:span 2}
.home-page .wh-category-grid--4 .wh-category-card:last-child{grid-column:span 2}
.home-page .wh-category-card{position:relative;display:flex;align-items:end;overflow:hidden;border-radius:6px;text-decoration:none;min-width:0;color:#fff;background:#315c50;isolation:isolate}
.home-page .wh-category-card::after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.75));z-index:-1;pointer-events:none}
.home-page .wh-category-photo{position:absolute;inset:0;z-index:-2}
.home-page .wh-category-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.home-page .wh-category-card:hover img{transform:scale(1.035)}
.home-page .wh-category-card h3{margin:0;padding:20px 22px;font-size:clamp(18px,1.55vw,26px);font-weight:600;line-height:1.3;color:#fff;overflow-wrap:anywhere;text-shadow:0 1px 5px rgba(0,0,0,.3)}
.home-page .wh-category-card--rosie{background:#f0efe9}
.home-page .wh-category-card--rosie .wh-category-photo img{object-fit:contain}
@media(max-width:575.98px){.home-page .wh-category-card--rosie .wh-category-photo img{object-position:center top}}

.home-page .reviews-section>.container>.title{margin:0 auto var(--wh-heading-gap);font-size:clamp(28px,3vw,42px);font-weight:600;line-height:1.16}
.home-page .reviews-section>.container>.text-center{margin-top:24px!important}
.home-page .wh-stories{background:#f1f3e7}
.home-page .wh-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home-page .wh-story{color:var(--main-text-color);text-decoration:none;min-width:0;background:#fff;border-radius:4px;overflow:hidden;height:auto}
.home-page .wh-story>img{display:block;width:100%;height:200px;object-fit:cover}
.home-page .wh-story>div{padding:20px}
.home-page .wh-story h3{font-size:22px;font-weight:600;margin:0 0 12px;line-height:1.3}
.home-page .wh-story p{font-size:14px;line-height:1.6;margin:0;color:#667268}
.home-page .wh-story:hover h3{color:var(--second-color)}

/* Original Včelobal arches and their cream wave into the partner strip. */
.home-page>.wh-offers{position:relative;padding-bottom:0;background:#fff url('/themes/wax/images/theme/hory1.png') left 250px/100% auto no-repeat}
.home-page .wh-offers-wave{position:absolute;bottom:-1px;left:0;z-index:5;display:block;width:100%;height:auto;pointer-events:none}
.wax-site .home-page .container.wh-offers-inner{max-width:1200px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:0;align-items:start}
.home-page .wh-offers h2{margin:40px 24px 0 0;font-size:45px;font-weight:600;line-height:1.2;color:#1a1818;max-width:300px}
.home-page .wh-offer-arches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;isolation:isolate}
.home-page .wh-offer-arch{position:relative;min-width:0;display:flex;align-items:start;justify-content:center;padding:110px 30px 55px;border-radius:999px 999px 0 0}
.home-page .wh-offer-custom{width:110%;min-height:550px;background:#f2ecd7;z-index:3}
.home-page .wh-offer-workshop{width:110%;min-height:805px;background:#b9e7c0;z-index:2}
.home-page .wh-offer-b2b{min-height:650px;padding-block:90px;background:#e4fbe7;align-items:center;z-index:1}
.home-page .wh-offer-content{display:flex;flex-direction:column;align-items:center;gap:26px;width:100%;position:relative}
.home-page .wh-offer-content img{display:block;width:187px;max-width:100%;height:auto;object-fit:contain}
.home-page .wh-offer-link{display:inline-flex;align-items:center;justify-content:center;min-height:56px;max-width:100%;padding:16px 32px;border-radius:40px;background:#3a675e;color:#fff;text-decoration:none;text-align:center;font-size:16px;font-weight:600;line-height:1.35}
.home-page .wh-offer-link:hover{background:#2b5149;color:#fff}

.home-page .wh-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--wh-grid-gap)}
.home-page .wh-article a{display:block;color:var(--main-text-color);text-decoration:none}
.home-page .wh-article img{display:block;width:100%;height:auto;aspect-ratio:1.52;object-fit:cover;border-radius:4px}
.home-page .wh-article-category{display:block;margin:16px 0 8px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#667268}
.home-page .wh-article h3{font-size:23px;font-weight:600;line-height:1.35;margin:0}

/* The shared stockist map styles live in stores.css. */

.home-page .wh-gallery-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.home-page .wh-gallery-photo{display:block;overflow:hidden;border-radius:4px;background:#eef0e5}
.home-page .wh-gallery-photo img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;transition:transform .5s}
.home-page .wh-gallery-photo:hover img{transform:scale(1.05)}
.home-page .newsletter-section .title{margin-bottom:var(--wh-heading-gap)}
.home-page .thank-section .t-btn{margin-top:8px}
.home-page .thank-you-photo{display:block;max-width:640px;margin-left:auto;overflow:hidden;border-radius:20px}
.home-page .thank-you-photo img{display:block;width:100%;height:auto}

@media(min-width:1800px){.home-page .wh-products .highlight-track .product-main-item{flex-basis:calc((100% - 96px)/5);width:calc((100% - 96px)/5)}}
@media(max-width:1199.98px){
    .home-page .wh-products .highlight-track .product-main-item{flex-basis:calc((100% - 48px)/3);width:calc((100% - 48px)/3)}
    .home-page .wh-press-inner{grid-template-columns:160px minmax(0,1fr);gap:24px}
    .home-page .wh-press-track{gap:24px}
    .home-page .wh-press-track .item{flex-basis:100px}
    .home-page .wh-press-track img{max-width:88px}
}
@media(max-width:991.98px){
    .home-page{--wh-space:32px;--wh-heading-gap:24px;--wh-grid-gap:20px}
    .home-page .wh-category-grid{gap:12px}
    .home-page .wh-category-card h3{padding:16px;font-size:20px}
    .wax-site .home-page .container.wh-offers-inner{grid-template-columns:1fr;gap:24px;max-width:760px}
    .home-page .wh-offers h2{max-width:none;margin:0;font-size:32px}
    .home-page .wh-offer-custom{min-height:290px}
    .home-page .wh-offer-workshop{min-height:440px}
    .home-page .wh-offer-b2b{min-height:365px}
    .home-page .wh-offer-arch{padding:55px 12px calc(35px + 7.6vw)}
    .home-page>.wh-offers{background-position:left 120px;background-size:150% auto}
    .home-page .thank-you-photo{margin-inline:auto}
    .home-page .wh-article h3{font-size:19px}
    .home-page .wh-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .home-page .wh-story-grid{gap:14px}
    .home-page .wh-story>img{height:150px}
    .home-page .wh-story>div{padding:16px}
    .home-page .wh-story h3{font-size:18px}
    .home-page .wh-story p{font-size:13px}
}
@media(max-width:767.98px){
    .home-page .wh-heading{align-items:start;gap:20px}
    .home-page .wh-heading p{font-size:14px}
    .home-page .wh-heading>p{display:none}
    .home-page .wh-tabs{gap:22px}
    /* Extend only the product viewport to the screen edge, keeping the left gutter. */
    .wax-site .home-page .wh-products>.container{padding-inline:16px}
    .home-page .wh-products [data-product-loop]{width:calc(100vw - 16px);margin:0;overflow:hidden}
    .home-page .wh-products .highlight-track .product-main-item{flex-basis:calc((100% - 24px)/2.25);width:calc((100% - 24px)/2.25);grid-template-rows:auto 50px 34px 44px auto auto}
    .wax-site .home-page .wh-products .product-main-item .img-box{aspect-ratio:1/1.08;border-radius:10px}
    .wax-site .home-page .wh-products .product-main-item .info-box{height:50px;padding-top:8px}
    .wax-site .home-page .wh-products .product-main-item .info-box .title{font-size:14px;line-height:1.4}
    .wax-site .home-page .wh-products .product-main-item .price-box{gap:4px;flex-wrap:wrap;align-content:center;min-height:0;line-height:1.2}
    .wax-site .home-page .wh-products .product-main-item .price{font-size:16px}
    .wax-site .home-page .wh-products .product-main-item .standard-price{font-size:11px}
    .wax-site .home-page .wh-products .product-main-item .add-btn{width:100%;min-height:44px;padding:8px 6px;gap:4px;font-size:12px;line-height:1.25;letter-spacing:0;white-space:normal}
    .wax-site .home-page .wh-products .product-main-item .add-btn span{min-width:0;overflow-wrap:anywhere}
    .wax-site .home-page .wh-products .product-main-item .add-btn svg{width:17px;height:17px}
    .wax-site .home-page .wh-products .product-main-item .wax-card-motifs{margin-top:6px}
    .wax-site .home-page .wh-products .product-main-item .variant{width:30px;height:30px;flex-basis:30px;padding:2px}
    .wax-site .home-page .wh-products .product-main-item .variant.selected{padding:1px}
    .home-page .wh-products .highlight-scroll-btn{display:none}
    .home-page .wh-press-strip{padding-top:20px}
    .home-page .wh-press-inner{grid-template-columns:1fr;gap:12px}
    .home-page .wh-press-inner>span{display:none}
    .home-page .wh-press-track{gap:24px;justify-content:flex-start}
    .home-page .wh-press-track .item{height:34px}
    .home-page .wh-press-track img{max-height:22px}
    .home-page .wh-category-card h3{padding:14px;font-size:16px}
    .home-page .wh-story-grid{grid-template-columns:1fr;gap:12px}
    .home-page .wh-story{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:stretch}
    .home-page .wh-story>img{width:110px;height:100%;min-height:130px}
    .home-page .wh-story h3{margin-bottom:8px}
    .home-page .wh-story p{line-height:1.5}
    .home-page .wh-articles .wh-heading{flex-wrap:wrap}
    .home-page .wh-article-grid{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:18px;padding-bottom:4px}
    .home-page .wh-article{flex:0 0 85%;scroll-snap-align:start}
    .home-page .wh-gallery-grid{gap:8px}
}
@media(max-width:575.98px){
    .home-page .wh-products .wh-tabs{gap:16px}.home-page .wh-products .wh-tabs .nav-link{font-size:20px}
    .home-page .wh-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(140px,38vw,215px);gap:10px}
    .home-page .wh-category-grid--1{grid-template-columns:1fr}
    .home-page :is(.wh-category-grid--4,.wh-category-grid--5) .wh-category-card:first-child{grid-row:auto;grid-column:1/-1}
    .home-page .wh-category-grid--3 .wh-category-card:first-child{grid-column:1/-1}
    .home-page .wh-offers h2{font-size:28px;max-width:290px}
    .home-page .wh-offer-arches{padding-top:0;gap:0}
    .home-page .wh-offer-arch{padding:32px 6px 24px}
    .home-page .wh-offer-custom{min-height:215px}
    .home-page .wh-offer-workshop{min-height:310px}
    .home-page .wh-offer-b2b{min-height:260px}
    .home-page .wh-offer-content{gap:16px}
    .home-page .wh-offer-content img{width:80%;max-width:88px}
    .home-page .wh-offer-link{min-height:44px;padding:10px 8px;font-size:10px;overflow-wrap:anywhere}
}
@media(max-width:359.98px){.home-page .wh-story{grid-template-columns:88px minmax(0,1fr)}.home-page .wh-story>img{width:88px}.home-page .wh-story>div{padding:14px}}
@media(prefers-reduced-motion:reduce){.home-page .wh-category-photo img,.home-page .wh-gallery-photo img{transition:none}.home-page .highlight-track{scroll-behavior:auto}}

/* The final content block needs clearance for the footer's overlapping wave. */
.home-page>.thank-section{padding-bottom:calc(var(--wh-space) + 105px)}
@media(max-width:575.98px){.home-page>.thank-section{padding-bottom:calc(var(--wh-space) + 58px)}}

/* Homepage-only feedback refinements. */
.home-page .wh-reading-tabs{margin-bottom:var(--wh-heading-gap)}
.home-page :is(.wh-article-grid,.wh-gallery-grid){scrollbar-width:none}
.home-page :is(.wh-article-grid,.wh-gallery-grid)::-webkit-scrollbar{display:none}
.home-page .wh-reviews-slider .swiper-slide{height:auto}
.home-page .wh-reviews-slider .review-item{min-height:0;height:100%}
.home-page .wh-partners{padding:24px 0;background:#fff9e3}
.home-page .wh-partners-slider .swiper-wrapper{align-items:center;transition-timing-function:linear}
.home-page .wh-partners-slider .swiper-slide{display:flex;align-items:center;justify-content:center;width:150px;height:72px}
.home-page .wh-partners-slider img{max-width:140px;max-height:64px;object-fit:contain}
@media(max-width:767.98px){
    .home-page>.wh-products{padding-bottom:calc(var(--wh-space)*.4)}
    .home-page>.wh-categories{padding-top:calc(var(--wh-space)*.4)}
    .home-page .wh-reviews-slider .review-item{padding:20px 12px;border-radius:16px}
    .home-page .wh-reviews-slider .review-item .text{font-size:14px;margin:18px 0;line-height:1.5}
    .home-page .wh-reviews-slider .review-item .name{font-size:14px}
    .home-page .wh-reviews-slider .stars{gap:3px}
    .home-page .wh-reviews-slider .stars img{width:20px;height:20px}
    .home-page .wh-stores .wh-store-sidebar{display:none}
}
