/*
 Theme Name:   Basel Child
 Description:  Basel Child Theme – Elite Autos Inc
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     basel
 Version:      1.1.0
 Text Domain:  basel-child
*/

/* Your customizations starts here */

:root {
	--ea-blue: #0367c9;
	--ea-blue-dark: #02519e;
	--ea-ink: #111418;
	--ea-night: #0f1216;
	--ea-muted: #6b7280;
	--ea-line: #e5e7eb;
	--ea-soft: #f6f7f9;
}

/* ---------- Base ---------- */
body { color: #4b5563; line-height: 1.65; }
.wpb_revslider_element, sr7-module { background-color: #0b0e13; }

/* ---------- Top bar ---------- */
.topbar-wrapp { font-size: 14px; }
.ea-topbar { display: inline-flex; gap: 28px; flex-wrap: wrap; }
.ea-topbar i { margin-right: 6px; opacity: .85; }
.ea-topbar a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.topbar-menu .menu > li > a { font-size: 13px; letter-spacing: .03em; }
@media (max-width: 1279px) { .ea-topbar-mail { display: none; } }
.ea-tb-short { display: none; }
@media (max-width: 575px) { .ea-tb-long { display: none; } .ea-tb-short { display: inline; } }
@media (max-width: 767px) {
	.topbar-wrapp { font-size: 13px; }
	.ea-topbar { display: block; text-align: center; }
}

/* ---------- Header ---------- */
body .main-header .right-column { white-space: nowrap; }
body .main-header .right-column .shopping-cart .basel-cart-subtotal { font-weight: 600; }
body .main-nav .menu > li > a { letter-spacing: .02em; }

/* Laptops: keep logo, menu and icons on one line */
@media (min-width: 1280px) and (max-width: 1599px) {
	body .main-header .site-logo { width: 200px; }
	body .main-header .site-logo img { max-width: 190px; }
	body .main-header .right-column { width: 245px; }
	body .main-nav .menu > li > a { padding-left: 9px; padding-right: 9px; font-size: 14px; }
	body .main-header .right-column .shopping-cart .subtotal-divider, body .main-header .right-column .shopping-cart .basel-cart-subtotal { display: none; }
}

/* Tablets and small laptops: use the mobile header (Basel only switches below 992px) */
@media (min-width: 992px) and (max-width: 1279px) {
	body .mobile-nav-icon, body .right-column .mobile-nav-icon { display: inline-block; }
	body .right-column .header-links,
	body .right-column .my-account-with-icon { display: none; }
	body .right-column .shopping-cart .basel-cart-subtotal, body .right-column .shopping-cart .subtotal-divider { display: none; }
	body .main-header .right-column,
	body .main-header .site-logo,
	body .sticky-header .right-column,
	body .sticky-header .site-logo { width: 50%; }
	body .main-header .main-nav, body .sticky-header .main-nav { display: none; }
	body .main-header .site-logo img { max-width: 220px; }
}
@media (min-width: 1025px) and (max-width: 1279px) {
	body .mobile-nav { z-index: 99999; display: inline-block; }
}

/* Phones */
@media (max-width: 991px) {
	body .main-header .site-logo img { max-width: 170px; }
}
@media (max-width: 400px) {
	body .main-header .site-logo img { max-width: 150px; }
	body .right-column .compare-info-widget { display: none; }
}

/* Mobile menu readability */
.mobile-nav .site-mobile-menu > li > a,
.mobile-nav .mobile-pages-menu > li > a { font-size: 15px; }

/* ---------- Section titles (template style) ---------- */
.ea-section-title { font-size: 42px; line-height: 1.1; margin-bottom: 0; }
@media (max-width: 767px) { .ea-section-title { font-size: 32px; } }
.ea-lead-title { font-size: 36px; line-height: 1.1; margin-bottom: 20px; }

/* ---------- Trust bar under the slider ---------- */
.ea-trust-bar .basel-info-box .info-box-title,
.ea-trust-bar .basel-info-box h2 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.ea-trust-bar .basel-info-box .info-box-inner,
.ea-trust-bar .basel-info-box p { color: rgba(255, 255, 255, .68); font-size: 14px; line-height: 1.5; }
.ea-trust-bar .basel-info-box { margin-bottom: 24px; }
.ea-trust-bar .box-icon-wrapper img { filter: brightness(0) invert(1); opacity: .9; }

/* ---------- Info boxes ---------- */
.basel-info-box h2 { font-size: 22px; margin-bottom: 10px; }

/* ---------- Product finder ---------- */
.ea-finder .basel-product-filters {
	background: #fff;
	border: 1px solid var(--ea-line);
	border-top: 3px solid var(--ea-blue);
	box-shadow: 0 12px 30px rgba(15, 18, 22, .08);
	padding: 18px 20px;
}

/* ---------- Promo banner ---------- */
.ea-promo { min-height: 560px; background-position: center center !important; }
.ea-promo .vc_custom_heading { font-family: inherit; }
@media (max-width: 991px) { .ea-promo { min-height: 0; background-position: 75% center !important; } }
.ea-promo .basel-button-wrapper { margin-bottom: 0; }

/* ---------- Shop-by-code lists ---------- */
.ea-cat-list h4 { margin-bottom: 10px; font-size: 20px; }
.ea-cat-list h4 a { color: var(--ea-ink); }
.ea-cat-list ul { list-style: none; padding: 0; margin: 0; }
.ea-cat-list li { padding: 3px 0; }
.ea-cat-list li a { color: #4b5563; }
.ea-cat-list li a:hover { color: var(--ea-blue); }

/* ---------- Brands strip ---------- */
.ea-brands-row { margin: 0; text-align: center; color: var(--ea-muted); letter-spacing: .02em; }
.ea-brands-row span { display: inline-block; margin-right: 14px; color: var(--ea-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }

/* ---------- Map with contact card ---------- */
.ea-map { position: relative; height: 480px; background: #dfe3e8; }
.ea-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35); }
.ea-map-card {
	position: absolute; top: 50%; right: 10%; transform: translateY(-50%);
	width: 340px; max-width: calc(100% - 32px); padding: 36px 38px;
	background: #033463; color: rgba(255, 255, 255, .8);
	border: 7px solid rgba(10, 10, 10, .12);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}
.ea-map-card h3 { color: #fff; font-size: 30px; margin: 4px 0 14px; }
.ea-map-card a { color: #fff; }
.ea-map-sub { color: #54a6ff; font-weight: 700; letter-spacing: .14em; font-size: 12px; }
.ea-map-card .btn { margin-top: 6px; }
.ea-map-plain { height: 420px; }
.ea-map-row, .ea-map-row .vc_column-inner, .ea-map-row .wpb_raw_code { margin-bottom: 0 !important; }
.ea-map-row { margin-bottom: -40px !important; }
@media (max-width: 767px) {
	.ea-map { height: auto; }
	.ea-map iframe { height: 300px; }
	.ea-map-card { position: static; transform: none; width: auto; max-width: none; border: 0; }
}

/* ---------- Contact page ---------- */
.ea-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 767px) { .ea-form-grid { grid-template-columns: 1fr; } }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea { width: 100%; }
.ea-contact-card { background: var(--ea-soft); border-top: 3px solid var(--ea-blue); padding: 30px; }
.ea-contact-card h3 { font-size: 26px; }

/* icon list items (contact card, footer) */
.ea-ci { position: relative; padding-left: 32px; }
.ea-ci::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: no-repeat center / contain; }
.ea-ci-pin::before { background-image: url(assets/icons/icon-pin.svg); }
.ea-ci-mail::before { background-image: url(assets/icons/icon-mail.svg); }
.ea-ci-clock::before { background-image: url(assets/icons/icon-clock.svg); }

/* ---------- Footer ---------- */
.ea-footer-top { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; margin-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ea-footer-top img { height: 55px; width: auto; }
.ea-footer-top p { flex: 1 1 320px; margin: 0; color: rgba(255, 255, 255, .6); }
.ea-footer-contact { list-style: none; padding: 0; margin: 0; }
.ea-footer-contact li { margin-bottom: 14px; color: rgba(255, 255, 255, .7); line-height: 1.6; }
.footer-container .ea-ci::before { filter: brightness(0) invert(1); opacity: .6; }

/* ---------- Mega menu ---------- */
.ea-mm-col h5 { font-size: 16px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.ea-mm-col h5 a { color: var(--ea-ink); }
.ea-mm-col ul { list-style: none; padding: 0; margin: 0; }
.ea-mm-col li a { display: block; padding: 4px 0; color: var(--ea-muted); font-weight: 400; text-transform: none; }
.ea-mm-col li a:hover { color: var(--ea-blue); }
.ea-mm-promo a {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 210px; padding: 20px; color: #fff; background: #0f1216 center / cover no-repeat;
}
.ea-mm-promo a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 14, 20, .85), rgba(10, 14, 20, .1)); }
.ea-mm-promo span, .ea-mm-promo strong, .ea-mm-promo em { position: relative; }
.ea-mm-promo span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #54a6ff; font-weight: 700; }
.ea-mm-promo strong { font-size: 20px; line-height: 1.2; margin: 4px 0 10px; text-transform: none; }
.ea-mm-promo em { font-style: normal; font-size: 13px; text-decoration: underline; text-transform: none; }

/* ---------- Catalogue ---------- */
.woocommerce-price-suffix { font-size: 70%; color: var(--ea-muted); margin-left: 3px; font-weight: 400; }
.product-grid-item .price, .product-list-item .price { color: var(--ea-ink); font-weight: 600; font-size: 16px; }
.product-grid-item .product-title { font-weight: 600; }
.single-product .product_meta > span.tagged_as { display: none; }
.term-description, .woocommerce-products-header__description { max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---------- Single product ---------- */
.ea-buy-notes { list-style: none; margin: 18px 0 22px; padding: 16px 18px; background: var(--ea-soft); border-left: 3px solid var(--ea-blue); }
.ea-buy-notes li { position: relative; padding: 4px 0 4px 30px; font-size: 14px; }
.ea-buy-notes li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; background: no-repeat center / contain; }
.ea-buy-notes .ea-bn-truck::before { background-image: url(assets/icons/icon-truck.svg); }
.ea-buy-notes .ea-bn-tag::before { background-image: url(assets/icons/icon-tag.svg); }
.ea-buy-notes .ea-bn-search::before { background-image: url(assets/icons/icon-search.svg); }
.ea-bn-search a { font-weight: 600; }
.ea-tab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 10px; }
.ea-tab h4 { font-size: 18px; margin-bottom: 8px; }
.ea-tab-note { color: var(--ea-muted); font-size: 14px; }
.woocommerce-product-details__short-description ul { padding-left: 18px; }
.shop_attributes th { width: 220px; }

/* ---------- Blog / guides ---------- */
.ea-rounded img { border-radius: 2px; }
.basel-sticky-btn .ea-buy-notes { display: none; }
.ea-mm-promo a, .ea-mm-promo a strong, .ea-mm-promo a em { color: #fff !important; }
.ea-mm-promo a span { color: #54a6ff !important; }

/* =====================================================================
   Type scale & touch targets (desktop → tablet → phone)
   ===================================================================== */

/* Section headings */
body .ea-section-title { font-size: 42px; }
body .wpb_text_column p[style*="center"] { font-size: 17px; color: var(--ea-muted); }
@media (max-width: 1024px) { body .ea-section-title { font-size: 34px; } }
@media (max-width: 575px) {
	body .ea-section-title { font-size: 28px; }
	body .wpb_text_column p[style*="center"] { font-size: 15px; }
}

/* Product cards */
body .product-grid-item .product-title,
body .product-grid-item .product-title a {
	font-family: "Barlow", Arial, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.35;
	text-transform: none; color: var(--ea-ink); letter-spacing: 0;
}
body .product-grid-item .product-title { min-height: 2.7em; margin-bottom: 6px; }
body .product-grid-item .price,
body .product-grid-item .price .amount { font-size: 18px; font-weight: 700; color: var(--ea-ink); }
body .woocommerce-price-suffix { font-size: 12px; font-weight: 600; color: var(--ea-muted); letter-spacing: .04em; }
@media (max-width: 575px) {
	body .product-grid-item .product-title,
	body .product-grid-item .product-title a { font-size: 14px; }
	body .product-grid-item .price,
	body .product-grid-item .price .amount { font-size: 16px; }
}

/* Category cards */
body .category-grid-item .category-title,
body .category-grid-item .category-title a { font-size: 20px; }

/* Info boxes */
body .basel-info-box .info-box-title,
body .basel-info-box h2 { font-size: 22px; }
body .basel-info-box .info-box-inner { font-size: 15.5px; line-height: 1.65; }

/* Product tabs on the homepage */
body .products-tabs-title li span { font-size: 15px; }

/* Buttons: readable label and a comfortable tap target */
body .btn,
body .button,
body button[type="submit"],
body .single_add_to_cart_button,
body .wpcf7-submit { font-size: 14px; letter-spacing: .04em; min-height: 44px; }
body .btn.btn-size-default, body .basel-button-wrapper .btn { padding: 12px 26px; line-height: 20px; }

/* Single product */
body.single-product .product_title { font-size: 32px; line-height: 1.15; }
body.single-product .summary .price,
body.single-product .summary .price .amount { font-size: 28px; font-weight: 700; color: var(--ea-blue); }
body .woocommerce-product-details__short-description,
body .woocommerce-product-details__short-description li { font-size: 16px; line-height: 1.7; }
body .woocommerce-tabs .tabs li a,
body .wc-tabs li a { font-size: 17px; }
body .shop_attributes th, body .shop_attributes td { font-size: 15.5px; padding-top: 12px; padding-bottom: 12px; }
body .ea-buy-notes li { font-size: 15px; }
@media (max-width: 767px) {
	body.single-product .product_title { font-size: 24px; }
	body.single-product .summary .price,
	body.single-product .summary .price .amount { font-size: 24px; }
	body .woocommerce-tabs .tabs li a, body .wc-tabs li a { font-size: 16px; }
}

/* Shop sidebar & filters */
body .sidebar-container .widget-title,
body .filters-area .widget-title { font-size: 16px; letter-spacing: .06em; }
body .sidebar-container .widget li,
body .sidebar-container .widget li a { font-size: 15px; }
body .basel-pf-title .title-text { font-size: 13px; letter-spacing: .05em; }
body .woocommerce-breadcrumb, body .breadcrumbs, body .breadcrumbs a { font-size: 14px; }
body .woocommerce-result-count, body .woocommerce-ordering select { font-size: 14px; }

/* Footer */
body .footer-container .widget-title { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
body .footer-container .widget li a,
body .footer-container .ea-footer-contact li { font-size: 15px; color: rgba(255, 255, 255, .72); }
body .footer-container .widget li a:hover { color: #fff; }
body .footer-container .widget li { margin-bottom: 8px; }
body .copyrights-wrapper { font-size: 14px; }
@media (max-width: 767px) {
	body .footer-container .widget { margin-bottom: 26px; }
	body .copyrights-wrapper .min-footer { text-align: center; }
	body .copyrights-wrapper .col-right { display: none; }
}

/* Mobile sticky bottom toolbar labels */
body .basel-toolbar .basel-toolbar-label { font-size: 12px; }

/* Page title banner */
body .page-title .entry-title, body .page-title h1 { font-size: 40px; }
@media (max-width: 767px) { body .page-title .entry-title, body .page-title h1 { font-size: 28px; } }

/* Price filter: visible, touch-friendly handles */
body .price_slider .ui-slider-handle::before {
	content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--ea-blue);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}
body .price_slider_amount .button { background: var(--ea-blue); color: #fff; }
body .price_slider_amount .button:hover { background: var(--ea-blue-dark); }
body .price_slider_amount .price_label { font-size: 15px; }

/* Quantity stepper: touch-sized */
body .quantity input.qty { width: 52px; height: 44px; font-size: 16px; }
body .quantity input.minus, body .quantity input.plus { width: 34px; height: 44px; font-size: 18px; }
body .single_add_to_cart_button { height: 44px; padding-left: 28px; padding-right: 28px; }
