/* Estilos de tipografía actualizados para DelyApp */
body {
    font-family: 'Inter', 'Nunito', sans-serif !important;
    font-size: 1.3rem !important;
    line-height: 1.8 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Nunito', sans-serif !important;
    font-weight: 700 !important;
}

h1 {
    font-size: 3.2rem !important;
}

h2 {
    font-size: 2.8rem !important;
}

h3 {
    font-size: 2.5rem !important;
}

h4 {
    font-size: 2.1rem !important;
}

h5 {
    font-size: 1.8rem !important;
}

h6 {
    font-size: 1.6rem !important;
}

p {
    font-size: 1.4rem !important;
    line-height: 1.8 !important;
}

/* Estilos para el footer */
.main-footer h5,
.footer h5 {
    font-size: 1.8rem !important;
}

.main-footer p,
.footer p {
    font-size: 1.5rem !important;
}

.main-footer a,
.footer a {
    font-size: 1.4rem !important;
}

.footer-bottom p {
    font-size: 1.4rem !important;
}

/* Estilos específicos para los enlaces del footer */
.main-footer .nav-link,
.footer .nav-link {
    font-size: 1.4rem !important;
}

/* Estilos para listas en el footer */
.main-footer ul li a,
.footer ul li a {
    font-size: 1.3rem !important;
}

/* Estilos para cards */
.card-title {
    font-size: 1.5rem !important;
}

.card-text {
    font-size: 1.3rem !important;
}

/* Estilos para botones */
.btn {
    font-size: 1.25rem !important;
}

/* Estilos específicos para el botón VENDER en el dashboard */
form[method="get"][action="https://delyapp.cl/vender"] .btn.btn-primary {
    font-size: 0.8rem !important;
    width: 140px !important;
    height: 80px !important;
}

/* Estilos para los botones de acciones en la tabla de menú */
#dataTable .btn-group .btn {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.5rem !important;
    margin: 0 0.1rem !important;
}

#dataTable .btn-group {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
}

/* Estilos para los encabezados de la tabla de menú */
#dataTable thead th {
    color: #f9b129 !important; /* Color amarillo */
    font-weight: bold !important;
}

/* Estilos para los encabezados de la tabla de locales */
table.table-sm thead th {
    color: white !important;
    font-weight: bold !important;
}

/* Estilos para mejorar el carrusel de productos */
.slick-slider.slick-initialized {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-prev,
.slick-next {
    position: absolute;
    display: block !important;
    height: 50px;
    width: 50px;
    line-height: 0px;
    font-size: 0px;
    cursor: pointer;
    background: rgba(121, 19, 19, 0.8) !important; /* Color rojo del sitio */
    color: transparent;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 100;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev:hover,
.slick-next:hover {
    background: rgba(249, 177, 41, 0.9) !important; /* Color amarillo del sitio */
}

.slick-prev:before,
.slick-next:before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    color: white;
    opacity: 1;
    font-size: 20px;
    line-height: 1;
}

.slick-prev:before {
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(135deg);
}

.slick-next:before {
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
}

.slick-dots {
    display: none !important;
}

/* Estilos para el nuevo carrusel de productos */
.carousel-products {
    position: relative;
    padding: 20px 60px; /* Espacio para los controles */
}

.carousel-products .carousel-control-prev,
.carousel-products .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(121, 19, 19, 0.8) !important; /* Color rojo del sitio */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-products .carousel-control-prev {
    left: 10px;
}

.carousel-products .carousel-control-next {
    right: 10px;
}

.carousel-products .carousel-control-prev:hover,
.carousel-products .carousel-control-next:hover {
    background: rgba(249, 177, 41, 0.9) !important; /* Color amarillo del sitio */
    transform: translateY(-50%) scale(1.1);
}

.carousel-products .carousel-control-prev-icon,
.carousel-products .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-products .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-products .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

/* Estilos para las tarjetas de productos */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-add-to-cart {
    background-color: #f9b129 !important;
    color: #000 !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
}

.btn-add-to-cart:hover {
    background-color: #791313 !important;
    color: white !important;
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
}

.product-title {
    color: #791313;
    font-weight: bold;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 10px 0;
    min-height: 40px;
}

.product-price {
    text-align: center;
}

.price-amount {
    font-size: 1.3rem;
    font-weight: bold;
    color: #f9b129;
}

/* Estilos para los indicadores del carrusel */
.carousel-indicators {
    position: static;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #791313;
    opacity: 0.5;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-indicators li.active {
    opacity: 1;
    background: #f9b129;
}

/* Estilos para enlaces de navegación */
.nav-link {
    font-size: 1.3rem !important;
}

/* Estilos específicos para productos */
.product-card .card-title {
    font-size: 1.4rem !important;
}

.product-card .card-text {
    font-size: 1.2rem !important;
}

.product-card small {
    font-size: 1.3rem !important;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    body {
        font-size: 1.2rem !important;
    }
    
    h1 { font-size: 2.8rem !important; }
    h2 { font-size: 2.4rem !important; }
    h3 { font-size: 2.1rem !important; }
    h4 { font-size: 1.8rem !important; }
    h5 { font-size: 1.6rem !important; }
    h6 { font-size: 1.4rem !important; }
    
    .product-card .card-title { font-size: 1.3rem !important; }
    .product-card .card-text { font-size: 1.1rem !important; }
    .product-card .btn { font-size: 1.1rem !important; }
    .product-card small { font-size: 1.2rem !important; }
}

@media (max-width: 576px) {
    body {
        font-size: 1.1rem !important;
    }
    
    h1 { font-size: 2.4rem !important; }
    h2 { font-size: 2.0rem !important; }
    h3 { font-size: 1.8rem !important; }
    h4 { font-size: 1.6rem !important; }
    h5 { font-size: 1.4rem !important; }
    h6 { font-size: 1.3rem !important; }
}