/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f6f3;
    color: #2c2c2c;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   HEADER
========================= */

.header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO TEXTO */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    letter-spacing: 2px;
}

/* LOGO IMAGEN */
.logo img{
height:55px;
width:auto;
display:block;
}

/* quitar subrayado y color enlaces del logo */
.logo a{
text-decoration:none !important;
color:black !important;
}

.logo a:hover{
text-decoration:none !important;
color:black !important;
}

.logo a:visited{
color:black !important;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 400;
    transition: 0.3s;
}

nav a:hover {
    color: #b89b5e;
}

.btn-carrito {
    border: 1px solid #b89b5e;
    padding: 8px 16px;
    border-radius: 20px;
}

/* =========================
   HERO
========================= */

.hero {
    background-image: url("fotos/fondoart.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(248,246,243,0.60),
        rgba(248,246,243,0.50)
    );
}

.hero-content {
    position: relative;
    max-width: 700px;
    padding: 40px;
}

/* logo grande centro */
.logo-hero{
width:220px;
display:block;
margin:0 auto 25px auto;
opacity:1;
}

/* SIN efectos hover */
.logo-hero:hover{
transform:none;
opacity:1;
transition:none;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #555;
}

/* =========================
   BOTONES
========================= */

.btn-gold {
    background-color: #b89b5e;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: #a1844d;
}

.btn-gold.grande {
    padding: 16px 40px;
    font-size: 18px;
}

/* =========================
   SECCIÓN PRODUCTOS
========================= */

.productos {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

/* =========================
   TARJETAS PRODUCTO
========================= */

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8e2d8;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.card-link:hover .card {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    border-color: #b89b5e;
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card-body {
    padding: 22px;
}

.card-body h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.card-body p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 600;
    color: #b89b5e;
}

/* =========================
   PRODUCTO INDIVIDUAL
========================= */

.producto-individual {
    padding: 120px 0;
}

.producto-grid {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
    align-items: center;
}

.producto-img {
    flex: 1;
}

.producto-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.producto-info {
    flex: 1;
}

.producto-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.descripcion {
    margin-bottom: 30px;
    color: #555;
    font-size: 16px;
}

.precio {
    color: #b89b5e;
    font-size: 28px;
    margin-bottom: 30px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero h1 {
        font-size: 38px;
    }

    .producto-grid {
        flex-direction: column;
        gap: 40px;
    }

    .producto-info h1 {
        font-size: 30px;
    }

    .logo-hero{
        width:150px;
    }
}

/* =========================
   FOOTER
========================= */

.footer {
    background: linear-gradient(to top, #1e1e1e, #2a2a2a);
    color: #ccc;
    padding: 80px 0 20px 0;
    margin-top: 80px;
    box-shadow: 0 -8px 15px rgba(0,0,0,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 20px;
}

.footer h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    color: white;
    font-size: 20px;
}

.footer p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: #b89b5e;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    border-top: 2px solid #555;
    padding-top: 20px;
    color: #888;
}

/* contenedor logo + texto */
.logo-link{
display:flex;
align-items:center;
gap:14px;
text-decoration:none !important;
color:black !important;
}

/* sin efectos raros */
.logo-link:hover{
color:black !important;
text-decoration:none !important;
}

/* tamaño logo */
.logo-link img{
height:42px;
width:auto;
display:block;
}

/* texto marca */
.logo-link span{
font-family:'Playfair Display', serif;
font-size:22px;
letter-spacing:2px;
color:black;
}

.logo-link{
display:flex;
align-items:center;
gap:14px;
text-decoration:none !important;
}

/* imagen logo */
.logo-link img{
height:42px;
width:auto;
display:block;
}

/* TEXTO MARCA (esto es lo que faltaba) */
.texto-logo{
font-family:'Playfair Display', serif;
font-size:22px;
letter-spacing:2px;
color:#2c2c2c;
}

/* quitar efectos */
.logo-link:hover,
.logo-link:visited,
.logo-link:active{
text-decoration:none !important;
color:#2c2c2c !important;
}

.logo-link{
display:flex;
align-items:center;
gap:12px;
text-decoration:none !important;
}

.texto-logo{
font-family:'Playfair Display', serif;
font-size:20px;
letter-spacing:3px;
font-weight:600;
}


button[name="eliminar"]{
background:transparent;
color:#b89b5e;
border:1px solid #b89b5e;
padding:8px 18px;
border-radius:30px;
cursor:pointer;
transition:0.3s;
}

button[name="eliminar"]:hover{
background:#b89b5e;
color:white;
}

/* BUSCADOR EN VIVO */

.search-container{
    position: relative;
    margin-left: 20px;
}

.search-container input{
    padding: 8px 14px;
    border-radius: 30px;
    border: 1px solid #e8e2d8;
    outline: none;
    width: 160px;
}

#resultados-busqueda{
    position: absolute;
    top: 45px;
    left: 0;
    width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    z-index: 999;
}

.resultado-item{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    color: #2c2c2c;
    border-bottom: 1px solid #eee;
}

.resultado-item img{
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.resultado-item:hover{
    background: #f8f6f3;
}

.sin-resultados{
    padding: 10px;
    color: #999;
}

/* BUSCADOR HEADER CENTRADO */

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.search-container{
    position: relative;
}

.search-container input{
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid #b89b5e; /* dorado */
    background: white;
    outline: none;
    width: 220px;
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
}

.search-container input:focus{
    box-shadow: 0 0 0 2px rgba(184,155,94,0.2);
}

/* resultados */
#resultados-busqueda{
    position: absolute;
    top: 45px;
    left: 0;
    width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    z-index: 999;
}

.resultado-item{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    color: #2c2c2c;
    border-bottom: 1px solid #eee;
}

.resultado-item img{
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.resultado-item:hover{
    background: #f8f6f3;
}

.sin-resultados{
    padding: 10px;
    color: #999;
}




html, body {
    overflow-x: hidden;
}

/* =========================
   🔥 FIX DEFINITIVO HEADER MÓVIL
========================= */

@media (max-width: 768px) {

    .nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    nav {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    nav a {
        margin: 0;
    }

    /* BUSCADOR */
    .search-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .search-container input {
        width: 90%;
        max-width: 280px;
    }

    /* RESULTADOS BUSCADOR */
    #resultados-busqueda {
        width: 90%;
        left: 5%;
    }

}

/* =========================
   ✨ BOTONES PREMIUM PRO
========================= */

/* base mejorada */
.btn-gold {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
}

/* hover flotante elegante */
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184,155,94,0.3);
}

/* click (efecto presión) */
.btn-gold:active {
    transform: scale(0.96);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* efecto luz deslizante */
.btn-gold::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transform: skewX(-20deg);
}

/* animación del brillo */
.btn-gold:hover::before {
    animation: brillo 0.8s ease;
}

@keyframes brillo {
    from {
        left: -100%;
    }
    to {
        left: 130%;
    }
}

/* =========================
   🛒 BOTÓN CARRITO (más fino)
========================= */

.btn-carrito {
    transition: all 0.3s ease;
    position: relative;
}

/* hover elegante */
.btn-carrito:hover {
    background: #b89b5e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184,155,94,0.25);
}

/* click */
.btn-carrito:active {
    transform: scale(0.95);
}

/* pequeño glow */
.btn-carrito::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: 0 0 0 0 rgba(184,155,94,0.4);
    transition: 0.4s;
}

.btn-carrito:hover::after {
    box-shadow: 0 0 12px rgba(184,155,94,0.4);
}

/* =========================
   ✨ LINKS HEADER PREMIUM
========================= */

.btnnn {
    position: relative;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* efecto hover suave */
.btnnn:hover {
    background: rgba(184,155,94,0.1);
    transform: translateY(-2px);
}

/* línea elegante animada */
.btnnn::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: #b89b5e;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 70%;
}

/* click */
nav a:active {
    transform: scale(0.95);
}

/* =========================
   🔍 BUSCADOR PREMIUM
========================= */

.search-container input {
    transition: all 0.3s ease;
}

/* hover */
.search-container input:hover {
    box-shadow: 0 4px 12px rgba(184,155,94,0.2);
}

/* focus (cuando escribes) */
.search-container input:focus {
    box-shadow: 0 0 0 2px rgba(184,155,94,0.3),
                0 6px 20px rgba(0,0,0,0.08);
    transform: scale(1.02);
}

/* pequeño glow */
.search-container {
    transition: 0.3s;
}

/* =========================
   ⚖️ LINKS LEGALES FOOTER
========================= */

.legal-links {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.7;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.legal-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* hover elegante */
.legal-links a:hover {
    color: #b89b5e;
}

/* línea sutil animada */
.legal-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0%;
    height: 1px;
    background: #b89b5e;
    transition: 0.3s;
    transform: translateX(-50%);
}

.legal-links a:hover::after {
    width: 80%;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@media (max-width: 600px) {
    .legal-links {
        font-size: 11px;
        gap: 6px;
    }
}

.footer {
    opacity: 1;
    transform: none;
}

/* =========================
   📜 PÁGINAS LEGALES
========================= */

.legal-page {
    padding: 100px 0;
}

.legal-container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* títulos */
.legal-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin-bottom: 25px;
}

.legal-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* texto */
.legal-container p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

/* listas */
.legal-container ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-container li {
    margin-bottom: 8px;
}

/* efecto suave */
.legal-container {
    animation: fadeInLegal 0.6s ease;
}

@keyframes fadeInLegal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   ✉️ EMAIL FOOTER ANIMADO
========================= */

.footer a[href^="mailto"] {
    position: relative;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* hover color */
.footer a[href^="mailto"]:hover {
    color: #b89b5e;
}

/* línea animada */
.footer a[href^="mailto"]::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0%;
    height: 1px;
    background: #b89b5e;
    transition: 0.3s;
    transform: translateX(-50%);
}

/* animación */
.footer a[href^="mailto"]:hover::after {
    width: 80%;
}

/* =========================
   🍪 COOKIE BANNER PREMIUM
========================= */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 9999;
}

.cookie-box {
    background: rgba(30,30,30,0.95);
    color: #ddd;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease;
}

.cookie-box p {
    font-size: 14px;
    margin-bottom: 15px;
}

/* botones */
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* botón rechazar */
.btn-outline {
    border: 1px solid #b89b5e;
    background: transparent;
    color: #b89b5e;
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #b89b5e;
    color: white;
}

/* link configurar */
.configurar {
    color: #aaa;
    font-size: 13px;
    text-decoration: none;
    align-self: center;
}

.configurar:hover {
    color: #b89b5e;
}

/* animación */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* oculto */
.cookie-banner.hidden {
    display: none;
}

/* BLOQUEO TOTAL DE WEB */

.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    z-index: 9998;
}

/* evitar scroll */
body.bloqueado {
    overflow: hidden;
}

.hero-content h2 {
    font-weight: normal; /* Elimina la negrita */
    font-family: 'Brush Script MT', cursive; /* O cualquier otra fuente artística que prefieras */
    font-size: 40px; /* Puedes ajustar el tamaño según lo desees */
    color: #333; /* Ajusta el color si lo necesitas */
}