* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #07110c;
    --bg-2: #0b1711;
    --card: rgba(255, 255, 255, 0.07);
    --card-2: rgba(255, 255, 255, 0.05);
    --line: rgba(255, 255, 255, 0.12);
    --text: #f4fff7;
    --muted: #b9cbbf;
    --accent: #84ff9a;
    --accent-2: #27d27a;
    --dark: #08140e;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    --radius: 28px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: var(--text);
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% 10%, rgba(39, 210, 122, 0.22), transparent 25%),
        radial-gradient(circle at 85% 15%, rgba(132, 255, 154, 0.14), transparent 24%),
        linear-gradient(160deg, #04100a 0%, #0a1812 45%, #04100a 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    cursor: pointer;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

/* Декор */
.blur-orb {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    background: #1fff8b;
    top: 40px;
    left: -110px;
}

.orb-2 {
    background: #6dffbf;
    top: 520px;
    right: -120px;
}

/* Кнопки */
.btn,
.form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border-radius: 999px;
    font-weight: bold;
    color: #071e10;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 12px 30px rgba(132, 255, 154, 0.2);
    transition: 0.35s;
}

.btn:hover,
.form button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 36px rgba(132, 255, 154, 0.3);
}

.btn.ghost {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Основной контент */
main {
    height: 100%;
    position: relative;
    z-index: 1;
}

.catalog-hero {
    padding: 30px 0 0;
}

.catalog-badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 10px 16px;
    font-size: 14px;
    color: #dbffe2;
    border-radius: 999px;
    border: 1px solid rgba(132, 255, 154, 0.2);
    background: rgba(132, 255, 154, 0.08);
}

.catalog-hero h1 {
    margin-bottom: 20px;
    font-size: 48px;
    line-height: 0.98;
}

.catalog-hero h1 span,
.extra-content h2 span,
.product-bottom strong,
.extra-note strong {
    color: var(--accent);
}

.catalog-hero h2,
.product-card p,
.extra-content p,
.extra-note p,
.footer-wrap,
.field label {
    color: var(--muted);
}

.catalog-hero h2 {
    font-size: 16px;
}

.catalog-section,
.catalog-extra {
    padding: 40px 0 80px;
}

/* Карточки */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    padding: 20px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
    transition: 0.35s;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(132, 255, 154, 0.25);
}

.product-image {
    height: 220px;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    margin-bottom: 8px;
    font-size: 24px;
}

.product-card p {
    margin-bottom: 6px;
    font-size: 15px;
}

.product-bottom strong {
    display: block;
    margin-bottom: 14px;
    font-size: 20px;
}

.price-box {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.price-retail,
.price-wholesale {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    width: 100%;
}

.price-retail span,
.price-wholesale span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
}

.price-retail strong,
.price-wholesale strong {
    font-size: 20px;
    color: var(--accent);
}

.product-actions {
    margin-top: auto;
}

.product-meta {
    display: grid;
    gap: 5px;
    margin: 0 0 18px;
}

.product-meta span {
    font-size: 13px;
    color: var(--muted);
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.qty-input,
.add-btn {
    width: 100%;
    height: 42px;
}

.qty-input {
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 15px;
    outline: none;
}

.add-btn {
    padding: 0;
}
.qty-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 15px;
    outline: none;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Блок под заказ */
.extra-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: stretch;
}

.extra-content,
.extra-note {
    padding: 30px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.extra-content h2 {
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 1.05;
}

.extra-content p,
.extra-note p {
    margin-bottom: 20px;
}

.extra-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.extra-tags span {
    padding: 11px 16px;
    font-size: 14px;
    color: var(--text);
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
}

.extra-note {
    display: flex;
    flex-direction: column;
}

.extra-note strong {
    display: block;
    margin-bottom: 12px;
    font-size: 28px;
}

/* Форма */
.form {
    display: grid;
    gap: 20px;
}

.field label {
    display: block;
    margin-bottom: 30px;
    font-size: 16px;
}

.field input,
.field textarea {
    width: 100%;
    padding: 15px 16px;
    font-size: 15px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #90a397;
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(132, 255, 154, 0.45);
    box-shadow: 0 0 0 4px rgba(132, 255, 154, 0.08);
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}
.catalog-search {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.catalog-search input {
    flex: 1;
    min-width: 240px;
    height: 42px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    padding: 0 18px;
    outline: none;
}

.catalog-search input::placeholder {
    color: var(--muted);
}

.reset-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 45px;
    flex-wrap: wrap;
}

.pagination a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    transition: 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: var(--accent);
    color: var(--dark);
}

.empty-catalog {
    margin-bottom: 450px;
    padding: 40px;
    text-align: center;
    border-radius: 24px;
    background: var(--card);
    color: var(--muted);
}


/* Подвал */
footer {
    position: relative;
    z-index: 1;
    padding: 26px 0 34px;
    border-top: 1px solid var(--line);
}

.footer-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contacts img {
    width: 30px;
    height: 30px;
}

/* Адаптив */
@media (max-width: 960px) {
    .catalog-section{
        padding: 0 0 80px;
    }
    .catalog-hero h1{
        font-size: 32px;
    }
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .extra-box {
        grid-template-columns: 1fr;
    }

    .container {
        width: min(100% - 24px, 1200px);
    }

    .catalog-hero {
        padding: 30px 0 20px;
    }

    .product-image {
        height: 190px;
    }

    .extra-content,
    .extra-note {
        padding: 22px 18px;
        border-radius: 24px;
    }
}
@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}