/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 1rem 0;
    font-size: .85rem;
    color: #666;
    background: #f9f9f9;
}
.breadcrumbs__link {
    color: #2e7d32;
    text-decoration: none;
}
.breadcrumbs__link:hover {
    text-decoration: underline;
}
.breadcrumbs__sep {
    margin: 0 8px;
    color: #999;
}
.breadcrumbs__current {
    color: #333;
}

/* ===== PRICE HERO ===== */
.price-hero {
    text-align: center;
    padding: 3rem 0 2rem;
}
.price-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.8rem;
    align-items: center;
}
.price-hero__content {
    text-align: left;
}
.price-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 1rem;
}
.price-hero__subtitle {
    font-size: 1.05rem;
    color: #555;
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}
.price-hero__media {
    display: flex;
    justify-content: center;
    align-items: center;
}
.price-hero__product-img {
    width: min(210px, 100%);
    max-width: 100%;
    max-height: 300px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.2));
}

/* ===== MARKETPLACE PRICE CARDS ===== */
.price-cards {
    padding: 3rem 0 4rem;
}
.price-cards__intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}
.price-cards__title {
    margin-bottom: .65rem;
}
.price-cards__lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}
.price-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.marketplace-price-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 360px;
    padding: 2rem 1.6rem 1.6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
    text-align: center;
}
.marketplace-price-card--active:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.marketplace-price-card--unavailable {
    background: #f7f9f8;
    border-style: dashed;
}
.marketplace-price-card__provider {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin-bottom: 1.2rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--text-main);
    background: #eef2f0;
}
.marketplace-price-card.marketplace--wildberries .marketplace-price-card__provider {
    color: #7d20aa;
    background: #f7eaff;
}
.marketplace-price-card.marketplace--ozon .marketplace-price-card__provider {
    color: #005bff;
    background: #eaf1ff;
}
.marketplace-price-card.marketplace--yandex-market .marketplace-price-card__provider {
    color: #302800;
    background: #fff4b8;
}
.marketplace-price-card__title {
    margin: 0 0 .9rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
}
.marketplace-price-card__price-label,
.marketplace-price-card__status {
    margin: 0 0 .35rem;
    color: var(--text-muted);
    font-size: .9rem;
    font-weight: 600;
}
.marketplace-price-card__price {
    margin: 0 0 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--brand);
}
.marketplace-price-card__status {
    margin-bottom: 1rem;
    color: #7a8580;
}
.marketplace-price-card__text {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.6;
}
.marketplace-price-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: auto;
    padding: .8rem 1rem;
    border-radius: 10px;
    color: #fff;
    background: var(--brand);
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.marketplace-price-card__button:hover,
.marketplace-price-card__button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(20, 44, 50, .14);
}
.marketplace-price-card.marketplace--wildberries .marketplace-price-card__button {
    background: linear-gradient(90deg, #7727d8 0%, #c83acf 100%);
}
.marketplace-price-card.marketplace--wildberries .marketplace-price-card__button:hover,
.marketplace-price-card.marketplace--wildberries .marketplace-price-card__button:focus-visible {
    background: #b04dfd;
}
.marketplace-price-card.marketplace--ozon .marketplace-price-card__button {
    background: #005bff;
}
.marketplace-price-card.marketplace--ozon .marketplace-price-card__button:hover,
.marketplace-price-card.marketplace--ozon .marketplace-price-card__button:focus-visible {
    background: #0048cc;
}
.marketplace-price-card.marketplace--yandex-market .marketplace-price-card__button {
    color: #211c00;
    background: #ffcc00;
}
.marketplace-price-card.marketplace--yandex-market .marketplace-price-card__button:hover,
.marketplace-price-card.marketplace--yandex-market .marketplace-price-card__button:focus-visible {
    background: #e8b900;
}
/* ===== PRICE COMPARE ===== */
.price-compare {
    padding: 3rem 0;
    background: #f9f9f9;
}
.price-compare__table-wrap {
    overflow-x: auto;
    margin-top: 2rem;
}
.price-compare__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.price-compare__table thead {
    background: #1a3a4a;
    color: #fff;
}
.price-compare__table th {
    padding: 16px 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    text-align: center;
}
.price-compare__table th:first-child {
    text-align: left;
}
.price-compare__th-original {
    background: #2e7d32;
}
.price-compare__th-suspicious {
    background: #d83c3c;
}
.price-compare__table td {
    padding: 14px 20px;
    font-size: .9rem;
    color: #444;
    border-bottom: 1px solid #d6dfe6;
}

.price-compare__table th,
.price-compare__table td {
    border-right: 1px solid #d6dfe6;
}

.price-compare__table th:last-child,
.price-compare__table td:last-child {
    border-right: none;
}
.price-compare__table td:nth-child(2),
.price-compare__table td:nth-child(3) {
    text-align: center;
}

.price-compare__table td:nth-child(3) {
    background-color: #fff5f5;
}
.price-compare__table tr:last-child td {
    border-bottom: none;
}
.price-compare__highlight {
    color: #2e7d32;
    font-weight: 700;
}
.price-compare__warning {
    color: #999;
}

.price-compare__strong {
    font-weight: 700;
}
.price-compare__check {
    color: #2e7d32;
    font-size: 1.2rem;
    font-weight: 700;
}
.price-compare__cross {
    color: #c62828;
    font-size: 1.2rem;
    font-weight: 700;
}

/* ===== PRICE WHY ===== */
.price-why {
    padding: 3rem 0;
}
.price-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2rem;
}
.price-why__card {
    background: #fff;
    border: 1px solid #e8f5e9;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}
.price-why__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}
.price-why__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.price-why__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
}
.price-why__text {
    font-size: .9rem;
    color: #666;
    line-height: 1.6;
}

/* ===== PRICE CTA ===== */
.price-cta {
    background: #1a3a4a;
    padding: 3rem 0;
    text-align: center;
}
.price-cta__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.8rem;
}
.price-cta__text {
    font-size: 1rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 1.5rem;
}
.price-cta__arrows {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    margin-top: 0.45rem;
}
.price-cta__arrow {
    position: relative;
    width: 10px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f7a94a 0%, #ef7c2f 55%, #dd5626 100%);
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    animation: priceCtaArrowBounce 1.35s ease-in-out infinite;
}
.price-cta__arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 20px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f39b42 0%, #e46527 100%);
    transform-origin: center;
    transform: translateX(-72%) rotate(42deg);
}
.price-cta__arrow::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 20px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f39b42 0%, #e46527 100%);
    transform-origin: center;
    transform: translateX(-28%) rotate(-42deg);
}
.price-cta__arrow:nth-child(2) {
    animation-delay: 0.15s;
}
.price-cta__arrow:nth-child(3) {
    animation-delay: 0.3s;
}
@keyframes priceCtaArrowBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.92;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}
.price-cta__btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
}

/* ===== ACTIVE NAV LINK ===== */
.header__nav-link--active {
    color: #2e7d32 !important;
    border-bottom-color: #2e7d32 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .price-hero__title {
        font-size: 1.6rem;
    }
    .price-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .price-hero__content {
        text-align: center;
    }
    .price-hero__subtitle {
        margin: 0 auto;
    }
    .price-cards__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .marketplace-price-card {
        min-height: 330px;
    }
    .marketplace-price-card--unavailable {
        min-height: 240px;
    }
    .price-why__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .price-cta__title {
        font-size: 1.5rem;
    }
    .price-compare__table th,
    .price-compare__table td {
        padding: 10px 12px;
        font-size: .8rem;
    }
}

/* ===== TRUST PAGE OVERRIDES ===== */
.breadcrumbs {
    background: transparent;
    border-bottom: 1px solid rgba(31, 90, 75, 0.08);
    padding: 1.15rem 0;
}

.breadcrumbs__current {
    color: var(--text-main);
}

.price-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 66%, #2d7967 100%);
    border-radius: 0 0 34px 34px;
    box-shadow: var(--shadow-lg);
    color: #fff;
    padding: 4rem 0 4.5rem;
}

.price-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 26%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 54%);
    pointer-events: none;
}

.price-hero .container {
    position: relative;
}

.price-hero__title,
.price-hero__subtitle {
    color: #fff;
}

.price-hero__subtitle {
    max-width: 720px;
    opacity: 0.9;
}

.price-cards {
    padding-top: 3.2rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.price-why__text {
    color: var(--text-muted);
}

.price-compare,
.price-why {
    background: transparent;
}

.price-compare__table {
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-md);
}

.price-compare__table thead {
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
}

.price-compare__th-original {
    background: rgba(31, 90, 75, 0.16);
}

.price-compare__th-suspicious {
    background: rgba(184, 83, 83, 0.24);
}

.price-compare__table td {
    color: var(--text-main);
}

.price-compare__table tbody tr:nth-child(even) td {
    background: #f8fbf9;
}

.price-compare__table tbody tr td:nth-child(3) {
    background: #ffe9e9;
}

.price-why__card {
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.price-why__card {
    background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
    padding: 2.2rem 1.8rem;
}

.price-why__name {
    color: var(--text-main);
}

.price-cta {
    background: transparent;
}

.price-cta .container {
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 70%, #2d7967 100%);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    padding: 3rem 2rem;
}

@media (max-width: 768px) {
    .price-hero {
        border-radius: 0 0 26px 26px;
        padding: 3rem 0 3.5rem;
    }

    .price-cards {
        margin-top: 0;
        padding-top: 2.6rem;
    }

    .marketplace-price-card {
        border-radius: 24px;
    }

    .price-cta .container {
        border-radius: 24px;
        padding: 2.3rem 1.2rem;
    }
}
