/*
Theme Name: ThinkSmartTech
Description: 1:1 dark storefront recreating the Shopify Ride theme for ThinkSmartTech.
Version: 1.0
Author: ThinkSmartTech
Text Domain: tst
*/

:root {
  --bg: #0a0a0f;
  --bg-2: #1e1e2a;
  --bg-3: #1a1a24;
  --bg-4: #0f0f18;
  --bg-5: #1a1a26;
  --text: #e8e8ed;
  --text-2: #f0f0f5;
  --muted: rgba(232, 232, 237, 0.72);
  --blue: #0066CC;
  --bmw-blue: #1C69D4;
  --red: #D6001C;
  --gold: #D4AF37;
  --border: rgba(232, 232, 237, 0.1);
  --border-input: rgba(232, 232, 237, 0.55);
  --page-width: 120rem;
  --radius-btn: 6px;
  --radius-card: 10px;
  --radius-input: 6px;
  --radius-pill: 40px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.2);
  --font: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- reset/base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
p a, .entry-content a { color: #7ab3f0; }
p a:hover, .entry-content a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0 0 1.6rem;
}
h1 { font-size: 3.7rem; }
h2 { font-size: 2.9rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
.page-width { max-width: var(--page-width); margin: 0 auto; padding: 0 2.4rem; }
section { scroll-margin-top: 8rem; }
::selection { background: var(--blue); color: #fff; }

/* ---------- buttons ---------- */
.btn, button.btn, .button, input[type="submit"],
.woocommerce #respond input#submit, .woocommerce a.button,
.woocommerce button.button, .woocommerce input.button,
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order,
.wp-block-button__link {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 1.3rem 3rem;
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover, .button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce #payment #place_order:hover {
  background: #0b78e8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.45);
}
.btn--secondary {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border-input);
}
.btn--secondary:hover { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px #fff; }
.btn--buynow { background: var(--text-2); color: #0a0a0f; }
.btn--buynow:hover { background: #ffffff; color: #0a0a0f; box-shadow: 0 4px 14px rgba(255,255,255,0.25); }

/* ---------- forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="number"], input[type="url"], select, textarea {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-input);
  padding: 1.1rem 1.4rem;
  font-family: var(--font);
  font-size: 1.5rem;
  width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e8e8ed' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.4rem center; padding-right: 4rem; }
select option { background: var(--bg-2); color: var(--text); }
label { font-size: 1.4rem; color: var(--muted); }

/* ---------- top announcement bars ---------- */
.mtri-topbar {
  background: var(--bmw-blue);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  z-index: 60;
}
.mtri-topbar span { margin-right: 20px; white-space: nowrap; }
.mtri-topbar a { color: #fff; text-decoration: underline; }
.utility-bar {
  background: var(--red);
  color: #fff;
  border-bottom: 1px solid var(--border);
}
.utility-bar .announcement-bar { text-align: center; padding: 1rem 2rem; }
.utility-bar a {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.utility-bar a:hover svg { transform: translateX(4px); }
.utility-bar svg { width: 1.4rem; height: 1.4rem; transition: transform 0.15s ease; }

/* ---------- header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
  padding: 1.2rem 2.4rem;
  max-width: var(--page-width);
  margin: 0 auto;
}
.site-header__logo img { width: 160px; height: auto; display: block; border-radius: 2px; }
.site-nav ul { list-style: none; display: flex; gap: 0.4rem; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 1rem 1.2rem;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-nav a:hover, .site-nav .current-menu-item > a { color: #fff; text-decoration: underline; text-underline-offset: 0.5em; }
.site-header__icons { display: flex; align-items: center; gap: 0.6rem; }
.header-currency select {
  width: auto;
  background-color: transparent;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  padding: 0.8rem 2.8rem 0.8rem 0.8rem;
  cursor: pointer;
}
.header-currency select option { background: var(--bg-2); }
.site-header__icons a, .site-header__icons button {
  background: none;
  border: none;
  color: var(--text);
  padding: 1rem;
  cursor: pointer;
  position: relative;
  display: inline-flex;
}
.site-header__icons svg { width: 2.2rem; height: 2.2rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cart-count {
  position: absolute;
  top: 0.2rem;
  right: 0.1rem;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 600;
  min-width: 1.7rem;
  height: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
}
.header-search {
  display: none;
  border-top: 1px solid var(--border);
  padding: 1.6rem 2.4rem;
  background: var(--bg);
}
.header-search.is-open { display: block; }
.header-search form { max-width: 60rem; margin: 0 auto; display: flex; gap: 1rem; }
.site-header__icons .mobile-toggle { display: none; }

/* ---------- hero slideshow ---------- */
.hero { position: relative; overflow: hidden; }
.hero__slide { display: none; position: relative; }
.hero__slide.is-active { display: block; }
.hero__slide img { width: 100%; height: auto; display: block; min-height: 42rem; object-fit: cover; }
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 6rem 2.4rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}
.hero__content h2 {
  color: #fff;
  font-size: 4.6rem;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  max-width: 90rem;
}
.hero__content p { color: #fff; font-size: 1.9rem; text-shadow: 0 1px 8px rgba(0,0,0,0.7); margin: 0 0 2.4rem; }
.hero__dots { position: absolute; bottom: 1.6rem; left: 0; right: 0; text-align: center; }
.hero__dots button {
  width: 1rem; height: 1rem;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  margin: 0 0.4rem;
  cursor: pointer;
  padding: 0;
}
.hero__dots button.is-active { background: #fff; }

/* ---------- homepage sections ---------- */
.section { padding: 5.6rem 0; }
.section--tight { padding: 3.2rem 0; }
.section-heading { text-align: center; margin-bottom: 4rem; }
.stats-strip { background: var(--bg); text-align: center; padding: 3.2rem 2.4rem; }
.stats-strip p { font-size: 1.7rem; margin: 0; }
.trust-block { background: var(--bg-2); text-align: center; padding: 5.6rem 2.4rem; }
.trust-block h2 { font-size: 3.7rem; }
.trust-block p { max-width: 86rem; margin: 0 auto; color: var(--muted); }
.cols { display: grid; gap: 1.6rem; }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.cols--4 { grid-template-columns: repeat(4, 1fr); }
.col-card { text-align: center; padding: 2.4rem 1.6rem; }
.col-card h3 { font-size: 1.9rem; margin-bottom: 1rem; }
.col-card p { color: var(--muted); font-size: 1.5rem; margin: 0; }
.section-cta { text-align: center; margin-top: 3.2rem; }

/* ---------- product cards / grids ---------- */
ul.products, .products-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.woocommerce ul.products li.product, .product-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product:hover, .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.product-card__media { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
  width: auto;
  float: none;
  margin: 0;
  clear: none;
}
.woocommerce ul.products, .woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card__body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.product-card__title { font-size: 1.5rem; font-weight: 400; color: var(--text-2); line-height: 1.4; margin: 0; }
.product-card__title:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.price { font-size: 1.6rem; color: var(--text-2); font-weight: 400; }
.price del { color: var(--muted); margin-right: 0.8rem; }
.price ins { text-decoration: none; }
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins {
  color: var(--text-2);
  font-weight: 400;
}
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del { color: var(--muted); }
.badge-sale, .onsale {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--blue);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
}
.woocommerce span.onsale {
  position: absolute;
  min-height: 0;
  line-height: inherit;
  margin: 0;
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
  padding: 0.5rem 1.1rem;
  font-size: 1.2rem;
  font-weight: 600;
  top: 1rem;
  left: 1rem;
}

/* ---------- shop/archive ---------- */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.4rem; gap: 2rem; flex-wrap: wrap; }
.woocommerce .woocommerce-result-count { color: var(--muted); margin: 0; }
.woocommerce .woocommerce-ordering select { width: auto; }
.term-description { color: var(--muted); max-width: 80rem; margin-bottom: 2.4rem; }
.woocommerce nav.woocommerce-pagination { text-align: center; margin-top: 4rem; }
.woocommerce nav.woocommerce-pagination ul { border: none; display: inline-flex; gap: 0.6rem; }
.woocommerce nav.woocommerce-pagination ul li { border: none; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  color: var(--text);
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--blue); color: #fff; }

/* ---------- breadcrumbs ---------- */
.woocommerce .woocommerce-breadcrumb { color: var(--muted); font-size: 1.3rem; margin: 2rem 0; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce .woocommerce-breadcrumb a:hover { color: #fff; }

/* ---------- single product ---------- */
.woocommerce div.product { color: var(--text); }
.woocommerce div.product div.images { margin-bottom: 4rem; }
.woocommerce div.product div.images img { border-radius: var(--radius-card); background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; margin-top: 0.8rem; }
.woocommerce div.product div.images .flex-control-thumbs li { float: none; width: auto; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 6px; border: 1px solid var(--border); opacity: 0.6; cursor: pointer; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; border-color: var(--text); }
.woocommerce div.product .product_title { font-size: 3.2rem; font-weight: 600; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--text-2); font-size: 2rem; }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { color: var(--muted); opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; font-weight: 600; }
.woocommerce div.product form.cart { margin: 2.4rem 0; }
.woocommerce div.product form.cart .variations { margin-bottom: 1.6rem; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { display: block; text-align: left; padding: 0; line-height: 1.6; }
.woocommerce div.product form.cart .variations label { font-size: 1.4rem; color: var(--muted); }
.woocommerce div.product form.cart .variations select { margin-bottom: 1rem; }
.mtri-pills { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0.6rem 0 1.2rem; }
.mtri-pills button {
  background: transparent;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  color: var(--text);
  padding: 0.9rem 1.8rem;
  font-size: 1.4rem;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.12s ease;
}
.mtri-pills button:hover { border-color: #fff; }
.mtri-pills button.is-selected { background: #fff; color: #0a0a0f; border-color: #fff; font-weight: 600; }
.mtri-pills button.is-unavailable { opacity: 0.35; text-decoration: line-through; }
.woocommerce div.product form.cart div.quantity { margin-right: 1.2rem; }
.woocommerce .quantity .qty { width: 9rem; text-align: center; }
.single_add_to_cart_button { width: 100%; margin-top: 1rem; }
.woocommerce div.product form.cart .button { font-size: 1.5rem; padding: 1.5rem 3rem; }
.mtri-buynow-btn { width: 100%; margin-top: 1rem; }
.woocommerce-variation-price { margin-bottom: 1rem; }
.woocommerce-product-details__short-description { color: var(--muted); }
.product_meta { color: var(--muted); font-size: 1.3rem; margin-top: 2rem; }
.product_meta a { color: var(--text); }
.woocommerce div.product .woocommerce-tabs { margin-top: 4rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 2.4rem; border-bottom: 1px solid var(--border); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--border); }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--muted); font-weight: 600; padding: 1.2rem 2rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; border-bottom: 2px solid var(--blue); }
.woocommerce-Tabs-panel h2:first-of-type { display: none; }

/* product body content (Shopify body_html) */
.woocommerce-Tabs-panel, .entry-content { font-size: 1.6rem; }
.woocommerce-Tabs-panel img, .entry-content img { border-radius: var(--radius-card); }
.woocommerce-Tabs-panel table, .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1.4rem;
}
.woocommerce-Tabs-panel table td, .woocommerce-Tabs-panel table th,
.entry-content table td, .entry-content table th {
  border: 1px solid var(--border);
  padding: 1rem 1.2rem;
  text-align: left;
}
.entry-content table th { background: var(--bg-2); }

/* FAQ accordion */
.mtri-faq { max-width: 90rem; margin: 4rem auto; }
.mtri-faq h2 { text-align: center; margin-bottom: 2.4rem; }
.mtri-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-2);
  margin-bottom: 1rem;
  overflow: hidden;
}
.mtri-faq__item summary {
  cursor: pointer;
  padding: 1.6rem 2rem;
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--text-2);
  list-style: none;
  position: relative;
  padding-right: 4.4rem;
}
.mtri-faq__item summary::-webkit-details-marker { display: none; }
.mtri-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--muted);
}
.mtri-faq__item[open] summary::after { content: "\2212"; }
.mtri-faq__answer { padding: 0 2rem 1.8rem; color: var(--muted); }

/* related products */
.woocommerce .related.products, section.related { margin-top: 5.6rem; }
.related > h2, .woocommerce .related.products > h2 { text-align: center; margin-bottom: 3.2rem; }

/* ---------- cart / checkout / account ---------- */
.woocommerce table.shop_table {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  border-collapse: separate;
}
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--border); color: var(--text); }
.woocommerce table.shop_table th { color: var(--muted); }
.woocommerce-cart table.cart img { width: 8rem; border-radius: 6px; background: #fff; }
.woocommerce a.remove { color: var(--muted) !important; }
.woocommerce a.remove:hover { color: #fff !important; background: var(--red); }
.woocommerce .cart_totals h2, #order_review_heading { font-size: 2.2rem; }
.woocommerce-checkout #payment { background: var(--bg-2); border-radius: var(--radius-card); }
.woocommerce-checkout #payment div.payment_box { background: var(--bg-3); color: var(--text); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--bg-3); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--border); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { background: transparent; color: var(--text); }
.select2-container--default .select2-selection--single { background: transparent; border: 1px solid var(--border-input); border-radius: var(--radius-input); height: auto; padding: 0.7rem 1rem; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); }
.select2-dropdown { background: var(--bg-2); color: var(--text); border-color: var(--border); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--blue); }
.select2-search--dropdown .select2-search__field { background: var(--bg); color: var(--text); }
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  background: var(--bg-2);
  color: var(--text);
  border-top-color: var(--blue);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.woocommerce-error { border-top-color: var(--red); }
.woocommerce-message { border-top-color: #2e9e5b; }
.woocommerce-info a, .woocommerce-message a { color: #7ab3f0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--border); }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 1.2rem 0.4rem; color: var(--muted); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: #fff; }
.woocommerce form.login, .woocommerce form.register {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-2);
}

/* coupon field */
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 16rem; margin-right: 0.8rem; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.blog-grid--home { grid-template-columns: repeat(4, 1fr); }
.blog-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-3); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 1.8rem; flex: 1; }
.blog-card__title { font-size: 1.7rem; margin: 0 0 0.8rem; }
.blog-card__excerpt { color: var(--muted); font-size: 1.4rem; margin: 0; }
.single-post .entry-header { text-align: center; padding: 4rem 0 2rem; }
.single-post .entry-content { max-width: 80rem; margin: 0 auto; }
.single-post .post-thumbnail { text-align: center; margin-bottom: 3rem; }
.single-post .post-thumbnail img { border-radius: var(--radius-card); }

/* ---------- pages ---------- */
.page .entry-header { padding: 4rem 0 1rem; }
.page .entry-content { max-width: 90rem; margin: 0 auto; padding-bottom: 5.6rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); margin-top: 5.6rem; }
.site-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.8fr 1.2fr;
  gap: 3rem;
  padding: 5rem 2.4rem 3rem;
  max-width: var(--page-width);
  margin: 0 auto;
}
.site-footer h2 { font-size: 1.6rem; margin-bottom: 1.4rem; }
.site-footer p { color: var(--muted); font-size: 1.4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul a { color: var(--muted); font-size: 1.4rem; display: block; padding: 0.4rem 0; }
.site-footer ul a:hover { color: #fff; }
.newsletter-form { display: flex; }
.newsletter-form input { border-radius: var(--radius-input) 0 0 var(--radius-input); border-right: none; }
.newsletter-form button {
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
  padding: 0 1.8rem;
  background: transparent;
  border: 1px solid var(--border-input);
  border-left: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.8rem;
}
.newsletter-msg { font-size: 1.3rem; margin-top: 0.8rem; color: #7fd49a; }
.footer-social { margin-top: 1.6rem; }
.footer-social a { display: inline-flex; padding: 0.6rem; color: var(--muted); }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 2rem; height: 2rem; fill: currentColor; }
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 2rem 2.4rem;
  max-width: var(--page-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 1.2rem;
  color: var(--muted);
}
.site-footer__policies { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; list-style: none; margin: 0; padding: 0; }
.site-footer__policies a { color: var(--muted); font-size: 1.2rem; }
.site-footer__policies a:hover { color: #fff; }

/* ---------- misc ---------- */
.woocommerce-store-notice { background: var(--blue); }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
#wpadminbar { position: fixed !important; }

/* ---------- responsive ---------- */
@media (max-width: 989px) {
  .cols--4 { grid-template-columns: repeat(2, 1fr); }
  ul.products, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid, .blog-grid--home { grid-template-columns: repeat(2, 1fr); }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__content h2 { font-size: 3.2rem; }
}
@media (max-width: 749px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 1rem 0; }
  .site-header__icons .mobile-toggle { display: inline-flex; }
  .cols--3 { grid-template-columns: 1fr; }
  .cols--4 { grid-template-columns: 1fr 1fr; }
  ul.products, .products-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid, .blog-grid--home { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .hero__content h2 { font-size: 2.6rem; }
  .hero__content p { font-size: 1.5rem; }
  .mtri-topbar span { display: block; margin: 0.2rem 0; white-space: normal; }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.3rem; }
}

/* ================= Ride (ThinkSmartTech) overrides ================= */
:root {
  --bg: #1f1f21;
  --bg-2: #1f1f21;
  --bg-3: #29292c;
  --bg-4: #1f1f21;
  --text: rgba(255, 255, 255, 0.75);
  --text-2: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --blue: #E3FC02;            /* accent: Ride lime */
  --bmw-blue: #E3FC02;
  --red: #E3FC02;
  --border: rgba(255, 255, 255, 0.12);
  --border-input: rgba(255, 255, 255, 0.55);
  --page-width: 160rem;
  --radius-btn: 0;
  --radius-card: 0;
  --radius-input: 0;
  --radius-pill: 0;
  --shadow-card: none;
  --font: "Figtree", -apple-system, sans-serif;
  --font-head: "Oswald", "Figtree", sans-serif;
}
h1, h2, h3, h4, h5, h6, .product-card__title, .blog-card__title,
.woocommerce div.product .product_title, .hero__content h2 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.btn, .button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #payment #place_order {
  background: #E3FC02;
  color: #1f1f21;
  border-radius: 0;
  text-transform: uppercase;
  font-family: var(--font);
  font-weight: 600;
}
.btn:hover, .button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce #payment #place_order:hover {
  background: #eeff45;
  color: #1f1f21;
  box-shadow: 0 4px 14px rgba(227, 252, 2, 0.35);
}
.btn--buynow { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); }
.btn--buynow:hover { background: rgba(255,255,255,0.08); color: #fff; }
.woocommerce span.onsale, .onsale { background: #E3FC02; color: #1f1f21; border-radius: 0; }
p a, .entry-content a { color: #E3FC02; }
.woocommerce-info, .woocommerce-message { border-top-color: #E3FC02; }
.woocommerce-info a, .woocommerce-message a { color: #E3FC02; }

/* announcement bar: lime */
.utility-bar { background: #E3FC02; border-bottom: none; }
.utility-bar a, .utility-bar span { color: #1f1f21 !important; font-family: var(--font-head); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.08em; }
.mtri-topbar { display: none; }

/* header text logo */
.site-header { background: var(--bg); border-bottom: none; }
.site-header__logo-text {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
}
.site-nav a { text-transform: none; font-size: 1.6rem; letter-spacing: 0.04em; }

/* product cards: Ride style — flat, no box */
.woocommerce ul.products li.product, .product-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.woocommerce ul.products li.product:hover { transform: none; box-shadow: none; }
.product-card__media { border-radius: 0; }
.product-card__body { padding: 1.4rem 0 0; }
.product-card__title { font-size: 1.9rem; line-height: 1.3; }
.price, .woocommerce ul.products li.product .price { letter-spacing: 0.06em; }

/* grids: 4 columns like Ride */
ul.products, .products-grid,
.woocommerce ul.products, .woocommerce-page ul.products {
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem 2rem;
}
@media (max-width: 989px) {
  ul.products, .products-grid, .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); }
}

/* hero: image-with-text split */
.tst-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 60rem; }
.tst-hero__text { padding: 6rem; }
.tst-hero__text h1 { font-size: 5.6rem; color: #fff; letter-spacing: 0.06em; line-height: 1.1; }
.tst-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 749px) {
  .tst-hero { grid-template-columns: 1fr; min-height: 0; }
  .tst-hero__text { padding: 4rem 2.4rem; }
  .tst-hero__text h1 { font-size: 3.4rem; }
}

/* footer: minimal Ride */
.site-footer { border-top: 1px solid var(--border); }
.tst-footer { display: flex; flex-wrap: wrap; gap: 3rem; align-items: flex-end; justify-content: space-between; padding: 4rem 2.4rem; max-width: var(--page-width); margin: 0 auto; }
.tst-footer label { display: block; font-size: 1.3rem; margin-bottom: 0.6rem; color: var(--muted); }
.payment-icons { display: flex; gap: 0.6rem; }
.payment-icons svg, .payment-icons img { height: 24px; width: auto; }
