:root {
    --primary-color: #111111;
    --secondary-color: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --border-color: #e5e5e5;
    --bg-light: #f9f9f9;
    --bg-dark: #1a1a1a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body { font-family: var(--font-body); color: var(--text-main); line-height: 1.6; background-color: var(--secondary-color); overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 400; color: var(--primary-color); }
a { text-decoration: none; color: var(--primary-color); transition: var(--transition-smooth); }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.w-100 { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.bg-light { background-color: var(--bg-light); }

.page-title, h1 { font-size: 3rem; margin-bottom: 1rem; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
.lead-text { font-size: 1.25rem; color: var(--text-muted); }

.btn { display: inline-block; padding: 14px 32px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; border: 1px solid var(--primary-color); cursor: pointer; transition: var(--transition-smooth); text-align: center; }
.btn-primary { background-color: var(--primary-color); color: var(--secondary-color); }
.btn-primary:hover { background-color: transparent; color: var(--primary-color); }
.btn-secondary { background-color: transparent; color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--secondary-color); }
.link-btn { display: inline-block; border-bottom: 1px solid var(--primary-color); padding-bottom: 4px; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.link-btn:hover { color: var(--text-muted); border-color: var(--text-muted); }

.navbar { position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--border-color); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 600; letter-spacing: 2px; }
.nav-links a { margin: 0 15px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover, .nav-links a.active { color: var(--text-muted); border-bottom: 1px solid black; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

.hero { height: 100vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.about-hero { height: 60vh; }
.hero-content h1 { color: white; font-size: 4rem; max-width: 800px; margin: 0 auto 1.5rem; line-height: 1.2; }
.hero-content p { font-size: 1.2rem; margin-bottom: 2.5rem; color: #eeeeee; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }
.hero-buttons .btn-secondary { color: white; border-color: white; }
.hero-buttons .btn-secondary:hover { background: white; color: var(--primary-color); }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.category-card { height: 500px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; padding: 40px; overflow: hidden; border-radius: 4px; }
.category-content { position: relative; z-index: 2; color: white; }
.category-content h3 { color: white; font-size: 1.8rem; margin-bottom: 15px; }
.category-content .link-btn { color: white; border-color: white; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 30px; }
.product-img { position: relative; overflow: hidden; margin-bottom: 15px; aspect-ratio: 3/4; background: var(--bg-light); border-radius: 4px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.add-to-cart-btn { position: absolute; bottom: -60px; left: 0; width: 100%; background: rgba(255, 255, 255, 0.95); border: none; padding: 15px 0; font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: var(--transition-smooth); }
.product-card:hover .add-to-cart-btn { bottom: 0; }
.add-to-cart-btn:hover { background: var(--primary-color); color: white; }

.product-info .category { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 5px; }
.product-info h3 { font-size: 1.1rem; margin-bottom: 5px; font-family: var(--font-body); }
.product-info .price { font-weight: 500; }
.product-info .rating { font-size: 0.8rem; color: #d4af37; margin-top: 5px; }

.page-header { text-align: center; padding: 120px 5% 40px; background: var(--bg-light); }
.shop-container { display: grid; grid-template-columns: 250px 1fr; gap: 50px; }
.filter-group { margin-bottom: 30px; }
.filter-group h3 { font-size: 1.2rem; margin-bottom: 15px; }
.filter-list li { margin-bottom: 10px; }
.filter-list a { color: var(--text-muted); }
.filter-list a.active, .filter-list a:hover { color: var(--primary-color); font-weight: 500; }
.search-input { width: 100%; padding: 10px; border: 1px solid var(--border-color); font-family: var(--font-body); }
.shop-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.sort-select { padding: 8px; border: 1px solid var(--border-color); background: transparent; }

.single-product { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 120px; }
.zoom-container { overflow: hidden; cursor: crosshair; border-radius: 4px; }
.zoom-container img { width: 100%; height: auto; transition: transform 0.2s ease-out; }
.thumbnail-list { display: flex; gap: 15px; margin-top: 15px; }
.thumbnail-list img { width: 80px; height: 100px; object-fit: cover; cursor: pointer; opacity: 0.6; transition: var(--transition-smooth); border-radius: 4px; }
.thumbnail-list img.active, .thumbnail-list img:hover { opacity: 1; border: 1px solid var(--primary-color); }

.breadcrumbs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.product-title { font-size: 2.5rem; margin-bottom: 10px; }
.product-price { font-size: 1.5rem; margin-bottom: 20px; }
.product-description { margin-bottom: 30px; color: var(--text-muted); }
.option-group { margin-bottom: 25px; }
.option-group label { display: block; margin-bottom: 10px; font-weight: 500; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

.color-options { display: flex; gap: 10px; }
.color-swatch { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; }
.color-swatch.active { border-color: var(--border-color); padding: 2px; background-clip: content-box; }
.size-options { display: flex; gap: 10px; }
.size-btn { width: 45px; height: 45px; border: 1px solid var(--border-color); background: transparent; cursor: pointer; transition: var(--transition-smooth); }
.size-btn.active, .size-btn:hover { background: var(--primary-color); color: white; border-color: var(--primary-color); }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--border-color); width: fit-content; }
.qty-btn { width: 40px; height: 40px; border: none; background: transparent; font-size: 1.2rem; cursor: pointer; }
.qty-input { width: 50px; height: 40px; border: none; text-align: center; font-family: var(--font-body); }
.product-meta { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 0.9rem; color: var(--text-muted); }

.cart-section { padding-top: 120px; }
.cart-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.cart-item { display: flex; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); margin-bottom: 20px; }
.cart-item img { width: 100px; height: 120px; object-fit: cover; border-radius: 4px; }
.cart-item-details { flex-grow: 1; }
.cart-item-title { font-weight: 500; font-family: var(--font-body); }
.remove-btn { background: none; border: none; color: var(--text-muted); text-decoration: underline; cursor: pointer; margin-top: 10px; font-size: 0.85rem; }
.cart-summary { background: var(--bg-light); padding: 30px; height: fit-content; border-radius: 4px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; }
.summary-row.total { font-weight: 600; font-size: 1.2rem; margin-top: 15px; }
.cart-summary hr { border: none; border-top: 1px solid var(--border-color); margin: 20px 0; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.story-text h2 { margin-bottom: 20px; }
.story-text p { margin-bottom: 20px; color: var(--text-muted); }
.features-list { margin-bottom: 30px; }
.features-list li { margin-bottom: 10px; font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--border-color); font-family: var(--font-body); border-radius: 4px;}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); }

.footer { background: var(--primary-color); color: white; padding: 80px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 60px; }
.footer h4 { color: white; margin-bottom: 20px; font-size: 1.2rem; }
.footer p, .footer a { color: #aaaaaa; font-size: 0.9rem; }
.footer a { display: block; margin-bottom: 10px; }
.footer a:hover { color: white; }
.newsletter-form { display: flex; margin-top: 15px; border-bottom: 1px solid #555; }
.newsletter-form input { background: transparent; border: none; padding: 10px 0; color: white; width: 100%; outline: none; }
.newsletter-form button { background: transparent; border: none; color: white; text-transform: uppercase; cursor: pointer; font-weight: 500; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up { opacity: 0; transform: translateY(50px); animation: fadeUpAnim 1s ease-out forwards; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUpAnim { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 992px) {
    .shop-container, .single-product, .cart-grid, .split-layout, .contact-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .section-padding { padding: 60px 0; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .cart-item { flex-direction: column; }
    .cart-item img { width: 100%; height: auto; }
}