﻿@font-face {
  font-family: "IRANSansX";
  src: url("public/IranSansX(Pro)/Variable/webfont/IRANSansXV.woff2") format("woff2"),
       url("public/IranSansX(Pro)/Variable/webfont/IRANSansXV.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #161616;
  --muted: #66615b;
  --line: #e7e1d8;
  --paper: #fffdf8;
  --soft: #f7f1e8;
  --accent: #79b7a8;
  --site-font: "IRANSansX", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--site-font);
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(22, 22, 22, 0.09);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 35px rgba(31, 28, 24, 0.08);
}
.brand img { display: block; width: 156px; max-width: 34vw; height: auto; }
.top-nav { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.top-nav a { padding: 8px 12px; border-radius: 6px; color: #2b2925; }
.top-nav a:hover { background: #f0e8dc; }


.primary-link, .secondary-link, .social-row a, .map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 800;
}
.primary-link { background: var(--ink); color: #fff; }
.secondary-link, .social-row a, .map-link { border: 1px solid var(--line); background: #fffaf1; }

.catalog-flow { padding-top: 0; }
.product-section {
  scroll-margin-top: 96px;
  margin: 0 0 42px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 6px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.35;
  letter-spacing: 0;
}
.catalog-heading span { max-width: 540px; }

.wide-slider {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  background:
    radial-gradient(circle at 16% 12%, color-mix(in srgb, var(--accent) 32%, white), transparent 34%),
    linear-gradient(135deg, #ffffff, #f8f1e8 58%, color-mix(in srgb, var(--accent) 22%, white));
}
.wide-slider img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 130px);
  object-fit: contain;
}
.wide-slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(22, 22, 22, 0.12);
  border-radius: 50%;
  background: #ffffff;
  color: #1b1b1b;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(34, 29, 23, 0.08);
}
.slide-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.wide-dots {
  width: min(1180px, calc(100% - 32px));
  margin: 6px auto 14px;
  position: relative;
  z-index: 3;
}
.slide-dots button.dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #d8d0c4; cursor: pointer; }
.slide-dots button.dot.active { width: 28px; border-radius: 999px; background: var(--ink); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.product-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(34, 29, 23, 0.07);
}
.product-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.78;
  padding: 16px;
  background: #f5eee3;
}
.empty-image {
  border-bottom: 1px dashed #d8cbbb;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.68), rgba(247,241,232,0.82)),
    repeating-linear-gradient(45deg, #f1e7d9 0 10px, #f8f1e8 10px 20px);
}
.empty-image span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px dashed #b9aa98;
  border-radius: 6px;
  color: #7a6d60;
  font-size: 13px;
  font-weight: 800;
}
.product-body { padding: 16px; }
.product-body h3 { min-height: 58px; margin: 0 0 12px; font-size: 16px; line-height: 1.8; }
.product-body dl { display: grid; gap: 8px; margin: 0; }
.product-body dl div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid #eee7dc; }
.product-body dt { color: var(--muted); font-size: 13px; }
.product-body dd { margin: 0; font-weight: 900; white-space: nowrap; }

.about-band {
  scroll-margin-top: 96px;
  margin: 20px 0 0;
  padding: 64px max(16px, calc((100vw - 1180px) / 2)) 68px;
  background: #171717;
  color: #fff;
}
.section-heading.light { width: 100%; align-items: flex-start; flex-direction: column; gap: 4px; }
.section-heading.light span { color: #d5cbbb; }
.about-text { max-width: 980px; }
.about-text p { margin: 0; padding: 26px 30px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: #f3ede4; font-size: clamp(16px, 2vw, 20px); line-height: 2.15; }

.contact-section { scroll-margin-top: 96px; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0; }
.contact-layout { display: grid; grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1.25fr); gap: 18px; }
.contact-panel, .map-frame { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.contact-panel { padding: 20px; }
.social-row, .location-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.location-tabs { margin: 18px 0; padding: 6px; background: #f5eee3; border-radius: 8px; }
.location-tabs button {
  flex: 1 1 130px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #292621;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.location-tabs button.active { border-color: #171717; background: #171717; color: #fff; }
.location-details h3 { margin: 0 0 6px; font-size: 22px; }
.location-details p { margin: 0 0 12px; color: #504a42; }
.location-details a { display: table; margin-top: 10px; font-weight: 900; }
.map-frame { overflow: hidden; min-height: 410px; }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 410px; border: 0; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: #4f4940;
}
.site-footer img { width: 116px; height: auto; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; gap: 12px; font-weight: 800; }

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .top-nav { width: 100%; justify-content: space-between; }
  .top-nav a { padding-inline: 8px; font-size: 13px; }
  .section-heading, .product-grid, .contact-section, .site-footer { width: min(100% - 20px, 1180px); }
  .section-heading, .site-footer { align-items: flex-start; flex-direction: column; }
  .wide-slide-btn { width: 38px; height: 38px; font-size: 28px; }
  .product-grid { grid-template-columns: 1fr; }
}












.social-link {
  gap: 8px;
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link.instagram { color: #d9468f; }
.social-link.telegram { color: #229ed9; }
.social-link.whatsapp { color: #25d366; }
.social-link span { color: var(--ink); }

.contact-section .section-heading h2 {
  font-size: clamp(42px, 7vw, 76px);
}

.footer-tagline {
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0;
}
