/* =============================================
   PortalDinamico Joyería - Estilos Públicos
   Inspirado en napoleonejoyas.co
   Paleta: Negro (#1a1a1a) + Dorado (#c8a84e) + Crema (#f5f5f0)
   ============================================= */

/* === VARIABLES === */
:root {
    --gold: #c8a84e;
    --gold-light: #d4b96a;
    --gold-dark: #a88a2e;
    --black: #1a1a1a;
    --dark: #2d2d2d;
    --cream: #f5f5f0;
    --white: #ffffff;
    --gray-light: #f8f8f6;
    --gray: #888888;
    --gray-border: #e8e6e0;
    --text: #333333;
    --text-light: #666666;
    --font-title: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 4px;
    --radius-lg: 8px;
    --transition: all 0.3s ease;
}

/* === RESET Y BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.6; background: var(--white); }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* === TIPOGRAFÍA ELEGANTE === */
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 42px; }
h2 { font-size: 36px; }
h3 { font-size: 22px; }

/* === BOTONES === */
.btn { display: inline-block; padding: 13px 32px; border-radius: var(--radius); font-weight: 600; font-size: 13px; cursor: pointer; border: none; transition: var(--transition); text-align: center; text-transform: uppercase; letter-spacing: 1.2px; font-family: var(--font-body); }
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(200,168,78,0.4); }
.btn-secondary { background: var(--black); color: var(--white); }
.btn-secondary:hover { background: var(--dark); }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-outline-white { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-outline-dark { background: transparent; border: 2px solid var(--black); color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 12px; }
.btn-lg { padding: 16px 40px; font-size: 14px; }
.btn-danger { background: #dc3545; color: #fff; }
.btn-danger:hover { background: #c82333; }
.btn-success { background: #25d366; color: #fff; }
.btn-success:hover { background: #1da851; }

/* === ALERTAS === */
.alert { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #fff8e1; color: #856404; border: 1px solid #ffeeba; }

/* === BADGES === */
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-success { background: #28a745; }
.badge-warning { background: var(--gold); color: var(--black); }
.badge-danger { background: #dc3545; }
.badge-info { background: #17a2b8; }
.badge-primary { background: var(--black); }
.badge-secondary { background: #6c757d; }
.badge-new { background: var(--gold); color: var(--black); font-size: 10px; padding: 3px 8px; position: absolute; top: 12px; left: 12px; z-index: 2; }
.badge-sale { background: #dc3545; font-size: 10px; padding: 3px 8px; position: absolute; top: 12px; right: 12px; z-index: 2; }

/* === NAVBAR === */
.navbar { background: var(--black); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(200,168,78,0.2); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.navbar-logo { height: 42px; width: auto; }
.navbar-name { font-family: var(--font-title); font-weight: 700; font-size: 20px; color: var(--gold); letter-spacing: 1px; }
.navbar-menu { display: flex; gap: 4px; }
.navbar-menu a { padding: 8px 16px; border-radius: var(--radius); font-weight: 500; font-size: 13px; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.navbar-menu a:hover, .navbar-menu a.active { color: var(--gold); }
.navbar-actions { display: flex; align-items: center; gap: 14px; }
.btn-icon { background: none; border: none; font-size: 18px; cursor: pointer; position: relative; padding: 8px; color: rgba(255,255,255,0.8); transition: var(--transition); }
.btn-icon:hover { color: var(--gold); }
.cart-badge { position: absolute; top: 0; right: 0; background: var(--gold); color: var(--black); font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.navbar-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.navbar-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/* === HERO JOYERÍA === */
.hero-jewelry { background: var(--black); color: var(--white); padding: 0; position: relative; overflow: hidden; }
.hero-slider { position: relative; min-height: 600px; }
.hero-slide { display: none; min-height: 600px; position: relative; }
.hero-slide.active { display: flex; align-items: center; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.4) 60%, transparent 100%); }
.hero-slide-content { position: relative; z-index: 2; max-width: 550px; padding: 80px 0; }
.hero-slide-content .hero-tag { display: inline-block; background: var(--gold); color: var(--black); padding: 4px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; border-radius: 2px; }
.hero-slide-content h1 { font-family: var(--font-title); font-size: 52px; line-height: 1.1; margin-bottom: 16px; color: var(--white); }
.hero-slide-content p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 30px; line-height: 1.7; }
.hero-slide-content .hero-price { font-family: var(--font-title); font-size: 32px; color: var(--gold); margin-bottom: 24px; }
.hero-slide-content .hero-price small { font-size: 16px; color: rgba(255,255,255,0.5); text-decoration: line-through; margin-left: 12px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: var(--transition); }
.hero-dot.active { background: var(--gold); width: 30px; border-radius: 5px; }

/* Hero clásico (fallback) */
.hero { background: var(--black); color: var(--white); padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden; }
.hero h1 { font-family: var(--font-title); font-size: 48px; margin-bottom: 16px; }
.hero p { font-size: 17px; opacity: 0.7; max-width: 600px; margin: 0 auto 30px; }
.hero .btn-primary { background: var(--gold); color: var(--black); }
.hero .btn-primary:hover { background: var(--gold-dark); }
.hero .btn-outline { border-color: var(--white); color: var(--white); }
.hero .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* === BARRA DE BENEFICIOS === */
.benefits-bar { background: var(--black); padding: 16px 0; border-bottom: 1px solid rgba(200,168,78,0.2); }
.benefits-bar-grid { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.benefits-bar-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500;
    padding: 6px 28px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.benefits-bar-item:last-child { border-right: none; }
.benefits-bar-item i { color: var(--gold); font-size: 18px; }

/* === SECCIONES === */
.section { padding: 80px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--black); color: var(--white); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-family: var(--font-title); font-size: 36px; color: var(--black); margin-bottom: 12px; }
.section-dark .section-title h2 { color: var(--white); }
.section-title p { color: var(--gray); font-size: 15px; max-width: 600px; margin: 0 auto; }
.section-title .gold-line { width: 60px; height: 2px; background: var(--gold); margin: 16px auto 0; }

/* === PAGE HEADER === */
.page-header { background: var(--black); color: var(--white); padding: 60px 0; text-align: center; position: relative; }
.page-header::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 2px; background: var(--gold); }
.page-header h1 { font-family: var(--font-title); font-size: 38px; margin-bottom: 10px; }
.page-header p { opacity: 0.6; font-size: 15px; }

/* === FEATURES / BENEFICIOS === */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card { background: var(--white); border-radius: var(--radius-lg); padding: 35px 30px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--gray-border); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.feature-icon { font-size: 40px; margin-bottom: 16px; color: var(--gold); }
.feature-card h3 { font-family: var(--font-title); color: var(--black); margin-bottom: 10px; font-size: 20px; }
.feature-card p { color: var(--text-light); font-size: 14px; }

/* === ABOUT PREVIEW === */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-preview h2 { font-family: var(--font-title); font-size: 36px; color: var(--black); margin-bottom: 20px; }
.about-preview p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.about-preview img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* === CATEGORÍAS CON BANNER === */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.category-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: var(--transition); aspect-ratio: 3/4; display: flex; align-items: flex-end; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s; }
.category-card:hover .category-card-bg { transform: scale(1.05); }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,26,0.8) 0%, transparent 60%); }
.category-card-content { position: relative; z-index: 2; padding: 24px; width: 100%; }
.category-card h3 { font-family: var(--font-title); color: var(--white); font-size: 20px; margin-bottom: 4px; }
.category-card .cat-count { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }
/* Fallback sin imagen */
.category-card-simple { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-lg); padding: 30px; text-align: center; transition: var(--transition); cursor: pointer; }
.category-card-simple:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.category-icon { font-size: 40px; margin-bottom: 12px; color: var(--gold); }
.category-card-simple h3 { font-family: var(--font-title); color: var(--black); font-size: 18px; }

/* === COLECCIONES === */
.collection-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; }
.collection-banner img { width: 100%; height: 300px; object-fit: cover; }
.collection-banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,26,0.7) 0%, transparent 70%); display: flex; align-items: center; padding: 40px; }
.collection-banner-text h2 { font-family: var(--font-title); color: var(--white); font-size: 36px; margin-bottom: 8px; }
.collection-banner-text p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }

/* === PRODUCTOS === */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--gray-border); position: relative; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.product-card-img { position: relative; overflow: hidden; }
.product-card img.product-img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.5s; }
.product-card:hover img.product-img { transform: scale(1.05); }
.product-emoji-box { height: 280px; display: flex; align-items: center; justify-content: center; background: var(--cream); }
.product-emoji { font-size: 60px; }
.product-card-actions { position: absolute; bottom: -50px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; padding: 12px; background: linear-gradient(to top, rgba(26,26,26,0.6), transparent); transition: bottom 0.3s; }
.product-card:hover .product-card-actions { bottom: 0; }
.product-action-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--black); transition: var(--transition); }
.product-action-btn:hover { background: var(--gold); color: var(--white); }
.product-info { padding: 20px; }
.product-info .product-category-label { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.product-info h3 { font-family: var(--font-title); font-size: 16px; color: var(--black); margin-bottom: 4px; font-weight: 600; }
.product-info .product-desc { font-size: 13px; color: var(--gray); margin-bottom: 10px; }
.product-price { display: flex; align-items: center; gap: 10px; }
.product-price .price { font-size: 18px; font-weight: 700; color: var(--black); }
.product-price .price-old { font-size: 14px; color: var(--gray); text-decoration: line-through; }
.product-price .unit { font-size: 12px; color: var(--gray); }
.product-card .btn { width: 100%; margin-top: 12px; }

/* Atributos de joyería en card */
.product-jewel-attrs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.jewel-attr-tag { font-size: 11px; padding: 3px 8px; background: var(--cream); color: var(--text-light); border-radius: 3px; }

/* === FILTROS === */
.filters-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; align-items: center; }
.filters-bar input[type="text"] { flex: 1; min-width: 200px; padding: 11px 16px; border: 1px solid var(--gray-border); border-radius: var(--radius); font-size: 14px; background: var(--white); }
.filters-bar input:focus { border-color: var(--gold); outline: none; }
.filter-btn { padding: 8px 20px; border-radius: var(--radius); border: 1px solid var(--gray-border); background: var(--white); cursor: pointer; font-size: 12px; font-weight: 500; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px; }
.filter-btn:hover, .filter-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* Filtros avanzados joyería */
.filters-advanced { background: var(--cream); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.filter-group label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); margin-bottom: 6px; }
.filter-group select, .filter-group input { width: 100%; padding: 9px 12px; border: 1px solid var(--gray-border); border-radius: var(--radius); font-size: 13px; background: var(--white); }

/* === TESTIMONIOS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); transition: var(--transition); }
.testimonial-card:hover { border-color: var(--gold); }
.testimonial-stars { color: var(--gold); font-size: 16px; margin-bottom: 14px; }
.testimonial-text { color: var(--text-light); font-style: italic; margin-bottom: 20px; line-height: 1.7; font-size: 15px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--black); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; font-family: var(--font-title); }
.testimonial-name { font-weight: 600; color: var(--black); }
.testimonial-company { font-size: 13px; color: var(--gray); }
.testimonial-product { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-border); }
.testimonial-product img { width: 50px; height: 50px; border-radius: var(--radius); object-fit: cover; }
.testimonial-product span { font-size: 13px; color: var(--text-light); }

/* === INSTAGRAM FEED === */
.instagram-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px; }
.instagram-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.instagram-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.instagram-item:hover img { transform: scale(1.1); }
.instagram-item-overlay { position: absolute; inset: 0; background: rgba(26,26,26,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.instagram-item:hover .instagram-item-overlay { opacity: 1; }
.instagram-item-overlay i { color: var(--white); font-size: 28px; }
.instagram-header { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 30px; }
.instagram-header i { font-size: 28px; color: var(--gold); }
.instagram-header span { font-family: var(--font-title); font-size: 14px; color: var(--gray); text-transform: uppercase; letter-spacing: 2px; }

/* === SERVICIOS === */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-icon-big { font-size: 80px; text-align: center; padding: 40px; background: var(--cream); border-radius: var(--radius-lg); color: var(--gold); }
.service-block h3 { font-family: var(--font-title); font-size: 28px; color: var(--black); margin-bottom: 16px; }
.service-block p { color: var(--text-light); margin-bottom: 16px; }
.service-features { list-style: none; }
.service-features li { padding: 6px 0; color: var(--text-light); }
.service-features li::before { content: '✦ '; color: var(--gold); }

/* === BENEFICIOS === */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.benefit-card { text-align: center; padding: 30px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); }
.benefit-card .benefit-icon { font-size: 36px; margin-bottom: 12px; color: var(--gold); }
.benefit-card h3 { font-family: var(--font-title); color: var(--black); margin-bottom: 8px; }
.benefit-card p { color: var(--text-light); font-size: 14px; }

/* === CTA === */
.cta-section { background: var(--black); color: var(--white); padding: 70px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(200,168,78,0.08) 0%, transparent 60%); }
.cta-section h2 { font-family: var(--font-title); font-size: 36px; margin-bottom: 16px; position: relative; }
.cta-section p { opacity: 0.6; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }
.cta-section .btn { background: var(--gold); color: var(--black); position: relative; }
.cta-section .btn:hover { background: var(--gold-light); }

/* === NEWSLETTER ELEGANTE === */
.newsletter-section { background: var(--black); padding: 60px 0; text-align: center; }
.newsletter-section h3 { font-family: var(--font-title); color: var(--gold); font-size: 28px; margin-bottom: 8px; }
.newsletter-section p { color: rgba(255,255,255,0.5); margin-bottom: 24px; font-size: 14px; }
.newsletter-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 14px 20px; border: 1px solid rgba(200,168,78,0.3); border-right: none; border-radius: var(--radius) 0 0 var(--radius); background: rgba(255,255,255,0.05); color: var(--white); font-size: 14px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { border-color: var(--gold); outline: none; }
.newsletter-form .btn { border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 28px; }

/* === VALORES === */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.value-card { text-align: center; padding: 30px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); }
.value-card .value-icon { font-size: 40px; margin-bottom: 12px; color: var(--gold); }
.value-card h3 { font-family: var(--font-title); color: var(--black); margin-bottom: 8px; }

/* === STATS === */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.stat-item .stat-number { font-family: var(--font-title); font-size: 48px; font-weight: 700; color: var(--gold); }
.stat-item .stat-label { color: var(--text-light); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* === BLOG === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--gray-border); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 220px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-meta { display: flex; gap: 12px; margin-bottom: 10px; font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.blog-tag { padding: 2px 10px; border-radius: 3px; font-size: 11px; color: var(--white); background: var(--gold); }
.blog-card h3 { font-family: var(--font-title); font-size: 18px; color: var(--black); margin-bottom: 8px; }
.blog-card p { color: var(--text-light); font-size: 14px; margin-bottom: 12px; }
.blog-card .read-more { color: var(--gold); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }

/* === CONTACTO === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid var(--gray-border); border-radius: var(--radius); font-size: 14px; font-family: inherit; transition: border-color 0.3s; background: var(--white); }
.form-control:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(200,168,78,0.1); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center; }
.contact-info h3 { font-family: var(--font-title); color: var(--black); margin-bottom: 16px; font-size: 22px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 16px; color: var(--text-light); }
.contact-info-item i { color: var(--gold); width: 20px; text-align: center; }
.contact-info-item strong { color: var(--text); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; margin-top: 20px; }
.contact-map iframe { width: 100%; height: 300px; border: none; }

/* === AUTH === */
.auth-tabs { display: flex; margin-bottom: 24px; border-bottom: 2px solid var(--gray-border); }
.auth-tab { flex: 1; text-align: center; padding: 12px; font-weight: 600; color: var(--gray); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; text-transform: uppercase; letter-spacing: 0.5px; font-size: 13px; }
.auth-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-link { color: var(--gold); font-weight: 500; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray); }

/* === PERFIL === */
.profile-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; padding: 40px 0; }
.profile-sidebar { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); height: fit-content; border: 1px solid var(--gray-border); }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--black); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; margin: 0 auto 16px; font-family: var(--font-title); }
.profile-name { text-align: center; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.profile-email { text-align: center; color: var(--gray); font-size: 13px; margin-bottom: 20px; }
.profile-nav a { display: block; padding: 10px 16px; border-radius: var(--radius); color: var(--text-light); font-size: 14px; margin-bottom: 4px; }
.profile-nav a:hover, .profile-nav a.active { background: var(--cream); color: var(--gold); }
.profile-content { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); }

/* === CHECKOUT === */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; padding: 40px 0; }
.checkout-steps { display: flex; gap: 20px; margin-bottom: 30px; }
.checkout-step { flex: 1; text-align: center; padding: 12px; border-radius: var(--radius); background: var(--cream); color: var(--gray); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.checkout-step.active { background: var(--black); color: var(--gold); }
.order-summary { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); height: fit-content; position: sticky; top: 90px; border: 1px solid var(--gray-border); }
.order-summary h3 { font-family: var(--font-title); margin-bottom: 20px; color: var(--black); }
.summary-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--cream); }
.summary-total { display: flex; justify-content: space-between; padding: 16px 0 0; font-size: 20px; font-weight: 700; color: var(--black); }
.payment-options { margin: 20px 0; }
.payment-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--gray-border); border-radius: var(--radius); margin-bottom: 8px; cursor: pointer; transition: var(--transition); }
.payment-option:hover, .payment-option.selected { border-color: var(--gold); }
.payment-option input[type="radio"] { accent-color: var(--gold); }

/* === POLÍTICAS === */
.policies-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; padding: 40px 0; }
.policies-nav { background: var(--white); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); height: fit-content; position: sticky; top: 90px; border: 1px solid var(--gray-border); }
.policies-nav a { display: block; padding: 10px 16px; border-radius: var(--radius); color: var(--text-light); font-size: 14px; margin-bottom: 4px; }
.policies-nav a:hover, .policies-nav a.active { background: var(--cream); color: var(--gold); }
.policy-content { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-border); }
.policy-content h3 { font-family: var(--font-title); color: var(--black); margin: 24px 0 12px; }
.policy-content p { color: var(--text-light); margin-bottom: 12px; line-height: 1.7; }

/* === CONFIRMACIÓN === */
.confirmation-card { text-align: center; max-width: 600px; margin: 40px auto; background: var(--white); border-radius: var(--radius-lg); padding: 50px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-border); }
.confirmation-icon { font-size: 64px; margin-bottom: 20px; color: var(--gold); }
.confirmation-card h2 { font-family: var(--font-title); color: var(--black); margin-bottom: 12px; }
.order-number { font-family: var(--font-title); font-size: 24px; font-weight: 700; color: var(--gold); margin: 16px 0; }

/* === DETALLE PRODUCTO === */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 40px 0; }
.product-detail-img { border-radius: var(--radius-lg); overflow: hidden; }
.product-detail-img .product-emoji-box { height: 450px; border-radius: var(--radius-lg); }
.product-category-tag { display: inline-block; background: var(--cream); color: var(--gold); padding: 4px 14px; border-radius: 3px; font-size: 11px; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.product-detail-info h1 { font-family: var(--font-title); font-size: 32px; color: var(--black); margin-bottom: 12px; }
.product-detail-info .price-big { font-family: var(--font-title); font-size: 32px; font-weight: 700; color: var(--black); margin-bottom: 16px; }
.product-detail-info .price-big small { color: var(--gray); font-size: 16px; font-weight: 400; text-decoration: line-through; }
.product-detail-info .price-big .compare-price { color: var(--gray); font-size: 18px; font-weight: 400; text-decoration: line-through; margin-left: 12px; }
.product-short-desc { color: var(--text-light); font-size: 15px; margin-bottom: 12px; line-height: 1.7; }
.product-full-desc { color: var(--text-light); margin-bottom: 20px; line-height: 1.8; font-size: 14px; }

/* Atributos de joyería en detalle */
.jewel-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; padding: 20px; background: var(--cream); border-radius: var(--radius-lg); }
.jewel-spec { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.jewel-spec-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 14px; }
.jewel-spec-label { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.jewel-spec-value { font-weight: 600; color: var(--black); font-size: 14px; }

.product-meta { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; padding: 16px; background: var(--cream); border-radius: var(--radius-lg); }
.product-meta-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-light); }
.product-meta-item i { color: var(--gold); }

.quantity-selector { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.quantity-selector label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.quantity-selector button { width: 40px; height: 40px; border: 1px solid var(--gray-border); border-radius: var(--radius); background: var(--white); font-size: 18px; cursor: pointer; transition: var(--transition); }
.quantity-selector button:hover { border-color: var(--gold); color: var(--gold); }
.quantity-selector input { width: 60px; text-align: center; border: 1px solid var(--gray-border); border-radius: var(--radius); padding: 8px; font-size: 16px; }

.consult-box { background: var(--cream); border: 1px solid var(--gray-border); border-radius: var(--radius-lg); padding: 20px; margin-top: 16px; }
.consult-box p { color: var(--text-light); margin-bottom: 16px; font-size: 14px; }
.consult-box .btn { margin-right: 8px; margin-bottom: 8px; }

/* === BREADCRUMB === */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--gray); }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 8px; color: var(--gray-border); }

/* === GALERÍA MEJORADA === */
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); cursor: zoom-in; }
.gallery-main-img { width: 100%; height: 500px; object-fit: cover; display: block; transition: opacity 0.3s ease; }
.gallery-main-fallback { height: 500px; border-radius: var(--radius-lg); }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 14px; color: var(--black); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: var(--transition); z-index: 2; }
.gallery-nav:hover { background: var(--gold); color: var(--white); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-counter { position: absolute; bottom: 12px; right: 12px; background: rgba(26,26,26,0.7); color: var(--white); padding: 4px 12px; border-radius: 3px; font-size: 12px; font-weight: 500; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { width: 72px; height: 72px; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--gray-border); cursor: pointer; padding: 0; background: none; transition: var(--transition); flex-shrink: 0; }
.gallery-thumb:hover { border-color: var(--gold); }
.gallery-thumb.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(200,168,78,0.3); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* === LIGHTBOX === */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.1); border: none; color: var(--white); font-size: 20px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* === CART MODAL === */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; display: none; }
.cart-overlay.open { display: block; }
.cart-modal { position: fixed; top: 0; right: -420px; width: 420px; height: 100%; background: var(--white); z-index: 2001; transition: right 0.3s; display: flex; flex-direction: column; box-shadow: -5px 0 30px rgba(0,0,0,0.15); }
.cart-modal.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--gray-border); }
.cart-header h3 { font-family: var(--font-title); font-size: 18px; color: var(--black); }
.cart-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--gray); }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty-msg { text-align: center; color: var(--gray); padding: 40px 0; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--cream); }
.cart-item-img { width: 64px; height: 64px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 28px; overflow: hidden; background: var(--cream); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
img.cart-item-img { object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 14px; color: var(--black); }
.cart-item-price { color: var(--gold); font-weight: 600; font-size: 14px; }
.cart-item-qty { font-size: 12px; color: var(--gray); }
.cart-item-remove { background: none; border: none; color: #dc3545; cursor: pointer; font-size: 16px; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--gray-border); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 18px; font-weight: 700; }
.cart-footer .btn { margin-bottom: 8px; }

/* === WHATSAPP FLOAT === */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 999; transition: transform 0.3s; color: #fff; }
.whatsapp-float:hover { transform: scale(1.1); }

/* === FOOTER ELEGANTE === */
.footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 70px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-family: var(--font-title); color: var(--gold); margin-bottom: 20px; font-size: 16px; letter-spacing: 1px; }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border-radius: 50%; font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-social a:hover { background: var(--gold); color: var(--black); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-payment { display: flex; justify-content: center; gap: 16px; margin-top: 12px; }
.footer-payment i { font-size: 28px; color: rgba(255,255,255,0.3); }

/* === INFO BOX === */
.info-box { background: var(--cream); border: 1px solid var(--gray-border); border-radius: var(--radius-lg); padding: 24px; margin: 30px 0; }
.info-box h3 { color: var(--black); margin-bottom: 8px; }
.info-box p { color: var(--text-light); font-size: 14px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .navbar .container { height: 60px; }
    .navbar-name { display: none; }
    .navbar-menu { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--black); flex-direction: column; padding: 20px; border-top: 1px solid rgba(200,168,78,0.2); }
    .navbar-menu.open { display: flex; }
    .navbar-toggle { display: block; }
    .hero-slide-content h1 { font-size: 32px; }
    .hero-slider { min-height: 400px; }
    .hero-slide { min-height: 400px; }
    .about-preview, .service-block, .contact-grid, .product-detail { grid-template-columns: 1fr; }
    .service-block.reverse { direction: ltr; }
    .profile-layout, .checkout-layout, .policies-layout { grid-template-columns: 1fr; }
    .cart-modal { width: 100%; right: -100%; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .product-card img.product-img, .product-emoji-box { height: 200px; }
    .blog-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-main-img, .gallery-main-fallback { height: 300px; }
    .gallery-thumb { width: 56px; height: 56px; }
    .product-detail-info .price-big { font-size: 24px; }
    .jewel-specs { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { border-right: 1px solid rgba(200,168,78,0.3); border-radius: var(--radius); }
    .newsletter-form .btn { border-radius: var(--radius); }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 28px; }
    h1 { font-size: 32px; }
    .filters-advanced { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-info { padding: 12px; }
    .product-info h3 { font-size: 13px; }
    .product-price .price { font-size: 15px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .instagram-grid { grid-template-columns: repeat(2, 1fr); }
    .filters-advanced { grid-template-columns: 1fr; }
}


/* === INSTAGRAM CTA MEJORADO === */
.instagram-section { background: var(--black); padding: 60px 0; }
.instagram-cta { text-align: center; margin-bottom: 40px; }
.instagram-cta-icon { font-size: 48px; color: var(--gold); margin-bottom: 16px; }
.instagram-cta-icon i { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.instagram-cta h2 { font-family: var(--font-title); color: var(--white); font-size: 28px; margin-bottom: 10px; }
.instagram-cta p { color: rgba(255,255,255,0.5); max-width: 500px; margin: 0 auto 24px; font-size: 14px; }
.instagram-cta .btn { border-color: var(--gold); color: var(--gold); }
.instagram-cta .btn:hover { background: var(--gold); color: var(--black); }

.instagram-section .instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.instagram-placeholder { width: 100%; aspect-ratio: 1; background: var(--dark); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; }
.instagram-placeholder i { font-size: 32px; color: var(--gold); }
.instagram-placeholder span { font-size: 11px; color: rgba(255,255,255,0.4); text-align: center; }

@media (max-width: 768px) {
    .instagram-section .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .instagram-section .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}


/* === FILTROS POR TAGS === */
.tags-filters {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
}

.tags-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.tags-filter-group:last-of-type {
    margin-bottom: 0;
}

.tags-filter-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    min-width: 80px;
}

.tag-filter-btn {
    padding: 5px 14px;
    border: 1px solid var(--gray-border);
    border-radius: 20px;
    background: var(--white);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.2s;
    font-family: var(--font-body);
}

.tag-filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.tag-filter-btn.active {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.tag-clear-btn {
    padding: 5px 14px;
    border: 1px solid #dc3545;
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #dc3545;
    transition: all 0.2s;
    font-family: var(--font-body);
    margin-top: 10px;
}

.tag-clear-btn:hover {
    background: #dc3545;
    color: #fff;
}

@media (max-width: 768px) {
    .tags-filter-label {
        min-width: 100%;
        margin-bottom: 4px;
    }
}


/* === CATÁLOGO CON SIDEBAR === */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

.catalog-sidebar {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 0;
}

.sidebar-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-border);
}

.sidebar-filter-header h3 {
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--black);
    margin: 0;
}

.sidebar-filter-header h3 i {
    color: var(--gold);
    margin-right: 6px;
}

.sidebar-clear-all {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 12px;
    cursor: pointer;
    font-weight: 500;
}

.sidebar-clear-all:hover {
    color: var(--gold-dark);
}

.sidebar-filter-block {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-border);
}

.sidebar-filter-block:last-child {
    border-bottom: none;
}

.sidebar-filter-block h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.sidebar-filter-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-radio,
.sidebar-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    padding: 4px 0;
}

.sidebar-radio input,
.sidebar-check input {
    accent-color: var(--gold);
}

.sidebar-filter-block .form-control {
    font-size: 13px;
    padding: 8px 10px;
}

/* Contenido catálogo */
.catalog-content {
    min-width: 0;
}

.catalog-results {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.catalog-section-title {
    font-family: var(--font-title);
    font-size: 22px;
    color: var(--black);
    margin: 24px 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-section-count {
    font-size: 12px;
    font-family: var(--font-body);
    color: var(--gray);
    font-weight: 400;
}

/* Grid de 3 columnas */
.products-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Toggle filtros móvil */
.catalog-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 16px;
    font-family: var(--font-body);
}

@media (max-width: 900px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        max-height: 100vh;
        z-index: 1001;
        border-radius: 0;
        transition: left 0.3s;
        box-shadow: 5px 0 20px rgba(0,0,0,0.15);
    }

    .catalog-sidebar.open {
        left: 0;
    }

    .catalog-filter-toggle {
        display: block;
    }

    .products-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .products-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


/* === BARRA DE CATEGORÍAS (debajo del navbar) === */
.categories-bar {
    background: #111;
    border-bottom: 1px solid rgba(200,168,78,0.15);
}

.categories-bar-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.categories-bar-scroll::-webkit-scrollbar { display: none; }

.categories-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.categories-bar-item:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

@media (max-width: 768px) {
    .categories-bar-scroll {
        justify-content: flex-start;
    }
    .categories-bar-item {
        padding: 8px 14px;
        font-size: 11px;
    }
}


/* === FOOTER LOGO === */
.footer-logo {
    margin-bottom: 16px;
}
.footer-logo img {
    height: 60px;
    width: auto;
}


/* === TOPBAR MARQUESINA === */
.topbar-info {
    background: var(--gold);
    overflow: hidden;
    white-space: nowrap;
}

.topbar-info-marquee {
    display: flex;
    animation: marquee 30s linear infinite;
}

.topbar-info-content {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 7px 0;
    min-width: 100%;
    justify-content: center;
}

.topbar-info-content span {
    font-size: 12px;
    font-weight: 500;
    color: var(--black);
    padding: 0 12px;
}

.topbar-info-content a {
    color: var(--black);
    font-weight: 600;
}

.topbar-info-content a:hover {
    color: var(--dark);
    text-decoration: underline;
}

.topbar-info-content i {
    margin-right: 4px;
}

.topbar-sep {
    font-size: 8px !important;
    opacity: 0.5;
    padding: 0 4px !important;
}

.topbar-social {
    display: flex;
    gap: 10px;
    padding: 0 12px !important;
}

.topbar-social a {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
    border-radius: 50%;
    font-size: 11px;
    color: var(--black);
    transition: all 0.2s;
}

.topbar-social a:hover {
    background: var(--black);
    color: var(--gold);
    text-decoration: none;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* En pantallas grandes no animar, centrar */
@media (min-width: 900px) {
    .topbar-info-marquee {
        animation: none;
        justify-content: center;
    }
}

/* En móvil sí animar */
@media (max-width: 899px) {
    .topbar-info-content {
        justify-content: flex-start;
        padding-right: 40px;
    }
    .topbar-info-marquee {
        animation: marquee 20s linear infinite;
    }
}
