/* === products-catalog — изолированные стили из эталонного дизайна === */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

.products-catalog {
    --pc-bg: #F5F5F5;
    --pc-card: #fff;
    --pc-text: #0f172a;
    --pc-muted: #6b7280;
    --pc-border: #e5e7eb;
    --pc-accent: #8BC34A;
    --pc-accent2: #97C454;
    --pc-radius-card: 24px;
    --pc-radius-badge: 12px;
    --pc-radius-btn: 12px;
    background: var(--pc-bg);
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    color: var(--pc-text);
    min-height: 100vh;
}

.products-catalog * {
    font-family: inherit;
}

/* ---- Header ---- */
.products-catalog .pc-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(245,245,245,0.8);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.products-catalog .pc-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.products-catalog .pc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-catalog .pc-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
}

.products-catalog .pc-logo-text {
    line-height: 1.1;
}

.products-catalog .pc-logo-title {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.products-catalog .pc-logo-sub {
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #6b7280;
    font-weight: 500;
    margin-top: -2px;
}

.products-catalog .pc-status-badges {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: #6b7280;
}

.products-catalog .pc-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8BC34A;
    display: inline-block;
}

/* ---- Main container ---- */
.products-catalog .pc-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 14px 80px;
}

@media (min-width: 768px) {
    .products-catalog .pc-main { padding: 0 20px 80px; }
}

/* ---- Hero section ---- */
.products-catalog .pc-hero {
    padding-top: 14px;
    padding-bottom: 24px;
    text-align: left;
}

@media (min-width: 768px) {
    .products-catalog .pc-hero { padding-top: 32px; }
}

.products-catalog .pc-news-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    height: 28px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #52525b;
    margin-bottom: 16px;
    animation: pc-floatIn 0.6s ease;
}

.products-catalog .pc-news-badge svg { width: 14px; height: 14px; color: #8BC34A; }

.products-catalog .pc-hero-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.95;
    animation: pc-floatIn 0.6s ease 0.05s both;
}

@media (min-width: 768px) {
    .products-catalog .pc-hero-title { font-size: 48px; }
}

.products-catalog .pc-hero-sub {
    margin-top: 16px;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.5;
    color: #6b7280;
    animation: pc-floatIn 0.6s ease 0.1s both;
}

@media (min-width: 768px) {
    .products-catalog .pc-hero-sub { font-size: 17px; }
}

/* ---- Filter pills ---- */
.products-catalog .pc-filters {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    animation: pc-floatIn 0.6s ease 0.15s both;
}

.products-catalog .pc-filter-btn {
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #52525b;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.products-catalog .pc-filter-btn:hover {
    border-color: #d4d4d8;
    color: #0f172a;
}

.products-catalog .pc-filter-btn.active {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
    box-shadow: 0 8px 20px -8px rgba(0,0,0,0.6);
}

/* ---- Featured Card ---- */
.products-catalog .pc-featured-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px -18px rgba(0,0,0,0.18);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.3s;
    animation: pc-floatIn 0.7s ease 0.2s both;
}

.products-catalog .pc-featured-card:hover {
    box-shadow: 0 24px 60px -20px rgba(0,0,0,0.22);
    transform: translateY(-3px);
}

.products-catalog .pc-featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 768px) {
    .products-catalog .pc-featured-grid {
        grid-template-columns: 1.15fr 1fr;
    }
}

/* Badge */
.products-catalog .pc-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 26px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.products-catalog .pc-featured-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8BC34A;
    animation: pc-pulse-badge 2s infinite;
}

/* Illustration area */
.products-catalog .pc-featured-art {
    position: relative;
    min-height: 300px;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .products-catalog .pc-featured-art { min-height: 420px; }
}

.products-catalog .pc-featured-art-artGradient {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    pointer-events: none;
}

.products-catalog .pc-featured-art-inner {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-catalog .pc-featured-art-inner img {
    display: block;
    width: auto;
    max-width: 86%;
    height: auto;
    max-height: 86%;
    object-fit: contain;
    object-position: center;
    position: relative;
}

/* Uploaded image: fill entire art area */
.products-catalog .pc-featured-art--uploaded {
    padding: 0;
    background: none !important;
}

.products-catalog .pc-featured-art--uploaded .pc-featured-art-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    border-radius: inherit;
}

.products-catalog .pc-featured-art--uploaded .pc-featured-art-inner img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center 75%;
    border-radius: inherit;
}

/* Scale featured illustration to fit */
.products-catalog .pc-featured-art-inner .art-wrapper {
    transform: scale(1);
    transform-origin: center center;
    position: absolute !important;
    top: 50%;
    left: 50%;
    margin: -110px 0 0 -110px;
}

@media (max-width: 767px) {
    .products-catalog .pc-featured-art-inner .art-wrapper {
        transform: scale(0.85);
        margin: -93px 0 0 -93px;
    }
}

/* Bottom trust bar on illustration */
.products-catalog .pc-featured-trust-bar {
    position: absolute;
    bottom: 20px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.products-catalog .pc-trust-pill {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-catalog .pc-trust-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #8BC34A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-catalog .pc-premium-pill {
    background: #0f172a;
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Featured card content */
.products-catalog .pc-featured-content {
    padding: 24px 36px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .products-catalog .pc-featured-content { padding: 36px; }
}

.products-catalog .pc-featured-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.products-catalog .pc-featured-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
}

@media (min-width: 768px) {
    .products-catalog .pc-featured-title { font-size: 32px; }
}

.products-catalog .pc-featured-category {
    display: inline-flex;
    padding: 0 8px;
    height: 20px;
    border-radius: 999px;
    background: #F5F5F5;
    border: 1px solid #E5E7EB;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #0f172a;
    white-space: nowrap;
    align-items: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.products-catalog .pc-featured-desc {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.55;
    color: #52525b;
    max-width: 44ch;
}

@media (min-width: 768px) {
    .products-catalog .pc-featured-desc { font-size: 14px; }
}

/* Coverage block */
.products-catalog .pc-coverage-block {
    margin-top: 24px;
    padding: 16px;
    border-radius: 16px;
    background: #FAFAF9;
    border: 1px solid rgba(0,0,0,0.04);
}

.products-catalog .pc-coverage-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.products-catalog .pc-coverage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-catalog .pc-coverage-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.products-catalog .pc-coverage-list li:last-child { margin-bottom: 0; }

.products-catalog .pc-coverage-check {
    margin-top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E8F5D8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.products-catalog .pc-coverage-check svg {
    width: 12px;
    height: 12px;
    color: #6AAE2E;
    stroke-width: 3;
}

.products-catalog .pc-coverage-text {
    font-size: 13.5px;
    line-height: 18px;
    color: #3f3f46;
}

/* CTA row */
.products-catalog .pc-featured-cta {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.products-catalog .pc-btn {
    height: 48px;
    padding: 0 24px;
    border-radius: 14px;
    background: #8BC34A;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 10px 20px -10px rgba(139,195,74,0.8);
    transition: all 0.2s;
}

.products-catalog .pc-btn:hover {
    background: #7CB342;
    color: #fff;
    text-decoration: none;
}

.products-catalog .pc-btn:active { transform: scale(0.98); }

.products-catalog .pc-btn svg { width: 16px; height: 16px; }

.products-catalog .pc-price-info {
    font-size: 12px;
    line-height: 1.2;
    color: #6b7280;
}

.products-catalog .pc-price-info strong {
    font-weight: 600;
    color: #0f172a;
}

/* Trust footer line */
.products-catalog .pc-trust-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #9ca3af;
}

.products-catalog .pc-trust-footer svg { width: 16px; height: 16px; }

/* ---- Small Cards Grid ---- */
.products-catalog .pc-cards-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .products-catalog .pc-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

.products-catalog .pc-small-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 8px 30px -18px rgba(0,0,0,0.18);
    padding: 14px 20px;
    display: flex;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.products-catalog .pc-small-card:hover {
    box-shadow: 0 20px 50px -18px rgba(0,0,0,0.22);
    transform: translateY(-3px);
}

@media (min-width: 768px) {
    .products-catalog .pc-small-card { padding: 20px; }
}

.products-catalog .pc-small-card-art {
    width: 112px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .products-catalog .pc-small-card-art { width: 148px; }
}

.products-catalog .pc-small-card-art .art-glow {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    pointer-events: none;
}

.products-catalog .pc-small-card-art-inner {
    position: relative;
    width: 100%;
    height: 112px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-catalog .pc-small-card-art-inner img {
    display: block;
    width: auto;
    max-width: 88%;
    height: auto;
    max-height: 88%;
    object-fit: contain;
    object-position: center;
}

/* Uploaded image: fill entire small art area */
.products-catalog .pc-small-card-art--uploaded {
    padding: 0;
    background: none !important;
}

.products-catalog .pc-small-card-art--uploaded .pc-small-card-art-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.products-catalog .pc-small-card-art--uploaded .pc-small-card-art-inner img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center bottom;
    border-radius: inherit;
}

/* Scale down the full-size illustration inside small card art area */
.products-catalog .pc-small-card-art-inner .art-wrapper {
    transform: scale(0.51);
    transform-origin: top left;
    position: absolute !important;
    top: 0;
    left: 0;
}

@media (min-width: 768px) {
    .products-catalog .pc-small-card-art-inner { height: 140px; }
    .products-catalog .pc-small-card-art-inner .art-wrapper {
        transform: scale(0.62);
    }
    .products-catalog .pc-small-card-art-inner img {
        max-width: 88%;
        max-height: 88%;
    }
}

.products-catalog .pc-small-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.products-catalog .pc-small-card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.products-catalog .pc-small-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
}

@media (min-width: 768px) {
    .products-catalog .pc-small-card-title { font-size: 18px; }
}

.products-catalog .pc-small-card-category {
    padding: 0 8px;
    height: 20px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.products-catalog .pc-small-card-desc {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-catalog .pc-small-coverage-section {
    margin-top: 8px;
}

.products-catalog .pc-small-coverage-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9ca3af;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.products-catalog .pc-small-coverage-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.products-catalog .pc-small-coverage-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.products-catalog .pc-small-coverage-check {
    margin-top: 1px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E8F5D8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.products-catalog .pc-small-coverage-check svg {
    width: 10px;
    height: 10px;
    color: #6AAE2E;
    stroke-width: 3;
}

.products-catalog .pc-small-coverage-text {
    font-size: 12px;
    line-height: 1.35;
    color: #3f3f46;
}

.products-catalog .pc-show-more-btn {
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
}

.products-catalog .pc-show-more-btn:hover { color: #0f172a; }

.products-catalog .pc-small-card-cta {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-catalog .pc-btn-sm {
    height: 38px;
    padding: 0 16px;
    border-radius: 12px;
    background: #8BC34A;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 8px 16px -10px rgba(124,179,66,0.9);
    transition: all 0.2s;
}

.products-catalog .pc-btn-sm:hover {
    background: #7CB342;
    color: #fff;
    text-decoration: none;
}

.products-catalog .pc-btn-sm:active { transform: scale(0.98); }

.products-catalog .pc-btn-sm svg { width: 14px; height: 14px; }

.products-catalog .pc-small-price {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

/* Card bottom glow line */
.products-catalog .pc-card-glow-line {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(139,195,74,0), transparent);
    transition: all 0.5s;
}

.products-catalog .pc-small-card:hover .pc-card-glow-line {
    background: linear-gradient(to right, transparent, rgba(139,195,74,0.6), transparent);
}

/* ---- Trust Badges ---- */
.products-catalog .pc-trust-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .products-catalog .pc-trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.products-catalog .pc-trust-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.products-catalog .pc-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-catalog .pc-trust-icon svg { width: 20px; height: 20px; }

.products-catalog .pc-trust-text {
    font-size: 12px;
    line-height: 1.3;
}

.products-catalog .pc-trust-text strong {
    font-weight: 600;
}

.products-catalog .pc-trust-text span {
    color: #6b7280;
}

/* ---- Footer ---- */
.products-catalog .pc-footer-line {
    margin-top: 32px;
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
}

/* ---- Hidden items ---- */
.products-catalog .pc-coverage-hidden { display: none; }
.products-catalog .pc-coverage-hidden.visible { display: flex; }
.products-catalog .card-hidden { display: none !important; }

/* ---- Animations ---- */
@keyframes pc-floatIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pc-pulse-badge {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* ---- Icon SVGs (inline) ---- */
.products-catalog .pc-icon { display: inline-block; vertical-align: middle; }