


/* RESET */
*{margin:0;padding:0;box-sizing:border-box;}

body{
font-family:'Montserrat',sans-serif;
background:#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 img{height:55px;}

.logo a{text-decoration:none;color:black;}

nav a{
margin-left:25px;
text-decoration:none;
color:#2c2c2c;
transition:.3s;
}

nav a:hover{color:#b89b5e;}

/* HERO */
.hero{
background:url("fotos/fondoart.png") center/cover no-repeat;
min-height:50vh;
display:flex;
align-items:center;
justify-content:center;
position:relative;
text-align:center;
}

.hero::before{
content:"";
position:absolute;
inset:0;
background:rgba(248,246,243,.6);
}

.hero-content{position:relative;}

.logo-hero{width:180px;margin-bottom:20px;}

.hero h1{
font-family:'Playfair Display',serif;
font-size:42px;
}

.hero h2{
font-family:'Brush Script MT',cursive;
font-size:30px;
}

/* 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 */
.card-link{text-decoration:none;color:inherit;}

.card{
background:white;
border-radius:16px;
overflow:hidden;
border:1px solid #e8e2d8;
box-shadow:0 8px 20px rgba(0,0,0,.04);
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 18px 40px rgba(0,0,0,.08);
}

/* IMÁGENES HOVER */
.img-hover-container{position:relative;}

.img-hover-container img{
width:100%;
height:260px;
object-fit:cover;
}

.img-hover{
position:absolute;
top:0;
left:0;
opacity:0;
transition:.4s;
}

.img-hover-container:hover .img-hover{
opacity:1;
}

.card-body{padding:22px;}

.card-body h3{
font-family:'Playfair Display',serif;
}

.price{color:#b89b5e;font-weight:600;}

/* BOTÓN */
.btn-gold{
background:#b89b5e;
color:white;
padding:12px 28px;
border-radius:30px;
border:none;
cursor:pointer;
}

/* CATEGORÍAS */
.categorias{
margin-bottom:30px;
font-family:'Playfair Display',serif;
}

.categorias a{
margin-right:20px;
text-decoration:none;
color:#6b5c4a;
position:relative;
}

.categorias a::after{
content:"";
position:absolute;
left:0;
bottom:-3px;
width:0;
height:2px;
background:#b89b5e;
transition:.3s;
}

.categorias a:hover::after{width:100%;}

/* =========================
   🍔 HAMBURGUESA CATEGORÍAS
========================= */

.hamburguesa{
    display:none;
}

/* móvil */
@media (max-width: 768px){

    .hamburguesa{
        display:block;
        background:#b89b5e;
        color:white;
        padding:10px 15px;
        border-radius:10px;
        text-align:center;
        cursor:pointer;
        margin-bottom:10px;
    }

    /* oculto por defecto */
    .categorias{
        display:none;
        flex-direction:column;
        gap:10px;
        background:white;
        padding:15px;
        border-radius:12px;
        box-shadow:0 10px 30px rgba(0,0,0,0.08);
    }

    /* visible al hacer click */
    .categorias.activo{
        display:flex;
    }
}

/* =========================
   HEADER PRO (ARREGLADO)
========================= */

.logo-link{
display:flex;
align-items:center;
gap:12px;
text-decoration:none;
color:#2c2c2c;
}

.logo-link img{
height:42px;
}

.texto-logo{
font-family:'Playfair Display', serif;
font-size:20px;
letter-spacing:3px;
font-weight:600;
}

nav{
display:flex;
align-items:center;
justify-content:center;
gap:25px;
}

.btn-carrito{
border:1px solid #b89b5e;
padding:8px 16px;
border-radius:20px;
transition:.3s;
}

.btn-carrito:hover{
background:#b89b5e;
color:white;
}

/* =========================
   FOOTER COMPLETO
========================= */

.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:.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;
}

/* links legales */

.legal-links{
margin-top:12px;
font-size:12px;
opacity:.7;
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:8px;
}

.legal-links a{
color:#aaa;
position:relative;
}

.legal-links a:hover{
color:#b89b5e;
}

/* =========================
   MÓVIL HEADER + FOOTER
========================= */

@media(max-width:768px){

.nav{
flex-direction:column;
gap:10px;
}

nav{
flex-direction:column;
gap:10px;
}

nav a{
margin-left:0;
}

}

@media(max-width:600px){

.footer-grid{
grid-template-columns:1fr;
text-align:center;
}

}
/* =========================
   🍪 COOKIE POPUP FIX
========================= */

.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.4s ease;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}

/* animación */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
/* =========================
   🔢 PAGINACIÓN PRO
========================= */

.paginacion {
    display: inline-block;
    margin: 6px;
    padding: 10px 16px;
    border-radius: 30px;
    border: 1px solid #e8e2d8;
    text-decoration: none;
    color: #2c2c2c;
    transition: 0.3s;
}

/* hover */
.paginacion:hover {
    background: #b89b5e;
    color: white;
    border-color: #b89b5e;
}

/* activa */
.paginacion.activo {
    background: #b89b5e;
    color: white;
    border-color: #b89b5e;
}

/* flechas */
.paginacion:first-child,
.paginacion:last-child {
    font-weight: 600;
}
/* overlay detrás */
.cookie-overlay {
    z-index: 9998;
}

/* banner por encima */
.cookie-banner {
    z-index: 9999;
}

/* 👇 CLAVE: permitir clicks */
.cookie-box {
    position: relative;
    z-index: 10000;
}
/* =========================
   📜 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;
}

/* animación suave */
.legal-container {
    animation: fadeInLegal 0.5s ease;
}

@keyframes fadeInLegal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================
   🔥 FIX PRODUCTOS COMPLETO
========================= */

/* grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

/* tarjeta */
.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;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* hover elegante */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    border-color: #b89b5e;
}

/* link */
.card-link {
    text-decoration: none;
    color: inherit;
}

/* imágenes */
.img-hover-container {
    position: relative;
    overflow: hidden;
}

.img-hover-container img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* segunda imagen */
.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.img-hover-container:hover .img-hover {
    opacity: 1;
}

/* contenido */
.card-body {
    padding: 22px;
}

.card-body h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

/* precio */
.price {
    font-weight: 600;
    color: #b89b5e;
}

/* stock bajo */
.stock-bajo {
    font-size: 13px;
    color: #a94442;
    margin-top: 6px;
}

/* botón */
.btn-gold {
    background-color: #b89b5e;
    color: white;
    padding: 12px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: #a1844d;
}
/* =========================
   🛍️ PRODUCTO INDIVIDUAL
========================= */

.producto-individual {
    padding: 120px 0;
}

.producto-grid {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
    align-items: center;
}

/* imagen */
.producto-img {
    flex: 1;
}

.producto-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

/* info */
.producto-info {
    flex: 1;
}

.producto-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
}

/* descripción */
.descripcion {
    margin-bottom: 30px;
    color: #555;
    font-size: 16px;
}

/* precio */
.precio {
    color: #b89b5e;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
}

/* botón */
.producto-info .btn-gold {
    width: auto;
    padding: 14px 30px;
}

/* =========================
   📱 RESPONSIVE PRODUCTO
========================= */

@media (max-width: 900px) {

    .producto-grid {
        flex-direction: column;
        gap: 40px;
    }

    .producto-info h1 {
        font-size: 30px;
    }
}
/* imagen principal */
#imagen-principal {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
}

/* miniaturas */
.miniaturas {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.miniaturas img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.miniaturas img:hover {
    opacity: 1;
}
/* =========================
   🛒 CARRITO PRO
========================= */

.carrito-container {
    max-width: 900px;
    margin: 80px auto;
}

/* cada producto */
.carrito-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid #e8e2d8;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

/* imagen */
.carrito-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

/* info */
.carrito-info {
    flex: 1;
}

.carrito-info h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.carrito-info p {
    color: #b89b5e;
    font-weight: 600;
}

/* acciones */
.carrito-acciones button {
    background: transparent;
    border: 1px solid #b89b5e;
    color: #b89b5e;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.carrito-acciones button:hover {
    background: #b89b5e;
    color: white;
}

/* total */
.carrito-total {
    text-align: right;
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    color: #2c2c2c;
}

/* botón pagar */
.btn-pagar {
    display: block;
    margin-left: auto;
    margin-top: 20px;
    background: #b89b5e;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
}

/* =========================
   📱 MÓVIL
========================= */

@media (max-width: 600px) {

    .carrito-item {
        flex-direction: column;
        text-align: center;
    }

    .carrito-acciones {
        margin-top: 10px;
    }

    .carrito-total {
        text-align: center;
    }

    .btn-pagar {
        margin: 20px auto 0 auto;
    }
}
/* =========================
   🛒 CARRITO BONITO
========================= */

/* tabla base */
table {
    width: 100%;
    border-collapse: collapse;
}

/* quitar estilo feo */
thead {
    display: none;
}

/* filas como tarjetas */
tbody tr {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e8e2d8;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

/* columnas */
tbody td {
    border: none;
}

/* producto */
td.producto {
    flex: 2;
}

td.producto div {
    display: flex;
    align-items: center;
    gap: 15px;
}

td.producto img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 10px;
}

/* precio */
tbody td:nth-child(2) {
    flex: 1;
    color: #b89b5e;
    font-weight: 600;
}

/* cantidad */
tbody td:nth-child(3) {
    flex: 1;
}

/* subtotal */
tbody td:nth-child(4) {
    flex: 1;
    font-weight: 600;
}

/* eliminar */
tbody td:nth-child(5) {
    flex: 0.5;
}

/* botón eliminar */
button[name="eliminar"] {
    background: transparent;
    border: 1px solid #b89b5e;
    color: #b89b5e;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

button[name="eliminar"]:hover {
    background: #b89b5e;
    color: white;
}

/* botones + y - */
.btn-cantidad {
    border: none;
    background: #eee;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-cantidad:hover {
    background: #ddd;
}

/* resumen */
.resumen-carrito {
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
    background: white;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #e8e2d8;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

/* total */
.resumen-carrito .total {
    font-size: 22px;
    color: #b89b5e;
    font-weight: bold;
}

/* móvil */
@media (max-width: 700px) {

    tbody tr {
        flex-direction: column;
        align-items: flex-start;
    }

    tbody td {
        width: 100%;
    }

    tbody td:nth-child(5) {
        text-align: right;
    }
}
/* =========================
   🛒 FIX CARRITO SEGURO
========================= */

/* tabla limpia */
table {
    width: 100%;
    border-collapse: collapse;
}

/* filas */
table tr {
    background: white;
    border-bottom: 1px solid #eee;
}

/* celdas */
table td {
    padding: 15px;
    vertical-align: middle;
}

/* cabecera */
table th {
    text-align: left;
    padding: 10px;
    font-weight: 600;
    color: #888;
}

/* imagen producto */
.producto img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 8px;
}

/* nombre producto */
.producto div {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* precio */
table td:nth-child(2) {
    color: #b89b5e;
    font-weight: 600;
}

/* botones cantidad */
.btn-cantidad {
    background: #eee;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-cantidad:hover {
    background: #ddd;
}

/* botón eliminar */
button[name="eliminar"] {
    background: transparent;
    border: 1px solid #b89b5e;
    color: #b89b5e;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
}

button[name="eliminar"]:hover {
    background: #b89b5e;
    color: white;
}

/* resumen */
.resumen-carrito {
    margin-top: 30px;
    text-align: right;
    max-width: 400px;
    margin-left: auto;
}

.resumen-carrito .total {
    font-size: 22px;
    color: #b89b5e;
}

/* móvil */
@media (max-width: 600px) {

    table, thead, tbody, th, td, tr {
        display: block;
    }

    table tr {
        margin-bottom: 20px;
        border-radius: 12px;
        padding: 10px;
    }

    table td {
        padding: 8px 0;
    }

    table th {
        display: none;
    }
}
/* =========================
   🛒 CARRITO BONITO PRO
========================= */

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

/* filas tipo tarjeta */
table tr {
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border-radius: 16px;
}

/* celdas */
table td {
    padding: 20px;
    vertical-align: middle;
}

/* primera celda redondeada */
table tr td:first-child {
    border-radius: 16px 0 0 16px;
}

/* última celda redondeada */
table tr td:last-child {
    border-radius: 0 16px 16px 0;
}

/* producto */
.producto div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.producto img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 12px;
}

/* precio dorado */
table td:nth-child(2),
table td:nth-child(4) {
    color: #b89b5e;
    font-weight: 600;
}

/* botones cantidad */
.btn-cantidad {
    background: #f1eee9;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-cantidad:hover {
    background: #e4ded4;
}

/* input cantidad */
input[type="number"] {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 4px;
}

/* eliminar más fino */
button[name="eliminar"] {
    border: none;
    background: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
}

button[name="eliminar"]:hover {
    color: #b89b5e;
}

/* resumen elegante */
.resumen-carrito {
    margin-top: 40px;
    max-width: 400px;
    margin-left: auto;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.resumen-carrito p {
    margin-bottom: 8px;
}

.resumen-carrito .total {
    font-size: 24px;
    color: #b89b5e;
    margin-top: 10px;
}

/* móvil */
@media (max-width: 600px) {

    table, tbody, tr, td {
        display: block;
        width: 100%;
    }

    table tr {
        margin-bottom: 20px;
        padding: 15px;
    }

    table td {
        padding: 8px 0;
    }
}
/* =========================
   🔍 BUSCADOR PRO
========================= */

.search-container {
    position: relative;
}

/* input elegante */
.search-container input {
    width: 220px;
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid #e0d8c8;
    background: #fff;
    transition: all 0.3s ease;
}

/* foco bonito */
.search-container input:focus {
    outline: none;
    border-color: #b89b5e;
    box-shadow: 0 0 0 3px rgba(184,155,94,0.15);
    transform: scale(1.02);
}

/* resultados tipo dropdown premium */
#resultados-busqueda {
    position: absolute;
    top: 50px;
    left: 0;
    width: 280px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: 0.25s;
}

/* activo */
#resultados-busqueda.activo {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* item */
.resultado-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: #2c2c2c;
    transition: 0.2s;
}

/* imagen */
.resultado-item img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
}

/* hover */
.resultado-item:hover {
    background: #f8f6f3;
}

/* sin resultados */
.sin-resultados {
    padding: 12px;
    color: #999;
    text-align: center;
}
.notif-carrito {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2c2c2c;
    color: white;
    padding: 14px 22px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9999;
}

.notif-carrito.activo {
    opacity: 1;
    transform: translateY(0);
}
/* =========================
   🧿 RECOMENDADOS
========================= */

.recomendados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card-rec {
    background: white;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    border: 1px solid #e8e2d8;
    transition: 0.3s;
}

.card-rec:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card-rec img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.card-rec h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

/* =========================
   🧿 RECOMENDADOS ALINEADOS
========================= */

.recomendados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* tarjeta */
.card-rec {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 🔥 CLAVE */

    background: white;
    border-radius: 16px;
    padding: 15px;
    border: 1px solid #e8e2d8;
    text-align: center;
    height: 100%; /* 🔥 CLAVE */
}

/* enlace ocupa todo */
.card-rec a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* 🔥 CLAVE */
}

/* imagen */
.card-rec img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* título */
.card-rec h4 {
    font-size: 14px;
    margin-bottom: 5px;
    min-height: 40px; /* 🔥 CLAVE para alinear */
}

/* precio */
.card-rec p {
    color: #b89b5e;
    font-weight: 600;
    margin-bottom: 10px;
}

/* botón siempre abajo */
.card-rec button {
    margin-top: auto; /* 🔥 CLAVE */
    width: 100%;
}

.card-rec a {
    text-decoration: none;
    color: inherit;
}
/* =========================
   🧿 PACK RITUAL
========================= */

.pack-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pack-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: white;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    border: 1px solid #e8e2d8;
    transition: 0.3s;
}

.pack-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.pack-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.pack-card h4 {
    font-size: 14px;
    min-height: 40px;
}

.pack-card p {
    color: #b89b5e;
    font-weight: 600;
    margin-bottom: 10px;
}

.pack-card button {
    margin-top: auto;
    width: 100%;
}

.pack-card a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   🔥 OVERRIDE FINAL (ARREGLOS)
========================= */

/* eliminar en negro */
button[name="eliminar"] {
    color: #000 !important;
}

/* hover elegante */
button[name="eliminar"]:hover {
    color: #b89b5e !important;
}

/* quitar subrayado pagar */
.btn-gold {
    text-decoration: none !important;
    display: inline-block;
}

/* =========================
   🔥 AJUSTES FINOS
========================= */

/* botón pagar más corto */
.resumen-carrito .btn-gold {
    width: auto !important;
    padding: 12px 25px;
    text-decoration: none !important;
    display: inline-block;
}

/* eliminar siempre negro (normal + hover) */
button[name="eliminar"],
button[name="eliminar"]:hover {
    color: #000 !important;
}

.resumen-carrito {
    text-align: right;
}

/* =========================
   ✨ BOTÓN PAGAR PREMIUM
========================= */

.resumen-carrito .btn-gold {
    width: auto !important;
    padding: 12px 28px;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.25s ease;
}

/* efecto hover elegante */
.resumen-carrito .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184,155,94,0.4);
}

/* efecto click (muy pro) */
.resumen-carrito .btn-gold:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(184,155,94,0.3);
}

/* =========================
   ✨ BOTONES PREMIUM GLOBAL
========================= */

/* base para TODOS los botones */
button,
.btn-gold,
.btn-cantidad,
.btn-carrito {
    transition: all 0.25s ease;
    transform: translateY(0);
}

/* hover elegante (levitar) */
button:hover,
.btn-gold:hover,
.btn-cantidad:hover,
.btn-carrito:hover {
    transform: translateY(-2px);
}

/* click (respuesta táctil) */
button:active,
.btn-gold:active,
.btn-cantidad:active,
.btn-carrito:active {
    transform: translateY(0);
}

/* sombra SOLO para botones principales */
.btn-gold {
    box-shadow: 0 4px 10px rgba(184,155,94,0.25);
}

.btn-gold:hover {
    box-shadow: 0 10px 25px rgba(184,155,94,0.4);
}

/* botones pequeños (cantidad) más sutil */
.btn-cantidad:hover {
    background: #e4ded4;
    transform: scale(1.08);
}

/* carrito (header) */
.btn-carrito:hover {
    box-shadow: 0 6px 15px rgba(184,155,94,0.3);
}

/* eliminar elegante */
button[name="eliminar"] {
    transition: all 0.2s ease;
}

button[name="eliminar"]:hover {
    transform: scale(1.05);
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* =========================
   ✨ MENÚ ANIMACIÓN PREMIUM
========================= */

nav a {
    position: relative;
    text-decoration: none;
    color: #2c2c2c;
    padding-bottom: 5px;
}

/* línea oculta */
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: linear-gradient(90deg, #b89b5e, #d4af37);
    transition: width 0.3s ease;
}

/* animación al pasar */
nav a:hover::after {
    width: 100%;
}

nav a.active-menu::after {
    width: 100%;
}

/* =========================
   🔍 BUSCADOR ANIMADO PREMIUM
========================= */

.search-container input {
    width: 200px;
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid #e0d8c8;
    background: #fff;

    transition: all 0.35s ease;
}

/* hover suave */
.search-container input:hover {
    transform: translateY(-1px);
}

/* focus premium */
.search-container input:focus {
    width: 260px; /* 🔥 se expande */
    outline: none;

    border-color: #b89b5e;

    box-shadow:
        0 0 0 3px rgba(184,155,94,0.15),
        0 8px 20px rgba(0,0,0,0.08);

    transform: translateY(-2px) scale(1.02);
}

.search-container input:focus::placeholder {
    color: #b89b5e;
    opacity: 0.7;
}

/* hover con vida */
.search-container input:hover {
    border-color: #d4af37; /* dorado más vivo */

    box-shadow:
        0 0 0 2px rgba(212,175,55,0.15),
        0 6px 15px rgba(0,0,0,0.05);

    transform: translateY(-1px) scale(1.01);
}

/* =========================
   🚫 PRODUCTO SIN STOCK
========================= */

.card.sin-stock {
    opacity: 0.55;
    filter: grayscale(70%);
}

/* imagen más apagada */
.card.sin-stock img {
    filter: grayscale(90%);
}

/* texto más suave */
.card.sin-stock h3,
.card.sin-stock .price {
    color: #999;
}

/* quitar hover */
.card.sin-stock:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.04);
}

/* =========================
   🧿 PRODUCTO INDIVIDUAL SIN STOCK
========================= */

.producto-grid.sin-stock {
    opacity: 0.6;
}

/* imagen más apagada */
.producto-grid.sin-stock #imgPrincipal {
    filter: grayscale(90%);
}

/* miniaturas también */
.producto-grid.sin-stock .miniaturas img {
    filter: grayscale(80%);
}

/* texto más suave */
.producto-grid.sin-stock h1,
.producto-grid.sin-stock .descripcion,
.producto-grid.sin-stock .precio {
    color: #999;
}

/* botón ya lo tienes disabled, pero lo suavizamos */
.producto-grid.sin-stock .btn-gold {
    background: #ccc !important;
    cursor: not-allowed;
    box-shadow: none;
}

.stock-agotado {
    color: #999;
    font-weight: 600;
    margin-bottom: 10px;
}

/* =========================
   🧿 BADGE AGOTADO
========================= */

.producto-img {
    position: relative;
}

/* etiqueta flotante */
.badge-agotado {
    position: absolute;
    top: 15px;
    left: 15px;

    background: rgba(0,0,0,0.75);
    color: white;

    padding: 8px 14px;
    border-radius: 20px;

    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;

    backdrop-filter: blur(6px);

    z-index: 10;

    animation: fadeInBadge 0.4s ease;
}

/* animación suave */
@keyframes fadeInBadge {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* GRID GENERAL */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* TARJETAS */
.checkout-resumen,
.checkout-form {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* TÍTULOS */
.checkout-resumen h3,
.checkout-form h3 {
    margin-bottom: 15px;
}

/* INPUTS */
.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    font-family: inherit; /* 🔥 CLAVE */
}

/* BOTÓN */
.checkout-form button {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    border-radius: 14px;
}

/* TOTAL DESTACADO */
.checkout-resumen strong {
    font-size: 22px;
}

/* 📱 MÓVIL */
@media (max-width: 768px) {

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 🧠 FORMULARIO ARRIBA EN MÓVIL */
    .checkout-form {
        order: 1;
    }

    .checkout-resumen {
        order: 2;
    }

    /* BOTÓN FIJO ABAJO */
    .checkout-form button {
        position: sticky;
        bottom: 10px;
    }
}
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.checkout-form, .checkout-resumen {
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.check {
    display:flex;
    gap:10px;
    margin-top:10px;
    font-size:14px;
}

.item {
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

.total {
    font-size:22px;
    color:#b89b5e;
    font-weight:bold;
}

/* móvil */
@media (max-width: 768px){
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-form {
        order:1;
    }

    .checkout-resumen {
        order:2;
    }
}
/* ===== CHECKOUT LIMPIO Y ESPACIADO ===== */

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

/* tarjetas */
.checkout-form, 
.checkout-resumen {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

/* títulos */
.checkout-form h3,
.checkout-resumen h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

/* inputs */
.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-size: 15px;
}

/* checkbox */
.check {
    display:flex;
    gap:10px;
    margin-top:15px;
    font-size:14px;
}

/* botón */
.checkout-form button {
    margin-top: 20px;
    padding: 16px;
    font-size: 18px;
    border-radius: 14px;
}

/* productos */
.item {
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
    font-size:15px;
}

/* líneas */
.checkout-resumen hr {
    margin: 20px 0;
}

/* total */
.total {
    font-size: 24px;
    color: #b89b5e;
    font-weight: bold;
    margin-top: 10px;
}

/* 📱 MÓVIL BIEN ESPACIADO */
@media (max-width: 768px){

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .checkout-form,
    .checkout-resumen {
        padding: 20px;
    }

    .checkout-form {
        order:1;
    }

    .checkout-resumen {
        order:2;
    }
}
/* ===== CHECKOUT BONITO Y RESPIRABLE ===== */

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

/* tarjetas */
.checkout-form,
.checkout-resumen {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* títulos */
.checkout-form h3,
.checkout-resumen h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

/* inputs */
.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
}

/* checkbox */
.check {
    display:flex;
    gap:10px;
    margin-top:15px;
    font-size:14px;
}

/* botón */
.checkout-form button {
    margin-top: 20px;
    padding: 18px;
    font-size: 18px;
    border-radius: 14px;
}

/* productos */
.item {
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
    font-size:15px;
}

/* separador */
.checkout-resumen hr {
    margin: 20px 0;
}

/* total */
.total {
    font-size: 26px;
    color: #b89b5e;
    font-weight: bold;
    margin-top: 10px;
}

/* 📱 MÓVIL */
@media (max-width: 768px){

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .checkout-form,
    .checkout-resumen {
        padding: 20px;
    }

    .checkout-form {
        order:1;
    }

    .checkout-resumen {
        order:2;
    }
}
/* ===== CHECKBOX VISIBLES Y BONITOS ===== */

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 14px;
}

/* checkbox visible */
.check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #b89b5e; /* color dorado */
    cursor: pointer;
}

/* texto clickable */
.check label {
    cursor: pointer;
}
/* =========================
   🔥 FIX RECOMENDADOS (SIN ROMPER NADA)
========================= */

.recomendados {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 25px !important;
}

/* tarjeta igual que producto */
.card-rec {
    background: white;
    border-radius: 16px;
    padding: 15px;
    border: 1px solid #e8e2d8;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.card-rec:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.card-rec img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.card-rec h4 {
    font-size: 15px;
    min-height: 40px;
    margin-bottom: 5px;
}

.card-rec p {
    color: #b89b5e;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-rec button {
    margin-top: auto;
    width: 100%;
}
/* =========================
   🔥 FIX RECOMENDADOS DEFINITIVO
========================= */

/* usa el mismo grid que productos */
.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

/* hace que sea IGUAL que .card */
.card-producto {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8e2d8;
    box-shadow: 0 8px 20px rgba(0,0,0,.04);
    transition: .3s;
}

/* hover igual */
.card-producto:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

/* imagen igual que productos */
.card-producto img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* contenido */
.card-producto h3 {
    font-family: 'Playfair Display', serif;
    padding: 15px 15px 5px 15px;
}

.card-producto .precio {
    padding: 0 15px 15px 15px;
    color: #b89b5e;
    font-weight: 600;
}

/* botón */
.card-producto button {
    margin: 10px 15px 15px 15px;
}

/* =========================
   🔥 ALINEAR TARJETAS PRODUCTOS
========================= */

/* asegura grid limpio */
.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    align-items: stretch; /* 🔥 clave */
}

/* tarjeta consistente */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* contenido crece uniforme */
.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* título alineado */
.card-body h3 {
    min-height: 48px; /* 🔥 ajusta si quieres */
}

/* precio abajo alineado */
.card-body .price {
    margin-top: auto;
}
/* =========================
   ✨ CARRITO PREMIUM DORADO
========================= */

/* filas tipo tarjeta elegante */
table tr {
    background: white;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s;
    border: 1px solid #eee;
}

/* hover suave */
table tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* imagen más elegante */
.producto img {
    width: 75px !important;
    height: 75px !important;
    border-radius: 12px;
    border: 1px solid #eee;
}

/* nombre producto */
.producto div {
    font-weight: 500;
}

/* precio dorado */
table td:nth-child(2),
table td:nth-child(4) {
    color: #b89b5e;
    font-weight: 600;
    font-size: 16px;
}

/* botones cantidad más premium */
.btn-cantidad {
    background: #f8f6f3;
    border: 1px solid #e8e2d8;
    padding: 6px 12px;
    border-radius: 8px;
    transition: 0.2s;
}

.btn-cantidad:hover {
    background: #b89b5e;
    color: white;
}

/* input cantidad */
input[type="number"] {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px;
}

/* botón eliminar minimalista */
button[name="eliminar"] {
    border: none;
    background: none;
    color: #aaa;
    font-size: 13px;
    transition: 0.2s;
}

button[name="eliminar"]:hover {
    color: #b89b5e;
}

/* =========================
   💰 RESUMEN PREMIUM
========================= */

.resumen-carrito {
    margin-top: 40px;
    max-width: 420px;
    margin-left: auto;
    background: linear-gradient(145deg, #ffffff, #f8f6f3);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

/* textos */
.resumen-carrito p {
    margin-bottom: 10px;
}

/* total destacado */
.resumen-carrito .total {
    font-size: 26px;
    color: #b89b5e;
    margin-top: 10px;
}

/* barra envío premium */
.resumen-carrito div[style*="background:#eee"] {
    height: 10px !important;
    background: #eee !important;
    border-radius: 20px;
    overflow: hidden;
}

.resumen-carrito div[style*="linear-gradient"] {
    background: linear-gradient(90deg, #b89b5e, #d4af37) !important;
}

/* botón pagar más elegante */
.resumen-carrito .btn-gold {
    margin-top: 15px;
    padding: 14px 28px;
    font-size: 16px;
}

/* =========================
   📱 MÓVIL MÁS LIMPIO
========================= */

@media (max-width: 600px){

    table tr {
        padding: 15px;
    }

    .producto div {
        flex-direction: column;
        align-items: flex-start;
    }

    .resumen-carrito {
        margin: 30px auto;
    }
}
/* =========================
   🔥 FORZAR ESTILO CARRITO
========================= */

.productos table tr {
    background: white !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    border: 1px solid #eee !important;
    transition: 0.3s;
}

.productos table tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

.productos table td {
    padding: 18px !important;
}

/* imagen */
.productos .producto img {
    width: 75px !important;
    height: 75px !important;
    border-radius: 12px !important;
    border: 1px solid #eee !important;
}

/* precios */
.productos table td:nth-child(2),
.productos table td:nth-child(4) {
    color: #b89b5e !important;
    font-weight: 600;
    font-size: 16px;
}

/* botones cantidad */
.productos .btn-cantidad {
    background: #f8f6f3 !important;
    border: 1px solid #e8e2d8 !important;
    border-radius: 8px !important;
}

.productos .btn-cantidad:hover {
    background: #b89b5e !important;
    color: white !important;
}

/* eliminar */
.productos button[name="eliminar"] {
    background: none !important;
    border: none !important;
    color: #aaa !important;
}

.productos button[name="eliminar"]:hover {
    color: #b89b5e !important;
}

/* resumen */
.productos .resumen-carrito {
    background: linear-gradient(145deg, #ffffff, #f8f6f3) !important;
    padding: 30px !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08) !important;
    border: 1px solid #eee !important;
}

/* total */
.productos .resumen-carrito .total {
    font-size: 26px;
    color: #b89b5e;
}


/* =========================
   🔥 CARRITO VISUAL PRO REAL
========================= */

/* SOLO carrito */
.productos table {
    border-collapse: separate;
    border-spacing: 0 20px;
}

/* filas tipo tarjeta */
.productos table tr {
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* columnas */
.productos table td {
    padding: 20px;
    vertical-align: middle;
}

/* imagen */
.productos .producto img {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    border: 1px solid #eee;
}

/* nombre */
.productos .producto div {
    font-weight: 500;
    gap: 15px;
}

/* precio */
.productos table td:nth-child(2),
.productos table td:nth-child(4) {
    color: #b89b5e;
    font-weight: 700;
    font-size: 16px;
}

/* botones cantidad */
.productos .btn-cantidad {
    background: #f8f6f3;
    border: 1px solid #e8e2d8;
    border-radius: 10px;
    padding: 6px 12px;
}

.productos .btn-cantidad:hover {
    background: #b89b5e;
    color: white;
}

/* eliminar */
.productos button[name="eliminar"] {
    color: #999;
    background: none;
    border: none;
}

.productos button[name="eliminar"]:hover {
    color: #b89b5e;
}

/* =========================
   💰 RESUMEN PREMIUM REAL
========================= */

.productos .resumen-carrito {
    background: linear-gradient(145deg, #ffffff, #f8f6f3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.productos .resumen-carrito .total {
    font-size: 26px;
    color: #b89b5e;
}
/* =========================
   📱 HEADER COMPACTO MÓVIL
========================= */

@media (max-width: 768px){

    /* menos altura */
    .header {
        padding: 8px 0 !important;
    }

    /* contenedor más compacto */
    .nav {
        gap: 8px;
    }

    /* logo más pequeño */
    .logo-link img {
        height: 30px !important;
    }

    /* texto logo */
    .texto-logo {
        font-size: 14px !important;
        letter-spacing: 1px;
    }

    /* menú más pequeño */
    nav {
        gap: 10px !important;
    }

    nav a {
        font-size: 13px !important;
    }

    /* botón carrito más fino */
    .btn-carrito {
        padding: 5px 10px !important;
        font-size: 12px;
    }
}
/* ❌ quitar línea SOLO en botón carrito */
.btn-carrito::after {
    display: none !important;
}
/* =========================
   ✨ CARRITO ULTRA PREMIUM
========================= */

/* tarjetas con brillo suave */
.productos table tr {
    position: relative;
    overflow: hidden;
}

/* efecto glow dorado sutil */
.productos table tr::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(184,155,94,0.08),
        transparent
    );
    opacity: 0;
    transition: 0.4s;
}

.productos table tr:hover::before {
    opacity: 1;
}

/* imagen con más presencia */
.productos .producto img {
    transition: 0.3s;
}

.productos table tr:hover .producto img {
    transform: scale(1.05);
}

/* nombre producto más elegante */
.productos .producto div {
    font-size: 15px;
    letter-spacing: 0.3px;
}

/* precios con más peso visual */
.productos table td:nth-child(2),
.productos table td:nth-child(4) {
    font-size: 17px;
}

/* botones cantidad más finos */
.productos .btn-cantidad {
    font-weight: 600;
}

/* input más limpio */
.productos input[type="number"] {
    text-align: center;
    background: #faf9f7;
}

/* eliminar tipo link elegante */
.productos button[name="eliminar"] {
    font-size: 13px;
    opacity: 0.7;
}

.productos button[name="eliminar"]:hover {
    opacity: 1;
    text-decoration: underline;
}

/* =========================
   💰 RESUMEN NIVEL DIOS
========================= */

.productos .resumen-carrito {
    position: relative;
    overflow: hidden;
}

/* glow interno */
.productos .resumen-carrito::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(212,175,55,0.15),
        transparent 60%
    );
    pointer-events: none;
}

/* total con presencia */
.productos .resumen-carrito .total {
    letter-spacing: 1px;
}

/* botón pagar más sexy */
.productos .resumen-carrito .btn-gold {
    width: 100%;
    text-align: center;
}

/* hover más potente */
.productos .resumen-carrito .btn-gold:hover {
    background: linear-gradient(90deg, #b89b5e, #d4af37);
}
/* =========================
   🚨 OVERRIDE FINAL FORZADO
========================= */

/* quitar subrayado botón carrito */
.btn-carrito::after {
    display: none !important;
}

/* FORZAR estilo carrito bonito */
.productos table tr {
    background: white !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
    border: 1px solid #eee !important;
    transition: 0.3s !important;
}

.productos table tr:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12) !important;
}

/* imagen más bonita */
.productos .producto img {
    width: 85px !important;
    height: 85px !important;
    border-radius: 14px !important;
    border: 1px solid #eee !important;
}

/* precios más visibles */
.productos table td:nth-child(2),
.productos table td:nth-child(4) {
    color: #b89b5e !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* botones cantidad pro */
.productos .btn-cantidad {
    background: #f8f6f3 !important;
    border: 1px solid #e8e2d8 !important;
    border-radius: 10px !important;
}

.productos .btn-cantidad:hover {
    background: #b89b5e !important;
    color: white !important;
}

/* eliminar más elegante */
.productos button[name="eliminar"] {
    color: #999 !important;
    background: none !important;
    border: none !important;
}

.productos button[name="eliminar"]:hover {
    color: #b89b5e !important;
}

/* resumen brutal */
.productos .resumen-carrito {
    background: linear-gradient(145deg, #ffffff, #f8f6f3) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08) !important;
}

/* botón pagar ancho completo */
.productos .resumen-carrito .btn-gold {
    width: 100% !important;
}
/* =========================
   🍔 MENÚ HAMBURGUESA
========================= */

/* oculto en escritorio */
.hamburguesa {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* 📱 MÓVIL */
@media (max-width: 768px){

    /* mostrar hamburguesa */
    .hamburguesa {
        display: block;
    }

    /* ocultar menú */
    nav {
        display: none !important;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 220px;
        padding: 15px;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        z-index: 999;
    }

    /* menú activo */
    nav.activo {
        display: flex !important;
    }

    /* enlaces */
    nav a {
        margin: 10px 0;
        font-size: 14px;
    }
}
/* =========================
   🍔 HAMBURGUESA CATEGORÍAS
========================= */

.hamburguesa{
    display:none;
}

/* móvil */
@media (max-width: 768px){

    /* mostrar botón */
    .hamburguesa{
        display:block;
        background:#b89b5e;
        color:white;
        padding:10px 15px;
        border-radius:10px;
        text-align:center;
        cursor:pointer;
        margin-bottom:10px;
    }

    /* ocultar menú por defecto */
    .categorias{
        display:none !important;
        flex-direction:column;
        background:white;
        padding:15px;
        border-radius:12px;
        box-shadow:0 10px 30px rgba(0,0,0,0.08);
    }

    /* mostrar cuando está activo */
    .categorias.activo{
        display:flex !important;
    }
}
@media (max-width: 768px){

    /* ocultamos hamburguesa */
    .hamburguesa{
        display:none !important;
    }

    /* categorías visibles SIEMPRE */
    .categorias{
        display:flex !important;
        flex-wrap:nowrap;
        overflow-x:auto;
        gap:15px;
        padding-bottom:10px;

        /* suaviza scroll */
        scroll-behavior:smooth;
    }

    /* quitar scrollbar fea */
    .categorias::-webkit-scrollbar{
        display:none;
    }

    /* estilo de cada categoría */
    .categorias a{
        flex:0 0 auto;
        background:#f1eee9;
        padding:8px 14px;
        border-radius:20px;
        font-size:14px;
        white-space:nowrap;
        transition:0.3s;
    }

    .categorias a:hover{
        background:#b89b5e;
        color:white;
    }

}
.section-title{
    margin-bottom:30px; /* menos espacio */
}
/* 🚫 eliminar borde raro del logo */
.logo-link,
.logo,
.logo a {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
@media (max-width: 768px){

    /* aseguramos que el header se vea bien */
    .nav{
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
    }

    /* nav visible */
    nav{
        display: flex !important;
        flex-direction: row !important;
        gap: 10px;
    }

    /* ocultamos enlaces normales */
    nav a:not(.btn-carrito){
        display: none;
    }

    /* carrito visible */
    .btn-carrito{
        display: inline-block !important;
        font-size: 13px;
        padding: 6px 10px;
    }

}
@media (max-width: 768px){

    /* HEADER en una sola línea */
    .nav{
        display:flex !important;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    /* MENÚ visible */
    nav{
        display:flex !important;
        flex-wrap: wrap; /* 🔥 esto es la clave */
        justify-content: flex-end;
        gap: 10px;
    }

    /* enlaces más pequeños */
    nav a{
        font-size: 13px;
        margin-left: 0;
    }

}
.logo img,
.logo-link img {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

.logo a,
.logo-link {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}
/* 📱 HEADER NORMAL EN MÓVIL */
@media (max-width: 768px){

    .header{
        position: relative !important; /* 🔥 quita el sticky */
    }

    nav{
        position: static !important; /* 🔥 evita que flote */
    }

    .search-container{
        position: static !important; /* 🔥 evita overlay raro */
        width: 100%;
    }

}
/* =========================
   📱 HEADER MÓVIL LIMPIO PRO
========================= */

@media (max-width: 768px){

    /* header normal, sin solaparse */
    .header{
        position: relative !important;
        padding: 10px 0;
    }

    /* contenedor principal */
    .nav{
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    /* LOGO */
    .logo-link img{
        height: 32px;
    }

    .texto-logo{
        font-size: 14px;
        letter-spacing: 1px;
    }

    /* MENÚ */
    nav{
        display: flex !important;
        flex-wrap: wrap; /* 🔥 clave */
        justify-content: flex-end;
        gap: 8px;
        position: static !important; /* 🔥 evita overlays */
    }

    nav a{
        font-size: 13px;
        margin: 0;
    }

    /* BUSCADOR */
    .search-container{
        position: static !important;
        width: 100%;
        order: 3; /* 🔥 baja debajo */
        margin-top: 10px;
    }

    .search-container input{
        width: 100%;
    }

}
@media (max-width: 768px){

    /* 🔥 FORZAR HEADER NORMAL */
    .header{
        position: relative !important;
    }

    /* 🔥 FORZAR NAV VISIBLE */
    nav{
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: flex-end !important;
        gap: 10px !important;
        position: static !important;
    }

    /* 🔥 NAV LINKS */
    nav a{
        font-size: 13px !important;
        margin: 0 !important;
    }

    /* 🔥 BUSCADOR NO FLOTANTE */
    .search-container{
        position: static !important;
        width: 100% !important;
        margin-top: 10px;
    }

}
/* CONTENEDOR GENERAL */
.checkout-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

/* TÍTULOS */
.checkout-form h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
}

/* RADIOS (ENVÍO / RECOGIDA) */
.check {
    display: block;
    padding: 12px;
    border-radius: 10px;
    margin: 10px 0;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #ccc; /* o el color que ya uses */
    background: transparent;
}

.check:hover {
    border-color: #d4af37;
}

.check input {
    margin-right: 10px;
}

/* DIRECCIÓN TIENDA */
#direccionTienda {
    background: #ffffff;
    border: 1px solid #d4af37;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    margin: 15px 0;
}

.checkout-form input {
    width: 100%;
    padding: 12px 12px 12px 14px; /* 👈 pequeño empujón a la izquierda */
    margin: 8px 0;
    border-radius: 8px;
    text-align: left;
    background: inherit;
    color: inherit;
    border: 1px solid #ccc; /* 👈 controla tú el borde */
}

/* BOTÓN */
.btn-gold.grande {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    font-size: 16px;
}

/* FORMULARIOS */
#formEnvio, #formRecogida {
    margin-top: 15px;
}

/* RESUMEN */
.checkout-resumen {
    text-align: center;
}

.checkout-resumen .item {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.checkout-resumen p {
    margin: 5px 0;
}

.checkout-resumen .total {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* 🔥 CLAVE */
}
/* 📱 HEADER MÓVIL NUEVO */
@media (max-width: 768px) {

    .header .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* LOGO ARRIBA CENTRADO */
    .logo {
        width: 100%;
        text-align: center;
    }

    .logo-link {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        height: 50px;
    }

    .texto-logo {
        font-size: 14px;
    }

    /* OCULTAR MENÚ NORMAL */
    nav a.btnnn {
        display: none;
    }

    /* BUSCADOR CENTRADO */
    .search-container {
        width: 100%;
        padding: 0 10px;
    }

    .search-container input {
        width: 100%;
        border-radius: 20px;
        padding: 10px;
        text-align: left;
    }

    /* CARRITO ABAJO */
    .btn-carrito {
        width: 90%;
        text-align: center;
        margin: 5px 0;
        padding: 10px;
        border-radius: 20px;
        display: block;
    }

    /* QUITAR ESTILOS RAROS ANTERIORES */
    nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}
.btn-carrito {
    background: #d4af37;
    color: #000;
    font-weight: bold;
}
/* 📱 HEADER MÓVIL NUEVO */
@media (max-width: 768px) {

    .header .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* LOGO ARRIBA CENTRADO */
    .logo {
        width: 100%;
        text-align: center;
    }

    .logo-link {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        height: 50px;
    }

    .texto-logo {
        font-size: 14px;
    }

    /* OCULTAR MENÚ NORMAL */
    nav a.btnnn {
        display: none;
    }

    /* BUSCADOR CENTRADO */
    .search-container {
        width: 100%;
        padding: 0 10px;
    }

    .search-container input {
        width: 100%;
        border-radius: 20px;
        padding: 10px;
        text-align: left;
    }

    /* CARRITO ABAJO */
    .btn-carrito {
        width: 90%;
        text-align: center;
        margin: 5px 0;
        padding: 10px;
        border-radius: 20px;
        display: block;
    }

    /* QUITAR ESTILOS RAROS ANTERIORES */
    nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}
.blog-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.blog-post {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.blog-post h2 {
    margin-bottom: 10px;
}

.blog-post a {
    text-decoration: none;
    color: #000;
}

.blog-post a:hover {
    color: #d4af37;
}

.blog-post p {
    line-height: 1.6;
}
/* =========================
   ✨ BLOG ESTILO TIENDA
========================= */

.blog-container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 20px;
}

/* tarjeta igual que productos */
.blog-post {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 35px;

    border: 1px solid #e8e2d8;
    box-shadow: 0 8px 20px rgba(0,0,0,.04);

    transition: 0.3s;
}

/* hover como cards */
.blog-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

/* título elegante */
.blog-post h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    font-size: 26px;
}

/* enlaces */
.blog-post a {
    text-decoration: none;
    color: #2c2c2c;
    transition: 0.3s;
}

.blog-post a:hover {
    color: #b89b5e;
}

/* texto */
.blog-post p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* botón leer más */
.blog-post .leer-mas {
    display: inline-block;
    margin-top: 10px;
    color: #b89b5e;
    font-weight: 600;
}

/* título principal */
.blog-container h1 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 40px;
}

/* 📱 móvil */
@media (max-width: 768px){

    .blog-container {
        margin: 40px auto;
        padding: 15px;
    }

    .blog-post {
        padding: 20px;
    }

    .blog-post h2 {
        font-size: 20px;
    }

}
/* =========================
   ✨ POST BLOG PREMIUM
========================= */

.post-container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

/* título */
.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    margin-bottom: 10px;
    text-align: center;
}

/* meta */
.post-meta {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 25px;
}

/* imagen */
.post-img img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 25px;
}

/* contenido */
.post-content {
    line-height: 1.8;
    color: #444;
}

/* subtítulos */
.post-content h2 {
    font-family: 'Playfair Display', serif;
    margin-top: 25px;
}

/* listas */
.post-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

/* enlaces */
.post-content a {
    color: #b89b5e;
    font-weight: 600;
}

/* 📱 móvil */
@media (max-width: 768px){

    .post-container {
        padding: 25px;
    }

    .post-title {
        font-size: 26px;
    }

}.social-buttons {
  margin-top: 15px;
}

.social-buttons a {
  display: inline-block;
  padding: 8px 14px;
  margin-right: 8px;
  border-radius: 20px;
  background: #111;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: 0.2s;
}

.social-buttons a:hover {
  background: #444;
}