.page {
	padding-top: 90px;
}

.ad-container {
	/* border: 1px solid #f5f5f554; */
}

.search-suggestion-drop {
	background: white;
	color: var(--clr-text);
	position: absolute;
	width: 100%;
	border: 1px solid #cecece;
	z-index: 1;
	/* min-height: 50px; */
	/* display: none; */
}

.search-suggestion-drop:empty {
	display: none;
}
.search-suggestion-drop .ph-item {
	margin-bottom: 0;
	padding: 10px;
}
.search-suggestion-drop .ph-row {
	margin-top: 0;
}

.search-suggestion-drop .suggestion {
	padding: 10px 20px;
	cursor: pointer;
	text-transform: capitalize;
}

.search-suggestion-drop .suggestion:hover {
	background: #eeeeee;
}

.hero-drop .company-location {
	font-size: smaller;
	color: #6e6e6e;
}

.hero-drop .company-name {
	font-size: larger;
	color: var(--clr-primary);
}

.company-res .wrap {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

.company-res {
	display: flex;
	color: black;
	gap: 10px;
	cursor: pointer;
}

.company-res:not(:last-child) {
	border-bottom: 1px solid var(--clr-accent);
}

.company-res:hover {
	/* background: #fff2b8; */
}

.hero-drop {
	position: absolute;
	width: 100%;
	display: grid;
	background: white;
	z-index: 1;
	outline: 2px solid var(--clr-accent);
	max-height: 300px;
	overflow: auto;
	/* gap: 5px; */
}

#hero .wrapper {
	/* width: 70%; */
	position: relative;
	width: 100%;
}

.wrrap {
	position: relative;
}

.product-searchbar img.icon {
	width: 20px;
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
}

#annuaire .searchbar .wrap {
	position: relative;
	width: 60%;
}

.hero-drop img {
	width: 200px;
}

#annuaire .wrap img.icon {
	position: absolute;
	top: 50%;
	transform: translate(10px, -50%);
	width: 20px;
	/* filter: var(--filter-white); */
}

#overlayy {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: block;
	z-index: 10;
	backdrop-filter: blur(1px);
}
.popup-ad-container {
	position: fixed;
	inset: calc((100vh - 600px) / 2) calc((100vw - 600px) / 2);
	z-index: 11;
	display: none;
	place-items: center;
}
.exit-ad {
	position: absolute;
	top: 0;
	right: 0;
	transform: translate(100%, -100%);
	font-size: 25px;
	color: white;
	cursor: pointer;
}
.exit-ad:hover {
	color: var(--clr-accent);
}
.popup-ad {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fixed-ad-container {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 125px;
	z-index: 1;
}
.close-ad {
	position: absolute;
	top: 0;
	right: 3px;
	font-size: 25px;
	color: white;
	cursor: pointer;
}
.close-ad:hover {
	color: var(--clr-accent);
}
.fixed-banner-ad {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#back-to-top {
	display: none;
	position: fixed;
	bottom: 15px;
	left: 15px;
	z-index: 10;
	cursor: pointer;
}
#back-to-top i {
	font-size: 50px;
	color: var(--clr-accent);
}
#back-to-top:hover i {
	color: var(--clr-secondary-dark);
}

#wishlist-container {
	display: none;
	position: fixed;
	inset: 5% 7%;
	background-color: white;
	z-index: 11;
	padding: 20px;
	grid-template-rows: 40px 1fr;
}
.close-wishlist {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 60px;
	line-height: 0.7;
	cursor: pointer;
}

.close-wishlist:hover {
	color: var(--clr-accent);
}
#wishlist-container .section-title {
	margin-bottom: 0;
}
#wishlist-container .section-title span {
	font-size: 0.6em;
}
#wishlist-container > .wrapper {
	display: flex;
	gap: 20px;
}
#wishlist-container .group-by-companies {
	padding: 8px 15px;
	border-radius: 6px;
	background-color: var(--clr-accent-light);
	color: white;
	font-weight: 400;
	cursor: pointer;
}
#wishlist-container .group-by-companies:hover {
	background-color: var(--clr-accent);
}
#wishlist-container .group-by-companies.toggled {
	background-color: var(--clr-accent-dark);
}
.wish-list {
	position: relative;
	height: calc(100% - 40px);
	display: grid;
	flex-wrap: wrap;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: max-content;
	justify-content: space-evenly;
	gap: 10px;
	padding: 10px;
	/* margin: 5px; */
	overflow: scroll;
	align-items: start;
}
.wish-list .empty {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 40px;
	font-weight: 500;
	color: var(--clr-text-lead-lighter);
}
.wish-item {
	display: flex;
	outline: 0.5px solid var(--clr-overlay);
	/* height: min-content; */
}
.wish-item img {
	padding: 5px;
	width: 35%;
	aspect-ratio: 1;
	object-fit: contain;
}
.wish-item .wrapper {
	border-left: 0.5px solid var(--clr-overlay);
	padding: 5px 10px;
	width: 60%;
	display: flex;
	flex-direction: column;
}
.wish-item .wrapper > * {
	margin-bottom: 0.5em;
}
.wish-item .product-name {
	font-size: 20px;
	font-weight: 500;
	color: var(--clr-title);
}
.wish-item .product-ref {
	font-size: 12px;
	font-weight: 500;
	color: var(--clr-text-lead);
}

.wish-item .company-name {
	font-weight: 400;
	color: var(--clr-primary);
	font-size: 17px;
}
.company-number,
.company-email {
	font-size: 14px;
}
.company-number span,
.company-email span {
	font-weight: 400;
}
.wish-item .buttons {
	margin-top: auto;
	display: flex;
	gap: 20px;
}
.wish-item .buttons > div {
	cursor: pointer;
}
.wish-item .buttons > div:hover {
	text-decoration: underline;
	color: var(--clr-secondary-dark);
}

header {
	position: fixed;
	/* padding-inline: 20px; */
	font-size: 16px;
	font-weight: 500;
	color: white;
	height: 80px;
	left: 0;
	right: 0;
	z-index: 1;
}

nav.header-nav {
	margin-inline: auto;
}
header .header-container {
	/* position: fixed; */
	left: 0;
	right: 0;
	top: 0;
	height: 80px;
	display: flex;
	justify-content: space-between;
	padding-inline: 15px;
	/* background: var(--clr-overlay-darker); */
	background-color: #fff;
	backdrop-filter: blur(2px);
	z-index: 9999;
	align-items: center;
	gap: 25px;
	color: var(--clr-title);
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
header .mobile-nav {
	display: none;
}
header .header-brand {
	width: 150px;
	filter: brightness(1.3);
}
header .header-nav ul {
	display: flex;
	gap: 60px;
}
header .nav-item {
	cursor: pointer;
	position: relative;
}

header .nav-item:hover {
	color: var(--clr-accent-light);
}

header .nav-item.selected-link {
}
header .auth-btns {
	display: flex;
	gap: 20px;
	font-size: 15px;
	color: white;
	font-weight: 400;
}

header :is(.auth-btns, .buttons) a > * {
	padding: 10px 25px;
	border-radius: 8px;
	cursor: pointer;
}

.login-btn:hover {
	color: var(--clr-accent);
}

header .login-btn {
	position: relative;
	color: black;
}
header .login-btn::before {
	border-radius: inherit;
	content: "";
	position: absolute;
	border: 1px solid var(--clr-accent);
	inset: -1.5px;
	margin: auto;
	width: 0;
	height: 0;
	opacity: 0;
	transition: width 300ms ease-in-out, height 150ms ease-in-out, opacity 100ms ease-in-out;
}
header .login-btn:hover::before {
	width: 100%;
	height: 100%;
	opacity: 1;
}
header .register-btn {
	background: var(--gradient-secondary-accent-left);
	transition: 0.2s;
}
header .register-btn:hover {
	box-shadow: 0px 0px 20px 0px var(--clr-accent-subtle);
	background: var(--gradient-secondary-accent-right);
	scale: 0.95;
}
header .dashboard-btn {
	display: none;
	/* margin-left: auto; */
}
header .profile {
	position: relative;
	display: none;
	align-items: center;
	flex-direction: row-reverse;
	justify-self: flex-end;
	gap: 15px;
	/*! important pour le dropdown*/
	padding: 5px;
}
header .profile-pic {
	width: 50px;
	aspect-ratio: 1;
	border-radius: 50%;
}
header .profile-name {
	text-transform: capitalize;
	margin-bottom: 5px;
	font-size: 18px;
	font-weight: 400;
}
header .status {
	position: relative;
	margin-left: 20px;
	font-size: 16px;
	font-weight: 400;
	color: var(--clr-text-lead-lighter);
}
header .status:before {
	content: "";
	position: absolute;
	top: 5px;
	left: -20px;
	width: 10px;
	border-radius: 50%;
	aspect-ratio: 1;
	background-color: var(--clr-green);
}
header .profile-dropdown {
	color: white;
	background-color: var(--clr-primary-light);
	width: max-content;
	position: absolute;
	top: 60px;
	left: -10px;
	display: none;
	flex-direction: column;
	border-radius: 2px 2px 10px 10px;
	z-index: 1;
}
header .dropdown-item:first-child {
	border-radius: 2px 2px 0 0; /* top-left, top-right, bottom-right, bottom-left */
}
header .dropdown-item:last-child {
	border-radius: 0 0 10px 10px;
}
header .dropdown-item {
	padding-inline: 15px;
	padding-block: 25px;
	height: 35px;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 17px;
	font-weight: 400;
	cursor: pointer;
}
header .dropdown-item:hover {
	background-color: var(--clr-primary);
}
header .dropdown-item .icon {
	width: 18px;
	filter: var(--filter-white);
}
#logout-btn:hover {
	/* color: var(--clr-red); */
}
#logout-btn:hover .icon {
	/* filter: var(--filter-red); */
}
#hero {
	color: white;
	background-image: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8)), url(../img/hero-picture.jpg);
	/* position: absolute; */
	inset: 0;
	height: 100vh;
	/* margin-top: 80px; */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* gap: 120px; */
	z-index: 1;
	/* padding-block: 50px; */
}
#hero .hero-content {
	display: flex;
	flex-direction: column;
	gap: 50px;
	/* padding-block: 5px; */
	margin-block: auto;
}

#hero .hero-text > * {
	margin-bottom: 0.4em;
	text-align: center;
}
#hero .hero-text h1 {
	font-family: var(--ff-work);
	font-size: 60px;
}
#hero .hero-text span {
	background: var(--gradient-secondary-accent-left);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
#hero .hero-text h3 {
	font-size: 30px;
	font-weight: 400;
}
#hero .hero-searchbar {
	display: flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
}
#hero .hero-searchbar > div {
	display: flex;
	gap: 10px;
	width: 70%;
}

.countries-select {
	width: 100px;
	padding: 10px;
	font-size: 16px;
}
#hero .hero-searchbar input {
	padding: 15px 25px;
	width: 100%;
	font-size: 20px;
	border: none;
	border-radius: 8px;
}
#hero .search-btn {
	padding: 15px 30px;
	border-radius: 8px;
	font-size: 21px;
	background: var(--gradient-secondary-accent-left);
	cursor: pointer;
	font-weight: 400;
	transition: all 0.2s;
}
#hero .search-btn:hover {
	scale: 0.95;
	box-shadow: 0px 0px 20px 0px var(--clr-accent-subtle);
	background: var(--gradient-secondary-accent-right);
}
#hero .ad-container {
	width: 100%;
	/* margin-top: auto; */
}
footer {
	position: relative;
	color: var(--clr-title);
}
footer .footer-top,
footer .footer-bot {
	background-image: url(../img/footer-border.png);
	background-size: cover;
	height: 98px;
}
footer .footer-container {
	position: relative;
	background: var(--clr-bg);
	/* background: linear-gradient(0deg, rgba(112, 53, 12, 1) 0%, rgba(142, 67, 15, 1) 50%); */
	z-index: 1;
	padding: 25px;
	padding-inline: 75px;

	flex-wrap: nowrap;
	/* row-gap: 30px; */
	/* flex-direction: column; */
}
footer .footer-contact {
	margin-bottom: 9px;
	width: max-content;
}
footer .footer-contact > * {
	margin-bottom: 0.5em;
}

footer .footer-contact .brand {
	width: 150px;
}
footer .footer-contact h1 {
	/* color: white; */
	font-family: var(--ff-work);
	font-weight: 700;
}
footer .footer-contact p {
	font-size: 14px;
	line-height: 24px;
	/* color: #fff; */
	text-wrap: nowrap;
}
footer .footer-contact a {
	text-decoration: none;
	color: #fff;
}
footer .footer-links {
	display: none;
	width: 50%;
	margin: auto;
}
footer .footer-links h4 {
	color: white;
	margin-bottom: 0.4em;
}
footer .footer-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: fit-content;
}
footer .footer-links ul i {
	padding-right: 8px;
	color: #ffffff;
	font-size: 11px;
	line-height: 1;
}
footer .footer-links ul li {
	padding: 10px 0;
	display: flex;
	align-items: center;
	color: white;
	transition: 0.3s;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}
footer .footer-links ul li:hover {
	text-decoration: none;
	color: var(--clr-secondary);
}
footer .footer-links ul li:first-child {
	padding-top: 0;
}

footer .footer-copyright {
	width: 100%;
	display: flex;
	/* place-items: center; */
	/* color: white; */
	text-align: center;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
footer .copyright {
	margin-bottom: 10px;
	color: var(--clr-title);
}

footer .credits a {
	color: var(--clr-secondary);
	font-weight: 500;
}
section {
	padding-inline: 100px;
	padding-block: 75px;
	place-items: center;
}
.section-title {
	width: fit-content;
	display: flex;
	align-items: center;
	text-align: center;
	gap: 5px;
	margin-inline: auto;
	font-size: 32px;
	color: var(--clr-title);
	margin-bottom: 70px;
}
.section-title:before,
.section-title:after {
	content: "";
	width: 50px;
	height: 2px;
	background: var(--clr-accent);
	display: inline-block;
}

#get-started {
	display: grid;
	grid-template-columns: 1fr 1fr;
	/* background-color: var(--clr-bg); */
}
#get-started .text {
	height: 100%;
}
#get-started .text > * {
	margin-bottom: 1em;
}
#get-started h2 {
	position: relative;
	font-size: 35px;
	color: var(--clr-title);
}
#get-started p {
	color: var(--clr-text);
	font-size: 17px;
	font-weight: 400;
}
#get-started span {
	font-weight: 500;
	color: var(--clr-accent);
}
#get-started .register-btn {
	margin-top: 75px;
	padding: 20px 50px;
	background-image: var(--gradient-secondary-accent-left);
	width: fit-content;
	color: white;
	font-weight: 500;
	font-size: 18px;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.2s;
}
#get-started .register-btn:hover {
	background-image: var(--gradient-secondary-accent-right);
	box-shadow: 0px 0px 20px 0px var(--clr-accent-subtle);
	scale: 0.95;
}
#get-started img {
	width: 400px;
}

#partners {
}
#partners .partners-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: center;
	justify-items: center;
	gap: 20px;
}
#partners img {
	max-width: 50%;
}
#services {
	/* background-color: var(--clr-bg); */
}
#services .container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
}
#services picture {
	width: 100%;
	border-radius: 8px;
	height: 600px;
	background-image: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8)), url(../img/services-img.jpg);
}
#services h3 {
	font-size: 28px;
	font-weight: 700;
	color: var(--clr-title);
	margin-bottom: 20px;
	/* padding-bottom: 20px; */
	position: relative;
}

#services h3:after {
	/* content: ""; */
	position: absolute;
	display: block;
	width: 50%;
	height: 3px;
	background: var(--clr-secondary);
	left: 0;
	bottom: 0;
}

#services .icon-box {
	margin-top: 30px;
	display: flex;
}

#services .icon-box i {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--clr-secondary);
	margin-right: 20px;
	font-size: 28px;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	line-height: 0;
	box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.08);
	background-color: #fff;
	transition: 0.3s;
}

#services .icon-box:hover i {
	background-color: var(--clr-accent);
	color: #fff;
}
#services .icon-box:hover h4 {
	color: var(--clr-accent);
}

#services .icon-box h4 {
	font-weight: 700;
	margin-bottom: 10px;
	font-size: 18px;
	color: var(--clr-text);
	transition: 0.3s;
}

#services .icon-box h4 a {
}
#services .icon-box p {
	line-height: 24px;
	font-size: 14px;
	margin-bottom: 0;
}
#offers {
}
#offers .offers-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
	align-items: end;
}
#offers .offers-card {
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	padding: 20px;
	gap: 10px;
	border-radius: 16px;
	position: relative;
	align-items: center;
	height: 100%;
}

#offers .card-title {
	text-align: center;
	font-size: 30px;
	background-color: attr(data-color color);
}

#offers .icon {
	margin: 30px auto 30px auto;
}

#offers .card-price {
	text-align: center;
}
#offers .card-price span {
	font-size: 28px;
	color: var(--clr-title);
	font-weight: 700;
}
#offers .card-lead {
	color: var(--clr-text);
	font-size: 18px;
	text-align: center;
	font-family: var(--ff-roboto);
	font-weight: 500;
}
#offers .offers-card ul {
	padding-left: 20px;
	font-size: 14px;
}
#offers .offers-card li {
	color: var(--clr-text);
	margin-bottom: 0.5em;
}
#offers .offers-card li::before {
	content: "✔️";
	margin-right: 5px;
}
#offers .card-action {
	width: fit-content;
	align-items: baseline;
	gap: 8px;
	color: var(--clr-text-lead);
	cursor: pointer;
	padding: 10px 15px;
	border-radius: 8px;
	font-size: 16px;
	background: var(--gradient-secondary-accent-left);
	cursor: pointer;
	font-weight: 400;
	transition: all 0.2s;
	color: white;
}
#offers .card-action:hover {
	scale: 0.95;
	box-shadow: 0px 0px 20px 0px var(--clr-accent-subtle);
	background: var(--gradient-secondary-accent-right);
}
#contact .infos-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
#contact .info-item:first-child {
	width: 98%;
}
#contact .info-item:is(:nth-child(2), :nth-child(3)) {
	width: 48%;
}
#contact .info-item {
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
	padding: 20px 0 30px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 16px;
}

#contact .info-item i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	font-size: 24px;
	line-height: 0;
	color: var(--clr-primary);
	border-radius: 50%;
	border: 2px dotted var(--clr-accent);
}

#contact .info-item h3 {
	font-size: 20px;
	color: var(--clr-title);
	font-weight: 700;
	margin: 10px 0;
}
#contact .info-item p {
	padding: 0;
	line-height: 24px;
	font-size: 14px;
	margin-bottom: 0;
}

#contact .contact-form {
	padding-top: 30px;
}
#contact .contact-form .message {
	text-align: center;
	font-size: 18px;
	color: transparent;
}
#contact .contact-form .form-container {
	margin-top: 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 15px;
}
#contact .contact-form label {
	color: var(--clr-title);
	font-size: 17px;
	font-weight: 500;
	display: block;
}
#contact .contact-form label:is(:nth-child(2), :first-child) {
	width: 48%;
}
#contact .contact-form label:is(:nth-child(3), :nth-child(4)) {
	width: 100%;
}
#contact .contact-form textarea,
#contact .contact-form input {
	margin-top: 10px;
	/* padding: 10px 15px; */
	width: 100%;
	font-family: inherit;
	border: none;
	background-color: #ededed;
	border-radius: 8px;
	padding: 15px 20px;
	resize: vertical;
	font-size: 16px;
	border: 1px solid #e8e8e8;
}
#contact .submit {
	margin: auto;
	display: grid;
	place-content: center;
	padding: 20px 100px;
	border-radius: 8px;
	cursor: pointer;
	color: white;
	font-weight: 500;
	font-size: 18px;
	background-image: var(--gradient-secondary-accent-left);
	transition: all 0.2s;
}
#contact .submit.loading {
	pointer-events: none;
	opacity: 0.8;
}

#contact .submit:hover {
	background: var(--gradient-secondary-accent-right);
	box-shadow: 0px 0px 20px 0px var(--clr-accent-subtle);
	scale: 0.95;
}
#contact .submit :hover {
	background-color: var(--clr-secondary-hover);
}
#annuaire .filters {
	margin-right: 220px;
}

#annuaire .country-filter {
	display: flex;
	justify-content: center;
}
#annuaire .country-filter .input-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 50%;
}
#annuaire .country-filter label {
	font-weight: 400;
	font-size: 17px;
}
#annuaire .country-filter select {
	padding: 10px 15px;
	border-radius: 8px;
	font-size: 16px;
	width: 100%;
}
#annuaire .searchbar {
	padding-block: 25px 10px;
	display: flex;
	gap: 10px;
	justify-content: center;
	position: relative;
	margin-bottom: 10px;
}
#annuaire .searchbar input {
	padding: 10px 25px 10px 45px;
	width: 100%;
	font-size: 20px;
	border-radius: 8px;
}
#annuaire .search-btn {
	display: grid;
	place-content: center;
	font-size: 19px;
	padding-inline: 40px;
	border-radius: 8px;
	background: var(--gradient-secondary-accent-left);
	cursor: pointer;
	color: white;
	font-weight: 400;
	transition: all 0.2s;
}
#annuaire .search-btn:hover {
	background: var(--gradient-secondary-accent-right);
	box-shadow: 0px 0px 20px 0px var(--clr-accent-subtle);
	scale: 0.95;
}
:is(#annuaire, #events) .container {
	display: grid;
	grid-template-columns: 1fr 200px;
	gap: 30px;
	margin: 20px 75px 100px;
	min-height: 90vh;
}

:is(#annuaire, #events) .ad-container:first-child {
	margin-block: 10px;
}
.ad-180x600 {
	width: 180px;
	height: 600px;
	object-fit: cover;
}
.ad-350x350 {
	width: 350px;
	aspect-ratio: 1;
	object-fit: cover;
}
.ad-banner {
	margin: auto;
	width: 100%;
	height: 130px;
	object-fit: cover;
}
#annuaire .companies-list {
	display: flex;
	flex-wrap: wrap;
	/* grid-template-columns: 1fr 1fr; */
	gap: 15px;
	align-content: flex-start;
}
#annuaire .companies-list .empty {
	margin: auto;
	font-size: 40px;
	font-weight: 500;
	color: var(--clr-text-lead-lighter);
}
:is(#annuaire, #events) .ph-item {
	height: 200px;
	width: 100%;
}
#annuaire .company-card {
	border-radius: 8px;
	display: flex;
	height: 200px;
	cursor: pointer;
	transition: all 0.3s;
	min-width: 49%;
	flex-grow: 1;
	background: white;
	padding: 15px;
	gap: 15px;
	text-transform: capitalize;
	box-shadow: 0 0px 10px -5px rgb(0 0 0 / 10%);
}
#annuaire .company-card:hover {
	box-shadow: 0 10px 14px -5px rgb(0 0 0 / 10%);
	scale: 1.015;
}
#annuaire .company-card img {
	width: 200px;
	height: 100%;
	object-fit: contain;
}
#annuaire .company-card .text {
	height: 100%;
	display: flex;
	flex-direction: column;
}
#annuaire .company-card .text > * {
	margin-bottom: 0.5em;
}
#annuaire .company-card .name {
	text-transform: capitalize;
	font-size: 23px;
	font-weight: 500;
	color: var(--clr-primary);
}
#annuaire .company-card .category {
	text-transform: capitalize;
	font-size: 17px;
	font-weight: 400;
	color: var(--clr-black);
}
#annuaire .company-card .adress {
	margin-top: 10px;
	color: var(--clr-title);
}
#annuaire .company-card .lead {
	color: var(--clr-accent);
	font-weight: 400;
	font-size: 14px;
	margin-top: auto;
}
:is(#annuaire, #events) .actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
}
:is(#annuaire, #events) .actions > a {
	cursor: pointer;
}
:is(#annuaire, #events) .action {
	width: 39px;
	aspect-ratio: 1;
	padding: 10px;
	border-radius: 50%;
	text-align: center;
	color: var(--clr-accent);
	transition: 0.2s;
	border: 1px dotted var(--clr-accent);
}
:is(#annuaire, #events) .action:hover {
	background-color: var(--clr-accent);
	color: white;
	scale: 1.1;
	outline: none;
}

#events .events-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
#events .event-card {
	background-color: white;
	width: 100%;
	position: relative;
	border-radius: 10px;
	height: 200px;
	display: flex;
	align-items: center;
}
#events .event-card .picture {
	border-radius: 10px;
	width: 33%;
	height: 100%;
	object-fit: cover;
}
#events .event-card .title {
}
#events .event-card .wrapper {
	padding: 20px 40px;
}
#events .event-card .wrapper > * {
	margin-bottom: 1em;
}
#events .event-card h3 {
	font-size: 25px;
	text-transform: capitalize;
}
#events .event-card .description {
	font-size: 18px;
}
#events .event-card .date {
	margin-top: auto;
	display: inline-flex;
	gap: 1ch;
	align-items: center;
	font-size: 15px;
}
#events .event-card span {
	font-size: 16px;
	font-weight: 500;
	color: var(--clr-text-lead);
}
#events .event-card a {
	padding-inline: 30px;
	font-size: 18px;
	color: var(--clr-accent-light);
	font-weight: 500;
	cursor: pointer;
}
#events .event-card a:hover {
	scale: 1.1;
	transition: 0.2s;
}

#company .ad-container:first-child {
	margin-top: 10px;
}
#company .container {
	margin: 50px 100px;
}
#company .container > * {
	margin-bottom: 50px;
}
#company .back-button {
	font-size: 20px;
	font-weight: 500;
	color: var(--clr-primary);
	cursor: pointer;
	display: none;
}

#company .company-details {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	background-color: white;
	padding: 30px;
	position: relative;
	border-radius: 16px;
	min-height: 200px;
	row-gap: 20px;
	margin-bottom: 30px;
	box-shadow: 0px 0px 10px 5px rgba(0 0 0 / 5%);
}
#company .company-logo {
	width: 200px;
	display: grid;
	place-items: center;
}
#company .company-logo img {
	width: 200px;
	aspect-ratio: 1;
	object-fit: contain;
}
#company .company-detail {
	padding: 15px 30px;
	width: 60%;
	display: flex;
	flex-wrap: wrap;
	text-transform: capitalize;
	align-content: flex-start;
}
#company .company-detail > * {
	margin-bottom: 0.5em;
}
#company .company-detail .name {
	text-transform: capitalize;
	width: 100%;
	font-size: 30px;
	font-weight: 500;
}
#company .company-detail .category {
	font-size: 22px;
	color: var(--clr-accent-secondary);
	font-weight: 400;
	width: 100%;
}
#company .company-detail .location {
	color: var(--clr-title);
	width: 100%;
}
#company .company-contacts {
	display: flex;
	gap: 20px;
	position: absolute;
	right: 64px;
	top: 110px;
}
#company .contact-icon {
	width: 39px;
	aspect-ratio: 1;
	padding: 10px;
	border-radius: 50%;
	text-align: center;
	color: var(--clr-accent);
	outline: 1px dotted var(--clr-accent);
	cursor: pointer;
	transition: 0.2s;
	background: white;
}

#company .contact-icon i {
	cursor: pointer;
}
#company .contact-icon:hover {
	background-color: var(--clr-accent);
	color: white;
	scale: 1.1;
	outline: none;
}

#company .send-message.disabled {
	background: none;
	background-color: var(--clr-accent-subtle);
}
#company .send-message.disabled:hover {
	scale: 1;
}
#company .send-message.disabled:is(:hover, :focus) .popover {
	display: block;
}
.popover {
	display: none;
	color: var(--clr-title);
	position: absolute;
	background: var(--clr-bg);
	padding: 10px;
	width: 100%;
	bottom: 105%;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	text-wrap: wrap;
	border-radius: 10px;
}

#company .send-message {
	position: absolute;
	padding: 15px 25px;
	background: var(--gradient-secondary-accent-left);
	color: white;
	font-weight: 500;
	cursor: pointer;
	top: 40px;
	right: 30px;
	display: flex;
	gap: 10px;
	border-radius: 8px;
	transition: 0.2s;
}
#company .send-message:hover {
	/* background: var(--gradient-secondary-accent-left); */
	box-shadow: 0px 0px 20px 0px var(--clr-accent-subtle);
	background: var(--gradient-secondary-accent-right);
	scale: 0.95;
}

#company .send-message i {
	transition: 0.2s;
}
#company .send-message:hover i {
	scale: 1.2;
}
#company .company-tags {
	height: fit-content;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: 100%;
	overflow-x: scroll;
}
#company .company-tags .tag {
	text-transform: capitalize;
	padding: 5px 20px;
	text-align: center;
	min-width: 80px;
	text-wrap: nowrap;
	background-color: var(--clr-accent);
	color: white;
	font-weight: 400;
	border-radius: 99999px;
}
#company .wrapper {
	display: flex;
	gap: 30px;
}
#company .company-infos {
	background-color: white;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 30px;
	min-height: 300px;
	border-radius: 16px;
	box-shadow: 0px 0px 10px 5px rgba(0 0 0 / 5%);
	align-content: space-around;
}
#company .company-infos .title {
	font-size: 29px;
	color: var(--clr-title);
	font-weight: 500;
	padding-bottom: 5px;
	/* border-bottom: 2px solid var(--clr-accent); */
}
#company .company-infos .update {
	font-size: 14px;
	font-weight: 500;
	color: var(--clr-text-lead);
}
#company .company-infos .description {
	font-size: 17px;
	color: var(--clr-text);
	font-weight: 400;
	text-align: justify;
	width: 100%;
	margin-bottom: 10px;
}
#company .company-infos .contact {
	font-size: 18px;
	font-weight: 400;
	display: flex;
	gap: 15px;
	margin-bottom: 0.6em;
}
#company .company-infos .contact span {
	color: var(--clr-title);
	font-weight: 500;
	font-size: inherit;
	width: 60px;
}
#company .company-infos .socials {
	display: flex;
	gap: 15px;
}
#company .company-infos .social img {
	width: 30px;
}
#company .product-searchbar {
	/* display: flex; */
	align-items: center;
	justify-content: center;
	position: relative;
}
#company .searchbar {
	width: 50vw;
	padding: 10px 15px 10px 45px;
	font-size: 22px;
	border-radius: 5px;
	padding: 10px 25px 10px 45px;
	/* z-index: 1; */
	/* width: 100%; */
	font-size: 20px;
	/* border: none; */
	border-radius: 8px;
}
#company .search-btn:hover {
	background-color: var(--clr-accent-dark);
}
#company .company-products {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	min-height: 50px;
}
#company .company-products .empty {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	font-size: 40px;
	font-weight: 500;
	color: var(--clr-text-lead-lighter);
}
#company .product-card {
	position: relative;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	height: 400px;
	/* border: 1px solid var(--clr-overlay); */
	background: white;
	cursor: pointer;
	transition: all 0.3s;
	width: 100%;
}
#company .product-card:hover {
	box-shadow: 0 13px 8px -10px rgb(0 0 0 / 10%);
	scale: 1.01;
}
.add-to-wishlist {
	display: block;
}
.remove-from-wishlist {
	display: block;
}
:is(#product, #company) .add-to-wishlist,
:is(#product, #company) .remove-from-wishlist {
	position: absolute;
	width: 20px;
	filter: var(--filter-red);
	top: 10px;
	right: 10px;
}

.add-to-wishlist img,
.remove-from-wishlist img {
	width: 100%;
}
#company .product-card > img {
	border-radius: 4px 4px 0 0;
	width: 100%;
	height: 60%;
	object-fit: contain;
	/* border-bottom: .5px solid var(--clr-accent); */
}
#company .product-card .text {
	height: 100%;
	padding: 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	overflow: hidden;
}
#company .product-card .name {
	text-transform: capitalize;
	font-size: 23px;
	font-weight: 500;
	color: var(--clr-primary);
}

#company .product-card .tag {
	text-transform: capitalize;
	font-size: 17px;
	font-weight: 400;
	color: var(--clr-black);
	overflow: hidden;
	text-overflow: ellipsis;
}
#company .product-card .lead {
	color: var(--clr-accent);
	font-weight: 400;
	font-size: 14px;
	display: none;
}
#product {
}
#product .product-header {
	position: relative;
	top: 0;
	width: 100%;
	height: 60px;
	display: grid;
	place-content: center;
}
#product .back-button {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 80px;
	font-size: 20px;
	font-weight: 500;
	cursor: pointer;
}
#product .back-button:hover {
	color: var(--clr-secondary-light);
}
#product .product-header .text {
	font-size: 25px;
	font-weight: 500;
}
#product .wrapper {
	padding: 20px 30px;
	display: grid;
	grid-template-columns: max-content 1fr max-content;
	gap: 20px;
	background-color: var(--clr-bg);
}
#product .ad-container {
}
#product .product-infos {
	width: calc(100vw - 460px);
	display: grid;
	grid-template-columns: 250px calc(100% - 270px);
	gap: 20px;
}
#product .product-infos .picture {
	width: 100%;
	object-fit: cover;
	border-radius: 10px;
}
#product .product-infos .text {
	background-color: white;
	border-radius: 8px;
	padding: 20px;
	display: flex;
	position: relative;
	flex-direction: column;
}
#product .product-infos .text > * {
	margin-bottom: 1em;
}
#product .product-infos .name {
	font-size: 22px;
	font-weight: 500;
	color: var(--clr-title);
}
#product .product-infos .ref {
	font-size: 14px;
	font-weight: 500;
	color: var(--clr-text-lead);
}
#product .product-infos .description {
}
#product .product-infos .tags {
	margin-block: auto 0;
	display: flex;
	gap: 10px;
	width: 100%;
	overflow-x: auto;
}
#product .product-infos .tags::-webkit-scrollbar {
	width: 0px;
}
#product .product-infos .tag {
	text-transform: capitalize;
	padding: 5px 20px;
	text-align: center;
	min-width: 80px;
	text-wrap: nowrap;
	background-color: var(--clr-accent);
	color: white;
	font-weight: 400;
	border-radius: 99999px;
}

#product .product-infos .alt-pictures {
	grid-area: 2/1/3/3;
	position: relative;
	background-color: white;
	padding: 20px;
	width: 100%;
	gap: 15px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-radius: 8px;
}
#product .product-infos .alt-pictures::before {
	/* content: "Images supplementaires"; */
	position: absolute;
	top: 15px;
	left: 20px;
	font-size: 18px;
	font-weight: 500;
}
#product .product-infos .alt-pictures img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}
#chat {
	position: fixed;
	bottom: 15px;
	right: 15px;
	z-index: 10;
	/* transition: 0.2s; */
}

#chat:hover {
	/* scale: 1.2; */
}
#chat .chat-btn {
	background-color: var(--clr-accent-subtle);
	width: 60px;
	padding: 10px;
	border-radius: 15px;
	cursor: pointer;
	display: none;
	transition: 0.2s;
}
#chat .chat-btn:hover {
	background-color: var(--clr-accent);
	/* scale: .95; */
}
#chat .chat-btn.active {
	background-color: var(--clr-accent);
	border-radius: 0 0 10px 10px;
}
#chat .chat-container {
	position: absolute;
	bottom: 60px;
	right: 0;
	width: 80vw;
	height: 80vh;
	background-color: white;
	border-radius: 10px 10px 0 10px;
	box-shadow: 0px 0px 10px 5px #59595929;
	display: none;
	/* flex-direction: row-reverse; */
}
#chat .chat-container.active {
	display: flex;
}
#chat .new-chat-popup {
	position: fixed;
	inset: 10% 30%;
	background-color: var(--clr-bg);
	z-index: 11;
	display: none;
	grid-template-rows: auto 1fr;
	border-radius: 4px;
	border: 0.5px solid var(--clr-accent-subtle);
}

#chat .popup-header {
	position: relative;
	padding: 10px 30px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	box-shadow: 0px 0px 15px 2px rgb(0 0 0 / 15%);
	border-radius: 4px;
}
#chat .exit-newchat {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	font-size: 25px;
}
#chat .exit-newchat:hover {
	color: var(--clr-accent);
}
#chat .popup-header .title {
	width: 100%;
	text-align: center;
	font-size: 30px;
	margin-bottom: 10px;
}
#chat .popup-header .searchbar {
	padding: 5px 15px;
	width: 70%;
	font-size: 17px;
}
#chat .contacts-list {
	padding: 20px 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	overflow-y: scroll;
}
#chat .contact {
	width: 100%;
	height: 80px;
	background-color: white;
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 10px 30px;
	border-radius: 2px;
	cursor: pointer;
}
#chat .contact:hover {
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
}
#chat .contact-picture {
	width: 60px;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
}
#chat .contact-infos {
}
#chat .contact-infos .name {
	text-transform: capitalize;
	font-size: 18px;
	font-weight: 400;
	/* margin-bottom: 10px; */
}
#chat .contact-infos .status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 400;
	color: var(--clr-text-lead-lighter);
}
#chat .contact-infos .status .icon {
	font-size: 10px;
	color: var(--clr-green);
}
#chat .contact-type {
	margin-left: auto;
	align-self: flex-start;
	font-size: 14px;
	font-weight: 500;
	color: var(--clr-primary);
}
#chat .chat-convs {
	border-right: 1px solid var(--clr-accent-subtle);
	width: 40%;
}
#chat .convs-header {
	height: 60px;
	box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.08);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
}
#chat .convs-header .title {
	font-size: 20px;
	font-weight: 500;
	color: var(--clr-title);
}
#chat .convs-header .icon {
	width: 25px;
	cursor: pointer;
}
#chat .convs-header .icon:hover {
	filter: var(--filter-accent);
}
#chat .new-conv {
}
#chat .convs-dropdown-btn {
	display: none;
}
#chat .convs-dropdown {
	height: calc(100% - 50px);
}
#chat .convs-searchbar {
	height: 70px;
	padding: 15px 30px;
	position: relative;
	width: 100%;
	display: grid;
	place-items: center;
}
#chat .convs-searchbar input {
	width: 100%;
	padding: 10px 25px 10px 45px;
	border-radius: 10px;
}
#chat .convs-searchbar .icon {
	position: absolute;
	width: 20px;
	left: 40px;
}
#chat .convs-list {
	overflow-y: auto;
	height: calc(100% - 80px);
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 15px;
}
#chat .convs-list .empty {
	margin: auto;
	font-size: 30px;
	font-weight: 500;
	color: var(--clr-text-lead-lighter);
}
#chat .convs-list .conv {
	position: relative;
	max-height: 130px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 20px;
	cursor: pointer;
	border-radius: 2px;
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
}

#chat .convs-list .conv.selected,
#chat .convs-list .conv:hover {
	background-color: var(--clr-accent-very-subtle);
}

#chat .convs-list .conv .new-message {
	display: none;
	position: absolute;
	top: -5px;
	right: -5px;
	width: 10px;
	border-radius: 50%;
	aspect-ratio: 1;
	background-color: var(--clr-accent);
}

#chat .convs-list .conv .logo {
	width: 35px;
	aspect-ratio: 1;
	border-radius: 50%;
}
#chat .convs-list .conv .conv-infos {
	position: relative;
	display: flex;
	gap: 15px;
	align-items: center;
}
#chat .convs-list .conv .conv-infos .status {
	position: absolute;
	font-size: 10px;
	top: 25px;
	left: 25px;
}
#chat .convs-list .conv .name {
	text-transform: capitalize;
	font-weight: 400;
	margin-bottom: 0.5em;
}
#chat .convs-list .conv .message {
	display: flex;
	gap: 5px;
	width: 100%;
	height: 20px;
	font-weight: 400;
	font-size: 14px;
	color: var(--clr-text-lead);
	text-overflow: ellipsis;
	word-break: break-all;
	overflow: hidden;
}
#chat .convs-list .conv .datetime {
	position: absolute;
	top: -5px;
	right: -10px;
	font-size: 10px;
	color: var(--clr-title);
	font-weight: 400;
}
.file-link {
	cursor: pointer;
	display: flex;
	gap: 10px;
	color: var(--clr-blue);
	font-weight: 500;
	pointer-events: none;
}
.file-link img {
	width: 20px;
}
#chat .chat-body .file-link {
	pointer-events: all;
	cursor: url(../img/icons/download.png), auto;
}
#chat .chat {
	border-radius: 10px;
	background-color: white;
	display: grid;
	grid-template-rows: 60px 1fr 60px;
	width: 100%;
}
#chat .chat .chat-header {
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 15px;
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
}

#chat .chat .profile-picture {
	width: 50px;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
}
#chat .chat .name {
	text-transform: capitalize;
	margin-bottom: 3px;
	font-size: 18px;
	font-weight: 400;
}
#chat .chat .status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 400;
	color: var(--clr-text-lead-lighter);
}
#chat .chat .status .icon {
	font-size: 10px;
	color: var(--clr-green);
}

#chat .chat .account-type {
	margin: 0 100px 0 auto;
	font-size: 18px;
	color: var(--clr-primary);
	font-weight: 400;
}

#chat .chat .chat-body .empty {
	margin-inline: auto;
	font-size: 25px;
	font-weight: 500;
	color: var(--clr-text-lead-lighter);
}
#chat .chat .chat-body {
	display: grid;
	grid-auto-rows: max-content;
	gap: 35px;
	padding: 35px 10px;
	height: 100%;
	overflow-y: auto;
	/* align-content: flex-start; */
}
#chat .chat .chat-body .load-more-msg {
	padding: 10px;
	color: var(--clr-text-lead);
	outline: 1px solid var(--clr-primary-subtle);
	border-radius: 1000px;
	width: fit-content;
	margin: auto;
	cursor: pointer;
}
#chat .chat .chat-body .load-more-msg:hover {
	background-color: var(--clr-primary-subtle);
	color: white;
}
#chat .chat .chat-body .message {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	max-width: 50%;
	padding: 15px 20px;
	border-radius: 10px;
}

#chat .chat .chat-body .incoming-message {
	margin-right: auto;
	background-color: #f2f2f2;
}
#chat .chat .chat-body .outcoming-message {
	flex-direction: row-reverse;
	margin-left: auto;
	background-color: var(--clr-accent-very-subtle);
}

#chat .chat .chat-body .profile-picture {
	position: absolute;
	top: -15px;
	width: 30px;
}
#chat .chat .chat-body .incoming-message .profile-picture {
	left: 10px;
}
#chat .chat .chat-body .outcoming-message .profile-picture {
	right: 10px;
}
#chat .chat .chat-body .message-content {
	color: var(--clr-text);
	word-break: break-word;
	min-width: 125px;
}
#chat .chat .date-time {
	position: absolute;
	color: var(--clr-text-lead);
	font-weight: 500;
	font-size: 12px;
	bottom: -15px;
	white-space: nowrap;
}
#chat .chat .incoming-message .date-time {
	margin: 0;
	left: 10px;
}
#chat .chat .outcoming-message .date-time {
	margin: 0;
	right: 10px;
}
#chat .chat .chat-footer {
	border-top: 1px solid var(--clr-primary-subtle);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-inline: 30px;
	gap: 15px;
}
#chat .chat .chat-footer .buttons {
	display: flex;
	justify-content: center;
	align-items: center;
}
#chat .chat .chat-footer .button {
	width: 30px;
}
#chat .chat .chat-footer .send-file {
	cursor: pointer;
}
#chat .chat .chat-footer .send-file:hover {
	filter: var(--filter-accent);
}
#chat .chat .chat-footer .message-input {
	word-break: break-word;
	border: 1px solid var(--clr-accent-subtle);
	border-radius: 4px;
	overflow-x: hidden;
	overflow-y: scroll;
	font: inherit;
	font-size: 16px;
	padding: 10px;
	font-weight: 300;
	width: calc(100%);
	height: 70%;
}
#chat .chat .chat-footer .send-btn {
	cursor: pointer;
	display: grid;
	align-items: center;
	background-color: var(--clr-accent);
	color: white;
	font-size: 15px;
	height: 40px;
	padding-inline: 20px;
	border-radius: 2px;
}
#chat .chat .chat-footer .send-btn[disabled] {
	pointer-events: none;
	background-color: var(--clr-accent-subtle);
}
#chat .chat .chat-footer .send-btn:hover {
	background-color: var(--clr-accent-dark);
}

@media screen and (min-width: 900px) and (max-width: 1200px) {
}
@media screen and (min-width: 500px) and (max-width: 1200px) {
	section {
		padding: 35px;
	}
	header .header-brand {
		width: 140px;
	}
	header .header-nav ul {
		gap: 20px;
	}
	#hero {
		/* padding-block: 10px; */
		/* justify-content: center; */
	}
	#get-started {
		gap: 10px;
	}
	#offers {
		padding: 50px 20px;
	}
	#annuaire .container {
		margin: 20px;
		gap: 20px;
	}
	#annuaire .searchbar input {
		width: 100%;
	}
	#company .container {
		margin: 20px;
	}
	#company .company-products {
		grid-template-columns: repeat(3, 1fr);
	}
	#chat .chat-container {
		width: 97vw;
		height: 84vh;
	}
	#chat .chat-convs {
		/* border-right: 1px solid var(--clr-primary-subtle); */
		width: 50%;
	}
	#product .wrapper {
		grid-template-columns: 1fr max-content;
	}
	#product .product-infos {
		width: calc(100vw - 260px);
		grid-template-rows: 260px 1fr;
	}
	#product .ad-container:first-child {
		display: none;
	}
	#product .product-infos .alt-pictures {
		grid-template-columns: 1fr 1fr;
	}
}
@media screen and (min-width: 0px) and (max-width: 500px) {
	header .login-btn:hover::before {
		opacity: 0;
	}
	header .login-btn {
		border: 1.5px solid var(--clr-accent);
		background: white;
	}
	header .login-btn:hover {
		background-color: var(--clr-accent);
		transition: 0.2s;
	}
	#hero .hero-content {
		padding-inline: 10px;
	}
	.popup-ad-container {
		inset: 10vh 10vw;
	}
	.popup-ad {
		width: 80vw;
		aspect-ratio: 1;
		object-fit: cover;
	}
	.ad-banner {
		/* width: 90%; */
	}
	section {
		padding: 30px 15px;
	}
	header .dashboard-btn,
	header .auth-btns,
	header .header-nav ul,
	.header-nav {
		display: none !important;
	}
	header .header-container {
		justify-content: center;
		flex-wrap: wrap;
		height: fit-content;
		padding-bottom: 10px;
		row-gap: 0;
	}
	header .mobile-nav {
		display: block;
		margin-left: auto;
		/* margin-right: 30px; */
		position: relative;
		z-index: 2;
		order: 10;
	}
	header .mobile-nav .nav-button {
		width: 30px;
		/* filter: var(--filter-white); */
	}
	header .mobile-nav .nav {
		display: none;
		position: absolute;
		top: 55px;
		right: -15px;
		height: calc(100vh - 30px);
		width: 100vw;
		background-color: var(--clr-black);
		padding: 30px 15px;
	}
	header .mobile-nav .nav.active-dropdown {
		display: block;
		animation: drawer-fade 300ms ease-in-out;
	}
	header .mobile-nav .main-nav {
		display: flex;
		align-items: center;
		flex-direction: column;
		gap: 30px;
	}
	header .mobile-nav .nav-item {
		font-size: 25px;
		font-weight: 400;
		width: 100%;
		text-align: center;
		color: white;
	}
	header .nav-item::before {
		border-width: 2px;
	}
	header .mobile-nav .nav-item.selected-link:before {
		border-width: 2px;
	}
	header .mobile-nav .spacer {
		margin-block: 30px;
		border: 1px solid white;
	}
	header .mobile-nav .buttons {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	header .mobile-nav .buttons > * {
		/* width: 48%; */
	}
	header .mobile-nav .login-btn,
	header .mobile-nav .register-btn {
		text-align: center;
		padding: 15px 0;
		font-size: 22px;
		font-weight: 500;
	}
	header .mobile-nav .mobile-profile {
		display: none;
		align-items: center;
		justify-content: center;
		margin-block: 50px;
		gap: 20px;
	}
	header .mobile-nav .dashboard-button {
		text-align: center;
		display: none;
	}
	/* header .mobile-nav {}
  header .mobile-nav {}
  header .mobile-nav {} */
	#hero .hero-text h1 {
		font-size: 50px;
	}
	#hero .hero-text h3 {
		font-size: 25px;
		font-weight: 300;
	}
	#hero .hero-searchbar {
		flex-wrap: wrap;
		gap: 15px;
		/* font-size: 10px; */
	}
	#hero .hero-searchbar input {
		font-size: 16px;
	}
	#hero .hero-searchbar > div {
		width: 100%;
	}
	#hero .search-btn {
		font-size: 18px;
		padding: 15px 15px;
		width: 100%;
		text-align: center;
	}
	#get-started {
		grid-template-columns: auto;
	}
	#get-started picture {
		width: 60%;
	}
	#get-started img {
		width: 100%;
	}
	#get-started .register-btn {
		margin-inline: auto;
		margin-block: 30px;
	}
	#partners .partners-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	#offers .offers-list {
		grid-template-columns: auto;
		grid-template-rows: repeat(3, 1fr);
	}
	#offers .offers-card {
		height: 500px !important;
		/* box-shadow: none; */
	}
	#offers .offers-card:nth-child(1) {
		order: 1;
	}
	#offers .offers-card:nth-child(2) {
		order: 3;
	}
	#offers .offers-card:nth-child(3) {
		order: 2;
	}
	#services .container {
		grid-template-columns: auto;
	}
	#services picture {
		display: none;
	}
	#contact .info-item {
		width: 100% !important;
		padding: 20px 10px 30px 10px;
	}
	#contact .info-item p {
		font-size: 16px;
		text-align: center;
	}
	#contact .contact-form label {
		width: 100% !important;
	}
	#contact .submit {
		width: 100%;
	}
	#annuaire .filters {
		margin-inline: 15px;
	}
	#annuaire .searchbar .wrap {
		/* width: 100%; */
		flex-grow: 1;
	}
	#annuaire .searchbar {
		flex-wrap: wrap;
	}
	#annuaire .country-filter .input-container {
		width: 100%;
	}
	#annuaire .searchbar input {
		width: 100%;
		font-size: 16px;
	}
	#annuaire .search-btn {
		padding: 10px 15px;
		font-size: 16px;
		width: 100%;
	}
	#annuaire .container {
		margin: 20px;
		display: flex;
		flex-direction: column;
	}
	#annuaire .container .ad-container {
		display: none;
	}
	#annuaire .company-card {
		height: fit-content;
		display: flex;
		flex-direction: column;
	}
	#annuaire .company-card img {
		width: 100%;
	}
	#annuaire .actions {
		top: unset;
		bottom: 10px;
		right: 10px;
	}
	#company .container {
		margin: 20px;
	}
	#company .wrapper {
		flex-wrap: wrap;
	}
	#company .company-infos {
		min-height: 450px;
	}
	#company .product-searchbar {
		flex-wrap: wrap;
	}
	#company .company-details {
		min-height: 400px;
		gap: 0;
		padding: 20px 20px 70px 20px;
	}
	#company .company-detail {
		width: 100%;
		padding: 15px 0;
	}
	#company .company-logo {
		width: 100%;
	}
	#company .company-logo img {
		width: 100%;
	}
	#company .company-products {
		grid-template-columns: 1fr;
	}
	#company .company-tags {
		height: 70px;
		overflow-y: scroll;
		padding: 0;
	}
	#company .send-message {
		top: unset;
		bottom: 15px;
		right: 50%;
		white-space: nowrap;
		transform: translateX(50%);
		padding: 10px 30px;
	}
	#company .company-contacts {
		gap: 10px;
		top: 50%;
		right: 10px;
		/* right: unset; */
	}
	#company .wrrap {
		width: 100%;
	}

	#company input.searchbar {
		width: 100%;
	}
	#product .back-button {
		left: 10px;
	}
	#product .wrapper {
		display: block;
	}
	#product .product-infos {
		display: flex;
		flex-direction: column;
		width: 100%;
	}
	#product .ad-container {
		display: none;
	}
	#product .product-infos .alt-pictures {
		grid-template-columns: 1fr;
	}
	#chat {
		bottom: 5px;
		right: 5px;
	}
	#chat .chat-container {
		flex-direction: column;
		gap: 0;
		width: calc(100vw - 10px);
		height: calc(100vh - 135px);
		overflow: scroll;
	}
	#chat .chat-convs {
		width: 100%;
		border: none;
	}
	#chat .convs-header {
		position: sticky;
		top: 0;
		background-color: white;
		z-index: 1;
		border: none;
	}
	#chat .new-chat-popup {
		inset: 10% 5%;
	}
	#chat .popup-header {
		padding: 10px;
	}
	#chat .popup-header .title {
		font-size: 22px;
		white-space: nowrap;
	}
	#chat .exit-newchat {
		font-size: 22px;
	}
	#chat .contact {
		padding: 10px;
	}
	#chat .convs-header .convs-dropdown-btn {
		display: block;
	}
	#chat .convs-dropdown {
		display: none;
		opacity: 0;
		height: 0;
		transition: all 0.3s;
	}
	#chat .convs-list {
		max-height: calc(100vh - 275px);
	}
	#chat .convs-dropdown.active-dropdown {
		display: block;
		height: calc(100vh - 200px);
		opacity: 1;
	}
	#chat .chat {
		height: calc(100vh - 130px);
		grid-template-rows: 60px 1fr 60px;
	}
	#chat .chat .chat-header {
		padding: 0 8px;
		border-top: 1px solid var(--clr-primary-subtle);
	}

	#chat .chat .chat-body .message {
		max-width: 90%;
	}
	#chat .chat .chat-footer {
		padding-inline: 15px;
		gap: 10px;
	}
	:is(#product, #company) .add-to-wishlist,
	:is(#product, #company) .remove-from-wishlist {
		display: block;
		position: absolute;
		width: 20px;
		filter: var(--filter-red);
		top: 10px;
		right: 10px;
	}
	#wishlist-container {
		inset: 5%;
		padding: 10px;
	}
	.close-wishlist {
		font-size: 35px;
		right: 10px;
		top: 5px;
	}
	.wish-list {
		grid-template-columns: none;
		height: 100%;
	}
	.wish-item {
		display: grid;
		grid-template-rows: 1fr max-content;
		min-height: 380px;
	}
	.wish-item img {
		width: 100%;
	}
	.wish-item .wrapper {
		width: 100%;
	}
	.wish-item .buttons {
		font-size: large;
		font-weight: 400;
	}
	footer .footer-container {
		flex-direction: column;
	}
}

.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: white;
	border: 2px solid var(--clr-accent);
	padding: 25px;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.cookie-banner .title {
	font-weight: 600;
	font-size: 25px;
}
.cookie-banner .actions {
	align-self: end;
	display: flex;
	gap: 15px;
	font-weight: 500;
}
.cookie-banner .accept {
	background-color: var(--clr-accent);
	color: white;
	padding: 10px 35px;
	border-radius: 10px;
	cursor: pointer;
}
.cookie-banner .accept:hover {
	background-color: var(--clr-accent-dark);
}
.cookie-banner .deny {
	border: var(--clr-accent) 1px solid;
	color: var(--clr-accent);
	border-radius: 10px;
	padding: 10px 35px;
	cursor: pointer;
}
.cookie-banner .deny:hover {
	background-color: var(--clr-accent-very-subtle);
}

.terms {
	/* margin-top: 40px; */
	display: flex;
	gap: 10px;
	font-size: 14px;
}
.terms a {
	cursor: pointer;
}

#faq .accordion {
	width: 100%;
	display: grid;
	gap: 10px;
}

#faq article {
	border: 1px solid var(--clr-accent);
	border-radius: 16px;
	background-color: white;
	padding: 20px;
}

#faq input[type="radio"] {
	appearance: none;
	position: fixed;
	top: -100vh;
	left: -100vh;

	& ~ div {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.5s;
	}

	&:checked ~ div {
		max-height: 200px;
	}
}
