body {
    background: #f6f7f9 url("../img/bg.jpg") repeat;
}

.site-logo {
    display: block;
    width: auto;
    height: 68px;
    max-width: 280px;
    object-fit: contain;
}

.site-header-message {
    padding: 1rem 1.25rem;
    background-color: #eea200;
    border-top: 1px solid #d79200;
    color: #212529;
    font-size: 1.1rem;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
}

.catalog-toolbar {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.intro-panel {
    background: rgba(255, 255, 255, .94);
    border: 1px solid #dee2e6;
    border-left: 4px solid #6c757d;
    border-radius: 8px;
    color: #343a40;
}

.intro-panel p {
    margin-bottom: .75rem;
}

.btn-primary,
.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #eea200;
    border-color: #eea200;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #d79200;
    border-color: #d79200;
}

.text-bg-primary {
    background-color: #eea200 !important;
}

.category-nav {
    gap: .5rem;
}

.site-header-categories .category-nav {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.site-header-categories-label {
    flex: 0 0 auto;
}

.catalog-category {
    scroll-margin-top: 90px;
}

.catalog-category .btn-link {
    color: #343a40;
}

.catalog-category .btn-link:hover,
.catalog-category .btn-link:focus {
    color: #212529;
}

.product-card {
    border-radius: 8px;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.product-row-main {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 230px;
    gap: 1rem;
    align-items: center;
}

.product-row-image {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-row-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.product-image-button {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.product-image-zoom {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

.product-row-info {
    min-width: 0;
}

.product-title {
    overflow-wrap: anywhere;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: #eef0f2;
    color: #6c757d;
    border-radius: 6px;
    text-align: center;
    font-size: .875rem;
}

.product-reference {
    min-height: 1.25rem;
}

.product-description {
    color: #495057;
    white-space: normal;
    overflow-wrap: anywhere;
}

.product-row-actions {
    min-width: 220px;
}

.product-price {
    font-size: 1.05rem;
}

.price-ttc {
    white-space: nowrap;
}

.price-ht {
    color: #6c757d;
    font-weight: 400;
    white-space: nowrap;
}

.required-label::after {
    content: " *";
    color: #dc3545;
    font-weight: 700;
}

.product-quantity-group {
    width: 100%;
}

.cart-quantity-group {
    width: 132px;
}

.cart-product-thumbnail {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.selected-product {
    border-color: var(--bs-border-color);
    box-shadow: none;
}

@media (max-width: 767.98px) {
    .site-header-categories .container-fluid {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .site-header-categories .category-nav {
        width: 100%;
        padding-bottom: .25rem;
    }

    .product-row-main {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .product-row-image {
        width: 88px;
        height: 88px;
    }

    .product-row-actions {
        grid-column: 1 / -1;
        min-width: 0;
    }
}
