/* === ECOFF Default Theme === */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* === Design Tokens === */
:root {
    /* РўРёРїРѕРіСЂР°С„РёРєР° */
    --e-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* РћСЃРЅРѕРІРЅС‹Рµ С†РІРµС‚Р° вЂ” ECOFF brand palette (ocean/teal) */
    --e-accent: #2c5364;
    --e-accent-hover: #3a6a7e;
    --e-accent-light: #e0edf1;
    --e-accent-glow: rgba(44, 83, 100, 0.10);
    --e-accent-dark: #203a43;
    --e-accent-muted: #5a8a9e;
    --e-accent-soft: #7eaab8;
    --e-accent-50: #f2f8fa;

    /* Р¤РѕРЅ */
    --e-bg: #f5f7fa;
    --e-bg-white: #ffffff;
    --e-bg-card: #ffffff;
    --e-bg-dark: #0f1d24;
    --e-bg-subtle: #f0f2f5;

    /* РўРµРєСЃС‚ */
    --e-text: #111827;
    --e-text-secondary: #6b7280;
    --e-text-muted: #9ca3af;
    --e-text-light: #d1d5db;

    /* Р“СЂР°РЅРёС†С‹ */
    --e-border: #e2e5e9;
    --e-border-light: #f0f0f0;

    /* Р Р°РґРёСѓСЃС‹ */
    --e-radius: 12px;
    --e-radius-sm: 8px;
    --e-radius-xs: 6px;

    /* РўРµРЅРё */
    --e-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --e-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --e-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --e-shadow-accent: 0 4px 14px rgba(44, 83, 100, 0.25);

    /* РљРѕРЅС‚РµР№РЅРµСЂ */
    --e-container: 1200px;

    /* Transitions */
    --e-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --e-transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--e-font);
    color: var(--e-text);
    background: var(--e-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--e-accent);
    text-decoration: none;
    transition: color var(--e-transition);
}

a:hover {
    color: var(--e-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Header === */
.header {
    background: var(--e-bg-white);
    border-bottom: 1px solid var(--e-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.85);
}

.header__container {
    max-width: var(--e-container);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 3rem;
}

.header__logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--e-accent) !important;
    text-decoration: none;
    letter-spacing: -0.03em;
    position: relative;
}

.header__logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--e-accent), var(--e-accent-hover));
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform var(--e-transition);
}

.header__logo:hover::after {
    transform: scaleX(1);
}

.header__nav {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.header__nav-link {
    padding: 0.5rem 1.1rem;
    border-radius: var(--e-radius-sm);
    color: var(--e-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--e-transition);
    position: relative;
}

.header__nav-link:hover {
    background: var(--e-accent-light);
    color: var(--e-accent);
}

.header__nav-link--active {
    background: var(--e-accent-light);
    color: var(--e-accent);
    font-weight: 600;
}

.header__nav-link--active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--e-accent);
    border-radius: 1px;
}

/* === Main === */
.main {
    max-width: var(--e-container);
    margin: 0 auto;
    padding: 2.5rem 2rem;
    min-height: calc(100vh - 72px - 100px);
}

/* === Footer === */
.footer {
    background: var(--e-bg-dark);
    color: var(--e-text-light);
    margin-top: 4rem;
}

.footer__container {
    max-width: var(--e-container);
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copy {
    font-size: 0.85rem;
    color: var(--e-text-muted);
}

.footer__logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--e-accent-hover);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.footer__nav {
    display: flex;
    gap: 1.5rem;
}

.footer__nav-link {
    color: var(--e-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--e-transition);
}

.footer__nav-link:hover {
    color: var(--e-accent-hover);
}

/* === Hero (Р“Р»Р°РІРЅР°СЏ) === */
.hero {
    text-align: center;
    padding: 5rem 0 3rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -72px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--e-accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--e-text) 0%, var(--e-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    font-size: 1.2rem;
    color: var(--e-text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--e-radius-sm);
    font-family: var(--e-font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--e-transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--e-accent);
    color: #fff;
    box-shadow: var(--e-shadow-accent);
}

.btn--primary:hover {
    background: var(--e-accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(44, 83, 100, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--e-text);
    border: 1.5px solid var(--e-border);
}

.btn--outline:hover {
    border-color: var(--e-accent);
    color: var(--e-accent);
    background: var(--e-accent-light);
}

/* === Cards === */
.card {
    background: var(--e-bg-card);
    border: 1px solid var(--e-border-light);
    border-radius: var(--e-radius);
    padding: 2rem;
    transition: all var(--e-transition-slow);
}

.card:hover {
    border-color: var(--e-accent-glow);
    box-shadow: var(--e-shadow-lg);
    transform: translateY(-2px);
}

.card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--e-radius-sm);
    background: var(--e-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--e-accent);
    font-size: 1.25rem;
}

.card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--e-text);
}

.card__desc {
    font-size: 0.9rem;
    color: var(--e-text-secondary);
    line-height: 1.6;
}

/* === Grid === */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* === Page Content === */
.page-content {
    margin-top: 2rem;
    line-height: 1.85;
    font-size: 1.05rem;
    color: var(--e-text);
}

.page-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 3rem 0 1rem;
    color: var(--e-text);
}

.page-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.page-content p {
    margin-bottom: 1.25rem;
}

.page-content ul, .page-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content blockquote {
    border-left: 3px solid var(--e-accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--e-accent-light);
    border-radius: 0 var(--e-radius-sm) var(--e-radius-sm) 0;
    color: var(--e-text-secondary);
    font-style: italic;
}

/* === Breadcrumbs === */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    font-size: 0.85rem;
    color: var(--e-text-muted);
    margin-bottom: 0.5rem;
}

.breadcrumbs__link {
    color: var(--e-text-muted);
    text-decoration: none;
    transition: color var(--e-transition);
}

.breadcrumbs__link:hover {
    color: var(--e-accent);
}

.breadcrumbs__sep {
    color: var(--e-border);
    font-size: 0.75rem;
}

.breadcrumbs__current {
    color: var(--e-text);
    font-weight: 500;
}

/* === Section === */
.section {
    padding: 4rem 0;
}

.section__title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    text-align: center;
}

.section__desc {
    font-size: 1.05rem;
    color: var(--e-text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* === Badge === */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge--accent {
    background: var(--e-accent-light);
    color: var(--e-accent);
}

.badge--dark {
    background: var(--e-bg-dark);
    color: var(--e-text-light);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.5s var(--e-transition) both;
}

.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--e-border);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--e-text-muted);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header__container {
        height: 60px;
        padding: 0 1.25rem;
        gap: 1.5rem;
    }

    .header__nav-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    .main {
        padding: 1.5rem 1.25rem;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero__desc {
        font-size: 1rem;
    }

    .grid--2, .grid--3, .grid--4 {
        grid-template-columns: 1fr;
    }

    .footer__container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .product-detail__grid {
        grid-template-columns: 1fr;
    }
}

/* === Page Title === */
.page-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--e-text);
}

/* === Card Link === */
.card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card--link:hover {
    color: inherit;
}

.card--compact {
    padding: 1.25rem;
}

.card__count {
    display: block;
    font-size: 0.8rem;
    color: var(--e-text-muted);
    margin-top: 0.25rem;
}

.card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--e-radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--e-bg-subtle);
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__image--sm {
    aspect-ratio: 4 / 3;
    margin-bottom: 0.75rem;
}

/* === Catalog Section === */
.catalog-section {
    margin-top: 2.5rem;
}

.catalog-section__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--e-text);
}

/* === Container === */
.container {
    max-width: var(--e-container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* === Page Hero === */
.page-hero {
    text-align: center;
    padding: 3rem 2rem 2rem;
    margin-bottom: 1rem;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--e-text);
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.05rem;
    color: var(--e-text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* === Catalog Cards Grid === */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* === Catalog Card === */
.catalog-card {
    background: var(--e-bg-card);
    border: 1px solid var(--e-border-light);
    border-radius: var(--e-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--e-transition-slow);
}

.catalog-card:hover {
    border-color: rgba(44, 83, 100, 0.2);
    box-shadow: var(--e-shadow);
    transform: translateY(-2px);
}

.catalog-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: background var(--e-transition);
}

.catalog-card__header:hover {
    background: var(--e-accent-50);
    color: inherit;
}

.catalog-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--e-radius-sm);
    flex-shrink: 0;
    object-fit: cover;
}

.catalog-card__icon--placeholder {
    background: var(--e-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--e-accent-muted);
}

.catalog-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--e-text);
    line-height: 1.3;
}

.catalog-card__count {
    font-size: 0.8rem;
    color: var(--e-text-muted);
    margin-top: 2px;
}

.catalog-card__divider {
    height: 1px;
    background: var(--e-border-light);
    margin: 0 1.5rem;
}

.catalog-card__subs {
    list-style: none;
    padding: 0.75rem 1.5rem;
    margin: 0;
    flex: 1;
}

.catalog-card__subs li {
    margin-bottom: 0;
}

.catalog-card__subs a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: var(--e-text-secondary);
    text-decoration: none;
    transition: color var(--e-transition);
}

.catalog-card__subs a:hover {
    color: var(--e-accent);
}

.catalog-card__subs-count {
    font-size: 0.75rem;
    color: var(--e-text-muted);
    background: var(--e-bg-subtle);
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
}

.catalog-card__all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--e-accent);
    text-decoration: none;
    border-top: 1px solid var(--e-border-light);
    transition: all var(--e-transition);
    margin-top: auto;
}

.catalog-card__all:hover {
    background: var(--e-accent-light);
    color: var(--e-accent-hover);
}

.catalog-card__all svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

/* === Catalog Layout (sidebar + content) === */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}

.catalog-layout__content {
    min-width: 0;
}

@media (max-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 220px 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
}

/* === Catalog Sidebar === */
.catalog-sidebar {
    background: var(--e-bg-card);
    border: 1px solid var(--e-border-light);
    border-radius: var(--e-radius);
    padding: 1.25rem 0;
    position: sticky;
    top: 88px;
}

.catalog-sidebar__back {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--e-accent);
    text-decoration: none;
    transition: all var(--e-transition);
    margin-bottom: 0.25rem;
}

.catalog-sidebar__back:hover {
    color: var(--e-accent-hover);
    background: var(--e-accent-50);
}

.catalog-sidebar__back svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.catalog-sidebar__title {
    padding: 0.5rem 1.25rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--e-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.catalog-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
    color: var(--e-text-secondary);
    text-decoration: none;
    transition: all var(--e-transition);
    border-left: 3px solid transparent;
}

.catalog-sidebar__link:hover {
    color: var(--e-accent);
    background: var(--e-accent-50);
}

.catalog-sidebar__link--active {
    color: var(--e-accent);
    background: var(--e-accent-light);
    border-left-color: var(--e-accent);
    font-weight: 600;
}

.catalog-sidebar__link-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-sidebar__link-count {
    font-size: 0.75rem;
    color: var(--e-text-muted);
    background: var(--e-bg-subtle);
    padding: 0.1rem 0.45rem;
    border-radius: 8px;
    font-weight: 500;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .catalog-sidebar {
        position: static;
        border-radius: var(--e-radius-sm);
    }
}

/* === Product Card === */
.product-card {
    display: block;
    background: var(--e-bg-card);
    border: 1px solid var(--e-border-light);
    border-radius: var(--e-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--e-transition-slow);
}

.product-card:hover {
    border-color: var(--e-accent-glow);
    box-shadow: var(--e-shadow-lg);
    transform: translateY(-2px);
    color: inherit;
}

.product-card__image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--e-bg-subtle);
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--e-transition-slow);
}

.product-card:hover .product-card__image img {
    transform: scale(1.04);
}

.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--e-text-muted);
}

.product-card__body {
    padding: 1rem 1.25rem;
}

.product-card__name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    color: var(--e-text);
}

.product-card__sku {
    font-size: 0.8rem;
    color: var(--e-text-muted);
}

/* === Product Detail === */
.product-detail {
    padding: 1rem 0 3rem;
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-detail__main-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--e-radius);
    overflow: hidden;
    background: var(--e-bg-card);
    border: 1px solid var(--e-border-light);
}

.product-detail__main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail__no-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--e-radius);
    background: var(--e-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--e-text-muted);
}

.product-detail__title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--e-text);
}

.product-detail__sku {
    margin-bottom: 1.5rem;
}

.product-detail__description {
    margin-bottom: 2rem;
}

.product-detail__meta {
    padding-top: 1.5rem;
    border-top: 1px solid var(--e-border-light);
    font-size: 0.9rem;
    color: var(--e-text-secondary);
}

.product-detail__category a {
    color: var(--e-accent);
    font-weight: 500;
}

/* === Empty State === */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state__text {
    font-size: 1.05rem;
    color: var(--e-text-muted);
}

/* === Pagination === */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding: 1.5rem 0;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: var(--e-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--e-text-secondary);
    text-decoration: none;
    transition: all var(--e-transition);
    border: 1px solid var(--e-border);
    background: var(--e-bg-white);
}

.pagination__link:hover {
    color: var(--e-accent);
    border-color: var(--e-accent);
    background: var(--e-accent-light);
}

.pagination__link--disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pagination__link svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pagination__pages {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: var(--e-radius-xs);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--e-text-secondary);
    text-decoration: none;
    transition: all var(--e-transition);
}

.pagination__page:hover {
    color: var(--e-accent);
    background: var(--e-accent-light);
}

.pagination__page--active {
    background: var(--e-accent);
    color: #fff;
    font-weight: 600;
}

.pagination__page--active:hover {
    background: var(--e-accent-hover);
    color: #fff;
}

.pagination__dots {
    padding: 0 0.25rem;
    color: var(--e-text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .pagination__link {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .pagination__page {
        min-width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* === Р‘Р»РѕРє РІР°СЂРёР°РЅС‚РѕРІ С‚РѕРІР°СЂР° === */
.product-variants {
    margin: 1.5rem 0;
}

.product-variants__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.product-variants__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-variants__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    text-decoration: none;
}

.product-variants__item:hover {
    border-color: var(--e-accent, #2c5364);
    box-shadow: 0 2px 8px rgba(44, 83, 100, 0.15);
    transform: translateY(-1px);
}

.product-variants__item--active {
    border-color: var(--e-accent, #2c5364);
    box-shadow: 0 0 0 2px rgba(44, 83, 100, 0.25);
    cursor: default;
}

.product-variants__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-variants__placeholder {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    text-transform: uppercase;
}


/* ============================================
   ReptiLove Theme Override
   РџРµСЂРµРѕРїСЂРµРґРµР»СЏРµС‚ design tokens РёР· _default.
   Р Р°СЃРєР»Р°РґРєР°, РєР»Р°СЃСЃС‹, С€Р°Р±Р»РѕРЅС‹ вЂ” РёР· _default.
   ============================================ */

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

:root {
    /* РўРёРїРѕРіСЂР°С„РёРєР° вЂ” Montserrat РІРјРµСЃС‚Рѕ Inter */
    --e-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* РђРєС†РµРЅС‚ вЂ” ReptiLove pink */
    --e-accent: #e23a7a;
    --e-accent-hover: #f0508e;
    --e-accent-light: rgba(226, 58, 122, 0.12);
    --e-accent-glow: rgba(226, 58, 122, 0.10);
    --e-accent-dark: #b82060;
    --e-accent-muted: #d96090;
    --e-accent-soft: #e88aad;
    --e-accent-50: rgba(226, 58, 122, 0.06);

    /* Р¤РѕРЅ вЂ” С‚С‘РјРЅР°СЏ С‚РµРјР° */
    --e-bg: #0d0d0d;
    --e-bg-white: #161616;
    --e-bg-card: #161616;
    --e-bg-dark: #0a0a0a;
    --e-bg-subtle: #1e1e1e;

    /* РўРµРєСЃС‚ вЂ” СЃРІРµС‚Р»С‹Р№ РЅР° С‚С‘РјРЅРѕРј */
    --e-text: #e0e0e0;
    --e-text-secondary: #999;
    --e-text-muted: #666;
    --e-text-light: #d1d5db;

    /* Р“СЂР°РЅРёС†С‹ вЂ” С‚РѕРЅРєРёРµ, РїРѕР»СѓРїСЂРѕР·СЂР°С‡РЅС‹Рµ */
    --e-border: rgba(255, 255, 255, 0.08);
    --e-border-light: rgba(255, 255, 255, 0.06);

    /* РўРµРЅРё вЂ” РјСЏРіРєРёРµ РґР»СЏ С‚С‘РјРЅРѕР№ С‚РµРјС‹ */
    --e-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --e-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    --e-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --e-shadow-accent: 0 4px 14px rgba(226, 58, 122, 0.25);

    /* РљРѕРЅС‚РµР№РЅРµСЂ вЂ” С€РёСЂРµ */
    --e-container: 1360px;

    /* Переменные без префикса для footer из концепта ReptiLove */
    --bg: #0d0d0d;
    --surface: #161616;
    --surface-hover: #1e1e1e;
    --border: rgba(255, 255, 255, 0.08);
    --text: #e0e0e0;
    --text-muted: #999;
    --accent: #e23a7a;
    --accent-light: #f0508e;
    --accent-dark: #b82060;
    --container: 1360px;
    --side-pad: 4%;
    --radius: 16px;
    --tr: all 0.3s cubic-bezier(.4, 0, .2, 1);
    --bg-card: #1e1e1e;
}

/* === РўРµР»Рѕ вЂ” С‚С‘РјРЅС‹Р№ С„РѕРЅ === */
body {
    font-family: var(--e-font);
    background: var(--e-bg);
    color: var(--e-text);
}

/* === Header вЂ” С‚С‘РјРЅС‹Р№ СЃ blur === */
.header {
    background: rgba(13, 13, 13, 0.85);
    border-bottom-color: var(--e-border);
}

/* === РЎСЃС‹Р»РєРё === */
a { color: inherit; }
a:hover { color: var(--e-accent-hover); }

.header__logo {
    color: var(--e-accent) !important;
}
.header__logo::after {
    background: linear-gradient(90deg, var(--e-accent), var(--e-accent-hover));
}
.header__nav-link {
    color: var(--e-text-secondary);
}
.header__nav-link:hover {
    background: var(--e-accent-light);
    color: var(--e-accent);
}
.header__nav-link--active {
    background: var(--e-accent-light);
    color: var(--e-accent);
}
.header__nav-link--active::after {
    background: var(--e-accent);
}

/* === Footer вЂ” С‚С‘РјРЅС‹Р№ === */
.footer {
    background: #0a0a0a;
    border-top: 1px solid var(--e-border);
}
.footer__logo { color: var(--e-accent-hover); }

/* === РљРЅРѕРїРєРё === */
.btn--primary {
    box-shadow: var(--e-shadow-accent);
}
.btn--primary:hover {
    box-shadow: 0 6px 20px rgba(226, 58, 122, 0.35);
}
.btn--outline {
    color: var(--e-text);
    border-color: var(--e-border);
}
.btn--outline:hover {
    border-color: var(--e-accent);
    color: var(--e-accent);
    background: var(--e-accent-light);
}

/* === РљР°СЂС‚РѕС‡РєРё === */
.card { background: var(--e-bg-card); border-color: var(--e-border); }
.card:hover { border-color: rgba(226, 58, 122, 0.2); }
.card__icon { background: var(--e-accent-light); color: var(--e-accent); }
.card__title { color: var(--e-text); }

/* === Hero === */
.hero h1 {
    background: linear-gradient(135deg, var(--e-text) 0%, var(--e-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* === Scrollbar === */
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25); }



/* === ReptiLove Footer === */
/* ============================================
   FOOTER вЂ” С‚С‘РјРЅС‹Р№, РјРёРЅРёРјР°Р»РёСЃС‚РёС‡РЅС‹Р№
   ============================================ */
.site-footer {
  margin-top: auto;
  background: #0a0a0a;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem var(--side-pad) 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  color: #fff;
}

/* Р›РѕРіРѕС‚РёРї Рё РєРѕРЅС‚Р°РєС‚С‹ */
.footer-logo-link { display: inline-block; margin-bottom: .8rem; }
.footer-logo {
  height: 36px;
}
.footer-tagline {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-style: italic;
}
.footer-contacts { margin-bottom: 1.2rem; }
.footer-phone {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: .3rem;
}
.footer-address {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer-schedule {
  font-size: .78rem;
  color: var(--accent);
  margin-top: .2rem;
}

/* РЎРѕС†СЃРµС‚Рё */
.footer-socials {
  display: flex;
  gap: .6rem;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--tr);
}
.footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(226,58,122,0.08);
}
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }

/* Р—Р°РіРѕР»РѕРІРєРё РєРѕР»РѕРЅРѕРє */
.footer-col__title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

/* РќР°РІРёРіР°С†РёСЏ */
.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: .4rem; }
.footer-nav a {
  font-size: .88rem;
  color: rgba(255,255,255,0.6);
  transition: var(--tr);
  text-decoration: none;
}
.footer-nav a:hover { color: #fff; }

/* Р РµРєРІРёР·РёС‚С‹ */
.footer-requisites p {
  font-size: .78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}
.footer-requisites a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  transition: var(--tr);
}
.footer-requisites a:hover { color: #fff; }

/* РќРёР¶РЅСЏСЏ РїРѕР»РѕСЃР° */
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--side-pad) 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .72rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: var(--tr);
}
.footer-bottom a:hover { color: #fff; }

.payment-icons {
  display: flex;
  gap: .5rem;
}
.payment-icons span {
  padding: 3px 7px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
}

/* === MOBILE === */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .6rem; text-align: center; }
}


/* === Заголовки — акцентный цвет === */
h1, h2, h3 { color: #e23a7a; }
.page-title { color: #e23a7a; }
.catalog-section__title { color: #e23a7a; }
.product-detail__title { color: #e23a7a; }

/* === Статьи: список === */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.article-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card, #161616);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 0.75rem;
    align-items: flex-start;
}
.article-item:hover {
    border-color: rgba(226, 58, 122, 0.35);
    box-shadow: 0 4px 16px rgba(226, 58, 122, 0.1);
}
.article-item__img {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}
.article-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-item__body {
    flex: 1;
    min-width: 0;
}
.article-item__title {
    color: #e23a7a;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}
.article-item__desc {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
    line-height: 1.5;
}
.article-item__date {
    color: #666;
    font-size: 0.8rem;
}

/* === Детальная страница статьи/акции === */
.article-detail__img {
    margin-bottom: 2rem;
    border-radius: var(--e-radius, 12px);
    overflow: hidden;
}
.article-detail__img img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}
.article-detail__date {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--e-text-muted, #6b7280);
}

/* === Юридические документы === */
.legal-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.legal-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card, #161616);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}
.legal-item:hover {
    border-color: rgba(226, 58, 122, 0.35);
    box-shadow: 0 4px 16px rgba(226, 58, 122, 0.1);
}
.legal-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(226, 58, 122, 0.1);
    border-radius: 10px;
    color: #e23a7a;
}
.legal-item__body {
    flex: 1;
    min-width: 0;
}
.legal-item__title {
    color: #e23a7a;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
}
.legal-item__excerpt {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}
.legal-item__arrow {
    flex-shrink: 0;
    font-size: 1.2rem;
    color: #666;
    transition: color 0.2s;
}
.legal-item:hover .legal-item__arrow {
    color: #e23a7a;
}

/* Детальная страница */
.legal-detail__summary {
    background: rgba(226, 58, 122, 0.08);
    border-left: 3px solid #e23a7a;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}
.legal-detail__summary strong {
    color: #e23a7a;
}
.legal-detail__actions {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Печать */
@media print {
    .site-header, .site-footer, .breadcrumbs,
    .legal-detail__actions, .footer__tear { display: none !important; }
    body { background: #fff; color: #000; }
    .legal-detail__summary { background: #f5f5f5; border-color: #333; color: #333; }
    .legal-detail__summary strong { color: #000; }
    .page-content { color: #000; }
}

/* === Страница контактов === */
.contacts-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}
.contacts-page__main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contacts-card {
    background: var(--bg-card, #161616);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
}
.contacts-card__title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
}
.contacts-card__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}
.contacts-card__item:last-child { margin-bottom: 0; }
.contacts-card__item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: #e23a7a;
    margin-top: 2px;
}
.contacts-card__item a {
    color: #e23a7a;
    text-decoration: none;
}
.contacts-card__item a:hover { text-decoration: underline; }
.contacts-card__label {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.contacts-socials {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.contacts-social {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(226, 58, 122, 0.3);
    border-radius: 8px;
    color: #e23a7a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.contacts-social:hover {
    background: rgba(226, 58, 122, 0.1);
    border-color: #e23a7a;
}
.contacts-requisites div {
    margin-bottom: 0.5rem;
    color: #bbb;
    font-size: 0.9rem;
}
.contacts-requisites span {
    color: #777;
}
.contacts-page__map {
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
}
.contacts-page__map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}
.page-subtitle {
    color: #999;
    font-size: 1.05rem;
    margin: -0.5rem 0 1.5rem;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .contacts-page { grid-template-columns: 1fr; }
}

/* === Подстраницы: карточки === */
.children-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.children-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--e-radius, 12px);
    overflow: hidden;
    background: var(--e-card-bg, #fff);
    border: 1px solid var(--e-border, #e5e7eb);
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s;
}
.children-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.children-card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--e-bg-subtle, #f3f4f6);
}
.children-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.children-card:hover .children-card__image img {
    transform: scale(1.05);
}
.children-card__body {
    padding: 1rem 1.25rem 1.25rem;
}
.children-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 .5rem;
}
.children-card__desc {
    font-size: .9rem;
    color: var(--e-text-muted, #6b7280);
    margin: 0;
    line-height: 1.5;
}

/* === Подстраницы: ссылки === */
.children-links {
    display: flex;
    flex-direction: column;
    margin: 2rem 0 1rem;
}
.children-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .875rem 0;
    border-bottom: 1px solid var(--e-border-light, #f0f0f0);
    text-decoration: none;
    color: inherit;
    transition: padding-left .2s;
}
.children-link:first-child {
    border-top: 1px solid var(--e-border-light, #f0f0f0);
}
.children-link:hover {
    padding-left: .5rem;
}
.children-link__text {
    flex: 1;
    min-width: 0;
}
.children-link__title {
    display: block;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--e-accent, #2d6a4f);
}
.children-link:hover .children-link__title {
    text-decoration: underline;
}
.children-link__desc {
    display: block;
    margin-top: .2rem;
    font-size: .85rem;
    color: var(--e-text-muted, #6b7280);
    line-height: 1.4;
}
.children-link__arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--e-text-muted, #b0b0b0);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .2s, transform .2s;
}
.children-link:hover .children-link__arrow {
    stroke: var(--e-accent, #2d6a4f);
    transform: translateX(3px);
}
