/* Estilos generales */

body {
    padding-top: 110px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
}
.hero-section {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    border-radius: 10px;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Estilos para la tienda */
.product-card .price {
    font-size: 1.2rem;
    font-weight: bold;
}

.product-card .original-price {
    text-decoration: line-through;
    color: #6c757d;
}

/* Estilos para el carrito */
.table th {
    font-weight: 600;
}

/* Estilos para el admin */
#sidebar {
    min-height: 100vh;
    background-color: #212529;
}

#sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

#sidebar .nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

#sidebar .nav-link.active {
    color: white;
    background-color: #0d6efd;
}

/* Estilos para los badges de estado */
.badge.bg-warning {
    color: #212529;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .card-img-top {
        height: 150px;
    }
}

/* Estructura principal para footer fijo */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1 0 auto;
    padding-bottom: 20px; /* Espacio antes del footer */
}

footer {
    flex-shrink: 0;
    width: 100%;
}

/* Estilos adicionales para el footer */
footer {
    background-color: #212529;
    color: white;
    padding: 1rem 0;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

footer ul {
    padding-left: 0;
}

footer li {
    margin-bottom: 0.5rem;
}

.table-responsive {
  overflow-x: clip;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1280px;
  }
}

@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1500px;
  }
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow:
hidden;
  border-radius:
10px;
}

.py-5 {
  padding-top: 2rem !important;
  padding-bottom: 0rem !important;
  border-radius:20px;
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
}

.text-dark {
  --bs-text-opacity: 1;
  color: rgb(115, 115, 115) !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bs-heading-color);
}


@media (min-width: 992px) {
    .d-lg-flex {
        display: flex !important
;
        justify-content: center;
        font-weight: bold;
        color: #000000;
        background: #d1d1d1c4;
    }
}

}.mb-5 {
    margin-bottom: 2rem !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgb(0 0 0 / 23%) !important;
}
