:root {
    --bg: #FAFAFA;
    --text: #111111;
    --text-light: #5A5A5A; /* Darkened for accessibility */
    --border: #E5E5E5;
    --accent: #B23D35; /* Subtle Oxblood Red */
}

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Jost', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; scroll-behavior: smooth; font-weight: 500; }

h1, h2, h3, .logo { font-family: 'Bodoni Moda', serif; font-weight: 700;}

.announcement-bar { background: var(--text); color: var(--bg); text-align: center; padding: 12px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600;}

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 30px 5%; position: absolute; width: 100%; top: 40px; z-index: 100; transition: background 0.4s, padding 0.4s; color: white;}
.nav.scrolled { position: fixed; top: 0; background: rgba(250,250,250,0.98); color: var(--text); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding: 20px 5%; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 40px; width: 33%; }
.nav-right { justify-content: flex-end; }
.logo { font-size: 2.7rem; text-align: center; width: 34%; letter-spacing: 3px; font-weight: 800;}
.nav-link { text-decoration: none; color: inherit; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1.5px; position: relative; font-weight: 600;}
.nav-link::after { content:''; position:absolute; bottom:-6px; left:0; width:0%; height:1px; background:currentColor; transition:0.3s; }
.nav-link:hover::after { width:100%; }

.nav-btn { background: none; border: none; cursor: pointer; color: inherit; position: relative; display: flex; align-items: center;}
.nav-btn svg { width: 26px; height: 26px; stroke-width: 1.5; }
.cart-count { position: absolute; top: -5px; right: -8px; background: #B23D35; color: white; width: 18px; height: 18px; border-radius: 50%; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; font-weight: 500; font-family: 'Jost'; }

/* Hero */
.hero { height: calc(100vh - 40px); position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: white; overflow: hidden;}
.hero-bg { position: absolute; width: 120%; height: 120%; background-size: cover; background-position: center 30%; z-index: -2; transition: transform 0.1s linear; }
.hero-overlay { position: absolute; width:100%; height:100%; background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.5)); z-index: -1; }
.hero-content h1 { font-size: clamp(4rem, 10vw, 9rem); line-height: 1; margin-bottom: 20px; font-style: italic; }
.hero-content p { font-size: 1.15rem; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 40px; font-weight: 300;}
.btn-solid { background: white; color: var(--text); padding: 20px 45px; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; transition: 0.4s; display: inline-block; font-weight: 500;}
.btn-solid:hover { background: var(--text); color: white; }

/* Marquee */
.marquee-strip { background: var(--text); color: white; padding: 18px 0; overflow: hidden; white-space: nowrap; border-top: 1px solid #333;}
.marquee-inner { display: inline-block; animation: scroll-left 25s linear infinite; }
.marquee-inner span { padding: 0 50px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; font-weight: 400;}
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Shop Section */
.section { padding: 120px 5%; max-width: 1600px; margin: 0 auto; }
.section-title-wrap { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; border-bottom: 1px solid var(--border); padding-bottom: 25px;}
.section-title { font-size: 3rem; font-style: italic; }
.view-all { text-decoration: none; color: var(--text); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; transition: 0.3s; font-weight: 500; border-bottom: 1px solid transparent;}
.view-all:hover { border-bottom-color: var(--text); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.product-card { position: relative; cursor: pointer; }
.p-image-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; background: #EEE; margin-bottom: 25px; border-radius: 2px;}
.p-image-wrap img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: opacity 0.5s ease, transform 1s ease; }
.p-img-hover { opacity: 0; }
.product-card:hover .p-img-main { opacity: 0; transform: scale(1.05); }
.product-card:hover .p-img-hover { opacity: 1; transform: scale(1.05); }
.p-badge { position: absolute; top: 15px; left: 15px; background: white; color: black; font-size: 0.65rem; padding: 4px 10px;text-transform: uppercase; letter-spacing: 2px; z-index:2; font-weight: 500;}

.quick-add { position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px; transform: translateY(100%); transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1); z-index:3;}
.product-card:hover .quick-add { transform: translateY(0); }
.size-selector { background: rgba(255,255,255,0.98); padding: 12px; border-radius: 4px; box-shadow: 0 10px 20px rgba(0,0,0,0.15); backdrop-filter: blur(10px); }
.size-label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-light); margin-bottom: 8px; text-align: center; font-weight: 700; }
.sizes { display: flex; gap: 5px; justify-content: center;}
.size-btn { flex: 1; padding: 12px 0; background: #FAFAFA; border: 1px solid var(--border); font-family: 'Jost', sans-serif; color: var(--text); font-weight: 700; font-size: 0.85rem; transition: 0.2s; cursor: pointer; text-transform: uppercase; }
.size-btn:hover { background: var(--text); color: white; border-color: var(--text); transform: scale(1.05); }
.size-btn:active { transform: scale(0.95); }

.p-info h3 { font-family: 'Jost', sans-serif; font-size: 1.15rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;}
.p-price { color: #333; font-size: 1.05rem; font-weight: 600;}

/* Editorial Block */
.split-editorial { display: flex; height: 90vh; }
.s-half { flex: 1; }
.visual { background-size: cover; background-position: center; }
.textual { background: var(--text); color: white; display: flex; flex-direction: column; justify-content: center; padding: 10%; }
.textual h2 { font-size: clamp(3rem, 5vw, 6rem); margin-bottom: 30px; font-style: italic; line-height: 1.1;}
.textual p { font-size: 1.1rem; line-height: 1.8; color: #CCC; margin-bottom: 50px; font-weight: 300;}
.btn-outline { display: inline-block; padding: 18px 45px; border: 1px solid rgba(255,255,255,0.3); color: white; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; transition: 0.3s; width: max-content;}
.btn-outline:hover { background: white; color: var(--text); border-color: white;}

/* E-Commerce Cart Logic UI */
.cart-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; pointer-events: none; transition: 0.4s; backdrop-filter: blur(2px);}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-sidebar { position: fixed; top: 0; right: -500px; width: 500px; height: 100vh; background: white; z-index: 999; display: flex; flex-direction: column; transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1); box-shadow: -20px 0 50px rgba(0,0,0,0.15); }
.cart-sidebar.active { right: 0; }

.cart-header { padding: 40px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.cart-header h2 { font-family: 'Bodoni Moda', serif; font-size: 2.2rem; }
.close-cart { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-light); transition: 0.3s;}
.close-cart:hover { color: var(--text); transform: rotate(90deg);}

.cart-items { flex: 1; overflow-y: auto; padding: 40px; }
.empty-msg { text-align: center; color: var(--text-light); margin-top: 50px; font-style: italic; font-family: 'Bodoni Moda', serif; font-size: 1.4rem;}

.cart-item { display: flex; gap: 25px; margin-bottom: 35px; animation: slideInCart 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards; }
@keyframes slideInCart { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }
.c-item-img { width: 100px; height: 130px; object-fit: cover; background: #EEE; }
.c-item-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.c-item-title { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; font-weight: 500;}
.c-item-price { color: var(--text-light); }
.remove-item { margin-top: 15px; font-size: 0.75rem; text-transform: uppercase; color: var(--text-light); border: none; background: none; cursor: pointer; text-align: left; letter-spacing: 1px; transition: 0.2s;}
.remove-item:hover { color: var(--accent); }

.cart-footer { padding: 40px; border-top: 1px solid var(--border); background: #FAFAFA; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.6rem; font-family: 'Bodoni Moda', serif; margin-bottom: 15px; }
.tax-note { font-size: 0.85rem; color: var(--text-light); margin-bottom: 25px; }
.checkout-btn { width: 100%; padding: 22px; background: var(--text); color: white; border: none; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.3s; font-weight: 500;}
.checkout-btn:disabled { background: #E5E5E5; color: #999; cursor: not-allowed; }
.checkout-btn:not(:disabled):hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(178,61,53,0.2);}
.lock-icon { width: 18px; height: 18px; }
.wa-checkout-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* Floating WhatsApp Button */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 997; transition: transform 0.3s, box-shadow 0.3s; animation: wa-pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
@keyframes wa-pulse { 0% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.15); } 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } }

/* Hero CTA Group */
.hero-cta-group { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }
.btn-whatsapp-hero { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: white; padding: 20px 35px; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; font-weight: 500; transition: 0.4s; }
.btn-whatsapp-hero:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37,211,102,0.3); }

/* Micro-interaction Toast Add-to-cart Effect */
.toast-msg { background: var(--text); color: white; padding: 14px 30px; border-radius: 4px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); animation: popUp 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards; }
@keyframes popUp { 0% {opacity: 0; transform: translateY(30px) scale(0.9);} 100% {opacity: 1; transform: translateY(0) scale(1);} }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Entrances */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.19, 1, 0.22, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (max-width: 1000px) {
    .nav { padding: 20px 5%; }
    .hide-mobile { display: none; }
    .logo { width: auto; font-size: 1.8rem; }
    .nav-right { width: auto; gap: 20px;}
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .p-image-wrap { aspect-ratio: 4/5; }
    .quick-add { padding: 10px; }
    .add-btn { padding: 14px; font-size: 0.7rem; }
    .add-btn span { display: none; }
    .split-editorial { flex-direction: column; height: auto;}
    .s-half.visual { height: 60vh; }
    .cart-sidebar { width: 100%; right: -100%; border-left: none;}
}
