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

:root {
    --rocket-blue-light: #00bcde;
    --rocket-blue-dark: #0081c4;
    --ink: #101820;
    --paper: #ffffff;
    --grey-bg: #f4f7f9;
    --line: #e3e8ec;
    --muted: #6b7680;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--grey-bg);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
}

.site-header {
    background: linear-gradient(155deg, var(--rocket-blue-light), var(--rocket-blue-dark));
    text-align: center;
    padding: 44px 24px 40px;
}

.site-header .logo {
    height: 315px;
    width: auto;
}
.site-header .tagline {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin: 0 0 22px;
    opacity: 0.92;
}

.contact-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 32px;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.95;
}

.contact-item svg {
    flex-shrink: 0;
    display: block;
}

.catalog {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 28px 90px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 26px;
}

.item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -18px rgba(16, 24, 32, 0.25);
    border-color: var(--rocket-blue-light);
}

.item-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--grey-bg);
}

.item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-no {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(16, 24, 32, 0.72);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 4px;
}

.item-info {
    padding: 16px 16px 18px;
}

.item-info h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 4px;
    line-height: 1.3;
}

.item-price {
    display: inline-block;
    color: var(--rocket-blue-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.item-desc {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 4px 0 0;
}

.empty-state {
    text-align: center;
    padding: 100px 20px;
    color: var(--muted);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.site-footer {
    text-align: center;
    padding: 26px 0 50px;
}

.site-footer a {
    color: #9aa4ac;
    font-size: 0.75rem;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.site-footer a:hover { color: var(--rocket-blue-dark); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 32, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    padding: 40px;
    z-index: 100;
    cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: min(90vw, 720px);
    max-height: 75vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.lightbox p {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0;
}

@media (max-width: 480px) {
    .catalog-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .catalog { padding: 28px 16px 70px; }
    .site-header .logo { width: 76px; height: 76px; }
    .contact-bar { flex-direction: column; align-items: center; gap: 10px; }
    .contact-item { font-size: 0.78rem; text-align: center; }
}
