:root {
    --bg-main: #fcfcfc;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --border-color: #e5e5e5;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Jost', sans-serif;
    
    --container-width: 1400px;
    --section-pad: 120px 0;
}

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

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

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 400;
}

i {
    font-family: var(--font-heading);
    font-style: italic;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: var(--section-pad);
}

.text-center { text-align: center; }
.full-width { width: 100%; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--text-main);
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-main);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-main);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--bg-main);
}

/* Announcement Bar */
.announcement-bar {
    background: var(--text-main);
    color: var(--bg-main);
    text-align: center;
    padding: 10px 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navbar */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(252, 252, 252, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-right {
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-main);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.logo {
    font-size: 2rem;
    letter-spacing: 4px;
}

.icon-btn, .menu-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-main);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--text-main);
    color: var(--bg-main);
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-main);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.cart-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.cart-item img {
    width: 80px;
    height: 100px;
    object-fit: cover;
}

.item-details h4 {
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 5px;
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid var(--border-color);
}

.subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Hero */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* For parallax */
    z-index: -1;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    color: var(--bg-main);
}

.hero h1 {
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 1;
    margin-bottom: 40px;
}

.hero .btn-outline {
    border-color: var(--bg-main);
    color: var(--bg-main);
}

.hero .btn-outline:hover {
    background: var(--bg-main);
    color: var(--text-main);
}

/* New Arrivals / Shop Grid */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 3rem;
}

.view-all {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 5px;
}

.product-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    cursor: pointer;
}

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.8s ease;
}

.img-back {
    opacity: 0;
}

.product-card:hover .img-front {
    opacity: 0;
}

.product-card:hover .img-back {
    opacity: 1;
    transform: scale(1.05);
}

.quick-add {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.9);
    border: none;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: bottom 0.3s ease;
}

.product-card:hover .quick-add {
    bottom: 0;
}

.product-info h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 5px;
}

.product-info .price {
    color: var(--text-muted);
}

/* Editorial Section */
.editorial-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.editorial-image {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.editorial-image img {
    width: 100%;
    height: 130%; /* For parallax */
    object-fit: cover;
}

.editorial-content .subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 20px;
}

.editorial-content h2 {
    font-size: clamp(3rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 30px;
}

.editorial-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 400px;
}

.link-underline {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 5px;
}

/* Newsletter */
.newsletter {
    background: #f5f5f5;
}

.newsletter h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.newsletter p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    border-bottom: 1px solid var(--text-main);
}

.newsletter-form input {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 0;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 15px;
}

/* Footer */
.footer {
    padding: 80px 0;
    background: var(--text-main);
    color: var(--bg-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #999;
}

.footer ul li {
    margin-bottom: 15px;
}

.footer ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-carousel { grid-template-columns: repeat(2, 1fr); }
    .editorial-container { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 3rem; }
    .product-carousel { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .cart-sidebar { width: 100%; right: -100%; }
}
