/* ============================================
   CATALOG — Climate AC
   Полностью переработанный дизайн
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --accent: #CBF342;
    --accent-hover: #b8e000;
    --black: #111111;
    --dark: #232323;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --border: #e8e8e8;
    --white: #ffffff;
    --font-heading: 'Stack Sans Headline', sans-serif;
    --font-body: 'Epunda Sans', sans-serif;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-hover: 0 12px 48px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== SEARCH ===== */
.catalog-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 360px;
    max-width: 520px;
    min-width: min(100%, 260px);
}
.catalog-search input {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 2.8rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: var(--black);
    font: 500 1rem/1.4 var(--font-body);
    outline: none;
    transition: var(--transition);
}
.catalog-search input:focus { border-color: var(--black); box-shadow: 0 0 0 3px rgba(203,243,66,.45); }
.catalog-search input::placeholder { color: #858585; }
.catalog-search-icon { position: absolute; left: 1rem; z-index: 1; color: #666; font-size: 1.65rem; line-height: 1; }
.catalog-search button { position: absolute; right: .65rem; border: 0; background: transparent; color: #666; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.catalog-search button[hidden] { display: none; }

/* ===== HERO SECTION ===== */
.catalog-hero-section {
    padding: 8rem 0 3rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.catalog-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Breadcrumbs */
.catalog-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gray);
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.breadcrumb-link:hover {
    color: var(--black);
    background: var(--light-gray);
}

.breadcrumb-link .mobi-mbri {
    font-size: 0.9rem;
}

.breadcrumb-separator {
    color: #ccc;
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--black);
    font-weight: 500;
}

/* Hero title */
.catalog-hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.catalog-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0;
}

.accent-text {
    color: var(--black);
    font-weight: 700;
    position: relative;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent);
    z-index: -1;
    border-radius: 2px;
    opacity: 0.6;
}

/* ===== CATALOG MAIN ===== */
.catalog-main-section {
    padding: 3rem 0 5rem;
    background: var(--white);
}

.catalog-layout {
    display: flex;
    gap: 2.5rem;
    position: relative;
}

/* ===== FILTERS TOGGLE (mobile) ===== */
.catalog-filters-toggle-btn {
    display: none;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.catalog-filters-toggle-btn:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
}

.catalog-filters-toggle-btn .mobi-mbri {
    font-size: 1.1rem;
}

/* ===== FILTERS PANEL ===== */
.catalog-filters {
    width: 280px;
    flex-shrink: 0;
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.filters-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--black);
}

.filters-reset-btn {
    background: none;
    border: 1.5px solid var(--border);
    color: var(--gray);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: var(--transition);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.filters-reset-btn:hover {
    color: var(--black);
    border-color: var(--black);
    background: rgba(0,0,0,0.03);
}

/* Filter groups */
.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-of-type {
    border-bottom: none;
}

.filter-label {
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--black);
    font-size: 0.95rem;
}

.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.filter-check-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    padding: 0.35rem 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark);
    border-radius: 8px;
    transition: var(--transition);
}

.filter-check-item:hover {
    background: rgba(0,0,0,0.03);
}

.filter-check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 4px;
}

/* Range inputs */
.filter-range {
    margin-top: 0.25rem;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.range-inputs input {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
}

.range-inputs input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(203, 243, 66, 0.2);
}

.range-inputs input::placeholder {
    color: #bbb;
}

.range-separator {
    color: #bbb;
    font-size: 0.85rem;
    flex-shrink: 0;
    font-weight: 300;
}

/* Apply filters button (mobile) */
.apply-filters-btn {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 50px;
}

/* Rounded buttons inside catalog */
.catalog-main-section .btn,
.catalog-empty .btn,
.catalog-no-results .btn,
.catalog-error .btn {
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ===== PRODUCTS AREA ===== */
.catalog-products-area {
    flex: 1;
    min-width: 0;
}

/* Toolbar */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.catalog-count {
    font-family: var(--font-body);
    color: var(--gray);
    font-size: 0.95rem;
}

.catalog-count strong {
    color: var(--black);
    font-weight: 700;
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.catalog-sort label {
    font-family: var(--font-body);
    color: var(--gray);
    font-size: 0.9rem;
    white-space: nowrap;
}

.catalog-sort select {
    padding: 0.55rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    min-width: 200px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
}

.catalog-sort select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(203, 243, 66, 0.2);
}

/* ===== STATES ===== */
.catalog-loading,
.catalog-empty,
.catalog-no-results,
.catalog-error {
    text-align: center;
    padding: 5rem 2rem;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

.catalog-loading p,
.catalog-empty h3,
.catalog-no-results h3,
.catalog-error h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.catalog-loading p,
.catalog-empty p,
.catalog-no-results p,
.catalog-error p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

/* Loading spinner */
.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== PRODUCT GRID ===== */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.product-card:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Badge */
.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.product-badge.recommended {
    background: var(--accent);
    color: var(--black);
}

.product-badge.new {
    background: var(--black);
    color: var(--white);
}

.product-badge.sale {
    background: #fa1e24;
    color: var(--white);
}

/* Card image */
.product-card-image {
    position: relative;
    height: 240px;
    background: linear-gradient(145deg, #fafafa 0%, #f0f0f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
}

.product-card-image img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

/* Card body */
.product-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-brand {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #aaa;
    margin-bottom: 0.35rem;
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

/* Specs mini */
.product-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.65rem;
    background: var(--light-gray);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gray);
    white-space: nowrap;
    font-weight: 500;
}

/* Advantage */
.product-card-advantage {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    flex: 1;
}

/* Card footer */
.product-card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.product-card-price {
    font-family: var(--font-heading);
    min-width: 0;
    font-size: clamp(1.05rem, 1.2vw, 1.35rem);
    font-weight: 700;
    color: var(--black);
    white-space: nowrap;
}

.product-card-price--request {
    max-width: 96px;
    white-space: normal;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.25;
    font-weight: 600;
}

.product-card-price .price-currency {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--gray);
}

.product-card-btn {
    padding: 0.6rem 0.85rem;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.product-card-btn:hover {
    background: #333;
    transform: scale(1.05);
}

.product-card-btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ===== MODAL ===== */
.catalog-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.catalog-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.catalog-modal {
    background: var(--white);
    border-radius: 20px;
    max-width: 880px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 32px 100px rgba(0,0,0,0.25);
}

.catalog-modal-overlay.active .catalog-modal {
    transform: translateY(0) scale(1);
}

.catalog-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--dark);
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.catalog-modal-close:hover {
    background: var(--white);
    color: var(--black);
    transform: rotate(90deg);
}

.catalog-modal-close .mobi-mbri {
    font-size: 1.3rem;
}

.catalog-modal-body {
    padding: 0;
}

/* Modal image */
.modal-image-section {
    position: relative;
    height: 340px;
    background: linear-gradient(145deg, #f8f8f8 0%, #ececec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.modal-image-section img {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.modal-image-section:hover img {
    transform: scale(1.06);
}

.modal-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.modal-badge.recommended {
    background: var(--accent);
    color: var(--black);
}

.modal-badge.new {
    background: var(--black);
    color: var(--white);
}

.modal-badge.sale {
    background: #fa1e24;
    color: var(--white);
}

/* Modal content */
.modal-content-section {
    padding: 2.5rem;
}

.modal-brand {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #bbb;
    margin-bottom: 0.35rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.modal-price-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.modal-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--black);
}

.modal-price .price-currency {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gray);
}

.modal-type-badge {
    padding: 0.35rem 0.85rem;
    background: var(--light-gray);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
}

/* Modal description */
.modal-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

/* Modal specs */
.modal-specs-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.25rem;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.modal-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.modal-spec-item:hover {
    background: #eee;
}

.modal-spec-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #888;
}

.modal-spec-value {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    text-align: right;
}

/* Modal advantages */
.modal-advantages {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.modal-advantages-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.modal-advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.6rem;
}

.modal-advantages-list li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    padding-left: 2rem;
    position: relative;
    line-height: 1.5;
}

.modal-advantages-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 22px;
    height: 22px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-weight: 800;
    font-size: 0.75rem;
    line-height: 1;
}

.modal-advantages-list li::after {
    display: none;
}

/* Master CTA */
.modal-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-master {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 2.25rem;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    flex: 1;
    min-width: 240px;
}

.btn-master:hover {
    background: var(--accent);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(203, 243, 66, 0.35);
}

.btn-master:focus-visible {
    outline: 3px solid var(--black);
    outline-offset: 3px;
}

.btn-master .mobi-mbri {
    font-size: 1.15rem;
}

.btn-callback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 2.25rem;
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--border);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    flex: 1;
    min-width: 240px;
}

.btn-callback:hover {
    border-color: var(--dark);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-callback:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* ===== MOBILE OVERLAY ===== */
.filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filters-overlay.active {
    opacity: 1;
}

/* ===== SCROLLBAR ===== */
.catalog-modal::-webkit-scrollbar {
    width: 6px;
}

.catalog-modal::-webkit-scrollbar-track {
    background: transparent;
}

.catalog-modal::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.catalog-modal::-webkit-scrollbar-thumb:hover {
    background: #999;
}

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

.product-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }
.product-card:nth-child(9) { animation-delay: 0.45s; }
.product-card:nth-child(10) { animation-delay: 0.5s; }
.product-card:nth-child(11) { animation-delay: 0.55s; }
.product-card:nth-child(12) { animation-delay: 0.6s; }

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1199px) {
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    }
}

/* Tablet small */
@media (max-width: 991px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

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

    .modal-image-section {
        height: 280px;
    }

    .modal-title {
        font-size: 1.8rem;
    }

    .modal-price {
        font-size: 1.8rem;
    }

    .catalog-hero-title {
        font-size: 2.8rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .catalog-main-section {
        padding: 2rem 0 3rem;
    }

    .catalog-hero-section {
        padding: 6rem 0 2rem;
    }

    .catalog-hero-title {
        font-size: 2.2rem;
    }

    .catalog-hero-subtitle {
        font-size: 1rem;
    }

    /* Breadcrumbs on mobile */
    .catalog-breadcrumbs {
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    /* Show filter toggle */
    .catalog-filters-toggle-btn {
        display: flex;
    }

    /* Slide-in filters */
    .catalog-filters {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        border-right: none;
        transform: translateX(-100%);
        overflow-y: auto;
        padding: 1.5rem;
        box-shadow: 4px 0 30px rgba(0,0,0,0.15);
    }

    .catalog-filters.open {
        transform: translateX(0);
    }

    .filters-overlay {
        display: block;
    }

    /* Hide mobile-only button */
    .apply-filters-btn {
        display: block;
    }

    /* Products area */
    .catalog-layout {
        flex-direction: column;
    }

    .catalog-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .catalog-search {
        width: 100%;
        max-width: none;
        flex: 0 0 auto;
    }

    .catalog-sort select {
        width: 100%;
        min-width: unset;
    }

    /* Grid */
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Card */
    .product-card-image {
        height: 220px;
    }

    .product-card-body {
        padding: 1.25rem;
    }

    /* Modal */
    .catalog-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .catalog-modal {
        max-height: 92vh;
        border-radius: 24px 24px 0 0;
        max-width: 100%;
    }

    .catalog-modal-overlay.active .catalog-modal {
        transform: translateY(0) scale(1);
    }

    .modal-image-section {
        height: 240px;
        border-radius: 24px 24px 0 0;
    }

    .modal-content-section {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-price {
        font-size: 1.5rem;
    }

    .modal-specs-grid {
        grid-template-columns: 1fr;
    }

    .modal-advantages-list {
        grid-template-columns: 1fr;
    }

    .modal-cta {
        flex-direction: column;
    }

    .btn-master,
    .btn-callback {
        min-width: unset;
    }
}

.btn-buy-no-install {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 2.25rem;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    flex: 1;
    min-width: 240px;
}

.btn-buy-no-install:hover {
    background: var(--accent);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(203, 243, 66, 0.35);
}

.btn-buy-no-install:focus-visible {
    outline: 3px solid var(--black);
    outline-offset: 3px;
}

.btn-buy-no-install i {
    font-size: 1.15rem;
}

@media (max-width: 767px) {
    .btn-buy-no-install {
        min-width: unset;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

.btn-payment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 2.25rem;
    background: #CBF342;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    width: 100%;
}

.btn-payment:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35);
}

.btn-payment i {
    font-size: 1.15rem;
}

.modal-payment-notice {
    margin-top: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

.modal-payment-notice i {
    color: var(--accent);
    margin-right: 0.4rem;
}

.modal-payment-notice strong {
    color: var(--black);
}

.modal-payment-sub {
    margin-top: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #999;
    text-align: center;
}

@media (max-width: 767px) {
    .btn-payment {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

.product-card-quick-view {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--border);
}
.product-card-quick-view:hover {
    border-color: var(--black);
    background: var(--light-gray);
    transform: scale(1.05);
}
