:root {
    --tienda-rojo: #c62828;
    --tienda-rojo-oscuro: #8e1b1b;
    --tienda-verde: #0f766e;
    --tienda-verde-oscuro: #0b5d57;
    --tienda-amarillo: #f4b400;
    --tienda-tinta: #202124;
    --tienda-texto: #374151;
    --tienda-suave: #f4f6f7;
    --tienda-borde: #d8dee4;
    --tienda-blanco: #ffffff;
}

/* Compatibilidad del frontend: las vistas usan prefijos modernos, pero el
   proyecto distribuye localmente la fuente completa de Font Awesome 4.7. */
.fas,
.far,
.fab {
    display: inline-block;
    font-family: FontAwesome !important;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
}

body {
    background: var(--tienda-suave) !important;
    color: var(--tienda-texto);
    font-family: Roboto, Arial, sans-serif !important;
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
}

body * {
    letter-spacing: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--tienda-tinta);
    font-family: Roboto, Arial, sans-serif;
}

a {
    color: var(--tienda-rojo);
}

a:hover {
    color: var(--tienda-rojo-oscuro);
}

.card,
.modal-content,
.form-control,
.form-select,
.btn,
.input-group-text,
.alert {
    border-radius: 6px !important;
}

.btn {
    align-items: center;
    display: inline-flex;
    font-weight: 600;
    justify-content: center;
    min-height: 40px;
}

.btn-primary {
    background: var(--tienda-rojo) !important;
    border-color: var(--tienda-rojo) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--tienda-rojo-oscuro) !important;
    border-color: var(--tienda-rojo-oscuro) !important;
}

.btn-outline-primary {
    border-color: var(--tienda-rojo) !important;
    color: var(--tienda-rojo) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--tienda-rojo) !important;
    color: #ffffff !important;
}

.btn-success {
    background: var(--tienda-verde) !important;
    border-color: var(--tienda-verde) !important;
    color: #ffffff !important;
}

.btn-success:hover,
.btn-success:focus {
    background: var(--tienda-verde-oscuro) !important;
    border-color: var(--tienda-verde-oscuro) !important;
}

.form-control,
.form-select {
    background: #ffffff;
    border: 1px solid #aeb7c2;
    color: var(--tienda-tinta);
    min-height: 42px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--tienda-rojo) !important;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.14) !important;
}

/* -------------------- CABECERA COMPARTIDA -------------------- */

.tienda-brand-header {
    background: #ffffff;
    border-top: 4px solid var(--tienda-rojo);
    box-shadow: 0 1px 0 var(--tienda-borde);
}

.tienda-brand-contenido {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 92px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.tienda-brand {
    align-items: center;
    color: var(--tienda-tinta) !important;
    display: inline-flex;
    gap: 14px;
    text-decoration: none;
}

.tienda-brand img {
    border: 1px solid var(--tienda-borde);
    border-radius: 50%;
    height: 68px;
    object-fit: contain;
    width: 68px !important;
}

.tienda-brand span {
    display: flex;
    flex-direction: column;
}

.tienda-brand strong {
    font-size: 1.55rem;
    line-height: 1.15;
}

.tienda-brand small {
    color: var(--tienda-verde);
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 4px;
    text-transform: uppercase;
}

.tienda-contacto {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
}

.tienda-contacto a {
    align-items: center;
    color: var(--tienda-texto);
    display: inline-flex;
    font-size: 0.92rem;
    gap: 8px;
    text-decoration: none;
}

.tienda-contacto i {
    color: var(--tienda-rojo);
    text-align: center;
    width: 18px;
}

#navegador {
    background: var(--tienda-tinta) !important;
    border: 0 !important;
    box-shadow: 0 2px 8px rgba(32, 33, 36, 0.18) !important;
    min-height: 66px;
    padding: 8px 0 !important;
    position: sticky;
    top: 0;
    z-index: 1030;
}

#navegador::before,
#navegador .nav-link::after {
    display: none !important;
}

#navegador .navbar-brand,
#navegador .navbar-brand span,
#navegador .navbar-brand i {
    color: #ffffff !important;
    font-size: 1rem !important;
    text-shadow: none !important;
}

#navegador .navbar-brand:hover {
    transform: none !important;
}

#navegador .navbar-nav {
    gap: 4px !important;
}

#navegador .nav-link {
    border-radius: 5px;
    color: #ffffff !important;
    font-size: 0.96rem !important;
    font-weight: 600 !important;
    padding: 10px 14px !important;
    text-shadow: none !important;
    text-transform: none !important;
}

#navegador .nav-link:hover,
#navegador .nav-link:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

#navegador .nav-icon {
    align-items: center;
    color: #ffffff !important;
    display: inline-flex;
    font-size: 1.2rem !important;
    height: 42px;
    justify-content: center;
    margin: 0 !important;
    text-shadow: none !important;
    transform: none !important;
    width: 42px;
}

#navegador .nav-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff !important;
    filter: none !important;
    transform: none !important;
}

#navegador .badge {
    animation: none !important;
    background: var(--tienda-amarillo) !important;
    border: 2px solid var(--tienda-tinta) !important;
    box-shadow: none !important;
    color: #111827;
    font-size: 0.68rem;
}

#navegador .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    box-shadow: none !important;
}

#navegador .navbar-toggler-icon {
    filter: invert(1);
}

.btn-wsp {
    align-items: center;
    animation: none !important;
    background: #1e9e50 !important;
    border: 2px solid #ffffff !important;
    border-radius: 50%;
    bottom: 22px !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28) !important;
    display: flex;
    height: 54px !important;
    justify-content: center;
    position: fixed;
    right: 22px !important;
    text-decoration: none;
    width: 54px !important;
    z-index: 1040;
}

.btn-wsp:hover {
    transform: translateY(-2px) !important;
}

.btn-wsp i {
    color: #ffffff;
    font-size: 1.65rem;
}

.tienda-nav-acciones {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-left: 24px;
}

.tienda-busqueda-movil {
    min-width: 210px;
}

/* -------------------- PORTADA Y SECCIONES -------------------- */

.tienda-hero {
    align-items: center;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    color: #ffffff;
    display: flex;
    min-height: 510px;
    position: relative;
}

.tienda-hero::before {
    background: rgba(17, 24, 29, 0.68);
    content: '';
    inset: 0;
    position: absolute;
}

.tienda-hero-contenido {
    padding-bottom: 74px;
    padding-top: 74px;
    position: relative;
    z-index: 1;
}

.tienda-hero-contenido > * {
    max-width: 760px;
}

.tienda-hero-etiqueta,
.tienda-eyebrow {
    color: var(--tienda-amarillo);
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tienda-hero h1 {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 18px;
    overflow-wrap: anywhere;
}

.tienda-hero p {
    color: #f3f4f6;
    font-size: 1.18rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

.tienda-hero-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tienda-hero-acciones .btn-light {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--tienda-tinta);
}

.tienda-ventajas {
    background: #ffffff;
    border-bottom: 1px solid var(--tienda-borde);
}

.tienda-ventajas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tienda-ventajas-grid > div {
    align-items: center;
    border-right: 1px solid var(--tienda-borde);
    display: flex;
    gap: 15px;
    min-height: 105px;
    padding: 20px 28px;
}

.tienda-ventajas-grid > div:last-child {
    border-right: 0;
}

.tienda-ventajas-grid > div > i {
    color: var(--tienda-rojo);
    font-size: 1.6rem;
    text-align: center;
    width: 34px;
}

.tienda-ventajas-grid span {
    display: flex;
    flex-direction: column;
}

.tienda-ventajas-grid strong {
    color: var(--tienda-tinta);
    font-size: 0.98rem;
}

.tienda-ventajas-grid small {
    color: #6b7280;
    margin-top: 3px;
}

.tienda-seccion {
    padding: 64px 0;
}

.tienda-categorias {
    background: #ffffff;
}

.tienda-destacados {
    background: var(--tienda-suave);
}

.tienda-seccion-cabecera {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.tienda-seccion-cabecera h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

.tienda-seccion-cabecera > a {
    color: var(--tienda-rojo);
    font-weight: 700;
    text-decoration: none;
}

.categoria-card {
    aspect-ratio: 16 / 10;
    background: #eef1f3;
    border: 1px solid var(--tienda-borde);
    color: #ffffff !important;
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.categoria-card::after {
    background: rgba(17, 24, 29, 0.5);
    content: '';
    inset: 0;
    position: absolute;
}

.categoria-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
    width: 100% !important;
}

.categoria-card > span {
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 22px;
    position: absolute;
    right: 0;
    z-index: 1;
}

.categoria-card strong {
    color: #ffffff;
    font-size: 1.35rem;
}

.categoria-card small {
    font-weight: 700;
    margin-top: 6px;
}

.categoria-card:hover img {
    transform: scale(1.04);
}

/* -------------------- PRODUCTOS Y CATALOGO -------------------- */

.tienda-producto-card,
.product-wap.card {
    background: #ffffff;
    border: 1px solid var(--tienda-borde) !important;
    box-shadow: 0 2px 8px rgba(32, 33, 36, 0.07) !important;
    overflow: hidden;
}

.tienda-producto-imagen {
    aspect-ratio: 4 / 3;
    background: #f1f3f4;
    display: block;
    overflow: hidden;
    position: relative;
}

.tienda-producto-imagen img,
.product-wap .card-img {
    height: 100% !important;
    object-fit: cover;
    width: 100% !important;
}

.tienda-producto-card h3,
.product-wap .h3 {
    font-size: 1.05rem !important;
    font-weight: 700;
}

.tienda-producto-card h3 {
    line-height: 1.3;
    margin: 10px 0 8px;
}

.tienda-producto-card h3 a {
    color: var(--tienda-tinta);
    text-decoration: none;
}

.tienda-producto-card .card-body {
    background: #ffffff;
    padding: 18px;
}

.producto-etiqueta {
    align-items: center;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    gap: 6px;
    left: 12px;
    padding: 6px 9px;
    position: absolute;
    top: 12px;
}

.producto-etiqueta-oferta {
    background: var(--tienda-rojo);
    color: #ffffff;
}

.producto-etiqueta-promo {
    background: var(--tienda-amarillo);
    color: #111827;
}

.producto-calificacion {
    color: #cbd0d6;
    display: flex;
    font-size: 0.78rem;
    gap: 3px;
}

.producto-calificacion .activa {
    color: var(--tienda-amarillo);
}

.producto-descripcion {
    color: #6b7280;
    display: -webkit-box;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: 2.7rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.producto-promocion {
    align-items: center;
    background: #fff8dc;
    border-left: 3px solid var(--tienda-amarillo);
    color: #634d00;
    display: flex;
    font-size: 0.8rem;
    gap: 7px;
    margin: 0 0 12px;
    padding: 8px 10px;
}

.producto-precio {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    margin-top: auto;
}

.producto-precio span {
    color: #7b8490;
    font-size: 0.82rem;
    text-decoration: line-through;
}

.producto-precio strong {
    color: var(--tienda-tinta);
    font-size: 1.25rem;
}

.producto-acciones {
    display: grid;
    gap: 7px;
    grid-template-columns: minmax(0, 1fr) 42px 42px;
}

.producto-acciones .btn {
    height: 42px;
    min-height: 42px;
    padding: 7px;
}

.producto-acciones .btn-light {
    border: 1px solid var(--tienda-borde);
    color: var(--tienda-rojo);
}

.catalogo-page {
    min-height: 70vh;
}

.catalogo-cabecera {
    background: var(--tienda-tinta);
    color: #e5e7eb;
    padding: 48px 0;
}

.catalogo-cabecera h1 {
    color: #ffffff;
    font-size: 2.35rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.catalogo-cabecera p {
    margin: 0;
}

.catalogo-filtros {
    background: #ffffff;
    border-bottom: 1px solid var(--tienda-borde);
    padding: 30px 0;
    scroll-margin-top: 76px;
}

.catalogo-filtros-titulo {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.catalogo-filtros-titulo h2 {
    font-size: 1.15rem;
    margin: 0;
}

.catalogo-filtros-titulo .form-select {
    max-width: 250px;
}

.catalogo-filtros .form-label {
    color: var(--tienda-tinta);
    font-size: 0.86rem;
    font-weight: 700;
}

.catalogo-resultados:not(:empty) {
    border-top: 1px solid var(--tienda-borde);
    margin-top: 28px;
    padding-top: 28px;
}

.catalogo-listado {
    background: var(--tienda-suave);
}

.catalogo-conteo {
    color: #6b7280;
    font-size: 0.9rem;
}

/* -------------------- FAVORITOS, SERVICIOS Y CONTACTO -------------------- */

.favoritos-seccion,
.servicios-listado {
    background: var(--tienda-suave);
}

.favoritos-estado {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--tienda-borde);
    display: flex;
    gap: 16px;
    justify-content: center;
    min-height: 190px;
    padding: 28px;
    text-align: left;
}

.favoritos-estado > i {
    color: var(--tienda-rojo);
    font-size: 2rem;
}

.favoritos-estado div {
    display: flex;
    flex-direction: column;
}

.favoritos-estado span {
    color: #6b7280;
}

.favorito-card {
    background: #ffffff;
    border: 1px solid var(--tienda-borde);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.favorito-imagen {
    aspect-ratio: 4 / 3;
    background: #eef1f3;
    display: block;
    overflow: hidden;
}

.favorito-imagen img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
    width: 100%;
}

.favorito-imagen:hover img {
    transform: scale(1.04);
}

.favorito-contenido {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.favorito-contenido h3 {
    font-size: 1.05rem;
    margin: 10px 0;
}

.favorito-contenido h3 a {
    color: var(--tienda-tinta);
    text-decoration: none;
}

.favorito-oferta {
    color: var(--tienda-rojo);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.favorito-precio {
    color: var(--tienda-rojo);
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.favorito-acciones {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

.servicios-presentacion {
    background: #ffffff;
}

.servicios-presentacion h2,
.contacto-seccion h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.servicios-presentacion p,
.servicio-item p,
.contacto-intro {
    line-height: 1.7;
}

.servicios-imagen {
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.servicio-item {
    background: #ffffff;
    border: 1px solid var(--tienda-borde);
    padding: 26px;
}

.servicio-item > i {
    color: var(--tienda-rojo);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.servicio-item h3 {
    font-size: 1.08rem;
    font-weight: 800;
}

.servicio-item p {
    color: #6b7280;
    margin: 0;
}

.contacto-seccion {
    background: #ffffff;
}

.contacto-canales {
    border-top: 1px solid var(--tienda-borde);
    margin-top: 28px;
}

.contacto-canales > a,
.contacto-ubicacion {
    align-items: center;
    border-bottom: 1px solid var(--tienda-borde);
    color: var(--tienda-texto);
    display: flex;
    gap: 16px;
    padding: 17px 0;
    text-decoration: none;
}

.contacto-canales > a:hover {
    color: var(--tienda-rojo);
}

.contacto-canales i {
    color: var(--tienda-rojo);
    font-size: 1.35rem;
    text-align: center;
    width: 28px;
}

.contacto-canales span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contacto-canales small {
    color: #6b7280;
    overflow-wrap: anywhere;
}

.contacto-formulario {
    background: var(--tienda-suave);
    border: 1px solid var(--tienda-borde);
    padding: 30px;
}

.contacto-formulario h2 {
    font-size: 1.5rem;
}

.catalogo-paginacion {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 36px;
}

.catalogo-paginacion > span {
    color: #6b7280;
    font-size: 0.9rem;
}

.categoria-navegacion {
    background: #ffffff;
    border-bottom: 1px solid var(--tienda-borde);
}

.categoria-navegacion .container {
    display: flex;
    gap: 4px;
    overflow-x: auto;
}

.categoria-navegacion a {
    border-bottom: 3px solid transparent;
    color: var(--tienda-texto);
    font-weight: 700;
    padding: 18px 16px 15px;
    text-decoration: none;
    white-space: nowrap;
}

.categoria-navegacion a:hover,
.categoria-navegacion a.active {
    border-bottom-color: var(--tienda-rojo);
    color: var(--tienda-rojo);
}

/* -------------------- DETALLE DE PRODUCTO -------------------- */

.detalle-page {
    background: #ffffff;
}

.detalle-producto {
    padding: 28px 0 64px;
}

.detalle-miga {
    align-items: center;
    color: #7b8490;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    gap: 9px;
    margin-bottom: 28px;
}

.detalle-miga a {
    color: var(--tienda-texto);
    text-decoration: none;
}

.detalle-miga i {
    font-size: 0.68rem;
}

.detalle-imagen-principal {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: #f3f4f6;
    border: 1px solid var(--tienda-borde);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.detalle-imagen-principal img {
    height: 100%;
    object-fit: contain;
    width: 100% !important;
}

.detalle-miniaturas {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 12px;
}

.detalle-miniaturas button {
    aspect-ratio: 1;
    background: #ffffff;
    border: 1px solid var(--tienda-borde);
    cursor: pointer;
    overflow: hidden;
    padding: 3px;
}

.detalle-miniaturas button:hover,
.detalle-miniaturas button:focus {
    border-color: var(--tienda-rojo);
}

.detalle-miniaturas img {
    height: 100%;
    object-fit: cover;
    width: 100% !important;
}

.detalle-info h1 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px;
}

.detalle-categoria {
    color: var(--tienda-verde);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.detalle-descripcion {
    color: #616b77;
    line-height: 1.7;
}

.detalle-promocion {
    align-items: center;
    background: #fff8dc;
    border-left: 4px solid var(--tienda-amarillo);
    color: #634d00;
    display: flex;
    gap: 10px;
    margin: 20px 0;
    padding: 13px 15px;
}

.detalle-precio {
    align-items: baseline;
    border-bottom: 1px solid var(--tienda-borde);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
    padding-bottom: 24px;
}

.detalle-precio span {
    color: #7b8490;
    text-decoration: line-through;
}

.detalle-precio small {
    color: var(--tienda-verde);
    font-weight: 700;
}

.detalle-precio strong {
    color: var(--tienda-tinta);
    flex-basis: 100%;
    font-size: 2rem;
}

.detalle-opciones {
    border: 0;
    margin: 0 0 22px;
    padding: 0;
}

.detalle-opciones legend,
.detalle-compra-label {
    color: var(--tienda-tinta);
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 9px;
}

.detalle-opcion-seleccionada {
    display: inline-block;
    margin-bottom: 10px;
    max-width: 220px;
}

.detalle-colores {
    display: flex;
    flex-wrap: wrap;
}

.detalle-compra {
    align-items: center;
    border-bottom: 1px solid var(--tienda-borde);
    border-top: 1px solid var(--tienda-borde);
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 20px 0;
}

.detalle-compra > div:first-child {
    display: flex;
    flex-direction: column;
}

.detalle-cantidad {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 38px 42px 38px;
}

.detalle-cantidad .btn {
    height: 38px;
    min-height: 38px;
    padding: 4px;
    width: 38px;
}

.detalle-cantidad > span {
    color: var(--tienda-tinta);
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
}

.detalle-stock {
    align-items: center;
    display: flex;
    font-size: 0.88rem;
    font-weight: 700;
    gap: 8px;
}

.detalle-stock.disponible {
    color: var(--tienda-verde);
}

.detalle-stock.agotado {
    color: var(--tienda-rojo);
}

.detalle-acciones {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 48px;
    margin-top: 22px;
}

.detalle-acciones .btn {
    min-width: 0;
}

.detalle-acciones .btn-light {
    border: 1px solid var(--tienda-borde);
    color: var(--tienda-rojo);
    padding-left: 10px;
    padding-right: 10px;
}

.detalle-relacionados {
    background: var(--tienda-suave);
    border-top: 1px solid var(--tienda-borde);
}

.modalimg {
    align-items: center;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    inset: 0;
    justify-content: center;
    overflow: auto;
    padding: 70px 24px 30px;
    position: fixed;
    z-index: 1100;
}

.modalimg[style*="display: block"] {
    display: flex !important;
    flex-direction: column;
}

.modal-content2 {
    max-height: calc(100vh - 130px);
    max-width: 1000px;
    object-fit: contain;
    width: auto !important;
}

.modalimg .close {
    align-items: center;
    background: #ffffff;
    border: 0;
    border-radius: 50%;
    color: #111827;
    display: flex;
    height: 42px;
    justify-content: center;
    position: fixed;
    right: 24px;
    top: 20px;
    width: 42px;
}

#caption {
    color: #ffffff;
    margin-top: 12px;
    text-align: center;
}

/* -------------------- SOLICITUD DE COMPRA -------------------- */

.solicitud-page {
    background: var(--tienda-suave);
    min-height: 70vh;
}

.solicitud-resumen,
.solicitud-formulario {
    background: #ffffff;
    border: 1px solid var(--tienda-borde);
    padding: 24px;
}

.solicitud-panel-cabecera {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.solicitud-panel-cabecera h2,
.solicitud-formulario h2 {
    font-size: 1.35rem;
    margin: 0;
}

.solicitud-tabla thead th {
    background: var(--tienda-tinta);
    color: #ffffff;
    font-size: 0.78rem;
    padding: 12px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.solicitud-total {
    align-items: center;
    border-top: 2px solid var(--tienda-tinta);
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
}

.solicitud-total span {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 800;
    margin-right: 18px;
    text-transform: uppercase;
}

.solicitud-total strong {
    color: var(--tienda-tinta);
    font-size: 1.55rem;
}

.solicitud-formulario .form-label {
    color: var(--tienda-tinta);
    font-size: 0.86rem;
    font-weight: 700;
}

#resltBusqueda[aria-busy="true"] {
    min-height: 180px;
    opacity: 0.7;
}

.detalle-color {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    margin: 0 6px 8px 0;
}

.detalle-color-muestra {
    background: var(--color-producto, #ffffff);
    border: 1px solid #9ca3af;
    border-radius: 50%;
    display: inline-block;
    height: 18px;
    width: 18px;
}

.producto-imagen-principal,
#product-detail,
#product-detail2,
#product-detail3,
#product-detail4 {
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    object-fit: contain;
    width: 100% !important;
}

/* -------------------- MODALES, CARRITO Y LOGIN -------------------- */

.tienda-modal .modal-content {
    background: #ffffff !important;
    border: 1px solid #9ca3af;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.26);
    color: var(--tienda-texto);
}

.tienda-modal .modal-header {
    background: #f3f4f6 !important;
    border-bottom: 1px solid var(--tienda-borde);
    color: var(--tienda-tinta) !important;
    padding: 16px 20px !important;
}

.tienda-modal .modal-title {
    color: var(--tienda-tinta) !important;
    font-size: 1.15rem !important;
    font-weight: 700;
}

.tienda-modal .modal-body {
    background: #ffffff;
    color: var(--tienda-texto);
}

.tienda-modal table {
    color: var(--tienda-texto);
    margin-bottom: 0;
}

.tienda-modal table thead th,
.checkout-resumen table thead th,
.cliente-seccion table thead th {
    background: var(--tienda-tinta) !important;
    color: #ffffff !important;
    font-size: 0.78rem;
    padding: 12px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.carrito-imagen {
    border: 1px solid var(--tienda-borde);
    border-radius: 5px !important;
    height: 62px !important;
    object-fit: cover;
    width: 62px !important;
}

.carrito-cantidad {
    align-items: center;
    display: grid;
    gap: 5px;
    grid-template-columns: 34px 58px 34px;
    margin-bottom: 4px;
    width: 136px;
}

.carrito-cantidad .btn {
    height: 34px;
    min-height: 34px;
    padding: 4px;
    width: 34px;
}

.carrito-cantidad .form-control {
    height: 34px;
    min-height: 34px;
    padding: 4px;
    text-align: center;
}

.carrito-modal-footer {
    align-items: center;
    background: #f8fafc;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.carrito-total {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    margin-left: auto;
}

.carrito-total span {
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.carrito-total strong {
    color: var(--tienda-tinta);
    font-size: 1.35rem;
}

/* -------------------- PERFIL Y CHECKOUT -------------------- */

.cliente-page {
    background: var(--tienda-suave);
    min-height: 65vh;
}

.cliente-cabecera {
    align-items: center;
    background: #ffffff;
    border-bottom: 3px solid var(--tienda-rojo);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 22px 24px;
}

.cliente-cabecera h1 {
    font-size: 1.65rem;
    margin: 4px 0;
}

.cliente-cabecera p {
    margin: 0;
}

.cliente-eyebrow {
    color: var(--tienda-verde);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cliente-tabs {
    border-bottom: 1px solid #aeb7c2;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.cliente-tabs .nav-link {
    border-radius: 5px 5px 0 0 !important;
    color: var(--tienda-texto);
    font-weight: 700;
    min-height: 46px;
    white-space: nowrap;
}

.cliente-tabs .nav-link.active {
    border-bottom-color: #ffffff;
    color: var(--tienda-rojo);
}

.checkout-resumen,
.cliente-seccion {
    background: #ffffff;
    border: 1px solid var(--tienda-borde);
    padding: 22px;
}

.checkout-resumen h2,
.checkout-panel h2,
.cliente-seccion h2 {
    font-size: 1.25rem;
    margin: 0 0 6px;
}

.checkout-total {
    align-items: center;
    border-top: 2px solid var(--tienda-tinta);
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
    padding-top: 16px;
}

.checkout-total span {
    color: #6b7280;
    font-weight: 700;
    margin-right: 18px;
    text-transform: uppercase;
}

.checkout-total strong {
    color: var(--tienda-tinta);
    font-size: 1.55rem;
}

.checkout-panel {
    background: #ffffff;
    border: 1px solid var(--tienda-borde);
    padding: 22px;
}

.checkout-metodo {
    border-top: 1px solid var(--tienda-borde);
    padding-top: 18px;
}

.checkout-metodo-titulo {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.checkout-metodo-titulo > i {
    align-items: center;
    background: #f3f4f6;
    border-radius: 50%;
    color: var(--tienda-rojo);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.checkout-metodo-titulo div {
    display: flex;
    flex-direction: column;
}

.checkout-metodo-titulo small {
    color: #6b7280;
}

.checkout-separador {
    align-items: center;
    color: #6b7280;
    display: flex;
    gap: 10px;
    margin: 18px 0;
}

.checkout-separador::before,
.checkout-separador::after {
    background: var(--tienda-borde);
    content: '';
    flex: 1;
    height: 1px;
}

.pedido-pasos {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pedido-paso {
    align-items: center;
    background: #eef1f3;
    border: 1px solid var(--tienda-borde);
    color: #6b7280;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100px;
    justify-content: center;
    padding: 14px;
    text-align: center;
}

.pedido-paso i {
    font-size: 1.45rem;
}

.pedido-paso-activo {
    background: #e7f5f1;
    border-color: var(--tienda-verde);
    color: var(--tienda-verde-oscuro);
}

.cliente-seccion .dataTables_wrapper,
.cliente-seccion .dataTables_length label,
.cliente-seccion .dataTables_filter label,
.cliente-seccion .dataTables_info {
    color: var(--tienda-texto) !important;
}

/* -------------------- PIE -------------------- */

.tienda-footer {
    background: var(--tienda-tinta);
    color: #d1d5db;
}

.tienda-footer h2,
.tienda-footer h3 {
    color: #ffffff;
}

.tienda-footer h2 {
    font-size: 1.4rem;
}

.tienda-footer h3 {
    font-size: 1rem;
    margin-bottom: 14px;
}

.tienda-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tienda-footer li {
    align-items: flex-start;
    display: flex;
    gap: 9px;
    margin-bottom: 10px;
}

.tienda-footer a {
    color: #e5e7eb;
    text-decoration: none;
}

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

.tienda-footer li i {
    color: var(--tienda-amarillo);
    margin-top: 4px;
    width: 16px;
}

.tienda-footer-copy {
    background: #111315;
    border-top: 1px solid #3f444a;
    color: #b7bec6;
    font-size: 0.85rem;
    padding: 14px 0;
}

/* -------------------- RESPONSIVE -------------------- */

@media (max-width: 991px) {
    #navegador .navbar-collapse {
        background: var(--tienda-tinta) !important;
        border: 0 !important;
        box-shadow: none !important;
        margin-top: 8px;
        padding: 10px 0;
    }

    #navegador .navbar-nav {
        border: 0 !important;
        padding: 0 !important;
    }

    #navegador .ms-4 {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        justify-content: center;
        margin: 8px 0 0 !important;
        padding: 12px 0 0 !important;
    }

    .tienda-nav-acciones {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        justify-content: center;
        margin: 8px 0 0;
        padding-top: 12px;
    }

    .checkout-panel {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .tienda-brand-contenido {
        min-height: 78px;
    }

    .tienda-brand img {
        height: 54px;
        width: 54px !important;
    }

    .tienda-brand strong {
        font-size: 1rem;
    }

    .tienda-brand small {
        font-size: 0.72rem;
    }

    #navegador {
        min-height: 58px;
    }

    .tienda-hero {
        background-position: 58% center;
        min-height: 420px;
    }

    .tienda-hero-contenido {
        padding-bottom: 54px;
        padding-top: 54px;
    }

    .tienda-hero-contenido > * {
        max-width: 520px;
    }

    .tienda-hero h1 {
        font-size: 2.15rem;
    }

    .tienda-hero p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .tienda-ventajas-grid {
        grid-template-columns: 1fr;
    }

    .tienda-ventajas-grid > div {
        border-bottom: 1px solid var(--tienda-borde);
        border-right: 0;
        min-height: 84px;
        padding: 16px 8px;
    }

    .tienda-ventajas-grid > div:last-child {
        border-bottom: 0;
    }

    .tienda-seccion {
        padding: 46px 0;
    }

    .tienda-seccion-cabecera {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .tienda-seccion-cabecera h2 {
        font-size: 1.65rem;
    }

    .catalogo-cabecera {
        padding: 36px 0;
    }

    .catalogo-cabecera h1 {
        font-size: 1.8rem;
    }

    .catalogo-filtros-titulo {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .catalogo-filtros-titulo .form-select {
        max-width: none;
    }

    .catalogo-paginacion {
        align-items: stretch;
        flex-direction: column;
    }

    .catalogo-paginacion > span {
        order: -1;
        text-align: center;
    }

    .detalle-producto {
        padding-bottom: 46px;
    }

    .detalle-info h1 {
        font-size: 1.8rem;
    }

    .detalle-compra {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .detalle-acciones {
        grid-template-columns: minmax(0, 1fr) 48px;
    }

    .detalle-acciones #btnAddCart {
        grid-column: 1 / -1;
    }

    .detalle-acciones .btn-light {
        height: 46px;
        padding-left: 0;
        padding-right: 0;
        width: 48px;
    }

    .detalle-miniaturas {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .solicitud-resumen,
    .solicitud-formulario {
        padding: 16px;
    }

    .solicitud-panel-cabecera {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .solicitud-panel-cabecera .btn {
        width: 100%;
    }

    .cliente-page {
        padding-bottom: 30px !important;
        padding-top: 30px !important;
    }

    .cliente-cabecera {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }

    .cliente-cabecera .btn {
        width: 100%;
    }

    .checkout-resumen,
    .checkout-panel,
    .cliente-seccion {
        padding: 16px;
    }

    .checkout-resumen > .d-flex {
        align-items: stretch !important;
        flex-direction: column;
    }

    .checkout-resumen > .d-flex .btn {
        width: 100%;
    }

    .carrito-modal-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .carrito-total {
        align-items: center;
        margin: 0;
    }

    .carrito-modal-footer > .btn,
    .carrito-modal-footer > div:last-child,
    .carrito-modal-footer > div:last-child .btn,
    .carrito-modal-footer > div:last-child a {
        width: 100%;
    }

    .pedido-pasos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .tienda-brand strong {
        font-size: 0.9rem;
        overflow-wrap: anywhere;
    }

    .tienda-brand span {
        max-width: 190px;
    }

    .tienda-busqueda-movil {
        min-width: 170px;
    }

    .tienda-nav-acciones {
        gap: 4px;
    }

    .tienda-hero h1 {
        font-size: 1.8rem;
    }

    .tienda-hero-acciones .btn {
        width: 100%;
    }

    .cliente-tabs .nav-link {
        font-size: 0.86rem;
        padding: 10px 12px;
    }
}

/* ========================================================================== */
/* TEMA APERTURE DE LA TIENDA ONLINE                                           */
/* Estas reglas estan acotadas al body publico para no modificar el dashboard. */
/* ========================================================================== */

body.aperture-store {
    --tienda-rojo: #ff8b21;
    --tienda-rojo-oscuro: #d96d0a;
    --tienda-verde: #23d9ff;
    --tienda-verde-oscuro: #08a8c7;
    --tienda-amarillo: #ffca5c;
    --tienda-tinta: #f7fbff;
    --tienda-texto: #dce7f5;
    --tienda-suave: rgba(6, 24, 39, 0.96);
    --tienda-borde: rgba(142, 234, 255, 0.28);
    background: #07131f url('../img/fondo-planeta-tierra_23-2150564684.avif') center / cover fixed no-repeat !important;
    color: var(--tienda-texto);
}

body.aperture-store h1,
body.aperture-store h2,
body.aperture-store h3,
body.aperture-store h4,
body.aperture-store h5,
body.aperture-store h6 {
    color: #f7fbff;
}

body.aperture-store a {
    color: #23d9ff;
}

body.aperture-store a:hover,
body.aperture-store a:focus {
    color: #8eeaff;
}

/* Botones y campos compartidos de toda la tienda. */
body.aperture-store .btn-primary {
    background: #ff8b21 !important;
    border-color: #ffb25d !important;
    color: #071018 !important;
}

body.aperture-store .btn-primary:hover,
body.aperture-store .btn-primary:focus {
    background: #d96d0a !important;
    border-color: #ff8b21 !important;
    color: #ffffff !important;
}

body.aperture-store .btn-success {
    background: #23d9ff !important;
    border-color: #7deaff !important;
    color: #071827 !important;
}

body.aperture-store .btn-success:hover,
body.aperture-store .btn-success:focus {
    background: #08a8c7 !important;
    border-color: #23d9ff !important;
    color: #071827 !important;
}

body.aperture-store .btn-outline-primary {
    border-color: #ff8b21 !important;
    color: #ffb25d !important;
}

body.aperture-store .btn-outline-primary:hover,
body.aperture-store .btn-outline-primary:focus {
    background: #ff8b21 !important;
    color: #071018 !important;
}

body.aperture-store .btn-light {
    background: #102d40;
    border-color: rgba(142, 234, 255, 0.4);
    color: #8eeaff;
}

body.aperture-store .btn-light:hover,
body.aperture-store .btn-light:focus {
    background: #16425a;
    border-color: #23d9ff;
    color: #ffffff;
}

body.aperture-store .form-control,
body.aperture-store .form-select {
    background-color: #f4fbff;
    border-color: #8fb5c5;
    color: #102033;
}

body.aperture-store .form-control::placeholder {
    color: #607383;
    opacity: 1;
}

body.aperture-store .form-control:focus,
body.aperture-store .form-select:focus {
    border-color: #23d9ff !important;
    box-shadow: 0 0 0 3px rgba(35, 217, 255, 0.2) !important;
}

body.aperture-store .input-group-text {
    background: #dff5fc;
    border-color: #8fb5c5;
    color: #102033;
}

body.aperture-store .form-label,
body.aperture-store .form-check-label {
    color: #eaf7ff;
}

/* Cabecera e identidad principal de Aperture. */
body.aperture-store .tienda-brand-header {
    background: #082135;
    border-top-color: #ff8b21;
    box-shadow: 0 1px 0 rgba(35, 217, 255, 0.32);
}

body.aperture-store .tienda-brand {
    color: #ffffff !important;
}

body.aperture-store .tienda-brand img {
    background: #ffffff;
    border-color: #23d9ff;
    box-shadow: 0 0 0 3px rgba(35, 217, 255, 0.12);
}

body.aperture-store .tienda-brand small {
    color: #8eeaff;
}

body.aperture-store .tienda-contacto a {
    color: #dff7ff;
}

body.aperture-store .tienda-contacto a:hover,
body.aperture-store .tienda-contacto i {
    color: #ffb25d;
}

body.aperture-store #navegador {
    background: #06131e !important;
    border-bottom: 1px solid rgba(35, 217, 255, 0.32) !important;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.34) !important;
}

body.aperture-store #navegador .navbar-brand i {
    color: #ff8b21 !important;
}

body.aperture-store #navegador .nav-link:hover,
body.aperture-store #navegador .nav-link:focus,
body.aperture-store #navegador .nav-icon:hover {
    background: rgba(35, 217, 255, 0.13) !important;
    color: #8eeaff !important;
}

body.aperture-store #navegador .badge {
    background: #ffca5c !important;
    border-color: #06131e !important;
    color: #071018;
}

/* Icono responsive: Bootstrap ya lo genera blanco; no debe invertirse. */
body.aperture-store #navegador .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter: none !important;
    opacity: 1;
}

body.aperture-store #navegador .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.9) !important;
}

/* Portada: conserva la foto real de los productos y adopta los acentos Aperture. */
body.aperture-store .tienda-hero::before {
    background: rgba(3, 12, 20, 0.7);
}

body.aperture-store .tienda-hero-etiqueta,
body.aperture-store .tienda-eyebrow {
    color: #8eeaff;
}

body.aperture-store .tienda-hero p {
    color: #e8f7ff;
}

body.aperture-store .tienda-hero-acciones .btn-light {
    background: #0b2638;
    border-color: #8eeaff;
    color: #ffffff;
}

body.aperture-store .tienda-ventajas {
    background: #0b2638;
    border-bottom-color: rgba(35, 217, 255, 0.3);
}

body.aperture-store .tienda-ventajas-grid > div {
    border-color: rgba(142, 234, 255, 0.2);
}

body.aperture-store .tienda-ventajas-grid > div > i {
    color: #ff8b21;
}

body.aperture-store .tienda-ventajas-grid strong {
    color: #ffffff;
}

body.aperture-store .tienda-ventajas-grid small {
    color: #afc8d8;
}

body.aperture-store .tienda-categorias,
body.aperture-store .servicios-presentacion,
body.aperture-store .contacto-seccion,
body.aperture-store .detalle-page {
    background: rgba(7, 24, 39, 0.97);
}

body.aperture-store .tienda-destacados,
body.aperture-store .catalogo-listado,
body.aperture-store .favoritos-seccion,
body.aperture-store .servicios-listado,
body.aperture-store .detalle-relacionados {
    background: rgba(5, 17, 28, 0.96);
    border-color: rgba(142, 234, 255, 0.2);
}

body.aperture-store .tienda-seccion-cabecera > a {
    color: #ffb25d;
}

body.aperture-store .categoria-card {
    background: #102d40;
    border-color: rgba(142, 234, 255, 0.4);
}

body.aperture-store .categoria-card::after {
    background: rgba(3, 12, 20, 0.48);
}

/* Tarjetas de productos, favoritos y resultados del catalogo. */
body.aperture-store .tienda-producto-card,
body.aperture-store .product-wap.card,
body.aperture-store .favorito-card {
    background: #102d40;
    border-color: rgba(142, 234, 255, 0.34) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24) !important;
}

body.aperture-store .tienda-producto-imagen,
body.aperture-store .favorito-imagen,
body.aperture-store .detalle-imagen-principal,
body.aperture-store .detalle-miniaturas button {
    background: #eef5f7;
}

body.aperture-store .tienda-producto-card .card-body,
body.aperture-store .favorito-contenido {
    background: #102d40;
}

body.aperture-store .tienda-producto-card h3 a,
body.aperture-store .favorito-contenido h3 a,
body.aperture-store .producto-precio strong,
body.aperture-store .detalle-precio strong {
    color: #ffffff;
}

body.aperture-store .producto-descripcion,
body.aperture-store .favoritos-estado span,
body.aperture-store .servicio-item p,
body.aperture-store .catalogo-conteo,
body.aperture-store .catalogo-paginacion > span,
body.aperture-store .detalle-descripcion,
body.aperture-store .detalle-miga {
    color: #afc2d0;
}

body.aperture-store .producto-promocion,
body.aperture-store .detalle-promocion {
    background: #332b13;
    color: #ffe29a;
}

body.aperture-store .producto-etiqueta-oferta {
    background: #ff8b21;
    color: #071018;
}

body.aperture-store .producto-etiqueta-promo {
    background: #ffca5c;
    color: #071018;
}

body.aperture-store .producto-calificacion .activa,
body.aperture-store .tienda-footer li i {
    color: #ffca5c;
}

body.aperture-store .favorito-precio,
body.aperture-store .favorito-oferta,
body.aperture-store .detalle-categoria {
    color: #8eeaff;
}

body.aperture-store .producto-acciones .btn-light,
body.aperture-store .detalle-acciones .btn-light {
    background: #091c2a;
    border-color: rgba(142, 234, 255, 0.32);
    color: #ffb25d;
}

/* Cabecera, filtros y navegacion por categorias del catalogo. */
body.aperture-store .catalogo-cabecera {
    background: #0b2638;
    border-bottom: 3px solid #ff8b21;
    color: #cfe4ef;
}

body.aperture-store .catalogo-filtros,
body.aperture-store .categoria-navegacion {
    background: #0d2b3e;
    border-color: rgba(142, 234, 255, 0.28);
}

body.aperture-store .catalogo-filtros .form-label,
body.aperture-store .catalogo-filtros-titulo h2 {
    color: #f7fbff;
}

body.aperture-store .catalogo-resultados:not(:empty) {
    border-top-color: rgba(142, 234, 255, 0.25);
}

body.aperture-store .categoria-navegacion a {
    color: #dce7f5;
}

body.aperture-store .categoria-navegacion a:hover,
body.aperture-store .categoria-navegacion a.active {
    border-bottom-color: #ff8b21;
    color: #ffb25d;
}

/* Servicios, contacto y estados vacios. */
body.aperture-store .favoritos-estado,
body.aperture-store .servicio-item,
body.aperture-store .contacto-formulario {
    background: #102d40;
    border-color: rgba(142, 234, 255, 0.3);
}

body.aperture-store .favoritos-estado > i,
body.aperture-store .servicio-item > i,
body.aperture-store .contacto-canales i {
    color: #ff8b21;
}

body.aperture-store .contacto-canales,
body.aperture-store .contacto-canales > a,
body.aperture-store .contacto-ubicacion {
    border-color: rgba(142, 234, 255, 0.22);
}

body.aperture-store .contacto-canales > a,
body.aperture-store .contacto-ubicacion {
    color: #e8f7ff;
}

body.aperture-store .contacto-canales small {
    color: #9eb7c7;
}

/* Detalle del producto y estado de stock. */
body.aperture-store .detalle-miga a,
body.aperture-store .detalle-opciones legend,
body.aperture-store .detalle-compra-label,
body.aperture-store .detalle-cantidad > span {
    color: #f7fbff;
}

body.aperture-store .detalle-precio,
body.aperture-store .detalle-compra {
    border-color: rgba(142, 234, 255, 0.26);
}

body.aperture-store .detalle-stock.disponible {
    color: #70e27c;
}

body.aperture-store .detalle-stock.agotado {
    color: #ff7a70;
}

/* Solicitud, perfil, checkout y seguimiento de pedidos. */
body.aperture-store .solicitud-page,
body.aperture-store .cliente-page {
    background: rgba(5, 17, 28, 0.92);
}

body.aperture-store .solicitud-resumen,
body.aperture-store .solicitud-formulario,
body.aperture-store .cliente-cabecera,
body.aperture-store .checkout-resumen,
body.aperture-store .cliente-seccion,
body.aperture-store .checkout-panel {
    background: #102d40;
    border-color: rgba(142, 234, 255, 0.3);
}

body.aperture-store .cliente-cabecera {
    border-bottom-color: #ff8b21;
}

body.aperture-store .cliente-cabecera p,
body.aperture-store .solicitud-total span,
body.aperture-store .checkout-total span,
body.aperture-store .checkout-metodo-titulo small,
body.aperture-store .checkout-separador {
    color: #afc2d0;
}

body.aperture-store .cliente-eyebrow {
    color: #8eeaff;
}

body.aperture-store .cliente-tabs {
    border-color: rgba(142, 234, 255, 0.3);
}

body.aperture-store .cliente-tabs .nav-link {
    color: #dce7f5;
}

body.aperture-store .cliente-tabs .nav-link:hover {
    border-color: rgba(142, 234, 255, 0.24);
    color: #8eeaff;
}

body.aperture-store .cliente-tabs .nav-link.active {
    background: #102d40;
    border-color: rgba(142, 234, 255, 0.3);
    border-bottom-color: #102d40;
    color: #ffb25d;
}

body.aperture-store .checkout-metodo,
body.aperture-store .checkout-total,
body.aperture-store .solicitud-total {
    border-color: rgba(142, 234, 255, 0.35);
}

body.aperture-store .checkout-metodo-titulo > i {
    background: #081b29;
    color: #ff8b21;
}

body.aperture-store .pedido-paso {
    background: #0a2132;
    border-color: rgba(142, 234, 255, 0.25);
    color: #a9bfce;
}

body.aperture-store .pedido-paso-activo {
    background: rgba(35, 217, 255, 0.12);
    border-color: #23d9ff;
    color: #8eeaff;
}

body.aperture-store .solicitud-tabla thead th,
body.aperture-store .tienda-modal table thead th,
body.aperture-store .checkout-resumen table thead th,
body.aperture-store .cliente-seccion table thead th {
    background: #06131e !important;
    color: #ffffff !important;
}

/* Modales de carrito, acceso, ofertas y promociones. */
body.aperture-store .tienda-modal .modal-content {
    background: #0b2638 !important;
    border-color: rgba(142, 234, 255, 0.42);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
    color: #dce7f5;
}

body.aperture-store .tienda-modal .modal-header {
    background: #071827 !important;
    border-bottom-color: rgba(142, 234, 255, 0.28);
    color: #ffffff !important;
}

body.aperture-store .tienda-modal .modal-title,
body.aperture-store .tienda-modal .modal-header h5 {
    color: #ffffff !important;
}

body.aperture-store .tienda-modal .modal-body {
    background: #0b2638;
    color: #dce7f5;
}

body.aperture-store .tienda-modal .modal-footer,
body.aperture-store .carrito-modal-footer {
    background: #071827;
    border-top-color: rgba(142, 234, 255, 0.28);
}

body.aperture-store .tienda-modal .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
}

body.aperture-store .tienda-modal table,
body.aperture-store .solicitud-tabla,
body.aperture-store .checkout-resumen table,
body.aperture-store .cliente-seccion table {
    --bs-table-bg: transparent;
    --bs-table-color: #e8f7ff;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
    --bs-table-striped-color: #ffffff;
    --bs-table-hover-bg: rgba(35, 217, 255, 0.1);
    --bs-table-hover-color: #ffffff;
    border-color: rgba(142, 234, 255, 0.2);
    color: #e8f7ff;
}

body.aperture-store .carrito-total span {
    color: #afc2d0;
}

body.aperture-store .carrito-total strong,
body.aperture-store .solicitud-total strong,
body.aperture-store .checkout-total strong {
    color: #ffffff;
}

body.aperture-store .alert-secondary,
body.aperture-store .alert-light {
    background: #102d40;
    border-color: rgba(142, 234, 255, 0.3);
    color: #dce7f5;
}

/* DataTables dentro del perfil del cliente. */
body.aperture-store .cliente-seccion .dataTables_wrapper,
body.aperture-store .cliente-seccion .dataTables_length label,
body.aperture-store .cliente-seccion .dataTables_filter label,
body.aperture-store .cliente-seccion .dataTables_info {
    color: #dce7f5 !important;
}

body.aperture-store .cliente-seccion .page-link {
    background: #0a2132;
    border-color: rgba(142, 234, 255, 0.3);
    color: #8eeaff;
}

body.aperture-store .cliente-seccion .page-item.active .page-link {
    background: #ff8b21;
    border-color: #ffb25d;
    color: #071018;
}

/* Pie compartido de todas las paginas publicas. */
body.aperture-store .tienda-footer {
    background: #07131f;
    border-top: 3px solid #23d9ff;
    color: #c8d8e4;
}

body.aperture-store .tienda-footer a {
    color: #e8f7ff;
}

body.aperture-store .tienda-footer a:hover {
    color: #ffb25d;
}

body.aperture-store .tienda-footer-copy {
    background: #050b11;
    border-top-color: rgba(142, 234, 255, 0.2);
    color: #9eb4c2;
}

@media (max-width: 991px) {
    body.aperture-store #navegador .navbar-collapse {
        background: #06131e !important;
    }
}

@media (max-width: 767px) {
    body.aperture-store {
        background-attachment: scroll !important;
    }

    body.aperture-store .tienda-ventajas-grid > div {
        border-color: rgba(142, 234, 255, 0.2);
    }
}
