/* Medium Layout: 1280px. */
@media only screen and (min-width: 992px) {
}

@media only screen and (min-width: 992px) and (max-width: 1200px) { 
	.hero-text h1 {
	    font-size: 45px;
	}

	a.video-play-btn {
		right: 51%;
	}
	.hero-area div.hero-form {
		bottom: -20%;
	}

	.cart-buttons a:first-child {
	    margin-right: 0;
	    margin-bottom: 15px;
	}
	.contact-form form p input[type=email] {
	    margin-left: 8px;
	}
	.contact-form-box h4 i {
	    left: -20%;
	}
	.comment-template form p input[type=email] {
	    margin-left: 8px;
	}
	ul.main-menu li a {
	    padding: 15px 13px;
	}
	span.close-btn {
	    right: 0;
	}
	ul.sub-menu li a {
	    padding: 7px 10px;
	}

}
/* Tablet Layout: 768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) { 
	.hero-text h1 {
	    font-size: 40px;
	}
	.footer-box {
	    margin-bottom: 40px;
	}
	.copyright p {
	    text-align: center;
	}
	.copyright .social-icons {
	    text-align: center;
	}
	.feature-bg:after {
		display: none;
	}
	.single-team-item {
	    margin-bottom: 30px;
	}
	table.cart-table {
	    margin-bottom: 50px;
	}
	.order-details-wrap {
	    margin-top: 50px;
	}
	.contact-form form p input[type=text], 
	.contact-form form p input[type=tel], 
	.contact-form form p input[type=email] {
	    width: 100%;
	}

	.contact-form form p input[type=email] {
	    margin-left: 0;
	    margin-top: 15px;
	}
	.contact-form form p input[type=tel] {
		margin-bottom: 15px;
	}

	.hero-area div.hero-form {
		width: 325px;
		top: 30%;
	}

	.comment-template form p input[type=text], 
	.comment-template form p input[type=email] {
	    width: 100%;
	}

	.comment-template form p input[type=email] {
	    margin-top: 15px;
	    margin-left: 0;
	}
	.sidebar-section {
	    margin-left: 0;
	    margin-top: 50px;
	}
	.single-product-img {
	    margin-bottom: 30px;
	}
	.single-product-img img {
	    width: 100%;
	}
	.single-project-img img {
	    width: 100%;
	}
	.site-logo a img {
	    max-width: 150px;
	}
	.site-logo {
	    text-align: center;
	    position: absolute;
	    z-index: 999;
	}
	.mean-container .mean-bar {
		z-index: 2;
	}
	.responsive-menu-wrap {
	    display: block;
	}
	.header-icons {
	    text-align: center;
	}
	.top-header-area {
	    padding: 15px 0;
	}

	.responsive-menu-wrap {
	    position: absolute;
	    top: 0;
	}

	.featured-section {
	    padding: 0;
	}

	.responsive-menu-wrap {
	    left: 50%;
	    margin-top: 10px;
	    margin-left: -57.5px;
	}
	.hero-text-tablecell {
	    padding: 0px 70px;
	}
	.hero-form .hero-text h1 {
	    font-size: 30px;
	}

	.hero-form .hero-text p.subtitle {
	    font-size: 13px;
	}

	.hero-form .hero-btns a.bordered-btn {
	    margin-left: 0;
	    margin-top: 20px;
	}

	.sticky-wrapper.is-sticky .top-header-area {
	    position: absolute!important;
	    background-color: transparent;
	}
	.featured-box {
	    padding: 30px;
	}

	.featured-section {
	    padding: 100px 0;
	}
	nav.main-menu {
	    display: none;
	}
	table.order-details {
	    width: 100%;
	}
	.contact-form-box h4 i {
	    left: -7%;
	}
	.single-product-content h3 {
	    font-size: 20px;
	    font-weight: 500;
	    line-height: 1.6;
	}

	.single-product-content {
	    margin-left: 15px;
	}
	a.mobile-hide.search-bar-icon {
	    display: none!important;
	}
	.mobile-show {
		display: block!important;
	}
	a.mobile-show.search-bar-icon {
	    position: absolute;
	    right: 60px;
	    top: 22px;
	    z-index: 999;
	    color: #fff;
	}

}

/* Mobile Layout: 320px. */
@media only screen and (max-width: 767px) {

	.site-logo img {
	    max-width: 150px;
	}

	.responsive-menu-wrap {
	    top: -35px;
	}

	span.close-btn {
		right: 35px;
	}
	.header-icons {
	    text-align: center;
	}
	.hero-text h1 {
	    font-size: 28px;
	}

	.hero-text p.subtitle {
	    font-size: 13px;
	}
	.section-title p {
	    max-width: 400px;
	}

	.section-title h3 {
	    font-size: 25px;
	}

	p.testimonial-body {
	    font-size: 15px;
	}
	.responsive-menu {
	    left: auto;
	    right: 0;
	}

	.featured-section {
	    padding: 0;
	}

	a.video-play-btn {
	    right: auto;
	    left: 50%;
	    margin-left: -45px;
	}

	.shop-banner h3 {
		font-size: 34px;
	}

	.footer-box {
	    margin-bottom: 50px;
	}

	.copyright p {
	    text-align: center;
	}

	.social-icons {
	    text-align: center;
	}

	.footer-area {
		padding: 80px 0;
	}

	.hero-text {
	    text-align: center;
	}

	.responsive-menu-wrap {
	    position: relative;
	}

	.breadcrumb-text h1 {
	    font-size: 30px;
	}

	.feature-bg:after {
	    display: none;
	}
	
	.text-block {
	    margin-bottom: 50px;
	}

	.single-team-item {
	    margin-bottom: 50px;
	}

	.team-bg {
	    height: 450px;
	}

	.total-section {
	    margin-top: 30px;
	}

	.order-details-wrap {
	    margin-top: 50px;
	}

	.contact-form form p input[type=text], 
	.contact-form form p input[type=tel], 
	.contact-form form p input[type=email] {
	    width: 100%;
	}
	.contact-form form p input[type=tel] {
		margin-bottom: 15px;
	}

	.contact-form form p input[type=email] {
	    margin-left: 0;
	    margin-top: 15px;
	}

	.find-location p {
	    font-size: 20px;
	}

	.comment-template form p input[type=email] {
	    margin-left: 0;
	    margin-top: 15px;
	}

	.comment-template form p input[type=text], 
	.comment-template form p input[type=email] {
	    width: 100%;
	}

	.sidebar-section {
	    margin-left: 0;
	    margin-top: 50px;
	}

	.single-product-content {
	    margin-left: 0;
	    margin-top: 15px;
	}

	.single-product-content h3 {
	    font-size: 20px;
	    line-height: 1.5;
	}

	.product-image {
	    padding: 60px;
	    padding-bottom: 0;
	}

	.header-icons {
	    text-align: right;
	    margin-top: 15px;
	}

	.feature-bg {
	    margin: 100px 0;
	}

	.margin-top-150p {
	    margin-top: 650px;
	}

	.display-hidden {
	    display: none;
	}

	.hero-area div.hero-form {
		right: 0;
	}

	.hero-btns a.boxed-btn {
	    display: block;
	    margin: 0 auto;
	}

	.hero-btns {
	    text-align: center;
	}

	.hero-btns a.bordered-btn {
	    margin-left: 0;
	    margin-top: 15px;
	    display: block;
	}
	.hero-area div.hero-form {
		width: auto;
	}
	.section-title p {
		max-width: 285px;
	}

	p.testimonial-body {
		max-width: 285px;
	}
	.hero-area div.hero-form {
		top: 0;
	}
	.single-media-wrap h4 {
	    font-size: 15px;
	}

	.sticky-wrapper.is-sticky .top-header-area {
	    position: absolute!important;
	    background-color: transparent;
	    padding: 25px 0;
	}
	.featured-box {
	    padding: 0 45px;
	    margin-bottom: 10px;
	}

	.featured-section {
	    padding: 100px 0;
	}
	.search-bar-tablecell input {
	    font-size: 20px;
	}
	.header-icons {
		margin-top: 0;
	}
	.site-logo {
    position: absolute;
	    z-index: 99;
	}

	.mean-container .mean-bar {
	    z-index: 2;
	}
	.section-title {
	    margin-bottom: 50px;
	}
	.service-text h3 {
	    font-size: 18px;
	}
	.featured-box h2 {
	    font-size: 23px;
	}

	.featured-box h3 {
	    font-size: 18px;
	}

	.cta-text h3 {
	    line-height: 1.6;
	}

	.news-text-box h3 {
	    font-size: 20px;
	    line-height: 1.5;
	}

	.copyright p {
	    padding-bottom: 0;
	}
	.single-service-box {
	    padding: 30px;
	}

	.service-icon-table {
	    height: 80px;
	}

	.service-icon-tablecell i {
	    font-size: 30px;
	}

	.main-menu {
	    display: none;
	}
	.error-text h1 {
	    font-size: 25px;
	}
	h2.widget-title {
	    font-size: 20px;
	}
	.cart-table-wrap {
	    width: 100%;
	    overflow-x: scroll;
	}
	table.cart-table {
		width: 690px;
	}
	.cart-buttons a:first-child {
	    margin-bottom: 15px;
	}
	.form-title h2 {
	    font-size: 20px;
	}

	.contact-form-box h4 i {
	    left: -20%;
	}
	.featured-text p {
	    line-height: 1.8;
	}
	.single-artcile-bg {
	    height: 300px;
	}

	.single-article-text h2 {
	    font-size: 20px;
	}

	.comments-list-wrap h3, .comment-template h4 {
	    font-size: 20px;
	}

	.comment-user-avater img {
	    max-width: 45px;
	}

	.comment-text-body {
	    padding-left: 60px;
	}

	.comment-text-body h4 a {
	    display: block;
	    border: none;
	    margin-left: 0;
	    margin-top: 10px;
	}

	.comment-text-body h4 {
	    font-size: 18px;
	}

	.comment-text-body p {
	    line-height: 1.8;
	}

	.single-comment-body.child {
	    margin-left: 0;
	}
	.single-product-content h3 {
	    font-size: 20px;
	    line-height: 1.5;
	}
	a.mobile-hide.search-bar-icon {
	    display: none!important;
	}
	.mobile-show {
		display: block!important;
	}
	a.mobile-show.search-bar-icon {
	    position: absolute;
	    right: 60px;
	    top: 22px;
	    z-index: 999;
	    color: #fff;
	}
}
/* Wide Mobile Layout: 480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) { 
	.hero-area div.hero-form {
	    margin: 0 auto;
	    right: auto;
	    width: 380px;
	    left: 50%;
	    margin-left: -190px;
	}

	.hero-btns {
	    text-align: center;
	}

	.hero-btns a.bordered-btn {
	    margin-left: 0;
	    margin-top: 15px;
	    display: block;
	}
}

/* Imam Motors mobile refinements */
@media only screen and (max-width: 991px) {
	.site-logo img {
		max-height: 56px;
		width: auto;
	}

	.hero-area .hero-text-tablecell,
	.hero-area .hero-slide-content {
		padding: 80px 16px 30px;
	}

	.hero-css-slider {
		height: 75vh;
		min-height: 420px;
		max-height: 600px;
	}

	/* Header transparent on mobile - override ALL states */
	.top-header-area,
	.sticky-wrapper .top-header-area,
	.sticky-wrapper.is-sticky .top-header-area,
	body.homepage .top-header-area,
	body.homepage .top-header-area.transparent-header,
	body.homepage .sticky-wrapper.is-sticky .top-header-area,
	body.homepage .sticky-wrapper.is-sticky .top-header-area.transparent-header {
		background: transparent !important;
		background-color: transparent !important;
		box-shadow: none !important;
		border-bottom: none !important;
		backdrop-filter: none !important;
	}

	/* All 3 hero buttons: uniform compact pills in one row */
	body.homepage .hero-btns,
	.hero-btns {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 6px !important;
		justify-content: center !important;
		align-items: center !important;
		margin-top: 14px !important;
		width: 100% !important;
	}

	body.homepage .hero-btns a,
	body.homepage .hero-btns a.boxed-btn,
	body.homepage .hero-btns a.bordered-btn,
	body.homepage .hero-btns a.ghost-btn,
	body.homepage .hero-btns a.compare-hero-btn,
	.hero-btns a {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-width: 0 !important;
		width: auto !important;
		flex: 1 1 0 !important;
		padding: 9px 6px !important;
		font-size: 0.72rem !important;
		text-align: center !important;
		border-radius: 30px !important;
		background: rgba(255,255,255,0.15) !important;
		color: #fff !important;
		border: 1.5px solid rgba(255,255,255,0.4) !important;
		box-shadow: none !important;
		backdrop-filter: blur(6px) !important;
		font-weight: 600 !important;
		line-height: 1.3 !important;
		letter-spacing: 0 !important;
	}

	.product-actions {
		grid-template-columns: 1fr;
	}

	.compare-strip-inner {
		padding: 16px 16px 18px;
	}

	.compare-slots {
		width: 100%;
	}

	.compare-slot {
		flex: 1 1 0;
		min-width: 140px;
	}

	.single-product-gallery {
		padding: 18px;
	}

	.spec-grid {
		grid-template-columns: 1fr;
	}
}

@media only screen and (max-width: 767px) {
	.hero-text h1 {
		font-size: 2.35rem;
		line-height: 1.35;
	}

	.hero-text .hero-lead {
		font-size: 0.92rem;
	}

	.product-grid-row > div {
		margin-bottom: 16px;
	}

	.single-product-item h3 {
		font-size: 1.05rem;
		line-height: 1.5;
	}

	p.product-price {
		font-size: 1.35rem;
	}

	.compare-hero {
		padding: 22px 16px;
		border-radius: 24px;
	}

	.compare-product-card {
		padding: 16px 14px 18px;
	}

	.compare-product-card img {
		max-height: 115px;
	}

	.compare-vs {
		width: 74px;
		height: 74px;
		font-size: 1rem;
	}

	.compare-table thead {
		display: none;
	}

	.compare-table,
	.compare-table tbody,
	.compare-table tr,
	.compare-table td {
		display: block;
		width: 100%;
	}

	.compare-table tr {
		margin-bottom: 14px;
		border-bottom: 1px solid rgba(75, 46, 167, 0.08);
	}

	.compare-table td {
		text-align: right !important;
		padding: 12px 14px !important;
	}

	.compare-table td:first-child {
		font-weight: 700;
		color: var(--im-primary);
	}

	.contact-info-grid {
		grid-template-columns: 1fr;
	}

	.contact-cta {
		padding: 24px 18px;
	}

	.contact-cta .bordered-btn,
	.contact-cta .boxed-btn {
		width: 100%;
		text-align: center;
	}
}


/* Imam Motors final visual fixes */
@media only screen and (max-width: 991px) {
  .site-logo {
    position: relative;
    text-align: center;
    max-width: none;
  }

  .site-logo a {
    padding: 7px 12px;
    border-radius: 18px;
  }

  .site-logo img {
    max-height: 46px;
  }
}

@media only screen and (max-width: 767px) {
  .hero-area .hero-text-tablecell {
    padding: 72px 0 88px;
  }

  .compare-hero .compare-top {
    gap: 12px;
  }

  .compare-vs {
    width: 64px;
    height: 64px;
    margin: 4px auto;
    box-shadow: 0 10px 24px rgba(151, 18, 44, 0.18);
  }

  .compare-summary {
    min-height: 0;
  }
}
