.woocommerce-ordering select {
	outline: none;
	background-color: #fff;
	font-size: 17px;
	padding: 6px 9px;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: #38393426;
	border-radius: 9px 9px 9px 9px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.04);
}
.woocommerce-ordering select:focus {
	outline: 2px solid var(--hs-dark-blue);
}

.products {
    gap: 0 !important;
}

.products .product {
    border: 1px solid #e3e3e3;
    padding: 20px !important;
}

.products .product > a {
    height: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
}

.products .product .woocommerce-placeholder.wp-post-image {
	margin-bottom: 5px;
}

.products .product .woocommerce-loop-product__title {
	font-size: 23px;
	font-weight: normal;
	color: var(--hs-dark-blue);
}

.products .product .price .woocommerce-Price-amount {
	color: #464646;
	font-size: 22px;
	font-weight: bold;
}
.products .product .price .pre-price {
	color: #000;
	font-size: 15px;
	font-weight: 300;
	display: block;
}
.products .product .price .pre-price:has(~ .amount) {
	margin-bottom: -4px;
}
.products .product .price .pre-price + small {
    color: #464646;
    margin-right: 5px;
}

.products .product .woocommerce-loop-product__button {
	display: inline-block;
	background-color: var(--hs-blue);
	color: #fff;
	border-radius: 0;
	padding: 10px 20px;
	font-size: 16px;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto;
}
.products .product .woocommerce-loop-product__button:hover {
	background-color: var(--hs-dark-blue);
}
.products .product .woocommerce-loop-product__button i.fa-light {
	transition: transform 0.3s ease;
}
.products .product .woocommerce-loop-product__button:hover i.fa-light {
	transform: translateX(3px);
}

/* Règles pour 2 colonnes */
.columns-2 .product:nth-child(2n) {
    border-right: 1px solid #e3e3e3; /* Dernière colonne garde sa bordure droite */
}
.columns-2 .product:not(:nth-child(2n)) {
    border-right: none; /* Supprime bordure droite sauf dernière colonne */
}
.columns-2 .product:nth-child(n+3) {
    border-top: none; /* Supprime bordure haute à partir de la 2ème ligne */
}

/* Règles pour 3 colonnes */
.columns-3 .product:nth-child(3n) {
    border-right: 1px solid #e3e3e3;
}
.columns-3 .product:not(:nth-child(3n)) {
    border-right: none;
}
.columns-3 .product:nth-child(n+4) {
    border-top: none; /* Supprime bordure haute à partir de la 2ème ligne */
}

/* Règles pour 4 colonnes */
.columns-4 .product:nth-child(4n) {
    border-right: 1px solid #e3e3e3;
}
.columns-4 .product:not(:nth-child(4n)) {
    border-right: none;
}
.columns-4 .product:nth-child(n+5) {
    border-top: none; /* Supprime bordure haute à partir de la 2ème ligne */
}

/* Règles pour 5 colonnes */
.columns-5 .product:nth-child(5n) {
    border-right: 1px solid #e3e3e3;
}
.columns-5 .product:not(:nth-child(5n)) {
    border-right: none;
}
.columns-5 .product:nth-child(n+6) {
    border-top: none; /* Supprime bordure haute à partir de la 2ème ligne */
}

/* Règles pour 6 colonnes */
.columns-6 .product:nth-child(6n) {
    border-right: 1px solid #e3e3e3;
}
.columns-6 .product:not(:nth-child(6n)) {
    border-right: none;
}
.columns-6 .product:nth-child(n+7) {
    border-top: none; /* Supprime bordure haute à partir de la 2ème ligne */
}