/*
	Theme Name: Motors Child
	Description: Automotive, Cars, Vehicle, Boat Dealership, Classifieds WordPress Theme by StylemixThemes.
	Text Domain: motors-child
	Template: motors
	Version: 5.4.4
*/

@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');


* {
  box-sizing: border-box;
}

.segment-text {
	font-family: "Urbanist", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
	font-size: 21px;
}

.segment-section {
  padding: 45px 48px 80px;
}

.segment-section h2 {
  margin: 0 0 34px;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
}

.segment-grid {
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	font-family: "Urbanist", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
}

.segment-card {
  width: 148px;
  height: 144px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #eeeeef;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.segment-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.segment-card img {
  width: 120px;
  height: 58px;
  object-fit: contain;
}

.segment-card span {
  font-size: 16px;
  color: #484b56;
  text-align: center;
}

@media (max-width: 768px) {
  .segment-section {
    padding: 32px 20px;
  }

  .segment-section h2 {
    font-size: 30px;
  }

  .segment-grid {
    justify-content: flex-start;
  }

  .segment-card {
    width: calc(50% - 10px);
  }
}


/*+++++++++++ CONTACT CARD ++++++++++++*/
/*+++++++++++ CONTACT CARD ++++++++++++*/

.contact-card {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 30px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 24px;
  background: #fff;
  border: 1px solid #dcdfe3;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  font-family: "Urbanist", sans-serif;
}

.map-box {
  min-height: 540px;
  border-radius: 14px;
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px 10px 0;
  color: #050816;
  font-family: "Urbanist", sans-serif;
}

.contact-info h2 {
  margin: 0 0 35px;
  font-size: 20px;
  font-weight: 600;
  font-family: "Urbanist", sans-serif;
}

.info-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 34px;
}

.info-row i {
  font-size: 24px;
  margin-top: 4px;
  color: #000;
}

.info-row p {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.info-row small {
  font-size: 12px;
  color: #4b5563;
}

.directions-btn {
  margin-top: auto;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.directions-btn i {
  font-size: 17px;
}

.directions-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

@media (max-width: 900px) {
	.contact-card {
		grid-template-columns: 1fr;
		margin: 40px 30px;
		padding: 20px;
	}

	.map-box {
		min-height: 350px;
	}

	.contact-info h2 {
		font-size: 14px;
	}

	.info-row {
		gap: 0px;
	}

	.info-row p {
		font-size: 12px;
	}

	.directions-btn {
		width: 100%;
		justify-content: center;
	}

	.directions-btn i {
		font-size: 12px;
	}

	.info-row i {
  		font-size: 16px;
	}
}

/*+++++++++++ NEW HEADER ++++++++++++*/
/*+++++++++++ NEW HEADER ++++++++++++*/

.stm-layout-header-car_dealer .header-main.mac-custom-header {
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	position: relative;
	z-index: 9999;
  padding: 0px;
}

.mac-header-top-row {
	min-height: 80px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
}

.mac-header-left {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.mac-header-info {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #07091f;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.mac-header-info:hover {
	color: #07091f;
	text-decoration: none;
}

.mac-header-logo {
	text-align: center;
}

.mac-header-logo img {
	display: block;
	height: auto;
	margin: 0 auto;
}

.mac-header-right {
	display: flex;
	justify-content: flex-end;
}

.mac-sell-car-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #000;
	color: #fff;
	padding: 9px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: .2px;
}

.mac-sell-car-btn:hover {
	background: #222;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 991px) {
	.mac-header-top-row {
		grid-template-columns: auto 1fr auto;
		min-height: 80px;
	}

	.mac-header-left,
	.mac-header-right {
		display: none;
	}

	.mac-header-logo {
		text-align: left;
	}
}

/*+++++++++++ STICKY MENU ++++++++++++*/
/*+++++++++++ STICKY MENU ++++++++++++*/


.mac-sticky-menu-wrap {
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	box-shadow: 0 3px 8px rgba(0,0,0,0.08);
	position: sticky;
	top: 0;
	z-index: 9998;
}

.mac-main-nav {
	min-height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
}

.mac-main-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
}

.mac-main-menu li {
	position: relative;
	list-style: none;
}

.mac-main-nav .mac-main-menu a {
	color: #07091f;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: .3px;
	display: inline-flex;
	align-items: center;
	height: auto;
}

.mac-menu-search {
	color: #07091f;
	font-size: 18px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 52px;
}

.mac-menu-search:hover {
	color: #000;
	text-decoration: none;
}

/* Dropdown support */
.mac-main-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	padding: 10px 0;
	margin: 0;
	list-style: none;
	box-shadow: 0 8px 18px rgba(0,0,0,0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all .2s ease;
	z-index: 9999;
}

.mac-main-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mac-main-menu .sub-menu a {
	height: auto;
	padding: 10px 18px;
	display: block;
	font-size: 12px;
	white-space: nowrap;
}

/* Hide desktop sticky menu on mobile because Motors mobile menu is still active */
@media (max-width: 991px) {
	.mac-sticky-menu-wrap {
		display: none;
	}
}

.mac-sticky-menu-wrap {
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	box-shadow: 0 3px 8px rgba(0,0,0,0.08);
	width: 100%;
	z-index: 99999;
}

/* Normal position at top */
.mac-sticky-menu-wrap {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
}

/* Fixed only after scrolling */
.mac-sticky-menu-wrap.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

body.mac-menu-is-sticky {
	padding-top: 52px;
}

/* MOBILE VERSION MENU */

@media (max-width: 991px) {
	.mac-burger {
		display: flex;
		flex-direction: column;
		gap: 5px;
		background: none;
		border: 0;
		padding: 10px;
		cursor: pointer;
		z-index: 100001;
		align-items: self-end;
	}

	.stm-template-car_dealer_two .stm-button:before, .stm-template-car_dealer_two input[type=submit]:before, .stm-template-car_dealer_two button:not(.lg-prev):not(.lg-next):not(.wc-block-components-panel__button):not(.wc-block-cart-item__remove-link):not(.lg-toogle-thumb):before, .stm-template-car_dealer_two .button:before, .stm-template-car_dealer_two .load-more-btn:before, .stm-template-car_dealer_two .wc-block-components-button:before {
		background: #fff;
	}

	.mac-burger span {
		display: block;
		width: 28px;
		height: 3px;
		background: #07091f;
		border-radius: 3px;
	}

	.mac-mobile-overlay {
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,.4);
		opacity: 0;
		visibility: hidden;
		transition: all .3s ease;
		z-index: 99998;
	}

	.mac-mobile-overlay.active {
		opacity: 1;
		visibility: visible;
	}

	.mac-mobile-drawer {
		position: fixed;
		top: 0;
		right: 0;
		width: 60vw;
		max-width: 380px;
		height: 100vh;
		background: #fff;
		z-index: 99999;
		transform: translateX(100%);
		transition: transform .3s ease;
		overflow-y: auto;
		box-shadow: -8px 0 22px rgba(0,0,0,.2);
	}

	.mac-mobile-drawer.active {
		transform: translateX(0);
	}

	.mac-mobile-close {
		position: absolute;
		top: 18px;
		right: 18px;
		background: none;
		border: 0;
		color: #07091f;
		font-size: 38px;
		line-height: 1;
		cursor: pointer;
		z-index: 100000;
	}

	.mac-mobile-menu {
		margin: 0;
		padding: 82px 0 24px;
		list-style: none;
	}

	.mac-mobile-menu li {
		list-style: none;
		border-bottom: 1px solid #eee;
	}

	.mac-mobile-menu a {
		display: block;
		padding: 16px 24px;
		color: #07091f;
		font-size: 14px;
		font-weight: 800;
		text-transform: uppercase;
		text-decoration: none;
	}

	body.mac-mobile-menu-open {
		overflow: hidden;
	}

	.mac-burger span {
		transition: transform .3s ease, opacity .2s ease;
	}

	.mac-burger.active span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.mac-burger.active span:nth-child(2) {
		opacity: 0;
	}

	.mac-burger.active span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
}

@media (min-width: 992px) {
	.mac-burger,
	.mac-mobile-overlay,
	.mac-mobile-drawer {
		display: none;
	}
}