/* ============================================================
   NEW HOME TEMPLATE — minimal placeholder styles
   Override / replace as design lands.
   ============================================================ */
.new-home-page {
    overflow-x: hidden;
}

/* WebP <picture> wrappers are layout-transparent: the inner <img> keeps
   participating in layout exactly as a bare <img> would, so every existing
   `... img` rule (sizing, object-fit, absolute positioning) keeps working
   unchanged. (Scoped override below for .newhome-tatjana__image picture.) */
.new-home-page picture {
    display: contents;
}


/* ============================================================
   HERO 2 (new home design)
   ============================================================ */
.newhome-hero2 {
    padding: 80px 30px 0;
    margin-bottom: 0;
}
.newhome-hero2__bg {
    position: relative;
    width: 100%;
    max-width: 1860px;
    aspect-ratio: 1860 / 845;
    min-height: 650px;
    margin: 0 auto;
    border-radius: 24px;
    /* LCP image. PNG line = fallback for old browsers; image-set() serves the
       ~6KB WebP (preloaded with fetchpriority=high in inc/performance.php) to
       everything modern. */
    background-image: url('/wp-content/themes/uicore-pro-child/assets/images/new-home/hero-bg.png');
    background-image: -webkit-image-set(
        url('/wp-content/themes/uicore-pro-child/assets/images/new-home/hero-bg.webp') type('image/webp'),
        url('/wp-content/themes/uicore-pro-child/assets/images/new-home/hero-bg.png') type('image/png'));
    background-image: image-set(
        url('/wp-content/themes/uicore-pro-child/assets/images/new-home/hero-bg.webp') type('image/webp'),
        url('/wp-content/themes/uicore-pro-child/assets/images/new-home/hero-bg.png') type('image/png'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #735E59;
    overflow: hidden;
}

.newhome-hero2__title {
    position: absolute;
    z-index: 4;
    top: 21.3%;
    left: 16.66%;
    width: 33.65%;
    color: #FFFFFF;
    font-family: 'Lora', serif;
    font-size: clamp(38px, 2.5vw, 48px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    margin: 0;
}
.newhome-hero2__title em {
    font-style: italic;
    font-weight: 400;
}

.newhome-hero2__pill {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 1000px;
    color: #FFFFFF !important;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: clamp(28px, 2.08vw, 40px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}
.newhome-hero2__pill:hover {
    transform: translateY(-2px);
}

.newhome-hero2__pill--bukvar {
    top: 31.12%;
    left: 48.11%;
    width: 35.22%;
    height: 16.21%;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.3);
}

.newhome-hero2__pill--philipova {
    top: 48.4%;
    left: 16.66%;
    width: 30.97%;
    height: 16.21%;
    background: linear-gradient(90deg, #D1AD9F 0%, #8B726C 100%);
}

.newhome-hero2__pill-text {
    display: block;
    white-space: nowrap;
}
.newhome-hero2__pill--bukvar .newhome-hero2__pill-text {
    margin-left: 29.62%;
    width: 49%;
}
.newhome-hero2__pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    flex-shrink: 0;
}
.newhome-hero2__pill--bukvar .newhome-hero2__pill-icon {
    background: rgba(255, 255, 255, 0.3);
}
.newhome-hero2__pill--philipova .newhome-hero2__pill-icon {
    margin-right: 3.4%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 2px 0 8px 0 rgba(0, 0, 0, 0.15);
}
.newhome-hero2__pill-icon svg {
    width: min(42%, 56px);
    height: min(42%, 56px);
    color: #FFFFFF;
}

.newhome-hero2__image {
    position: absolute;
    z-index: 3;
    left: 38.97%;
    bottom: 0;
    width: 22.04%;
    height: 73.02%;
    pointer-events: none;
}
.newhome-hero2__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}

.newhome-hero2__text {
    position: absolute;
    z-index: 4;
    top: 62.25%;
    left: 62.04%;
    width: 21.29%;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 200;
    line-height: 1.22;
    letter-spacing: 0;
    margin: 0;
}
.newhome-hero2__text strong {
    color: #FFFFFF;
    font-weight: 600;
}

.newhome-hero2__signature {
    position: absolute;
    z-index: 4;
    top: 79.22%;
    left: 16.66%;
    width: 15.48%;
}
.newhome-hero2__signature img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 287.965 / 87.534;
}

.newhome-hero2__play {
    position: absolute;
    z-index: 4;
    top: 80.59%;
    left: 62.04%;
    width: 21.38%;
    height: 8.99%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px 0 16px;
    border: 1px solid #D7BDB2;
    border-radius: 999px;
    background: transparent;
    color: #FFFFFF !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: clamp(13px, 0.83vw, 16px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}
.newhome-hero2__play:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.newhome-hero2__play-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}
.newhome-hero2__play-icon img {
    width: 100%;
    height: 100%;
    display: block;
}


/* ============================================================
   O TATJANI  (quote card)
   ============================================================ */
.newhome-tatjana {
    padding: 80px 20px;
    background: #FFFFFF;
}
.newhome-tatjana__inner {
    max-width: 1240px;
    margin: 0 auto;
}
.newhome-tatjana__card {
    position: relative;
    background: #FDFAF8;
    border-radius: 24px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.10);
    overflow: hidden;
    width: 100%;
    height: 395px;
}

/* Quote marks */
.newhome-tatjana__qmark {
    position: absolute;
    display: inline-block;
    line-height: 0;
}
.newhome-tatjana__qmark svg {
    display: block;
    width: 44px;
    height: 40px;
}
.newhome-tatjana__qmark--open {
    top: 32px;
    left: 32px;
}
.newhome-tatjana__qmark--close {
    /* now inside .newhome-tatjana__body (position:absolute) → offset parent = body */
    top: 254px;
    right: 0;
    left: auto;
    bottom: auto;
    transform: none;
}
.newhome-tatjana__qmark--close svg {
    transform: rotate(180deg);
    transform-origin: center;
}

/* Body */
.newhome-tatjana__body {
    position: absolute;
    top: 40px;
    left: 92px;
    width: 679px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: none;
}
.newhome-tatjana__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 134px;
    height: 40px;
    color: #735E59;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    padding: 0;
    border: 1px solid #EEE4DF;
    border-radius: 30px;
}
.newhome-tatjana__lead {
    color: #584642;
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 34px;
    margin: 0;
    max-width: 679px;
}
.newhome-tatjana__lead strong {
    font-family: 'Lora', serif;
    font-weight: 700;
}
.newhome-tatjana__desc {
    color: #735E59;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    margin: 12px 0 0;
    max-width: 679px;
}
.newhome-tatjana__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    height: 43px;
    min-width: 166px;
    padding: 0 61px;
    border: 1px solid #D7BDB2;
    border-radius: 10px;
    background: transparent;
    color: #584642 !important;
    font-family: 'Lora', serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 15px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.newhome-tatjana__btn:hover {
    background: rgba(139, 114, 108, 0.06);
    transform: translateY(-2px);
}

.newhome-tatjana__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 395px;
    height: 395px;
    border-radius: 200px 24px 24px 0;
    overflow: hidden;
}
.newhome-tatjana__image picture {
    display: block;
    width: 100%;
    height: 100%;
}
.newhome-tatjana__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* ============================================================
   HERO 2 + TATJANA — Responsive
   ============================================================ */
@media (max-width: 1320px) and (min-width: 1101px) {
    .newhome-hero2__image {
        left: 42.5%;
        width: 21%;
    }
    .newhome-hero2__pill--bukvar {
        left: 52%;
        width: 32%;
    }
    .newhome-hero2__text,
    .newhome-hero2__play {
        left: 63%;
    }
}

@media (max-width: 1100px) {
    .newhome-hero2 {
        padding: 70px 24px 0;
    }
    .newhome-hero2__title {
        left: 14%;
        width: 34%;
        font-size: clamp(30px, 3.4vw, 40px);
        line-height: 1.28;
    }
    .newhome-hero2__bg {
        min-height: 560px;
    }
    .newhome-hero2__pill {
        font-size: clamp(24px, 2.9vw, 32px);
    }
    .newhome-hero2__pill--philipova {
        left: 14%;
        width: 36%;
    }
    .newhome-hero2__pill--bukvar {
        left: 52%;
        width: 34%;
    }
    .newhome-hero2__pill--bukvar .newhome-hero2__pill-text {
        margin-left: 20%;
        width: 52%;
    }
    .newhome-hero2__text {
        left: 62%;
        width: 25%;
        font-size: 14px;
        line-height: 1.35;
    }
    .newhome-hero2__play {
        left: 62%;
        width: 26%;
        gap: 10px;
        padding-right: 18px;
        padding-left: 12px;
    }
    .newhome-hero2__play-icon {
        width: 42px;
        height: 42px;
    }
    .newhome-tatjana__body {
        left: 70px;
        width: calc(100% - 430px);
        padding: 0;
    }
    .newhome-tatjana__lead {
        font-size: 21px;
        line-height: 31px;
    }
    .newhome-tatjana__desc {
        font-size: 14px;
        line-height: 23px;
    }
    .newhome-tatjana__qmark--close {
        left: auto;
        right: 0;
    }
    .newhome-tatjana__image {
        width: 360px;
        height: 395px;
    }
}

@media (max-width: 860px) {
    .newhome-hero2 {
        padding: 27px 16px 0;
        margin-bottom: 0;
    }
    .newhome-hero2 [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
    .newhome-hero2__bg {
        display: flex;
        flex-direction: column;
        min-height: 0;
        aspect-ratio: auto;
        padding: 88px 13px 58px;
        gap: 0;
        border-radius: 15px;
        background-size: auto 100%;
        background-position: center;
    }
    .newhome-hero2__title,
    .newhome-hero2__pill {
        position: relative;
        inset: auto;
        left: auto;
        top: auto;
        width: 100%;
    }
    .newhome-hero2__image,
    .newhome-hero2__text,
    .newhome-hero2__signature,
    .newhome-hero2__play {
        position: relative;
        inset: auto;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
    }
    .newhome-hero2__image {
        order: 2;
        width: 265px;
        height: 285px;
        align-self: center;
        margin: 46px auto 0;
        overflow: hidden;
    }
    .newhome-hero2__image img {
        width: 265px;
        height: auto;
        object-fit: initial;
        object-position: top center;
    }
    .newhome-hero2__title {
        order: 1;
        font-size: 25px;
        line-height: 1.14;
        text-align: center;
    }
    .newhome-hero2__pill {
        width: calc(100% - 32px);
        align-self: center;
        min-height: 54px;
        height: auto;
        border-radius: 999px;
        font-size: 18px;
        line-height: 1.1;
        overflow: visible;
    }
    .newhome-hero2__pill-text {
        white-space: normal;
    }
    .newhome-hero2__desktop-break {
        display: none;
    }
    .newhome-hero2__pill--bukvar .newhome-hero2__pill-text {
        margin-left: 0;
        width: auto !important;
    }
    .newhome-hero2__pill--bukvar {
        order: 4;
        justify-content: space-between;
        padding-left: 29px;
        margin-top: 7px;
    }
    .newhome-hero2__pill--philipova {
        order: 3;
        margin-top: 0;
    }
    .newhome-hero2__pill-icon {
        width: 54px;
        height: 54px;
    }
    .newhome-hero2__pill--philipova .newhome-hero2__pill-icon {
        margin-right: 34px;
    }
    .newhome-hero2__pill-icon svg {
        width: 24px;
        height: 24px;
    }
    .newhome-hero2__text {
        order: 5;
        max-width: 338px;
        margin: 28px auto 0;
        font-size: 14px;
        line-height: 1.25;
        text-align: center;
    }
    .newhome-hero2__signature {
        order: 7;
        width: min(288px, 82%);
        margin: 30px auto 0;
        z-index: 2;
    }
    .newhome-hero2__play {
        order: 6;
        width: calc(100% - 32px);
        align-self: center;
        min-height: 58px;
        margin: 24px auto 0;
        padding: 0 18px 0 10px;
        gap: 14px;
        justify-content: flex-start;
        border: 1.5px solid rgba(230, 203, 194, 0.95);
        border-radius: 999px;
        background: transparent;
        font-size: 14px;
        line-height: 1.15;
        overflow: hidden;
    }
    .newhome-hero2__play-icon {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #D1AD9F;
        flex: 0 0 40px;
    }
    .newhome-hero2__play-icon img {
        display: none;
    }
    .newhome-hero2__play-icon::before {
        content: "";
        display: block;
        width: 0;
        height: 0;
        margin-left: 3px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid #FFFFFF;
    }
    .newhome-hero2__play-text {
        flex: 1 1 auto;
        min-width: 0;
        color: #FFFFFF;
        font-weight: 400;
        white-space: nowrap;
    }

    /* O Tatjani */
    .newhome-tatjana {
        padding: 50px 16px;
    }
    .newhome-tatjana__inner {
        max-width: 408px;
    }
    .newhome-tatjana__card {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        border-radius: 24px;
        box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08);
    }
    .newhome-tatjana__body {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        padding: 80px 24px 36px;
        max-width: none;
        gap: 0;
    }
    .newhome-tatjana__qmark svg {
        width: 44px;
        height: 40px;
    }
    .newhome-tatjana__qmark--open {
        top: 272px;
        left: 20px;
    }
    /* close quote flows in the body column — sits after the text, ABOVE the button */
    .newhome-tatjana__qmark--close {
        display: block;
        position: static;
        align-self: flex-end;
        margin: 6px 0 10px;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
    }
    .newhome-tatjana__image {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 256px;
        order: -1;
        border-radius: 24px;
    }
    .newhome-tatjana__image img {
        position: absolute;
        top: -97.27%;
        left: -50.74%;
        width: 217.65%;
        max-width: none;
        height: auto;
        object-fit: initial;
        object-position: initial;
    }
    .newhome-tatjana__pill {
        width: 134px;
        height: 40px;
        font-size: 12px;
        line-height: 30px;
        letter-spacing: 2.4px;
    }
    .newhome-tatjana__lead {
        font-size: 18px;
        line-height: 26px;
        margin-top: 16px;
    }
    .newhome-tatjana__desc {
        color: #584642;
        font-size: 15px;
        line-height: 24px;
        margin-top: 24px;
    }
    .newhome-tatjana__btn {
        width: 100%;
        height: 40px;
        padding: 0 18px;
        margin-top: 28px;
        font-size: 15px;
        line-height: 15px;
        border-radius: 10px;
    }
}


/* ── Blog wrapper ────────────────────────────── */
.newhome-blog {
    padding: 80px 20px;
}
.newhome-blog__inner {
    max-width: 1270px;
    margin: 0 auto;
}
.newhome-blog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}
.newhome-blog__title {
    color: #584642;
    font-family: 'Lora', serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 56.4px;
    letter-spacing: -1.296px;
    margin: 0;
    text-align: left;
    flex: 1;
}
.newhome-blog__btn {
    display: inline-flex;
    width: 175.5px;
    height: 47px;
    padding: 14px 20px;
    justify-content: center;
    align-items: center;
    color: #584642 !important;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0;
    white-space: nowrap;
    border: 1px solid rgba(139, 114, 108, 0.3);
    border-radius: 8px;
    background: #FFFFFF;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
.newhome-blog__btn:hover {
    background: #FDFAF8;
    transform: translateY(-2px);
}

/* Desktop: hide mobile button + dots + only show first 3 cards */
.newhome-blog__btn--mobile {
    display: none;
}
.newhome-blog__dots {
    display: none;
}
@media (min-width: 769px) {
    .newhome-blog .inspirisana-blog-cards {
        padding: 30px 10px;
        box-sizing: border-box;
    }
    .newhome-blog .inspirisana-blog-card:nth-child(n+4) {
        display: none;
    }
}

/* Card shadow — explicit spec, works on both desktop and mobile carousel */
.newhome-blog .inspirisana-blog-card {
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.03);
}


/* ============================================================
   "DA LI I VAMA INSPIRISANA DECOM MOŽE KORISTITI?"
   Full-width section with bg image, content stays at 1240px
   ============================================================ */
.newhome-koristi {
    padding: 0;
}
.newhome-koristi__card {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 600px;
    background-color: #8B726C;
    background-image: url('/wp-content/uploads/2026/04/8-8081.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── Overlay 1: brown gradient (left → transparent right), opacity 0.91 ── */
.newhome-koristi__overlay--brown {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #8B726C 20.95%, rgba(139, 114, 108, 0.00) 119.49%);
    opacity: 0.91;
    pointer-events: none;
    z-index: 1;
}

/* ── Overlay 2: bottom fade-to-white (530px height, anchored to bottom) ── */
.newhome-koristi__overlay--fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, #ffffff 100%);
    pointer-events: none;
    z-index: 2;
    height: 530px;
    bottom: 0;
    top: auto;
}

/* Content wrapper — stays at 1240px max, 140px top/bottom padding */
.newhome-koristi__inner {
    position: relative;
    z-index: 3;
    max-width: 1240px;
    margin: 0 auto;
    padding: 140px 20px;
}

.newhome-koristi__content {
    color: #FFFFFF;
    max-width: 880px;
}

.newhome-koristi__title {
    color: #FFFFFF;
    font-family: 'Lora', serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 56.4px;
    letter-spacing: -1.296px;
    margin: 0 0 20px;
    max-width: 640px;
}
.newhome-koristi__subtitle {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1.296px;
    margin: 0 0 40px;
    max-width: 540px;
}
.newhome-koristi__label {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1.296px;
    margin: 0 0 16px;
}

/* 4 numbered cards in a row */
.newhome-koristi__items {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.newhome-koristi__item {
    display: flex;
    width: 188px;
    padding: 16px 16px 32px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    border-radius: 20px;
    background: #E6CBC2;
}
.newhome-koristi__num {
    color: #8B726C;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -1.296px;
    margin: 0;
}
.newhome-koristi__item p {
    color: #8B726C;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -1.296px;
    margin: 0;
}

.newhome-koristi__footer {
    color: #8B726C;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1.296px;
    margin: 0;
    max-width: 720px;
}


/* ============================================================
   PRODUCT CTA: Kvalitetan san + Philipova / Bukvar
   ============================================================ */
.newhome-products {
    padding: 120px 20px;
}
.newhome-products__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* LEFT: line + title + text + 2 buy buttons */
.newhome-products__intro {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    /* Reset old styles (was dashed card) */
    padding: 0;
    background: none;
    background-image: none;
    border: none;
    height: auto;
    width: auto;
}
.newhome-products__line {
    display: block;
    width: 288px;
    height: 4px;
    background: #8B726C;
    margin-bottom: 16px;
}
.newhome-products__intro-title {
    color: #8B726C;
    font-family: 'Lora', serif;
    font-size: 48px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -1.577px;
    text-transform: uppercase;
    margin: 0 0 32px;
}
.newhome-products__intro-text {
    color: #8B726C;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1.296px;
    margin: 0 0 32px;
    max-width: 540px;
}

/* Buy buttons stack — 16px gap between */
.newhome-products__buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 540px;
}

/* Override wrapshopbtn for this section */
.newhome-products__btn {
    display: flex !important;
    align-items: stretch;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(90deg, #D1AD9F 0%, #735E59 100%);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(139, 114, 108, 0.12);
}
.newhome-products__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 114, 108, 0.20);
}
.newhome-products__btn .tx {
    flex: 1;
    background: transparent !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}
.newhome-products__btn .price {
    flex: 0 0 auto;
    background: #D1AD9F !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 0 24px;
    display: flex;
    align-items: center;
    border-radius: 0 10px 10px 0;
}

/* RIGHT: tilted book covers */
.newhome-products__books {
    flex: 0 0 541px;
    width: 541px;
    height: 475px;
    position: relative;
}
.newhome-products__book {
    position: absolute;
    width: 262.669px;
    height: 370.78px;
    border-radius: 13.149px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(139, 114, 108, 0.20);
    top: 50%;
}
.newhome-products__book--bukvar {
    left: 0;
    transform: translateY(-50%) rotate(-8deg);
    z-index: 1;
}
.newhome-products__book--philipova {
    right: 0;
    transform: translateY(-50%) rotate(8deg);
    z-index: 2;
}

/* Desktop pozadina za "Iskustva mama" na novoj naslovnoj
   (isti tretman kao .bukvar-ishodi2; samo desktop, WebP + PNG fallback). */
@media (min-width: 861px) {
    .new-home-page .bukvar-testi {
        background: linear-gradient(180deg, #ffffff 0%, rgba(209, 173, 159, 0.10) 51.41%, #FDFAF8 100%), url(/wp-content/uploads/2026/04/close-up-of-smile-pregnant-woman-with-big-belly-lo-2026-03-16-22-55-54-utc-3-1.png) #d3d3d300 -0.484px 0px / 100.05% 102.238% no-repeat;
        background: linear-gradient(180deg, #ffffff 0%, rgba(209, 173, 159, 0.10) 51.41%, #FDFAF8 100%), -webkit-image-set(url(/wp-content/uploads/2026/04/close-up-of-smile-pregnant-woman-with-big-belly-lo-2026-03-16-22-55-54-utc-3-1.webp) type('image/webp'), url(/wp-content/uploads/2026/04/close-up-of-smile-pregnant-woman-with-big-belly-lo-2026-03-16-22-55-54-utc-3-1.png) type('image/png')) #d3d3d300 -0.484px 0px / 100.05% 102.238% no-repeat;
        background: linear-gradient(180deg, #ffffff 0%, rgba(209, 173, 159, 0.10) 51.41%, #FDFAF8 100%), image-set(url(/wp-content/uploads/2026/04/close-up-of-smile-pregnant-woman-with-big-belly-lo-2026-03-16-22-55-54-utc-3-1.webp) type('image/webp'), url(/wp-content/uploads/2026/04/close-up-of-smile-pregnant-woman-with-big-belly-lo-2026-03-16-22-55-54-utc-3-1.png) type('image/png')) #d3d3d300 -0.484px 0px / 100.05% 102.238% no-repeat;
    }
}

.new-home-page .bukvar-testi__text p {
    color: #272A2E;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .newhome-koristi__card {
        min-height: 540px;
    }
    .newhome-koristi__inner {
        padding: 50px 20px;
    }
    .newhome-koristi__title {
        font-size: 38px;
        line-height: 1.15;
    }
    .newhome-koristi__subtitle,
    .newhome-koristi__label,
    .newhome-koristi__footer {
        font-size: 18px;
    }
    .newhome-koristi__items {
        gap: 12px;
    }
    .newhome-koristi__item {
        width: 168px;
        padding: 14px 14px 24px;
    }
    .newhome-products {
        padding: 80px 20px;
    }
    .newhome-products__inner {
        gap: 24px;
    }
    .newhome-products__intro {
        flex: 0 0 480px;
        width: 480px;
        height: 380px;
        padding: 36px;
    }
    .newhome-products__intro-title {
        font-size: 40px;
    }
    .newhome-products__books {
        flex: 0 0 460px;
        width: 460px;
        height: 420px;
    }
    .newhome-products__book {
        width: 220px;
        height: 310px;
    }
}

@media (max-width: 860px) {
    .newhome-koristi {
        padding: 0;
    }
    .newhome-koristi__card {
        min-height: 520px;
        background-image: url('/wp-content/uploads/2026/04/8-8081-copy.jpg');
        background-position: 50% 90%;
    }
    .newhome-koristi__inner {
        padding: 24px;
    }
    /* Stronger top-down gradient on mobile so text stays readable over image */
    .newhome-koristi__overlay--brown {
        background: linear-gradient(180deg, rgba(139, 114, 108, 0.9) 0%, rgba(139, 114, 108, 0.66) 58%, rgba(255, 255, 255, 0.38) 100%);
    }
    .newhome-koristi__title {
        color: #FFFFFF;
        font-family: 'Lora', serif;
        font-size: 26px;
        font-style: normal;
        font-weight: 400;
        line-height: 33px;
        letter-spacing: 0;
        margin: 0 0 14px;
        max-width: 300px;
    }
    .newhome-koristi__subtitle,
    .newhome-koristi__label {
        color: #FFFFFF;
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
        letter-spacing: 0;
        max-width: 270px;
    }
    .newhome-koristi__subtitle {
        margin-bottom: 22px;
    }
    .newhome-koristi__label {
        margin-bottom: 14px;
    }
    .newhome-koristi__items {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 28px;
    }
    .newhome-koristi__item {
        width: calc(50% - 5px);
        padding: 14px 14px 18px;
        border-radius: 13px;
    }
    .newhome-koristi__num {
        color: #8B726C;
        font-family: 'Inter', sans-serif;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -1.296px;
    }
    .newhome-koristi__item p {
        color: #8B726C;
        font-family: 'Inter', sans-serif;
        font-size: 11px;
        font-style: normal;
        font-weight: 500;
        line-height: 14px;
        letter-spacing: 0;
    }
    .newhome-koristi__footer {
        color: #8B726C;
        font-family: 'Inter', sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: -2px;
        max-width: 310px;
    }
    .newhome-products {
        padding: 70px 16px;
    }
    .newhome-products__inner {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }
    .newhome-products__intro {
        flex: 0 0 auto;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 640px;
        height: auto;
        padding: 0;
        order: 1;
    }
    .newhome-products__line {
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    .newhome-products__intro-title {
        font-size: 36px;
        text-align: center;
    }
    .newhome-products__intro-text {
        font-size: 18px;
        max-width: none;
        text-align: center;
    }
    .newhome-products__buttons {
        max-width: none;
    }
    .newhome-products__books {
        flex: 0 0 auto;
        width: 100%;
        max-width: 460px;
        height: 380px;
        margin: 0 auto;
        order: 2;
    }
    .newhome-products__book {
        width: 200px;
        height: 280px;
    }
    .newhome-products__book--bukvar {
        left: 20px;
        top: 40px;
        transform: rotate(-8deg);
    }
    .newhome-products__book--philipova {
        right: 40px;
    }
}

@media (max-width: 600px) {
    .newhome-koristi {
        padding: 0;
    }
    .newhome-koristi__inner {
        padding: 24px;
    }
    /* Stay 2-cards-per-row on small phones (per design spec) */
    .newhome-koristi__items {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 8px;
    }
    .newhome-koristi__item {
        width: calc(50% - 4px);
        padding: 12px 12px 16px;
    }
    .newhome-products {
        padding: 50px 16px;
    }
    .newhome-products__inner {
        gap: 0;
    }
    .newhome-products__line {
        width: 160px;
    }
    .newhome-products__intro-title {
        font-size: 28px;
        letter-spacing: -1.2px;
        margin-bottom: 24px;
        text-align: center;
    }
    .newhome-products__intro-text {
        font-size: 16px;
        margin-bottom: 24px;
    }
    .newhome-products__btn {
        height: 50px;
    }
    .newhome-products__btn .tx {
        font-size: 13px;
        padding: 0 16px;
    }
    .newhome-products__btn .price {
        font-size: 13px;
        padding: 0 16px;
    }
    .newhome-products__books {
        height: 320px;
    }
    .newhome-products__book {
        width: 170px;
        height: 240px;
    }
    .newhome-products__book--bukvar {
        left: 20px;
        top: 40px;
        transform: rotate(-8deg);
    }
    .newhome-products__book--philipova {
        right: 40px;
    }
}


/* ============================================================
   NAŠI CILJEVI  (carousel)
   ============================================================ */
.newhome-goals {
    position: relative;
    height: 683px;
    padding: 120px 0 0;
    background: linear-gradient(-1.508deg, #FDFAF8 3.4456%, #D7BDB2 95.927%);
    overflow: hidden;
}
.newhome-goals__inner {
    max-width: none;
    display: grid;
    grid-template-columns: 489px 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    padding-left: max(20px, calc((100vw - 1240px) / 2));
}

/* Left side */
.newhome-goals__left {
    position: relative;
    height: 443px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.newhome-goals__eyebrow {
    display: inline-block;
    width: 157px;
    height: 33px;
    color: #735E59;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    text-align: center;
    padding: 1px 0 2px;
    border: 1px solid rgba(115, 94, 89, 0.19);
    border-radius: 30px;
}
.newhome-goals__title {
    color: #584642;
    font-family: 'Lora', serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 58px;
    letter-spacing: 0;
    margin: 0;
    max-width: 489px;
}
.newhome-goals__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    width: 463px;
    max-width: 100%;
}
.newhome-goals__dots .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    background: transparent;
    border: 3px solid #8B726C;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 !important;
}
.newhome-goals__dots .swiper-pagination-bullet-active {
    background: #8B726C !important;
    opacity: 1 !important;
    width: 47px !important;
    border-radius: 999px !important;
}

/* Right side */
.newhome-goals__right {
    position: relative;
    width: calc(100vw - max(20px, calc((100vw - 1240px) / 2)) - 569px);
}
.newhome-goals-swiper {
    overflow: hidden;
    width: 100%;
}
.newhome-goal {
    position: relative;
    background: #FFFFFF;
    border: 4px solid #EEE4DF;
    border-radius: 24px;
    padding: 48px;
    box-shadow: none;
    height: 443px;
    width: 564px;
    overflow: hidden;
}
.newhome-goal__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 21px;
}
.newhome-goal__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 175px;
    height: 70px;
    background: #FFFFFF;
    border: 1px solid #D7BDB2;
    border-radius: 999px;
    padding: 0 20px;
    color: #584642;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
}
.newhome-goal__pill-icon {
    display: inline-flex;
    width: 25px;
    height: 24px;
    flex: 0 0 auto;
}
.newhome-goal__pill-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.newhome-goal__pill-text {
    white-space: nowrap;
}
.newhome-goal__more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0;
    color: #584642;
    background: transparent;
    border: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.newhome-goal__more-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.25s ease;
}
.newhome-goal.is-open .newhome-goal__more-icon {
    transform: rotate(45deg);
}
.newhome-goal__title {
    color: #584642;
    font-family: 'Lora', serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: 0;
    margin: 0 0 21px;
    max-width: 448px;
}
.newhome-goal__text {
    color: #735E59;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    margin: 0;
    max-width: 452px;
}
.newhome-goal__overlay {
    position: absolute;
    top: 139px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    padding: 0 48px 48px;
    background: #FFFFFF;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 3;
}
.newhome-goal__overlay p {
    color: #735E59;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 25px;
    margin: 0;
}
.newhome-goal.is-open .newhome-goal__overlay {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.newhome-goal.is-open .newhome-goal__top,
.newhome-goal.is-open .newhome-goal__more {
    position: relative;
    z-index: 4;
}
.newhome-goal.is-open .newhome-goal__pill {
    opacity: 0;
    pointer-events: none;
}
.newhome-goal.is-open .newhome-goal__title,
.newhome-goal.is-open .newhome-goal__text {
    opacity: 0;
    pointer-events: none;
}

/* Floating prev arrow at boundary between left & right cols */
.newhome-goals__prev {
    position: absolute;
    top: 193px;
    left: -28px;
    transform: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #8B726C;
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.newhome-goals__prev:hover {
    background: #735E59;
    transform: scale(1.05);
}
.newhome-goals__prev svg {
    width: 24px;
    height: 24px;
}
.newhome-goals__next {
    display: none;
}
.newhome-goals__next svg {
    width: 24px;
    height: 24px;
}


/* ============================================================
   KAKO VAM MOŽEMO POMOĆI?  (services)
   ============================================================ */
.newhome-services {
    padding: 100px 20px;
    background: #FDFAF8;
    overflow: hidden;
}
.newhome-services__inner {
    max-width: 1240px;
    margin: 0 auto;
}
.newhome-services__eyebrow {
    display: inline-block;
    color: #8B726C;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    padding: 11px 24px;
    border: 1px solid #EEE4DF;
    border-radius: 30px;
    margin-bottom: 18px;
}
.newhome-services__title {
    color: #584642;
    font-family: 'Lora', serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px;
    margin: 0 0 64px;
    max-width: 1240px;
}
.newhome-services-swiper {
    overflow: visible;
    width: 100%;
}
.newhome-services__cards {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: visible;
    width: 100%;
}

/* Service card */
.newhome-service {
    position: relative;
    flex: 0 0 608px;
    width: 608px;
    height: 576px;
    background: #FFFFFF;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
}
.newhome-service__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 302px;
    height: 187px;
    border-radius: 0 0 80px 0;
    overflow: hidden;
}
.newhome-service__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info rows */
.newhome-service__info {
    position: absolute;
    top: 40px;
    left: 342px;
    width: 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}
.newhome-service__info-mobile {
    display: none;
}
.newhome-service__info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 19px;
    color: #735E59;
    white-space: nowrap;
}
.newhome-service__info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #D1AD9F;
    flex-shrink: 0;
}
.newhome-service__info-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.newhome-service__info-label {
    color: #735E59;
    font-weight: 300;
    margin-right: -8px;
}
.newhome-service__info-value {
    color: #584642;
    font-weight: 500;
}

/* Body */
.newhome-service__body {
    position: absolute;
    top: 227px;
    left: 48px;
    width: 512px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.newhome-service__name {
    color: #070707;
    font-family: 'Lora', serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    margin: 0 0 24px;
}
.newhome-service__divider {
    height: 1px;
    width: 100px;
    background: #D1AD9F;
    margin-bottom: 24px;
}
.newhome-service__text {
    color: #735E59;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    margin: 0 0 24px;
}
.newhome-service__text strong {
    color: #584642;
    font-weight: 700;
}
.newhome-service__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 47px;
    border: 1px solid #D7BDB2;
    border-radius: 10px;
    background: transparent;
    color: #584642 !important;
    font-family: 'Lora', serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 15px;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.newhome-service:nth-child(3) .newhome-service__body {
    height: 327px;
    justify-content: space-between;
}
.newhome-service:nth-child(3) .newhome-service__text {
    margin-bottom: 0;
}
.newhome-service__btn:hover {
    background: rgba(139, 114, 108, 0.06);
    border-color: #D1AD9F;
    transform: none;
}


/* ============================================================
   GOALS / SERVICES — Responsive
   ============================================================ */
@media (max-width: 1280px) {
    .newhome-service {
        scroll-snap-align: start;
    }
}

@media (max-width: 1100px) {
    .newhome-goals {
        padding: 80px 0 80px 40px;
    }
    .newhome-goals__inner {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }
    .newhome-goals__title {
        font-size: 30px;
    }
    .newhome-goal {
        width: 320px;
        padding: 28px 28px 32px;
    }
    .newhome-services__title {
        font-size: 34px;
        line-height: 42px;
    }
}

@media (max-width: 860px) {
    .newhome-goals {
        height: 787px;
        padding: 0 16px;
        background: linear-gradient(-7.541deg, #FDFAF8 3.4456%, #D7BDB2 95.927%);
    }
    .newhome-goals__inner {
        position: relative;
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 408px;
        height: 100%;
        margin: 0 auto;
        padding-left: 0;
    }
    .newhome-goals__left {
        position: static;
        display: block;
        height: auto;
        margin: 0;
    }
    .newhome-goals__eyebrow {
        position: absolute;
        top: 64px;
        left: 50%;
        transform: translateX(-50%);
        width: 157px;
        height: 33px;
        font-size: 12px;
        line-height: 30px;
        letter-spacing: 2.4px;
        padding: 1px 0 2px;
        margin: 0;
        z-index: 3;
    }
    .newhome-goals__title {
        position: absolute;
        top: 118px;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        width: 326px;
        max-width: 326px;
        text-align: center;
        font-size: 32px;
        line-height: 40px;
        letter-spacing: -0.05px;
        margin: 0;
        z-index: 3;
    }
    .newhome-goals__title[data-aos] {
        opacity: 1 !important;
        transform: translateX(-50%) !important;
    }
    .newhome-goals__dots {
        position: absolute !important;
        left: 50% !important;
        top: 685px !important;
        bottom: auto !important;
        transform: translateX(-50%) !important;
        justify-content: center !important;
        width: auto;
        gap: 8px !important;
        z-index: 4 !important;
    }
    .newhome-goals__dots .swiper-pagination-bullet {
        width: 18px;
        height: 18px;
        border-width: 2px;
    }
    .newhome-goals__dots .swiper-pagination-bullet-active {
        width: 35px !important;
    }
    .newhome-goals__prev {
        left: 18px;
        bottom: auto;
        top: 666px;
        width: 57px;
        height: 57px;
        background: #EBD0C5;
        color: #8B726C;
        z-index: 4;
    }
    .newhome-goals__prev:hover {
        background: #EBD0C5;
        transform: none;
    }
    .newhome-goals__next {
        position: absolute;
        right: 18px;
        bottom: auto;
        top: 666px;
        width: 57px;
        height: 57px;
        border: 0;
        border-radius: 50%;
        background: #8B726C;
        color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 4;
        cursor: pointer;
        box-shadow: none;
    }
    .newhome-goals__right {
        position: absolute;
        top: 235px;
        left: 0;
        width: 100%;
        padding-bottom: 0;
        overflow: visible;
    }
    .newhome-goals-swiper {
        overflow: visible;
        width: 100%;
        touch-action: pan-y;
        cursor: grab;
    }
    .newhome-goals-swiper:active {
        cursor: grabbing;
    }
    .newhome-goal {
        width: min(408px, calc(100vw - 32px));
        height: 407px;
        padding: 24px;
        border-radius: 24px;
        border-width: 4px;
        box-sizing: border-box;
    }
    .newhome-goal__top {
        display: block;
        margin-bottom: 0;
    }
    .newhome-goal__pill {
        position: absolute;
        top: 24px;
        left: 24px;
        width: auto;
        min-width: 175px;
        max-width: calc(100% - 48px);
        height: 70px;
        gap: 14px;
        padding: 0 20px;
        font-size: 14px;
        line-height: 28px;
    }
    .newhome-goal__pill-icon {
        width: 24px;
        height: 24px;
    }
    .newhome-goal__more {
        position: absolute;
        left: 24px;
        top: 341px;
        bottom: auto;
        gap: 9px;
        font-size: 16px;
        line-height: 20px;
        z-index: 5;
    }
    .newhome-goal__more-icon {
        width: 30px;
        height: 30px;
    }
    .newhome-goal__title {
        position: absolute;
        top: 110px;
        left: 24px;
        right: 24px;
        max-width: none;
        font-size: 32px;
        line-height: 36px;
        letter-spacing: -0.04px;
        margin: 0;
    }
    .newhome-goal__text {
        position: absolute;
        top: 227px;
        left: 24px;
        right: 24px;
        max-width: none;
        font-size: 20px;
        line-height: 30px;
    }
    .newhome-goal__overlay {
        top: 84px;
        right: 24px;
        bottom: 72px;
        left: 24px;
        display: block;
        padding: 0;
        overflow: auto;
        scrollbar-width: none;
    }
    .newhome-goal__overlay::-webkit-scrollbar {
        display: none;
    }
    .newhome-goal__overlay p {
        font-size: 13px;
        line-height: 20px;
    }
    .newhome-goal.is-open .newhome-goal__title,
    .newhome-goal.is-open .newhome-goal__text {
        opacity: 0;
        pointer-events: none;
    }

    .newhome-services {
        padding: 15px 16px 64px;
    }
    .newhome-services__inner {
        max-width: 408px;
    }
    .newhome-services__eyebrow {
        font-size: 10px;
        line-height: 12px;
        letter-spacing: 1.8px;
        padding: 9px 15px;
        margin-bottom: 12px;
    }
    .newhome-services__title {
        color: #584642;
        font-family: 'Lora', serif;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 32px;
        letter-spacing: -1.08px;
        margin-bottom: 32px;
        padding-right: 0;
    }
    .newhome-services-swiper {
        overflow: visible;
    }
    .newhome-services__cards {
        flex-direction: column;
        gap: 0;
        padding-right: 0;
        transform: none !important;
    }
    .newhome-service {
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        width: 100% !important;
        max-width: 408px;
        height: auto;
        min-height: 0;
        margin-bottom: 16px;
        border-radius: 24px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
    }
    .newhome-service__image {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 408 / 195;
        border-radius: 24px;
    }
    .newhome-service__image img {
        object-position: top center;
    }
    .newhome-service:nth-child(3) .newhome-service__image img {
        object-position: top center;
    }
    .newhome-service__info {
        display: none;
    }
    .newhome-service__info-mobile {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 188px;
        margin: 0 0 24px;
    }
    .newhome-service__info-row {
        align-items: center;
        gap: 14px;
        white-space: nowrap;
        font-size: 15px;
        line-height: 19px;
    }
    .newhome-service__info-icon,
    .newhome-service__info-icon svg {
        width: 20px;
        height: 20px;
    }
    .newhome-service__info-label {
        margin-right: -8px;
    }
    .newhome-service__body {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        padding: 20px 20px 20px;
        box-sizing: border-box;
    }
    .newhome-service__name {
        max-width: 320px;
        font-size: 32px;
        line-height: 40px;
        letter-spacing: -1.08px;
        margin-bottom: 24px;
    }
    .newhome-service__divider {
        margin-bottom: 24px;
    }
    .newhome-service__text {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: -0.32px;
        margin-bottom: 24px;
    }
    .newhome-service:nth-child(3) .newhome-service__body {
        height: auto;
        justify-content: flex-start;
    }
    .newhome-service:nth-child(3) .newhome-service__text {
        margin-bottom: 24px;
    }
}


/* ============================================================
   PRODUCT SHOWCASE — Bukvar + Philipova
   ============================================================ */
.newhome-pshowcase {
    position: relative;
    padding: 80px 20px 120px;
    background: linear-gradient(90deg, #8B726C -20.6%, #D1AD9F 100%);
    overflow: hidden;
}

/* Decorative bg images */
.newhome-pshowcase__bg {
    position: absolute;
    width: 459px;
    height: 584px;
    pointer-events: none;
    z-index: 0;
}
.newhome-pshowcase__bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.newhome-pshowcase__bg--top-right {
    top: -95px;
    right: -55px;
}
.newhome-pshowcase__bg--bottom-left {
    bottom: -78px;
    left: -71px;
}

.newhome-pshowcase__inner {
    max-width: 1260px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Card row — image + content side by side */
.newhome-pshowcase__row {
    display: flex;
    align-items: center;
    gap: 114px;
    padding: 40px 0;
}
.newhome-pshowcase__row--reverse {
    flex-direction: row;
    justify-content: flex-end;
    gap: 110px;
}

/* Divider — gradient line between rows */
.newhome-pshowcase__divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(253, 250, 248, 0.00) 0%, #FDFAF8 35.35%, #FDFAF8 64.9%, rgba(253, 250, 248, 0.00) 100%);
    margin: 0;
}

/* Product (tabs + image) — fixed 328px width per spec */
.newhome-pshowcase__product {
    flex: 0 0 328px;
    width: 328px;
    position: relative;
}

/* Tabs container — sits on top of image, 50/50 split */
.newhome-pcard__tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 75px;
    margin-bottom: -13px;
    overflow: hidden;
    position: relative;
    border-radius: 20px 20px 0 0;
    z-index: 2;
}

/* Both tabs share base — equal width, nowrap text */
.newhome-pcard__tab {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;            /* allow flex item to shrink past content size */
    height: 75px;
    padding: 0 8px;
    border: 0;
    background: #D9C1B6;
    color: #FDFAF8;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 30px;
    white-space: nowrap;
    border-radius: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Active tab (LEFT) — brown, flat Figma tab */
.newhome-pcard__tab--active {
    flex: 1 1 0;
    background: #8B726C;
    color: #FDFAF8;
    border-radius: 20px 0 0 0;
    height: 75px;
    padding: 0 8px;
    margin-bottom: 0;
    z-index: 3;
    box-shadow: none;
}
.newhome-pcard__tab:not(.newhome-pcard__tab--active) {
    border-radius: 0 20px 0 0;
}

/* Tab icons */
.newhome-pcard__tab svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Image — 328×463, only bottom corners rounded */
.newhome-pcard__image {
    width: 100%;
    height: 463px;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    background: #d9d9d9;
    position: relative;
    z-index: 1;
}
.newhome-pcard__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content side — title, text, button (max 500px wide for cohesive feel) */
.newhome-pshowcase__content {
    flex: 0 0 502px;
    width: 502px;
    max-width: 502px;
    color: #FDFAF8;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

/* Stats bar — light glass on brown bg */
.bukvar-stats.bukvar-stats--newhome {
    width: 100%;
    max-width: none;
}
.bukvar-stats--newhome .bukvar-stats__inner {
    background: rgba(253, 250, 248, 0.95);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 14px 22px;
    margin-bottom: 0;
    width: 100%;
    max-width: none;
    justify-content: space-between;
}
.bukvar-stats--newhome .bukvar-stats__text {
    color: #584642;
}
.bukvar-stats--newhome .bukvar-stats__sep {
    background: rgba(139, 114, 108, 0.25);
    height: 56px;
}

.newhome-pshowcase__title {
    color: #FDFAF8;
    font-family: 'Lora', serif;
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: -1.08px;
    margin: 0;
}
.newhome-pshowcase__title sup {
    font-size: 50%;
    vertical-align: super;
}
.newhome-pshowcase__text {
    color: #FDFAF8;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 26px;
    margin: 0;
    max-width: none;
}

/* Buy button — wrapshopbtn (already styled globally), tweak for this context */
.newhome-pshowcase__btn {
    margin-top: 8px;
    width: 100%;
    max-width: none;
    height: 48px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}
.newhome-pshowcase__btn .tx {
    flex: 1;
    height: 48px;
    padding: 0 24px;
    background: #FFFFFF !important;
    color: #584642 !important;
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 16px;
}
.newhome-pshowcase__btn .price {
    height: 48px;
    padding: 0 21px;
    background: #D1AD9F !important;
    color: #FFFFFF !important;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
}
.newhome-pshowcase__btn:hover .tx {
    background: #FFFFFF !important;
    color: #584642 !important;
}
.newhome-pshowcase__btn:hover .price {
    background: #D1AD9F !important;
    color: #FFFFFF !important;
}


/* ============================================================
   PRODUCT SHOWCASE — Responsive
   ============================================================ */
@media (max-width: 1100px) {
    .newhome-pshowcase__row {
        gap: 50px;
    }
    .newhome-pshowcase__product {
        flex: 0 0 280px;
        width: 280px;
    }
    .newhome-pcard__image {
        height: 400px;
    }
    .newhome-pcard__tab {
        height: 65px;
        padding: 12px 10px;
        font-size: 13px;
    }
    .newhome-pcard__tab--active {
        height: 65px;
        padding: 12px 10px;
    }
    .newhome-pcard__tab svg {
        width: 16px;
        height: 16px;
    }
    .newhome-pshowcase__title {
        font-size: 32px;
        line-height: 1.2;
    }
    .bukvar-stats--newhome .bukvar-stats__inner {
        padding: 10px 16px;
    }
    .bukvar-stats--newhome .bukvar-stats__text {
        font-size: 13px;
    }
}

@media (max-width: 860px) {
    .newhome-pshowcase {
        padding: 50px 16px 70px;
    }
    /* Hide decorative bg images on mobile (clutter) */
    .newhome-pshowcase__bg {
        display: none;
    }
    .newhome-pshowcase__row,
    .newhome-pshowcase__row--reverse {
        flex-direction: column;
        gap: 28px;
        padding: 24px 0;
    }
    .newhome-pshowcase__row--reverse .newhome-pshowcase__product {
        order: -1;
    }
    .newhome-pshowcase__row--reverse .newhome-pshowcase__content {
        order: 0;
    }
    .newhome-pshowcase__product {
        flex: 0 0 auto;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
    .newhome-pcard__image {
        height: auto;
        aspect-ratio: 17 / 24;
    }
    .newhome-pshowcase__content {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        align-items: stretch;
        text-align: left;
    }
    .newhome-pshowcase__title {
        font-size: 28px;
        line-height: 1.2;
    }
    .newhome-pshowcase__text {
        font-size: 15px;
    }
    .bukvar-stats--newhome .bukvar-stats__inner {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }
    .bukvar-stats--newhome .bukvar-stats__sep {
        height: 40px;
    }
    .newhome-pshowcase__btn {
        width: 100%;
    }
    .newhome-pshowcase__btn .tx {
        font-size: 13px;
        padding: 0 15px;
    }
}


/* ============================================================
   GENERIC RESPONSIVE (hero + blog)
   ============================================================ */
@media (max-width: 768px) {
    .new-home-page .bukvar-faq {
        padding: 52px 16px 48px;
    }
    .new-home-page .bukvar-faq__inner {
        max-width: 408px;
    }
    .new-home-page .bukvar-faq__title {
        font-size: 50px;
        line-height: 58px;
        letter-spacing: 0;
        margin-bottom: 22px;
    }
    .new-home-page .bukvar-faq__grid {
        max-width: none;
        gap: 0;
    }
    .new-home-page .bukvar-faq__q {
        gap: 14px;
        padding: 14px 0;
        color: #FFF;
        font-family: 'Inter', sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        letter-spacing: -1.296px;
    }
    .new-home-page .bukvar-faq__icon {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }
    .new-home-page .bukvar-faq__a-inner {
        padding-bottom: 16px;
        font-size: 13px;
        line-height: 19px;
    }

    .newhome-hero {
        padding: 70px 20px;
    }
    .newhome-hero__title {
        font-size: 38px;
    }
    .newhome-hero__text {
        font-size: 15px;
    }
    .newhome-hero__btn {
        font-size: 13px;
        padding: 0 20px;
        height: 48px;
    }
    .newhome-blog {
        padding: 50px 16px;
    }
    /* Title centered, button moves below — head simplifies to just title */
    .newhome-blog__head {
        display: block;
        margin-bottom: 24px;
        padding-right: 0;
    }
    .newhome-blog__title {
        color: #584642;
        text-align: center;
        font-family: 'Lora', serif;
        font-size: 28px;
        font-style: normal;
        font-weight: 400;
        line-height: 1.2em;
        letter-spacing: -1.296px;
        margin: 0;
    }
    /* Hide desktop "Vidi sve" button (in head row), show mobile one (below swiper) */
    .newhome-blog__btn--desktop {
        display: none;
    }
    /* Centered button below carousel */
    .newhome-blog__btn--mobile {
        display: flex;
        margin: 40px auto 0;
        width: max-content;
        min-width: 175.5px;
        height: 47px;
        padding: 14px 32px;
    }

    /* Swiper: clip horizontally only, let shadow render vertically */
    .newhome-blog-swiper {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        margin: 0 -16px;
        padding: 12px 16px 18px;  /* room for top + bottom shadow */
        position: relative;
    }
    /* Once Swiper inits, .inspirisana-blog-cards has class .swiper-wrapper added.
       Force flex layout (overrides blog-cards.css `display: grid`). */
    .newhome-blog-swiper .inspirisana-blog-cards.swiper-wrapper {
        display: flex !important;
        flex-direction: row !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        gap: 0 !important;
        width: 100%;
        box-sizing: content-box;
    }
    /* Slides need explicit width handling; Swiper sets inline width via JS. */
    .newhome-blog-swiper .inspirisana-blog-card.swiper-slide {
        height: auto;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    /* Pagination dots below swiper */
    .newhome-blog__dots {
        display: flex !important;
        justify-content: center;
        gap: 6px;
        margin-top: 18px;
    }
    .newhome-blog__dots .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: #D1AD9F;
        opacity: 0.4;
        border-radius: 50%;
        transition: all 0.3s ease;
        margin: 0 !important;
    }
    .newhome-blog__dots .swiper-pagination-bullet-active {
        background: #8B726C !important;
        opacity: 1 !important;
        width: 28px !important;
        border-radius: 999px !important;
    }
}
