/* Single-product presentation matching the Shopra product detail language. */
.fs-product { max-width: 1320px; margin: 0 auto; padding: 28px 24px 110px; direction: rtl; }
.fs-product-breadcrumb { margin: 18px 0 42px; }
.fs-product-breadcrumb .woocommerce-breadcrumb { margin: 0; color: #777; font-size: 12px; }
.fs-product-breadcrumb a { color: #111; }
.fs-product-breadcrumb span { margin: 0 10px; color: #cfcfcf; }
.fs-product-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.fs-product-heading-copy { display: grid; gap: 7px; }
.fs-eyebrow { color: #777; font-size: 13px; font-weight: 700; }
.fs-product-heading h1 { margin: 0; color: #111; font-size: clamp(28px, 4vw, 48px); line-height: 1.15; font-weight: 800; }
.fs-product-categories { color: #666; font-size: 13px; }
.fs-product-categories a { color: inherit; text-decoration: underline; }
.fs-product-actions { display: flex; gap: 8px; }
.fs-action-button, .fs-rail-button { display: grid; place-items: center; border: 0; color: #fff; background: #000; cursor: pointer; }
.fs-action-button { width: 46px; height: 46px; border-radius: 14px; font-size: 22px; }
.fs-product-layout { display: grid; grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.35fr) minmax(250px, 0.7fr); gap: 42px; align-items: start; }
.fs-product-media { display: flex; gap: 14px; align-items: flex-start; }
.fs-poster { overflow: hidden; flex: 0 0 320px; width: 320px; border-radius: 24px; background: #f0f0f0; box-shadow: 0 14px 32px rgba(0,0,0,.12); }
.fs-poster img { display: block; width: 100%; height: auto; aspect-ratio: 320 / 451; object-fit: cover; }
.fs-gallery-thumbs { display: grid; gap: 8px; width: 58px; }
.fs-gallery-thumb { display: block; width: 58px; height: 58px; border-radius: 12px; object-fit: cover; cursor: pointer; }
.fs-rail { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.fs-rail-button { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; text-decoration: none; }
.fs-product-summary { min-width: 0; }
.fs-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 24px; border-bottom: 1px solid #ededed; }
.fs-meta > div { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 12px; border: 1px solid #ededed; border-radius: 12px; background: #fff; }
.fs-meta > div > div:first-child { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #f2f4e9; }
.fs-meta > div > div:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fs-meta strong { color: #111; font-size: 15px; font-weight: 800; }
.fs-meta span { line-height: 1.6; }
.fs-meta > div > div:last-child span:first-child { color: #171717; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.fs-meta > div > div:last-child span:last-child { color: #777; font-size: 11px; }
.fs-product-description { margin-top: 28px; color: #555; font-size: 14px; line-height: 2; }
.fs-product-description p { margin: 0; }
.fs-product-rating { margin-top: 28px; }
.fs-purchase-panel { display: grid; gap: 22px; padding: 24px; border-radius: 22px; background: #e1ff00; }
.fs-purchase-note { display: grid; gap: 5px; }
.fs-purchase-note strong { color: #111; font-size: 18px; }
.fs-purchase-note span { color: rgba(0,0,0,.65); font-size: 12px; }
.fs-price { color: #111; font-size: 32px; font-weight: 800; }
.fs-price del { opacity: .5; font-size: 16px; }
.fs-price ins { text-decoration: none; }
.fs-add-to-cart form { display: grid; gap: 12px; margin: 0; }
.fs-add-to-cart .button { margin: 0; }
.fs-unavailable { padding: 16px; border: 1px solid rgba(0,0,0,.18); border-radius: 14px; color: #111; font-size: 13px; line-height: 1.8; }
.fs-add-to-cart .quantity { display: none; }
.fs-add-to-cart .single_add_to_cart_button { width: 100%; min-height: 62px; border: 0; border-radius: 15px; color: #fff; background: #000; font: inherit; font-weight: 800; cursor: pointer; }
.fs-add-to-cart-button { position: relative; isolation: isolate; justify-content: center; gap: 12px; }
.fs-add-to-cart-button .fs-btn-label, .fs-add-to-cart-button .fs-cart-icon { transition: opacity 180ms ease, transform 180ms ease; }
.fs-add-to-cart-button .fs-cart-icon { margin-inline-start: 4px; }
.fs-add-to-cart-button .fs-loader { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 6px; }
.fs-add-to-cart-button .fs-loader span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: fsDotLoader 0.8s ease-in-out infinite; }
.fs-add-to-cart-button .fs-loader span:nth-child(2) { animation-delay: 0.15s; }
.fs-add-to-cart-button .fs-loader span:nth-child(3) { animation-delay: 0.3s; }
.fs-add-to-cart-button.is-loading .fs-btn-label, .fs-add-to-cart-button.is-loading .fs-cart-icon { opacity: 0; transform: scale(0.92); pointer-events: none; }
.fs-add-to-cart-button.is-loading .fs-loader { display: flex; }
.fs-add-to-cart-button.is-loading { justify-content: center; }
.fs-add-to-cart-button:disabled { cursor: wait; }
@keyframes fsDotLoader { 0%, 80%, 100% { opacity: 0.25; transform: translateY(2px); } 40% { opacity: 1; transform: translateY(-2px); } }
.fs-product-tabs { margin-top: 58px; }
.fs-product-tabs .woocommerce-tabs { margin: 0; }
.fs-product-tabs ul.tabs { display: flex; gap: 24px; margin: 0 0 20px; padding: 0 0 14px; border-bottom: 1px solid #e8e8e8; }
.fs-product-tabs ul.tabs::before, .fs-product-tabs ul.tabs::after { display: none; }
.fs-product-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: transparent; }
.fs-product-tabs ul.tabs li a { color: #777; font-weight: 700; }
.fs-product-tabs ul.tabs li.active a { color: #111; }
.fs-buybar { display: none; }
html.dark .fs-product-heading h1, html.dark .fs-product-breadcrumb a, html.dark .fs-meta strong, html.dark .fs-product-tabs ul.tabs li.active a { color: #fff; }
html.dark .fs-product-breadcrumb .woocommerce-breadcrumb, html.dark .fs-eyebrow, html.dark .fs-product-categories, html.dark .fs-meta span, html.dark .fs-product-description { color: #aaa; }
html.dark .fs-meta, html.dark .fs-product-tabs ul.tabs { border-color: #292929; }
html.dark .fs-meta > div { border-color: #292929; background: #151515; }
html.dark .fs-meta > div > div:first-child { background: #242424; }
html.dark .fs-meta > div > div:last-child span:first-child { color: #fff; }
html.dark .fs-meta > div > div:last-child span:last-child { color: #aaa; }
html.dark .fs-purchase-panel { background: #191919; }
html.dark .fs-purchase-note strong, html.dark .fs-price { color: #e1ff00; }
html.dark .fs-purchase-note span { color: rgba(255,255,255,.65); }
html.dark .fs-add-to-cart .single_add_to_cart_button { color: #000; background: #e1ff00; }
html.dark .fs-unavailable { border-color: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 1023px) {
  .fs-product { padding: 18px 16px 110px; }
  .fs-product-layout { grid-template-columns: 1fr 1fr; gap: 24px; }
  .fs-product-media { grid-row: span 2; }
  .fs-purchase-panel { grid-column: 2; }
  .fs-buybar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #ececec; box-shadow: 0 -6px 18px rgba(0,0,0,.07); }
  html.dark .fs-buybar { background: #121212; border-color: #2a2a2a; }
  .fs-buybar-price { color: #111; font-size: 20px; font-weight: 800; }
  html.dark .fs-buybar-price { color: #fff; }
  .fs-buybar-btn { min-height: 48px; padding: 0 20px; border: 0; border-radius: 14px; color: #fff; background: #000; font: inherit; font-weight: 800; cursor: pointer; }
  html.dark .fs-buybar-btn { color: #000; background: #e1ff00; }
}
@media (max-width: 639px) {
  .fs-product-heading { align-items: flex-start; }
  .fs-product-heading h1 { font-size: 28px; }
  .fs-product-layout { display: flex; flex-direction: column; }
  .fs-product-media, .fs-product-summary, .fs-purchase-panel { width: 100%; }
  .fs-gallery-thumbs { width: 100%; grid-template-columns: repeat(4, 58px); order: 2; }
  .fs-product-media { order: 0; }
  .fs-product-summary { order: 1; }
  .fs-purchase-panel { order: 2; }
  .fs-product-tabs { margin-top: 36px; }
}

/* Reference product detail sections. */
.fs-title-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fs-persian-title { padding: 5px 8px; border-radius: 5px; color: #fff; background: #000; font-size: 14px; font-weight: 700; }
.fs-poster-wrap { min-width: 0; flex: 1; }
.fs-poster { position: relative; }
.fs-poster-caption { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 34px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.fs-poster-caption div { display: grid; gap: 3px; }
.fs-poster-caption strong { font-size: 19px; }
.fs-poster-caption span { font-size: 10px; opacity: .85; }
.fs-poster-caption b { padding: 7px 9px; border-radius: 8px; color: #000; background: #e1ff00; font-size: 10px; white-space: nowrap; }
.fs-product-media .fs-rail { flex: 0 0 40px; order: -1; }
.fs-meta { grid-template-columns: repeat(3, minmax(100px, 1fr)); }
.fs-meta strong { text-decoration: underline; text-underline-offset: 3px; }
.fs-product-responsive { min-width: 0; }
.fs-developer-card { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 16px; border: 1px solid #ededed; border-radius: 14px; }
.fs-developer-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #000; background: #e1ff00; font-size: 22px; font-weight: 800; }
.fs-developer-card div { display: grid; gap: 2px; flex: 1; }
.fs-developer-card small { color: #777; font-size: 10px; }
.fs-developer-card strong { color: #111; font-size: 15px; }
.fs-developer-card > b { color: #777; font-size: 24px; }
.fs-voting { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 34px; padding-top: 24px; border-top: 1px solid #ededed; }
.fs-voting-icon { display: none; flex: 0 0 62px; width: 62px; height: 62px; max-width: none; object-fit: contain; }
html:not(.dark) #single-voting .fs-voting-icon-light, html.dark #single-voting .fs-voting-icon-dark { display: block; }
.fs-voting-title { display: flex; align-items: center; gap: 10px; }
.fs-voting-title > span { font-size: 38px; }
.fs-voting-title div { display: grid; gap: 3px; }
.fs-voting-title strong { color: #111; font-size: 15px; }
.fs-voting-title small, .fs-voting-score small { color: #888; font-size: 11px; }
.fs-voting-score { display: grid; justify-items: end; gap: 7px; min-width: 150px; }
.fs-voting-score > strong { font-size: 30px; }
.fs-rating-bars { display: flex; gap: 4px; direction: ltr; width: 100%; }
.fs-rating-bars i { height: 6px; flex: 1; border-radius: 99px; background: #d8d8d8; }
.fs-rating-bars i.is-filled { background: #000; }
.fs-purchase-panel { gap: 16px; padding: 0; background: transparent; }
.fs-purchase-lock, .fs-platform-card { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 18px; background: #e1ff00; }
.fs-purchase-lock { justify-content: space-between; }
.fs-purchase-lock div, .fs-purchase-lock strong { display: block; }
.fs-purchase-lock span { display: block; margin-top: 4px; color: rgba(0,0,0,.65); font-size: 11px; }
.fs-purchase-lock b { font-size: 24px; }
.fs-platform-card { justify-content: center; background: #f4f4f4; }
.fs-platform-card span { font-size: 24px; }
.fs-platform-card strong { font-size: 13px; }
.fs-sales-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.fs-sales { color: #111; font-size: 13px; font-weight: 700; }
.fs-sales-price > strong { color: #111; font-size: 28px; }
html.dark .fs-persian-title, html.dark .fs-action-button, html.dark .fs-rail-button { color: #000; background: #e1ff00; }
html.dark .fs-developer-card, html.dark .fs-voting { border-color: #292929; }
html.dark .fs-developer-card strong, html.dark .fs-voting-title strong, html.dark .fs-sales, html.dark .fs-sales-price > strong { color: #fff; }
html.dark .fs-platform-card { color: #fff; background: #191919; }
html.dark .fs-rating-bars i { background: #333; }
html.dark .fs-rating-bars i.is-filled { background: #e1ff00; }
html.dark .fs-purchase-lock { color: #fff; background: #191919; border: 1px solid #292929; }
html.dark .fs-purchase-lock span { color: #aaa; }
@media (max-width: 639px) {
  .fs-title-line { display: grid; gap: 8px; }
  .fs-product-media { display: flex; }
  .fs-product-media .fs-rail { order: 0; }
  .fs-voting { align-items: flex-start; flex-direction: column; }
  .fs-voting-score { width: 100%; justify-items: stretch; }
  .fs-sales-price > strong { font-size: 24px; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .fs-product-responsive { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .fs-product-responsive > .fs-rail { grid-column: 1 / -1; grid-row: 1; flex-direction: row; justify-content: flex-start; padding-top: 0; }
  .fs-product-responsive > .fs-rail > div { flex-direction: row; align-items: center; gap: 16px; margin-top: 0; }
  .fs-product-poster-column { grid-column: 1; grid-row: 2; justify-content: center; width: 100%; min-width: 0; }
  .fs-product-poster-column .fs-poster { flex: 0 1 auto; width: min(100%, 320px); }
  .fs-product-details { grid-column: 2; grid-row: 2; min-width: 0; width: auto; }
  .fs-product-details .fs-meta { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767.98px) {
  .fs-product-responsive { display: flex; flex-direction: column; gap: 24px; }
  .fs-product-poster-column { order: 1; justify-content: center; width: 100%; }
  .fs-product-poster-column .fs-poster { flex: 0 1 auto; width: min(100%, 420px); }
  .fs-product-responsive > .fs-rail { order: 2; flex-direction: row; justify-content: flex-start; width: 100%; padding-top: 0; }
  .fs-product-responsive > .fs-rail > div { flex-direction: row; align-items: center; gap: 16px; margin-top: 0; }
  .fs-product-details { order: 3; min-width: 0; }
  .fs-product-details .fs-meta { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}