/* Pritto homepage. Content remains editable through WordPress blocks. */

.home .site-main,
.home .entry-content {
    margin: 0;
    padding: 0;
    background: #fff;
}

/* Final cascade lock: preserve the approved banner and custom section. */
.pritto-home-trending {
    position: relative;
    padding: 112px 7vw 120px;
}

.pritto-home-section-head {
    margin-bottom: 42px;
}

.pritto-home-section-head__link {
    display: none;
}

.pritto-home-path-intro figure {
    width: 52px;
    height: 52px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #c7f36e;
}

.pritto-home-path-intro img {
    width: 24px;
    height: 24px;
}

@media (max-width: 850px) {
    .pritto-home-trending {
        padding: 86px 20px;
    }

    .pritto-home-section-head {
        margin-bottom: 24px;
    }
}

/* Final homepage product carousel */
.pritto-home-trending {
    position: relative;
    padding: 112px 7vw 120px;
}

.pritto-home-section-head {
    margin-bottom: 42px;
}

.pritto-home-section-head__link {
    display: none;
}

.pritto-product-carousel {
    position: relative;
    max-width: 1250px;
    margin: 0 auto;
}

.pritto-product-carousel__actions {
    position: absolute;
    right: 0;
    bottom: calc(100% + 42px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pritto-product-carousel__actions button {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d8e3de;
    border-radius: 50%;
    background: #fff;
    color: var(--home-green);
    font-size: 14px;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.pritto-product-carousel__actions button:hover,
.pritto-product-carousel__actions button:focus-visible {
    border-color: var(--home-green);
    background: var(--home-green);
    color: #fff;
}

.pritto-product-carousel__actions a {
    margin-left: 14px;
    color: var(--home-green);
    font-size: 13px;
    font-weight: 600;
}

.pritto-product-carousel__track {
    display: grid;
    grid-template-columns: repeat(8, minmax(290px, 1fr));
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.pritto-product-carousel__track::-webkit-scrollbar {
    display: none;
}

.pritto-product-carousel__card {
    position: relative;
    isolation: isolate;
    height: 390px;
    padding: 22px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 26px;
    color: #fff !important;
    scroll-snap-align: start;
}

.pritto-product-carousel__card::after {
    position: absolute;
    z-index: -1;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgba(3, 35, 28, .82));
    content: "";
}

.pritto-product-carousel__card img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.pritto-product-carousel__card:hover img {
    transform: scale(1.045);
}

.pritto-product-carousel__card strong {
    color: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.pritto-home-start {
    margin-top: 18px;
    padding: 28px 30px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    align-items: center;
    border: 1px solid #d8e3de;
    border-radius: 24px;
    background: #f7faf8;
}

.pritto-home-start > div {
    display: flex;
    flex-direction: column;
}

.pritto-home-start > div span {
    color: var(--home-green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.pritto-home-start > div strong {
    margin-top: 4px;
    color: var(--home-heading);
    font-size: 20px;
    font-weight: 600;
}

.pritto-home-start > a {
    min-height: 64px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 1px solid #d8e3de;
    color: var(--home-green);
    font-size: 13px;
    font-weight: 600;
}

/* Keep the confirmed card size and only reduce the PP mark inside it. */
.pritto-home-path-intro figure {
    width: 52px;
    height: 52px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #c7f36e;
}

.pritto-home-path-intro img {
    width: 24px;
    height: 24px;
}

@media (max-width: 850px) {
    .pritto-home-trending {
        padding: 86px 20px;
    }

    .pritto-home-section-head {
        margin-bottom: 24px;
    }

    .pritto-product-carousel__actions {
        position: static;
        margin-bottom: 22px;
    }

    .pritto-product-carousel__actions a {
        margin-left: 5px;
    }

    .pritto-product-carousel__track {
        grid-template-columns: repeat(8, 82vw);
    }

    .pritto-product-carousel__card {
        height: 370px;
    }

    .pritto-home-start {
        padding: 24px;
        grid-template-columns: 1fr;
    }

    .pritto-home-start > a {
        border-left: 0;
        border-top: 1px solid #d8e3de;
    }
}

.home .entry-content > * {
    max-width: none;
}

.pritto-home {
    --home-green: #0c3329;
    --home-heading: #12231e;
    --home-muted: #708078;
    --home-line: #dce6e1;
    --home-mist: #f2f8f5;
    --home-signal: #c7f36e;
    color: var(--home-heading);
    gap: 0 !important;
}

.pritto-home > * {
    margin-block: 0 !important;
}

.pritto-home a {
    text-decoration: none;
}

.pritto-home .pritto-home-eyebrow {
    margin: 0;
    color: var(--home-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.pritto-home-hero {
    position: relative;
    min-height: 900px;
    padding: 102px 24px 390px;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #f5f9f7 100%);
}

.pritto-home-hero::before,
.pritto-home-hero::after {
    position: absolute;
    left: 50%;
    bottom: -205px;
    width: 720px;
    height: 720px;
    border: 1px solid #dcebe4;
    border-radius: 50%;
    content: "";
    transform: translateX(-64%);
}

.pritto-home-hero::after {
    transform: translateX(-36%);
}

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

.pritto-home-hero h1 {
    max-width: 1040px;
    margin: 24px auto 18px;
    color: var(--home-heading);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.pritto-home-hero h1 em,
.pritto-home-custom h2 em {
    color: var(--home-green);
    font-style: normal;
}

.pritto-home-hero__intro {
    margin: 0 auto;
    color: var(--home-muted);
    font-size: 19px;
}

.pritto-home-ask {
    width: min(790px, 100%);
    min-height: 82px;
    margin: 54px auto 0;
    padding: 13px 13px 13px 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #d9e3de;
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 60px rgba(8, 38, 31, .11);
}

.pritto-home-ask input[type="text"] {
    min-width: 0;
    height: 58px;
    flex: 1;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--home-heading);
    font-size: 17px;
    box-shadow: none;
    outline: 0;
}

.pritto-home-ask__attach {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #edf6f1;
    color: var(--home-green) !important;
    font-size: 30px;
    font-weight: 400;
}

.pritto-home-ask button {
    min-width: 170px;
    height: 58px;
    padding: 0 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 17px;
    background: var(--home-green);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.pritto-home-hero__browse {
    margin: 38px 0 0;
}

.pritto-home-hero__browse a {
    color: var(--home-green);
    font-size: 14px;
    font-weight: 600;
}

.pritto-home-hero figure.pritto-home-hero__image {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: -34px;
    width: min(1080px, 88vw);
    margin: 0;
    transform: translateX(-50%);
    pointer-events: none;
}

.pritto-home-hero__image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 27px 28px rgba(8, 38, 31, .11));
}

.pritto-home-trending {
    padding: 128px 7vw 110px;
    background: #fff;
}

.pritto-home-section-head {
    max-width: 1250px;
    margin: 0 auto 55px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
}

.pritto-home-section-head h2 {
    margin: 15px 0 0;
    color: var(--home-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.pritto-home-section-head__link {
    margin: 0;
}

.pritto-home-section-head__link a {
    padding-bottom: 8px;
    color: var(--home-green);
    font-size: 14px;
    font-weight: 600;
}

.pritto-trending-grid {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-auto-rows: 245px;
    gap: 18px;
}

.pritto-trending-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 26px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    border-radius: 26px;
    background-color: #edf5f1;
    background-image: var(--pritto-card-image);
    background-position: center;
    background-size: cover;
    color: #fff !important;
}

.pritto-trending-card::after {
    position: absolute;
    z-index: -1;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgba(5, 31, 25, .76));
    content: "";
}

.pritto-trending-card > span {
    margin-right: auto;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    opacity: .78;
}

.pritto-trending-card strong {
    color: inherit;
    font-size: 20px;
    letter-spacing: -.025em;
}

.pritto-trending-card b {
    font-size: 20px;
}

.pritto-trending-card--bags {
    grid-row: span 2;
}

.pritto-trending-card--budget {
    min-height: 140px;
    grid-column: 1 / -1;
    align-items: center;
    background: var(--home-green);
}

.pritto-trending-card--budget::after {
    display: none;
}

.pritto-trending-card--budget strong {
    font-size: 27px;
}

.pritto-home-custom {
    padding: 120px 7vw;
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    align-items: center;
    gap: 80px;
    background: var(--home-mist);
}

.pritto-home-custom__copy {
    max-width: none;
    padding-left: max(0px, calc((100vw - 1250px) / 2 - 7vw));
    justify-self: stretch;
}

.pritto-home-custom h2 {
    margin: 22px 0 0;
    color: var(--home-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.pritto-home-custom__copy > p:not(.pritto-home-eyebrow) {
    margin: 20px 0 30px;
    color: var(--home-muted);
    font-size: 20px;
}

.pritto-home-custom__copy .wp-block-button__link {
    padding: 14px 21px;
    border-radius: 999px;
    background: var(--home-green);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.pritto-home-path-card {
    min-height: 430px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #d2e1da;
    border-radius: 30px;
    background: linear-gradient(145deg, #fff 0%, #e4f1eb 100%);
    box-shadow: 0 28px 80px rgba(9, 51, 42, .07);
}

.pritto-home-path-intro {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pritto-home-path-intro figure {
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    flex: 0 0 52px;
    border-radius: 0;
    background: transparent;
}

.pritto-home-path-intro img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: contain;
    mix-blend-mode: normal;
}

.pritto-home-path-intro p {
    max-width: 420px;
    margin: 0;
    color: #536660;
    font-size: 17px;
    line-height: 1.55;
}

.pritto-home-path {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    gap: 13px;
}

.pritto-home-path__step {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pritto-home-path__line {
    height: 1px;
    background: #b9cbc3;
}

.pritto-home-path__step p {
    margin: 0;
    font-size: 0;
    line-height: normal;
}

.pritto-home-path__step span {
    color: #789087;
    font-size: 10px;
    font-weight: 700;
    line-height: normal;
}

.pritto-home-path__step strong {
    font-size: 13px;
    line-height: normal;
}

@media (max-width: 850px) {
    .pritto-home-hero {
        min-height: 820px;
        padding: 76px 20px 330px;
    }

    .pritto-home-hero::before,
    .pritto-home-hero::after {
        bottom: -170px;
        width: 510px;
        height: 510px;
    }

    .pritto-home-hero h1 {
        margin-top: 32px;
        font-size: 32px;
        line-height: 1.15;
    }

    .pritto-home-hero__intro {
        max-width: 300px;
        font-size: 15px;
        line-height: 1.5;
    }

    .pritto-home-ask {
        min-height: 0;
        margin-top: 38px;
        padding: 12px;
        display: grid;
        grid-template-columns: 50px 1fr;
        border-radius: 20px;
    }

    .pritto-home-ask input[type="text"] {
        height: 46px;
        grid-column: 1 / -1;
        padding: 0 4px;
        font-size: 15px;
    }

    .pritto-home-ask__attach {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .pritto-home-ask button {
        width: 100%;
        min-width: 0;
        height: 50px;
        border-radius: 14px;
    }

    .pritto-home-hero__browse {
        margin-top: 27px;
    }

    .pritto-home-hero figure.pritto-home-hero__image {
        bottom: 8px;
        width: 650px;
        max-width: none;
    }

    .pritto-home-trending {
        padding: 86px 20px;
    }

    .pritto-home-section-head {
        margin-bottom: 38px;
        align-items: flex-start;
        flex-direction: column;
    }

    .pritto-home-section-head h2,
    .pritto-home-custom h2 {
        font-size: 26px;
    }

    .pritto-trending-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 210px;
        gap: 12px;
    }

    .pritto-trending-card {
        padding: 18px;
        border-radius: 20px;
    }

    .pritto-trending-card strong {
        font-size: 16px;
    }

    .pritto-trending-card--bags {
        min-height: 300px;
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .pritto-trending-card--budget {
        min-height: 105px;
        grid-column: 1 / -1;
    }

    .pritto-trending-card--budget strong {
        font-size: 20px;
    }

    .pritto-home-custom {
        padding: 85px 20px;
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .pritto-home-custom__copy {
        max-width: none;
        padding-left: 0;
        justify-self: stretch;
    }

    .pritto-home-path-card {
        min-height: 440px;
        padding: 28px;
    }

    .pritto-home-path {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pritto-home-path__step {
        padding: 14px 0;
        display: grid;
        grid-template-columns: 32px 1fr;
        border-top: 1px solid #cbdad3;
    }

    .pritto-home-path__step::after {
        display: none;
    }

    .pritto-home-path__line {
        display: none;
    }
}

/* Approved final overrides. Banner rules above remain untouched. */
.pritto-home-trending {
    position: relative;
    padding: 112px 7vw 120px;
}

.pritto-home-section-head {
    margin-bottom: 42px;
}

.pritto-home-section-head__link {
    display: none;
}

.pritto-home-path-intro figure {
    width: 52px;
    height: 52px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #c7f36e;
}

.pritto-home-path-intro img {
    width: 24px;
    height: 24px;
}

@media (max-width: 850px) {
    .pritto-home-trending {
        padding: 86px 20px;
    }

    .pritto-home-section-head {
        margin-bottom: 24px;
    }
}

