@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f7f8fb;
  color: #17232b;
  font-family: Vazirmatn, Tahoma, sans-serif;
}
button,
input,
select {
  font: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(15px);
  border-bottom: 2px solid #f0e3e4;
  box-shadow: 0 5px 22px rgba(180, 20, 30, 0.08);
}
.header-inner {
  width: min(1240px, 94%);
  height: 78px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.back-home {
  justify-self: start;
  padding: 10px 16px;
  border: 1px solid #eadcdd;
  border-radius: 13px;
  background: #fff;
  color: #39484f;
  font-size: 13px;
  font-weight: 800;
  transition: 0.25s;
}
.back-home:hover {
  background: #e51f2a;
  color: #fff;
  border-color: #e51f2a;
}
.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand-mark strong {
  font-size: 18px;
}
.brand-mark small {
  font-size: 10px;
  color: #e51f2a;
  margin-top: 4px;
}
.cart-link {
  justify-self: end;
  background: #e51f2a;
  color: #fff;
  padding: 10px 15px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(229, 31, 42, 0.2);
}
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-right: 6px;
  border-radius: 50%;
  background: #ffb703;
  color: #222;
  font-size: 11px;
}
.hero {
  width: min(1240px, 94%);
  margin: 28px auto;
  padding: 48px 58px;
  border-radius: 30px;
  min-height: 330px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  align-items: center;
  background: radial-gradient(
      circle at 80% 20%,
      rgba(255, 183, 3, 0.28),
      transparent 24%
    ),
    linear-gradient(135deg, #9d000a, #e51f2a 45%, #ff7a00);
  box-shadow: 0 25px 60px rgba(190, 25, 35, 0.22);
}
.kicker {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 900;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin: 18px 0 10px;
}
.hero p {
  max-width: 650px;
  line-height: 2;
  font-size: 14px;
  color: #fff3f3;
}
.stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.stats div {
  min-width: 100px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.11);
  display: flex;
  flex-direction: column;
}
.stats b {
  font-size: 20px;
}
.stats span {
  font-size: 10px;
  margin-top: 3px;
  color: #ffe6e6;
}
.hero-box {
  justify-self: end;
  width: 270px;
  aspect-ratio: 1/1.05;
  border-radius: 25px;
  background: #fff;
  color: #b5000d;
  padding: 25px;
  transform: rotate(-3deg);
  box-shadow: 0 25px 50px rgba(90, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}
.hero-box b {
  font-size: 48px;
}
.hero-box span {
  font-size: 11px;
  color: #777;
}
.hero-box i {
  height: 8px;
  border-radius: 99px;
  background: #e51f2a;
  margin-top: 50px;
}
.hero-box i + i {
  width: 70%;
  background: #ff9800;
  margin-top: 10px;
}
.hero-box i + i + i {
  width: 88%;
  background: #00a6a6;
  margin-top: 10px;
}
.controls {
  width: min(1240px, 94%);
  margin: 0 auto 20px;
}
.search {
  background: #fff;
  border: 1px solid #e5dfe0;
  border-radius: 15px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(50, 20, 20, 0.05);
}
.search span {
  font-size: 27px;
  color: #e51f2a;
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 15px 0;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.filters button {
  border: 1px solid #e4dfe0;
  background: #fff;
  border-radius: 99px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.filters button.active,
.filters button:hover {
  background: #e51f2a;
  border-color: #e51f2a;
  color: #fff;
}
.catalog-section {
  width: min(1240px, 94%);
  margin: 0 auto 32px;
}
.section-heading {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 25px 0 12px;
}
.section-heading h2 {
  margin: 0;
  font-size: 23px;
}
.section-heading span {
  background: #e51f2a;
  color: #fff;
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
}
.section-heading p {
  margin: 0;
  color: #899399;
  font-size: 11px;
}
.catalog-card {
  background: #fff;
  border: 1px solid #e9e2e3;
  border-radius: 25px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  box-shadow: 0 12px 35px rgba(30, 20, 20, 0.06);
}
.catalog-image-box {
  background: #fafafa;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-left: 1px solid #eee;
}
.catalog-image-box img {
  width: 100%;
  height: 100%;
  max-height: 650px;
  object-fit: contain;
}
.product-selector {
  padding: 32px;
}
.product-selector label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
  color: #e51f2a;
}
.peak-product-select {
  width: 100%;
  padding: 14px;
  border: 1px solid #e0d7d8;
  border-radius: 13px;
  background: #fff;
  outline: none;
}
.peak-product-select:focus {
  border-color: #e51f2a;
}
.selected-product {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 10px;
  margin-top: 18px;
}
.selected-product > div {
  padding: 15px;
  border-radius: 14px;
  background: #fff7f7;
  border: 1px solid #f3e2e3;
}
.selected-product small,
.specs small {
  display: block;
  color: #8d989d;
  font-size: 9px;
  margin-bottom: 5px;
}
.selected-product strong {
  display: block;
  line-height: 1.8;
  font-size: 13px;
}
.selected-price strong {
  color: #e51f2a;
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}
.specs div {
  padding: 12px;
  border-radius: 12px;
  background: #f7f9fa;
}
.specs b {
  font-size: 11px;
  line-height: 1.7;
}
.add-to-cart {
  width: 100%;
  margin-top: 16px;
  padding: 13px;
  border: 0;
  border-radius: 13px;
  background: #ff8c00;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(255, 140, 0, 0.18);
}
.add-to-cart:disabled {
  background: #d7dcde;
  box-shadow: none;
  cursor: not-allowed;
}
.catalog-section.hidden {
  display: none;
}
@media (max-width: 800px) {
  .header-inner {
    height: 70px;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }
  .brand-mark strong {
    font-size: 13px;
  }
  .brand-mark small {
    font-size: 8px;
  }
  .back-home,
  .cart-link {
    padding: 8px 10px;
    font-size: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 34px 25px;
    min-height: 0;
    border-radius: 24px;
  }
  .hero-box {
    display: none;
  }
  .hero h1 {
    font-size: 38px;
  }
  .catalog-card {
    grid-template-columns: 1fr;
  }
  .catalog-image-box {
    min-height: 300px;
    border-left: 0;
    border-bottom: 1px solid #eee;
  }
  .product-selector {
    padding: 22px;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .selected-product {
    grid-template-columns: 1fr;
  }
  .specs {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 430px) {
  .hero h1 {
    font-size: 32px;
  }
  .specs {
    grid-template-columns: 1fr;
  }
  .catalog-image-box {
    min-height: 240px;
  }
}
