/* GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    font-family: Montserrat, sans-serif;
    line-height: 1.6;
}

body .top-header + .container{
    min-height: 60vh;
}

.alert{
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}


/* ---------------------------------------- */

/* HEADER */
.top-header .top-bar {
    background-color: #f1f1f1;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links a {
    margin-left: 10px;
    color: #333;
    text-decoration: none;
}

.top-links a:hover {
    text-decoration: underline;
}

.main-nav {
    background-color: #222;
    color: white;
    padding: 1rem 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.navbar-nav li a {
    color: white !important;
    text-decoration: none;
    padding: 0.5rem;
    transition: background 0.3s;
}

.navbar .nav-link:hover {
    color: #fe6309 !important;
    transition: .3s ease;
}

.navbar .nav-link.active {
    color: #fe6309 !important;
}

@media (min-width: 992px){
    .navbar-expand-lg .navbar-collapse{
        width: 100%;
    }
}

/* ---------------------------------------- */

/* FOOTER */
.main-footer {
    color: white;
    padding: 2rem 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 220px;
}

.footer-section h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 0;
    margin-bottom: 10px;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section p{
    margin-bottom: 10px;
}
.footer-section p i{
    margin-top: 3px;
    margin-right: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #333;
    margin-top: 1rem;
    font-size: 0.8rem;
}

/* ---------------------------------------- */

/* PAGINA INICIO */
.margen-grande {
  margin-top: 6rem;
}

.margen-mapa {
  margin-top: 6rem;
  margin-bottom: 2rem;}

.fondo-personalizado {
  background-color: #e0e0e0;
  min-height: 10rem;
  padding-top: 3rem;
  padding-bottom:5rem;
}

.modern-card {
    text-decoration: none;
    transition: transform 0.2s;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 32px 0 rgba(60,60,60,0.12);
}
.modern-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 40px 0 rgba(60,60,60,0.18);
}
.modern-card-img {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    border-radius: 22px;
}
.modern-card-overlay {
    width: 100%;
    background: linear-gradient(0deg, rgba(30,30,30,0.85) 60%, rgba(30,30,30,0.2) 100%);
    color: #fff;
    padding: 32px 28px 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0 0 22px 22px;
    transition: background 0.3s;
}
.modern-card-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px #111;
}
.modern-card-arrow {
    font-size: 2.5rem;
    font-weight: 400;
    margin-left: 18px;
    transition: transform 0.2s;
}
.modern-card:hover .modern-card-arrow {
    transform: translateX(8px) scale(1.1);
}
@media (max-width: 767px) {
    .modern-card-img {
        height: 220px;
    }
    .modern-card-title {
        font-size: 1.4rem;
    }
    .modern-card-arrow {
        font-size: 1.7rem;
    }
    .modern-card-overlay {
        padding: 18px 14px 14px 14px;
    }
}

.novedad-link {
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
    display: block;
    height: 100%;
}
.novedad-card {
    transition: box-shadow 0.2s, transform 0.2s;
}
.novedad-link:hover .novedad-card {
    box-shadow: 0 8px 32px rgba(60,60,60,0.18);
    transform: translateY(-6px) scale(1.02);
}
.novedad-link:hover .card-title {
    color: #02152a;
    text-decoration: underline;
}


/* ---------------------------------------- */

/* PROMOCIONES PAGINA */
.filtros-promos {
    width: 250px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
}
@media (max-width: 768px){
    .filtros-promos {
        width: 100%;
    }
}

.filtros-promos h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.filtros-promos form {
    display: flex;
    flex-direction: column;
}

.filtros-promos select,
.filtros-promos input[type="checkbox"],
.filtros-promos button {
    margin: 0.25rem 0.5rem 0.25rem 0;
}

.form-check{
    padding: 0;
}

.tarjetas-promos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    flex: 1;
}

.promo-card {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1.3rem !important;
    align-items: center;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
}

.promo-logo img {
    height: 50px;
    width: 120px;
    object-fit: contain;
}

.promo-info{
    width: 100%;
}

.promo-info h4 {
    margin: 0;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.promo-info small {
    display: block;
    margin-bottom: 0.6rem;
    color: #555;
}

.promo-info .caracteristicas{
    font-size: 0.9rem;
}

.btn-solicitar {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 0.8rem;
    width: 100%;
    text-align: center;
    background-color: #002f75;
    color: #ffffff;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 13px;
}
.btn-solicitar i{
    font-size: 12px;
}
.btn-solicitar:hover{
    background-color: #000000;
    color: #ffffff;
}

/* ---------------------------------------- */

/* LOCALES */
.promo-logo.text-start{
    width: 100%;
}

.btn-texto{
    width: 100%;
    color: #002f75;
    font-weight: bold;
}

/* ---------------------------------------- */

/* DETALLE LOCAL */
.banner-shopping{
    min-height: 400px;
    background-image: url('../imagen/shoppinghall.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}
.banner-shopping h2{
    font-size: 45px;
    color: white;
    margin: auto;
}

.banner-shopping .breadcrumb li {
    font-size: 0.85rem;
    color: #bbbbbb;
}
.banner-shopping .breadcrumb li a{
    color: white;
}
.banner-shopping .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: white;
}

.detalleLocal .promo-card img, .detalleLocal .promo-card .text-muted, .detalleLocal .promo-card p:nth-of-type(1){
    display: none;
}

/* ---------------------------------------- */

/* PANEL DUEÑO */
#tabsPanel .active {
    background-color: #0d6efd;
    color: white;
    font-weight: bold;
}
.tab-content h5 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    width: 100%;
}
.tab-content #promos .btn.btn-sm.btn-success{
    width: 215px;
    margin-left: 20px;
}

.panel-container {
    display: flex;
    gap: 1rem;
}
.panel-menu {
    width: 200px;
}
.panel-menu .nav-link {
    text-align: left;
    border: 1px solid #ccc;
    margin-bottom: 5px;
}
.panel-content {
    flex-grow: 1;
}

@media (max-width: 768px){
    .panel-container {
        display: block;
    }
    .panel-menu {
        width: 100%;
        margin-bottom: 20px;
    }
}

.alert-fade {
    animation: fadeOut 4s forwards;
}
@keyframes fadeOut {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

.modal-body .form-check{
    padding-left: 2em !important;
}
.modal-body .form-check .form-check-input{
    margin-left: -1.25em !important;
}

.tab-pane .table td{
    align-content: center;
}
