/* =========================================================
   LIRON HOMEPAGE FEATURES
   HERO SECTION
   ========================================================= */

   .lrn-home-hero {
    position: relative;
    width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
    background: var(--primary-soft);
}

.lrn-home-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        to bottom,
        var(--primary) 0%,
        rgba(46, 125, 50, 0.65) 25%,
        rgba(46, 125, 50, 0.25) 55%,
        rgba(216, 239, 200, 0) 100%
    );
    pointer-events: none;
}

.lrn-home-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    gap: 24px;

    align-items: stretch;
}


/* =========================================================
   LEFT — MAIN HERO
   ========================================================= */

.lrn-home-hero-main {
    flex: 1 1 50%;
    min-height: 420px;

    display: flex;
    align-items: center;

    padding: 55px;
    box-sizing: border-box;

    border-radius: 24px;

    background: linear-gradient(135deg,
            #f5f5f5 0%,
            #ffffff 100%);

    border: 1px solid #eeeeee;
}


.lrn-home-hero-content {
    max-width: 600px;
}


.lrn-home-hero-content h1 {
    margin: 0 0 18px;

    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.98;
    font-weight: 800;

    letter-spacing: -2px;
}


.lrn-home-hero-content p {
    margin: 0 0 28px;

    max-width: 520px;

    font-size: 18px;
    line-height: 1.6;

    color: #555;
}

/* =====================================================
   CONTINUOUS HERO HEADLINE
===================================================== */

.lrn-hero-animated-title span {
    display: block;

    animation: lrnHeroLive 5s ease-in-out infinite;
}


/* Stagger the two lines */

.lrn-hero-animated-title span:nth-child(1) {
    animation-delay: 0s;
}

.lrn-hero-animated-title span:nth-child(2) {
    animation-delay: 0.18s;
}


@keyframes lrnHeroLive {

    0%,
    70%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    76% {
        opacity: 0.65;
        transform: translateY(-4px);
    }

    82% {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =========================================================
   HERO BUTTONS
   ========================================================= */

.lrn-home-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


.lrn-home-hero-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 24px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.lrn-home-hero-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


.lrn-home-hero-btn-primary {
    background: #111;
    color: #fff;
}


.lrn-home-hero-btn-secondary {
    background: #fff;
    color: #111;

    border: 1px solid #d9d9d9;
}


/* =========================================================
   QUICK LINKS
   ========================================================= */

.lrn-home-hero-links {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 9px;

    margin-top: 28px;

    font-size: 14px;
}


.lrn-home-hero-links a {
    color: #555;

    text-decoration: none;

    font-weight: 600;
}


.lrn-home-hero-links a:hover {
    color: #111;
}


.lrn-home-hero-links span {
    color: #aaa;
}

/* =========================================================
   HERO MOBILE LAYOUT
   ========================================================= */

   @media (max-width: 700px) {

    .lrn-home-hero {
        padding: 18px 14px;
    }

    .lrn-home-hero-inner {
        display: flex;
        flex-direction: column;
        gap: 18px;
        width: 100%;
    }

    .lrn-home-hero-main,
    .lrn-home-hero-campaign {
        width: 100%;
        flex: none;
        min-height: auto;
    }

    .lrn-home-hero-main {
        padding: 34px 24px;
    }

}

/* =====================================================
   HOME SECOND ROW
   SPECIAL OFFERS + BUILD YOUR OWN BUNDLE
===================================================== */

.lrn-home-second-row {
    width: 100%;

    padding: 32px 0 42px;

    background: var(--primary-soft);
}


/* =====================================================
   MAIN TWO-COLUMN LAYOUT
===================================================== */

.lrn-home-second-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr) minmax(280px, 0.9fr);

    gap: 20px;

    align-items: stretch;
}

/* =====================================================
   SPECIAL OFFERS PANEL
===================================================== */

.lrn-home-offers-panel {
    display: flex;
    flex-direction: column;

    width: 100%;
    box-sizing: border-box;

    padding: 22px;

    background: var(--primary);

    border: 1px solid var(--gold);
    border-radius: 16px;

    overflow: visible;
}


/* =====================================================
   OFFERS HEADING
===================================================== */

.lrn-home-panel-heading {
    margin-bottom: 16px;
}


.lrn-home-panel-kicker {
    display: inline-flex;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
}


.lrn-home-panel-heading h2 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.15;

    font-weight: 800;
}


.lrn-home-panel-heading p {
    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 12px;
    line-height: 1.4;
}


/* =====================================================
   THREE OFFER CARDS
===================================================== */

.lrn-home-offer-cards {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    width: 100%;
}


/* =====================================================
   OFFER CARD
===================================================== */

.lrn-home-offer-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 13px;

    background: #ffffff;

    border: 1px solid #e2e2e2;
    border-radius: 10px;

    color: #222;
    text-decoration: none;

    box-sizing: border-box;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.lrn-home-offer-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.11);
}


/* =====================================================
   OFFER BADGE
===================================================== */

.lrn-home-offer-badge {
    display: inline-flex;

    align-self: flex-start;

    margin-bottom: 7px;

    padding: 5px 8px;

    background: #e8f5e9;
    color: var(--primary);

    border-radius: 14px;

    font-size: 9px;
    font-weight: 800;

    line-height: 1.2;
}


.lrn-home-offer-badge.lrn-family {
    background: #e8f5e9;
    color: var(--primary);
}


/* =====================================================
   OFFER TITLE
===================================================== */

.lrn-home-offer-card h3 {
    margin: 0 0 9px;

    color: #181818;

    font-size: 14px;
    line-height: 1.2;

    font-weight: 800;
}


/* =====================================================
   OFFER PRODUCTS
   2 COLUMNS
===================================================== */

.lrn-home-offer-products {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    width: 100%;

    margin-bottom: 12px;

    padding: 7px 0;

    background: #fafafa;

    border: 1px solid #eeeeee;
    border-radius: 7px;

    overflow: hidden;
}


/* =====================================================
   INDIVIDUAL PRODUCT
===================================================== */

.lrn-home-offer-products span {
    min-width: 0;

    box-sizing: border-box;

    padding: 7px 9px;

    color: #333;

    font-size: 9px;
    line-height: 1.35;

    text-align: left;

    white-space: normal;

    overflow: visible;

    overflow-wrap: anywhere;
}


/* =====================================================
   VERTICAL DIVIDER
   BETWEEN FIRST AND SECOND COLUMN
===================================================== */

.lrn-home-offer-products span:nth-child(odd) {
    border-right: 1px solid #e1e1e1;
}


/* =====================================================
   HORIZONTAL DIVIDERS
===================================================== */

.lrn-home-offer-products span:nth-child(n + 3) {
    border-top: 1px solid #e8e8e8;
}


/* =====================================================
   OFFER PRICE
===================================================== */

.lrn-home-offer-price {
    display: block;

    margin-top: auto;
    margin-bottom: 5px;

    color: var(--primary);

    font-size: 16px;
    line-height: 1.1;

    font-weight: 900;
}


/* =====================================================
   VIEW OFFER
===================================================== */

.lrn-home-offer-link {
    display: inline-block;

    color: var(--primary);

    font-size: 9px;

    font-weight: 800;
}


/* =====================================================
   VIEW ALL OFFERS
===================================================== */

.lrn-home-panel-action {
    display: flex;

    justify-content: center;

    margin-top: 13px;
}


.lrn-home-primary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 0 17px;

    background: var(--primary);
    color: #ffffff;

    border-radius: 7px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.lrn-home-primary-btn:hover {
    background: #256428;

    transform: translateY(-1px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .lrn-home-offer-cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 520px) {

    .lrn-home-offers-panel {
        padding: 17px;
    }


    .lrn-home-panel-heading h2 {
        font-size: 22px;
    }


    .lrn-home-offer-cards {
        grid-template-columns: 1fr;
    }


    .lrn-home-offer-card {
        padding: 13px;
    }


    .lrn-home-offer-products span {
        font-size: 10px;
        line-height: 1.4;
    }

}



/* =====================================================
   BUILD YOUR OWN BUNDLE
===================================================== */

.lrn-home-bundle-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 100%;
    box-sizing: border-box;

    padding: 22px;

    background: var(--primary);

    border: 1px solid #d8e7d8;
    border-radius: 16px;
}


/* =====================================================
   BUNDLE ICON
===================================================== */

.lrn-home-bundle-icon {
    margin-bottom: 8px;

    font-size: 30px;
    line-height: 1;
}


/* =====================================================
   BUNDLE KICKER
===================================================== */

.lrn-home-bundle-kicker {
    display: inline-block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
}


/* =====================================================
   BUNDLE TITLE
===================================================== */

.lrn-home-bundle-panel h2 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
}


/* =====================================================
   BUNDLE DESCRIPTION
===================================================== */

.lrn-home-bundle-panel>p {
    margin: 0 0 16px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 12px;
    line-height: 1.45;
}


/* =====================================================
   BUNDLE LIST
===================================================== */

.lrn-home-bundle-list {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin: 0 0 16px;
    padding: 0;

    list-style: none;
}


.lrn-home-bundle-list li {
    color: rgba(255, 255, 255, 0.92);

    font-size: 12px;
    line-height: 1.3;
}


/* =====================================================
   BUNDLE HIGHLIGHT
===================================================== */

.lrn-home-bundle-highlight {
    display: flex;
    flex-direction: column;

    gap: 3px;

    margin-bottom: 17px;
    padding: 11px;

    background: #ffffff;

    border-left: 4px solid var(--primary);
    border-radius: 7px;
}


.lrn-home-bundle-highlight strong {
    color: #222;

    font-size: 12px;
}


.lrn-home-bundle-highlight span {
    color: #666;

    font-size: 10px;
    line-height: 1.35;
}


/* =====================================================
   BUILD BUNDLE BUTTON
===================================================== */

.lrn-home-bundle-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 40px;

    padding: 0 15px;

    background: var(--primary);
    color: #ffffff;

    border-radius: 7px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {

    .lrn-home-second-grid {
        grid-template-columns: 1fr;
    }

    .lrn-home-offers-panel,
    .lrn-home-bundle-panel {
        height: auto;
    }

}


/* =====================================================
   SMALL TABLET
===================================================== */

@media (max-width: 760px) {

    .lrn-home-offer-cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 520px) {

    .lrn-home-second-row {
        padding: 24px 0 32px;
    }

    .lrn-home-offers-panel,
    .lrn-home-bundle-panel {
        padding: 17px;

        border-radius: 13px;
    }

    .lrn-home-panel-heading h2 {
        font-size: 22px;
    }

    .lrn-home-offer-cards {
        grid-template-columns: 1fr;
    }

    .lrn-home-offer-card {
        min-height: auto;
    }

    .lrn-home-offer-products {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}



/* =====================================================
   CLEAN HOME HUB
===================================================== */

.lrn-clean-home-hub {
    width: 100%;

    padding: 34px 0 40px;

    background: var(--primary-soft);

}


/* =====================================================
   HEADER
===================================================== */

.lrn-clean-home-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 17px;
}


.lrn-clean-home-kicker {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
}


.lrn-clean-home-header h2 {
    margin: 0 0 5px;

    color: #222;

    font-size: 25px;
    line-height: 1.15;
    font-weight: 800;
}


.lrn-clean-home-header p {
    margin: 0;

    color: #777;

    font-size: 12px;
    line-height: 1.4;
}


.lrn-clean-home-view-all {
    flex-shrink: 0;

    color: var(--primary);

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
}


.lrn-clean-home-view-all:hover {
    text-decoration: underline;
}


/* =====================================================
   CLEANING OPTIONS
===================================================== */

.lrn-clean-home-options {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}


/* =====================================================
   CLEANING OPTION
===================================================== */

.lrn-clean-home-option {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 92px;
    padding: 12px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e2e8e2;

    border-radius: 12px;

    color: #222;

    text-decoration: none;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .04);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


/* =====================================================
   HOVER
===================================================== */

.lrn-clean-home-option:hover {
    transform: translateY(-3px);

    border-color: var(--primary);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, .08);
}


/* =====================================================
   ICON
===================================================== */

.lrn-clean-home-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;

    background: #eef7ee;

    border-radius: 50%;

    font-size: 25px;

    transition:
        background .2s ease,
        transform .2s ease;
}


.lrn-clean-home-option:hover .lrn-clean-home-option-icon {
    background: var(--primary);

    transform: scale(1.05);
}


/* =====================================================
   TEXT AREA
===================================================== */

.lrn-clean-home-option>div {
    min-width: 0;
}


.lrn-clean-home-option strong {
    display: block;
    margin-bottom: 3px;
    color: #222;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
}

.lrn-clean-home-option small {
    display: block;
    color: #777;
    font-size: 9px;
    line-height: 1.3;
}


/* =====================================================
   ALL CLEANING MATERIALS
===================================================== */

.lrn-clean-home-option-all {
    background: var(--primary);

    border-color: var(--primary);

    color: #ffffff;
}


.lrn-clean-home-option-all .lrn-clean-home-option-icon {
    background: rgba(255, 255, 255, .15);

    color: #ffffff;
}


.lrn-clean-home-option-all strong {
    color: #ffffff;
}


.lrn-clean-home-option-all small {
    color: rgba(255, 255, 255, .88);
}


.lrn-clean-home-option-all:hover {
    background: #256628;

    border-color: #256628;
}


.lrn-clean-home-option-all:hover .lrn-clean-home-option-icon {
    background: rgba(255, 255, 255, .22);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .lrn-clean-home-options {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .lrn-clean-home-hub {
        padding: 28px 0 32px;
    }


    /* =================================================
       HEADER
    ================================================= */

    .lrn-clean-home-header {

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: flex-start;

        gap: 6px;

        width: 100%;

        margin-bottom: 14px;
    }


    .lrn-clean-home-header>div {

        width: 100%;

        min-width: 0;
    }


    .lrn-clean-home-kicker {

        display: block;

        width: 100%;

        margin-bottom: 4px;

        font-size: 9px;

        line-height: 1.3;
    }


    .lrn-clean-home-header h2 {

        width: 100%;

        margin: 0 0 4px;

        font-size: 22px;

        line-height: 1.15;

        white-space: normal;
    }


    .lrn-clean-home-header p {

        width: 100%;

        margin: 0;

        font-size: 10px;

        line-height: 1.4;

        white-space: normal;
    }


    .lrn-clean-home-view-all {

        display: block;

        align-self: flex-start;

        margin-top: 2px;

        font-size: 10px;

        white-space: nowrap;
    }


    /* =================================================
       CLEANING OPTIONS
       ONE HORIZONTAL ROW
    ================================================= */

    .lrn-clean-home-options {

        display: flex;

        flex-wrap: nowrap;

        align-items: stretch;

        gap: 8px;

        width: 100%;

        overflow-x: auto;

        overflow-y: hidden;

        padding-bottom: 4px;

        scroll-behavior: smooth;

        scroll-snap-type: x proximity;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }


    .lrn-clean-home-options::-webkit-scrollbar {
        display: none;
    }


    /* =================================================
       CLEANING CARD
    ================================================= */

    .lrn-clean-home-option {

        flex: 0 0 clamp(135px,
                42vw,
                175px);

        min-height: 78px;

        padding: 11px;

        box-sizing: border-box;

        scroll-snap-align: start;
    }


    /* =================================================
       ICON
    ================================================= */

    .lrn-clean-home-option-icon {

        width: 42px;

        height: 42px;

        font-size: 20px;
    }


    /* =================================================
       TEXT
    ================================================= */

    .lrn-clean-home-option strong {

        font-size: 11px;

        line-height: 1.2;
    }


    .lrn-clean-home-option small {

        font-size: 9px;

        line-height: 1.3;
    }

}


/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 380px) {

    .lrn-clean-home-option {

        flex-basis: 140px;

        min-height: 74px;

        padding: 10px;
    }


    .lrn-clean-home-option-icon {

        width: 40px;

        height: 40px;

        font-size: 19px;
    }


    .lrn-clean-home-option strong {

        font-size: 10.5px;
    }


    .lrn-clean-home-option small {

        font-size: 8.5px;
    }

}


/* =====================================================
   LIRON BRANDED MERCHANDISE
===================================================== */

.lrn-branded-merch {
    width: 100%;

    padding: 34px 0 40px;

    background: #d8efc8;
}


/* =====================================================
   MAIN CARD
===================================================== */

.lrn-branded-merch-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr) minmax(0, 1fr);

    gap: 25px;

    align-items: center;

    padding: 25px 28px;

    background: #f7f8f7;

    border: 1px solid #e1e5e1;

    border-radius: 15px;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .04);
}


/* =====================================================
   BRAND INFORMATION
===================================================== */

.lrn-branded-merch-brand {
    min-width: 0;
}


.lrn-branded-merch-kicker {
    display: inline-block;

    margin-bottom: 6px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
}


.lrn-branded-merch-brand h2 {
    margin: 0 0 7px;

    color: #222;

    font-size: 25px;
    line-height: 1.15;
    font-weight: 800;
}


.lrn-branded-merch-brand p {
    max-width: 500px;

    margin: 0 0 15px;

    color: #707070;

    font-size: 12px;
    line-height: 1.45;
}


/* =====================================================
   BUTTON
===================================================== */

.lrn-branded-merch-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 17px;

    background: var(--primary);
    color: #ffffff;

    border-radius: 7px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;

    transition:
        background .2s ease,
        transform .2s ease;
}


.lrn-branded-merch-btn:hover {
    background: #256628;

    transform: translateY(-1px);
}


/* =====================================================
   PRODUCT PREVIEW
===================================================== */

.lrn-branded-merch-preview {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px;
}


/* =====================================================
   SMALL PRODUCT PREVIEW
===================================================== */

.lrn-branded-product {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 125px;

    padding: 12px 8px;

    background: #ffffff;

    border: 1px solid #e4e7e4;

    border-radius: 10px;

    text-align: center;
}


.lrn-branded-product-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 8px;

    background: #eef7ee;

    border-radius: 50%;

    font-size: 23px;
}


.lrn-branded-product span {
    margin-bottom: 3px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 800;
}


.lrn-branded-product strong {
    color: #333;

    font-size: 10px;
    line-height: 1.25;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 850px) {

    .lrn-branded-merch-card {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .lrn-branded-merch {
        padding: 28px 0 32px;
    }


    .lrn-branded-merch-card {
        padding: 20px 16px;

        border-radius: 13px;
    }


    .lrn-branded-merch-brand h2 {
        font-size: 22px;
    }


    .lrn-branded-merch-preview {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .lrn-branded-product {
        min-height: 105px;

        padding: 9px 5px;
    }


    .lrn-branded-product-icon {
        width: 42px;
        height: 42px;

        margin-bottom: 6px;

        font-size: 19px;
    }

}




/* =====================================================
   LIRON HOMEPAGE
   SHOP BY CATEGORY
===================================================== */

.lrn-home-categories {
    width: 100%;
    padding: 32px 0 38px;
    background: var(--primary-soft);
}


/* =====================================================
   HEADER
===================================================== */

.lrn-home-categories-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    width: 100%;

    margin-bottom: 18px;
}


.lrn-home-categories-header>div {
    min-width: 0;
}


.lrn-home-section-kicker {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--primary);

    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: .3px;
}


.lrn-home-categories-header h2 {
    margin: 0 0 5px;

    color: #222;

    font-size: 25px;
    line-height: 1.15;
    font-weight: 800;
}


.lrn-home-categories-header p {
    margin: 0;

    color: #777;

    font-size: 12px;
    line-height: 1.4;
}


/* =====================================================
   VIEW ALL
===================================================== */

.lrn-home-categories-view-all {
    flex-shrink: 0;

    color: var(--primary);

    text-decoration: none;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;

    white-space: nowrap;
}


.lrn-home-categories-view-all:hover {
    text-decoration: underline;
}


/* =====================================================
   CATEGORY GRID
===================================================== */

.lrn-home-category-grid {
    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    gap: 10px;

    width: 100%;
}


/*
   product.js generates:

   .category-item
   .category-icon
   .category-name

   inside #categoryGrid.
*/


/* =====================================================
   CATEGORY CARD
===================================================== */

.lrn-home-category-grid .category-item {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-width: 0;

    min-height: 105px;

    padding: 13px 8px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e5e5e5;

    border-radius: 10px;

    color: #222;

    text-decoration: none;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, .04);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.lrn-home-category-grid .category-item:hover {
    transform: translateY(-3px);

    border-color: var(--primary);

    box-shadow:
        0 6px 14px rgba(0, 0, 0, .08);
}


/* =====================================================
   CATEGORY ICON
===================================================== */

.lrn-home-category-grid .category-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 48px;
    height: 48px;

    margin-bottom: 8px;

    background: #f1f8f1;

    border-radius: 50%;

    color: var(--primary);

    font-size: 23px;

    transition:
        background .2s ease,
        transform .2s ease;
}


.lrn-home-category-grid .category-item:hover .category-icon {
    background: var(--primary);

    color: #ffffff;

    transform: scale(1.05);
}


/* =====================================================
   CATEGORY NAME
===================================================== */

.lrn-home-category-grid .category-name {
    width: 100%;

    color: #333;

    font-size: 11px;
    line-height: 1.25;
    font-weight: 700;

    text-align: center;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =====================================================
   MORE CATEGORIES
===================================================== */

.lrn-home-category-grid .category-item.more {
    background: var(--primary);

    border-color: var(--primary);

    color: #ffffff;
}


.lrn-home-category-grid .category-item.more .category-icon {
    background: rgba(255, 255, 255, .15);

    color: #ffffff;

    font-size: 25px;
}


.lrn-home-category-grid .category-item.more .category-name {
    color: #ffffff;
}


.lrn-home-category-grid .category-item.more:hover {
    background: #256628;

    border-color: #256628;
}


/* =====================================================
   TABLET
   HORIZONTAL CATEGORY ROW
===================================================== */

@media (max-width: 900px) {

    .lrn-home-category-grid {

        display: flex;

        flex-wrap: nowrap;

        align-items: stretch;

        gap: 8px;

        width: 100%;

        overflow-x: auto;

        overflow-y: hidden;

        padding-bottom: 4px;

        scroll-behavior: smooth;

        scroll-snap-type: x proximity;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }


    .lrn-home-category-grid::-webkit-scrollbar {
        display: none;
    }


    .lrn-home-category-grid .category-item {

        flex: 0 0 clamp(115px,
                30vw,
                145px);

        min-height: 92px;

        padding: 10px 7px;

        scroll-snap-align: start;
    }


    .lrn-home-category-grid .category-icon {

        width: 40px;

        height: 40px;

        margin-bottom: 6px;

        font-size: 19px;
    }


    .lrn-home-category-grid .category-name {

        font-size: 10px;

        line-height: 1.25;
    }

}


/* =====================================================
   MOBILE
   FULL-WIDTH HEADER + HORIZONTAL CATEGORIES
===================================================== */

@media (max-width: 600px) {

    .lrn-home-categories {

        padding: 25px 0 30px;
    }


    /* =================================================
       HEADER
    ================================================= */

    .lrn-home-categories-header {

        display: block;

        width: 100%;

        margin-bottom: 14px;
    }


    /* =================================================
       TEXT BLOCK
    ================================================= */

    .lrn-home-categories-header>div {

        display: block;

        width: 100%;

        max-width: 100%;

        margin: 0 0 7px;

        padding: 0;

        box-sizing: border-box;
    }


    .lrn-home-section-kicker {

        display: block;

        width: 100%;

        margin: 0 0 5px;

        font-size: 9px;

        line-height: 1.3;
    }


    .lrn-home-categories-header h2 {

        display: block;

        width: 100%;

        margin: 0 0 5px;

        font-size: 22px;

        line-height: 1.15;

        font-weight: 800;

        white-space: normal;
    }


    .lrn-home-categories-header p {

        display: block;

        width: 100%;

        max-width: 100%;

        margin: 0;

        font-size: 10px;

        line-height: 1.4;

        white-space: normal;
    }


    /* =================================================
       VIEW ALL
    ================================================= */

    .lrn-home-categories-view-all {

        display: inline-block;

        width: auto;

        margin: 0;

        font-size: 10px;

        line-height: 1.3;

        white-space: nowrap;
    }


    /* =================================================
       CATEGORY CARDS
       ONE HORIZONTAL ROW
    ================================================= */

    .lrn-home-category-grid {

        display: flex;

        flex-wrap: nowrap;

        align-items: stretch;

        gap: 8px;

        width: 100%;

        overflow-x: auto;

        overflow-y: hidden;

        padding-bottom: 4px;

        scroll-behavior: smooth;

        scroll-snap-type: x proximity;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }


    .lrn-home-category-grid::-webkit-scrollbar {
        display: none;
    }


    .lrn-home-category-grid .category-item {

        flex: 0 0 115px;

        min-height: 88px;

        padding: 9px 6px;

        scroll-snap-align: start;
    }


    .lrn-home-category-grid .category-icon {

        width: 38px;

        height: 38px;

        margin-bottom: 6px;

        font-size: 18px;
    }


    .lrn-home-category-grid .category-name {

        font-size: 9.5px;

        line-height: 1.25;
    }

}


/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 380px) {

    .lrn-home-categories {

        padding: 23px 0 28px;
    }


    .lrn-home-categories-header {

        margin-bottom: 12px;
    }


    .lrn-home-categories-header h2 {

        font-size: 21px;
    }


    .lrn-home-categories-header p {

        font-size: 9.5px;

        line-height: 1.4;
    }


    .lrn-home-categories-view-all {

        font-size: 9.5px;
    }


    .lrn-home-category-grid {

        gap: 7px;
    }


    .lrn-home-category-grid .category-item {

        flex-basis: 110px;

        min-height: 86px;

        padding: 8px 6px;
    }


    .lrn-home-category-grid .category-icon {

        width: 36px;

        height: 36px;

        font-size: 17px;
    }


    .lrn-home-category-grid .category-name {

        font-size: 9px;
    }

}


/* -----------------------------------------------------
   CAMPAIGN OUTER CONTAINER
----------------------------------------------------- */

.lrn-home-hero-campaign {
    flex: 1 1 50%;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;

    margin-top: 20px;

    border: 1px solid #eeeeee;
    border-radius: 24px;

    background-color: var(--campaign-color, var(--primary));

    transition: background-color 0.9s ease;
}


/* -----------------------------------------------------
   SOFT COLOR OVERLAY
----------------------------------------------------- */

.lrn-home-hero-campaign::before {
    content: "";
    position: absolute;
    inset: 15;
    z-index: 0;
    pointer-events: none;

    background:
        radial-gradient(circle at 15% 20%,
            rgba(255, 255, 255, 0.18),
            transparent 38%),
        radial-gradient(circle at 85% 80%,
            rgba(255, 255, 255, 0.10),
            transparent 42%);
}

.lrn-home-campaign-label {
    color: #adf5f5;
}


/* -----------------------------------------------------
   FEATURED CAMPAIGN LABEL
----------------------------------------------------- */

.lrn-home-campaign-label {
    position: absolute;
    top: 16px;
    left: 20px;
    z-index: 50;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 13px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.95);
    color: #222222;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* -----------------------------------------------------
   CAMPAIGN SLIDER
----------------------------------------------------- */

.lrn-campaign-slider {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 360px;

    box-sizing: border-box;
    overflow: visible;
}


/* -----------------------------------------------------
   CAMPAIGN SLIDE
----------------------------------------------------- */

.lrn-campaign-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    box-sizing: border-box;

    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr) minmax(0, 1.05fr);

    align-items: center;
    gap: 20px;

    padding: 45px 45px 35px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(18px);

    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        visibility 0s linear 0.55s;
}


.lrn-campaign-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(0);

    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        visibility 0s linear 0s;
}


/* -----------------------------------------------------
   PRODUCT IMAGE CARD
----------------------------------------------------- */

.lrn-home-campaign-image {
    width: 100%;
    height: 230px;
    min-height: 230px;
    min-width: 0;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    align-self: center;

    margin: 0 !important;
    padding: 0;

    box-sizing: border-box;
    overflow: hidden;

    border-radius: 18px;
    overflow: hidden;

    transform: none !important;
}


/* -----------------------------------------------------
   IMAGE LOADING STATE
----------------------------------------------------- */

.lrn-home-campaign-image::before {
    content: "Loading product...";

    position: absolute;
    inset: 0;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    color: #777777;
    font-size: 13px;
    font-weight: 600;
    text-align: center;

    pointer-events: none;
}


.lrn-home-campaign-image.image-loaded::before {
    display: none;
}


/* -----------------------------------------------------
   PRODUCT IMAGE
----------------------------------------------------- */

.lrn-home-campaign-image img {
    display: block;

    width: auto;
    height: 175px;

    max-width: 88%;
    max-height: 88%;

    object-fit: contain;
    object-position: center;

    border-radius: 18px;

    opacity: 0;

    transform: scale(0.98);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}


.lrn-home-campaign-image.image-loaded img {
    opacity: 1;
    transform: scale(1);
}


.lrn-campaign-slide:hover .lrn-home-campaign-image img {
    transform: scale(1.04);
}


/* -----------------------------------------------------
   INFORMATION CARD
----------------------------------------------------- */

.lrn-home-campaign-content {
    position: relative;
    width: 100%;
    height: 230px;
    min-height: 230px;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    align-self: center;

    margin: 0 !important;
    padding: 18px 24px;

    box-sizing: border-box;
    overflow: hidden;

    border-radius: 18px;

    background: var(--campaign-content-bg, var(--gold));

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    transform: none !important;

    transition:
        background-color 0.9s ease,
        box-shadow 0.3s ease;
}


/* -----------------------------------------------------
   PROMO LABEL
----------------------------------------------------- */

.lrn-campaign-promo {
    display: block;

    width: 100%;
    flex: 0 0 auto;

    margin: 0 0 7px;

    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.5px;

    text-transform: uppercase;

    color:
        var(--campaign-text-accent,
            var(--primary));

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =====================================================
   FINAL CAMPAIGN TITLE FIX
===================================================== */

.lrn-home-campaign-content h2 {
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 0 14px !important;

    font-size: 22px !important;
    line-height: 1.15 !important;

    font-weight: 800;

    display: block !important;

    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;

    overflow: visible !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}


/*
   No product description is displayed in the
   Featured Campaign card. The product name is
   the main information.
*/


/* -----------------------------------------------------
   SHOP NOW BUTTON
----------------------------------------------------- */

.lrn-campaign-shop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 36px;

    padding: 0 17px;
    margin-top: 45px !important;

    box-sizing: border-box;

    border: 0;
    border-radius: 7px;

    background:
        var(--campaign-button-color,
            var(--primary));

    color: #ffffff;

    font-size: 13px;
    line-height: 1;
    font-weight: 700;

    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;

    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);

    transition:
        background-color 0.5s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.lrn-home-campaign-content .lrn-campaign-shop-button {
    position: absolute;
    left: 24px;
    bottom: 18px;
    margin-top: 0 !important;
}


.lrn-campaign-shop-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 16px rgba(0, 0, 0, 0.16);
}


/* -----------------------------------------------------
   OLD BUTTON CLASS COMPATIBILITY
----------------------------------------------------- */

.lrn-home-campaign-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 0 17px;

    border: 0;
    border-radius: 7px;

    background:
        var(--campaign-button-color,
            var(--primary));

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


/* -----------------------------------------------------
   CAMPAIGN DOTS
----------------------------------------------------- */

.lrn-campaign-dots {
    position: absolute;

    left: 50%;
    bottom: 22px;

    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    max-width: calc(100% - 30px);

    transform: translateX(-50%);
}


/* -----------------------------------------------------
   CAMPAIGN DOT
----------------------------------------------------- */

.lrn-campaign-dot {
    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.85);

    cursor: pointer;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.10);

    transition:
        width 0.35s ease,
        background-color 0.35s ease,
        transform 0.35s ease;
}


.lrn-campaign-dot:hover {
    background: #ffffff;
    transform: scale(1.1);
}


.lrn-campaign-dot.active {
    width: 22px;

    border-radius: 10px;

    background:
        var(--campaign-dot-active,
            var(--text-dark));

    transform: scale(1);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 768px) {

    .lrn-home-hero-campaign {
        min-height: 400px;
        margin-top: 18px;
        border-radius: 20px;
    }


    .lrn-home-campaign-label {
        top: 14px;
        left: 16px;

        padding: 6px 11px;

        font-size: 11px;
    }


    .lrn-campaign-slider {
        height: 330px;
    }


    .lrn-campaign-slide {
        grid-template-columns:
            minmax(0, 1fr) minmax(0, 1.08fr);

        gap: 16px;

        padding: 44px 20px 25px;

        align-items: center;
    }


    .lrn-home-campaign-image,
    .lrn-home-campaign-content {
        width: 100%;
        height: 210px;
        min-height: 210px;

        align-self: center;
    }


    .lrn-home-campaign-image img {
        height: 165px;
        max-width: 88%;
    }


    .lrn-home-campaign-content {
        padding: 16px 20px;
    }

    .lrn-home-campaign-content h2 {
        height: auto;

        margin-bottom: 6px;

        font-size: 22px;
        line-height: 1.12;

        overflow: visible;
    }


    .lrn-campaign-promo {
        margin-bottom: 6px;
        font-size: 11px;
    }


    .lrn-home-campaign-content h2 {
        margin-bottom: 12px;

        font-size: 23px;
        line-height: 1.12;
    }


    .lrn-campaign-shop-button {
        min-height: 34px;

        padding: 0 15px;

        font-size: 12px;
    }


    .lrn-campaign-dots {
        bottom: 20px;
        gap: 7px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 576px) {

    .lrn-home-hero-campaign {
        min-height: 470px;
        border-radius: 18px;
    }


    .lrn-home-campaign-label {
        top: 12px;
        left: 14px;

        padding: 6px 10px;

        font-size: 10px;
    }


    .lrn-campaign-slider {
        height: 390px;
    }


    .lrn-campaign-slide {
        display: grid;

        grid-template-columns: 1fr;
        grid-template-rows:
            145px 175px;

        gap: 8px;

        padding: 35px 20px 10px;

        align-content: start;
    }


    .lrn-home-campaign-image {
        width: 100%;

        height: 145px;
        min-height: 145px;

        border-radius: 16px;
    }


    .lrn-home-campaign-image img {
        height: 130px;
        max-width: 80%;
    }


    .lrn-home-campaign-content {
        width: 100%;

        height: 175px;
        min-height: 175px;

        padding: 15px 18px;

        border-radius: 16px;
    }


    .lrn-campaign-promo {
        margin-bottom: 5px;
        font-size: 10px;
    }


    .lrn-home-campaign-content h2 {
        height: auto;

        margin-bottom: 5px;

        font-size: 20px;
        line-height: 1.1;

        overflow: visible;
    }


    .lrn-campaign-shop-button {
        min-height: 31px;

        padding: 0 14px;

        font-size: 11px;
    }


    .lrn-campaign-dots {
        bottom: 18px;
        gap: 5px;
    }


    .lrn-campaign-dot {
        width: 11px;
        height: 11px;
    }


    .lrn-campaign-dot.active {
        width: 18px;
    }
}


/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 380px) {

    .lrn-home-hero-campaign {
        min-height: 455px;
    }


    .lrn-campaign-slider {
        height: 375px;
    }


    .lrn-campaign-slide {
        grid-template-rows:
            135px 170px;

        padding-left: 15px;
        padding-right: 15px;
    }


    .lrn-home-campaign-image {
        height: 135px;
        min-height: 135px;
    }


    .lrn-home-campaign-image img {
        height: 120px;
    }


    .lrn-home-campaign-content {
        height: 170px;
        min-height: 170px;

        padding: 14px 16px;
    }


    .lrn-home-campaign-content h2 {
        font-size: 18px;
    }
}


/* =====================================================
   REDUCED MOTION
===================================================== */

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

    .lrn-home-hero-campaign,
    .lrn-home-campaign-content,
    .lrn-home-campaign-content h2,
    .lrn-home-campaign-content p,
    .lrn-campaign-slide,
    .lrn-home-campaign-image img,
    .lrn-campaign-dot,
    .lrn-campaign-shop-button {
        transition: none !important;
    }
}


/* =====================================================
   FINAL FEATURED CAMPAIGN FIX
===================================================== */

.lrn-home-campaign-image {
    border-radius: 18px !important;
    overflow: hidden !important;
    isolation: isolate;
}

.lrn-home-campaign-image img {
    display: block !important;

    border-radius: 18px !important;
    clip-path: inset(0 round 18px);

    object-fit: contain;
}



/* =====================================================
   PRODUCT COLOR — FILL ENTIRE CAMPAIGN
===================================================== */

.lrn-home-hero-campaign {
    position: relative;
    overflow: hidden;

    background-color: var(--campaign-color,
            #D8EFC8) !important;
}


/* Product image becomes the full-card color source */

.lrn-home-hero-campaign::after {
    content: "";

    position: absolute;
    inset: -100px;

    z-index: 0;

    pointer-events: none;

    background-image: var(--campaign-image,
            none);

    background-repeat: no-repeat;

    /*
       Make the product image very large so
       its colors spread across the whole card.
    */
    background-size: 180% 180%;

    background-position: center;

    filter: blur(100px);

    transform: scale(1.15);

    opacity: 0.90;

    transition:
        background-image 0.8s ease,
        opacity 0.8s ease;
}


/* Lighten the extracted/product color */

.lrn-home-hero-campaign::before {
    z-index: 1;

    background:
        rgba(255, 255, 255, 0.18) !important;
}


/* Everything else stays above the color layer */

.lrn-home-hero-campaign>* {
    position: relative;
    z-index: 2;
}


/* Keep label above everything */

.lrn-home-campaign-label {
    z-index: 50;
}


/* Keep navigation dots above everything */

.lrn-campaign-dots {
    z-index: 50;
}