/* ---------- NAVBAR CENTRADA (NABANI) ---------- */

.navbar-centered {
    background: #000;
    border-bottom: 1px solid #C0C0C0;
    position: relative;
    z-index: 100;
}

.nav-top {
    position: relative;
    padding: 30px 60px 10px;
    text-align: center;
}

/* Logo NABANI que regresa al inicio */
.brand-link {
    text-decoration: none;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    color: #C0C0C0;
    letter-spacing: 10px;
    margin: 0;
    text-transform: uppercase;
}

.brand-link:hover .brand-name {
    color: #ffffff;
    transition: color 0.3s;
}

/* Íconos a la derecha, misma altura que NABANI */
.nav-icons {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 18px; /* espacio entre welcome e íconos */
}


.nav-icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-icon-btn svg {
    width: 30px;
    height: 30px;
    transition: 0.3s;
    object-fit: contain;
    vertical-align: middle;
}

.nav-icon-btn:hover svg {
    transform: scale(1.15);
    stroke: #ffffff;
}

/* Link de ícono login */
.nav-icon-link {
    display: inline-flex;
    align-items: center;
}

/* ---------- NAV INFERIOR (CATEGORÍAS) ---------- */

.nav-bottom {
    padding: 14px 0 18px;  /* un poco más de área clickeable */
    position: relative;    /* contenedor para el dropdown full-width */
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #C0C0C0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Cada item no posiciona el dropdown (lo hace nav-bottom) */
.nav-item {
    position: static;
}

/* Zona buffer para que no se cierre tan fácil al bajar el mouse */
.nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 12px;  /* espacio invisible de seguridad */
}

/* ---------- MEGA MENÚ FULL WIDTH ---------- */

.dropdown {
    position: absolute;
    left: 0;
    top: 100%; /* pegado justo debajo del nav */
    width: 100%;
    background: #000; /* fondo sólido, sin transparencia rara */
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 26px 60px 30px;
    z-index: 90;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Contenedor interno centrado */
.dropdown-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    column-gap: 36px;
    align-items: flex-start;
    color: #ccc;
}

/* Columna del título (nombre del botón) */
.dropdown-title h4 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;  /* más grande */
    color: #C0C0C0;
    margin: 0 0 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dropdown-title p {
    font-size: 15px;
    color: #999;
    margin: 0;
    line-height: 1.5;
}

/* Columnas de lista */
.dropdown-col h5 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #C0C0C0;
    margin: 0 0 8px;
}

.dropdown-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-col ul li {
    font-size: 15px;
    color: #bfbfbf;
    margin-bottom: 5px;
    cursor: pointer;
    transition: color 0.2s;
}

.dropdown-col ul li:hover {
    color: #ffffff;
}

/* Promo */
.dropdown-promo img {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #333;
    display: block;
    margin-bottom: 6px;
}

.dropdown-promo span {
    font-size: 14px;
    color: #C0C0C0;
}

/* Mostrar dropdown al hacer hover en el item */
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}


/* ---------- SIDE PANELS (FAVORITOS / CARRITO) ---------- */

.side-panel {
    position: absolute;
    top: 100%;
    right: 60px;
    margin-top: 14px;
    width: 320px;
    background: #050505;
    border-radius: 10px;
    border: 1px solid #333;
    padding: 18px 18px 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.85);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 140;
}

.side-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.side-panel h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin: 0 0 6px;
    color: #C0C0C0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.side-panel-text {
    margin: 0 0 12px;
    font-size: 14px;
    color: #aaa;
}

.side-panel-placeholder {
    padding: 12px;
    border-radius: 8px;
    border: 1px dashed #444;
    font-size: 13px;
    color: #C0C0C0;
}

.side-panel-btn {
    margin-top: 14px;
    width: 100%;
    padding: 9px 0;
    border-radius: 999px;
    border: 1px solid #C0C0C0;
    background: transparent;
    color: #C0C0C0;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.25s;
}

.side-panel-btn:hover {
    background: #C0C0C0;
    color: #000;
}


/* ================================
   FOOTER NABANI
   ================================ */

   .site-footer {
    background: #050505;
    border-top: 1px solid #2a2a2a;
    color: #b3b3b3;
    padding: 40px 40px 20px;
    margin-top: 80px;
    font-size: 13px;
}

.footer-inner {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr 1.3fr;
    gap: 30px;
}

/* Columna general */
.footer-col {
    min-width: 0;
}

/* Marca */
.footer-logo {
    font-family: 'Playfair Display', serif;
    letter-spacing: 6px;
    font-size: 24px;
    color: #e5e5e5;
    margin: 0 0 12px;
}

.footer-tagline {
    margin: 0 0 12px;
    color: #c0c0c0;
    font-size: 13px;
    line-height: 1.6;
}

.footer-legal {
    margin: 12px 0 0;
    color: #777;
    font-size: 11px;
}

/* Títulos de columna */
.footer-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e5e5e5;
    margin: 0 0 10px;
}

/* Navegación */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #bfbfbf;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s, opacity 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
    opacity: 0.9;
}

/* Contacto */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-contact-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.footer-contact a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 13px;
}

.footer-contact a:hover {
    color: #ffffff;
}

/* Newsletter */
.footer-text {
    margin: 0 0 12px;
    color: #c2c2c2;
    line-height: 1.6;
}

.footer-newsletter {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.footer-newsletter input[type="email"] {
    flex: 1;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #3a3a3a;
    background: #101010;
    color: #f0f0f0;
    font-size: 13px;
    outline: none;
}

.footer-newsletter input::placeholder {
    color: #777;
}

.footer-newsletter input:focus {
    border-color: #c0c0c0;
}

.footer-newsletter button {
    border-radius: 999px;
    border: 1px solid #c0c0c0;
    background: #c0c0c0;
    color: #000;
    padding: 8px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.1s;
}

.footer-newsletter button:hover {
    background: #ffffff;
}

.footer-newsletter button:active {
    transform: scale(0.97);
}

/* Redes sociales */
.footer-socials {
    display: flex;
    gap: 14px;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid #3a3a3a;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.1s;
}

.social-link svg {
    width: 14px;
    height: 14px;
    fill: #c0c0c0;
    transition: fill 0.2s;
}

.social-link:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-1px);
}

.social-link:hover svg {
    fill: #000000;
}

/* Parte inferior */
.footer-bottom {
    border-top: 1px solid #1a1a1a;
    margin-top: 25px;
    padding-top: 12px;
    text-align: center;
    font-size: 11px;
    color: #777;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        row-gap: 24px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 30px 20px 18px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}



/* ===== PANEL DE CUENTA (ICONO PERSONA) ===== */
.account-dropdown {
    position: absolute;
    top: 78px; /* debajo del nav superior */
    right: 60px;
    background: #0c0c0c;
    border: 1px solid #333;
    width: 220px;
    padding: 10px 0;
    border-radius: 8px;
    display: none;
    z-index: 200;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    animation: fadeSlide 0.25s ease forwards;
}

.account-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-dropdown li {
    border-bottom: 1px solid #222;
}

.account-dropdown li:last-child {
    border-bottom: none;
}

.account-dropdown a {
    display: block;
    padding: 12px 18px;
    color: #C0C0C0;
    font-size: 14px;
    text-decoration: none;
    transition: 0.25s;
}

.account-dropdown a:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Animación suave */
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===============================
   MINI CARRITO – AJUSTES FINALES
   =============================== */

/* Evitar subrayados en botones tipo <a> */
.side-panel a {
    text-decoration: none !important;
}

/* Botones del carrito */
.cart-mini-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.side-panel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    height: 46px;
    border-radius: 999px;
    border: 1px solid #c0c0c0;
    background: transparent;
    color: #c0c0c0;

    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Botón principal (COMPRAR) */
.side-panel-btn-primary {
    background: #c0c0c0;
    color: #000;
}

.side-panel-btn-primary:hover {
    background: #ffffff;
}

/* Botón outline */
.side-panel-btn-outline:hover {
    background: #c0c0c0;
    color: #000;
}

/* ===============================
   INPUT CANTIDAD (ELEGANTE)
   =============================== */

.cart-mini-qty {
    margin-top: 10px;
}

.cart-mini-qty label {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 6px;
}

.cart-mini-qty input {
    width: 70px;
    height: 36px;

    border-radius: 10px;
    border: 1px solid #444;
    background: #0f0f0f;
    color: #fff;

    text-align: center;
    font-size: 14px;
    outline: none;
}

.cart-mini-qty input:focus {
    border-color: #c0c0c0;
}

/* Quitar */
.cart-mini-remove {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
}

.cart-mini-remove:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===============================
   MINI CARRITO – IMÁGENES
   =============================== */

   .cart-mini-item{
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    margin-bottom: 14px;
}

/* Contenedor imagen */
.cart-mini-img{
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: #111;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen */
.cart-mini-img img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 CLAVE */
    display: block;
}

/* Fallback si no hay imagen */
.cart-mini-noimg{
    font-size: 11px;
    color: #777;
    text-align: center;
}

/* Nombre */
.cart-mini-name{
    font-size: 15px;
    color: #fff;
    margin-bottom: 4px;
}

/* Precio unitario */
.cart-mini-price{
    font-size: 13px;
    color: #aaa;
}

/* Total por producto */
.cart-mini-total{
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}
.cart-mini-img{
    background: radial-gradient(circle, #1a1a1a, #000);
}

  