body.woocommerce-shop .site-header:not(.is-scrolled) .site-header__nav-left a.is-active,
body.woocommerce-shop .site-header:not(.is-scrolled) .site-header__nav-right a.is-active {
    color: var(--color-matcha-green);
}

body.woocommerce-shop .site-header:not(.is-scrolled) .site-header__nav-left a.is-active::after,
body.woocommerce-shop .site-header:not(.is-scrolled) .site-header__nav-right a.is-active::after {
    background-color: var(--color-matcha-green);
}

.shop-hero {
    position: relative;
    height: clamp(400px, 37.222vw, 860px);
    overflow: hidden;
    touch-action: pan-y;
}

.shop-hero__slides {
    position: absolute;
    inset: 0;
}

.shop-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.shop-hero__slide.is-active {
    opacity: 1;
}

.shop-hero__media {
    position: absolute;
    top: -21%;
    left: 0;
    width: 100%;
    height: 153%;
    object-fit: cover;
    object-position: center;
    display: block;
    will-change: transform;
}

.shop-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.05) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 70.852%);
}

.shop-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: clamp(40px, 3.889vw, 76px);
    height: clamp(40px, 3.889vw, 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.shop-hero__arrow:hover {
    opacity: 0.7;
}

.shop-hero__arrow--prev {
    left: var(--edge-inset);
}

.shop-hero__arrow--next {
    right: var(--edge-inset);
}

.shop-hero__arrow--next img {
    transform: scaleX(-1);
}

.shop-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 2.778vw, 40px);
    text-align: center;
    padding: 0 var(--edge-inset);
}

.shop-hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 1.25vw, 18px);
}

.shop-hero__label {
    font-size: var(--text-m);
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-vanilla-cream);
    animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.shop-hero__heading {
    font-size: var(--text-h1);
    font-weight: 500;
    line-height: 1;
    color: var(--color-vanilla-cream);
    max-width: clamp(480px, 51.389vw, 1000px);
    text-shadow: 0px 4px 200px rgba(0,0,0,0.5);
    animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.shop-hero__cta {
    animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}

.shop-hero__dots {
    position: absolute;
    bottom: clamp(16px, 2.083vw, 30px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background-color: var(--color-vanilla-50);
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.shop-hero__dot.is-active {
    width: 20px;
    border-radius: 100px;
    background-color: var(--color-vanilla-cream);
}

@media (max-width: 1024px) and (orientation: portrait) {
    .shop-hero {
        height: clamp(600px, 91.146vw, 700px);
    }

    .shop-hero__media {
        top: -11%;
        height: 122%;
    }

    .shop-hero__heading {
        max-width: 100%;
    }

    .shop-hero__arrow {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .shop-hero {
        height: clamp(700px, 76.172vw, 780px);
    }

    .shop-hero__heading {
        max-width: 46rem;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .shop-hero {
        height: 100vh;
    }

    .shop-hero__content {
        gap: clamp(16px, 2.778vw, 24px);
    }

    .shop-hero__text {
        gap: clamp(6px, 1.25vw, 10px);
    }

    .shop-hero__arrow {
        width: 36px;
        height: 36px;
    }
}

.shop-products {
    background-color: var(--color-vanilla-cream);
}

.shop-products__inner {
    padding-top: clamp(48px, 5.556vw, 129px);
    padding-bottom: clamp(48px, 5.556vw, 129px);
    padding-left: calc(var(--edge-inset) + 100px);
    padding-right: calc(var(--edge-inset) + 100px);
}

.shop-products + .shop-products .shop-products__inner {
    padding-top: 0;
}

.shop-products__heading {
    font-size: var(--text-h3);
    font-weight: 500;
    line-height: 1;
    color: var(--color-dark-green);
    margin-bottom: clamp(24px, 2.778vw, 40px);
    text-align: center;
}

.shop-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 1.667vw, 24px);
}

.shop-product-card {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.111vw, 20px);
}

.shop-product-card__link {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.667vw, 24px);
}

.shop-product-card__image-wrap {
    position: relative;
    border-radius: clamp(16px, 1.667vw, 24px);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: var(--color-dark-vanilla);
}

.shop-product-card__gallery {
    position: absolute;
    inset: 0;
}

.shop-product-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease;
}

.shop-product-card__img--hover {
    opacity: 0;
}

.shop-product-card__badge {
    position: absolute;
    top: clamp(12px, 1.111vw, 20px);
    left: clamp(12px, 1.111vw, 20px);
    z-index: 1;
    background-color: var(--color-dark-green);
    color: var(--color-matcha-green);
    font-size: var(--text-body);
    font-weight: 500;
    letter-spacing: 0.16px;
    line-height: 1.25;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    .shop-product-card__img:not(.shop-product-card__img--default):not(.shop-product-card__img--hover) {
        opacity: 0;
        pointer-events: none;
    }

    .shop-product-card__image-wrap:hover .shop-product-card__img--default {
        opacity: 0;
    }

    .shop-product-card__image-wrap:hover .shop-product-card__img--hover {
        opacity: 1;
    }
}

@media (hover: none) and (pointer: coarse) {
    .shop-product-card__gallery {
        position: static;
        display: flex;
        height: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        touch-action: pan-x pan-y;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .shop-product-card__gallery::-webkit-scrollbar {
        display: none;
    }

    .shop-product-card__img {
        position: static;
        flex: 0 0 100%;
        scroll-snap-align: center;
    }

    .shop-product-card__img--hover {
        opacity: 1;
    }
}

.shop-product-card__gallery-dots {
    position: absolute;
    bottom: clamp(10px, 1.111vw, 16px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: none;
    align-items: center;
    gap: 6px;
}

.shop-product-card__gallery-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-vanilla-50);
    transition: background-color 0.3s ease, width 0.3s ease;
}

.shop-product-card__gallery-dot.is-active {
    width: 14px;
    border-radius: 100px;
    background-color: var(--color-vanilla-cream);
}

@media (hover: none) and (pointer: coarse) {
    .shop-product-card__gallery-dots {
        display: flex;
    }
}

.shop-product-card__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shop-product-card__title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.shop-product-card__name {
    font-size: var(--text-h5);
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-dark-green);
}

.shop-product-card__price {
    flex-shrink: 0;
    font-size: var(--text-h5);
    font-weight: 500;
    color: var(--color-dark-green);
    line-height: 1.1;
}

.shop-product-card__top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.shop-product-card__old-price {
    font-size: var(--text-s);
    font-weight: 400;
    color: var(--color-dark-green-50);
    text-decoration: line-through;
}

.shop-product-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shop-product-card__stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.shop-product-card__star {
    width: auto;
    height: clamp(14px, 1.25vw, 18px);
    color: var(--color-dark-green-20);
}

.shop-product-card__star.is-filled {
    color: var(--color-dark-green);
}

.shop-product-card__rating-count {
    font-size: var(--text-s);
    color: var(--color-dark-green-50);
}

.shop-product-card__cta {
    width: 100%;
    justify-content: space-between;
}

.shop-product-card__cta.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.shop-product-card__cta.is-loading .btn__arrow svg {
    display: none;
}

.shop-product-card__cta.is-loading .btn__spinner {
    display: block;
}

@media (max-width: 1024px) and (orientation: portrait) {
    .shop-products__inner {
        padding-left: var(--edge-inset);
        padding-right: var(--edge-inset);
        padding-top: clamp(80px, 15.625vw, 160px);
        padding-bottom: clamp(80px, 15.625vw, 160px);
    }

    .shop-products__grid {
        grid-template-columns: 1fr;
        gap: clamp(24px, 6.25vw, 32px);
    }

    .shop-products__heading {
        max-width: 46rem;
        margin: 0 auto clamp(32px, 5.625vw, 48px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .shop-products__grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        overflow-y: hidden;
        touch-action: pan-x pan-y;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: clamp(16px, 2.865vw, 22px);
        width: 100%;
        padding-left: 15vw;
        padding-right: 15vw;
        scroll-padding-left: 15vw;
        scroll-padding-right: 15vw;
        scrollbar-width: none;
    }

    .shop-products__grid::-webkit-scrollbar {
        display: none;
    }

    .shop-product-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }

    .shop-product-card__gallery {
        position: absolute;
        inset: 0;
        display: block;
        overflow: visible;
        scroll-snap-type: none;
        -webkit-overflow-scrolling: auto;
    }

    .shop-product-card__img {
        position: absolute;
        inset: 0;
    }

    .shop-product-card__img:not(.shop-product-card__img--default) {
        display: none;
    }

    .shop-product-card__gallery-dots {
        display: none;
    }

    .shop-products__dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(10px, 1.823vw, 14px);
        margin-top: clamp(24px, 4.167vw, 32px);
    }
}

.shop-products__dot {
    width: clamp(10px, 1.823vw, 14px);
    height: clamp(10px, 1.823vw, 14px);
    border-radius: 50%;
    border: none;
    padding: 0;
    background-color: var(--color-dark-green-30);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.shop-products__dot.is-active {
    background-color: var(--color-dark-green);
}

@media (max-width: 768px), (min-width: 1025px), (orientation: landscape) {
    .shop-products__dots {
        display: none;
    }
}

.energy-banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: var(--color-dark-green);
}

.energy-banner__image-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.energy-banner__image {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    object-position: center top;
    display: block;
    will-change: transform;
}

.energy-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.1) 70%, rgba(0,0,0,0.4) 100%);
}

.energy-banner__heading {
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: var(--text-h1);
    font-weight: 500;
    line-height: 1;
    color: var(--color-vanilla-cream);
    text-align: center;
    max-width: clamp(480px, 51.389vw, 1000px);
}

.energy-banner__features {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.energy-banner__feature {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(12px, 1.111vw, 20px);
    text-align: center;
    width: clamp(180px, 15.417vw, 222px);
}

.energy-banner__feature-icon {
    width: clamp(40px, 4.028vw, 58px);
    height: auto;
}

.energy-banner__feature-text {
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-vanilla-cream);
}

.energy-banner__feature-text strong {
    font-weight: 600;
}

.energy-banner__feature--top-left {
    top: 38%;
    left: var(--edge-inset);
    transform: translateY(-100%);
}

.energy-banner__feature--bottom-left {
    top: 62%;
    left: var(--edge-inset);
}

.energy-banner__feature--top-right {
    top: 38%;
    right: var(--edge-inset);
    transform: translateY(-100%);
}

.energy-banner__feature--bottom-right {
    top: 62%;
    right: var(--edge-inset);
}

@media (max-width: 1024px) and (orientation: portrait), (orientation: landscape) and (max-height: 500px) {
    .energy-banner {
        min-height: 130vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(40px, 7.031vw, 54px);
        padding: clamp(80px, 15.625vw, 160px) var(--edge-inset);
    }

    .energy-banner__heading {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        z-index: 2;
        max-width: 100%;
    }

    .energy-banner__features {
        position: relative;
        inset: auto;
        z-index: 2;
        display: grid;
        grid-template-columns: 1fr;
        gap: clamp(32px, 5.625vw, 48px);
        width: 100%;
    }

    .energy-banner__feature {
        position: static;
        transform: none;
        width: 100%;
    }

    .energy-banner__image {
        top: 0;
        height: 100%;
        object-position: center bottom;
        transform: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait),
       (orientation: landscape) and (max-height: 500px) {
    .energy-banner {
        min-height: 100vh;
    }

    .energy-banner__features {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(48px, 6.25vw, 64px) clamp(24px, 3.125vw, 40px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .energy-banner {
        gap: clamp(48px, 6.25vw, 64px);
    }

    .energy-banner__heading {
        max-width: 46rem;
    }

    .energy-banner__feature-icon {
        width: 70px;
    }
}

@media (orientation: landscape) and (hover: none) and (pointer: coarse) and (min-height: 501px) {
    .energy-banner {
        height: 70vh;
    }
}
