* {
    box-sizing: border-box !important;
}
* {
    font-family: 'Lora', serif !important;
}

main {
    padding-top: 100px;
    min-height: 100vh;
}

html, body {
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* --- Top bar ticker --- */
.top-bar {
    background-color: #000000;
    color: #ffffff;
    font-size: 0.8rem;
    letter-spacing: 1px;
    height: 40px;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.ticker-wrapper {
    display: flex;
    width: max-content;
    animation: ticker 20s linear infinite;
}

.ticker-item {
    display: flex;
    font-size: 12px;
    align-items: center;
    padding-right: 30px;
}

@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Main header --- */
.main-header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 2%;
    border-bottom: 2px solid #D4AF37;
    height: 60px;
    position: relative;
}

/* Logo centrado absoluto — no ocupa espacio en el flex */
.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.logo a {
    text-decoration: none;
    pointer-events: all;
}

.logo h1 {
    margin: 0;
    font-family: "Fleur De Leah", cursive  !important;
    color: #ff00ff;
    font-size: 3rem;
    white-space: nowrap;
}

/* ============================================================
   ADMIN — izquierda en desktop
   ============================================================ */
.admin-links {
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

.admin-links select {
    padding: 6px 30px 6px 12px;
    border: 1px solid #D4AF37;
    border-radius: 20px;
    background-color: #ffffff;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20width%3D"12"%20height%3D"12"%20viewBox%3D"0%200%2012%2012"><path%20fill%3D"%23D4AF37"%20d%3D"M10.293%203.293L6%207.586%201.707%203.293A1%201%200%2000.293%204.707l5%205a1%201%200%20001.414%200l5-5a1%201%200%2010-1.414-1.414z"%2F><%2Fsvg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.admin-links select:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.2);
}

/* ============================================================
   ICONOS — derecha
   ============================================================ */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

.header-icons a,
.header-icons button {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.header-icons a:hover {
    transform: scale(1.1);
}

.header-icon-png {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/* ============================================================
   BUSCADOR GLOBAL
   ============================================================ */
.buscador-global-wrapper {
  position: relative;
}

.btn-lupa-abrir {
  background: none;
  border: none;
  cursor: pointer;
}

.btn-lupa-abrir img {
  width: 20px;
  height: 20px;
}

.buscador-full-container {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  width: 340px;
  background: #fff;
  border: 1px solid #e0d8d0;
  font-family: 'Georgia', serif;
  z-index: 999;
}

.buscador-full-container.mostrar {
  display: block;
}

.header-buscador {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e0d8d0;
}

.titulo-marca {
  letter-spacing: 0.2em;
  font-size: 13px;
  color: #1e1712;
  font-weight: 400;
}

.btn-cerrar {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #aaa;
}

.btn-cerrar:hover {
  color: #1e1712;
}

.input-contenedor {
  padding: 20px;
}

#global-search {
  width: 100%;
  border: none;
  border-bottom: 1px solid #c8b9ab;
  outline: none;
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #1e1712;
  background: transparent;
  padding: 6px 0;
}

#global-search::placeholder {
  color: #bbb;
  font-style: italic;
}

#global-search:focus {
  border-bottom-color: #7a5c44;
}

.buscador-hint {
  padding: 8px 20px 16px;
  font-size: 11px;
  color: #bbb;
}
/* ============================================================
   MENÚ HAMBURGUESA
   ============================================================ */
.menu-container {
    position: relative;
}

.menu-button {
    background: none;
    border: none;
    color: #ff00ff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    outline: none;
}

.menu-button:active {
    transform: scale(0.9);
}

.menu-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    background: #ffffff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 180px;
    z-index: 9999;
    border: 1px solid #D4AF37;
    border-radius: 4px;
    overflow: hidden;
}

.menu-dropdown.show {
    display: block !important;
}

.menu-dropdown li {
    width: 100%;
}

.menu-dropdown li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
    border-bottom: 1px solid #f2f2f2;
}

.menu-dropdown li:last-child a {
    border-bottom: none;
}

.menu-dropdown li a:hover {
    background-color: #FFFDD0;
    color: #ff00ff;
}


   ALERTAS DE DJANGO
 .alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    width: calc(100% - 40px);
}

.alert-custom {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border-radius: 4px !important;
    padding: 16px 18px !important;
    box-shadow: 0 8px 24px rgba(230, 0, 230, 0.12) !important;
    border: 1px solid #eaeaea !important;
    border-left: 4px solid #eaeaea !important;
    margin: 0 !important;
    position: relative !important;
    animation: alertSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes alertSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Error → fucsia */
.alert-error {
    border-left-color: #e600e6 !important;
    box-shadow: 0 8px 24px rgba(230, 0, 230, 0.15) !important;
}

.alert-error .alert-title {
    color: #e600e6 !important;
}

.alert-error .alert-icon {
    background: #fff0ff;
    color: #e600e6;
    border: 1px solid #f5c2f5;
}

/* Éxito → dorado */
.alert-success,
.alert-info,
.alert-warning {
    border-left-color: #d4af37 !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12) !important;
}

.alert-success .alert-title,
.alert-info .alert-title,
.alert-warning .alert-title {
    color: #d4af37 !important;
}

.alert-success .alert-icon,
.alert-info .alert-icon,
.alert-warning .alert-icon {
    background: #fdf9ec;
    color: #d4af37;
    border: 1px solid #f0e0a0;
}

/* Layout interno */
.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-right: 20px;
}

.alert-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.alert-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.alert-text {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

/* Botón cerrar */
.btn-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 22px !important;
    height: 22px !important;
    opacity: 0.4 !important;
    filter: none !important;
    transition: opacity 0.2s !important;
}

.btn-close:hover {
    opacity: 1 !important;
}


/* ============================================================
   MODAL LOGIN / REGISTER
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #000;
    padding: 40px;
    width: 350px;
    border: 2px solid #ff00ff;
    box-shadow: 0 0 20px #ff00ff;
    border-radius: 10px;
    position: relative;
    text-align: center;
    color: white;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #ffcc00;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #ff00ff;
    transform: scale(1.2);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background: #111;
    border: 1px solid #333;
    color: white;
    border-radius: 5px;
}

.btn-neon-submit {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid #ff00ff;
    color: #ff00ff;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 10px #ff00ff;
}

/* ============================================================
   FOOTER
   ============================================================ */
#diosas-footer {
    background-color: #000 !important;
    color: #fff !important;
    padding: 40px 0 10px 0 !important; /* Más aire arriba */
    width: 100% !important;
    font-family: sans-serif;
    border-top: 1px solid #333;
    overflow: hidden; /* Evita scrolls raros */
}

#diosas-footer .footer-main-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: flex-start !important;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 20px;
    flex-wrap: wrap; /* Permite que bajen las columnas si no entran */
}

#diosas-footer .footer-col {
    flex: 1 !important;
    min-width: 250px; /* Un poco más de margen */
    margin: 10px;
    box-sizing: border-box;
}
#diosas-footer .neon-logo {
    color: #ff1493;
    font-size: 3rem; /* Un toque más grande */
    margin: 0 0 15px 0;
    font-family: "Fleur De Leah", cursive !important;

    letter-spacing: 2px;
}
#diosas-footer p {
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 5px 0;
    color: #ccc;
}

#diosas-footer .contact a {
    display: block;
    color: #ccc;
    font-size: 0.8rem;
    line-height: 1.3;
    text-decoration: none;
    margin: 5px 0;
}

#diosas-footer .contact a:hover {
    color: #fff;
}
#diosas-footer .gold-title {
    color: #b38b00;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#diosas-footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#diosas-footer ul li {
    margin-bottom: 4px;
}

#diosas-footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
}

#diosas-footer .neon-socials {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

#diosas-footer .btn-neon {
    border: 1px solid #ff1493;
    color: #ff1493;
    padding: 3px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: none;
}

#diosas-footer .footer-copy {
    text-align: center;
    border-top: 1px solid #1a1a1a;
    margin-top: 20px;
    padding-top: 10px;
    font-size: 0.7rem;
    color: #666;
}
.subheader-diosas {
    width: 100%;
    background-color: #fff;
    /* Línea dorada de 1px */
    border-bottom: 1px solid #d4af37; 
    /* Reducimos el padding vertical al mínimo */
    padding: 4px 0; 
    line-height: 0; /* Elimina espacios extra de texto */
}

.breadcrumb-container {
    width: 100%;
    /* Quitamos el margen automático para que no se centre */
    padding-left: 15px; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.btn-retroceder {
    display: inline-block;
    padding: 0;
    margin: 0;
    line-height: 0;
    transition: transform 0.3s ease;
}

/* Tamaño de la flecha ajustado */
.btn-retroceder img {
    width: 32px; /* Un poco más grande como pediste */
    height: auto;
    display: block;
}

.btn-retroceder:hover {
    transform: translateX(-3px);
}

/* Ajuste para que no interfiera con el header principal */
.header {
    margin-bottom: 0;
}
/* ============================================================
   RESPONSIVE — hasta 950px
   ============================================================ */
@media (max-width: 950px) {
    main { padding-top: 90px; }

    .main-header {
        height: 60px;
        padding: 0 10px;
        display: flex;
        align-items: center;
        position: relative;
    }
    .buscador-full-container {
        width: 300px; /* Reducimos un poco el ancho */
        top: 45px;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        pointer-events: none;
    }

    .logo a { pointer-events: all; }

    .logo h1 { font-size: 1.8rem; }

    /* Admin: caja cuadrada, select invisible, ícono encima */
    .admin-links {
        width: 28px;
        height: 28px;
        position: relative;
        flex-shrink: 0;
        z-index: 20;
    }

    .admin-links select {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 3;
        font-size: 16px;
        padding: 0;
        margin: 0;
        border: none;
        background: none;
        appearance: none;
        -webkit-appearance: none;
    }

    .admin-links::before {
        content: "⚙";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 20px;
        z-index: 2;
        pointer-events: none;
        color: #ff1493;
    }

    .header-icons {
        gap: 8px;
        margin-left: auto;
        flex-shrink: 0;
    }

    .header-icon-png {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    #diosas-footer .footer-main-content {
        flex-direction: column !important; /* Apilado vertical */
        align-items: center !important; /* Centrado para móvil */
        text-align: center !important;
    }

    #diosas-footer .footer-col {
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px 0 !important; /* Separación entre bloques */
        min-width: unset !important; /* Quitamos el mínimo para que no desborde */
    }

    #diosas-footer .neon-socials {
        justify-content: center; /* Centra los iconos sociales */
    }

    #diosas-footer .footer-copy {
        margin-top: 30px;
        padding-bottom: 20px;
    }
    .buscador-full-container {
        width: 100vw; /* Ocupa todo el ancho de la pantalla */
        position: fixed; /* Lo fijamos para que no dependa del wrapper relativo */
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        border: none;
        border-bottom: 2px solid #e0d8d0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }

    .header-buscador {
        padding: 20px;
    }

    .titulo-marca {
        font-size: 15px; /* Un poco más grande para legibilidad */
    }

    #global-search {
        font-size: 18px; /* Evita que iOS haga zoom automático al enfocar */
    }

}

@media (max-width: 600px) {
    .logo h1 { font-size: 1.4rem !important; }
    .header-icons { gap: 6px !important; }
    .header-icon-png { width: 18px !important; height: 18px !important; }
    .input-contenedor {
        padding: 15px 20px 25px; /* Ajustamos el aire interno */
    }

    .titulo-marca {
        letter-spacing: 0.15em; /* Reducimos espacio para que entre bien */
    }
    
    #global-search::placeholder {
        font-size: 14px;
    }
}
@media (max-width: 500px) {
    .alert-container {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}
@media (max-width: 400px) {
    .logo h1 { font-size: 1.2rem !important; }
    .header-icons { gap: 4px !important; }
    .header-icon-png { width: 16px !important; height: 16px !important; }
    .header-buscador {
        padding: 12px 15px;
    }

    .titulo-marca {
        font-size: 12px;
    }

    #global-search {
        font-size: 16px;
    }

    .btn-cerrar {
        font-size: 20px; /* Más fácil de tocar con el dedo */
        padding: 5px;
    }
}