#catalog_title_block {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 30px;
}
#catalog_title{
	text-align: center;
	border: var(--background-red-border);
    background-color: var(--background-header);
	padding: 15px;
	border-radius: 5px;
	transition: .5s;
	width: 250px;
}
#catalog_title:hover{
	background-color: var(--background-hover-title);
}
#catalog_title:hover .catalog_title_text{
	color: var(--police-white-color);
	transition: .5s;
}

.catalog_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.item_card {
    background: var(--background-header);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.item_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.item_image {
    padding-top: 15px;
    width: 100%;
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item_image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.item_info {
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item_price {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

.sold_tag {
    position: absolute;
    top: 10px;
    right: -30px;
    background: crimson;
    color: white;
    padding: 5px 20px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.sold_out .item_image {
    filter: grayscale(90%) brightness(80%);
}

/* Formulaire de commande */
.order_form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.order_row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.order_row select,
.order_row input[type="number"] {
    flex: 1;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
}

.order_form label {
    font-size: 13px;
    text-align: left;
    color: #555;
}

.order_form select,
.order_form input[type="number"] {
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.order_form button {
    margin-top: 5px;
    padding: 10px;
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.order_form button:hover {
    background-color: #1565c0;
}
