/* Premium Shop Showcase - 2026 Design */
.products-section {
    background: linear-gradient(180deg, rgba(249, 247, 244, 0.3), rgba(255, 255, 255, 0.9));
    min-height: 60vh;
    position: relative;
}

.products-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.products-header .eyebrow {
    background: linear-gradient(135deg, var(--accent-soft), rgba(213, 168, 108, 0.12));
    border: 1px solid rgba(194, 141, 77, 0.15);
    color: var(--accent-strong);
    box-shadow: 0 2px 8px rgba(194, 141, 77, 0.1);
}

.products-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--ink-soft);
}

/* Premium Shop Grid - Creative Layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    align-items: start;
}

/* Category Separator - Minimal & Elegant */
.product-category-separator {
    grid-column: 1 / -1;
    margin: 5rem 0 3rem;
    padding-top: 3.5rem;
    position: relative;
    text-align: center;
}

.product-category-separator:first-child {
    margin-top: 0;
    padding-top: 0;
}

.product-category-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(200px, 30%);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
}

.category-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding: 0 1.5rem;
    background: linear-gradient(180deg, rgba(249, 247, 244, 0.3), rgba(255, 255, 255, 0.9));
}

/* Premium Product Card - Shop Showcase Style */
.product-card {
    background: linear-gradient(180deg, #ffffff 0%, #fefcf9 100%);
    border-radius: 28px;
    border: 1px solid rgba(18, 20, 22, 0.06);
    box-shadow: 
        0 8px 32px rgba(18, 20, 22, 0.06),
        0 0 0 1px rgba(18, 20, 22, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out backwards;
}

.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; }
.product-card:nth-child(13) { animation-delay: 0.65s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(213, 168, 108, 0.02), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 24px 64px rgba(18, 20, 22, 0.12),
        0 0 0 1px rgba(194, 141, 77, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(194, 141, 77, 0.25);
}

.product-card:hover::before {
    opacity: 1;
}

/* Product Gallery - Enhanced Visibility */
.product-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    z-index: 0;
}

.product-gallery::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 20, 22, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
}

.product-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image.active {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 1.5rem;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image.active img {
    transform: scale(1.05);
}

/* Modern Gallery Dots */
.gallery-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(18, 20, 22, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(18, 20, 22, 0.25);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(18, 20, 22, 0.1);
}

.dot:hover {
    background: rgba(18, 20, 22, 0.4);
    transform: scale(1.2);
}

.dot.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    width: 28px;
    border-radius: 6px;
    border-color: rgba(194, 141, 77, 0.3);
    box-shadow: 0 2px 8px rgba(194, 141, 77, 0.3);
}

/* Product Info - Minimal & Clean */
.product-info {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 247, 244, 0.8));
}

.product-title {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.5;
    letter-spacing: -0.02em;
    text-align: center;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--accent-strong);
}

/* Size Tags - Premium Style */
.product-sizes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(18, 20, 22, 0.08);
}

.size-item {
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    color: var(--ink-soft);
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(249, 247, 244, 0.8), rgba(255, 255, 255, 0.9));
    border-radius: 10px;
    border: 1px solid rgba(18, 20, 22, 0.08);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(18, 20, 22, 0.04);
}

.size-item:hover {
    background: linear-gradient(135deg, var(--accent-soft), rgba(213, 168, 108, 0.15));
    border-color: rgba(194, 141, 77, 0.2);
    color: var(--accent-strong);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 141, 77, 0.15);
}

.product-plates {
    margin-top: 0;
}

/* Responsive Design - Mobile First */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 1.75rem;
    }

    .product-category-separator {
        margin: 4rem 0 2.5rem;
        padding-top: 3rem;
    }
}

@media (max-width: 768px) {
    .products-header {
        text-align: right;
        margin-bottom: 3.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-category-separator {
        margin: 4rem 0 2rem;
        padding-top: 2.5rem;
    }

    .product-category-separator::before {
        width: min(150px, 40%);
    }

    .product-card {
        border-radius: 24px;
    }

    .product-card:hover {
        transform: translateY(-6px) scale(1.01);
    }

    .product-gallery {
        aspect-ratio: 1 / 1;
    }

    .product-image img {
        padding: 1.25rem;
    }

    .gallery-dots {
        bottom: 1rem;
        padding: 0.4rem 0.875rem;
        gap: 0.5rem;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 24px;
    }

    .product-info {
        padding: 2rem;
    }

    .product-sizes {
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .size-item {
        font-size: 0.8rem;
        padding: 0.45rem 0.875rem;
    }
}

@media (max-width: 480px) {
    .products-header {
        margin-bottom: 3rem;
    }

    .products-grid {
        gap: 1.75rem;
    }

    .product-category-separator {
        margin: 3.5rem 0 1.75rem;
        padding-top: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .product-card {
        border-radius: 20px;
    }

    .product-gallery {
        aspect-ratio: 1 / 1;
    }

    .product-image img {
        padding: 1rem;
    }

    .gallery-dots {
        bottom: 0.875rem;
        padding: 0.35rem 0.75rem;
        gap: 0.45rem;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .dot.active {
        width: 20px;
    }

    .product-info {
        padding: 1.75rem;
    }

    .product-title {
        font-size: 1.15rem;
        line-height: 1.5;
    }

    .product-sizes {
        gap: 0.45rem;
    }

    .size-item {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 360px) {
    .products-grid {
        gap: 1.5rem;
    }

    .product-card {
        border-radius: 18px;
    }

    .product-info {
        padding: 1.5rem;
    }

    .product-title {
        font-size: 1.1rem;
    }
}

