/*
Theme Name: Yuzu Autoparts
Theme URI: https://yuzu-intl.com/
Author: Yuzu Intl
Description: A custom WooCommerce storefront for automotive parts and accessories.
Version: 1.0.8
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: yuzu-autoparts
*/

:root {
  --ya-black: #02050a;
  --ya-ink: #07111d;
  --ya-panel: #0d1724;
  --ya-panel-soft: #eef3f8;
  --ya-line: #223244;
  --ya-line-soft: rgba(34, 50, 68, .14);
  --ya-white: #ffffff;
  --ya-text: #17212d;
  --ya-muted: #6a7482;
  --ya-orange: #ff7a1a;
  --ya-orange-dark: #d85200;
  --ya-cyan: #24d8ff;
  --ya-cyan-dark: #008bb8;
  --ya-glow: rgba(36, 216, 255, .28);
  --ya-max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7f9fb 0%, #edf2f7 100%);
  color: var(--ya-text);
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--ya-cyan);
  outline-offset: 3px;
}

.ya-wrap {
  width: min(var(--ya-max), calc(100% - 32px));
  margin: 0 auto;
}

.ya-topbar {
  background: #03070d;
  color: #b6c4d2;
  font-size: 13px;
  border-bottom: 1px solid rgba(36, 216, 255, .16);
}

.ya-topbar .ya-wrap,
.ya-mainbar .ya-wrap,
.ya-nav .ya-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ya-topbar .ya-wrap {
  min-height: 38px;
}

.ya-topbar strong {
  color: var(--ya-cyan);
  text-shadow: 0 0 18px rgba(36, 216, 255, .45);
}

.ya-topbar__links {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.ya-topbar__links a {
  padding: 6px 9px;
  border-radius: 6px;
  color: #dce8f2;
}

.ya-topbar__links a:hover {
  background: rgba(36, 216, 255, .08);
  color: #ffffff;
}

.ya-mainbar {
  background:
    radial-gradient(circle at 12% -8%, rgba(36, 216, 255, .18), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(255, 122, 26, .12), transparent 28%),
    linear-gradient(180deg, #0a111b 0%, #050912 100%);
  color: var(--ya-white);
  border-bottom: 1px solid rgba(36, 216, 255, .18);
  box-shadow: 0 18px 70px rgba(2, 5, 10, .42);
}

.ya-mainbar .ya-wrap {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand actions"
    "search search";
  align-items: center;
  padding: 14px 0 16px;
  row-gap: 14px;
}

.ya-logo {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
}

.ya-logo img {
  display: block;
  width: min(42vw, 500px);
  max-height: 126px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(36, 216, 255, .18));
}

.ya-logo__text {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: transparent;
  background: linear-gradient(90deg, #ffffff 0%, #d8f7ff 42%, var(--ya-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Arial Black", "Impact", "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: .07em;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(36, 216, 255, .34);
}

.ya-logo__text::before {
  content: "";
  width: 32px;
  height: 2px;
  margin-right: 12px;
  background: linear-gradient(90deg, transparent, var(--ya-cyan));
  box-shadow: 0 0 16px rgba(36, 216, 255, .75);
}

.ya-logo__text::after {
  content: "";
  position: absolute;
  left: 44px;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, var(--ya-orange), rgba(36, 216, 255, .72), transparent);
  box-shadow: 0 0 16px rgba(255, 122, 26, .34);
}

.ya-site-search {
  grid-area: search;
  flex: 1;
  display: flex;
  min-width: 260px;
  width: 100%;
  max-width: none;
  padding: 4px;
  border: 1px solid rgba(36, 216, 255, .38);
  border-radius: 8px;
  background: rgba(2, 5, 10, .58);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 16px 36px rgba(0, 0, 0, .28);
}

.ya-site-search input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border: 0;
  border-right: 0;
  border-radius: 5px 0 0 5px;
  background: rgba(255, 255, 255, .96);
  color: #111a24;
  font-size: 15px;
}

.ya-site-search button,
.ya-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(135deg, var(--ya-orange), #ffc247);
  color: #101010;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(255, 122, 26, .28);
}

.ya-site-search button:hover,
.ya-button:hover {
  filter: brightness(1.06);
}

.ya-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e8eef4;
  font-size: 14px;
  white-space: nowrap;
}

.ya-actions a {
  padding: 10px 12px;
  border: 1px solid rgba(36, 216, 255, .28);
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.ya-actions a:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 216, 255, .55);
  background: rgba(36, 216, 255, .1);
}

.ya-nav {
  background: rgba(7, 17, 29, .98);
  color: #f4f8fb;
  font-weight: 900;
  border-bottom: 1px solid rgba(36, 216, 255, .16);
  box-shadow: 0 12px 24px rgba(2, 5, 10, .18);
}

.ya-nav .ya-wrap {
  min-height: 48px;
}

.ya-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ya-nav a {
  display: block;
  padding: 12px 9px;
  border-radius: 6px;
  color: #dfeaf3;
  transition: background .18s ease, color .18s ease;
}

.ya-nav a:hover {
  background: rgba(36, 216, 255, .08);
  color: #ffffff;
}

.ya-nav__deal {
  padding: 9px 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--ya-orange), #ffc247);
  color: #101010;
  white-space: nowrap;
  box-shadow: 0 0 26px rgba(255, 122, 26, .28);
}

.ya-hero {
  background:
    linear-gradient(115deg, rgba(2, 5, 10, .98) 0%, rgba(4, 10, 18, .92) 42%, rgba(4, 10, 18, .58) 68%, rgba(36, 216, 255, .14) 100%),
    url("assets/hero-amg-one.png") right center / auto 104% no-repeat,
    #02050a;
  color: var(--ya-white);
  border-bottom: 5px solid var(--ya-orange);
  position: relative;
  overflow: hidden;
}

.ya-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(36, 216, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 216, 255, .08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9), transparent 72%);
  opacity: .42;
}

.ya-hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 216, 255, .22), transparent 66%);
  pointer-events: none;
}

.ya-hero .ya-wrap {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 34px;
  padding: 64px 0;
  position: relative;
  z-index: 1;
}

.ya-kicker {
  margin: 0 0 14px;
  color: var(--ya-cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(36, 216, 255, .34);
}

.ya-hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ya-white);
  font-size: clamp(44px, 6vw, 76px);
  line-height: .96;
  text-shadow: 0 0 36px rgba(36, 216, 255, .16);
}

.ya-hero p {
  max-width: 560px;
  margin: 22px 0 0;
  color: #d7e4ee;
  font-size: 18px;
  line-height: 1.6;
}

.ya-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ya-hero__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ya-hero__cta a:hover {
  transform: translateY(-2px);
}

.ya-hero__cta a:first-child {
  background: linear-gradient(135deg, var(--ya-orange), #ffc247);
  color: #111;
  box-shadow: 0 0 30px rgba(255, 122, 26, .34);
}

.ya-hero__cta a:last-child {
  border: 1px solid rgba(36, 216, 255, .7);
  background: rgba(36, 216, 255, .08);
  color: var(--ya-white);
  box-shadow: inset 0 0 20px rgba(36, 216, 255, .12);
}

.ya-finder {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(11, 22, 34, .92), rgba(7, 14, 24, .88));
  color: #eaf6ff;
  border: 1px solid rgba(36, 216, 255, .3);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .44), 0 0 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.ya-finder__head {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(36, 216, 255, .95), rgba(255, 122, 26, .92));
  color: #061015;
  font-weight: 900;
}

.ya-finder__body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.ya-finder label {
  display: grid;
  gap: 6px;
  color: #9fb2c4;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ya-finder select,
.ya-finder input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(36, 216, 255, .24);
  border-radius: 6px;
  background: rgba(255, 255, 255, .95);
  color: #111a24;
}

.ya-finder select:focus,
.ya-finder input:focus,
.ya-site-search input:focus {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(36, 216, 255, .34);
}

.ya-finder button {
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--ya-orange), #ffc247);
  color: #111;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(255, 122, 26, .26);
}

.ya-strip {
  background:
    linear-gradient(90deg, #07111d, #0b1726);
  border-bottom: 1px solid rgba(36, 216, 255, .16);
  color: #dce8f2;
}

.ya-strip .ya-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
}

.ya-strip div {
  padding: 20px 18px;
  border-right: 1px solid rgba(36, 216, 255, .14);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent);
}

.ya-strip strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
}

.ya-strip span {
  color: #9fb2c4;
  font-size: 14px;
}

.ya-section {
  padding: 64px 0;
  background:
    linear-gradient(180deg, #f7f9fb, #eef3f8);
}

.ya-section--soft {
  background:
    radial-gradient(circle at 10% 0%, rgba(36, 216, 255, .08), transparent 30%),
    linear-gradient(180deg, #eaf0f6, #f7f9fb);
}

.ya-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.ya-section-head h2 {
  margin: 0;
  color: #111a24;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.ya-section-head p {
  margin: 8px 0 0;
  color: var(--ya-muted);
}

.ya-section-head a {
  color: var(--ya-cyan-dark);
  font-weight: 900;
  white-space: nowrap;
  border-bottom: 2px solid rgba(36, 216, 255, .5);
}

.ya-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.ya-cat-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--ya-line-soft);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 249, 252, .98));
  box-shadow: 0 14px 30px rgba(7, 17, 29, .07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ya-cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 216, 255, .55);
  box-shadow: 0 20px 46px rgba(7, 17, 29, .14), 0 0 28px rgba(36, 216, 255, .12);
}

.ya-cat-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #07111d;
  color: var(--ya-cyan);
  font-weight: 900;
  box-shadow: inset 0 0 18px rgba(36, 216, 255, .18);
}

.ya-cat-card strong {
  display: block;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.2;
}

.ya-cat-card em {
  display: block;
  margin-top: 6px;
  color: var(--ya-muted);
  font-size: 13px;
  font-style: normal;
}

.ya-promo-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 20px;
}

.ya-promo {
  min-height: 286px;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(7, 17, 29, .98), rgba(7, 17, 29, .72)),
    url("assets/hero-amg-one.png") right bottom / 58% auto no-repeat;
  color: #fff;
  border: 1px solid rgba(36, 216, 255, .22);
  box-shadow: 0 22px 56px rgba(7, 17, 29, .2);
  overflow: hidden;
}

.ya-promo--cyan {
  background:
    linear-gradient(135deg, rgba(36, 216, 255, .94), rgba(255, 122, 26, .86));
  color: #061015;
}

.ya-promo h3 {
  max-width: 430px;
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
}

.ya-promo p {
  max-width: 420px;
  color: inherit;
  line-height: 1.55;
}

.ya-promo a {
  display: inline-flex;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--ya-orange), #ffc247);
  color: #101010;
  font-weight: 900;
}

.ya-product-grid,
.ya-make-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ya-product-card {
  min-height: 246px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--ya-line-soft);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(7, 17, 29, .07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ya-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, .5);
  box-shadow: 0 20px 46px rgba(7, 17, 29, .14), 0 0 28px rgba(255, 122, 26, .12);
}

.ya-product-card span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 106, 0, .12);
  color: var(--ya-orange-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ya-product-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.ya-product-card p {
  margin: 0;
  color: var(--ya-muted);
  line-height: 1.55;
}

.ya-product-card strong {
  margin-top: 20px;
  color: var(--ya-orange-dark);
  font-size: 22px;
}

.ya-shop-demo {
  overflow: hidden;
}

body.woocommerce .site-main .ya-shop-demo {
  width: auto;
  margin: -42px calc(50% - 50vw) 42px;
}

.ya-shop-demo--shop {
  padding-top: 56px;
  background:
    radial-gradient(circle at 80% 8%, rgba(36, 216, 255, .16), transparent 30%),
    linear-gradient(180deg, #07111d 0%, #0d1724 42%, #eaf0f6 42%, #f7f9fb 100%);
  color: #ffffff;
}

.ya-shop-demo--shop .ya-section-head h2 {
  color: #ffffff;
}

.ya-shop-demo--shop .ya-section-head p {
  color: #b8c7d4;
}

.ya-shop-branch {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 20px;
  align-items: stretch;
}

.ya-shop-panel {
  padding: 22px;
  border: 1px solid var(--ya-line-soft);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ya-text);
  box-shadow: 0 18px 42px rgba(7, 17, 29, .1);
}

.ya-shop-panel--brand {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(244, 248, 252, .98));
}

.ya-shop-panel--universal {
  background:
    linear-gradient(160deg, rgba(7, 17, 29, .98), rgba(13, 23, 36, .94));
  color: #ffffff;
  border-color: rgba(36, 216, 255, .24);
}

.ya-shop-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.ya-shop-panel__head > span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ya-orange), #ffc247);
  color: #111;
  font-weight: 900;
}

.ya-shop-panel__head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
}

.ya-shop-panel__head p {
  margin: 8px 0 0;
  color: var(--ya-muted);
  line-height: 1.55;
}

.ya-shop-panel--universal .ya-shop-panel__head p {
  color: #b8c7d4;
}

.ya-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ya-brand-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--ya-line-soft);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(7, 17, 29, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ya-brand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 216, 255, .55);
  box-shadow: 0 18px 38px rgba(7, 17, 29, .12), 0 0 22px rgba(36, 216, 255, .1);
}

.ya-brand-card span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(36, 216, 255, .12);
  color: var(--ya-cyan-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ya-brand-card strong {
  margin-top: 16px;
  color: #101820;
  font-size: 24px;
  line-height: 1;
}

.ya-brand-card em {
  margin-top: 8px;
  color: var(--ya-orange-dark);
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.ya-brand-card small {
  margin-top: auto;
  padding-top: 14px;
  color: var(--ya-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ya-universal-list {
  display: grid;
  gap: 10px;
}

.ya-universal-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  padding: 15px;
  border: 1px solid rgba(36, 216, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 26px rgba(36, 216, 255, .04);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ya-universal-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 26, .48);
  background: rgba(255, 255, 255, .08);
}

.ya-universal-list strong {
  color: #ffffff;
  line-height: 1.25;
}

.ya-universal-list span {
  grid-column: 1 / -1;
  color: #b8c7d4;
  font-size: 13px;
  line-height: 1.45;
}

.ya-universal-list em {
  color: var(--ya-orange);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.ya-make-grid a {
  padding: 18px;
  border: 1px solid var(--ya-line-soft);
  border-left: 4px solid var(--ya-cyan);
  border-radius: 6px;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(7, 17, 29, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ya-make-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 216, 255, .45);
  box-shadow: 0 16px 34px rgba(7, 17, 29, .1), 0 0 20px rgba(36, 216, 255, .08);
}

.ya-help {
  background:
    radial-gradient(circle at 18% 20%, rgba(36, 216, 255, .12), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(255, 122, 26, .1), transparent 26%),
    #07111d;
  color: #fff;
}

.ya-help .ya-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.ya-help article {
  padding: 26px;
  border: 1px solid rgba(36, 216, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 28px rgba(36, 216, 255, .05);
}

.ya-help h3 {
  margin: 0 0 10px;
  color: #fff;
}

.ya-help p {
  margin: 0;
  color: #b7c3ce;
  line-height: 1.65;
}

.ya-footer {
  background: #02050a;
  color: #d8e2ea;
  padding: 44px 0;
  border-top: 1px solid rgba(36, 216, 255, .16);
}

.ya-footer .ya-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ya-footer b {
  color: #fff;
}

.ya-footer span {
  color: var(--ya-orange);
}

body.woocommerce .site-main,
.ya-page {
  width: min(var(--ya-max), calc(100% - 32px));
  margin: 42px auto;
}

.woocommerce ul.products li.product .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
  background: var(--ya-orange);
  color: #111;
  border-radius: 6px;
  font-weight: 900;
}

@media (max-width: 1020px) {
  .ya-topbar .ya-wrap,
  .ya-nav .ya-wrap,
  .ya-footer .ya-wrap {
    align-items: stretch;
    flex-direction: column;
    padding: 14px 0;
  }

  .ya-mainbar .ya-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "search"
      "actions";
    justify-items: center;
    padding: 14px 0 16px;
  }

  .ya-logo {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 8px;
  }

  .ya-logo img {
    width: min(70vw, 500px);
    max-height: 132px;
  }

  .ya-actions {
    justify-content: center;
  }

  .ya-hero .ya-wrap,
  .ya-promo-grid,
  .ya-shop-branch,
  .ya-help .ya-wrap {
    grid-template-columns: 1fr;
  }

  .ya-hero {
    background:
      linear-gradient(115deg, rgba(2, 5, 10, .98), rgba(4, 10, 18, .9) 56%, rgba(4, 10, 18, .46)),
      url("assets/hero-amg-one.png") right bottom / 82% auto no-repeat,
      #02050a;
  }

  .ya-cat-grid,
  .ya-brand-grid,
  .ya-product-grid,
  .ya-make-grid,
  .ya-strip .ya-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ya-wrap {
    width: min(100% - 24px, var(--ya-max));
  }

  .ya-site-search,
  .ya-actions,
  .ya-topbar__links,
  .ya-nav ul {
    width: 100%;
  }

  .ya-logo {
    gap: 8px;
  }

  .ya-logo img {
    width: min(78vw, 340px);
    max-height: 104px;
  }

  .ya-logo__text {
    font-size: clamp(18px, 5.2vw, 22px);
    letter-spacing: .05em;
  }

  .ya-logo__text::before {
    width: 22px;
    margin-right: 8px;
  }

  .ya-logo__text::after {
    left: 30px;
    bottom: -7px;
  }

  .ya-actions,
  .ya-topbar__links {
    flex-wrap: wrap;
  }

  .ya-site-search {
    min-width: 0;
  }

  .ya-site-search input {
    height: 50px;
    padding: 0 12px;
  }

  .ya-site-search button {
    height: 50px;
    padding: 0 14px;
  }

  .ya-hero {
    background:
      linear-gradient(115deg, rgba(2, 5, 10, .98), rgba(4, 10, 18, .92)),
      url("assets/hero-amg-one.png") center bottom / 118% auto no-repeat,
      #02050a;
  }

  .ya-hero .ya-wrap {
    min-height: 690px;
    align-items: start;
    padding: 44px 0;
  }

  .ya-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .ya-finder {
    margin-top: 18px;
  }

  .ya-cat-grid,
  .ya-brand-grid,
  .ya-product-grid,
  .ya-make-grid,
  .ya-strip .ya-wrap {
    grid-template-columns: 1fr;
  }

  .ya-section-head {
    align-items: start;
    flex-direction: column;
  }
}
