html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

@media only screen and (min-width: 600px) and (max-width: 1380px) and (orientation: landscape) {
    .header_three {
        background: white !important;
    }

    .canvas_close a:hover {
        background: #075452;
        border-color: #075452;
        color: #fff;
    }

    .canvas_open a:hover {
        color: #075452 !important;
        border-color: #075452 !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1380px) and (orientation: portrait) {

}

@media only screen and (min-width: 0px) and (max-width: 599px) {
    .header_three {
        background: white !important;
    }

    .canvas_close a:hover {
        background: #075452;
        border-color: #075452;
        color: #fff;
    }

    .logo {
        text-align: left;
        margin-left: -24px; /* Puedes ajustar este valor */
    }

    .logo img {
        display: block;
    }

    .canvas_open a:hover {
        color: #075452 !important;
        border-color: #075452 !important;
    }

    .banner_area {
        display: none !important;
    }

    .product_content {
        text-align: center;
    }

    .product_content .product_name a {
        display: inline-block;
    }

    .product_content .price_box {
        margin-top: 5px;
    }

    .slider_content.slider_c_three h2 {
        display: none;
    }

    .footer_top .row {
        display: flex;
        align-items: center; /* Centra verticalmente */
        flex-wrap: wrap; /* Para que no rompa en pantallas pequeñas */
    }

    .footer_top .col-lg-3:last-child {
        margin-left: 0px !important; /* o 0 para sin margen */
    }

    .offcanvas_main_menu li a:hover {
        color: #075452 !important;
    }

    .contact-title,
    .contact-text {
        display: none !important;
    }

    aside.col-lg-3 {
        width: 100%;
        position: static;
        border: none;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 1.5rem;
    }

    .nav-add-product {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-add-product .nav-link {
        flex: 1 1 auto;
        text-align: center;
    }

    .col-lg-6.col-md-6 {
        width: 100% !important;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
        margin-bottom: 2rem; /* Opcional para separar de otros bloques */
    }

    .account_form.register {
        text-align: center; /* Centra título, texto y botón */
    }

    .account_form.register .btn {
        width: 100%; /* Botón ancho completo */
        max-width: 300px; /* Opcional: limita ancho si lo quieres más estrecho */
        margin: 0 auto;
    }

    input[type="radio"] {
        appearance: auto !important;
        -webkit-appearance: radio !important;
        -moz-appearance: radio !important;
        width: auto !important;
        height: auto !important;
        position: static !important;
        margin-right: 8px;
    }

    ul.list-inline {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px 10px;
        padding-left: 0;
    }

    ul.list-inline li {
        width: 100% !important;
        margin: 0 !important;
        list-style: none;
    }

    ul.list-inline label {
        text-align: center;
        width: 100%;
        display: block;
    }


    .d-flex.align-items-center {
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 1rem;
    }

        /* SOLO el contenedor de la imagen */
        .d-flex.align-items-center > .me-4 {
            flex-shrink: 0 !important;
            width: 75px !important;
            min-width: 75px !important;
        }

    .lazy-image {
        width: 75px !important;
        height: 100px !important;
        display: block !important;
        object-fit: cover;
    }

    /* El div del texto debe crecer, no tener ancho fijo */
    .d-flex.align-items-center > div:not(.me-4) {
        flex-grow: 1 !important;
        min-width: 0;
    }



}