/* Grocery homepage — accent matches inspected promo color #ff5722 */

body.grocery-page {
    --primary: #ff5722;
    --primary-dark: #e64a19;
    --alert: #ff5722;
    --success: #ff5722;
}

.grocery-page .jh-grocery-home > section {
    height: auto;
    overflow: visible;
}

.grocery-page .jh-grocery-slider {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #f7f5f2
}

.grocery-page .jh-grocery-slider-carousel,
.grocery-page .jh-grocery-slider .carousel-inner,
.grocery-page .jh-grocery-slider .carousel-item {
    height: clamp(420px, 48vw, 580px)
}

.grocery-page .jh-grocery-slider-slide {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f7f5f2
}

.grocery-page .jh-grocery-slider-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    pointer-events: none;
    user-select: none;
    border: 0;
    background: #111
}

.grocery-page .jh-grocery-slider-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(247, 245, 242, .55) 0%, rgba(247, 245, 242, .12) 38%, transparent 58%)
}

.grocery-page .jh-grocery-slider-slide .container {
    position: relative;
    z-index: 2;
    width: 100%
}

.grocery-page .jh-grocery-slider-content {
    max-width: 560px;
    padding: clamp(36px, 5vw, 72px) 0
}

.grocery-page .jh-grocery-slider-kicker {
    display: block;
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 800
}

.grocery-page .jh-grocery-slider-title {
    margin: 0 0 16px;
    max-width: 540px;
    color: #111111;
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.08
}

.grocery-page .jh-grocery-slider-type {
    display: inline
}

.grocery-page .jh-grocery-slider-accent {
    color: var(--primary)
}

.grocery-page .jh-grocery-slider-caret {
    display: inline-block;
    width: 2px;
    height: .82em;
    margin-left: 3px;
    vertical-align: -.08em;
    background: var(--primary);
    animation: jhSliderCaret 0.7s steps(1) infinite
}

.grocery-page .jh-grocery-slider-lead {
    margin: 0;
    max-width: 460px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7
}

.grocery-page .jh-grocery-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 50%;
    background: #fff;
    color: var(--secondary);
    box-shadow: 0 8px 22px rgba(17, 17, 17, .08);
    transform: translateY(-50%);
    transition: background .2s ease, color .2s ease, border-color .2s ease
}

.grocery-page .jh-grocery-slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff
}

.grocery-page .jh-grocery-slider-arrow--prev {
    left: 18px
}

.grocery-page .jh-grocery-slider-arrow--next {
    right: 18px
}

.grocery-page .jh-grocery-slider-dots {
    display: none
}

.grocery-page .jh-grocery-slider .carousel-item.is-anim .jh-grocery-slider-kicker {
    animation: jhSliderFadeUp .55s .05s cubic-bezier(.22, 1, .36, 1) both
}

.grocery-page .jh-grocery-slider .carousel-item.is-anim .jh-grocery-slider-lead {
    animation: jhSliderFadeUp .7s 1.4s cubic-bezier(.22, 1, .36, 1) both
}

@keyframes jhSliderFadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0)
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0)
    }
}

@keyframes jhSliderCaret {
    0%,
    45% {
        opacity: 1
    }
    50%,
    100% {
        opacity: 0
    }
}

@media (max-width: 991.98px) {
    .grocery-page .jh-grocery-slider-carousel,
    .grocery-page .jh-grocery-slider .carousel-inner,
    .grocery-page .jh-grocery-slider .carousel-item {
        height: clamp(400px, 62vw, 520px)
    }

    .grocery-page .jh-grocery-slider-bg {
        object-position: 74% center
    }

    .grocery-page .jh-grocery-slider-slide .container,
    .grocery-page .jh-grocery-slider-content {
        display: none
    }

    .grocery-page .jh-grocery-slider-arrow {
        display: flex;
        width: 40px;
        height: 40px;
        font-size: 13px
    }

    .grocery-page .jh-grocery-slider-arrow--prev {
        left: 10px
    }

    .grocery-page .jh-grocery-slider-arrow--next {
        right: 10px
    }

    .grocery-page .jh-grocery-slider-slide::after {
        display: none
    }

    .grocery-page .jh-grocery-slider-dots {
        position: absolute;
        right: 0;
        bottom: 16px;
        left: 0;
        z-index: 5;
        display: flex;
        justify-content: center;
        gap: 6px;
        margin: 0;
        padding: 0
    }

    .grocery-page .jh-grocery-slider-dots [data-bs-target] {
        box-sizing: border-box;
        flex: 0 0 auto;
        width: 7px;
        height: 7px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .78);
        background-clip: border-box;
        box-shadow: 0 1px 4px rgba(17, 17, 17, .28);
        opacity: 1;
        text-indent: -999px;
        overflow: hidden
    }

    .grocery-page .jh-grocery-slider-dots .active {
        width: 18px;
        border-radius: 99px;
        background: var(--primary)
    }
}

@media (max-width: 767.98px) {
    .grocery-page .jh-grocery-slider-carousel,
    .grocery-page .jh-grocery-slider .carousel-inner,
    .grocery-page .jh-grocery-slider .carousel-item {
        height: min(72vh, 300px)
    }

    .grocery-page .jh-grocery-slider-slide {
        align-items: stretch
    }

    .grocery-page .jh-grocery-slider-bg {
        object-position: 82% center
    }
}

@media (prefers-reduced-motion: reduce) {
    .grocery-page .jh-grocery-slider .carousel-item.is-anim .jh-grocery-slider-kicker,
    .grocery-page .jh-grocery-slider .carousel-item.is-anim .jh-grocery-slider-lead {
        animation: none
    }

    .grocery-page .jh-grocery-slider-caret {
        display: none
    }
}

.grocery-page .jh-nest-slider {
    padding: 24px 0 0;
}

.grocery-page .jh-referral-strip {
    padding: 0;
    margin: 0 0 28px;
}

.grocery-page a.jh-referral-banner {
    color: inherit;
    text-decoration: none;
}

.grocery-page .jh-referral-banner {
    --jh-ref-ink: #9c1b2b;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 75px;
    padding: 35px 22px 35px 26px;
    overflow: hidden;
    isolation: isolate;
    border: 2px dotted var(--jh-ref-ink);
    border-radius: 5px;
    background: #fce8eb;
    transition: background-color .2s ease, border-color .2s ease;
}

.grocery-page a.jh-referral-banner:hover {
    background: #fbdde2;
    border-color: #861624;
}

.grocery-page a.jh-referral-banner:focus-visible {
    outline: 2px solid #861624;
    outline-offset: 3px;
}

.grocery-page .jh-referral-banner-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.grocery-page .jh-referral-banner-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
    flex: 1;
}

.grocery-page .jh-referral-banner h2 {
    margin: 0;
    flex: 0 0 auto;
    color: var(--jh-ref-ink);
    font-size: clamp(1.02rem, 1.6vw, 1.22rem);
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.grocery-page .jh-referral-banner p {
    margin: 0;
    color: var(--jh-ref-ink);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.45;
}

.grocery-page .jh-referral-banner-cta {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 20px;
    border: 1px solid #000000;
    border-radius: 28px;
    background: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .grocery-page .jh-referral-banner {
        gap: 18px;
        padding: 16px 18px;
    }

    .grocery-page .jh-referral-banner-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .grocery-page .jh-referral-banner h2 {
        white-space: normal;
    }
}

@media (max-width: 767.98px) {
    .grocery-page .jh-referral-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
    }

    .grocery-page .jh-referral-banner h2 {
        font-size: 1.02rem;
    }

    .grocery-page .jh-referral-banner p {
        font-size: 13.5px;
    }

    .grocery-page .jh-referral-banner-cta {
        width: 100%;
        min-height: 44px;
    }
}

.grocery-page .jh-home-trust {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.grocery-page .jh-home-trust-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.grocery-page .jh-home-trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.grocery-page .jh-home-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--primary);
    font-size: 16px;
}

.grocery-page .jh-home-trust-list strong {
    display: block;
    margin-bottom: 2px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.grocery-page .jh-home-trust-list span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.grocery-page .jh-home-section {
    padding: 40px 0 48px;
}

.grocery-page .jh-home-section.bg-soft {
    background: var(--soft);
}

.grocery-page .jh-home-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.grocery-page .jh-home-head-copy h2 {
    margin: 0 0 6px;
    color: var(--secondary);
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -.6px;
    line-height: 1.15;
}

.grocery-page .jh-home-head-copy p {
    margin: 0;
    max-width: 560px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.grocery-page .jh-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
    transition: .22s ease;
}

.grocery-page .jh-home-link:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.grocery-page .jh-home-aisle-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}

.grocery-page .jh-home-aisle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fff;
    text-align: center;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.grocery-page .jh-home-aisle:hover {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
    box-shadow: 0 10px 24px rgba(17, 17, 17, .06);
    transform: translateY(-2px);
}

.grocery-page .jh-home-aisle-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
}

.grocery-page .jh-home-aisle-media img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.grocery-page .jh-home-aisle-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 5px;
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--primary);
    font-size: 24px;
}

.grocery-page .jh-home-aisle-name {
    display: block;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.grocery-page .jh-promo-grid {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 2px 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    scrollbar-width: none;
    cursor: grab;
    /* Native swipe on phones; mouse drag is handled in JS */
    touch-action: pan-x pan-y;
}

.grocery-page .jh-promo-grid.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.grocery-page .jh-promo-grid::-webkit-scrollbar {
    display: none;
}

.grocery-page .jh-promo-card,
.grocery-page .jh-promo-card * {
    cursor: pointer;
}

.grocery-page .jh-promo-grid.is-dragging,
.grocery-page .jh-promo-grid.is-dragging .jh-promo-card,
.grocery-page .jh-promo-grid.is-dragging .jh-promo-card * {
    cursor: grabbing;
}

.grocery-page .jh-promo-card {
    --promo-bg: #f3eee6;
    --promo-position: center 32%;
    position: relative;
    display: flex;
    flex: 0 0 320px;
    width: 350px;
    min-width: 350px;
    flex-direction: column;
    align-items: flex-start;
    min-height: 400px;
    overflow: hidden;
    border-radius: 18px;
    background-color: var(--promo-bg);
    color: #111111;
    text-decoration: none;
    scroll-snap-align: start;
    cursor: pointer;
    -webkit-user-drag: none;
    user-select: none;
    touch-action: pan-x pan-y;
}

.grocery-page .jh-promo-card--cream {
    --promo-bg: #f3eee6;
}

.grocery-page .jh-promo-card--blush {
    --promo-bg: #f3ddd8;
}

.grocery-page .jh-promo-card--mint {
    --promo-bg: #d8ede4;
}

.grocery-page .jh-promo-card--lilac {
    --promo-bg: #e4e7f8;
}

.grocery-page .jh-promo-card--gold {
    --promo-bg: #f5ecd4;
}

.grocery-page .jh-promo-card--icon .jh-promo-media {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 42%;
}

.grocery-page .jh-promo-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 28px rgba(17, 17, 17, .08);
    color: #111111;
    font-size: 52px;
}

.grocery-page .jh-promo-icon-wrap img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.grocery-page .jh-promo-media {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 34%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.grocery-page .jh-promo-card--video .jh-promo-media {
    bottom: 0;
}

.grocery-page .jh-promo-media img,
.grocery-page .jh-promo-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--promo-position);
    transition: transform .35s ease;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.grocery-page .jh-promo-card::before {
    content: "";
    position: absolute;
    inset: 48% 0 0 0;
    z-index: 1;
    width: 100%;
    pointer-events: none;
    background: linear-gradient(to top, var(--promo-bg) 0%, color-mix(in srgb, var(--promo-bg) 78%, transparent) 70%, transparent 100%);
}

.grocery-page .jh-promo-card--video::before {
    inset: 0;
    background: linear-gradient(to top, rgba(18, 10, 8, .72) 0%, rgba(18, 10, 8, .28) 46%, rgba(18, 10, 8, .08) 100%);
}

.grocery-page .jh-promo-card--video {
    color: #fff;
}

.grocery-page .jh-promo-card--video .jh-promo-kicker {
    color: rgba(255, 255, 255, .72);
}

.grocery-page .jh-promo-card--video .jh-promo-copy h3 {
    color: #fff;
}

.grocery-page .jh-promo-card--video .jh-promo-copy p {
    color: rgba(255, 255, 255, .82);
}

.grocery-page .jh-promo-copy {
    position: relative;
    z-index: 2;
    max-width: 92%;
    margin-top: auto;
    padding: 20px 32px 32px;
}

.grocery-page .jh-promo-kicker {
    display: block;
    margin: 0 0 14px;
    color: #9a9590;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
}

.grocery-page .jh-promo-copy h3 {
    margin: 0 0 12px;
    max-width: 16ch;
    color: #111111;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(1.42rem, 1.55vw, 1.82rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.16;
}

.grocery-page .jh-promo-copy p {
    margin: 0 0 22px;
    max-width: 28ch;
    color: #7d7873;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.5;
}

.grocery-page .jh-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 20px;
    border-radius: 999px;
    background: #fff;
    color: #111111;
    box-shadow: 0 1px 2px rgba(17, 17, 17, .06);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    transition: transform .22s ease, box-shadow .22s ease;
}

.grocery-page .jh-promo-card:hover {
    color: #111111;
}

.grocery-page .jh-promo-card--video:hover {
    color: #fff;
}

.grocery-page .jh-promo-card:hover .jh-promo-btn {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(17, 17, 17, .08);
}

.grocery-page .jh-promo-card:hover .jh-promo-media img,
.grocery-page .jh-promo-card:hover .jh-promo-media video {
    transform: scale(1.06);
}

.grocery-page .jh-promo-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.grocery-page .jh-home-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px 16px;
    text-align: center;
    color: var(--muted);
}

.grocery-page .jh-bestsellers {
    --bs-accent: var(--primary);
    --bs-accent-dark: var(--primary-dark, #E85A2F);
    --bs-ink: var(--secondary);
    padding: 34px 0;
    background: var(--soft);
    margin-top: 35px;
}

.grocery-page .jh-bestsellers-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    margin-bottom: 28px;
}

.grocery-page .jh-bestsellers-head h2 {
    margin: 0;
    color: var(--bs-ink);
    font-size: clamp(1.55rem, 2.2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.15;
    white-space: nowrap;
}

.grocery-page .jh-bestsellers-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px 4px;
}

.grocery-page .jh-bestsellers-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.grocery-page .jh-bestsellers-tab:hover {
    color: var(--bs-ink);
    background: #fff;
}

.grocery-page .jh-bestsellers-tab.is-active {
    background: var(--bs-accent);
    color: #fff;
    font-weight: 600;
}

.grocery-page .jh-bestsellers-tab.is-active:hover {
    background: var(--bs-accent-dark);
    color: #fff;
}

.grocery-page .jh-bestsellers-tab:focus-visible {
    outline: 2px solid var(--bs-accent);
    outline-offset: 2px;
}

.grocery-page .jh-bestsellers-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.grocery-page .jh-bestsellers-empty {
    margin: 24px 0 0;
    color: var(--muted);
    text-align: center;
}

.grocery-page .jh-bestsellers-item[hidden] {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .grocery-page .jh-bestsellers-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .grocery-page .jh-bestsellers-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .grocery-page .jh-bestsellers-tabs {
        justify-content: flex-start;
    }

    .grocery-page .jh-bestsellers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .grocery-page .jh-bestsellers {
        padding: 30px 0;
        margin-top: 15px;
    }

    .grocery-page .jh-bestsellers-head {
        gap: 14px;
        margin-bottom: 16px;
    }

    .grocery-page .jh-bestsellers-head h2 {
        font-size: 1.28rem;
        letter-spacing: -.03em;
        white-space: normal;
    }

    .grocery-page .jh-bestsellers-tabs {
        flex-wrap: nowrap;
        width: 100%;
        gap: 8px;
        padding: 2px 2px 4px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .grocery-page .jh-bestsellers-tabs::-webkit-scrollbar {
        display: none;
    }

    .grocery-page .jh-bestsellers-tab {
        min-height: 32px;
        padding: 6px 12px;
        background: #fff;
        font-size: 12.5px;
    }

    .grocery-page .jh-bestsellers-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .grocery-page .jh-bestsellers .product-card {
        display: flex;
        flex-direction: column;
        border-radius: 16px;
        box-shadow: none;
    }

    .grocery-page .jh-bestsellers .product-card:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--line);
    }

    .grocery-page .jh-bestsellers .discount-badge {
        top: 8px;
        left: 8px;
        padding: 4px 6px;
        font-size: 9px;
    }

    .grocery-page .jh-bestsellers .wishlist-btn {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .grocery-page .jh-bestsellers .shop-flag {
        top: 8px;
        left: 8px;
        font-size: 9px;
        padding: 3px 6px;
    }

    .grocery-page .jh-bestsellers .shop-flag-trending,
    .grocery-page .jh-bestsellers .discount-badge + .shop-flag-trending,
    .grocery-page .jh-bestsellers .discount-badge ~ .shop-flag-trending {
        top: 34px;
    }

    .grocery-page .jh-bestsellers .product-image {
        aspect-ratio: 1;
        padding: 12px 12px 0;
        background: #fff;
    }

    .grocery-page .jh-bestsellers .product-image img {
        object-fit: contain;
        border-radius: 8px;
    }

    .grocery-page .jh-bestsellers .product-card:hover .product-image img {
        transform: none;
    }

    .grocery-page .jh-bestsellers .product-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 36px;
        align-items: end;
        gap: 8px 8px;
        padding: 10px 10px 12px;
        border-top: 0;
    }

    .grocery-page .jh-bestsellers .product-tag,
    .grocery-page .jh-bestsellers .pod-meta-hint,
    .grocery-page .jh-bestsellers .variant-from {
        display: none;
    }

    .grocery-page .jh-bestsellers .product-body h3 {
        grid-column: 1 / -1;
        min-height: 0;
        margin: 0;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .grocery-page .jh-bestsellers .price,
    .grocery-page .jh-bestsellers .pod-meta {
        grid-column: 1;
        margin: 0;
        min-width: 0;
        flex-wrap: wrap;
        gap: 2px 6px;
        align-items: baseline;
    }

    .grocery-page .jh-bestsellers .price strong {
        font-size: 14px;
        letter-spacing: -.03em;
    }

    .grocery-page .jh-bestsellers .product-unit-hint {
        font-size: 10px;
    }

    .grocery-page .jh-bestsellers .price del {
        width: auto;
        font-size: 11px;
    }

    .grocery-page .jh-bestsellers .add-cart {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
        width: 36px;
        height: 36px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--primary);
        color: #fff;
        font-size: 0;
        line-height: 0;
        box-shadow: 0 6px 14px rgba(255, 87, 34, .28);
    }

    .grocery-page .jh-bestsellers .add-cart i {
        margin: 0;
        font-size: 13px;
        line-height: 1;
    }

    .grocery-page .jh-bestsellers .add-cart:hover,
    .grocery-page .jh-bestsellers .add-cart.is-added {
        background: var(--primary-dark);
        color: #fff;
    }

    .grocery-page .jh-bestsellers .pod-add {
        right: 8px;
        bottom: 8px;
        width: 36px;
        height: 36px;
    }

    .grocery-page .jh-bestsellers .product-card.is-price-on-demand .product-body {
        padding-top: 10px;
    }

    .grocery-page .jh-bestsellers .pod-meta {
        grid-column: 1 / -1;
    }
}

.grocery-page .jh-home-services .jh-services-list {
    gap: 12px;
}

.grocery-page .jh-home-services .jh-service-row {
    background: #fff;
}

.grocery-page .jh-home-blogs .blog-empty {
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.grocery-page .jh-home-blogs .jh-news-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.grocery-page .jh-home-blogs .jh-news-head .section-kicker {
    display: block;
    margin-bottom: 6px;
}

.grocery-page .jh-home-blogs .jh-news-head h2 {
    margin: 0;
    color: var(--secondary);
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(1.7rem, 2.5vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -.7px;
    line-height: 1.15;
}

.grocery-page .jh-news-slider {
    position: relative;
}

.grocery-page .jh-news-viewport {
    overflow: hidden;
}

.grocery-page .jh-news-next {
    display: none;
}

@media (max-width: 1199.98px) {
    .grocery-page .jh-home-trust-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grocery-page .jh-home-aisle-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .grocery-page .jh-promo-card {
        min-height: 400px;
    }

    .grocery-page .jh-promo-copy {
        padding: 18px 24px 28px;
    }
}

@media (max-width: 767.98px) {
    .grocery-page .jh-home-section {
        padding: 40px 0 0 0;
    }

    .grocery-page .jh-home-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .grocery-page .jh-home-trust-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .grocery-page .jh-home-aisle-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .grocery-page .jh-home-aisle {
        padding: 12px 8px;
    }

    .grocery-page .jh-home-aisle-media,
    .grocery-page .jh-home-aisle-media img,
    .grocery-page .jh-home-aisle-fallback {
        width: 72px;
        height: 72px;
    }

    .grocery-page .jh-home-aisle-name {
        font-size: 12px;
    }

    .grocery-page .jh-promo-card {
        min-height: 375px;
    }

    .grocery-page .jh-promo-copy {
        max-width: 100%;
        padding: 20px 24px 28px;
    }

    .grocery-page .jh-news-slider::after {
        content: "";
        position: absolute;
        top: 0;
        right: -1px;
        z-index: 3;
        width: 36px;
        height: 100%;
        pointer-events: none;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
    }

    .grocery-page .jh-home-blogs .blog-news-grid {
        display: flex;
        align-items: stretch;
        gap: 14px;
        transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }

    .grocery-page .jh-home-blogs .blog-post-item {
        flex: 0 0 100%;
        width: 100%;
    }

    .grocery-page .jh-news-next {
        display: inline-flex;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

.grocery-page .testimonial-section {
    margin: 25px 50px;
    padding: 90px 0 95px;
    background: #f5f5f4;
    border-radius: 12px;
    overflow: hidden;
    color: #111111;
    font-family: Inter, sans-serif;
}

.grocery-page .testimonial-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 7px 15px;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 50px;
    color: #222222;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.grocery-page .testimonial-heading {
    margin: 0;
    max-width: 620px;
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -2.2px;
    font-weight: 500;
}

.grocery-page .testimonial-heading .testimonial-heading-brand {
    color: var(--primary);
    font-weight: 700;
}

.grocery-page .testimonial-header {
    margin-bottom: 65px;
}

.grocery-page .testimonial-slider {
    position: relative;
}

.grocery-page .testimonial-viewport {
    position: relative;
    overflow: hidden;
}

.grocery-page .testimonial-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.grocery-page .testimonial-card {
    position: relative;
    flex: 0 0 calc((100% - 36px) / 3);
    height: 365px;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.grocery-page .testimonial-content-card {
    display: flex;
    flex-direction: column;
    padding: 23px 22px 20px;
}

.grocery-page .testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.grocery-page .testimonial-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    background: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.grocery-page .testimonial-name {
    margin: 0 0 3px;
    color: var(--primary);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

.grocery-page .testimonial-role {
    margin: 0;
    color: #777777;
    font-size: 12px;
    line-height: 1.3;
}

.grocery-page .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: auto;
    border: 0;
    border-radius: 9px;
    background: #fafafa;
    color: #111111;
    font-size: 15px;
}

.grocery-page .testimonial-quote {
    margin: 34px 0 0;
    color: #222222;
    font-size: 13px;
    line-height: 1.45;
}

.grocery-page .testimonial-quote strong {
    display: block;
    margin-bottom: 3px;
    color: #111111;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

.grocery-page .testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
}

.grocery-page .rating-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--primary);
    font-size: 16px;
    white-space: nowrap;
}

.grocery-page .rating-stars .is-off {
    color: #d6d6d4;
}

.grocery-page .testimonial-date {
    color: #777777;
    font-size: 12px;
    white-space: nowrap;
}

.grocery-page .testimonial-image-card {
    color: #ffffff;
    background: #1a1a1a;
}

.grocery-page .testimonial-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grocery-page .testimonial-image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.34) 0%,
            rgba(0, 0, 0, 0.03) 34%,
            rgba(0, 0, 0, 0.03) 60%,
            rgba(0, 0, 0, 0.35) 100%
        );
}

.grocery-page .image-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px;
}

.grocery-page .image-card-user .testimonial-name,
.grocery-page .image-card-user .testimonial-role {
    color: #ffffff;
}

.grocery-page .image-card-user .testimonial-role {
    opacity: 0.85;
}

.grocery-page .image-card-user .social-icon {
    background: #ffffff;
    color: #111111;
}

.grocery-page .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-size: 21px;
    transform: translate(-50%, -50%);
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.28);
    transition: 0.25s ease;
}

.grocery-page .play-button:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translate(-50%, -50%) scale(1.08);
}

.grocery-page .play-button:disabled {
    cursor: default;
    opacity: 0.72;
}

.grocery-page .play-button i {
    margin-left: 3px;
}

.grocery-page .image-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
}

.grocery-page .image-card-footer .testimonial-date {
    color: rgba(255, 255, 255, 0.86);
}

.grocery-page .testimonial-slider::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    z-index: 3;
    width: 110px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(245, 245, 244, 0),
        rgba(245, 245, 244, 0.93) 78%,
        #f5f5f4 100%
    );
}

.grocery-page .slider-next-btn {
    position: absolute;
    top: 50%;
    right: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c7c7c7;
    color: #ffffff;
    font-size: 20px;
    transform: translateY(-50%);
    transition: 0.25s ease;
}

.grocery-page .slider-next-btn:hover {
    background: #111111;
}

.grocery-page .slider-next-btn[hidden] {
    display: none;
}

body.jh-testimonial-lock {
    overflow: hidden;
}

.jh-testimonial-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.jh-testimonial-modal[hidden] {
    display: none;
}

.jh-testimonial-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, .62);
}

.jh-testimonial-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
}

.jh-testimonial-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
}

.jh-testimonial-modal-frame {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: #000;
}

.jh-testimonial-modal-frame iframe,
.jh-testimonial-modal-frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991.98px) {
    .grocery-page .testimonial-section {
        margin: 20px 24px;
        padding: 70px 0;
    }

    .grocery-page .testimonial-header {
        margin-bottom: 55px;
    }

    .grocery-page .testimonial-card {
        flex-basis: calc((100% - 18px) / 2);
    }

    .grocery-page .testimonial-heading {
        font-size: 40px;
    }

    .grocery-page .jh-promo-grid {
        margin-right: -12px;
        padding-right: 12px;
    }

    .grocery-page .jh-promo-card {
        flex: 0 0 82%;
        width: 82%;
        max-width: 340px;
        min-width: 0;
        min-height: 375px;
    }
}

@media (max-width: 767.98px) {
    .grocery-page .testimonial-section {
        margin: 35px 15px;
        padding: 36px 0 40px;
        border-radius: 12px;
    }

    .grocery-page .testimonial-header {
        margin-bottom: 28px;
    }

    .grocery-page .testimonial-heading {
        max-width: none;
        font-size: 28px;
        line-height: 1.12;
        letter-spacing: -1.2px;
    }

    .grocery-page .testimonial-track {
        gap: 12px;
    }

    .grocery-page .testimonial-card {
        flex: 0 0 82%;
        width: 82%;
        height: 340px;
    }

    .grocery-page .testimonial-slider::after {
        width: 42px;
        background: linear-gradient(
            to right,
            rgba(245, 245, 244, 0),
            rgba(245, 245, 244, 0.55) 70%,
            #f5f5f4 100%
        );
    }

    .grocery-page .slider-next-btn {
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .grocery-page .testimonial-content-card,
    .grocery-page .image-card-content {
        padding: 20px 18px;
    }

    .grocery-page .testimonial-heading {
        font-size: 24px;
        letter-spacing: -1px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .grocery-page .jh-promo-btn,
    .grocery-page .jh-promo-media img,
    .grocery-page .jh-promo-media video,
    .grocery-page .slider-next-btn,
    .grocery-page .play-button,
    .grocery-page .testimonial-track,
    .grocery-page .jh-news-track {
        transition: none;
    }

    .grocery-page .jh-promo-card:hover .jh-promo-media img,
    .grocery-page .jh-promo-card:hover .jh-promo-media video {
        transform: none;
    }
}

@media (max-width: 479.98px) {
    .grocery-page .jh-home-aisle-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
