@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Yeseva+One&display=swap');

:root {
    --color-black: #000000;
    --color-text-gray: #555555;
    --color-light-bg: #f9f9f9;
    --color-white: #ffffff;
    --color-border: #dddddd;
    --font-headings: 'Yeseva One', display;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--color-text-gray); background: var(--color-white); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { color: var(--color-black); font-weight: 400; }
h1, h2 { font-family: var(--font-headings); }
h3, h4, h5, h6 { font-family: var(--font-body); font-weight: 700; }
a { text-decoration: none; color: var(--color-black); transition: 0.3s; }
a:hover { color: #888; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--color-black); color: var(--color-black); background: transparent; padding: 15px 30px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: 0.3s; }
.btn:hover { background: var(--color-black); color: var(--color-white); }
.btn-solid { background: var(--color-black); color: var(--color-white); }
.btn-solid:hover { background: #333; border-color: #333; }

/* Header & Dropdown */
.site-header { position: absolute; top: 0; left: 0; width: 100%; padding: 20px 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.1); }
.header-solid { position: relative; background: var(--color-white); border-bottom: 1px solid var(--color-border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-headings); font-size: 28px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links > li > a { font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px; padding: 10px 0;}
.header-icons { display: flex; gap: 20px; align-items: center; }
.icon-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; }
.icon-btn svg { width: 20px; height: 20px; fill: var(--color-black); transition: 0.3s; }

/* Dropdown Menu */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--color-white); box-shadow: 0 10px 30px rgba(0,0,0,0.05); opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.3s; min-width: 220px; padding: 10px 0; z-index: 200; border-top: 2px solid var(--color-black); display: flex; flex-direction: column; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 10px 20px; font-size: 13px; text-transform: capitalize; border-bottom: 1px solid #f1f1f1; display: block; font-weight: 500;}
.dropdown-menu a:hover { background: var(--color-light-bg); padding-left: 25px; }

/* Hero */
.hero { height: 90vh; display: flex; align-items: center; background: url('https://images.unsplash.com/photo-1511499767150-a48a237f0083?q=80&w=1600&auto=format&fit=crop') center/cover; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.2) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 500px; }
.hero-content h1 { font-size: 65px; margin-bottom: 20px; line-height: 1.1; }

/* Banners / Promos */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: -50px; position: relative; z-index: 10; padding-bottom: 80px;}
.promo-box { padding: 60px 40px; background-size: cover; background-position: center; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 350px; color: var(--color-white); }
.promo-box::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.promo-box > * { position: relative; z-index: 2; }
.promo-box h2 { color: var(--color-white); font-size: 36px; margin-bottom: 15px; }

/* Grid de Productos */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 40px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px; }
.product-card { text-align: center; position: relative; }
.product-img-wrap { position: relative; overflow: hidden; margin-bottom: 15px; background: var(--color-light-bg); }
.product-img-wrap img { width: 100%; height: 320px; object-fit: cover; transition: 0.5s; }
.product-card:hover img { transform: scale(1.05); }
.quick-view-btn { position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); background: var(--color-white); padding: 12px 25px; font-size: 12px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.3s; opacity: 0; box-shadow: 0 5px 15px rgba(0,0,0,0.1); width: 80%; }
.product-card:hover .quick-view-btn { bottom: 20px; opacity: 1; }
.quick-view-btn:hover { background: var(--color-black); color: var(--color-white); }
.product-title { font-size: 15px; margin-bottom: 5px; text-transform: uppercase; font-weight: 600; }
.product-price { font-size: 15px; color: var(--color-black); }
.sale-badge, .new-badge { position: absolute; top: 15px; left: 15px; padding: 5px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; z-index: 2; }
.sale-badge { background: var(--color-black); color: var(--color-white); }
.new-badge { background: #d4af37; color: var(--color-white); left: auto; right: 15px; }

/* Instagram Feed */
.insta-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 30px; }
.insta-item { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.insta-item:hover img { transform: scale(1.1); filter: brightness(0.7); }
.insta-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0; color: white; font-size: 30px; transition: 0.3s; }
.insta-item:hover .insta-icon { opacity: 1; }

/* Shop Layout & Filters */
.shop-layout { display: flex; gap: 50px; padding: 80px 0; }
.shop-sidebar { width: 250px; flex-shrink: 0; }
.filter-widget { margin-bottom: 40px; }
.filter-widget h4 { font-size: 16px; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--color-border); }
.category-list li { margin-bottom: 12px; }
.category-list a { font-size: 14px; display: flex; justify-content: space-between; cursor: pointer; }
.category-list a.active { font-weight: bold; color: var(--color-black); padding-left: 10px; border-left: 2px solid var(--color-black); }
.price-slider { width: 100%; margin-bottom: 15px; }
.shop-content { flex: 1; }

/* Lightbox Quick View Dinámico */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content { background: var(--color-white); width: 900px; max-width: 95%; max-height: 90vh; display: flex; position: relative; }
.lb-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; cursor: pointer; z-index: 10; }
.lb-image { width: 50%; background: var(--color-light-bg); display: flex; align-items: center; justify-content: center; }
.lb-image img { width: 100%; height: 100%; object-fit: cover; }
.lb-details { width: 50%; padding: 50px 40px; overflow-y: auto; }
.lb-category { font-size: 12px; text-transform: uppercase; color: #888; letter-spacing: 1px; }
.lb-title { font-size: 32px; margin: 10px 0; }
.lb-price { font-size: 22px; color: var(--color-black); font-weight: 600; margin-bottom: 10px; display: block; }
.lb-tags { font-size: 12px; color: #888; margin-bottom: 20px; }
.lb-tags span { background: #eee; padding: 3px 8px; border-radius: 3px; margin-right: 5px; }
.color-options { display: flex; gap: 10px; margin-bottom: 30px; }
.color-swatch { width: 25px; height: 25px; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1px #ccc; border: 2px solid transparent;}
.color-swatch.active { box-shadow: 0 0 0 2px var(--color-black); border-color: var(--color-white); }
.lb-actions { display: flex; gap: 15px; margin-bottom: 30px; }
.qty-input { width: 60px; text-align: center; border: 1px solid var(--color-border); }
.meta-actions { display: flex; gap: 20px; font-size: 13px; font-weight: 600; border-top: 1px solid var(--color-border); padding-top: 20px; }
.meta-actions a { display: flex; align-items: center; gap: 5px; cursor: pointer; }

/* Drawers */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s; }
.overlay.active { opacity: 1; visibility: visible; }
.side-drawer { position: fixed; top: 0; right: -400px; width: 100%; max-width: 400px; height: 100vh; background: var(--color-white); z-index: 999; transition: 0.4s; display: flex; flex-direction: column; }
.side-drawer.active { right: 0; }
.drawer-header { padding: 25px; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; }
.drawer-content { padding: 30px; overflow-y: auto; flex: 1; }

/* Footer */
footer { background: var(--color-light-bg); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 60px; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .promo-grid { grid-template-columns: 1fr; margin-top: 20px; }
    .shop-layout { flex-direction: column; }
    .shop-sidebar { width: 100%; }
    .lightbox-content { flex-direction: column; overflow-y: auto; }
    .lb-image, .lb-details { width: 100%; }
    .lb-image { height: 300px; }
    .insta-grid { grid-template-columns: repeat(2, 1fr); }
}
