/* ==========================================================================
   DIFFERENTTE - ESTILOS BASE (ACERO Y COBRE)
   ========================================================================== */

/* Importar fuente Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
    --cobre: #b87333;
    --cobre-brillante: #eec591;
    --antracita: #1a1a1a;
    --gris-oscuro: #333333;
    --blanco-sucio: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    color: var(--antracita);
    background-color: var(--blanco-sucio);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- CURSOR PERSONALIZADO --- */
html, body, a, button, select, input {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><defs><linearGradient id='plateado' x1='0%' y1='0%' x2='100%' y2='100%'><stop offset='0%' stop-color='%23ffffff'/><stop offset='100%' stop-color='%23808080'/></linearGradient><linearGradient id='cobrizo' x1='0%' y1='0%' x2='100%' y2='100%'><stop offset='0%' stop-color='%23ffccb3'/><stop offset='100%' stop-color='%23b87333'/></linearGradient></defs><path d='M12 12 L19 19' stroke='url(%23cobrizo)' stroke-width='5' stroke-linecap='round'/><polygon points='0,0 20,7 7,20' fill='url(%23plateado)' stroke='%23333' stroke-width='0.8'/><polygon points='0,0 10,3.5 3.5,10' fill='url(%23cobrizo)' stroke='%233a2412' stroke-width='0.8'/></svg>") 0 0, auto !important;
}

/* ==========================================================================
   TIPOGRAFÍA Y EFECTOS METÁLICOS
   ========================================================================== */

.copper-text, .navbar-brand {
    background: linear-gradient(
        to right, 
        #b87333 0%, 
        #eec591 25%, 
        #b87333 50%, 
        #eec591 75%, 
        #b87333 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: brilloMetalico 4s linear infinite;
    display: inline-block;
    font-weight: 700;
}

@keyframes brilloMetalico {
    to { background-position: 200% center; }
}

/* ==========================================================================
   COMPONENTES DE NAVEGACIÓN Y HEADER
   ========================================================================== */

header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('img/fondo.jpeg');
    background-size: cover; 
    background-position: center;
    background-attachment: fixed; 
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: white;
}

header h1 {
    font-size: 4.5rem;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.9);
}

.cart-icon-container {
    position: relative;
    display: inline-block;
    padding: 0.5rem;
}

#cart-count {
    position: absolute;
    top: 0;
    right: -5px;
    background-color: var(--cobre);
    color: white;
    border-radius: 50%;
    padding: 1px 6px;
    font-size: 0.7rem;
    font-weight: bold;
    border: 1px solid white;
}

/* ==========================================================================
   TARJETAS Y BOTONES
   ========================================================================== */

.btn-primary {
    background: linear-gradient(145deg, var(--cobre), #a0632b) !important;
    border: none !important;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(184, 115, 51, 0.4);
}

.card { transition: all 0.4s ease; border: none; }
.card:hover { transform: translateY(-10px); }

.copper-card { border: 1px solid rgba(184, 115, 51, 0.2) !important; }
.copper-card:hover { box-shadow: 0 10px 30px rgba(184, 115, 51, 0.3) !important; }

/* ==========================================================================
   ESTILOS DE LA CESTA (CARRITO.HTML)
   ========================================================================== */

.progress-container { margin-bottom: 3rem; }

.step-circle { 
    width: 35px; 
    height: 35px; 
    border-radius: 50%; 
    background: #dee2e6; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: bold; 
    margin: 0 auto 5px; 
    color: #6c757d; 
}

.step-item.active .step-circle { 
    background: var(--cobre); 
    color: white; 
}

.step-item.active p { 
    color: var(--cobre); 
    font-weight: bold; 
}

.card-resumen {
    border-top: 4px solid var(--cobre);
}

/* Controles de cantidad en el carrito */
.qty-controls { 
    display: flex; 
    align-items: center; 
    background: #f8f9fa; 
    border-radius: 8px; 
    width: fit-content; 
    padding: 2px; 
    border: 1px solid #dee2e6; 
}

/* ==========================================================================
   MODO OSCURO
   ========================================================================== */

body.dark-mode {
    background-color: #0f0f0f !important;
    color: #f1f1f1 !important;
}

body.dark-mode .bg-light, 
body.dark-mode .bg-white,
body.dark-mode #lista-carrito {
    background-color: #1a1a1a !important;
    color: #f1f1f1 !important;
    border-color: #333 !important;
}

body.dark-mode .card,
body.dark-mode .product-card-inner {
    background-color: #252525 !important;
    border-color: #444 !important;
    color: white !important;
}

body.dark-mode .qty-controls { 
    background: #2b3035; 
    border-color: #495057; 
}

/* ==========================================================================
   BANNER DE COOKIES
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #1a1a1a;
    color: white;
    padding: 25px;
    z-index: 9999;
    border-left: 5px solid var(--cobre);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border-radius: 8px;
}

.btn-cookie {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 4px;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-accept { background: var(--cobre); color: white; border: none; }
.btn-settings { background: transparent; color: var(--cobre); border: 1px solid var(--cobre); }
.btn-reject { background: transparent; color: #888; border: 1px solid #444; }

/* ==========================================================================
   EXTRAS (WHATSAPP, ANIMACIONES)
   ========================================================================== */

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

img { animation: fadeIn 1s ease-in; }