/* ==================== BASE ==================== */
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

/* ==================== NAVBAR ==================== */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    font-size: 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffdd57; /* Highlight on hover */
}

.navbar-item-custom a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0 5px;
}

.navbar-item-custom a:hover {
    color: #ccc;
    text-decoration: underline;
}

/* ==================== LAYOUT ==================== */

.small-container, .small-bloc {
    max-width: 800px;
    margin: 0 auto;
}

.small-bloc {
    background-color: #fafafa;
    padding: 20px;
}

/* Carousel adjustments */
.carousel {
    margin-top:68px; /* Ajustez selon la hauteur de votre navbar */
}

.carousel-item img {
    width: 100%;
    height: 75vh; /* Ajustez la hauteur pour une meilleure visualisation */
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
}

/* ==================== BADGES AND BUTTONS ==================== */
.cart-badge {
    color: #333;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 12px;
    right: 14px;
    transform: translate(50%, -50%);
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-danger {
    border-width: 2px;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: #ffffff;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: #ffffff;
}

/* ==================== FORM AND ALERTS ==================== */
.alert {
    position: relative;
    margin-top: 80px;
    z-index: 1050;
}

.alert-info {
    background-color: #e7f1ff;
    border-color: #b8d0f2;
    color: #0056b3;
}

.form-label {
    font-weight: bold;
    color: #333;
}

form .form-group {
    margin-bottom: 1.5rem;
}

/* ==================== PRODUCT CARD ==================== */
.card {
    border-radius: 10px;
    border: none;
    background-color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff5722;
}

/* ==================== TABLE ==================== */
.table td, .table th {
    text-align: center;
}

/* ==================== ICONS ==================== */
.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.wishlist-icon svg,
.wishlist-icon-active svg {
    background-color: lightgrey;
    color: black;
    padding: 9px;
    border-radius: 50%;
    height: 39px;
    width: 39px;
}

.wishlist-icon-active svg {
    background-color: #ceeddf;
    color: #0b6b3e;
}

/* ==================== FEATURETTES ==================== */
.featurette-divider {
    border-color: #ddd;
}

.featurette-heading {
    font-weight: 700;
    color: #333;
}

/* ==================== FOOTER ==================== */
footer {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    color: #777;
}

footer a {
    color: #555;
}

footer a:hover {
    color: #000;
    text-decoration: underline;
}

/* ==================== MISC ==================== */
.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
