/* ==========================================================================
   Parvarshop – dedicated homepage styles (enqueued only on the front page)
   ========================================================================== */

/* ---- Trust / feature strip under the hero ---- */
.pv-feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 18px;
    list-style: none;
    margin: 18px 0 0;
    padding: 18px 0 6px;
    border-top: 1px solid rgba(31, 66, 39, 0.1);
}

.pv-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 4px 0;
}

.pv-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(62, 124, 74, 0.12);
    color: var(--wd-primary-color-darker, #1F4227);
    box-shadow: 0 4px 12px rgba(28, 50, 36, 0.05);
}

.pv-feature-icon svg {
    width: 20px;
    height: 20px;
}

.pv-feature-text {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
    color: #243028;
}

@media (max-width: 991px) {
    .pv-feature-strip {
        justify-items: center;
    }

    .pv-feature-item {
        width: 100%;
        max-width: 300px;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .pv-feature-strip {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 0 4px;
    }

    .pv-feature-item {
        max-width: none;
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(31, 66, 39, 0.08);
        border-radius: 16px;
    }
}

/* ---- Shared badges used on product cards (new/sale) ---- */
.card-image-wrapper {
    position: relative;
}

.pv-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: var(--wd-sale-color, #E63946);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

.pv-card-badge--new {
    background: var(--wd-primary-color);
    box-shadow: 0 4px 10px rgba(62, 124, 74, 0.3);
}

.pv-card-badge--sale {
    background: var(--wd-sale-color, #E63946);
}

/* ---- Star rating ---- */
.pv-star-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 4px 0 6px;
}

.pv-star {
    color: #e2e2e2;
    font-size: 13px;
    line-height: 1;
}

.pv-star.is-filled {
    color: #f5a623;
}

.pv-star-count {
    font-size: 11px;
    color: #9aa;
    margin-right: 4px;
}

/* ---- Best sellers horizontal carousel ---- */
.pv-bestsellers-section {
    padding: 55px 0;
}

.pv-scroll-carousel {
    position: relative;
}

.pv-scroll-carousel__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 2px 16px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pv-scroll-carousel__track::-webkit-scrollbar {
    display: none;
}

.pv-scroll-carousel__item {
    flex: 0 0 250px;
    scroll-snap-align: start;
}

.pv-carousel-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    color: var(--wd-primary-color);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.pv-carousel-nav:hover {
    background: var(--wd-primary-color);
    color: #fff;
}

.pv-carousel-nav--prev {
    right: -10px;
}

.pv-carousel-nav--next {
    left: -10px;
}

@media (max-width: 767px) {
    .pv-carousel-nav {
        display: none;
    }
}

/* ---- Nutrition / lifestyle banner ---- */
.pv-nutrition-banner {
    padding: 10px 0 55px;
}

.pv-nutrition-banner__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(135deg, var(--wd-primary-color) 0%, var(--wd-primary-color-dark, #2F5F38) 100%);
    border-radius: 24px;
    padding: 46px 50px;
    overflow: hidden;
    color: #fff;
}

.pv-nutrition-banner__content {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.pv-nutrition-banner__content h2 {
    color: #fff !important;
    font-size: 30px;
    margin-bottom: 12px;
}

.pv-nutrition-banner__content p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    margin-bottom: 20px;
}

.pv-nutrition-banner__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.pv-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
}

.pv-pill svg {
    width: 16px;
    height: 16px;
}

.pv-nutrition-banner__inner .btn-hero-primary {
    background-color: #fff;
    color: var(--wd-primary-color) !important;
}

.pv-nutrition-banner__inner .btn-hero-primary:hover {
    background-color: #f0f0f0;
}

.pv-nutrition-banner__media {
    position: relative;
    z-index: 1;
    flex: 0 0 46%;
    max-width: 46%;
}

.pv-nutrition-banner__media img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .pv-nutrition-banner__inner {
        flex-direction: column;
        padding: 34px 26px;
        text-align: center;
    }

    .pv-nutrition-banner__content {
        max-width: 100%;
    }

    .pv-nutrition-banner__pills {
        justify-content: center;
    }

    .pv-nutrition-banner__media {
        max-width: 80%;
    }
}

/* ---- Special sale section ---- */
.pv-sale-section {
    padding: 55px 0;
}

.pv-sale-section__inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}

.pv-sale-tile {
    background: linear-gradient(160deg, #FDEBEC 0%, #FBD8DA 100%);
    border-radius: var(--wd-brd-radius);
    padding: 30px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pv-sale-tile__percent {
    font-size: 52px;
    font-weight: 900;
    color: var(--wd-sale-color, #E63946);
    line-height: 1;
}

.pv-sale-tile h3 {
    margin: 6px 0 0;
    font-size: 20px;
    color: #7a1f26;
}

.pv-sale-tile p {
    color: #a35158;
    font-size: 13px;
    margin-bottom: 14px;
}

.pv-sale-tile .btn-hero-secondary {
    border-color: var(--wd-sale-color, #E63946);
    color: var(--wd-sale-color, #E63946) !important;
}

.pv-sale-tile .btn-hero-secondary:hover {
    background-color: var(--wd-sale-color, #E63946) !important;
    color: #fff !important;
}

.pv-sale-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 1100px) {
    .pv-sale-section__inner {
        grid-template-columns: 1fr;
    }

    .pv-sale-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .pv-sale-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* ---- Blog fallback icon (posts without a featured image) ---- */
.blog-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: linear-gradient(135deg, #F0F6EF 0%, #E5EFE3 100%);
    color: var(--wd-primary-color);
}

.blog-img-placeholder svg {
    width: 44px;
    height: 44px;
}

/* ---- Consultation card + FAQ ---- */
.pv-consultation-faq-section {
    padding: 55px 0;
}

.pv-consultation-faq__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 30px;
    align-items: stretch;
}

.pv-consultation-card {
    position: relative;
    background: linear-gradient(160deg, var(--wd-primary-color) 0%, var(--wd-primary-color-dark, #2F5F38) 100%);
    border-radius: var(--wd-brd-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    color: #fff;
}

.pv-consultation-card__image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-height: 78%;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
}

.pv-consultation-card__body {
    position: relative;
    z-index: 2;
    padding: 24px 26px 28px;
    background: linear-gradient(to top, rgba(31, 66, 39, 0.92) 20%, rgba(31, 66, 39, 0.0));
}

.pv-consultation-card__body .consultation-tag {
    display: inline-block;
    background: rgba(255,255,255,0.16);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 10px;
}

.pv-consultation-card__body h3 {
    color: #fff !important;
    font-size: 19px;
    margin-bottom: 8px;
}

.pv-consultation-card__body p {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    margin-bottom: 16px;
}

.pv-faq {
    background: #fff;
    border-radius: var(--wd-brd-radius);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 26px;
}

.pv-faq__title {
    margin-bottom: 16px;
    font-size: 20px;
}

.pv-faq__item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pv-faq__item:last-child {
    border-bottom: none;
}

.pv-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: none;
    border: none;
    text-align: right;
    padding: 15px 2px;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 700;
    color: #1F2D22;
}

.pv-faq__icon {
    flex: 0 0 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F0F6EF;
    color: var(--wd-primary-color);
    font-size: 15px;
    transition: transform 0.25s ease;
}

.pv-faq__item.is-open .pv-faq__icon {
    transform: rotate(45deg);
    background: var(--wd-primary-color);
    color: #fff;
}

.pv-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.pv-faq__item.is-open .pv-faq__answer {
    max-height: 260px;
}

.pv-faq__answer p {
    padding: 0 2px 16px;
    color: #5b6b5e;
    font-size: 13.5px;
    line-height: 1.9;
    margin: 0;
}

@media (max-width: 900px) {
    .pv-consultation-faq__grid {
        grid-template-columns: 1fr;
    }

    .pv-consultation-card {
        min-height: 300px;
    }
}
