@font-face {
  font-family: IRANSansX;
  src: url("../fonts//iransansX-faNum/woff2/IRANSansXFaNum-Thin.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: IRANSansX;
  src: url("../fonts/iransansX-faNum/woff2/IRANSansXFaNum-UltraLight.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: IRANSansX;
  src: url("../fonts/iransansX-faNum/woff2/IRANSansXFaNum-Light.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: IRANSansX;
  src: url("../fonts/iransansX-faNum/woff2/IRANSansXFaNum-Regular.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: IRANSansX;
  src: url("../fonts/iransansX-faNum/woff2/IRANSansXFaNum-Medium.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: IRANSansX;
  src: url("../fonts/iransansX-faNum/woff2/IRANSansXFaNum-DemiBold.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: IRANSansX;
  src: url("../fonts/iransansX-faNum/woff2/IRANSansXFaNum-Bold.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: IRANSansX;
  src: url("../fonts/iransansX-faNum/woff2/IRANSansXFaNum-ExtraBold.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: IRANSansX;
  src: url("../fonts/iransansX-faNum/woff2/IRANSansXFaNum-Black.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
:root {
  --blue: #023f87;
  --page: #f6f7f9;
  --soft: #eef7ff;
  --ink: #20242b;
}
html,
body {
  margin: 0;
  font-family: IRANSansX, Tahoma, Arial, sans-serif;
  background: var(--page);
  color: var(--ink);
  direction: rtl;
}
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
.product-header {
  height: 94px;
  border-bottom: 2px solid #e0e0e080;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 3.5%;
  direction: rtl;
}
.back-link {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: start;
  font-size: 14px;
}
.back-link span {
  font-size: 16px;
  color: #313235;
  font-weight: 500;
}
.logo-link {
  grid-column: 2;
}
.logo-link img {
  display: block;
  width: 75px;
  height: 48px;
  object-fit: contain;
}
.product-page {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 54px 24px 70px;
  display: grid;
  grid-template-columns: 420px minmax(500px, 1fr);
  gap: 42px;
}
.gallery,
.product-info {
  direction: rtl;
}
.main-image {
  height: 398px;
  border: 1px solid #dce1e7;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  touch-action: pan-y;
}
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  direction: ltr;
  transition: transform 0.35s ease;
}
.gallery-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 19px;
  margin-top: 16px;
  direction: ltr;
}
.thumb {
  height: 76px;
  border: 1px solid #dce1e7;
  border-radius: 9px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumb.is-active {
  background: #747474;
  border-color: #747474;
}
.mobile-dots {
  display: none;
}
.title-row {
  height: 77px;
  border-bottom: 1px solid #d8dde2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 20px;
}
.title-row h1 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}
.stock {
  background: #eef8f0;
  color: #329d4d;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 12px;
}
.description {
  padding: 27px 0 30px;
}
.description h2,
.sellers h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 12px;
}
.description p {
  font-size: 13px;
  line-height: 1.9;
  color: #8a919d;
  margin: 0;
}
.sellers {
  background: #f5f5f5;
  border-radius: 15px;
  padding: 16px;
}
.sellers > h2 {
  margin-right: 3px;
}
.seller-list {
  display: grid;
  gap: 9px;
}
.seller-row {
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
}
.seller-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.seller-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.seller-price div {
  font-size: 14px;
  color: #000000;
}

.seller-price div span {
  font-size: 10px;
}
.shop-icon {
  display: grid;
  place-items: center;
}
.seller-row > a {
  background: #023F87;
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  transition: background 0.2s;
}
.seller-row > a:hover {
  background: #003b76;
}

.site-footer {
      margin-top: auto;
  height: 64px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 13px;
  direction: ltr;
}
.back-link-mobile{
    display: none;
}
@media (max-width: 900px) {
  .product-header {
    height: 58px;
    border-bottom-color: #eceff2;
    padding: 0 4px;
    display: flex;
    justify-content: flex-start;
  }
  .logo-link {
    display: none;
  }
  .back-link {
    font-size: 12px;
  }
  .product-page {
    display: flex;
    flex-direction: column;
    padding: 31px 18px 0;
    gap: 0;
  }
  .gallery {
    display: flex;
    flex-direction: column;
  }
  .main-image {
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 10px;
  }
  .thumbs {
    display: none;
  }
  .mobile-dots {
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    direction: ltr;
  }
  .mobile-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c7cdd5;
  }
  .mobile-dots button.is-active {
    width: 14px;
    border-radius: 8px;
    background: #07519c;
  }
  .product-info {
    display: contents;
  }
  .title-row {
    order: 2;
    height: auto;
    border: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    padding: 0 0 23px;
    align-items: center;
  }
  .title-row h1 {
    font-size: 14px;
    grid-column: 1;
    grid-row: 1;
  }
  .stock {
    grid-column: 2;
    grid-row: 1;
    padding: 6px 13px;
    font-size: 10px;
  }
  .description {
    order: 3;
    border-top: 1px solid #e4e7eb;
    border-bottom: 1px solid #e4e7eb;
    padding: 23px 0 26px;
  }
  .description h2,
  .sellers h2 {
    font-size: 14px;
  }
  .description p {
    font-size: 14px;
    line-height: 1.9;
  }
  .sellers {
    order: 4;
    margin: 18px -8px 32px;
    border-radius: 12px;
    padding: 13px 9px;
  }
  .seller-name {
    font-size: 12px;
    gap: 14px;
    color: #7e838f;
  }
  .seller-row > a {
    font-size: 12px;
    padding: 10px 14px;
    background-color: #023F87;
  }
  .gallery {
    order: 1;
  }
  footer {
    height: 41px;
    font-size: 8px;
  }
}
@media (max-width: 600px) {
  .site-footer {
    height: 72px;
    font-size: 12px;
    display: block;
    text-align: left;
    padding: 25px 16px;
  }
  .back-link {
    display: none;
  }
  .back-link-mobile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    width: 100%;
  }

  .back-link-mobile a {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
  }

  .back-link-mobile a img {
    width: 20px;
    height: 20px;
    display: block;
  }

  .back-link-mobile span {
    font-size: 16px;
    font-weight: 500;
  }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .product-page {
    grid-template-columns: minmax(440px, 1fr) 360px;
    gap: 30px;
  }
  .main-image {
    height: 350px;
  }
  .thumbs {
    gap: 12px;
  }
  .thumb {
    height: 62px;
  }
  .title-row h1 {
    font-size: 17px;
  }
}

/* Active gallery item uses the PayPod brand color without a background fill. */
.thumb.is-active {
  background: #fff;
  border: 2px solid #064a8f;
  box-shadow: 0 0 0 1px rgba(6, 74, 143, 0.08);
}
body .site-footer {
  font-family: IRANSansX, Tahoma, Arial, sans-serif;
}
