.shop-archive,
.shop-product,
.shop-screen {
  direction: rtl;
  color: var(--ink);
  background: var(--cream);
  font-family: "Vazirmatn", sans-serif;
}

.shop-archive {
  padding: 36px 16px 80px;
}

.shop-archive-inner,
.shop-screen-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.shop-archive-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.shop-archive-title {
  margin: 4px 0 0;
  color: #515151;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
}

.shop-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #878787;
  font-size: 13px;
  font-weight: 500;
}

.shop-breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.shop-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: #c4c4c4;
}

.shop-breadcrumb a {
  color: #878787;
  text-decoration: none;
}

.shop-breadcrumb a:hover,
.shop-breadcrumb [aria-current="page"] {
  color: var(--accent);
}

.shop-archive-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  color: var(--muted);
  font-size: 13px;
}

.shop-archive-tools .woocommerce-result-count {
  margin: 0;
}

.shop-archive-tools .woocommerce-ordering {
  margin: 0;
}

.shop-archive-tools select {
  min-width: 210px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-card {
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
}

.shop-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 0 18px;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.shop-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: var(--card-art);
}

.shop-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-card-off {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  min-width: 42px;
  padding: 8px 0;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.shop-card-cat {
  display: block;
  margin: 14px 12px 0;
  color: #9aa6a1;
  font-size: 12px;
}

.shop-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 4.6em;
  margin: 8px 14px 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
}

.shop-card-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--accent);
  font-size: 12px;
}

.shop-card-rating .star-rating {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 5.2em;
  height: 1em;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.shop-card-rating .star-rating::before {
  content: "★★★★★";
  color: #d9ddd9;
}

.shop-card-rating .star-rating span {
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  white-space: nowrap;
}

.shop-card-rating .star-rating span::before {
  content: "★★★★★";
  color: var(--accent);
}

.shop-card-reviews {
  color: #9aa6a1;
}

.shop-card-price {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

.shop-card-price del {
  margin-left: 6px;
  color: #9aa6a1;
  font-weight: 500;
}

.shop-empty,
.shop-pager {
  margin-top: 28px;
}

.shop-product {
  background: var(--paper);
}

.product-hero {
  position: relative;
  min-height: 220px;
  padding: 48px 16px 90px;
  color: #fff;
  background: var(--ink);
}

.product-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-hero-title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.6;
}

.product-hero .shop-breadcrumb,
.product-hero .shop-breadcrumb a,
.product-hero .shop-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.82);
}

.product-hero .shop-breadcrumb li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.45);
}

.product-hero-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  display: block;
  width: 100%;
  height: 72px;
  fill: var(--cream);
}

.product-panel {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: -70px auto 0;
  padding: 0 16px 48px;
}

.product-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px 40px;
  padding: 28px 28px 24px;
  background: var(--paper);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(26, 69, 59, 0.12);
}

.product-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: var(--card-art);
}

.product-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-meta a {
  color: var(--ink);
  text-decoration: none;
}

.product-price {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 800;
}

.product-price del {
  margin-left: 8px;
  color: #9aa6a1;
  font-size: 16px;
  font-weight: 500;
}

.product-lead p {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.7;
}

.product-lead p + p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 24px;
}

.product-order-form {
  margin: 0;
}

.product-order,
.product-download,
.product-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
}

.product-order {
  min-width: 180px;
  color: #fff;
  background: #6b4cff;
  border: 0;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.product-order svg,
.product-download svg {
  width: 18px;
  height: 18px;
}

.product-download {
  min-width: 180px;
  color: #fff;
  background: var(--ink);
  border: 0;
  font-size: 16px;
  font-weight: 800;
}

.product-chip {
  min-width: 150px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 13px;
}

.product-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  max-width: 520px;
  margin: 16px auto 0;
  padding: 14px 22px;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: var(--card-shadow);
}

.product-contact a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.product-guide {
  padding: 8px 16px 8px;
  background: var(--cream);
}

.product-guide-inner,
.product-reviews-inner,
.product-promo-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.product-guide-head {
  margin-bottom: 18px;
}

.product-guide-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.product-guide-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.6;
}

.product-guide-player {
  overflow: hidden;
  margin-bottom: 18px;
  background: #111;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.product-guide-player .learn-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
}

.product-guide-player .learn-stage img,
.product-guide-player .learn-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  background: #000;
}

.product-guide-player .learn-media {
  position: absolute;
  inset: 0;
}

.product-guide-player .learn-play {
  position: absolute;
  top: 50%;
  right: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 0;
  color: #fff;
  background: rgba(245, 148, 3, 0.92);
  border: 0;
  border-radius: 50%;
  transform: translate(50%, -50%);
  cursor: pointer;
}

.product-guide-player .learn-play svg {
  width: 28px;
  height: 28px;
  margin-right: 3px;
}

.product-guide-card {
  padding: 28px 32px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  font-size: 16px;
  line-height: 2;
}

.product-guide-card > *:first-child {
  margin-top: 0;
}

.product-guide-card > *:last-child {
  margin-bottom: 0;
}

.product-guide-card p {
  margin: 0 0 14px;
}

.product-guide-card p:first-child {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}

.product-reviews-wrap {
  padding: 32px 16px 56px;
  background: var(--cream);
}

.product-reviews-count,
.woocommerce-Reviews-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
}

.woocommerce-noreviews {
  margin: 0 0 18px;
  color: var(--muted);
}

.review-form-box,
.comment-respond {
  padding: 22px;
  background: var(--paper);
  border: 1px solid #c9d8f5;
  border-radius: 16px;
}

.comment-reply-title {
  display: block;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 800;
}

.comment-form-rating,
.comment-form-comment,
.comment-form-author,
.comment-form-email {
  margin: 0 0 14px;
}

.review-form-box label,
.comment-respond label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.review-form-box input,
.review-form-box textarea,
.review-form-box select,
.comment-respond input,
.comment-respond textarea,
.comment-respond select {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.form-submit .submit {
  min-width: 96px;
  padding: 10px 22px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.product-promo {
  padding: 20px 16px 80px;
  background: var(--paper);
}

.product-promo h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
}

.product-promo-lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 2;
}

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

.product-promo-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 22px 22px;
  background: var(--cream);
  border-radius: 20px;
}

.product-promo-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.product-promo-card p,
.product-promo-card li {
  color: var(--muted);
  line-height: 1.9;
}

.product-promo-card ul {
  margin: 0 0 20px;
  padding: 0 18px 0 0;
}

.product-promo-card a {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.product-promo-card.is-green a {
  background: #2f7d57;
}

.product-promo-card.is-accent a {
  background: var(--accent);
}

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main {
  max-width: 960px;
  direction: rtl;
}

.shop-screen {
  padding: 40px 16px 80px;
}

.shop-screen h1,
.shop-screen h2 {
  margin-top: 0;
}

.shop-screen .woocommerce {
  max-width: 960px;
}

@media (max-width: 1100px) {
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .product-panel-inner,
  .product-promo-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-inner {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .product-guide-card {
    padding: 20px 18px;
  }

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

  .product-actions {
    flex-direction: column;
  }

  .product-order,
  .product-download,
  .product-chip {
    width: 100%;
  }

  .product-contact {
    border-radius: 18px;
  }
}

body.request-modal-on {
  overflow: hidden;
}

.request-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.request-modal[hidden] {
  display: none;
}

.request-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 69, 59, 0.46);
}

.request-modal-box {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 28px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.request-modal-close {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.request-modal-box h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.request-modal-lead {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.8;
}

.request-form {
  display: grid;
  gap: 14px;
}

.request-form label {
  display: grid;
  gap: 6px;
}

.request-form label span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.request-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.request-form-status {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.request-form-status.is-error {
  color: #b42318;
}

.request-form-submit {
  min-height: 50px;
  color: #fff;
  background: #6b4cff;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.request-form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
