/* ============================================================
   RESET Y VARIABLES
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0A0A0A;
    --bg-secondary: #121212;
    --bg-card: #1A1A1A;
    --text-primary: #F5F5F5;
    --text-secondary: #A0A0A0;
    --blood-red: #8B0000;
    --red-neon: #FF1A1A;
    --gold-metal: #B8860B;
    --border-color: #2A2A2A;
    --shadow-red: 0 0 25px rgba(255, 26, 26, 0.4);
    --font-title: 'Russo One', sans-serif;
    --font-text: 'Roboto Condensed', sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-text);
    overflow-x: hidden;
    min-height: 100vh;
}

::-webkit-scrollbar { width: 8px; background: #1A1A1A; }
::-webkit-scrollbar-thumb { background: var(--blood-red); border-radius: 4px; border: 1px solid #2A2A2A; }
::-webkit-scrollbar-track { background: #0A0A0A; }

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A0A0A;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
#splash-screen.hide {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.splash-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.splash-logo-container::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 26, 26, 0.3) 0%, transparent 70%);
    animation: pulseRedLight 1.8s ease-in-out infinite alternate;
    border-radius: 50%;
    pointer-events: none;
}

@keyframes pulseRedLight {
    0% { transform: scale(0.8); opacity: 0.4; box-shadow: 0 0 80px rgba(255, 26, 26, 0.2); }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 150px rgba(255, 26, 26, 0.5); }
}

.splash-logo-img {
    max-width: 80%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255, 26, 26, 0.3));
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.splash-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--blood-red);
    padding-bottom: 10px;
    z-index: 2;
    position: relative;
}

.btn-rock {
    background: transparent;
    border: 3px solid var(--red-neon);
    color: var(--red-neon);
    padding: 18px 50px;
    font-family: var(--font-title);
    font-size: 1.8rem;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 26, 26, 0.2);
    border-radius: 5px;
    background: rgba(139, 0, 0, 0.1);
    z-index: 2;
    position: relative;
}
.btn-rock:hover { background: var(--blood-red); color: #fff; box-shadow: var(--shadow-red); transform: scale(1.05); }
.btn-rock:active { transform: scale(0.95); }

/* ============================================================
   GLITCH OVERLAY
   ============================================================ */
.glitch-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #8B0000;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: overlay;
}
.glitch-overlay.active { animation: glitchFlash 0.8s forwards; }

@keyframes glitchFlash {
    0% { opacity: 0; }
    10% { opacity: 0.9; }
    20% { opacity: 0; }
    30% { opacity: 0.8; }
    40% { opacity: 0; }
    70% { opacity: 0.6; }
    100% { opacity: 0; }
}

/* ============================================================
   MAIN APP
   ============================================================ */
#main-app {
    display: none;
    opacity: 0;
    animation: fadeInMain 1s ease forwards;
}
#main-app.show { display: block; }

@keyframes fadeInMain {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 2px solid var(--blood-red);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    gap: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 26, 26, 0.3));
    transition: 0.3s;
}
.logo-img:hover {
    filter: drop-shadow(0 0 30px rgba(255, 26, 26, 0.6));
}

.logo-skull-small {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 26, 26, 0.2));
    transition: 0.3s;
}
.logo-skull-small:hover {
    filter: drop-shadow(0 0 25px rgba(255, 26, 26, 0.5));
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}
.logo-text {
    font-family: var(--font-title);
    font-size: 1.8rem;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-shadow: 0 0 15px var(--blood-red);
}
.logo-text span { color: var(--red-neon); }
.logo-slogan {
    font-size: 0.7rem;
    color: var(--gold-metal);
    letter-spacing: 2px;
    margin-top: -5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ============================================================
   RADIO PLAYER
   ============================================================ */
.radio-player {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 5px 15px 5px 10px;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.1);
    transition: 0.3s;
}
.radio-player:hover { border-color: var(--blood-red); }

.radio-player .radio-label {
    font-family: var(--font-title);
    font-size: 0.7rem;
    color: var(--gold-metal);
    letter-spacing: 1px;
    margin-right: 5px;
}

.radio-player button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 6px 12px;
    transition: 0.3s;
    border-radius: 20px;
    font-family: var(--font-title);
    letter-spacing: 1px;
    font-weight: bold;
}
.radio-player button:hover { 
    background: var(--blood-red); 
    color: #fff; 
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.3);
}

.radio-player .volume-control {
    display: flex;
    align-items: center;
    gap: 5px;
}
.radio-player .volume-control input[type="range"] {
    width: 60px;
    height: 4px;
    -webkit-appearance: none;
    background: var(--border-color);
    border-radius: 2px;
    outline: none;
}
.radio-player .volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red-neon);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 26, 26, 0.4);
}
.radio-player .volume-control input[type="range"]::-moz-range-thumb {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--red-neon); cursor: pointer; border: none;
}

.radio-player .status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #444; display: inline-block; transition: 0.3s;
}
.radio-player .status-dot.playing {
    background: #32CD32;
    box-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.vol-label {
    font-size: 0.6rem;
    color: var(--text-secondary);
    font-weight: bold;
    letter-spacing: 1px;
}

/* ============================================================
   CART TOGGLE
   ============================================================ */
.cart-toggle {
    background: var(--blood-red);
    border: none;
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
    font-weight: bold;
    letter-spacing: 1px;
}
.cart-toggle:hover { background: var(--red-neon); transform: scale(1.05); }

.cart-badge {
    background: #000;
    color: var(--red-neon);
    border-radius: 50%;
    padding: 0 8px;
    font-weight: bold;
    font-size: 0.9rem;
}

.sound-toggle {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-title);
    letter-spacing: 1px;
    font-weight: bold;
}
.sound-toggle:hover { 
    border-color: var(--red-neon); 
    color: var(--red-neon); 
    background: rgba(255, 26, 26, 0.1);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    text-align: center;
    padding: 30px 20px 20px;
    background: radial-gradient(circle at 30% 30%, #1A0A0A, #0A0A0A 80%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 2.8rem;
    letter-spacing: 6px;
}
.hero h1 .highlight { color: var(--red-neon); text-shadow: 0 0 30px rgba(255, 26, 26, 0.6); }

.typewriter-text {
    font-size: 1.5rem;
    color: var(--gold-metal);
    min-height: 3rem;
    border-right: 3px solid var(--red-neon);
    display: inline-block;
    padding-right: 5px;
    animation: blinkCursor 0.8s step-end infinite;
}
@keyframes blinkCursor { 50% { border-color: transparent; } }

/* ============================================================
   CARRUSEL
   ============================================================ */
.carousel-container {
    max-width: 700px;
    margin: 25px auto 10px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 40px rgba(139, 0, 0, 0.15);
    background: var(--bg-card);
    z-index: 1;
}
.carousel-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.carousel-slide {
    min-width: 100%;
    padding: 40px 30px;
    text-align: center;
    background: var(--bg-card);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.carousel-slide .slide-emoji { font-size: 4.5rem; line-height: 1.2; filter: drop-shadow(0 0 20px rgba(255, 26, 26, 0.3)); }
.carousel-slide .slide-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: #fff;
    margin: 10px 0 5px;
    letter-spacing: 1px;
}
.carousel-slide .slide-desc { color: var(--text-secondary); font-size: 1.1rem; max-width: 400px; }
.carousel-slide .slide-tag {
    display: inline-block;
    background: var(--blood-red);
    color: #fff;
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 10px;
    letter-spacing: 2px;
    font-family: var(--font-title);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--border-color);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.carousel-btn:hover { background: var(--blood-red); border-color: var(--red-neon); box-shadow: 0 0 20px rgba(255, 26, 26, 0.3); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0 10px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}
.carousel-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--text-secondary);
    border: none;
    cursor: pointer;
    transition: 0.3s;
    padding: 0;
}
.carousel-dot.active { background: var(--red-neon); box-shadow: 0 0 15px rgba(255, 26, 26, 0.6); transform: scale(1.2); }
.carousel-dot:hover { background: var(--blood-red); }

/* ============================================================
   MENU
   ============================================================ */
.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}
.category-tab {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 25px;
    font-family: var(--font-title);
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 30px;
    letter-spacing: 1px;
}
.category-tab.active,
.category-tab:hover {
    border-color: var(--red-neon);
    color: #fff;
    background: rgba(139, 0, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 26, 26, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--blood-red);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
}
.product-emoji { 
    font-size: 1.5rem; 
    text-align: center; 
    margin-bottom: 10px;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-emoji img {
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.product-name { font-family: var(--font-title); font-size: 1.4rem; color: #fff; }
.product-desc { color: var(--text-secondary); font-size: 0.9rem; flex-grow: 1; margin: 8px 0; }
.product-price { font-family: var(--font-title); font-size: 1.6rem; color: var(--gold-metal); margin: 10px 0; }
.product-actions { display: flex; gap: 10px; align-items: center; margin-top: 10px; }

.btn-add {
    background: var(--blood-red);
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-family: var(--font-title);
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    flex: 1;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.btn-add:hover { background: var(--red-neon); box-shadow: var(--shadow-red); }

.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0A0A0A;
    border-radius: 30px;
    padding: 4px;
    border: 1px solid var(--border-color);
}
.qty-control button {
    background: transparent;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}
.qty-control button:hover { background: var(--blood-red); }
.qty-control span { min-width: 25px; text-align: center; font-weight: bold; }

/* ============================================================
   CARRITO OVERLAY
   ============================================================ */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 200;
    display: none;
    justify-content: flex-end;
    backdrop-filter: blur(5px);
}
.cart-overlay.open { display: flex; }

.cart-panel {
    background: var(--bg-secondary);
    width: 100%;
    max-width: 420px;
    padding: 25px;
    border-left: 3px solid var(--blood-red);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    animation: slideIn 0.4s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.cart-header h2 { font-family: var(--font-title); color: var(--red-neon); }
.cart-close { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.cart-item-info h4 { font-size: 1rem; }
.cart-item-info p { color: var(--text-secondary); font-size: 0.8rem; }
.cart-item-actions { display: flex; align-items: center; gap: 10px; }
.cart-item-actions button {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}
.cart-item-actions button:hover { background: var(--blood-red); border-color: var(--blood-red); }

.cart-total {
    margin-top: auto;
    padding-top: 20px;
    border-top: 3px solid var(--gold-metal);
}
.cart-total div { display: flex; justify-content: space-between; font-size: 1.2rem; margin: 5px 0; }
.cart-total .grand-total { font-family: var(--font-title); font-size: 2rem; color: var(--gold-metal); }

.btn-checkout {
    background: var(--gold-metal);
    border: none;
    color: #000;
    padding: 15px;
    font-family: var(--font-title);
    font-size: 1.5rem;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
    font-weight: bold;
}
.btn-checkout:hover { background: #DAA520; transform: scale(1.02); }

.btn-clear-cart {
    background: transparent;
    border: 1px solid var(--blood-red);
    color: var(--blood-red);
    padding: 10px;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
}

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 300;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.checkout-modal.open { display: flex; }

.checkout-panel {
    background: var(--bg-secondary);
    max-width: 550px;
    width: 92%;
    padding: 25px;
    border-radius: 20px;
    border: 2px solid var(--blood-red);
    max-height: 95vh;
    overflow-y: auto;
}
.checkout-panel h2 { font-family: var(--font-title); color: var(--red-neon); margin-bottom: 20px; text-align: center; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; color: var(--text-secondary); }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background: #0A0A0A;
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 8px;
    font-family: var(--font-text);
}
.form-group textarea { resize: vertical; min-height: 60px; }

/* ============================================================
   MAPA - ESTILOS MEJORADOS
   ============================================================ */
.map-container {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    margin: 10px 0;
    position: relative;
    background: #1A1A1A;
}

.map-container .leaflet-container {
    height: 100% !important;
    width: 100% !important;
    background: #1A1A1A;
}

.map-container .leaflet-control-zoom {
    border: none !important;
    background: rgba(0, 0, 0, 0.7) !important;
    border-radius: 8px !important;
}

.map-container .leaflet-control-zoom a {
    color: #fff !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.2rem !important;
}

.map-container .leaflet-control-zoom a:hover {
    background: var(--blood-red) !important;
    color: #fff !important;
}

.map-container .leaflet-popup-content-wrapper {
    background: #1A1A1A !important;
    color: #fff !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
}

.map-container .leaflet-popup-tip {
    background: #1A1A1A !important;
}

/* Marcador personalizado */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

.custom-marker div {
    transition: 0.3s;
}

.custom-marker div:hover {
    transform: scale(1.2);
}

.map-btn-locate {
    background: var(--blood-red);
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-text);
    font-weight: bold;
    transition: 0.3s;
    margin-bottom: 8px;
    width: 100%;
}
.map-btn-locate:hover { background: var(--red-neon); }
.map-btn-locate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================================
   MODAL DE DETALLES DEL PRODUCTO
   ============================================================ */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 400;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.product-detail-modal.open { display: flex; }

.product-detail-panel {
    background: var(--bg-secondary);
    max-width: 500px;
    width: 92%;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--blood-red);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    text-align: center;
}
.product-detail-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}
.product-detail-close:hover { color: var(--red-neon); transform: rotate(90deg); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}
footer .social a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 15px;
    transition: 0.3s;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
}
footer .social a:hover { color: var(--red-neon); }
footer p { color: var(--text-secondary); margin-top: 15px; font-size: 0.9rem; }

.counter-almas { font-family: var(--font-title); color: var(--gold-metal); font-size: 1.2rem; }

.btn-repeat-song {
    background: transparent;
    border: 2px solid var(--gold-metal);
    color: var(--gold-metal);
    padding: 10px 25px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 30px;
    margin-top: 15px;
}
.btn-repeat-song:hover {
    background: var(--gold-metal);
    color: #000;
    box-shadow: 0 0 30px rgba(184, 134, 11, 0.3);
}
.btn-repeat-song:active { transform: scale(0.95); }

/* ============================================================
   PWA INSTALL BANNER
   ============================================================ */
#install-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #1A1A1A;
    border-top: 3px solid var(--blood-red);
    padding: 12px 20px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.8);
}

#install-banner .banner-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

#install-banner .banner-info img {
    height: 40px;
    width: 40px;
    border-radius: 8px;
}

#install-banner .banner-info strong {
    color: #fff;
    font-family: var(--font-title);
    letter-spacing: 1px;
}

#install-banner .banner-info p {
    color: #888;
    font-size: 0.8rem;
    margin: 0;
}

#install-banner .banner-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

#installAppBtn {
    background: var(--blood-red);
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-title);
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}
#installAppBtn:hover {
    background: var(--red-neon);
    transform: scale(1.05);
}

#closeInstallBanner {
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}
#closeInstallBanner:hover {
    color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .splash-logo-img { max-height: 300px; }
    .btn-rock { padding: 15px 30px; font-size: 1.4rem; }
    .logo-img { height: 35px; }
    .logo-skull-small { height: 30px; }
    .logo-text { font-size: 1.4rem; }
    .hero h1 { font-size: 2rem; }
    .typewriter-text { font-size: 1.2rem; }
    .cart-panel { max-width: 100%; border-left: none; border-top: 3px solid var(--blood-red); }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .product-emoji { min-height: 100px; }
    .product-emoji img { max-height: 90px; }
    .carousel-slide .slide-title { font-size: 1.4rem; }
    .carousel-slide .slide-emoji { font-size: 3.5rem; }
    .carousel-slide { padding: 30px 20px; min-height: 160px; }
    .carousel-btn { width: 35px; height: 35px; font-size: 1.2rem; }
    .radio-player .volume-control input[type="range"] { width: 40px; }
    .radio-player .radio-label { font-size: 0.6rem; }
    header { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px; }
    .header-actions { justify-content: space-between; width: 100%; }
    .radio-player { flex: 1; justify-content: center; }
    .checkout-panel { max-width: 100%; padding: 20px; }
    .map-container { height: 180px; }
    .product-detail-panel { max-width: 95%; padding: 20px; }
    .sound-toggle { font-size: 0.7rem; padding: 5px 12px; }
    footer .social a { font-size: 0.8rem; margin: 0 8px; }
    #install-banner { padding: 10px 15px; }
    #install-banner .banner-info img { height: 30px; width: 30px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .category-tab { padding: 6px 15px; font-size: 0.8rem; }
    .radio-player button { font-size: 0.7rem; padding: 4px 10px; }
    .radio-player .volume-control input[type="range"] { width: 30px; }
    .checkout-panel { padding: 15px; }
    .splash-logo-img { max-height: 200px; }
    .btn-rock { font-size: 1rem; padding: 12px 20px; }
    .logo-skull-small { height: 25px; }
    .product-emoji { min-height: 80px; }
    .product-emoji img { max-height: 70px; }
    .sound-toggle { font-size: 0.6rem; padding: 4px 10px; }
    footer .social a { font-size: 0.7rem; margin: 0 5px; }
    #install-banner { flex-direction: column; align-items: stretch; gap: 8px; }
    #install-banner .banner-actions { justify-content: space-between; width: 100%; }
    #installAppBtn { flex: 1; text-align: center; padding: 10px; }
    .map-container { height: 150px; }
}

@media (display-mode: standalone) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Estilo para el mensaje de envio */
#envio-mensaje {
    font-size: 0.6rem;
    color: #888;
    text-align: center;
    margin-top: 5px;
    font-style: italic;
}/* ============================================================
   CHECKOUT BOTONES MEJORADOS
   ============================================================ */
.checkout-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.btn-whatsapp {
    background: #25D366;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    width: 100%;
}

.btn-whatsapp:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:active {
    transform: scale(0.97);
}

.btn-whatsapp .btn-icon {
    font-size: 1.1rem;
}

.btn-cancel {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-cancel:hover {
    border-color: var(--blood-red);
    color: #fff;
    background: rgba(139, 0, 0, 0.1);
}

.btn-cancel:active {
    transform: scale(0.97);
}

/* ============================================================
   NOTIFICACIONES PUSH
   ============================================================ */
.notification-banner {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--blood-red);
    border-radius: 12px;
    padding: 15px 20px;
    z-index: 5000;
    max-width: 350px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    animation: slideInNotification 0.5s ease;
    display: none;
}

.notification-banner.show {
    display: block;
}

@keyframes slideInNotification {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-banner .notif-title {
    font-family: var(--font-title);
    color: var(--red-neon);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.notification-banner .notif-body {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.notification-banner .notif-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.2rem;
}

/* BOTON DE SUSCRIPCION A NOTIFICACIONES */
.btn-notify {
    background: var(--blood-red);
    border: none;
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 0.65rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-notify:hover {
    background: var(--red-neon);
    transform: scale(1.05);
}

.btn-notify.active {
    background: #32CD32;
}

/* ============================================================
   RESPONSIVE PARA BOTONES
   ============================================================ */
@media (max-width: 768px) {
    .btn-whatsapp {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    .btn-cancel {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    .notification-banner {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .btn-whatsapp {
        font-size: 0.7rem;
        padding: 6px 14px;
    }
    .btn-cancel {
        font-size: 0.65rem;
        padding: 5px 10px;
    }
}