:root {
    --bg-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-color: #d4af37;
    /* Gold-ish for premium feel */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --spacing-unit: 1rem;
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header */
header {
    padding: 0.5rem 1rem;
    /* Further reduced padding */
    text-align: center;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    /* subtle border for separation */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    max-height: 30px;
    /* Further reduced logo size */
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Product Grid (Homepage) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    /* Reduced top padding from 4rem */
}

.product-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1/1;
    /* Square images */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
    background-color: #f5f5f5;
}

.product-card h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-card .price {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Product Detail Page */
.product-detail {
    padding-bottom: 4rem;
}

/* Gallery - Vertical Stack */
.gallery-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* Vertical layout */
    gap: 1rem;
    padding: 1rem 0;
    align-items: center;
    /* Center images */
}

.gallery-container::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    width: 100%;
    max-width: 800px;
    /* Limit max width for better readability on desktop */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    /* Slight rounding */
}

/* Desktop tweaks for gallery */
@media (min-width: 768px) {
    .gallery-container {
        padding: 2rem 0;
    }
}

.product-info {
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.product-title {
    font-size: 2rem;
    font-weight: 300;
    /* Elegant thin font */
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.product-price {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Back button */
.back-link {
    display: inline-block;
    margin: 1rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}