* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: rgb(255, 255, 255);
    color: rgb(29, 29, 31);
}

.back-nav {
    padding: 13px 32px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.back-link {
    font-size: 12px;
    font-weight: 500;
    color: rgba(0,0,0,0.42);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.back-link:hover { color: rgb(29, 29, 31); }

.content {
    padding: 24px 32px 40px;
}

h1 {
    font-size: 18px;
    font-weight: 600;
    color: rgb(29, 29, 31);
    margin-bottom: 6px;
}

.subtitle {
    font-size: 13px;
    color: rgba(0,0,0,0.35);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 14px;
}

.samples-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    image-rendering: auto;
    opacity: 0.88;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.samples-grid img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* ── Lightbox ── */
#icon-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

#icon-lightbox-card {
    position: relative;
    background: rgb(255,255,255);
    border-radius: 20px;
    padding: 44px 48px 32px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

#icon-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.07);
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
}

#icon-lightbox-close:hover { background: rgba(0,0,0,0.13); }

#icon-lightbox-preview {
    width: 256px;
    height: 256px;
    object-fit: contain;
    image-rendering: auto;
}

#icon-lightbox-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 20px;
    border-radius: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    background: rgba(30,30,50,0.88);
    color: rgba(255,255,255,0.92);
    transition: background 0.18s;
}

#icon-lightbox-download:hover { background: rgba(20,20,40,0.96); }

#icon-lightbox-download svg { flex-shrink: 0; }

@media (max-width: 540px) {
    .back-nav { padding: 12px 20px; }
    .content { padding: 20px 20px 32px; }
    .samples-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
