/*
Theme Name: Playas de Cartaya
Theme URI: https://playasdecartaya.es
Author: Sergio García
Author URI: https://playasdecartaya.es
Description: Tema WordPress personalizado para el Club de Atletismo Playas de Cartaya. Diseño moderno y responsivo con colores blanco y rojo (#E31E24).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: athletic-club
Tags: athletics, running, club, sports, responsive, woocommerce
*/

:root {
    --primary-red: #E31E24;
    --dark-red: #c01820;
    --secondary-blue: #0057B8;
    --secondary-blue-dark: #004499;
    --white: #FFFFFF;
    --light-gray: #f5f5f5;
    --mid-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-color: var(--text-color)555;
    --color-muted: #666666;
    --color-hint: #999999;
    --color-border: #eeeeee;
    --color-border-medium: #dddddd;
    --header-bg: #ffffff;
    --transition-speed: 0.3s;
}

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

body { font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--white); }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

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

/* Section */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary-red); text-transform: uppercase; font-weight: 800; margin-bottom: 15px; }
.section-title .divider { width: 60px; height: 4px; background: var(--primary-red); margin: 0 auto; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.section-header.centered { flex-direction: column; align-items: center; text-align: center; }
.section-subtitle { color: var(--color-muted); font-size: 1.1rem; max-width: 600px; margin: -30px auto 40px; }
.view-all { color: var(--primary-red); font-weight: 600; white-space: nowrap; }
.view-all:hover { text-decoration: underline; }

/* Page Header */
.page-header { background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%); color: var(--white); padding: 60px 0; text-align: center; }
.page-header h1 { font-size: 2.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; }
.page-header .divider { width: 60px; height: 4px; background: var(--white); margin: 0 auto; }

/* Buttons */
.btn { display: inline-block; padding: 15px 35px; background: var(--secondary-blue); color: var(--white); font-weight: 700; text-transform: uppercase; border-radius: 50px; border: 3px solid var(--secondary-blue); }
.btn:hover { background: var(--secondary-blue-dark); border-color: var(--secondary-blue-dark); }
.btn-primary { background: var(--primary-red); color: var(--white); border-color: var(--primary-red); }
.btn-primary:hover { background: var(--dark-red); border-color: var(--dark-red); }
.btn-outline { background: transparent; color: var(--white); border: 3px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary-red); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Breadcrumb */
.breadcrumb { background: var(--light-gray); padding: 15px 0; font-size: 0.9rem; color: var(--color-muted); }
.breadcrumb a { color: var(--primary-red); font-weight: 500; }

/* ============ HEADER ============ */
.site-header { background: var(--header-bg); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.site-header.header-hidden { transform: translateY(-100%); }
body { padding-top: 0; } /* gestionado por JS: updateBodyPadding() */
.header-main-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.site-header .main-nav { display: flex; visibility: visible; opacity: 1; position: relative; }
.site-header .nav-menu { display: flex; visibility: visible; }
.site-header .nav-menu > li { display: inline-block; }
.site-header .nav-menu > li > a { display: inline-block; visibility: visible; }
.header-main { padding: 15px 0; display: block; }
.header-top { background: var(--primary-red); color: var(--white); padding: 10px 0; font-size: 0.85rem; display: block; visibility: visible; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-contact { display: flex; gap: 15px; align-items: center; }
.header-contact a { color: var(--white); opacity: 0.9; }
.header-contact a:hover { opacity: 1; }
.header-social { display: flex; gap: 10px; }
.header-social a { color: var(--white); opacity: 0.9; }
.header-social a:hover { opacity: 1; transform: translateY(-2px); }
.header-main .container { display: flex; justify-content: space-between; align-items: center; }
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { max-height: 60px; width: auto; display: block; }
.site-logo .logo-text { font-size: 1.5rem; font-weight: 800; color: var(--primary-red); text-transform: uppercase; }
.site-logo a { display: block; }
.custom-logo-link { display: block; }
.custom-logo { max-height: 60px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.nav-menu { display: flex; gap: 25px; align-items: center; }
.nav-menu li { position: relative; }
.nav-menu li a { font-weight: 600; color: var(--dark-gray); padding: 8px 0; position: relative; font-size: 0.95rem; }
.nav-menu li a::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 0; height: 2px; background: var(--primary-red); transition: width 0.3s ease; }
.nav-menu li a:hover::after, .nav-menu li.current-menu-item a::after { width: 100%; }
.nav-menu li a:hover { color: var(--primary-red); }
.nav-menu li.menu-item-has-children > a::after { content: '▾'; font-size: 0.7rem; margin-left: 6px; vertical-align: middle; color: var(--primary-red); }

.btn-cta { display: inline-block; padding: 10px 24px; background: var(--white); color: var(--primary-red); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; border-radius: 50px; margin-left: 30px; border: 2px solid var(--primary-red); transition: all 0.3s ease; }
.btn-cta:hover { background: var(--primary-red); color: var(--white); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(227,30,36,0.4); }

/* Submenu */
.nav-menu .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); min-width: 240px; box-shadow: 0 8px 25px rgba(0,0,0,0.12); border-radius: 8px; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.25s ease; z-index: 100; border: 1px solid var(--color-border); }
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu li { position: relative; }
.nav-menu .sub-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; font-size: 0.9rem; font-weight: 500; color: var(--dark-gray); border-bottom: 1px solid #f5f5f5; transition: all 0.2s ease; }
.nav-menu .sub-menu li a::after { display: none; }
.nav-menu .sub-menu li a:hover { background: var(--primary-red); color: var(--white); padding-left: 25px; border-color: var(--primary-red); }
.nav-menu .sub-menu li:last-child a { border-bottom: none; }
.nav-menu .sub-menu .sub-menu { top: -8px; left: 100%; margin-left: 0; }

/* Menu Toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; width: 25px; height: 3px; background: var(--dark-gray); margin: 5px 0; border-radius: 2px; }

/* Mobile Menu */
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu { position: fixed; top: 0; right: -300px; width: 300px; max-width: 85%; height: 100vh; background: var(--white); box-shadow: -5px 0 20px rgba(0,0,0,0.1); transition: right 0.3s ease; z-index: 1000; overflow-y: auto; }
.mobile-menu.active { right: 0; }
.mobile-menu-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark-gray); }
.mobile-menu ul { padding: 60px 20px 20px; }
.mobile-menu ul li a { display: block; padding: 15px 0; font-size: 1.1rem; color: var(--dark-gray); border-bottom: 1px solid var(--color-border); }
.mobile-menu .sub-menu { display: none; padding-left: 20px; background: #f9f9f9; border-radius: 8px; margin: 10px 0; }
.mobile-menu .sub-menu.active { display: block; }
.mobile-menu ul li.menu-item-has-children > a::after { content: '▼'; font-size: 0.7rem; float: right; }
.btn-mobile-cta { margin: 20px; }

/* Header Search */
.header-search { position: relative; display: flex; align-items: center; }
.header-search-form { display: flex; gap: 0; max-width: 220px; }
.header-search-form input { flex: 1; padding: 8px 12px; border: none; border-radius: 50px 0 0 50px; font-size: 0.85rem; min-width: 0; }
.header-search-form input:focus { outline: none; border-color: var(--primary-red); box-shadow: 0 0 0 3px rgba(227,30,36,0.15); }
.header-search-form button { background: var(--primary-red); color: var(--white); border: none; padding: 8px 12px; border-radius: 0 50px 50px 0; cursor: pointer; white-space: nowrap; }
.mobile-search-form { display: flex; padding: 20px; gap: 10px; }
.mobile-search-form input { flex: 1; padding: 12px 15px; border: 1px solid var(--color-border-medium); border-radius: 5px; }
.mobile-search-form button { background: var(--primary-red); color: var(--white); border: none; padding: 12px 15px; border-radius: 5px; cursor: pointer; }

/* Responsive search */
@media (max-width: 768px) {
    .header-search-form { max-width: 160px; }
    .header-search-form input { padding: 6px 10px; font-size: 0.8rem; }
    .header-search-form button { padding: 6px 10px; }
}

@media (max-width: 480px) {
    .header-search-form { max-width: 120px; }
    .header-search-form input { padding: 5px 8px; font-size: 0.75rem; }
    .header-search-form button { padding: 5px 8px; }
    .header-search-form button svg { display: none; }
    .header-search-form button::after { content: "🔍"; }
}

/* Back to Top */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--primary-red); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }

/* ============ HERO ============ */
.hero { min-height: 90vh; background: linear-gradient(135deg, rgba(227,30,36,0.9) 0%, rgba(192,24,32,0.9) 100%), url('https://images.unsplash.com/photo-1552674605-db6ffd4facb5?w=1920') center/cover; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 100px 20px; }
.hero-content { max-width: 800px; }
.hero-content h1,
.hero-content h2 { font-size: 3.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 2px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-tagline { display: inline-block; background: rgba(255,255,255,0.2); padding: 8px 20px; border-radius: 30px; font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; }
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--white); }
.hero-stat-label { font-size: 0.9rem; opacity: 0.9; text-transform: uppercase; }

/* ============ INTERVIEWS ============ */
.interviews-section { background: var(--light-gray); padding: 60px 0; }

/* ============ BLOG ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-grid-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.blog-card-image { height: 220px; overflow: hidden; position: relative; }
.blog-card-image a { display: block; height: 100%; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-category { position: absolute; top: 15px; left: 15px; background: var(--primary-red); color: var(--white); padding: 5px 12px; border-radius: 15px; font-size: 0.75rem; font-weight: 600; }
.blog-card-content { padding: 20px; }
.blog-card-date { font-size: 0.85rem; color: var(--color-hint); display: block; margin-bottom: 8px; }
.blog-card-content h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark-gray); line-height: 1.4; }
.blog-card-content h3 a { color: var(--dark-gray); }
.blog-card-content h3 a:hover { color: var(--primary-red); }
.blog-card-content p { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 15px; line-height: 1.6; }
.read-more { color: var(--primary-red); font-weight: 600; }
.read-more:hover { text-decoration: underline; }
.no-content { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--color-hint); font-size: 1.1rem; }
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.blog-card-image { height: 220px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-category { position: absolute; top: 15px; left: 15px; background: var(--primary-red); color: var(--white); padding: 5px 12px; border-radius: 15px; font-size: 0.75rem; font-weight: 600; }
.blog-card-content { padding: 20px; }
.blog-card-date { font-size: 0.85rem; color: var(--color-hint); display: block; margin-bottom: 8px; }
.blog-card-content h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark-gray); }
.blog-card-content p { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 15px; }
.read-more { color: var(--primary-red); font-weight: 600; }

/* News Grid */
.news-card:hover { transform: translateY(-5px); }
.news-card a { display: block; height: 180px; overflow: hidden; }
.news-card a img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.news-card:hover a img { transform: scale(1.1); }
.news-content { padding: 20px; }
.news-content h3 { font-size: 1.4rem; margin: 15px 0 10px; font-weight: 700; }
.news-content h3 a { color: var(--dark-gray); text-decoration: none; }
.news-content h3 a:hover { color: var(--primary-red); }
.news-content p { color: var(--color-muted); font-size: 0.9rem; }

/* Featured */
.featured-news { background: var(--light-gray); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }

/* Join Banner */
.join-banner { background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%); border-radius: 15px; padding: 50px; text-align: center; color: var(--white); }
.join-banner h2 { font-size: 2rem; margin-bottom: 10px; }
.join-banner .btn { background: var(--white); color: var(--primary-red); margin-top: 20px; }

/* ============ SHOP ============ */
.shop-intro { text-align: center; font-size: 1.1rem; color: var(--color-muted); margin-bottom: 40px; }


.shop-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; background: var(--white); padding: 20px; border-radius: 12px; }
.shop-search { display: flex; align-items: center; background: var(--light-gray); border-radius: 30px; padding: 5px; flex: 1; max-width: 400px; }
.shop-search input { border: none; padding: 12px 20px; font-size: 1rem; background: transparent; width: 100%; flex: 1; }
.shop-search input:focus { outline: none; border-color: var(--primary-red); box-shadow: 0 0 0 3px rgba(227,30,36,0.15); }
.search-btn { background: var(--primary-red); color: var(--white); border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shop-categories { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 15px; width: 100%; }
.category-btn, .filter-btn { padding: 10px 24px; border: 2px solid #e0e0e0; background: var(--white); border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--dark-gray); transition: all 0.3s ease; }
.category-btn:hover, .category-btn.active, .filter-btn:hover, .filter-btn.active { color: var(--white); border-color: var(--primary-red); background: var(--primary-red); transform: translateY(-2px); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; width: 100%; margin: 0 auto; }
.woocommerce ul.products::before { display: none; }

.product-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; position: relative; display: flex; flex-direction: column; min-height: 380px; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); }
.product-image { position: relative; height: 220px; overflow: hidden; display: block; background: var(--light-gray); }
.product-image a { display: block; height: 100%; width: 100%; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; opacity: 0; transition: all 0.3s ease; }
.product-card:hover .product-overlay { opacity: 1; }
.product-badge { position: absolute; top: 15px; left: 15px; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; background: #ff9800; color: var(--white); z-index: 2; }
.product-badge.new { background: #4caf50; }
.quick-view-btn { padding: 12px 30px; background: var(--white); color: var(--dark-gray); border: none; border-radius: 25px; font-weight: 600; cursor: pointer; }
.product-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-category { font-size: 0.75rem; color: var(--primary-red); text-transform: uppercase; font-weight: 600; display: block; margin-bottom: 5px; }
.product-info h3 { font-size: 1rem; margin: 8px 0; color: var(--dark-gray); line-height: 1.4; }
.product-info h3 a { color: var(--dark-gray); display: block; }
.product-info h3 a:hover { color: var(--primary-red); }
.product-desc { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 10px; line-height: 1.5; }
.product-price { padding-top: 10px; border-top: 1px solid var(--color-border); }
.product-price .price { font-size: 1.3rem; font-weight: 700; color: var(--primary-red); display: block; }
.product-price del .amount { color: var(--color-hint); font-size: 0.9rem; margin-right: 5px; }
.product-price ins .amount { color: var(--primary-red); text-decoration: none; }
.btn-add-cart { width: 100%; padding: 12px; background: var(--dark-gray); color: var(--white); border: none; border-radius: 8px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; margin-top: 10px; font-size: 0.9rem; }
.btn-add-cart:hover { background: var(--primary-red); color: var(--white); }
.btn-add-cart.added { display: none; }
.product-share { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.share-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 50%; color: var(--dark-gray); transition: all 0.3s ease; text-decoration: none; }
.shop-notice { display: flex; justify-content: center; gap: 40px; margin-top: 40px; padding: 25px; background: var(--white); border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); flex-wrap: wrap; }
.shop-notice > div { display: flex; align-items: center; gap: 10px; }
.shop-notice .notice-icon { font-size: 1.8rem; }
.shop-notice .notice-content h4 { font-size: 0.95rem; color: var(--dark-gray); margin-bottom: 5px; }
.shop-notice .notice-content p { font-size: 0.85rem; color: var(--color-muted); }

/* WooCommerce overrides */
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce-message { border-top-color: var(--primary-red); }
.woocommerce-error { border-top-color: #ef4444; }
.woocommerce-info { border-top-color: #3b82f6; }

/* ============ EVENTS ============ */
.events-list .event-item { display: grid; grid-template-columns: 100px 1fr auto auto; align-items: center; gap: 20px; padding: 20px; margin-bottom: 10px; background: var(--white)fff; border: 1px solid #e8e8e8; border-left: 4px solid var(--primary-red); border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s ease; }
.events-list .event-item:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); border-color: var(--primary-red); }
.event-date-col { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--primary-red); color: var(--white); padding: 15px; border-radius: 8px; min-width: 80px; }
.event-weekday { font-size: 0.75rem; text-transform: uppercase; opacity: 0.9; }
.event-day-num { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.event-title { font-size: 1.1rem; margin: 0 0 5px 0; color: var(--dark-gray); }
.event-title a:hover { color: var(--primary-red); }
.event-info-col .event-location { font-size: 0.9rem; color: var(--color-muted); margin: 0; }
.event-details-col { display: flex; gap: 10px; align-items: center; }
.event-type { padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; background: var(--primary-red); color: white; }
.event-action-col .btn-small { padding: 8px 16px; font-size: 0.85rem; background: #333; color: #fff; border-radius: 5px; }
.event-action-col .btn-small:hover { background: #000; }
.events-month-group { margin-bottom: 40px; }
.month-header { font-size: 1.4rem; color: var(--primary-red); padding: 10px 0; border-bottom: 2px solid #eee; margin-bottom: 20px; }

/* ============ TEAM ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.team-card:hover { transform: translateY(-5px); }
.team-card-image { height: 280px; overflow: hidden; }
.team-card-image img { width: 100%; height: 100%; object-fit: cover; }
.team-card-content { padding: 20px; text-align: center; }
.team-card-content h3 { font-size: 1.2rem; color: var(--dark-gray); margin-bottom: 5px; }
.team-card-content .role { color: var(--primary-red); font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 10px; }

/* Testimonials */
.testimonials-section { background: var(--light-gray); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: var(--white); border-radius: 12px; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.testimonial-card .quote { font-size: 1.05rem; line-height: 1.7; color: var(--dark-gray); font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h2 { font-size: 1.8rem; color: var(--dark-gray); margin-bottom: 15px; }
.contact-info > p { color: var(--color-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 30px; }
.contact-details { display: flex; flex-direction: column; gap: 25px; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; }
.contact-icon { font-size: 1.8rem; }
.contact-item h4 { font-size: 1rem; color: var(--dark-gray); margin-bottom: 5px; }
.contact-item p { color: var(--color-muted); font-size: 0.95rem; margin: 0; }
.contact-item a { color: var(--primary-red); font-weight: 500; }
.contact-form-wrapper { background: var(--white); border-radius: 12px; padding: 35px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.contact-form-wrapper h3 { font-size: 1.5rem; color: var(--dark-gray); margin-bottom: 25px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--dark-gray); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 1rem; background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-red); box-shadow: 0 0 0 3px rgba(227,30,36,0.15); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { background: #d4edda; color: #155724; padding: 15px 20px; border-radius: 8px; margin-bottom: 20px; }
.form-error { background: #f8d7da; color: #721c24; padding: 15px 20px; border-radius: 8px; margin-bottom: 20px; }
.map-section { background: var(--light-gray); }
.map-placeholder { background: var(--white); border-radius: 12px; padding: 60px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }

/* ============ LOCATION ============ */
.location-section { background: var(--white); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.location-map { height: 450px; }
.location-map iframe { width: 100%; height: 100%; border: 0; }
.location-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.location-info h3 { font-size: 1.8rem; color: var(--primary-red); margin-bottom: 25px; }
.location-info p { font-size: 1.05rem; color: var(--dark-gray); margin-bottom: 15px; }
.location-info .btn { margin-top: 20px; align-self: flex-start; }

/* ============ CTA ============ */
.cta-section { background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%); padding: 80px 0; text-align: center; }
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: 2.5rem; color: var(--white); margin-bottom: 15px; text-transform: uppercase; font-weight: 800; }
.cta-content p { font-size: 1.2rem; color: rgba(255,255,255,0.95); margin-bottom: 30px; }
.cta-buttons { display: flex; gap: 20px; justify-content: center; }
.cta-buttons .btn { border: 3px solid var(--white); }
.cta-buttons .btn:hover { background: var(--white); color: var(--primary-red); }

/* Post Header */
.post-header { background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%); color: var(--white); padding: 60px 0 40px; text-align: center; }
.post-header-content { max-width: 900px; margin: 0 auto; }
.post-header h1 { font-size: 2.2rem; font-weight: 800; margin: 15px 0 25px; line-height: 1.2; }
.post-meta-top { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-size: 0.95rem; opacity: 0.95; }
.post-meta-top span { display: inline-flex; align-items: center; gap: 6px; }
.post-category { background: var(--white); color: var(--primary-red); padding: 4px 12px; border-radius: 20px; font-weight: 600; font-size: 0.85rem; }
.post-date::before { content: "📅 "; }
.read-time::before { content: "⏱️ "; }

/* Featured Image - Post */
.post-featured-image { padding: 40px 0 0; background: var(--white); }
.featured-img-wrapper { max-width: 700px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.featured-img-wrapper img { width: 100%; height: auto; display: block; }

/* Post Layout */
.post-layout { display: flex; gap: 40px; }
.post-main { flex: 1; min-width: 0; }

/* Post Sponsors */
.post-sponsors { background: var(--white); padding: 60px 0; }
.post-sponsors .section-header { text-align: center; margin-bottom: 40px; }
.post-sponsors .section-title h2 { font-size: 2rem; }
.post-sponsors-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; align-items: center; }
.post-sponsor-item { flex: 0 0 auto; max-width: 200px; }
.post-sponsor-item img { max-width: 100%; height: auto; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s ease; }
.post-sponsor-item:hover img { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.post-sponsor-item a { display: block; }

/* Sponsors Section - Front Page */
.sponsors-section { background: var(--white); padding: 50px 0; border-top: 1px solid var(--color-border); }

/* Post Content */
.post-content-section { padding: 60px 0; background: var(--white); }
.post-content-section .container { max-width: 900px; margin: 0 auto; }
.post-body { font-size: 1.1rem; line-height: 1.8; color: var(--dark-gray); }
.post-body p { margin-bottom: 25px; }
.post-body h2, .post-body h3, .post-body h4 { color: var(--dark-gray); margin: 40px 0 20px; font-weight: 700; }
.post-body h2 { font-size: 1.8rem; }
.post-body h3 { font-size: 1.5rem; }
.post-body h4 { font-size: 1.2rem; }
.post-body a { color: var(--primary-red); text-decoration: underline; }
.post-body a:hover { color: var(--dark-red); }
.post-body img { border-radius: 8px; margin: 20px 0; max-width: 100%; height: auto; }
.post-body ul, .post-body ol { margin: 20px 0 20px 30px; }
.post-body li { margin-bottom: 10px; }
.post-body blockquote { border-left: 4px solid var(--primary-red); padding-left: 20px; margin: 30px 0; font-style: italic; color: var(--color-muted); }
.post-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.post-body table th, .post-body table td { padding: 12px; border: 1px solid var(--color-border-medium); text-align: left; }
.post-body table th { background: var(--light-gray); font-weight: 600; }

.post-header-simple { background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%); color: var(--white); padding: 50px 0; text-align: center; }
.post-header-simple h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; }
.post-header-simple .post-meta { font-size: 0.95rem; opacity: 0.9; }
.post-header-simple .post-meta a { color: var(--white); }

/* Post Tags */
.post-tags { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.post-tags span { font-weight: 600; margin-right: 10px; }
.post-tags a { display: inline-block; padding: 5px 15px; background: var(--light-gray); border-radius: 20px; margin: 0 5px 5px 0; font-size: 0.9rem; color: var(--dark-gray); }
.post-tags a:hover { background: var(--primary-red); color: var(--white); }

/* Post Share */
.post-share { margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--color-border); display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.post-share .share-label { font-weight: 600; margin-right: 10px; }
.post-share .share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.post-share .share-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--light-gray); color: var(--dark-gray); transition: all 0.3s ease; text-decoration: none; }
.post-share .share-btn:hover { background: var(--primary-red); color: var(--white); transform: translateY(-3px); }
.post-share .share-btn.copy, 
.post-share .share-btn.print { background: var(--light-gray); color: var(--dark-gray); border: none; cursor: pointer; }
.post-share .share-btn.copy:hover, 
.post-share .share-btn.print:hover { background: var(--primary-red); color: var(--white); }

/* Post Navigation */
.post-navigation { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.post-navigation a { display: flex; flex-direction: column; max-width: 45%; }
.post-navigation a span { font-size: 0.85rem; color: var(--color-hint); margin-bottom: 5px; }
.post-navigation a strong { font-size: 1.1rem; color: var(--primary-red); }

/* Product Detail */

/* Product Detail Sidebar - use same shop-cart-widget styles */

/* Hide default WooCommerce sidebar widgets */
.woocommerce .widget-area, .woocommerce .sidebar, .woocommerce-page .widget-area, 
.woocommerce #secondary, .woocommerce-page #secondary { display: none !important; }

/* Responsive for product detail */
@media (max-width: 768px) {
}

/* Page Content */
.page-content-section { padding: 60px 0; background: var(--white); min-height: 70vh; }
.page-body { font-size: 1.1rem; line-height: 1.8; color: var(--dark-gray); max-width: 900px; margin: 0 auto; width: 100%; }
.page-body p { margin-bottom: 25px; }
.page-body h1, .page-body h2, .page-body h3, .page-body h4 { color: var(--dark-gray); margin: 40px 0 20px; font-weight: 700; }
.page-body h1 { font-size: 2.2rem; }
.page-body h2 { font-size: 1.8rem; }
.page-body h3 { font-size: 1.5rem; }
.page-body h4 { font-size: 1.2rem; }
.page-body a { color: var(--primary-red); }
.page-body a:hover { color: var(--dark-red); }
.page-body img { border-radius: 8px; margin: 20px 0; max-width: 100%; height: auto; }
.page-body ul, .page-body ol { margin: 20px 0 20px 30px; }
.page-body li { margin-bottom: 10px; }
.page-body blockquote { border-left: 4px solid var(--primary-red); padding-left: 20px; margin: 30px 0; font-style: italic; color: var(--color-muted); }
.page-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.page-body table th, .page-body table td { padding: 12px; border: 1px solid var(--color-border-medium); }
.page-body table th { background: var(--light-gray); }
.page-body .alignleft { float: left; margin-right: 20px; }
.page-body .alignright { float: right; margin-left: 20px; }
.page-body .aligncenter { margin: 0 auto; display: block; }
.page-body .wp-block-image { margin: 30px 0; }
.page-body .wp-block-button { margin: 20px 0; }
.page-body .wp-block-button a { display: inline-block; padding: 12px 24px; background: var(--primary-red); color: var(--white); border-radius: 5px; text-decoration: none; }
.page-body .wp-block-button a:hover { background: var(--dark-red); }

/* ============ FOOTER ============ */
.site-footer { background: #1a1a1a; color: #ccc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.site-footer .footer-widget { padding: 0; }
.site-footer .footer-widget h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.site-footer .footer-widget h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--primary-red); }
.site-footer .footer-widget ul { list-style: none; padding: 0; }
.site-footer .footer-widget ul li { margin-bottom: 12px; }
.site-footer .footer-widget ul li a { color: #aaa; transition: color 0.3s; }
.site-footer .footer-widget ul li a:hover { color: var(--primary-red); }
.site-footer .social-links { display: flex; gap: 15px; margin-top: 15px; }
.site-footer .social-links a { color: #aaa; transition: color 0.3s; }
.site-footer .social-links a:hover { color: var(--primary-red); }
.site-footer .footer-bottom { background: #111; padding: 25px 0; text-align: center; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #333; }
.site-footer .footer-bottom p { margin: 0; font-size: 0.9rem; color: #888; }

/* ============ 404 ============ */
.error-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; }
.error-content h1 { font-size: 8rem; font-weight: 800; color: var(--primary-red); line-height: 1; margin-bottom: 20px; }
.error-content h2 { font-size: 2rem; margin-bottom: 15px; color: var(--dark-gray); }
.error-content p { font-size: 1.1rem; color: var(--color-muted); margin-bottom: 30px; }
.error-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.error-search { max-width: 500px; margin: 0 auto 40px; }
.search-form { display: flex; background: var(--white); border-radius: 50px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.search-form input { flex: 1; padding: 15px 25px; border: none; font-size: 1rem; }
.search-form input:focus { outline: none; border-color: var(--primary-red); box-shadow: 0 0 0 3px rgba(227,30,36,0.15); }
.search-form button { background: var(--primary-red); color: var(--white); border: none; padding: 15px 25px; cursor: pointer; border-radius: 0 50px 50px 0; }
.error-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; max-width: 800px; margin: 0 auto 40px; }
.error-link-card { display: flex; flex-direction: column; align-items: center; padding: 25px 15px; background: var(--white); border-radius: 12px; box-shadow: 0 3px 15px rgba(0,0,0,0.08); }
.error-link-card:hover { transform: translateY(-5px); }
.error-link-card .link-icon { font-size: 2rem; margin-bottom: 10px; }
.error-link-card .link-text { font-weight: 600; color: var(--dark-gray); }

/* Pagination */
.blog-pagination { text-align: center; margin-top: 40px; }
.blog-pagination a, .blog-pagination span { display: inline-block; padding: 8px 15px; margin: 0 3px; background: var(--white); border-radius: 5px; color: var(--dark-gray); }
.blog-pagination a:hover, .blog-pagination span.current { background: var(--primary-red); color: var(--white); }

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .site-header .main-nav { display: none !important; opacity: 0 !important; visibility: hidden !important; }
    .desktop-search { display: none !important; }
    .menu-toggle { 
        display: block !important; 
        position: absolute !important; 
        right: 20px !important; 
        top: 50% !important; 
        transform: translateY(-50%) !important; 
        z-index: 1001 !important;
        background: var(--white);
        border: 1px solid var(--color-border-medium);
        border-radius: 5px;
        padding: 12px !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .menu-toggle span { display: block; width: 25px; height: 3px; background: var(--dark-gray); margin: 5px 0; border-radius: 2px; transition: all 0.3s ease; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    .header-main { position: relative; padding: 15px 50px 15px 0 !important; }
    .site-logo { position: relative; z-index: 1; }
}

/* Mobile Menu Styles */
.mobile-menu { position: fixed; top: 0; right: -320px; width: 320px; max-width: 90%; height: 100vh; background: var(--white); box-shadow: -5px 0 30px rgba(0,0,0,0.2); z-index: 1002; overflow-y: auto; padding: 60px 20px 20px; transition: right 0.3s ease; }
.mobile-menu.active { right: 0; }
.mobile-menu-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark-gray); }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1000; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
    .footer-widgets { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .school-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .location-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .section { padding: 40px 0; }
    .page-header { padding: 35px 0; }
    .page-header h1 { font-size: 1.4rem; }
    
    .header-top-content { flex-direction: column; gap: 8px; text-align: center; }
    .desktop-search { display: none !important; }
    .hero { min-height: 60vh; padding: 60px 15px; }
    .hero-content h1,
    .hero-content h2 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    
    .section-title h2 { font-size: 1.5rem; }
    .section-header { flex-direction: column; align-items: center; }
    
    .blog-grid, .news-grid, .products-grid, .school-grid, .team-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .shop-controls { flex-direction: column; align-items: stretch; }
    .shop-search { width: 100%; }
    .shop-search input { width: 100%; }
    .footer-widgets { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    
    .events-list .event-item { grid-template-columns: 70px 1fr; }
    .event-details-col { grid-column: 1 / -1; }
    
    .error-content h1 { font-size: 4rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
    .site-logo img { max-height: 45px; }
    .header-main { padding: 10px 0; }
    .hero-content h1,
    .hero-content h2 { font-size: 1.5rem; }
    .hero-stats { gap: 20px; }
    .hero-stat-number { font-size: 1.5rem; }
    .join-banner { padding: 30px 20px; }
    .join-banner h2 { font-size: 1.5rem; }
}

/* ============ WOOCOMMERCE FIXES ============ */
.woocommerce .widget-area, 
.woocommerce-page .widget-area,
.widget_pages,
.woocommerce .sidebar,
.woocommerce-page .sidebar,
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .variations,
.woocommerce .woocommerce-MyAccount-navigation { display: none !important; }

.woocommerce .shop-notice { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; margin-top: 40px; padding: 30px; background: #f8f8f8; border-radius: 12px; }
.woocommerce .shop-notice .notice-icon { font-size: 2rem; }
.woocommerce .shop-notice .notice-content { flex: 1; min-width: 250px; }
.woocommerce .shop-notice .notice-content h4 { font-size: 1rem; margin-bottom: 5px; color: var(--primary-red); }
.woocommerce .shop-notice .notice-content p { font-size: 0.9rem; color: var(--dark-gray); margin: 0; }

/* Floating Cart Widget */
/* Header Cart Widget */
.header-cart-widget { display: flex; align-items: center; margin-left: 20px; position: relative; z-index: 1001; }
.header-cart-link { display: flex; align-items: center; gap: 8px; padding: 10px 15px; background: var(--primary-red); color: var(--white); border-radius: 50px; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: all 0.3s ease; }
.header-cart-link:hover { background: var(--dark-red); transform: translateY(-2px); }
.header-cart-link svg { width: 20px; height: 20px; }
.header-cart-count { background: var(--white); color: var(--primary-red); border-radius: 50%; min-width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; }
.header-cart-dropdown { position: absolute; top: 100%; right: 0; margin-top: 15px; background: var(--white); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); min-width: 320px; padding: 20px; display: none; border: 1px solid var(--color-border); }
.header-cart-widget:hover .header-cart-dropdown { display: block; }
.header-cart-dropdown h4 { font-size: 1rem; margin-bottom: 15px; color: var(--dark-gray); border-bottom: 1px solid var(--color-border); padding-bottom: 10px; }
.header-cart-dropdown .cart-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.header-cart-dropdown .cart-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 5px; }
.header-cart-dropdown .cart-item-info { flex: 1; }
.header-cart-dropdown .cart-item-title { font-size: 0.9rem; font-weight: 600; color: var(--dark-gray); margin-bottom: 3px; }
.header-cart-dropdown .cart-item-price { font-size: 0.85rem; color: var(--primary-red); }
.header-cart-dropdown .cart-total { display: flex; justify-content: space-between; padding: 15px 0 0; margin-top: 10px; border-top: 2px solid #eee; font-weight: 700; font-size: 1.1rem; }
.header-cart-dropdown .cart-footer-links { display: flex; gap: 10px; margin-top: 15px; }
.header-cart-dropdown .cart-footer-links a { flex: 1; text-align: center; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.header-cart-dropdown .view-cart-btn { background: var(--primary-red); color: var(--white); }
.header-cart-dropdown .checkout-btn { background: var(--dark-gray); color: var(--white); }

/* Footer Cart - Hidden */
.footer-cart-widget, .floating-cart-widget { display: none !important; }
.floating-cart-widget:hover .cart-dropdown { display: block; }
.cart-dropdown h4 { font-size: 1rem; margin-bottom: 15px; color: var(--dark-gray); border-bottom: 1px solid var(--color-border); padding-bottom: 10px; }
.cart-dropdown .cart-items { max-height: 250px; overflow-y: auto; }
.cart-dropdown .cart-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.cart-dropdown .cart-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 5px; }
.cart-dropdown .cart-item-info { flex: 1; }
.cart-dropdown .cart-item-title { font-size: 0.9rem; font-weight: 600; color: var(--dark-gray); margin-bottom: 3px; }
.cart-dropdown .cart-item-price { font-size: 0.85rem; color: var(--primary-red); }
.cart-dropdown .cart-total { display: flex; justify-content: space-between; padding: 15px 0 0; margin-top: 10px; border-top: 2px solid #eee; font-weight: 700; font-size: 1.1rem; }
.cart-dropdown .cart-footer-links { display: flex; gap: 10px; margin-top: 15px; }
.cart-dropdown .cart-footer-links a { flex: 1; text-align: center; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; }
.cart-dropdown .view-cart-btn { background: var(--primary-red); color: var(--white); }
.cart-dropdown .checkout-btn { background: var(--dark-gray); color: var(--white); }

/* Product page fixes */
.woocommerce div.product { position: relative; }
.woocommerce div.product .product_meta { display: none; }
.woocommerce .woocommerce-tabs { display: block !important; }
.woocommerce #reviews #comments { display: block !important; }
.woocommerce .upsells, .woocommerce .related { display: none !important; }

/* ===========================================
   ENTREVISTAS — GRID MODERNO CON OVERLAY
   =========================================== */
.interviews-section { background: var(--light-gray); padding: 60px 0; }

.interviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.interview-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    background: #111;
}

.interview-card a {
    display: block;
    height: 100%;
    text-decoration: none;
}

.interview-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.interview-card:hover .interview-card-img {
    transform: scale(1.07);
}

.interview-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 20px;
}

.interview-card-tag {
    display: inline-block;
    background: var(--primary-red);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.interview-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.interview-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.interview-card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.interview-card:hover .interview-card-link {
    opacity: 1;
    transform: translateY(0);
}

.interview-card:hover .interview-card-link::after {
    transform: translateX(4px);
}

/* Tablet: 2 columnas, última ocupa toda la fila */
@media (max-width: 991px) and (min-width: 601px) {
    .interviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .interview-card:last-child:nth-child(odd) {
        grid-column: span 2;
        aspect-ratio: 16/7;
    }
    .interview-card-link { opacity: 1; transform: none; }
}

/* Móvil: 1 columna */
@media (max-width: 600px) {
    .interviews-grid { grid-template-columns: 1fr; gap: 14px; }
    .interview-card { aspect-ratio: 16/10; }
    .interview-card-link { opacity: 1; transform: none; }
}

/* ===========================================
   PATROCINADORES — MARQUEE CSS INFINITO
   =========================================== */
.sponsors-section { padding: 50px 0; background: var(--white); }




@keyframes sponsors-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}





/* ===========================================
   TIENDA — BARRA DE VENTAJAS
   =========================================== */
.shop-features-bar {
    display: flex;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    overflow: hidden;
    margin-bottom: 36px;
}

.shop-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    flex: 1;
    border-right: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.shop-feature:last-child { border-right: none; }
.shop-feature:hover { background: #fafafa; }

.shop-feature-icon { font-size: 1.7rem; flex-shrink: 0; }

.shop-feature-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 2px;
}

.shop-feature-text span {
    font-size: 0.76rem;
    color: var(--color-hint);
}

/* Tarjeta de producto mejorada */
.product-card .product-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-red);
    margin-bottom: 4px;
    display: block;
}

.quick-view-btn {
    background: rgba(255,255,255,0.95);
    color: var(--dark-gray) !important;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-view-btn:hover {
    background: var(--primary-red) !important;
    color: #fff !important;
}

/* Botón "Añadir al carrito" mejorado */
.btn-add-cart {
    transition: all 0.25s ease;
}

/* Responsive tienda */
@media (max-width: 768px) {
    .shop-features-bar {
        flex-direction: column;
        border-radius: 12px;
    }
    .shop-feature {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 14px 18px;
    }
    .shop-feature:last-child { border-bottom: none; }
}

/* ===========================================
   TIENDA & PRODUCTO — DISEÑO MODERNO
   =========================================== */

/* Cabecera de tienda */
.shop-page-header { background: linear-gradient(135deg, var(--primary-red) 0%, #b91219 100%); color: #fff; padding: 50px 0 40px; }
.shop-page-header h1 { color: #fff; font-size: 2.4rem; margin-bottom: 8px; }
.shop-header-sub { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin: 0; }
.shop-page-header .divider { background: rgba(255,255,255,0.4); margin-top: 20px; }

/* Controles mejorados */
.shop-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
    background: var(--white);
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.shop-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-gray);
    border-radius: 30px;
    padding: 10px 18px;
    flex: 1;
    min-width: 200px;
    max-width: 320px;
}
.shop-search svg { color: #aaa; flex-shrink: 0; }
.shop-search input {
    border: none;
    background: transparent;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    color: var(--dark-gray);
}

.shop-filters { display: flex; gap: 8px; flex-wrap: wrap; }

.shop-sort select {
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 0.88rem;
    color: var(--dark-gray);
    background: var(--white);
    cursor: pointer;
    outline: none;
}

/* Tarjetas de producto mejoradas */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.product-card .product-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #f8f8f8;
}
.product-card .product-image a { display: block; height: 100%; }
.product-card .product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }

.product-card .product-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-card:hover .product-overlay { opacity: 1; }

.overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}
.overlay-view  { background: var(--white); color: var(--dark-gray); }
.overlay-view:hover { background: var(--primary-red); color: #fff; }
.overlay-cart  { background: var(--primary-red); color: #fff; }
.overlay-cart:hover { background: #c01118; color: #fff; }

.product-card .product-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-badge.sale    { background: var(--primary-red); color: #fff; }
.product-badge.new     { background: #22c55e; color: #fff; }
.product-badge.soldout { background: #64748b; color: #fff; top: auto; bottom: 12px; left: 12px; }

.product-card .product-info {
    padding: 18px 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-card .product-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-red);
}
.product-card .product-info h3 {
    font-size: 0.97rem;
    margin: 0;
    line-height: 1.4;
    flex-grow: 1;
}
.product-card .product-info h3 a { color: var(--dark-gray); text-decoration: none; }
.product-card .product-info h3 a:hover { color: var(--primary-red); }

.product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.product-price-row .product-price .price { font-size: 1.2rem; font-weight: 700; color: var(--primary-red); }
.product-price-row .product-price del .amount { color: #aaa; font-size: 0.85rem; }
.product-no-stock { font-size: 0.75rem; color: #aaa; background: var(--light-gray); padding: 3px 8px; border-radius: 4px; }

.product-card .btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 11px;
    margin-top: 8px;
    background: var(--dark-gray);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}
.product-card .btn-add-cart:hover { background: var(--primary-red); color: #fff; }
.product-card .btn-notify { background: transparent; color: var(--dark-gray); border: 1.5px solid #ddd; }
.product-card .btn-notify:hover { background: var(--dark-gray); color: #fff; border-color: var(--dark-gray); }

/* Sin productos */
.no-products-found {
    text-align: center;
    padding: 80px 20px;
    color: #bbb;
}
.no-products-found p { font-size: 1.1rem; margin: 12px 0 0; }

/* ===========================================
   PÁGINA DE PRODUCTO INDIVIDUAL
   =========================================== */

/* Breadcrumb */
.product-breadcrumb {
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
    padding: 14px 0;
}
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}
.breadcrumb-nav a { color: #888; text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--primary-red); }
.breadcrumb-nav span { color: #ccc; }
.breadcrumb-nav .current { color: var(--dark-gray); font-weight: 600; }

/* Layout 2 columnas */
.product-page-section { background: var(--light-gray); padding: 50px 0; }

.product-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

/* Columna izquierda: galería */
.product-gallery-col { position: sticky; top: 100px; }

.product-main-image {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-main-image img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}
.product-main-image:hover img { transform: scale(1.03); }

.product-badge-sale {
    position: absolute; top: 16px; left: 16px;
    background: var(--primary-red); color: #fff;
    font-size: 0.85rem; font-weight: 700;
    padding: 6px 14px; border-radius: 20px;
    z-index: 2;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.product-thumb {
    width: 72px; height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
    background: var(--white);
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb:hover, .product-thumb.active { border-color: var(--primary-red); }

/* Columna derecha: info */
.product-info-col {
    background: var(--white);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.product-category-badge {
    display: inline-block;
    background: var(--white)0f0;
    color: var(--primary-red);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.product-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1.25;
    margin: 0 0 20px;
}

.product-price-block {
    margin-bottom: 16px;
}
.product-price-block .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
}
.product-price-block del .amount { color: #bbb; font-size: 1.1rem; margin-right: 8px; }
.product-price-block ins { text-decoration: none; }
.product-price-block ins .amount { color: var(--primary-red); }

.product-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.product-stock-badge.in-stock  { background: #f0fdf4; color: #16a34a; }
.product-stock-badge.out-of-stock { background: var(--light-gray); color: #888; }

.product-short-desc {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

/* Atributos (tallas, colores) */
.product-attribute-group { margin-bottom: 20px; }
.attribute-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.size-options, .color-options { display: flex; gap: 8px; flex-wrap: wrap; }

.attr-option {
    min-width: 44px; height: 44px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    background: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 0 12px;
    transition: all 0.2s ease;
}
.attr-option:hover { border-color: var(--primary-red); color: var(--primary-red); }
.attr-option.selected {
    border-color: var(--primary-red);
    background: var(--primary-red);
    color: #fff;
}

/* Cantidad + carrito */
.product-cart-row {
    display: flex;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 24px;
}

.product-qty {
    display: flex;
    align-items: stretch;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}
.qty-btn {
    background: var(--light-gray);
    border: none;
    width: 42px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--dark-gray);
    transition: background 0.2s;
}
.qty-btn:hover { background: var(--primary-red); color: #fff; }
.qty-input {
    width: 52px;
    border: none;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    outline: none;
    color: var(--dark-gray);
}

.btn-atc {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-red);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    padding: 0 28px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    min-height: 52px;
}
.btn-atc:hover { background: #c01118; color: #fff; transform: translateY(-1px); }
.btn-atc-disabled { background: #e5e5e5; color: #aaa; cursor: not-allowed; }
.btn-atc-disabled:hover { background: #e5e5e5; transform: none; }

/* Garantías */
.product-guarantees {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
    margin-bottom: 24px;
}
.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-color);
}
.guarantee-item svg { color: var(--primary-red); flex-shrink: 0; }

/* Compartir */
.product-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.85; }
.share-fb { background: #1877f2; }
.share-wa { background: #25d366; }
.share-tw { background: #000; }
.share-em { background: #888; }

/* Descripción completa */
.product-full-desc {
    background: var(--white);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 32px;
}
.product-desc-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
}
.product-desc-body { line-height: 1.8; color: var(--text-color); font-size: 0.95rem; }
.product-desc-body p { margin-bottom: 12px; }
.product-desc-body ul { padding-left: 20px; }
.product-desc-body li { margin-bottom: 6px; }

/* Volver */
.product-back-link { margin-bottom: 20px; }
.product-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}
.product-back-link a:hover { color: var(--primary-red); }

/* Responsive tienda + producto */
@media (max-width: 900px) {
    .product-page-grid { grid-template-columns: 1fr; gap: 24px; }
    .product-gallery-col { position: static; }
    .product-main-image { aspect-ratio: 4/3; }
    .product-title { font-size: 1.5rem; }
    .btn-atc { min-height: 46px; font-size: 0.95rem; }
}
@media (max-width: 600px) {
    .product-info-col { padding: 22px 18px; }
    .product-cart-row { flex-direction: column; }
    .btn-atc { padding: 14px; }
    .shop-controls { flex-direction: column; align-items: stretch; }
    .shop-search { max-width: 100%; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-card .product-image { height: 160px; }
}
@media (max-width: 400px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* ===========================================
   PWA — BANNER DE INSTALACIÓN
   =========================================== */

#pwa-install-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99999;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0 0 env(safe-area-inset-bottom, 0);
}

#pwa-install-banner.pwa-banner-visible {
  transform: translateY(0);
}

.pwa-banner-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-top: 3px solid var(--primary-red);
  padding: 16px 20px;
  box-shadow: 0 -6px 30px rgba(0,0,0,0.15);
}

.pwa-banner-logo img {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.pwa-banner-text {
  flex: 1;
  min-width: 0;
}
.pwa-banner-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 3px;
}
.pwa-banner-text span {
  font-size: 0.8rem;
  color: #888;
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pwa-btn-install {
  background: var(--primary-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}
.pwa-btn-install:hover {
  background: #c01118;
  transform: translateY(-1px);
}
.pwa-btn-install:active {
  transform: translateY(0);
}

.pwa-btn-dismiss {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #bbb;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  transition: color 0.2s;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.pwa-btn-dismiss:hover {
  color: var(--text-color);
  background: var(--light-gray);
}

/* ── Guía iOS ───────────────────────────────── */
#pwa-ios-guide {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
  pointer-events: none;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
#pwa-ios-guide.pwa-ios-visible {
  background: rgba(0,0,0,0.5);
  pointer-events: all;
}

.pwa-ios-inner {
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 28px 28px 36px;
  width: 100%;
  max-width: 480px;
  text-align: center;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.2);
}
#pwa-ios-guide.pwa-ios-visible .pwa-ios-inner {
  transform: translateY(0);
}

.pwa-ios-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--light-gray);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1rem;
  color: #888;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.pwa-ios-close:hover { background: #e5e5e5; }

.pwa-ios-logo {
  width: 72px; height: 72px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: block;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.pwa-ios-inner h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.pwa-ios-inner p {
  font-size: 0.9rem;
  color: #888;
  margin: 0 0 20px;
}

.pwa-ios-inner ol {
  text-align: left;
  list-style: none;
  padding: 0;
  counter-reset: ios-steps;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pwa-ios-inner ol li {
  counter-increment: ios-steps;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: #444;
  background: #fafafa;
  border-radius: 10px;
  padding: 12px 16px;
}
.pwa-ios-inner ol li::before {
  content: counter(ios-steps);
  background: var(--primary-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.pwa-ios-icon {
  background: #e5e5e5;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 1rem;
  margin-left: 2px;
}

/* Ajuste cuando el banner está abierto no suba el contenido */
body.pwa-banner-open {
  padding-bottom: 90px;
}

/* ===========================================
   NOTICIAS — layout periódico (1 grande + 3 pequeñas)
   =========================================== */
.news-newspaper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

/* Noticia grande */
.news-big {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s ease;
}
.news-big:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.12); }

.news-big-img-wrap {
    display: block;
    position: relative;
    height: 320px;
    overflow: hidden;
    text-decoration: none;
}
.news-big-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-big:hover .news-big-img-wrap img { transform: scale(1.04); }

.news-no-img {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.news-big-category {
    position: absolute;
    bottom: 14px; left: 14px;
    background: var(--primary-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
}

.news-big-body { padding: 24px 26px 26px; }

.news-big-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 6px 0 12px;
}
.news-big-title a { color: var(--dark-gray); text-decoration: none; }
.news-big-title a:hover { color: var(--primary-red); }

.news-big-excerpt {
    font-size: 0.93rem;
    color: var(--color-muted);
    line-height: 1.65;
    margin: 0 0 18px;
}

.news-readmore {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    transition: gap 0.2s;
}
.news-readmore:hover { gap: 8px; }

/* Columna de 3 noticias pequeñas */
.news-small-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-small {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
    padding: 12px;
}
.news-small:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

.news-small-img {
    display: block;
    flex-shrink: 0;
    width: 88px; height: 80px;
    border-radius: 8px;
    overflow: hidden;
}
.news-small-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-small:hover .news-small-img img { transform: scale(1.06); }

.news-no-img-sm {
    width: 100%; height: 100%;
    background: #eee;
    border-radius: 8px;
}

.news-small-body { flex: 1; min-width: 0; }
.news-small-body .news-date { font-size: 0.72rem; }
.news-small-body h3 {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 4px 0 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-small-body h3 a { color: var(--dark-gray); text-decoration: none; }
.news-small-body h3 a:hover { color: var(--primary-red); }

/* Responsive noticias */
@media (max-width: 900px) {
    .news-newspaper { grid-template-columns: 1fr; }
    .news-small-col { flex-direction: row; flex-wrap: wrap; }
    .news-small { flex: 1 1 calc(50% - 8px); min-width: 220px; }
    .news-big-img-wrap { height: 240px; }
}
@media (max-width: 600px) {
    .news-small-col { flex-direction: column; }
    .news-small { flex: 1 1 100%; }
    .news-big-img-wrap { height: 190px; }
    .news-big-title { font-size: 1.15rem; }
}

/* ===========================================
   ENTREVISTAS — fila horizontal de 3 tarjetas
   =========================================== */
.interviews-section { background: #f7f7f7; padding: 60px 0; }

.interviews-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.interview-item {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.interview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.11);
}

.interview-item-img-wrap {
    display: block;
    position: relative;
    height: 180px;
    overflow: hidden;
    text-decoration: none;
    flex-shrink: 0;
}
.interview-item-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.interview-item:hover .interview-item-img-wrap img { transform: scale(1.05); }

.interview-item-tag {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--primary-red);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
}

.interview-item-body {
    padding: 16px 18px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.interview-item-body h3 {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.interview-item-body h3 a { color: var(--dark-gray); text-decoration: none; }
.interview-item-body h3 a:hover { color: var(--primary-red); }
.interview-item-body .news-readmore { font-size: 0.8rem; }

@media (max-width: 768px) {
    .interviews-row { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 480px) {
    .interviews-row { grid-template-columns: 1fr; }
    .interview-item-img-wrap { height: 160px; }
}

/* ===========================================
   PATROCINADORES — logos pequeños en marquee
   Reemplaza todas las reglas anteriores
   =========================================== */
.sponsors-section {
    padding: 44px 0;
    background: var(--white);
    border-top: 1px solid #f0f0f0;
}

.sponsors-marquee-wrap {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.sponsors-marquee-track {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}
.sponsors-marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sp-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    opacity: 0.45;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}
.sp-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}
.sp-logo img {
    display: block;
    max-width: 80px;
    max-height: 36px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.sp-logo a { display: flex; align-items: center; justify-content: center; }

/* ===========================================
   HEADER FIJO EN MÓVIL
   =========================================== */
@media (max-width: 991px) {

    /* Ocultar barra roja superior — no hay espacio */
    .header-top { display: none !important; }

    /* Header fijo pegado arriba */
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9000 !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.12) !important;
        background: var(--white) !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    }
    .site-header.header-hidden {
        transform: translateY(-100%) !important;
    }

    /* Compensar header fijo — gestionado dinámicamente por JS */
    /* body { padding-top: Xpx; } — ver script.js: updateBodyPadding() */

}

/* ===========================================
   OCULTAR WIDGETS / ELEMENTOS NO DESEADOS EN TIENDA
   =========================================== */

/* Sidebar y widgets de WooCommerce */
.woocommerce-page .widget-area,
.woocommerce-page #secondary,
.woocommerce-page aside,
.woocommerce .widget-area,
.woocommerce #secondary,
.wc-block-grid__product-add-to-cart,
.woocommerce ul.products li.product .button,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce nav.woocommerce-pagination,
.woocommerce .woocommerce-breadcrumb,
.woocommerce .upsells,
.woocommerce .related,
.woocommerce .cross-sells,
.woocommerce-tabs,
.woocommerce #reviews,
.woocommerce .product_meta,
.woocommerce .entry-summary .cart,
.woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-loop-product__link + *,
.woocommerce .loop-product-title,
.woocommerce ul.products + *,
.woocommerce-page .page-description,
.shop_table.cart,
#add_payment_method,
body.woocommerce-page .woocommerce > .products ~ *:not(.shop-pagination):not(.shop-features-bar):not(.shop-controls):not(#productsGrid):not(#noProductsMsg) {
    display: none !important;
}

/* Paginación personalizada */
.shop-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.shop-pagination ul {
    display: flex;
    list-style: none;
    gap: 6px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.shop-pagination ul li a,
.shop-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1.5px solid #e5e5e5;
    color: var(--dark-gray);
    background: var(--white);
}
.shop-pagination ul li a:hover {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
}
.shop-pagination ul li span.current {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
}

/* ═══════════════════════════════════════════════
   TIENDA — DISEÑO EDITORIAL PC
   ═══════════════════════════════════════════════ */

/* Hero tienda */
.shop-hero {
    position: relative;
    background: #111;
    overflow: hidden;
    padding: 70px 0 60px;
}
.shop-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(227,30,36,0.92) 0%, rgba(130,10,15,0.85) 55%, rgba(17,17,17,0.7) 100%);
    z-index: 1;
}
.shop-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
}
.shop-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.shop-hero-text { flex: 1; min-width: 260px; }
.shop-hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
}
.shop-hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 14px;
    letter-spacing: -1px;
}
.shop-hero-title span {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.5);
}
.shop-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.7); max-width: 400px; line-height: 1.6; margin: 0; }

.shop-hero-perks {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.shop-perk {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 110px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}
.shop-perk:hover { background: rgba(255,255,255,0.14); }
.shop-perk svg { width: 24px; height: 24px; color: rgba(255,255,255,0.85); }
.shop-perk span { font-size: 0.75rem; color: rgba(255,255,255,0.75); font-weight: 600; line-height: 1.3; }

/* Toolbar */
.shop-toolbar {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.shop-toolbar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    flex-wrap: wrap;
}
.shop-search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-gray);
    border-radius: 30px;
    padding: 10px 18px;
    min-width: 200px;
    flex: 0 0 auto;
    cursor: text;
}
.shop-search-field svg { width: 16px; height: 16px; color: #aaa; flex-shrink: 0; }
.shop-search-field input {
    border: none; background: transparent; outline: none;
    font-size: 0.88rem; color: var(--dark-gray); width: 180px;
}

.shop-filters { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.shop-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 30px;
    border: 1.5px solid #e0e0e0;
    background: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.shop-filter-pill:hover { border-color: var(--primary-red); color: var(--primary-red); }
.shop-filter-pill.active {
    background: var(--primary-red); color: #fff;
    border-color: var(--primary-red);
}
.pill-count {
    background: rgba(0,0,0,0.12);
    border-radius: 20px;
    padding: 1px 7px;
    font-size: 0.72rem;
}
.shop-filter-pill.active .pill-count { background: rgba(255,255,255,0.25); }

.shop-toolbar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.shop-toolbar-right .ac-share { margin-top: 0; padding-top: 0; border-top: none; gap: 8px; }
.shop-toolbar-right .ac-share-label { display: none; }
.shop-toolbar-right .ac-share-btns { gap: 6px; }
.shop-toolbar-right .ac-share-btn { width: 34px; height: 34px; }
.shop-toolbar-right .ac-share-btn svg { width: 14px; height: 14px; }
.shop-sort-select {
    border: 1.5px solid #e0e0e0; border-radius: 8px;
    padding: 8px 14px; font-size: 0.85rem; color: #444;
    background: var(--white); cursor: pointer; outline: none;
}
.shop-view-toggle { display: flex; gap: 4px; }
.view-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; border: 1.5px solid #e0e0e0;
    background: var(--white); color: #888; cursor: pointer; transition: all 0.2s;
}
.view-btn svg { width: 16px; height: 16px; }
.view-btn.active { background: var(--primary-red); color: #fff; border-color: var(--primary-red); }
.view-btn:hover:not(.active) { border-color: #aaa; color: #444; }

/* Body tienda */
.shop-body { padding: 48px 0 70px; background: #f8f8f8; }

/* Grid de tarjetas */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Tarjeta */
.shop-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.shop-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.11);
}

.shop-card-media {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: var(--light-gray);
    flex-shrink: 0;
}
.shop-card-img-link { display: block; height: 100%; }
.shop-card-img-link img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.shop-card:hover .shop-card-img-link img { transform: scale(1.07); }
.shop-card-no-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.shop-card-no-img svg { width: 48px; height: 48px; }

.shop-card-badges {
    position: absolute; top: 12px; left: 12px;
    display: flex; flex-direction: column; gap: 5px; z-index: 2;
}
.sc-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.sc-badge-sale     { background: var(--primary-red); color: #fff; }
.sc-badge-featured { background: #f59e0b; color: #fff; }
.sc-badge-out      { background: #64748b; color: #fff; }

.shop-card-actions {
    position: absolute;
    top: 12px; right: 12px;
    display: flex; flex-direction: column; gap: 6px;
    opacity: 0; transform: translateX(8px);
    transition: all 0.3s ease; z-index: 2;
}
.shop-card:hover .shop-card-actions { opacity: 1; transform: translateX(0); }
.sc-action {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    border: none; cursor: pointer;
    transition: all 0.2s;
}
.sc-action svg { width: 16px; height: 16px; }
.sc-action-view { background: var(--white); color: var(--dark-gray); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.sc-action-view:hover { background: var(--dark-gray); color: #fff; }
.sc-action-cart { background: var(--primary-red); color: #fff; box-shadow: 0 2px 8px rgba(227,30,36,0.35); }
.sc-action-cart:hover { background: #c01118; color: #fff; }

.shop-card-info {
    padding: 18px 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.shop-card-cat {
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--primary-red);
}
.shop-card-name {
    font-size: 0.96rem; font-weight: 700;
    margin: 0; line-height: 1.4; flex-grow: 1;
}
.shop-card-name a { color: #222; text-decoration: none; }
.shop-card-name a:hover { color: var(--primary-red); }

.shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.shop-card-price .price { font-size: 1.2rem; font-weight: 800; color: var(--primary-red); }
.shop-card-price del .amount { color: #bbb; font-size: 0.82rem; }
.shop-card-nostock { font-size: 0.75rem; color: #aaa; }

.shop-card-cta {
    width: 38px; height: 38px;
    background: var(--dark-gray);
    color: #fff;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; border: none; cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.shop-card-cta svg { width: 17px; height: 17px; }
.shop-card-cta:hover { background: var(--primary-red); color: #fff; }

/* Extra info (solo visible en vista lista) */
.shop-list-extra { display: none; }

/* Vista lista */
.shop-grid-list { grid-template-columns: 1fr; }
.shop-grid-list .shop-card {
    flex-direction: row;
    height: 140px;
}
.shop-grid-list .shop-card-media {
    width: 160px; height: 140px;
    flex-shrink: 0;
    border-radius: 16px 0 0 16px;
}
.shop-grid-list .shop-card-info {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 24px;
}
.shop-grid-list .shop-card-name { flex: 1; min-width: 150px; }
.shop-grid-list .shop-card-footer {
    border-top: none;
    padding-top: 0;
    flex-direction: row;
    gap: 14px;
}
.shop-grid-list .shop-list-extra {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: #888;
    flex: 1;
}
.shop-grid-list .shop-list-extra p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.sc-list-btn {
    background: var(--primary-red); color: #fff;
    padding: 8px 18px; border-radius: 8px;
    font-size: 0.82rem; font-weight: 700;
    text-decoration: none; white-space: nowrap;
}
.sc-list-link {
    color: var(--primary-red); font-weight: 700;
    font-size: 0.82rem; text-decoration: none; white-space: nowrap;
}
.shop-grid-list .shop-card-cat { display: none; }

/* Vacío */
.shop-empty {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 80px 20px; text-align: center; color: #ccc;
    gap: 12px;
}
.shop-empty svg { width: 60px; height: 60px; stroke: #ddd; }
.shop-empty p { font-size: 1.15rem; font-weight: 700; color: #aaa; margin: 0; }
.shop-empty span { font-size: 0.88rem; color: #bbb; }

/* ═══════════════════════════════════════════════
   PRODUCTO INDIVIDUAL — DISEÑO PC
   ═══════════════════════════════════════════════ */

/* Breadcrumb */
.sp-breadcrumb {
    background: #fafafa;
    border-bottom: 1px solid var(--color-border);
    padding: 14px 0;
}
.sp-breadcrumb .container {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.82rem; flex-wrap: wrap;
}
.sp-breadcrumb a { color: #888; text-decoration: none; transition: color 0.2s; }
.sp-breadcrumb a:hover { color: var(--primary-red); }
.sp-breadcrumb span:last-child { color: var(--dark-gray); font-weight: 600; }
.sp-breadcrumb svg { color: #ccc; flex-shrink: 0; }

/* Sección producto */
.sp-section { background: #f8f8f8; padding: 50px 0 60px; }

/* Grid 2 columnas */
.sp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
    margin-bottom: 52px;
}

/* ── GALERÍA ── */
.sp-gallery { position: sticky; top: 90px; }

.sp-main-img {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    cursor: zoom-in;
}
.sp-main-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.4s ease;
}
.sp-main-img:hover img { transform: scale(1.04); }

.sp-badge-sale {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    background: var(--primary-red); color: #fff;
    font-size: 0.85rem; font-weight: 800;
    padding: 6px 14px; border-radius: 20px;
}

.sp-zoom-btn {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(255,255,255,0.92);
    border: none; border-radius: 10px;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background 0.2s; z-index: 2;
}
.sp-zoom-btn svg { width: 18px; height: 18px; color: #444; }
.sp-zoom-btn:hover { background: var(--primary-red); }
.sp-zoom-btn:hover svg { color: #fff; }

.sp-thumbs {
    display: flex; gap: 10px;
    margin-top: 14px; flex-wrap: wrap;
}
.sp-thumb {
    width: 70px; height: 70px;
    border-radius: 10px;
    border: 2px solid transparent;
    background-size: cover; background-position: center;
    cursor: pointer; transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.sp-thumb:hover { border-color: #ccc; transform: scale(1.05); }
.sp-thumb.active { border-color: var(--primary-red); }

/* ── INFO ── */
.sp-info {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.sp-category {
    display: inline-block;
    background: var(--white)0f0; color: var(--primary-red);
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px;
    padding: 5px 14px; border-radius: 20px;
    margin-bottom: 16px;
}

.sp-title {
    font-size: 2rem; font-weight: 900;
    color: #111; line-height: 1.2; margin: 0 0 20px;
    letter-spacing: -0.5px;
}

.sp-price {
    margin-bottom: 18px;
}
.sp-price .price { font-size: 2.2rem; font-weight: 900; color: var(--primary-red); }
.sp-price del .amount { color: #bbb; font-size: 1.1rem; margin-right: 6px; }
.sp-price ins { text-decoration: none; }

.sp-stock {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.85rem; font-weight: 700;
    padding: 8px 16px; border-radius: 30px;
    margin-bottom: 22px;
}
.sp-stock.in-stock  { background: #f0fdf4; color: #16a34a; }
.sp-stock.no-stock  { background: var(--light-gray); color: #888; }
.sp-stock svg { width: 14px; height: 14px; }

.sp-excerpt {
    font-size: 0.95rem; color: var(--color-muted); line-height: 1.7;
    margin-bottom: 26px; padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

/* Atributos */
.sp-attr-group { margin-bottom: 22px; }
.sp-attr-label {
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: #888; margin-bottom: 10px;
}
.sp-attr-options { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-opt {
    min-width: 46px; height: 46px; padding: 0 14px;
    border-radius: 10px; border: 2px solid #e8e8e8;
    background: var(--white); font-size: 0.88rem; font-weight: 700;
    color: var(--dark-gray); cursor: pointer; transition: all 0.2s;
}
.sp-opt:hover { border-color: var(--primary-red); color: var(--primary-red); }
.sp-opt.active { background: var(--primary-red); color: #fff; border-color: var(--primary-red); }

/* Qty + CTA */
.sp-buy-row {
    display: flex; gap: 14px; align-items: stretch;
    margin-bottom: 28px;
}
.sp-qty {
    display: flex; align-items: stretch;
    border: 2px solid #e8e8e8; border-radius: 12px; overflow: hidden;
}
.sp-qty-btn {
    width: 46px; background: #f8f8f8; border: none;
    font-size: 1.3rem; font-weight: 700; color: var(--dark-gray);
    cursor: pointer; transition: background 0.2s, color 0.2s;
}
.sp-qty-btn:hover { background: var(--primary-red); color: #fff; }
.sp-qty-input {
    width: 54px; text-align: center;
    border: none; border-left: 1px solid #e8e8e8; border-right: 1px solid #e8e8e8;
    font-size: 1rem; font-weight: 700; color: #222; outline: none;
}

.sp-atc-btn {
    flex: 1; display: inline-flex; align-items: center;
    justify-content: center; gap: 10px;
    background: var(--primary-red); color: #fff;
    border: none; border-radius: 12px;
    font-size: 1rem; font-weight: 800;
    padding: 0 30px; cursor: pointer;
    text-decoration: none; min-height: 54px;
    letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.15s;
}
.sp-atc-btn svg { width: 20px; height: 20px; }
.sp-atc-btn:hover { background: #c01118; color: #fff; transform: translateY(-1px); }
.sp-atc-disabled { background: #e5e5e5; color: #aaa; cursor: not-allowed; }
.sp-atc-disabled:hover { background: #e5e5e5; transform: none; }

/* Garantías */
.sp-guarantees {
    list-style: none; padding: 0; margin: 0 0 24px;
    background: #fafafa; border-radius: 12px;
    overflow: hidden;
}
.sp-guarantees li {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 18px;
    font-size: 0.88rem; color: var(--text-color);
    border-bottom: 1px solid #f0f0f0;
}
.sp-guarantees li:last-child { border-bottom: none; }
.sp-guarantees li svg { width: 18px; height: 18px; color: var(--primary-red); flex-shrink: 0; }

/* Compartir */
.sp-share {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.82rem; font-weight: 700; color: #aaa;
    padding-top: 22px; border-top: 1px solid #f0f0f0;
}
.sp-share-btn {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}
.sp-share-btn:hover { transform: translateY(-2px); opacity: 0.85; }
.sp-share-btn svg { width: 15px; height: 15px; }
.sp-fb { background: #1877f2; }
.sp-wa { background: #25d366; }
.sp-tw { background: #111; }

/* Descripción completa */
.sp-description {
    background: var(--white); border-radius: 20px;
    padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    margin-bottom: 32px;
}
.sp-desc-header { margin-bottom: 28px; }
.sp-desc-header h2 { font-size: 1.3rem; font-weight: 800; margin: 0 0 10px; }
.sp-desc-line { height: 3px; width: 50px; background: var(--primary-red); border-radius: 2px; }
.sp-desc-body { font-size: 0.96rem; color: var(--text-color); line-height: 1.8; }
.sp-desc-body p { margin-bottom: 14px; }
.sp-desc-body ul { padding-left: 22px; }
.sp-desc-body li { margin-bottom: 8px; }

/* Volver */
.sp-back {
    display: inline-flex; align-items: center; gap: 8px;
    color: #888; font-size: 0.88rem; font-weight: 700;
    text-decoration: none; transition: color 0.2s;
}
.sp-back svg { width: 16px; height: 16px; }
.sp-back:hover { color: var(--primary-red); }

/* Lightbox */
.sp-lightbox {
    position: fixed; inset: 0; z-index: 99999;
    align-items: center; justify-content: center;
}
.sp-lightbox-bg {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s;
}
.sp-lb-open .sp-lightbox-bg { background: rgba(0,0,0,0.88); }
.sp-lightbox-inner {
    position: relative; z-index: 2;
    max-width: 80vw; max-height: 85vh;
    transform: scale(0.9); opacity: 0;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.sp-lb-open .sp-lightbox-inner { transform: scale(1); opacity: 1; }
.sp-lightbox-inner img {
    max-width: 100%; max-height: 85vh;
    border-radius: 12px; display: block;
    object-fit: contain;
}
.sp-lightbox-close {
    position: absolute; top: -18px; right: -18px;
    background: var(--primary-red); color: #fff;
    border: none; border-radius: 50%;
    width: 36px; height: 36px; font-size: 1rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* ── Responsive tienda + producto ── */
@media (max-width: 1100px) {
    .shop-hero-title { font-size: 2.6rem; }
    .sp-grid { gap: 32px; }
}
@media (max-width: 900px) {
    .shop-hero-perks { display: none; }
    .shop-hero-title { font-size: 2.2rem; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-grid { grid-template-columns: 1fr; }
    .sp-gallery { position: static; }
    .sp-info { padding: 28px 24px; }
    .sp-title { font-size: 1.6rem; }
    .shop-grid-list .shop-card { flex-direction: column; height: auto; }
    .shop-grid-list .shop-card-media { width: 100%; height: 220px; border-radius: 16px 16px 0 0; }
}
@media (max-width: 600px) {
    .shop-hero { padding: 46px 0 40px; }
    .shop-hero-title { font-size: 1.8rem; }
    .shop-toolbar-inner { flex-wrap: wrap; gap: 10px; }
    .shop-search-field { flex: 1; min-width: 0; }
    .shop-search-field input { width: 100%; }
    .shop-filters { order: 3; width: 100%; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .shop-card-media { height: 170px; }
    .sp-buy-row { flex-direction: column; }
    .sp-atc-btn { min-height: 48px; }
}
@media (max-width: 400px) {
    .shop-grid { grid-template-columns: 1fr; }
}

/* ===========================================
   ACCESIBILIDAD — Skip to content
   =========================================== */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--primary-red);
    color: #fff;
    padding: 10px 20px;
    border-radius: 0 0 8px 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 99999;
    transition: top 0.2s ease;
}
.skip-to-content:focus {
    top: 0;
}

/* ===========================================
   ACCESIBILIDAD — Focus visible (teclado)
   Reemplaza todos los outline:none peligrosos
   =========================================== */

/* Reset global seguro: quitar outline solo para mouse/touch */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Focus visible para navegación por teclado */
*:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Sobreescribir outline:none en inputs/formularios */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 0;
    box-shadow: 0 0 0 4px rgba(227,30,36,0.15);
    border-color: var(--primary-red) !important;
}

/* Botones y links con fondo rojo: focus en blanco */
.btn-primary:focus-visible,
.sp-atc-btn:focus-visible,
.shop-card-cta:focus-visible,
.pwa-btn-install:focus-visible {
    outline-color: #fff;
    box-shadow: 0 0 0 4px rgba(227,30,36,0.5);
}

/* ===========================================
   ESTILOS DE IMPRESIÓN
   =========================================== */
@media print {
    /* Ocultar elementos de navegación y UI */
    .site-header,
    .site-footer,
    .back-to-top,
    .mobile-menu,
    .mobile-menu-overlay,
    #pwa-install-banner,
    #pwa-ios-guide,
    .skip-to-content,
    .hero-buttons,
    .join-banner,
    .cta-section,
    .shop-toolbar,
    .shop-hero-perks,
    .sp-buy-row,
    .sp-share,
    .sp-guarantees,
    .sp-zoom-btn,
    .sp-lightbox,
    .shop-card-actions,
    .sponsors-marquee-wrap,
    .btn-add-cart,
    .btn-atc,
    .filter-btn,
    .shop-filter-pill,
    nav,
    iframe { display: none !important; }

    /* Asegurar que el contenido use el ancho completo */
    body { padding-top: 0 !important; font-size: 12pt; color: #000; background: var(--white); }
    .container { max-width: 100%; padding: 0; }
    main { padding: 20pt 0; }

    /* Noticias y productos en una columna */
    .news-newspaper,
    .products-grid,
    .sp-grid { display: block !important; }
    .news-big,
    .shop-card,
    .sp-info { width: 100% !important; box-shadow: none !important; border: 1px solid var(--color-border-medium); }

    /* Mostrar URLs de los enlaces */
    a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: var(--color-muted); }
    a[href^="#"]::after,
    a[href^="javascript"]::after { content: ""; }

    /* Evitar cortes de página en el interior de artículos */
    article, .news-small, .team-card, .testimonial-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* Cabecera de impresión con nombre del club */
    body::before {
        content: "Club de Atletismo Playas de Cartaya";
        display: block;
        text-align: center;
        font-size: 18pt;
        font-weight: bold;
        color: #E31E24;
        padding-bottom: 16pt;
        border-bottom: 2pt solid #E31E24;
        margin-bottom: 20pt;
    }
}

/* ═══════════════════════════════════════════════
   MENÚ MÓVIL — Panel completo con logo
   ═══════════════════════════════════════════════ */

/* Panel lateral — definición única */
.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    background: var(--white) !important;
    box-shadow: -6px 0 30px rgba(0,0,0,0.18) !important;
    z-index: 10010 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    transition: right 0.32s cubic-bezier(0.4,0,0.2,1) !important;
}
.mobile-menu.active { right: 0 !important; }

/* Overlay */
.mobile-menu-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 10009 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s, visibility 0.3s !important;
}
.mobile-menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Cabecera del panel: logo + botón cerrar */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 2;
}
.mobile-menu-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    max-width: calc(100% - 50px);
}
.mobile-menu-logo img,
.mobile-menu-logo .custom-logo {
    max-height: 44px !important;
    width: auto !important;
    display: block !important;
    object-fit: contain;
}
.mobile-logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-menu-close {
    width: 38px !important;
    height: 38px !important;
    background: var(--light-gray) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #444 !important;
    flex-shrink: 0 !important;
    transition: background 0.2s, color 0.2s !important;
    font-size: 1rem !important;
    padding: 0 !important;
    position: static !important;
}
.mobile-menu-close:hover { background: var(--primary-red) !important; color: #fff !important; }
.mobile-menu-close svg { width: 18px; height: 18px; }

/* Nav del menú móvil */
.mobile-nav { flex: 1; padding: 8px 0; }
.mobile-nav-menu { list-style: none; margin: 0; padding: 0 18px; }
.mobile-nav-menu li { border-bottom: 1px solid #f5f5f5; }
.mobile-nav-menu li:last-child { border-bottom: none; }
.mobile-nav-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}
.mobile-nav-menu li a:hover { color: var(--primary-red); }
.mobile-nav-menu li.menu-item-has-children > a::after {
    content: '';
    width: 8px; height: 8px;
    border-right: 2px solid #bbb;
    border-bottom: 2px solid #bbb;
    transform: rotate(-45deg);
    margin-left: 8px;
    flex-shrink: 0;
}
.mobile-nav-menu .sub-menu {
    display: none;
    padding: 4px 0 10px 16px;
    list-style: none;
}
.mobile-nav-menu .sub-menu.active { display: block; }
.mobile-nav-menu .sub-menu li { border-bottom: none; }
.mobile-nav-menu .sub-menu li a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-muted);
    padding: 8px 4px;
}

/* Buscador móvil */
.mobile-search-form {
    display: flex;
    margin: 12px 18px;
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.mobile-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 14px;
    font-size: 0.9rem;
    outline: none;
    color: var(--dark-gray);
    min-width: 0;
}
.mobile-search-form button {
    background: var(--primary-red);
    border: none;
    padding: 11px 14px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* CTA móvil */
.btn-mobile-cta {
    margin: 8px 18px 24px !important;
    text-align: center !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* ═══════════════════════════════════════════════
   PATROCINADORES — logos grandes, visibles y clicables
   ═══════════════════════════════════════════════ */

/* Contenedor individual */
.sp-logo {
    width: 220px !important;
    min-height: 110px !important;
    opacity: 1 !important;
    filter: grayscale(40%) !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07) !important;
    transition: all 0.3s ease !important;
}
.sp-logo:hover {
    opacity: 1 !important;
    filter: grayscale(0%) !important;
    transform: scale(1.07) !important;
    box-shadow: 0 6px 24px rgba(227,30,36,0.18) !important;
}

/* El <a> y el <span> (sin URL) llenan TODO el bloque */
.sp-logo a,
.sp-logo span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 110px !important;
    padding: 18px 22px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    border-radius: 10px !important;
}

/* Tooltip "Visitar web" en logos con enlace */
.sp-logo a[href]::after {
    content: '↗ Visitar web' !important;
    position: absolute !important;
    bottom: -28px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--primary-red) !important;
    color: #fff !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease !important;
}
.sp-logo:hover a[href]::after { opacity: 1 !important; }
.sp-logo { position: relative !important; }

/* Imagen: grande y nítida */
.sp-logo img {
    display: block !important;
    max-width: 180px !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    pointer-events: none !important;
}

/* Espacio y padding entre logos en el carrusel */
.sponsors-marquee-wrap { padding: 10px 0 24px !important; }
.sponsors-marquee-track { gap: 28px !important; padding: 8px 0 !important; }

/* ═══════════════════════════════════════════════
   PIE DE PÁGINA — móvil completo
   ═══════════════════════════════════════════════ */
.site-footer { background: #1a1a1a; color: #ccc; padding: 60px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-widget-brand .custom-logo,
.footer-widget-brand img {
    max-height: 52px;
    width: auto;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.footer-widget h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
}
.footer-widget p { font-size: 0.88rem; color: var(--color-hint); line-height: 1.7; margin: 0 0 16px; }

.footer-menu,
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-menu li,
.footer-contact-list li { margin-bottom: 10px; }
.footer-menu a { color: #aaa; text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-menu a:hover { color: var(--primary-red); }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.85rem;
    color: var(--color-hint);
    line-height: 1.5;
}
.footer-contact-list svg { color: var(--primary-red); flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: #aaa; text-decoration: none; }
.footer-contact-list a:hover { color: var(--primary-red); }

.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #ccc;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.social-links a:hover { background: var(--primary-red); color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-copy { margin: 0; font-size: 0.82rem; color: #777; }
.footer-copy strong { color: #aaa; }
.footer-extra { margin: 0; font-size: 0.78rem; color: var(--color-muted); }
.footer-extra a { color: #888; text-decoration: underline; }

/* Tablet */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-widget-brand { grid-column: span 2; }
}

/* Móvil */
@media (max-width: 600px) {
    .site-footer { padding: 40px 0 0; }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .footer-widget-brand { grid-column: span 1 !important; }
    .footer-widget h3 { font-size: 0.9rem; margin-bottom: 14px; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 18px 0;
    }
    .social-links { justify-content: flex-start; }
}

/* ═══════════════════════════════════════════════
   EVENTOS — móvil completo
   ═══════════════════════════════════════════════ */

/* Tarjeta de evento en móvil: layout de tarjeta vertical */
@media (max-width: 700px) {
    .events-list .event-item {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 16px !important;
        align-items: flex-start !important;
    }

    /* Fila superior: fecha + título */
    .event-date-col {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        min-width: auto !important;
        width: 100% !important;
    }
    .event-date-col::before {
        content: '';
        display: block;
        width: 4px;
        height: 36px;
        background: var(--primary-red);
        border-radius: 2px;
        flex-shrink: 0;
    }
    .event-weekday {
        font-size: 0.72rem !important;
        color: #888 !important;
        font-weight: 600 !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .event-day-num {
        font-size: 1.4rem !important;
        font-weight: 900 !important;
        color: var(--primary-red) !important;
        line-height: 1 !important;
    }

    .event-info-col { width: 100% !important; }
    .event-title { font-size: 0.95rem !important; margin: 0 0 4px !important; }
    .event-location { font-size: 0.8rem !important; margin: 0 !important; }

    .event-details-col {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
        grid-column: unset !important;
    }

    .event-action-col { width: 100% !important; }
    .event-action-col .btn { width: 100% !important; text-align: center !important; padding: 10px !important; }

    .events-filter {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }
    .events-filter .filter-btn {
        flex: 1 1 auto !important;
        min-width: 80px !important;
        text-align: center !important;
        font-size: 0.8rem !important;
        padding: 8px 12px !important;
    }
}

/* ═══════════════════════════════════════════════
   TIENDA — corregir toolbar sticky en móvil
   ═══════════════════════════════════════════════ */
@media (max-width: 991px) {
    /* La tienda en móvil no necesita toolbar sticky (el header ya es fixed) */
    .shop-toolbar {
        position: static !important;
        top: auto !important;
    }
    .shop-toolbar-inner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 14px !important;
    }
    .shop-search-field {
        max-width: 100% !important;
        width: 100% !important;
    }
    .shop-filters { justify-content: flex-start !important; }
    .shop-toolbar-right { margin-left: 0 !important; }
    .shop-hero-title { font-size: 2rem !important; }
}

/* Botón copiar / Web Share */
.sp-copy, .share-btn.copy {
    background: #6b7280 !important;
    color: #fff !important;
    cursor: pointer !important;
    border: none !important;
}
.sp-copy:hover, .share-btn.copy:hover { background: #374151 !important; }

/* ═══════════════════════════════════════════════
   FIXES DEFINITIVOS
   ═══════════════════════════════════════════════ */

/* 1 — Z-index fix: hero no puede tapar el menú móvil en portada */
.hero, .hero-home, .hero-content {
    position: relative;
    z-index: 0;
}

/* Asegurar que header, overlay y panel estén por encima de todo */
.site-header {
    z-index: 9000 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.site-header.header-hidden {
    transform: translateY(-100%) !important;
}
.menu-toggle {
    z-index: 9001 !important;
}
.mobile-menu-overlay {
    z-index: 9008 !important;
}
.mobile-menu {
    z-index: 9009 !important;
}

/* 2 — Titular de noticias más grande en móvil */
@media (max-width: 600px) {
    .news-big-title { font-size: 1.35rem !important; line-height: 1.3 !important; }
    .news-big-excerpt { font-size: 0.9rem !important; }
    .news-big-img-wrap { height: 220px !important; }
    .news-big-body { padding: 18px 16px 20px !important; }
}

/* 3 — Sección "Destacamos" */
.destaca-section { background: var(--white); padding: 50px 0; }

/* Separación visual entre Destacamos y Últimas Noticias */
.news-section {
    background: #f0f2f5 !important;
    border-top: 5px solid var(--primary-red) !important;
    margin-top: 0 !important;
    padding-top: 60px !important;
}
.destaca-section {
    background: var(--white);
    padding: 50px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Logo del club en el hero */
.hero-club-logo {
    max-height: 110px;
    width: auto;
    display: block;
    margin: 0 auto 18px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}
.destaca-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,0,0,0.09);
}
.destaca-img-wrap {
    display: block;
    position: relative;
    height: 380px;
    overflow: hidden;
    text-decoration: none;
}
.destaca-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.destaca-card:hover .destaca-img-wrap img { transform: scale(1.04); }
.destaca-label {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--primary-red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 5px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.destaca-body {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.destaca-title {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0;
    color: #111;
}
.destaca-title a { color: #111; text-decoration: none; }
.destaca-title a:hover { color: var(--primary-red); }
.destaca-excerpt {
    font-size: 0.96rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 900px) {
    .destaca-card { grid-template-columns: 1fr; gap: 0; }
    .destaca-img-wrap { height: 260px; }
    .destaca-body { padding: 24px 22px 28px; }
    .destaca-title { font-size: 1.4rem; }
}
@media (max-width: 480px) {
    .destaca-img-wrap { height: 200px; }
    .destaca-title { font-size: 1.2rem; }
    .destaca-body { padding: 18px 16px 22px; gap: 10px; }
}

/* 4 — Botón "Pasados" diferenciado en eventos */
.filter-btn-pasados {
    opacity: 0.7;
    font-style: italic;
}
.filter-btn-pasados.active { opacity: 1; font-style: normal; }
.past-event { opacity: 0.6; }
.past-event .event-title a { color: #888 !important; }

/* 5 — Botón Instagram (Web Share) restaurado */
.share-btn.instagram,
.sp-share-btn.sp-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: #fff !important;
    cursor: pointer !important;
    border: none !important;
}
.share-btn.instagram:hover,
.sp-share-btn.sp-ig:hover { opacity: 0.85 !important; }


/* ═══════════════════════════════════════════════
   ENTRENADORES — página listado y perfil
   ═══════════════════════════════════════════════ */

/* ── Cabecera ─────────────────────────────────── */
.entrenadores-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, #8b0c10 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.entrenadores-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.entrenadores-header .container { position: relative; }
.entrenadores-header h1 { font-size: 2.8rem; }
.entrenadores-header-sub {
    margin-top: 12px;
    font-size: 1.1rem;
    opacity: 0.85;
    font-weight: 400;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.entrenadores-header-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.entrenadores-header-stat {
    text-align: center;
    color: #fff;
}
.entrenadores-header-stat strong {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
}
.entrenadores-header-stat span {
    font-size: 0.82rem;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Sección principal ────────────────────────── */
.entrenadores-section { background: #f5f6f8; padding: 70px 0; }

/* ── Subtítulo de grupo ───────────────────────── */
.entrenadores-grupo { margin-top: 64px; margin-bottom: 32px; }
.entrenadores-grupo:first-of-type { margin-top: 0; }
.entrenadores-grupo-titulo {
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--dark-gray);
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.entrenadores-grupo-titulo::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #ddd, transparent);
}
.entrenadores-grupo-titulo-dot {
    width: 10px; height: 10px;
    background: var(--primary-red);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Grid ─────────────────────────────────────── */
.entrenadores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 16px;
}

/* ── Tarjeta ──────────────────────────────────── */
.entrenador-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.entrenador-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    color: inherit;
}
/* Indicador de "ver perfil" visible on hover — ahora sobre el link interno */
.entrenador-card-link {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.entrenador-card-link::after {
    content: 'Ver perfil →';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, var(--primary-red) 0%, rgba(227,30,36,0) 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 32px 22px 14px;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.entrenador-card:hover .entrenador-card-link::after { opacity: 1; }

/* ── Foto ─────────────────────────────────────── */
.entrenador-foto {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #ebebeb;
    flex-shrink: 0;
}
.entrenador-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.45s ease;
}
.entrenador-card:hover .entrenador-foto img { transform: scale(1.06); }
.entrenador-foto-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8e8e8, #d5d5d5);
}
.entrenador-cargo-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(227,30,36,0.95);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

/* ── Info ─────────────────────────────────────── */
.entrenador-info {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}
.entrenador-nombre {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1.2;
}
.entrenador-especialidad {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.87rem;
    color: var(--primary-red);
    font-weight: 600;
    margin: 0;
}
.entrenador-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.entrenador-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.entrenador-tag-licencia { background: var(--white)3e0; color: #bf6000; }
.entrenador-tag-anios    { background: #e8f5e9; color: #2e7d32; }

.entrenador-bio {
    font-size: 0.86rem;
    color: #777;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Estado vacío ─────────────────────────────── */
.entrenadores-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-hint);
}
.entrenadores-empty-icon { font-size: 4rem; margin-bottom: 16px; }
.entrenadores-empty h2   { font-size: 1.5rem; color: var(--dark-gray); margin-bottom: 10px; }
.entrenadores-empty p    { font-size: 1rem; max-width: 400px; margin: 0 auto; }

/* ── CTA inferior ─────────────────────────────── */
.entrenadores-cta-section {
    background: var(--white);
    padding: 70px 0;
}
.entrenadores-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 60%);
    border: 2px solid rgba(227,30,36,0.15);
    border-radius: 20px;
    padding: 44px 52px;
}
.entrenadores-cta-text h2 {
    font-size: 1.6rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-weight: 800;
}
.entrenadores-cta-text p { color: var(--color-muted); line-height: 1.6; }

/* ══════════════════════════════════════════════
   SINGLE ENTRENADOR — página de perfil
   ══════════════════════════════════════════════ */
.entrenador-perfil-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 70px 0;
    color: #fff;
}
.entrenador-perfil-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 52px;
    align-items: start;
}
.entrenador-perfil-foto {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.entrenador-perfil-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.entrenador-perfil-foto-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #444;
    border-radius: 20px;
}
.entrenador-perfil-meta { padding-top: 8px; }
.entrenador-perfil-cargo {
    display: inline-block;
    background: var(--primary-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.entrenador-perfil-nombre {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #fff;
}
.entrenador-perfil-especialidad {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
}
.entrenador-perfil-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.entrenador-perfil-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
}
.entrenador-perfil-contacto {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.entrenador-perfil-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.entrenador-perfil-btn-email {
    background: var(--primary-red);
    color: #fff;
}
.entrenador-perfil-btn-email:hover {
    background: #c01920;
    color: #fff;
}
.entrenador-perfil-btn-tel {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.entrenador-perfil-btn-tel:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* Bio / contenido */
.entrenador-perfil-bio-section {
    padding: 70px 0;
    background: var(--white);
}
.entrenador-perfil-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 52px;
    align-items: start;
}
.entrenador-perfil-content h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-gray);
}
.entrenador-perfil-content .wp-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}
.entrenador-perfil-content .wp-content p { margin-bottom: 1.2em; }

/* Sidebar de datos */
.entrenador-perfil-sidebar {
    background: #f8f9fa;
    border-radius: 18px;
    padding: 28px;
    position: sticky;
    top: 90px;
}
.entrenador-perfil-sidebar h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-gray);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}
.entrenador-dato-fila {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.88rem;
}
.entrenador-dato-fila:last-child { border-bottom: none; }
.entrenador-dato-label { color: var(--color-hint); font-weight: 600; flex-shrink: 0; }
.entrenador-dato-valor { color: var(--dark-gray); font-weight: 700; text-align: right; }

/* Volver al listado */
.entrenador-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.2s;
}
.entrenador-back-link:hover { color: #fff; }
.entrenador-back-link svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   PRÓXIMO EVENTO — sección portada
   ═══════════════════════════════════════════════ */

.next-event-section { background: #f0f2f5; padding: 60px 0 50px; border-top: 5px solid var(--primary-red); }

/* Cabecera de sección */
.next-event-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}
.next-event-section .section-link {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}
.next-event-section .section-link:hover { text-decoration: underline; }

/* Tarjeta principal — enlace clickable */
.next-event-card {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 0;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid transparent;
}
.next-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(227,30,36,0.15);
    border-color: var(--primary-red);
    color: inherit;
}

/* Columna de fecha */
.next-event-date {
    background: linear-gradient(160deg, var(--primary-red) 0%, #8b0c10 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 14px;
    height: 100%;
    min-height: 140px;
    position: relative;
    text-align: center;
}
.next-event-weekday {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
}
.next-event-day {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin: 4px 0 2px;
}
.next-event-month {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.9;
}
.next-event-year {
    font-size: 0.72rem;
    opacity: 0.7;
    margin-top: 2px;
}
.next-event-unconfirmed {
    position: absolute;
    top: 10px; right: 10px;
    width: 18px; height: 18px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cuerpo del evento */
.next-event-body {
    padding: 24px 28px;
    min-width: 0;
}
.next-event-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.next-event-distance {
    background: #f0f0f0;
    color: var(--text-color);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}
.next-event-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin: 0 0 8px;
    line-height: 1.25;
}
.next-event-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.88rem;
    color: #777;
    margin: 0 0 8px;
}
.next-event-location svg { flex-shrink: 0; }
.next-event-excerpt {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

/* Columna CTA derecha */
.next-event-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 28px;
    border-left: 1px solid #f0f0f0;
    min-width: 110px;
    height: 100%;
}
.next-event-cta-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-red);
}
.next-event-cta-arrow {
    color: var(--primary-red);
    transition: transform 0.2s ease;
}
.next-event-card:hover .next-event-cta-arrow { transform: translateX(5px); }

/* Vacío */
.next-event-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--color-hint);
}

/* Botón inferior */
.next-event-footer {
    margin-top: 24px;
    text-align: center;
}
.next-event-all-btn {
    background: var(--primary-red);
    color: #fff !important;
    border-color: var(--primary-red);
    padding: 13px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease, transform 0.2s ease;
}
.next-event-all-btn:hover {
    background: #b5161b;
    border-color: #b5161b;
    transform: translateY(-2px);
    color: #fff !important;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 768px) {
    .next-event-card {
        grid-template-columns: 90px 1fr;
    }
    .next-event-cta { display: none; }
    .next-event-date { min-height: 120px; padding: 20px 12px; }
    .next-event-day { font-size: 2.2rem; }
    .next-event-body { padding: 18px 18px; }
    .next-event-title { font-size: 1.35rem; }
    .next-event-all-btn { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════════════
   BARRA DE ADMINISTRACIÓN DE WORDPRESS
   Evita el hueco blanco cuando el usuario está
   logueado y aparece el wpadminbar (32px / 46px)
   ═══════════════════════════════════════════════ */
.admin-bar .site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1100px) {
    .entrenadores-grid { grid-template-columns: repeat(2, 1fr); }
    .entrenador-perfil-inner { grid-template-columns: 240px 1fr; gap: 36px; }
}
@media (max-width: 991px) {
    .entrenadores-header h1 { font-size: 2rem; }
    .entrenadores-cta { grid-template-columns: 1fr; text-align: center; padding: 32px 28px; }
    .entrenador-perfil-inner { grid-template-columns: 1fr; }
    .entrenador-perfil-foto { max-width: 260px; margin: 0 auto; aspect-ratio: 1/1; }
    .entrenador-perfil-nombre { font-size: 2rem; }
    .entrenador-perfil-layout { grid-template-columns: 1fr; }
    .entrenador-perfil-sidebar { position: static; }
    .entrenadores-header-stats { gap: 28px; }
}
@media (max-width: 600px) {
    .entrenadores-grid { grid-template-columns: 1fr; gap: 20px; }
    .entrenador-foto { height: 240px; }
    .entrenador-perfil-header { padding: 48px 0; }
    .entrenador-perfil-nombre { font-size: 1.7rem; }
    .entrenadores-header-stat strong { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════════
   ENTRENADORES — Botones de redes sociales
   ═══════════════════════════════════════════════ */

/* ── Botones RRSS en cabecera de página ──────── */
.entrenadores-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.entrenadores-share-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.75);
}
.entrenadores-share-btns {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* Botón genérico de la cabecera y del perfil */
.ent-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
}
.ent-share-btn svg { width: 20px !important; height: 20px !important; }
.ent-share-btn:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,0.28); }
.ent-share-fb  { background: #1877f2; }
.ent-share-wa  { background: #25d366; }
.ent-share-tw  { background: #000; }
.ent-share-ig  { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.ent-share-copy { background: #6b7280; }
.ent-share-copy.copied { background: #10b981; }

/* Icono ✓ visible sólo tras copiar */
.ent-share-copy-icon { display: block; }
.ent-share-ok-icon   { display: none; }
.ent-share-copy.copied .ent-share-copy-icon { display: none; }
.ent-share-copy.copied .ent-share-ok-icon   { display: block; }

/* ── Perfil individual (single-entrenador) ───── */
.entrenador-perfil-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.entrenador-perfil-share-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.7);
}
.entrenador-perfil-share-btns {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

/* ── Botones RRSS en cada tarjeta de la lista ── */
.entrenador-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: default;
}
.entrenador-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1;
}
.entrenador-card-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px 18px;
    border-top: 1px solid var(--color-border);
    background: #fafafa;
}

/* Mini-botones por card */
.ent-card-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}
.ent-card-share-btn svg { width: 16px !important; height: 16px !important; }
.ent-card-share-btn:hover { transform: translateY(-3px); opacity: 0.88; }
.ent-card-fb   { background: #1877f2; }
.ent-card-wa   { background: #25d366; }
.ent-card-tw   { background: #000; }
.ent-card-copy { background: #6b7280; }
.ent-card-copy.copied { background: #10b981; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 600px) {
    .entrenadores-share { gap: 8px; }
    .ent-share-btn { width: 34px !important; height: 34px !important; }
    .ent-share-btn svg { width: 15px !important; height: 15px !important; }
    .entrenador-perfil-share { flex-direction: column; align-items: flex-start; }
    .ent-card-share-btn { width: 30px !important; height: 30px !important; }
    .ent-card-share-btn svg { width: 12px !important; height: 12px !important; }
}

/* ═══════════════════════════════════════════════════════════
   AC-SHARE — Sistema unificado de botones para compartir
   Sustituye a: .post-share, .sp-share, .ent-share
   ═══════════════════════════════════════════════════════════ */

/* ── Contenedor ── */
.ac-share {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

/* Variante sobre fondo rojo (cabecera entrenadores, perfil entrenador) */
.ac-share--over-red {
    border-top: none;
    margin-top: 20px;
    padding-top: 0;
}

/* Variante barra inferior de tarjetas */
.ac-share--card {
    margin-top: 0;
    padding-top: 0;
    padding: 14px 16px 16px;
    border-top: 1px solid var(--color-border);
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
    justify-content: center;
    gap: 12px;
}

/* ── Etiqueta ── */
.ac-share-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-hint);
    white-space: nowrap;
    flex-shrink: 0;
}
.ac-share--over-red .ac-share-label {
    color: rgba(255,255,255,0.7);
}

/* ── Fila de botones ── */
.ac-share-btns {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* ── Botón base ── */
.ac-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    position: relative;
    overflow: hidden;
}
.ac-share-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    pointer-events: none;
}
.ac-share-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.22);
    color: #fff;
}

/* Tamaño grande para cabecera de página y perfil */
.ac-share--over-red .ac-share-btn {
    width: 48px;
    height: 48px;
}
.ac-share--over-red .ac-share-btn svg {
    width: 20px;
    height: 20px;
}

/* Tamaño reducido para tarjetas */
.ac-share--card .ac-share-btn {
    width: 38px;
    height: 38px;
}
.ac-share--card .ac-share-btn svg {
    width: 15px;
    height: 15px;
}

/* ── Colores de marca ── */
.ac-fb     { background: #1877f2; }
.ac-wa     { background: #25d366; }
.ac-tw     { background: #000; }
.ac-ig     { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.ac-copy   { background: #6b7280; }
.ac-print  { background: #475569; }

/* Estado "copiado" */
.ac-copy.copied { background: #10b981; }

/* Icono de estado del botón copiar */
.ac-copy-icon { display: block; }
.ac-ok-icon   { display: none;  }
.ac-copy.copied .ac-copy-icon { display: none;  }
.ac-copy.copied .ac-ok-icon   { display: block; }

/* ── Responsive ── */
@media (max-width: 600px) {
    .ac-share { gap: 8px; flex-wrap: wrap; }
    .ac-share-btns { gap: 7px; }
    .ac-share-btn { width: 32px; height: 32px; }
    .ac-share-btn svg { width: 14px !important; height: 14px !important; }
    .ac-share--over-red .ac-share-btn { width: 34px; height: 34px; }
    .ac-share--over-red .ac-share-btn svg { width: 15px !important; height: 15px !important; }
    .ac-share--card .ac-share-btn { width: 28px; height: 28px; }
    .ac-share--card .ac-share-btn svg { width: 12px !important; height: 12px !important; }
    .ac-share--card { gap: 8px; padding: 10px 12px 12px; }
}

/* ═══════════════════════════════════════════════
   CONTACTO — Formulario nativo
   ═══════════════════════════════════════════════ */

.contact-header { background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%); }
.contact-header-sub {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-top: 12px;
}

/* ── Layout 2 columnas ── */
.contact-section { background: #f5f6f8; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

/* ── Formulario ── */
.contact-form-wrap {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.contact-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
    position: relative;
}
.contact-field label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.contact-field .req { color: var(--primary-red); }
.contact-field input,
.contact-field select,
.contact-field textarea {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.97rem;
    font-family: inherit;
    color: var(--dark-gray);
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(227,30,36,0.1);
    background: var(--white);
}
.contact-field textarea { resize: vertical; min-height: 140px; }
.contact-char-count {
    font-size: 0.75rem;
    color: #aaa;
    text-align: right;
    margin-top: 5px;
}
.contact-privacy {
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: var(--color-muted);
}
.contact-privacy label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.contact-privacy input[type="checkbox"] { margin-top: 2px; accent-color: var(--primary-red); flex-shrink: 0; }
.contact-privacy a { color: var(--primary-red); text-decoration: underline; }
.contact-submit {
    width: 100%;
    padding: 15px 28px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
}

/* ── Mensajes de estado ── */
.contact-success {
    text-align: center;
    padding: 48px 24px;
}
.contact-success svg {
    color: #10b981;
    margin-bottom: 16px;
}
.contact-success h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 10px;
}
.contact-success p { color: var(--color-muted); max-width: 400px; margin: 0 auto; }
.contact-errors {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #b91c1c;
    font-size: 0.9rem;
}
.contact-errors ul { margin: 8px 0 0 18px; }
.contact-errors li { margin-bottom: 4px; }

/* ── Aside info ── */
.contact-info {
    background: var(--white);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    position: sticky;
    top: 100px;
}
.contact-info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
}
.contact-info-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.92rem;
    color: var(--text-color);
    line-height: 1.5;
}
.contact-info-icon {
    width: 36px;
    height: 36px;
    background: #fef2f2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-red);
}
.contact-info-list a { color: var(--primary-red); }
.contact-info-list a:hover { text-decoration: underline; }

.contact-social-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #aaa;
    margin-bottom: 12px;
}
.contact-social-btns { display: flex; gap: 10px; }
.contact-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-social-btn svg { width: 18px; height: 18px; }
.contact-social-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }

/* ── Mapa ── */
.contact-map-section { line-height: 0; }
.contact-map-section iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info { position: static; }
}
@media (max-width: 600px) {
    .contact-form-wrap { padding: 24px 18px; }
    .contact-form-row { grid-template-columns: 1fr; }
    .contact-info { padding: 24px 18px; }
}

/* ═══════════════════════════════════════════════
   BREADCRUMBS — ac-breadcrumb
   ═══════════════════════════════════════════════ */
.ac-breadcrumb {
    background: #f5f6f8;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
    font-size: 0.82rem;
}
.ac-breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ac-breadcrumb-item a {
    color: var(--primary-red);
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.ac-breadcrumb-item a:hover { opacity: 0.75; text-decoration: underline; }
.ac-breadcrumb-item span[aria-current] {
    color: #6b7280;
    font-weight: 600;
    /* Truncar títulos largos en móvil */
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}
.ac-breadcrumb-sep { color: #9ca3af; font-size: 0.9rem; user-select: none; white-space: nowrap; }

@media (max-width: 600px) {
    .ac-breadcrumb { padding: 8px 0; font-size: 0.76rem; }
    .ac-breadcrumb-list { gap: 3px; flex-wrap: nowrap; overflow: hidden; }
    /* Ocultar todos los ítems del medio, dejar solo primero y último */
    .ac-breadcrumb-item:not(:first-child):not(:last-child),
    .ac-breadcrumb-sep:not(:last-of-type) { display: none; }
    /* Mostrar … entre inicio y página actual */
    .ac-breadcrumb-item:last-child::before {
        content: '… › ';
        color: #9ca3af;
    }
    .ac-breadcrumb-item:first-child:last-child::before { content: none; }
    .ac-breadcrumb-item span[aria-current] {
        max-width: 55vw;
        font-size: 0.76rem;
    }
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL — ac-reveal
   ═══════════════════════════════════════════════ */
.ac-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
}
.ac-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}
/* No aplicar en usuarios que prefieren movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .ac-reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════
   LIGHTBOX — ac-lightbox
   ═══════════════════════════════════════════════ */
.ac-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ac-lightbox[hidden] { display: none; }
.ac-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    cursor: zoom-out;
}
.ac-lightbox-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 60px 80px;
    box-sizing: border-box;
}
.ac-lightbox-img-wrap {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ac-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    transition: opacity 0.25s ease;
    display: block;
}
.ac-lightbox-spinner {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lb-spin 0.7s linear infinite;
    display: none;
}
@keyframes lb-spin { to { transform: rotate(360deg); } }
.ac-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}
.ac-lightbox-close:hover { background: rgba(255,255,255,0.25); }
.ac-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}
.ac-lightbox-nav:hover { background: rgba(255,255,255,0.28); }
.ac-lightbox-prev { left: 16px; }
.ac-lightbox-next { right: 16px; }
.ac-lightbox-caption { display: none; }
.ac-lightbox-counter { display: none; }
/* gallery-item-btn → regla completa en el bloque GALERÍA más abajo */

/* ═══════════════════════════════════════════════
   GALERÍA — Grid, filtros, items y overlay
   ═══════════════════════════════════════════════ */

/* Sección */
.gallery-section { background: #f5f6f8; padding: 60px 0 80px; }

/* Filtros */
.gallery-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}
.gallery-filters .filter-btn {
    padding: 9px 22px;
    border-radius: 50px;
    border: 2px solid #e5e7eb;
    background: var(--white);
    color: var(--text-color);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.gallery-filters .filter-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}
.gallery-filters .filter-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
}

/* Grid masonry con dense para rellenar huecos automáticamente */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 12px;
}

/* Item: posición relativa + padding-bottom para aspecto consistente */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #e5e7eb;
    /* aspect-ratio como fallback moderno */
    aspect-ratio: 4 / 3;
}
/* Cada 5.º item ocupa 2 columnas y proporción 16:9 */
.gallery-item:nth-child(5n + 1) {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

/* El botón cubre absolutamente todo el item — técnica más fiable que height:100% */
.gallery-item-btn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    display: block;
}

/* Imagen cubre el contenedor */
.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

/* Imagen vertical: mostrar completa sin recorte */
.gallery-item--portrait {
    background: #111;
}
.gallery-item--portrait img {
    /* object-fit se sobreescribe por JS a contain */
    transform-origin: center center;
}
.gallery-item--portrait:hover img { transform: scale(1.04); }

/* Overlay con gradiente y título */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 55%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 14px 16px;
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay { opacity: 1; }
.gallery-overlay h4 {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.gallery-zoom-icon {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ── Responsive ── */
@media (max-width: 1000px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 650px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .gallery-item:nth-child(5n + 1) { grid-column: span 2; aspect-ratio: 16 / 9; }
    .gallery-filters { gap: 7px; }
    .gallery-filters .filter-btn { padding: 7px 14px; font-size: 0.8rem; }
    /* Overlay siempre visible en táctil */
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0) 55%);
    }
}
@media (max-width: 400px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:nth-child(5n + 1) { grid-column: span 1; aspect-ratio: 4 / 3; }
}


.event-calendar-actions {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.event-cal-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-hint);
    flex-shrink: 0;
}
.event-cal-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.event-cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    background: var(--white);
    color: #374151;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.event-cal-btn:hover {
    border-color: var(--primary-red);
    background: var(--white)5f5;
    color: var(--primary-red);
    transform: translateY(-2px);
}
.event-cal-google:hover { border-color: #4285F4; background: #f0f4ff; color: #4285F4; }
@media (max-width: 600px) {
    .event-calendar-actions { flex-direction: column; align-items: flex-start; }
    .event-cal-btns { width: 100%; }
    .event-cal-btn { flex: 1; justify-content: center; }
}

/* ═══════════════════════════════════════════════
   NOTICIAS — Botón "Ver todas" al pie de sección
   ═══════════════════════════════════════════════ */
.news-footer {
    text-align: center;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}
.news-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--white);
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.news-more-btn:hover {
    background: var(--primary-red);
    color: #fff;
    transform: translateY(-2px);
}
.news-more-btn svg { transition: transform 0.2s; }
.news-more-btn:hover svg { transform: translateX(4px); }

/* ═══════════════════════════════════════════════
   GALERÍA — cabecera
   ═══════════════════════════════════════════════ */
.gallery-header { background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%); }
.gallery-header-sub { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-top: 12px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE LIGHTBOX
   ═══════════════════════════════════════════════ */
@media (max-width: 600px) {
    .ac-lightbox-inner { padding: 56px 16px 48px; }
    .ac-lightbox-nav { width: 40px; height: 40px; }
    .ac-lightbox-prev { left: 6px; }
    .ac-lightbox-next { right: 6px; }
    .ac-lightbox-img { max-width: 96vw; max-height: 78vh; }
    .ac-lightbox-caption { font-size: 0.82rem; bottom: 14px; }
}

/* ============ PAGE LOGIN ============ */
.login-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--mid-gray) 100%);
    padding: 40px 20px;
}
.login-container {
    width: 100%;
    max-width: 400px;
}
.login-box {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
}
.login-logo { margin-bottom: 30px; }
.login-logo img { max-height: 80px; width: auto; }
.login-box h1 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
}
.login-box .form-group .input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border-medium);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.login-box .form-group .input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(227,30,36,0.15);
}
.form-group.remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.form-group.submit .btn { width: 100%; padding: 14px; font-size: 1rem; }
.login-error {
    background: #fee;
    color: #c00;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.login-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.login-links a { color: var(--color-muted); font-size: 0.9rem; }
.login-links a:hover { color: var(--primary-red); }

/* ============ COMING SOON ============ */
.coming-soon-content { max-width: 700px; width: 100%; }
.coming-soon-logo { width: 120px; height: auto; margin-bottom: 25px; }
.coming-soon-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 15px;
    text-transform: uppercase;
}
.coming-soon-text { font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px; opacity: 0.9; }
.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.timer-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 15px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}
.timer-number { font-size: 1.8rem; font-weight: 700; color: var(--primary-red); display: block; }
.timer-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
.coming-soon-page .social-links { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; }
.coming-soon-page .social-link {
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1); border-radius: 50%; color: #fff;
    text-decoration: none; transition: all 0.3s ease;
}
.coming-soon-page .social-link:hover { background: var(--primary-red); transform: translateY(-3px); }
.cs-newsletter-form { max-width: 400px; margin: 0 auto; }
.cs-newsletter-form p { margin-bottom: 15px; font-size: 1.1rem; }
.cs-newsletter-input { display: flex; gap: 10px; }
.cs-newsletter-input input {
    flex: 1; padding: 15px 20px; border: none; border-radius: 50px; font-size: 1rem;
}
.cs-newsletter-input input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(227,30,36,0.15);
}
.cs-newsletter-input button {
    padding: 15px 30px; background: var(--primary-red); color: #fff;
    border: none; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
}
.cs-newsletter-input button:hover { background: var(--dark-red); }
@media (max-width: 600px) {
    .coming-soon-logo { width: 100px; margin-bottom: 20px; }
    .coming-soon-title { font-size: 1.8rem; margin-bottom: 15px; }
    .coming-soon-text { font-size: 1rem; margin-bottom: 25px; }
    .timer-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 25px; }
    .timer-item { padding: 12px 8px; }
    .timer-number { font-size: 1.5rem; }
    .timer-label { font-size: 0.65rem; }
    .coming-soon-page .social-links { margin-bottom: 25px; gap: 10px; }
    .coming-soon-page .social-link { width: 40px; height: 40px; }
    .coming-soon-page .social-link svg { width: 16px; height: 16px; }
    .cs-newsletter-form p { font-size: 1rem; margin-bottom: 12px; }
    .cs-newsletter-input input,
    .cs-newsletter-input button { padding: 12px 18px; font-size: 0.9rem; }
}

/* ── Share bar en páginas genéricas (fuera de sección hero) ── */
.ac-share--page {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 20px;
}
