/* =========================================================
   EA TECHNIC GARAGE
   PROFESYONEL YEDEK PARÇA MAĞAZASI
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111827;
  background: #f5f6f8;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
  background: #111827;
  color: #fff;
  font-size: 13px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-right {
  display: flex;
  gap: 22px;
  color: #d1d5db;
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
}


/* LOGO */

.brand {
  min-width: 185px;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1;
}

.brand-main {
  font-size: 22px;
  color: #111827;
}

.brand-sub {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 5px;
  color: #dc2626;
}


/* SEARCH */

.header-search {
  flex: 1;
  max-width: 590px;
  height: 48px;
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 17px;
  color: #111827;
}

.header-search input::placeholder {
  color: #9ca3af;
}

.header-search button {
  width: 58px;
  border: 0;
  background: #dc2626;
  color: #fff;
  font-size: 19px;
}

.header-search button:hover {
  background: #b91c1c;
}


/* ACCOUNT */

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 0;
  color: #111827;
}

.action-icon {
  font-size: 24px;
}

.header-action small {
  display: block;
  color: #6b7280;
  font-size: 11px;
}

.header-action strong {
  display: block;
  font-size: 13px;
}

.cart-header {
  padding: 0;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-inner a {
  height: 48px;
  display: flex;
  align-items: center;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  border-bottom: 2px solid transparent;
}

.nav-inner a:hover {
  color: #dc2626;
  border-bottom-color: #dc2626;
}


/* =========================================================
   HERO
========================================================= */

.hero-shop {
  background: #111827;
  color: #fff;
  padding: 65px 0;
}

.hero-inner {
  min-height: 390px;
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  align-items: center;
  gap: 70px;
}

.hero-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #f87171;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -2px;
}

.hero-copy h1 strong {
  color: #ef4444;
  display: block;
}

.hero-copy p {
  max-width: 650px;
  margin: 22px 0;
  color: #d1d5db;
  font-size: 17px;
}

.hero-search {
  width: min(650px, 100%);
  height: 54px;
  display: flex;
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
  margin-top: 25px;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: #111827;
}

.hero-search button {
  padding: 0 25px;
  border: 0;
  background: #dc2626;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.hero-search button:hover {
  background: #b91c1c;
}

.hero-links {
  display: flex;
  gap: 25px;
  margin-top: 18px;
}

.hero-links a {
  color: #d1d5db;
  font-size: 13px;
}

.hero-links a:hover {
  color: #fff;
}


/* HERO CARD */

.hero-card {
  padding: 32px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 12px;
}

.hero-card-icon {
  font-size: 50px;
  margin-bottom: 12px;
}

.hero-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.hero-card p {
  margin: 0 0 24px;
  color: #d1d5db;
}

.hero-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}


/* =========================================================
   TRUST
========================================================= */

.trust-section {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 105px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-right: 1px solid #e5e7eb;
}

.trust-item:first-child {
  border-left: 1px solid #e5e7eb;
}

.trust-icon {
  font-size: 29px;
}

.trust-item strong {
  display: block;
  font-size: 14px;
}

.trust-item span {
  display: block;
  margin-top: 3px;
  color: #6b7280;
  font-size: 12px;
}


/* =========================================================
   SECTION
========================================================= */

.section {
  padding: 75px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.section-heading.centered {
  display: block;
  text-align: center;
}

.section-heading > div > span,
.section-heading > span,
.section-label {
  color: #dc2626;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.section-heading h2 {
  margin: 7px 0 0;
  font-size: 31px;
  letter-spacing: -.8px;
}

.section-heading p {
  max-width: 650px;
  margin: 12px auto 0;
  color: #6b7280;
}

.section-heading > a {
  color: #dc2626;
  font-size: 13px;
  font-weight: 800;
}


/* =========================================================
   VEHICLE SECTION
========================================================= */

.vehicle-section {
  padding: 75px 0;
  background: #f1f3f5;
}

.vehicle-box {
  max-width: 1050px;
  margin: 35px auto 0;
  padding: 25px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, .06);

  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
}

.vehicle-step {
  display: none;
}

.vehicle-box select {
  height: 50px;
  padding: 0 13px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #374151;
  outline: 0;
}

.vehicle-box select:focus {
  border-color: #dc2626;
}

.vehicle-box button {
  height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: #dc2626;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

.vehicle-box button:hover {
  background: #b91c1c;
}

.vehicle-message {
  min-height: 24px;
  margin-top: 18px;
  text-align: center;
  color: #16803c;
  font-size: 14px;
  font-weight: 700;
}


/* =========================================================
   VIN
========================================================= */

.vin-section {
  padding: 50px 0;
  background: #fff;
}

.vin-box {
  padding: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
}

.vin-box h2 {
  margin: 6px 0;
  font-size: 28px;
}

.vin-box p {
  margin: 0;
  color: #d1d5db;
}

.vin-form {
  min-width: 400px;
  display: flex;
  height: 50px;
}

.vin-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 15px;
}

.vin-form button {
  width: 90px;
  border: 0;
  background: #dc2626;
  color: #fff;
  font-weight: 900;
}


/* =========================================================
   CATEGORIES
========================================================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  min-height: 165px;
  padding: 25px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  transition: .2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: #dc2626;
  box-shadow: 0 12px 28px rgba(17, 24, 39, .08);
}

.category-icon {
  margin-bottom: 17px;
  font-size: 33px;
}

.category-card strong {
  display: block;
  font-size: 16px;
}

.category-card span {
  display: block;
  margin-top: 5px;
  color: #6b7280;
  font-size: 12px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {
  background: #f1f3f5;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  transition: .2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(17, 24, 39, .08);
}

.product-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #e5e7eb;
  font-size: 75px;
}

.stock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 4px;
  background: #16803c;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.product-content {
  padding: 20px;
}

.product-brand {
  margin: 0;
  color: #dc2626;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.product-content h3 {
  margin: 7px 0;
  font-size: 17px;
}

.product-content > p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 17px 0;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 11px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.product-bottom strong {
  font-size: 19px;
}

.product-bottom button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.product-bottom button:hover {
  background: #b91c1c;
}

.outline-button {
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  background: #fff;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
}

.outline-button:hover {
  border-color: #dc2626;
  color: #dc2626;
}


/* =========================================================
   BRANDS
========================================================= */

.brands-section {
  padding: 75px 0;
  background: #fff;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 35px;
}

.brand-grid button {
  min-height: 70px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #374151;
  font-weight: 900;
  font-size: 13px;
}

.brand-grid button:hover {
  border-color: #dc2626;
  color: #dc2626;
}


/* =========================================================
   CAMPAIGN
========================================================= */

.campaign-section {
  padding: 55px 0;
  background: #f1f3f5;
}

.campaign-box {
  min-height: 260px;
  padding: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  border-radius: 10px;
  background: #111827;
  color: #fff;
}

.campaign-box span {
  color: #f87171;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.campaign-box h2 {
  max-width: 650px;
  margin: 10px 0;
  font-size: 34px;
  line-height: 1.15;
}

.campaign-box p {
  margin: 0 0 22px;
  color: #d1d5db;
}

.campaign-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 19px;
  border-radius: 5px;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.campaign-icon {
  font-size: 110px;
  opacity: .9;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
  padding: 80px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-grid h2 {
  margin: 10px 0 0;
  font-size: 35px;
  line-height: 1.15;
}

.about-grid p {
  margin: 0 0 17px;
  color: #6b7280;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  background: #111827;
  color: #fff;
}

.footer-grid {
  padding-top: 60px;
  padding-bottom: 55px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 45px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.footer-logo span {
  display: block;
  margin-top: 5px;
  color: #ef4444;
  font-size: 12px;
  letter-spacing: 4px;
}

.footer-company p {
  max-width: 270px;
  color: #9ca3af;
  font-size: 13px;
}

.footer-grid h3 {
  margin: 0 0 17px;
  font-size: 14px;
}

.footer-grid > div:not(.footer-company) a {
  display: block;
  margin-bottom: 9px;
  color: #9ca3af;
  font-size: 13px;
}

.footer-grid > div:not(.footer-company) a:hover {
  color: #fff;
}

.footer-grid > div:not(.footer-company) p {
  margin: 0 0 10px;
  color: #9ca3af;
  font-size: 13px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  color: #d1d5db;
  font-size: 12px;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid #374151;
  color: #9ca3af;
  font-size: 12px;
}


/* =========================================================
   TOAST
========================================================= */

.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 3000;

  max-width: 330px;
  padding: 14px 18px;

  background: #111827;
  color: #fff;

  border-radius: 7px;

  box-shadow: 0 12px 35px rgba(0, 0, 0, .2);

  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);

  transition: .25s ease;

  font-size: 13px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   MOBİL
========================================================= */

@media (max-width: 1050px) {

  .header-inner {
    flex-wrap: wrap;
    padding: 15px 0;
  }

  .header-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    display: none;
  }

  .vehicle-box {
    grid-template-columns: 1fr 1fr;
  }

  .vehicle-box button {
    width: 100%;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 760px) {

  .container {
    width: min(100% - 28px, 600px);
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-right {
    display: none;
  }

  .header-inner {
    gap: 15px;
  }

  .brand {
    min-width: auto;
  }

  .header-actions {
    gap: 10px;
  }

  .header-action span:not(.action-icon) {
    display: none;
  }

  .main-nav {
    overflow-x: auto;
  }

  .nav-inner {
    width: max-content;
    gap: 22px;
  }

  .hero-shop {
    padding: 45px 0;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-search {
    height: auto;
    flex-direction: column;
  }

  .hero-search input {
    min-height: 52px;
  }

  .hero-search button {
    min-height: 48px;
  }

  .hero-links {
    flex-direction: column;
    gap: 9px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    border-bottom: 1px solid #e5e7eb;
  }

  .section,
  .brands-section,
  .about-section {
    padding: 55px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > a {
    display: inline-block;
    margin-top: 15px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vehicle-box {
    grid-template-columns: 1fr;
  }

  .vin-box {
    flex-direction: column;
    align-items: stretch;
  }

  .vin-form {
    min-width: 0;
    width: 100%;
  }

  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .campaign-box {
    padding: 30px;
  }

  .campaign-icon {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
  }

}


@media (max-width: 500px) {

  .topbar {
    display: none;
  }

  .brand-main {
    font-size: 18px;
  }

  .brand-sub {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:first-child {
    border-left: 0;
    border-right: 0;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 190px;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .campaign-box h2 {
    font-size: 27px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

}