@font-face {
  font-family: Iran;
  src: url(fonts/IRANSansX-Regular.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Iran;
  src: url(fonts/IRANSansX-Bold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Iran, sans-serif;
  color: #2b2b2b;
  line-height: 1.9;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6%;
  gap: 24px;
}
header img {
  width: 160px;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
button,
a.button {
  font: inherit;
  border: 0;
  padding: 12px 24px;
  background: #f7941d;
  display: inline-block;
  color: #222;
  border-radius: 8px;
}
h1 {
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.5;
  letter-spacing: -2px;
  margin: 22px 0;
}
h2 {
  font-size: 32px;
  line-height: 1.6;
}
p {
  font-size: 17px;
  max-width: 570px;
}
.eyebrow {
  font-size: 14px;
  display: block;
  color: #855016;
}
.photo {
  width: 100%;
  object-fit: cover;
}
section {
  padding: 50px 6%;
}
.small {
  font-size: 13px;
  color: #666;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tile {
  padding: 28px;
  border: 1px solid #ddd;
  border-radius: 16px;
}
.tile b {
  font-size: 20px;
}
footer {
  padding: 35px 6%;
  border-top: 1px solid #ddd;
  font-size: 14px;
}
a:focus-visible {
  outline: 3px solid #a64b00;
  outline-offset: 5px;
}
@media (max-width: 750px) {
  header {
    flex-wrap: wrap;
  }
  nav {
    gap: 16px;
  }
  header .button {
    display: none;
  }
  h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .row {
    align-items: flex-start;
    flex-direction: column;
  }
  section {
    padding: 35px 6%;
  }
}
body {
  background: #f4f4f4;
}
header {
  background: #fff;
}
.hero {
  padding-top: 30px;
}
.hero .row {
  align-items: end;
  margin-bottom: 30px;
}
.hero h1 {
  font-size: clamp(36px, 4vw, 60px);
  margin: 10px 0;
}
.feature {
  background: #e8e8e8;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  overflow: hidden;
}
.feature img {
  height: 410px;
  display: block;
}
.feature .description {
  padding: 35px;
  align-self: center;
}
.tag {
  display: inline-block;
  background: #fff;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
}
.tile {
  background: white;
  border: 0;
}
.tile span {
  display: block;
  color: #92500b;
  font-size: 14px;
  margin-bottom: 18px;
}
.about {
  background: #fff;
  margin: 0 6% 45px;
  border-radius: 24px;
  padding: 35px;
}
.feature h2 {
  font-size: 28px;
}
.small {
  margin-top: 10px;
}
@media (max-width: 750px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature img {
    height: 280px;
  }
  .feature .description {
    padding: 24px;
  }
  .hero .row {
    align-items: start;
  }
}
.product-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  display: block;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  transition: transform 0.2s;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-card img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-card .details {
  padding: 18px;
}
.product-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.product-card p {
  font-size: 14px;
  margin: 0;
}
.product-card span {
  display: block;
  margin-top: 14px;
  color: #874000;
}
.product-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  align-items: start;
}
.product-main > img {
  width: 100%;
  border-radius: 24px;
}
.product-main h1 {
  font-size: 42px;
  letter-spacing: 0;
}
.specs {
  padding: 0;
}
.specs div {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid #ddd;
  padding: 14px 0;
  gap: 15px;
}
.specs dt {
  font-weight: bold;
}
.specs dd {
  margin: 0;
}
.breadcrumbs {
  padding: 25px 6% 0;
  font-size: 14px;
}
.info {
  background: white;
  margin: 0 6% 30px;
  padding: 30px;
  border-radius: 20px;
}
.info h2 {
  font-size: 25px;
}
.info p {
  max-width: 100%;
}
.contacts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.product-note {
  font-size: 13px;
  color: #666;
}
@media (max-width: 950px) {
  .product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .product-main {
    grid-template-columns: 1fr;
  }
  .product-main h1 {
    font-size: 32px;
  }
  .product-cards {
    gap: 12px;
  }
  .product-card .details {
    padding: 12px;
  }
  .product-card h3 {
    font-size: 17px;
  }
  .specs div {
    grid-template-columns: 110px 1fr;
  }
  .info {
    padding: 20px;
  }
}
/* چیدمان واکنش‌گرا: اندازه متناسب تصاویر، عرض محدود متن و فاصله‌های انعطاف‌پذیر. */
:root {
  --page-width: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}
html {
  scroll-padding-top: 24px;
}
body {
  font-size: 16px;
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
}
header,
footer,
main,
.breadcrumbs {
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
}
header {
  padding: 20px var(--gutter);
  flex-wrap: wrap;
}
header img {
  display: block;
  width: 160px;
  height: auto;
}
/* دکمه فهرست موبایل در نمایش دسکتاپ مخفی است. */
.menu-toggle {
  display: none;
}

header nav {
  flex-wrap: wrap;
  gap: 8px 24px;
}
header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
section {
  padding: 40px var(--gutter);
}
.hero {
  padding-top: 28px;
}
.hero .row {
  gap: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  letter-spacing: 0;
}
h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
p {
  font-size: 1rem;
}
.feature {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  border-radius: 20px;
}
.feature > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 400px;
  object-fit: cover;
}
.feature .description {
  padding: clamp(22px, 3vw, 36px);
}
.product-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.product-card {
  min-width: 0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}
.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex: none;
}
.product-card .details {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card h3 {
  font-size: 1.125rem;
  line-height: 1.7;
}
.product-card span {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.875rem;
}
.product-card p {
  font-size: 0.875rem;
}
.product-main {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 48px);
}
.product-main > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  max-width: 460px;
  justify-self: center;
  border-radius: 20px;
}
.product-main > div,
.feature > *,
.row > * {
  min-width: 0;
}
.product-main h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 12px 0 18px;
}
.specs div {
  grid-template-columns: minmax(90px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  font-size: 0.9375rem;
}
.about,
.info {
  margin: 0 var(--gutter) 32px;
  padding: clamp(22px, 3vw, 36px);
}
.breadcrumbs {
  padding: 24px var(--gutter) 0;
}
.contacts {
  gap: 12px 24px;
}
.contacts a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
footer {
  padding: 32px var(--gutter);
}
.button {
  min-height: 44px;
  text-align: center;
}
@media (max-width: 1000px) {
  .product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
    margin-inline: auto;
  }
  .product-card img {
    max-height: none;
  }
  .product-main {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}
@media (max-width: 750px) {
  header {
    gap: 12px;
    padding-block: 16px;
  }
  header img {
    width: 145px;
  }

  /* در نمایش موبایل، دکمه فهرست نمایش داده می‌شود و فهرست اصلی در حالت اولیه بسته است. */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  padding: 0;

  background: transparent;
  border: none;
  border-radius: 10px;

  color: #222;
  font-size: 24px;
  line-height: 1;

  cursor: pointer;
}

header nav {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0;

  max-height: 0;
  opacity: 0;
  overflow: hidden;

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
}

header nav.is-open {
  max-height: 300px;
  opacity: 1;
}

header nav a {
  width: 100%;
}
  header nav {
    gap: 8px 18px;
  }
  header .button {
    display: none;
  }
  .hero .row {
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature > img {
    height: auto;
    min-height: 0;
    max-height: 320px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  .feature .description {
    padding: 24px;
  }
  .product-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-main > img {
    width: min(100%, 340px);
    height: auto;
    max-height: none;
  }
  .product-main > div {
    width: 100%;
  }
  section {
    padding-block: 28px;
  }
  .specs div {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
  }
  .about,
  .info {
    margin-bottom: 24px;
  }
  .contacts {
    gap: 4px 20px;
  }
}
@media (max-width: 480px) {
  .product-cards {
    gap: 12px;
  }
  .product-card .details {
    padding: 12px;
  }
  .product-card h3 {
    font-size: 1rem;
  }
  .product-card span {
    font-size: 0.875rem;
    line-height: 1.8;
  }
  .product-main > img {
    width: min(100%, 300px);
  }
  header nav {
    width: 100%;
    justify-content: space-between;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .info ol {
    padding-inline-start: 24px;
  }
}
@media (max-width: 350px) {
  .product-cards {
    grid-template-columns: 1fr;
    max-width: 270px;
  }
  .specs div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: none;
  }
  .product-card:hover {
    transform: none;
  }
}

/* اندازه روان نوشته‌ها و پابرگ مشترک سایت. */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 400;
}
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero h1 {
  font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem);
  line-height: 1.55;
  margin-block: 12px 20px;
}
.product-main h1 {
  font-size: clamp(1.875rem, 1.35rem + 1.5vw, 2.5rem);
  line-height: 1.55;
  margin-block: 12px 20px;
}
h2,
.info h2 {
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  line-height: 1.65;
  margin-block: 0 20px;
}
.feature h2 {
  font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem);
  line-height: 1.65;
}
.product-card h3 {
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.1875rem);
  line-height: 1.7;
  margin-bottom: 8px;
}
p,
.info p,
.specs div {
  font-size: 1rem;
  line-height: 1.95;
}
.eyebrow,
nav,
.product-card p,
.product-card span,
.breadcrumbs,
.tag {
  font-size: 0.875rem;
  line-height: 1.8;
}
.small,
.product-note {
  font-size: 0.875rem;
  line-height: 1.8;
}
button,
a.button {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.8;
  padding: 12px 22px;
}
.info p {
  max-width: 75ch;
}
.info ol {
  font-size: 1rem;
  line-height: 2.1;
}
.site-footer {
  max-width: 1200px;
  padding: 40px var(--gutter) 24px;
  margin: 24px auto 0;
  border-top: 1px solid #d9d9d6;
  background: transparent;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.footer-brand img {
  width: 156px;
  height: auto;
  display: block;
}
.site-footer p {
  font-size: 0.875rem;
  line-height: 1.9;
  margin: 12px 0 0;
  color: #555;
}
.footer-label {
  display: block;
  color: #626262;
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 10px;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
}
.footer-contact > a {
  font-size: 0.9375rem;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.footer-contact .primary-phone {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  min-height: 44px;
}
.footer-social nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-social nav a {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  font-size: 0.9375rem;
}
.footer-social nav a span {
  color: #995000;
}
.site-footer a:hover {
  color: #8c4400;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 24px;
}
.footer-meta p {
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid #dededb;
  margin-top: 24px;
  padding-top: 16px;
  font-size: 0.8125rem;
  color: #626262;
}
.other-phones {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
}
.other-phones a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: #333;
}
@media (max-width: 750px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-brand img {
    width: 145px;
  }
  .site-footer {
    padding-top: 28px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }
  .product-card .details {
    padding: 14px;
  }
  .info p {
    line-height: 1.95;
  }
}
@media (max-width: 380px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-social nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .other-phones {
    column-gap: 12px;
  }
}
