/* 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: 28px;
    height: 28px;
}

@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: 28px;
    height: 28px;
}

@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(740px, 100%);
    min-height: 70px;
    margin: 54px auto 0;
    padding: 10px 10px 10px 24px;
    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: 48px;
    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: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #edf6f1;
    color: var(--home-green) !important;
    font-size: 30px;
    font-weight: 400;
}

.pritto-home-ask button {
    min-width: 158px;
    height: 48px;
    padding: 0 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 15px;
    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(1160px, 90vw);
    margin: 0;
    transform: translateX(calc(-50% + var(--pritto-hero-shift-x, 0px))) translateY(var(--pritto-hero-shift-y, 0px));
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
    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-hero__image::after {
    position: absolute;
    inset: 0;
    background-image:
        url("../images/homepage/pritto-icon-sharp.png"),
        url("../images/homepage/pritto-icon-sharp.png");
    background-position: 45% 78%, 68% 69%;
    background-repeat: no-repeat;
    background-size: 2.8% auto, 3.2% auto;
    content: "";
    opacity: .86;
    mix-blend-mode: multiply;
}

.pritto-home-hero__image::before {
    position: absolute;
    z-index: 2;
    top: 82%;
    left: 14.1%;
    width: 3.2%;
    aspect-ratio: 1;
    background: #f4fff9;
    content: "";
    opacity: .84;
    transform: translate(-50%, -50%);
    -webkit-mask: url("../images/homepage/pritto-icon-sharp.png") center / contain no-repeat;
    mask: url("../images/homepage/pritto-icon-sharp.png") center / contain no-repeat;
}

.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: 560px;
    margin: 0;
    color: #536660;
    font-size: 18px;
    line-height: 1.5;
}

/* Quiet motion system: reveal, hover depth, and restrained hero parallax. */
.pritto-motion-ready .pritto-home-hero h1,
.pritto-motion-ready .pritto-home-hero__intro,
.pritto-motion-ready .pritto-home-ask,
.pritto-motion-ready .pritto-home-hero__browse,
.pritto-motion-ready .pritto-home-hero__image,
.pritto-motion-ready .pritto-home-trending,
.pritto-motion-ready .pritto-home-custom,
.pritto-motion-ready #footer {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .72s ease, transform .72s cubic-bezier(.2, .7, .2, 1);
}

.pritto-motion-ready .pritto-home-hero__image {
    transform: translateX(-50%) translateY(30px);
}

.pritto-motion-ready .pritto-home-hero.is-revealed h1,
.pritto-motion-ready .pritto-home-hero.is-revealed .pritto-home-hero__intro,
.pritto-motion-ready .pritto-home-hero.is-revealed .pritto-home-ask,
.pritto-motion-ready .pritto-home-hero.is-revealed .pritto-home-hero__browse,
.pritto-motion-ready .pritto-home-hero.is-revealed .pritto-home-hero__image,
.pritto-motion-ready .pritto-home-trending.is-revealed,
.pritto-motion-ready .pritto-home-custom.is-revealed,
.pritto-motion-ready #footer.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.pritto-motion-ready .pritto-home-hero.is-revealed .pritto-home-hero__image {
    transform: translateX(calc(-50% + var(--pritto-hero-shift-x, 0px))) translateY(var(--pritto-hero-shift-y, 0px));
}

.pritto-home-hero.is-revealed .pritto-home-hero__intro { transition-delay: .08s; }
.pritto-home-hero.is-revealed .pritto-home-ask { transition-delay: .15s; }
.pritto-home-hero.is-revealed .pritto-home-hero__browse { transition-delay: .2s; }
.pritto-home-hero.is-revealed .pritto-home-hero__image { transition-delay: .12s; }

.pritto-product-carousel__card,
.pritto-home-path-card,
.pritto-home-custom__copy .wp-block-button__link,
.pritto-home-ask button,
.pritto-home-ask__attach {
    transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease;
}

@media (hover: hover) {
    .pritto-product-carousel__card:hover {
        transform: translateY(-7px);
        box-shadow: 0 20px 40px rgba(12, 51, 41, .12);
    }

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

    .pritto-home-path-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 34px 90px rgba(9, 51, 42, .11);
    }

    .pritto-home-custom__copy .wp-block-button__link:hover,
    .pritto-home-ask button:hover,
    .pritto-home-ask__attach:hover {
        transform: translateY(-2px);
    }
}

.pritto-product-carousel__card img {
    transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
    .pritto-motion-ready .pritto-home-hero h1,
    .pritto-motion-ready .pritto-home-hero__intro,
    .pritto-motion-ready .pritto-home-ask,
    .pritto-motion-ready .pritto-home-hero__browse,
    .pritto-motion-ready .pritto-home-hero__image,
    .pritto-motion-ready .pritto-home-trending,
    .pritto-motion-ready .pritto-home-custom,
    .pritto-motion-ready #footer {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pritto-motion-ready .pritto-home-hero__image,
    .pritto-motion-ready .pritto-home-hero.is-revealed .pritto-home-hero__image {
        transform: translateX(-50%);
    }
}

.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: 10px;
        display: grid;
        grid-template-columns: 50px 1fr;
        border-radius: 20px;
    }

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

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

    .pritto-home-ask button {
        width: 100%;
        min-width: 0;
        height: 46px;
        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: 28px;
    height: 28px;
}

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

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