html {
}

body {
    background-image: url(/images/background.jpg);
    margin-bottom: 60px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

input.form-control {
    transition: box-shadow 0.3s ease-in-out, border-color 0.6s ease-in-out;
}

    input.form-control:focus {
        box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15); /* azul bem suave */
        border-color: #b3d7ff; /* azul mais claro que o padrão */
    }

button.btn {
    transition: box-shadow 0.6s ease-in-out, border-color 0.6s ease-in-out, background-color 0.6s ease-in-out;
    font-size: 14px;
    text-decoration: none;
}

    button.btn:focus {
        box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15); /* sombra azul clara */
        border-color: #b3d7ff; /* borda mais clara */
    }

.carousel-container {
    max-width: 800px; /* Limit max width */
}

.carousel-inner img {
    object-fit: cover;
    height: 100%; /* Fill the parent height */
}

.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;
}

.btn.btn-link:hover,
.btn.btn-link:focus {
    text-decoration: underline;
}

html {
    position: relative;
    min-height: 100%;
}

.container {
    display: flex;
    flex-direction: row; /* or column */
    justify-content: center; /* space-between | space-around | flex-end */
    align-items: center; /* stretch | flex-start | flex-end */
    gap: 10px; /* space between items */
    flex-wrap: wrap; /* allow items to wrap to next line */
}

.item {
    flex: 1; /* grow/shrink */
    align-self: flex-start; /* override align-items for one item */
    order: 2; /* control order of items */
}

a {
    text-decoration: none; /* remove underline */
    color: #337ab7;
}

    a:hover {
        text-decoration: underline; /* show underline only on hover */
        color: #337ab7;
    }

.px-6 {
    padding-left: 4rem;
    padding-right: 4rem;
}

@media (min-width: 992px) {
    .px-lg-6 {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.cartbutton {
    font-size: 13px;
}

.navbar-nav > li > a, .navbar-brand {
    padding-top: 0px !important;
    height: 20px;
    font-size: 15px;
    color: #777 !important;
}

.navbar {
    background-color: #f8f8f8;
    min-height: 30px !important;
    margin-bottom: 0px !important;
    margin-top: 5px;
    text-decoration: none;
}

.navbar-nav .nav-link,
.navbar-nav .dropdown-item {
    text-decoration: none;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .dropdown-item:hover {
        color: black !important;
    }

.navbar .dropdown-menu .dropdown-item:active {
    background-color: transparent;
}

.navbar-toggle {
    margin-left: 10px;
}

@media (min-width: 992px) { /* For larger screens */
    .navbar-nav .nav-item {
        margin-bottom: 0; /* Remove margin when expanded */
    }
}

.nav-item {
    margin-right: 12px;
    font-size: 16px;
    text-decoration: none;
}

.navbar-toggler:focus {
    background-color: #ddd;
    border-color: #ddd;
    box-shadow: none;
}

.dropdown-item {
    color: #777 !important;
}

.dropdown-menu {
    font-size: 14px !important;
}

.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item:hover {
    color: inherit !important;
}

.prodfoto {
    width: 135px;
    float: left;
}

    .prodfoto img {
        margin: 0 auto;
        display: block;
    }

.listaproddiv {
    background-color: gainsboro;
    height: 1px;
}

.btn-success {
    font-size: 12px;
}

    .btn-success:hover {
        text-decoration: none;
    }

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    font-size: 12px;
}

    .btn-primary:hover {
        background-color: #1C4466;
    }

.btn-outline-secondary {
    font-size: 12px;
}

.btn-outline-danger {
    font-size: 12px;
}

.page-link {
    color: #337ab7;
    display: inherit;
}

    .page-link:hover {
        text-decoration: none;
    }

.btn-secondary {
    font-size: 12px;
}

.category-header {
    background-color: rgba(255, 255, 255, 0.5);
    color: #333;
    padding: 5px 30px;
    margin-bottom: 20px;
    text-align: left;
    border-left: 6px solid #337ab7;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px); /* Adds a blur effect for better readability */
}

    .category-header p {
        font-size: 1.0rem;
        margin: 0;
        color: #555;
    }

.mosaicMain {
    max-width: 230px;
}

    .mosaicMain img {
        margin: 0 auto;
    }

.btn-mid-gray {
    background-color: #DADFE5; /* Medium gray */
    color: #212529; /* Bootstrap's default text color */
    font-size: 0.8rem;
}

    .btn-mid-gray:hover {
        background-color: #adb5bd;
    }

.product-img-wrapper {
    max-width: 240px;
    max-height: 240px;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: auto;
    transition: transform 0.2s ease;
}

    .product-img:hover {
        transform: scale(1.1);
    }

.cart-alert.fade {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.cart-alert.show {
    opacity: 1;
}

.page-wrap {
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .page-wrap {
        width: 80%;
    }
}

@media (min-width: 1400px) {
    .page-wrap {
        width: 70%;
    }
}
