:root { --bg-primary: #fff; --bg-secondary: #f5f5f5; --bg-dark: #0a0a0a; --text-primary: #111; --text-secondary: #666; --text-light: #999; --accent: #2ecc71; --accent-dark: #27ae60; --border: #e5e5e5; --shadow-sm: 0 2px 8px rgba(0,0,0,.06); --shadow-lg: 0 20px 50px rgba(0,0,0,.12); --transition: all .3s cubic-bezier(.4,0,.2,1); --focus-ring: 3px solid #2ecc71; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
*:focus-visible { outline: var(--focus-ring); outline-offset: 2px; border-radius: 2px; }
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--accent); color: #fff; padding: 1rem 1.5rem; z-index: 99999; font-weight: 700; transition: top .3s ease; }
.skip-link:focus { top: 0; outline: 3px solid #fff; }

header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.95); backdrop-filter: blur(20px); transition: var(--transition); border-bottom: 1px solid transparent; }
header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); border-color: var(--border); }
.header-container { max-width: 1440px; margin: 0 auto; padding: 0 2rem; height: 80px; display: flex; align-items: center; justify-content: space-between; }
.nav-list { display: flex; gap: 2rem; list-style: none; }
.nav-link { font-size: .95rem; font-weight: 500; color: var(--text-primary); text-decoration: none; position: relative; padding: .5rem 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
.nav-link:hover::after { width: 100%; }
.logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; letter-spacing: -1px; color: var(--text-primary); text-decoration: none; }
.logo span { color: var(--accent); }
.header-icons { display: flex; gap: 1.2rem; align-items: center; }
.icon-btn { background: none; border: none; cursor: pointer; padding: .5rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); border-radius: 4px; position: relative; text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; stroke: var(--text-primary); fill: none; stroke-width: 1.8; transition: var(--transition); }
.icon-btn:hover svg { stroke: var(--accent); }
.cart-count { position: absolute; top: 0; right: 0; background: var(--accent); color: #fff; font-size: .65rem; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.cart-count.bump { transform: scale(1.4); }
.menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; width: 28px; }
.menu-btn span { display: block; height: 2px; background: var(--text-primary); transition: var(--transition); }

.hero { margin-top: 80px; position: relative; height: calc(100vh - 80px); min-height: 600px; background: #f5f5f5; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.85); z-index: 1; background-color: #333; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; width: 100%; max-width: 1440px; padding: 0 10%; color: #fff; }
.hero-tag { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: 1.5rem; opacity: 0; transform: translateY(20px); animation: fadeUp .8s ease forwards .3s; }
.hero-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -2px; margin-bottom: 1.5rem; opacity: 0; transform: translateY(20px); animation: fadeUp .8s ease forwards .5s; }
.hero-subtitle { font-size: 1.1rem; font-weight: 300; max-width: 500px; margin-bottom: 2.5rem; opacity: 0; transform: translateY(20px); animation: fadeUp .8s ease forwards .7s; }
.hero-buttons { display: flex; gap: 1rem; opacity: 0; transform: translateY(20px); animation: fadeUp .8s ease forwards .9s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem 2.5rem; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 1px; border-radius: 0; border: 2px solid transparent; background: transparent; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(46,204,113,.3); }
.btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-secondary:hover { background: #fff; color: var(--text-primary); border-color: #fff; }

section { padding: 5rem 2rem; }
.container { max-width: 1440px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: .75rem; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -1px; }

.categories { background: var(--bg-secondary); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.category-card { position: relative; height: 300px; overflow: hidden; border-radius: 4px; cursor: pointer; background: #ddd; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card:hover img { transform: scale(1.08); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: #fff; }
.cat-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 600; margin-bottom: .5rem; }
.cat-link { font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; display: flex; align-items: center; gap: .5rem; opacity: 0; transform: translateY(10px); transition: var(--transition); }
.category-card:hover .cat-link { opacity: 1; transform: translateY(0); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.product-card { background: #fff; border-radius: 4px; transition: var(--transition); cursor: pointer; position: relative; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prod-img-wrap { position: relative; aspect-ratio: 3/4; background: #ececec; overflow: hidden; border-radius: 4px 4px 0 0; }
.prod-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .prod-img-wrap img { transform: scale(1.05); }
.prod-badge { position: absolute; top: 1rem; left: 1rem; padding: .35rem .75rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; color: #fff; border-radius: 2px; z-index: 2; }
.badge-new { background: var(--accent); }
.badge-sale { background: #e74c3c; }
.badge-hot { background: #f39c12; }
.prod-actions { position: absolute; right: 1rem; top: 1rem; display: flex; flex-direction: column; gap: .5rem; opacity: 0; transform: translateX(10px); transition: var(--transition); z-index: 2; }
.product-card:hover .prod-actions { opacity: 1; transform: translateX(0); }
.action-btn { width: 40px; height: 40px; background: #fff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: var(--transition); }
.action-btn:hover { background: var(--accent); }
.action-btn:hover svg { stroke: #fff; }
.action-btn svg { width: 18px; height: 18px; stroke: var(--text-primary); fill: none; stroke-width: 1.8; }
.quick-add { position: absolute; bottom: 0; left: 0; right: 0; background: var(--text-primary); color: #fff; padding: 1rem; text-align: center; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; transition: var(--transition); width: 100%; z-index: 5; }
.quick-add:hover { background: var(--accent); }
.prod-info { padding: 1.2rem .5rem; }
.prod-name { font-weight: 600; font-size: .95rem; margin-bottom: .25rem; }
.prod-cat { font-size: .8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .5rem; }
.prod-price { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.1rem; }
.price-old { font-size: .9rem; color: var(--text-light); text-decoration: line-through; font-weight: 400; }
.color-swatches { display: flex; gap: .4rem; margin-top: .75rem; }
.swatch { width: 16px; height: 16px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.swatch:hover { border-color: var(--text-primary); transform: scale(1.2); }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s ease; padding: 1rem; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-content { background: #fff; max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; border-radius: 8px; display: grid; grid-template-columns: 1fr 1fr; position: relative; transform: translateY(30px) scale(0.95); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.modal-overlay.open .modal-content { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; background: #fff; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; box-shadow: var(--shadow-sm); }
.modal-close svg { width: 20px; height: 20px; stroke: var(--text-primary); stroke-width: 2; }
.modal-img-wrap { aspect-ratio: 3/4; background: #ececec; position: relative; }
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.modal-details { padding: 2.5rem; display: flex; flex-direction: column; }
.modal-cat { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: .5rem; }
.modal-title { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
.modal-price-box { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.modal-price { font-size: 1.5rem; font-weight: 700; }
.modal-old-price { font-size: 1rem; color: var(--text-light); text-decoration: line-through; }
.modal-discount { font-size: .85rem; font-weight: 600; color: #e74c3c; background: rgba(231,76,60,.1); padding: .2rem .5rem; border-radius: 4px; }
.modal-desc { font-size: .95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2rem; }
.option-group { margin-bottom: 1.5rem; }
.option-label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .75rem; }
.size-options { display: flex; gap: .5rem; flex-wrap: wrap; }
.size-btn { padding: .6rem 1rem; border: 2px solid var(--border); background: #fff; cursor: pointer; font-weight: 600; transition: var(--transition); min-width: 48px; text-align: center; }
.size-btn.active { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }
.color-options { display: flex; gap: .75rem; }
.color-swatch { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: var(--transition); position: relative; }
.color-swatch.active { border-color: var(--text-primary); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--text-primary); }
.add-cart-btn { width: 100%; padding: 1.2rem; background: var(--text-primary); color: #fff; font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; transition: var(--transition); text-decoration: none; display: inline-block; text-align: center; }
.add-cart-btn:hover { background: var(--accent); }

.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: -100%; width: 100%; max-width: 420px; height: 100vh; background: #fff; z-index: 2001; transition: right .4s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.15); }
.cart-drawer.open { right: 0; }
.cart-header { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; }

/* Cart Item Styles */
.cart-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); animation: slideInRight 0.3s ease forwards; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 80px; height: 100px; object-fit: cover; border-radius: 4px; background: #f0f0f0; }
.item-details { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.item-name { font-weight: 600; font-size: .95rem; line-height: 1.3; margin-bottom: .25rem; }
.item-meta { font-size: .85rem; color: var(--text-secondary); }
.item-total { font-weight: 700; font-size: .95rem; margin-top: .5rem; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 2rem; text-align: center; color: var(--text-light); }

.cart-footer { padding: 1.5rem; border-top: 1px solid var(--border); }
.checkout-btn { width: 100%; padding: 1.1rem; background: var(--text-primary); color: #fff; font-weight: 600; text-transform: uppercase; border: none; cursor: pointer; transition: var(--transition); }
.checkout-btn:hover:not(:disabled) { background: var(--accent); }
.checkout-btn:disabled { background: #ccc; cursor: not-allowed; }

footer { background: var(--bg-dark); color: #fff; padding: 4rem 2rem 2rem; }
.footer-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; margin-bottom: 1rem; color: var(--accent); }
.footer-col ul { list-style: none; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; display: block; margin-bottom: .5rem; transition: var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1440px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.copyright { color: rgba(255,255,255,0.5); font-size: .85rem; }

@media (max-width: 768px) {
    .nav-list { display: none; }
    .menu-btn { display: flex; }
    .hero-content { padding: 0 5%; }
    .modal-content { grid-template-columns: 1fr; max-height: 95vh; }
    .modal-img-wrap { aspect-ratio: 16/9; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .cart-drawer { max-width: 100%; }
}
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }