/*
 * Product catalog
 */

.card.selected {
	border: 3px solid #007bff;
	box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.product-image-container {
	flex: 1;
	max-width: 40%;
}

.product-info-container {
	flex: 1;
}

.product-modal-body {
	display: flex;
	align-items: center;
}

.product-card {
	margin-top: 25px;
	position: relative;
}

.orderdetails-product-card {
	padding-bottom: 0 !important;
}
.product-stock {
	position: absolute;
	font-weight: bold;
	color: darkblue;
	bottom: 5px;
	left: 10px;
}

.outofstock {
	color: darkred;
}
.two-lines {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-title.two-lines {
    height: 43px;
}

h5.card-title {
    font-size: 1.05rem;
	font-weight: bold;
}

.card-brand {
	text-transform: uppercase;
	font-size: 0.8rem;
}

.card-square {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-square-img {
    -o-object-fit: contain;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.spinner-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000; /* Assurez-vous que c'est au-dessus des autres éléments */
    background: rgba(255, 255, 255, 0.8); /* Optionnel : ajouter un fond semi-transparent */
    padding: 20px; /* Optionnel : ajouter un espace autour du spinner */
    border-radius: 10px; /* Optionnel : pour un style arrondi */
}

#section-gift-order {
	padding: 0 0;
}

#section-product-catalog {
	padding: 0 0;
}

#section-giftorderrecipientform {
	padding: 0 0;
}

.recipient-cadeau-placeholder {
 margin-top: 0;
}

/*
 * Highlighting mandatory fields in the recipient address form
 */
#formRecipient label.required, #configurationForm label.required {
	font-weight: bold;
}

#formRecipient label.required::after, #configurationForm label.required::after {
	content: " *";
	color: red;
}


/*
 * Information box on the order being entered
 */
.info-box {
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 15px;
	margin-bottom: 20px;
	background-color: #f9f9f9;
}
.info-box h5 {
	margin-bottom: 10px;
}

/**
 Floating order summary
 */

.summary-floating {
	position: fixed;
	top: 100px;
	right: 20px;
	width: 300px;
	z-index: 1050;
}

.summary-floating .card {
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border: 1px solid #ddd;
	border-radius: 8px;
}

#section-order {
	padding-top: 0rem;
}


.nopaddingtop {
	padding-top: 0;
}

/* .btn_action {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 35px;
	color: white;
	background-color: #1f386e;
	border: none;
	border-radius: 5px;
} */

.menu-user-credit {
	background-color: var(--theme-primary-color-hover);
	padding: 5px 10px 5px 10px;
	border-radius: 20px;
}

.menu-user-photo {
	margin-left: 10px;
}
.menu-user-photo img {
	width: 46px;
	height: 46px;
	position: absolute;
	border-radius: 50px;
	top: -3px;
}

/* no background color for logo */
.navbar-brand #logo {
	background-color: rgba(0, 0, 0, 0) !important;
}

/* override the login background color */
body header.masthead {
	background-image: none !important;
	background-color: #3a8c98 !important;
}

body header.masthead .card {
	background-color: rgba(0, 0, 0, 0) !important;
	border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
	border: none !important;
}

body header.masthead .btn-signin {
	margin: 0 !important;
}

.section-heading {
	color: #04144c;
}

#import, #import-logo {
	padding: 1rem;
}

hr {
	border-color: var(--theme-primary-color-hover) !important;
}

#section-product-catalog .col-md-8 a {
	width: 27% !important;
}

#section-product-catalog .col-md-8 a:nth-child(3) {
	width: 26% !important;
}

#section-product-catalog .col-md-8 a:nth-child(3) {
	width: 40% !important;
}

@media (min-width: 992px) {
	#mainNav.navbar-shrink #logoshrink {
		display: inline !important;
		background-color: rgba(0, 0, 0, 0) !important;
	}
}

.btn-nohover:hover {
	box-shadow: none!important;
	outline: 0!important;
	background-color:var(--theme-primary-color)!important;
	color: white!important;
	cursor: auto!important;
}
