:root {
    --primary-color: #333;
    --secondary-color: #666;
    --bg-color: #fdfdfd;
    --accent-color: #e8e6e1;
    --text-color: #2c2c2c;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

header {
    padding: 30px 0;
    position: sticky;
    top: 0;
    background: rgba(253, 253, 253, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.6;
}

.hero {
    padding: 100px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 40px;
    max-width: 500px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 16px 40px;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #555;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.features {
    padding: 80px 0;
    background-color: #fff;
}

.features .container {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.feature-item {
    flex: 1;
    padding: 20px;
}

.feature-item h3 {
    font-family: var(--font-serif);
    margin-bottom: 15px;
    font-size: 22px;
}

.feature-item p {
    color: var(--secondary-color);
    font-size: 15px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
}

.products {
    padding: 100px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    text-align: center;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 4px;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.02);
}

.product-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.price {
    color: var(--secondary-color);
    font-weight: 500;
}

.reviews {
    padding: 100px 0;
    background-color: var(--accent-color);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.review-card {
    background: #fff;
    padding: 40px;
    border-radius: 4px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 16px;
}

.reviewer {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-grid a.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Product Detail Page */
.product-detail {
    padding: 60px 0 100px;
}

.back-link {
    display: inline-block;
    margin-bottom: 40px;
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 14px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-color);
}

.detail-grid {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.product-images {
    flex: 1.2;
}

.product-images {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f9f9f9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.thumbnail-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail-strip img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.thumbnail-strip img:hover {
    opacity: 0.8;
}

.thumbnail-strip img.active {
    border-color: var(--primary-color);
}

.product-full-gallery {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #fff;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.product-full-gallery img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin-bottom: 0; /* Removing margin to stack perfectly */
}

.buy-btn {
    width: 100%;
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
    font-weight: 600;
}

.product-info-wrap h1 {
    font-family: var(--font-serif);
    font-size: 42px;
    margin-bottom: 15px;
}

.product-info-wrap .price {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.description p {
    font-size: 17px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    font-size: 15px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.add-to-cart {
    width: 100%;
    margin-bottom: 20px;
}

.shipping-info {
    font-size: 13px;
    color: var(--secondary-color);
    text-align: center;
}

@media (max-width: 768px) {
    .detail-grid {
        flex-direction: column;
        gap: 40px;
    }
}

