/* tokens */
/*
 * Paytakht136 design tokens.
 * Breakpoints follow apple.com: 1068px (desktop) and 734px (mobile).
 * Colour: neutral Apple-style surfaces + the store's warm orange.
 *   --p136-brand  (#df601e, the leaf of the "136" mark) is the logo/brand colour, used for large shapes and accents.
 *   --p136-accent (#c9431b) is the darker orange used for text, buttons and focus so it passes contrast.
 */
@font-face {
  font-family: "Vazirmatn";
  src: url("https://paytakht136.lhosseini.ir/wp-content/themes/paytakht136/assets/fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Colour */
  --p136-ink: #1d1d1f;
  --p136-ink-2: #424245;
  --p136-muted: #636366;
  --p136-faint: #6e6e73;
  --p136-bg: #ffffff;
  --p136-surface: #f5f5f7;
  --p136-surface-2: #fbfbfd;
  --p136-line: #d2d2d7;
  --p136-line-soft: #e8e8ed;
  --p136-brand: #df601e;
  --p136-accent: #bf3d15;
  --p136-accent-hover: #9d3212;
  --p136-accent-tint: #fff4ee;
  --p136-dark: #000000;
  --p136-dark-2: #161617;
  --p136-on-dark: #f5f5f7;
  --p136-on-dark-muted: #a1a1a6;
  --p136-ok: #1a7f37;
  --p136-ok-tint: #e9f7ee;
  --p136-warn: #9a6700;
  --p136-warn-tint: #fff6e0;
  --p136-danger: #b3261e;
  --p136-danger-tint: #fdecea;
  --p136-focus: var(--p136-accent);
  --p136-glass: rgba(255, 255, 255, 0.72);
  --p136-glass-dark: rgba(29, 29, 31, 0.72);

  /* Type */
  --p136-font: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;
  --p136-fs-eyebrow: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --p136-fs-body: 1rem;
  --p136-fs-small: 0.8125rem;
  --p136-fs-tiny: 0.6875rem;
  --p136-fs-h4: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --p136-fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --p136-fs-h2: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
  --p136-fs-h1: clamp(1.75rem, 1.3rem + 1.9vw, 2.625rem);
  --p136-fs-hero: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  --p136-lh-body: 1.7;
  --p136-lh-tight: 1.22;
  --p136-lh-display: 1.12;

  /* Space (8px rhythm) */
  --p136-s1: 4px;
  --p136-s2: 8px;
  --p136-s3: 12px;
  --p136-s4: 16px;
  --p136-s5: 24px;
  --p136-s6: 32px;
  --p136-s7: 48px;
  --p136-s8: 64px;
  --p136-s9: 96px;
  --p136-section: 80px;

  /* Layout */
  --p136-page: 1120px;
  --p136-wide: 1320px;
  --p136-read: 680px;
  --p136-gutter: clamp(16px, 4vw, 24px);
  --p136-header-h: 48px;
  --p136-ribbon-h: 32px;

  /* Shape */
  --p136-r-xs: 8px;
  --p136-r-sm: 12px;
  --p136-r-md: 18px;
  --p136-r-lg: 28px;
  --p136-r-pill: 980px;

  /* Elevation */
  --p136-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --p136-shadow-md: 0 8px 28px rgba(0, 0, 0, 0.1);
  --p136-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.18);

  /* Motion */
  --p136-ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --p136-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --p136-t-fast: 160ms;
  --p136-t-med: 320ms;
  --p136-t-slow: 640ms;

  /* Stacking */
  --p136-z-header: 100;
  --p136-z-flyout: 110;
  --p136-z-sticky: 90;
  --p136-z-sheet: 200;
}

@media (max-width: 1068px) {
  :root { --p136-section: 64px; }
}

@media (max-width: 734px) {
  :root {
    --p136-section: 48px;
    --p136-header-h: 44px;
  }
}

/* base */
/* Reset + typography + layout primitives + motion. */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--p136-header-h) + 60px);
}

body {
  margin: 0;
  background: var(--p136-bg);
  color: var(--p136-ink);
  font-family: var(--p136-font);
  font-size: var(--p136-fs-body);
  line-height: var(--p136-lh-body);
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video, picture { display: block; max-width: 100%; height: auto; }
img { border-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--p136-accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--p136-line-soft); margin: var(--p136-s6) 0; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { line-height: var(--p136-lh-tight); font-weight: 700; letter-spacing: -0.005em; }

/* Model names, part numbers and specs stay left-to-right inside RTL text. */
bdi, .p136-ltr { unicode-bidi: isolate; }
.p136-ltr { direction: ltr; display: inline-block; }

:focus-visible {
  outline: 3px solid var(--p136-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(234, 99, 56, 0.25); }

/* Layout */
.p136-container {
  width: min(var(--p136-page), 100% - 2 * var(--p136-gutter));
  margin-inline: auto;
}
.p136-container--wide { width: min(var(--p136-wide), 100% - 2 * var(--p136-gutter)); }
.p136-container--read { width: min(var(--p136-read), 100% - 2 * var(--p136-gutter)); }
.p136-section { padding-block: var(--p136-section); }
.p136-section--tight { padding-block: calc(var(--p136-section) / 2); }
.p136-section--surface { background: var(--p136-surface); }
.p136-section--dark { background: var(--p136-dark); color: var(--p136-on-dark); }

.screen-reader-text,
.p136-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--p136-ink);
  color: #fff;
  border-radius: var(--p136-r-pill);
  transform: translateY(-200%);
  transition: transform var(--p136-t-fast) var(--p136-ease);
}
.skip-link:focus { transform: none; text-decoration: none; }

/* Headlines: bold statement + muted continuation, as on apple.com/shop. */
.p136-headline { font-size: var(--p136-fs-h2); line-height: var(--p136-lh-display); font-weight: 800; }
.p136-headline .p136-muted,
.p136-headline em { font-style: normal; color: var(--p136-faint); font-weight: 700; }
.p136-eyebrow { font-size: var(--p136-fs-eyebrow); font-weight: 600; color: var(--p136-accent); }
.p136-lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.375rem); line-height: 1.6; color: var(--p136-ink-2); font-weight: 500; }
.p136-muted { color: var(--p136-muted); }
.p136-center { text-align: center; }

/* Scroll-driven reveal (progressive: content is visible without support or JS) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
      animation: p136-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}
@keyframes p136-rise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}
/* Fallback reveal driven by core.js when scroll-driven animations are unavailable */
.p136-js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--p136-t-slow) var(--p136-ease-out), transform var(--p136-t-slow) var(--p136-ease-out); }
.p136-js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* Cross-document view transitions: product card image morphs into the buy-page gallery. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
  @view-transition { navigation: none; }
}

/* Never let a wide child force sideways scrolling on phones. */
.p136-scroll-x { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.p136-scroll-x::-webkit-scrollbar { display: none; }

body.p136-lock { overflow: hidden; }

/* components */
/* Shared components. Page-specific layout lives in the per-template stylesheets. */

.p136-icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* Buttons ---------------------------------------------------------------- */
.p136-btn,
.wp-element-button,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 22px;
  border: 1px solid transparent;
  border-radius: var(--p136-r-pill);
  background: var(--p136-accent);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--p136-t-fast) var(--p136-ease), color var(--p136-t-fast) var(--p136-ease), transform var(--p136-t-fast) var(--p136-ease), box-shadow var(--p136-t-fast) var(--p136-ease);
}
.p136-btn:hover, .woocommerce .button:hover { background: var(--p136-accent-hover); color: #fff; text-decoration: none; }
.p136-btn:active, .woocommerce .button:active { transform: scale(0.97); }
.p136-btn[disabled], .p136-btn[aria-disabled="true"], .woocommerce .button.disabled, .woocommerce .button:disabled {
  background: var(--p136-line);
  color: var(--p136-faint);
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}
.p136-btn--secondary { background: var(--p136-surface); color: var(--p136-ink); }
.p136-btn--secondary:hover { background: var(--p136-line-soft); color: var(--p136-ink); }
.p136-btn--ghost { background: transparent; color: var(--p136-accent); border-color: var(--p136-accent); }
.p136-btn--ghost:hover { background: var(--p136-accent); color: #fff; }
.p136-btn--dark { background: var(--p136-ink); color: #fff; }
.p136-btn--dark:hover { background: #000; color: #fff; }
.p136-btn--light { background: #fff; color: var(--p136-ink); }
.p136-btn--light:hover { background: var(--p136-surface); color: var(--p136-ink); }
.p136-btn--lg { min-height: 46px; padding: 10px 28px; font-size: 1rem; }
.p136-btn--sm { min-height: 32px; padding: 4px 16px; font-size: 0.8125rem; }
.p136-btn--block { display: flex; width: 100%; }

/* "Learn more ›" text link with chevron (RTL: chevron points left). */
.p136-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--p136-accent);
}
.p136-link::after { content: "‹"; font-size: 1.25em; line-height: 1; transition: transform var(--p136-t-fast) var(--p136-ease); }
.p136-link:hover { text-decoration: none; }
.p136-link:hover::after { transform: translateX(-3px); }
.p136-on-dark .p136-link, .p136-section--dark .p136-link { color: #ff8a5c; }
.p136-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.p136-actions--center { justify-content: center; }

/* Icon button (header, dialogs) */
.p136-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  transition: background-color var(--p136-t-fast) var(--p136-ease);
}
.p136-iconbtn:hover { background: rgba(0, 0, 0, 0.06); }

/* Badges & chips ----------------------------------------------------------- */
.p136-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: var(--p136-r-pill);
  background: var(--p136-surface);
  color: var(--p136-ink-2);
  font-size: var(--p136-fs-tiny);
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
}
.p136-badge--new { background: var(--p136-accent-tint); color: var(--p136-accent); }
.p136-badge--ok { background: var(--p136-ok-tint); color: var(--p136-ok); }
.p136-badge--warn { background: var(--p136-warn-tint); color: var(--p136-warn); }
.p136-badge--out { background: var(--p136-surface); color: var(--p136-faint); }
.p136-badge--demo { background: #eef2ff; color: #3b4cca; }

.p136-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 2px 14px;
  border: 1px solid var(--p136-line);
  border-radius: var(--p136-r-pill);
  background: #fff;
  color: var(--p136-ink);
  font-size: var(--p136-fs-small);
  white-space: nowrap;
  transition: border-color var(--p136-t-fast) var(--p136-ease), background-color var(--p136-t-fast) var(--p136-ease);
}
a.p136-chip:hover { border-color: var(--p136-ink); text-decoration: none; }
.p136-chip[aria-current="page"], .p136-chip.is-active { background: var(--p136-ink); color: #fff; border-color: var(--p136-ink); }

/* Glass surface (header, sticky bars, flyouts) */
.p136-glass {
  background: var(--p136-glass);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
}

/* Cards & tiles ------------------------------------------------------------ */
.p136-card {
  background: var(--p136-surface);
  border-radius: var(--p136-r-lg);
  overflow: clip;
}
.p136-card--white { background: #fff; border: 1px solid var(--p136-line-soft); }
.p136-card--dark { background: var(--p136-dark-2); color: var(--p136-on-dark); }
.p136-card--pad { padding: var(--p136-s6); }

/* Swatches (colour dots) -------------------------------------------------- */
.p136-swatches { display: inline-flex; align-items: center; gap: 6px; }
.p136-swatch {
  --swatch: #d2d2d7;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
  flex: none;
}
.p136-swatch--lg { width: 40px; height: 40px; }
.p136-swatch-more { font-size: var(--p136-fs-tiny); color: var(--p136-muted); }

/* Choice cards: real radios styled as Apple's selectable option tiles ------- */
.p136-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.p136-choice { position: relative; display: block; }
.p136-choice > input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.p136-choice__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid var(--p136-line);
  border-radius: var(--p136-r-sm);
  background: #fff;
  transition: border-color var(--p136-t-fast) var(--p136-ease), box-shadow var(--p136-t-fast) var(--p136-ease), background-color var(--p136-t-fast) var(--p136-ease);
}
.p136-choice:hover .p136-choice__body { border-color: var(--p136-faint); }
.p136-choice > input:checked + .p136-choice__body {
  border-color: var(--p136-accent);
  box-shadow: 0 0 0 1px var(--p136-accent);
  background: #fff;
}
.p136-choice > input:focus-visible + .p136-choice__body { outline: 3px solid var(--p136-focus); outline-offset: 3px; }
.p136-choice > input:disabled + .p136-choice__body { background: var(--p136-surface); color: var(--p136-faint); border-style: dashed; }
.p136-choice > input:disabled { cursor: not-allowed; }
.p136-choice__title { font-weight: 700; font-size: 0.9375rem; }
.p136-choice__sub { font-size: var(--p136-fs-small); color: var(--p136-muted); }
.p136-choice__price { font-size: var(--p136-fs-small); color: var(--p136-ink-2); font-weight: 500; }

/* Sheets (dialogs used for help, bag confirmation, search) ------------------ */
dialog.p136-sheet {
  width: min(680px, 100% - 24px);
  max-height: min(86vh, 900px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--p136-r-lg);
  background: #fff;
  color: var(--p136-ink);
  box-shadow: var(--p136-shadow-lg);
  overflow: auto;
}
dialog.p136-sheet::backdrop { background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.p136-sheet[open] { animation: p136-sheet-in var(--p136-t-med) var(--p136-ease-out); }
@keyframes p136-sheet-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
.p136-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px 0; }
.p136-sheet__head h2 { font-size: var(--p136-fs-h3); }
.p136-sheet__body { padding: 16px 24px 28px; }
@media (max-width: 734px) {
  dialog.p136-sheet { width: 100%; max-height: 92vh; margin-block-end: 0; border-end-start-radius: 0; border-end-end-radius: 0; }
}

/* Accordion (details/summary) ---------------------------------------------- */
.p136-accordion { border-top: 1px solid var(--p136-line); }
.p136-accordion details { border-bottom: 1px solid var(--p136-line); }
.p136-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.p136-accordion summary::-webkit-details-marker { display: none; }
.p136-accordion summary::after {
  content: "+";
  flex: none;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  transition: transform var(--p136-t-med) var(--p136-ease);
}
.p136-accordion details[open] summary::after { transform: rotate(45deg); }
.p136-accordion .p136-accordion__body { padding: 0 4px 24px; color: var(--p136-ink-2); }

/* Help disclosure "به راهنمایی نیاز دارید؟ (+)" */
.p136-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--p136-r-sm);
  background: var(--p136-surface);
  text-align: start;
  font-weight: 600;
  font-size: 0.875rem;
}
.p136-help small { display: block; font-weight: 400; color: var(--p136-muted); font-size: var(--p136-fs-small); }
.p136-help::after { content: "+"; font-size: 1.25rem; font-weight: 300; }

/* Timeline (reservation status, order tracking) ---------------------------- */
.p136-timeline { position: relative; display: grid; gap: 0; }
.p136-timeline__step { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-block-end: 22px; }
.p136-timeline__step::before {
  content: "";
  position: absolute;
  inset-inline-start: 13px;
  inset-block: 28px 0;
  width: 2px;
  background: var(--p136-line);
}
.p136-timeline__step:last-child { padding-block-end: 0; }
.p136-timeline__step:last-child::before { display: none; }
.p136-timeline__dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--p136-line);
  background: #fff;
  color: #fff;
  font-size: 0.8rem;
}
.p136-timeline__step[data-state="done"] .p136-timeline__dot { background: var(--p136-ok); border-color: var(--p136-ok); }
.p136-timeline__step[data-state="done"]::before { background: var(--p136-ok); }
.p136-timeline__step[data-state="current"] .p136-timeline__dot { border-color: var(--p136-accent); box-shadow: 0 0 0 5px var(--p136-accent-tint); }
.p136-timeline__step[data-state="attention"] .p136-timeline__dot { background: var(--p136-danger); border-color: var(--p136-danger); }
.p136-timeline__title { font-weight: 700; }
.p136-timeline__step[data-state="upcoming"] .p136-timeline__title { color: var(--p136-faint); font-weight: 600; }
.p136-timeline__detail { color: var(--p136-muted); font-size: var(--p136-fs-small); }

/* Progress steps for checkout */
.p136-progress { display: flex; gap: 8px; }
.p136-progress > * { flex: 1; height: 4px; border-radius: 4px; background: var(--p136-line-soft); }
.p136-progress > .is-done { background: var(--p136-accent); }

/* Price ------------------------------------------------------------------- */
.p136-price { font-weight: 700; }
.p136-price-unit { font-size: 0.85em; font-weight: 500; color: var(--p136-muted); }
.p136-price-stamp { font-size: var(--p136-fs-tiny); color: var(--p136-muted); }
.p136-price-stamp::before { content: "●"; margin-inline-end: 6px; color: var(--p136-ok); font-size: 0.7em; vertical-align: 1px; }
.p136-price-stamp[data-state="indicative"]::before { color: var(--p136-warn); }
.p136-price-stamp[data-state="stale"]::before, .p136-price-stamp[data-state="missing"]::before { color: var(--p136-danger); }

/* Forms --------------------------------------------------------------------- */
.p136-field, .woocommerce form .form-row { margin-block-end: 16px; }
.p136-field label, .woocommerce form .form-row label { display: block; margin-block-end: 6px; font-size: var(--p136-fs-small); font-weight: 600; color: var(--p136-ink-2); }
.woocommerce form .form-row label .required { color: var(--p136-danger); text-decoration: none; }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"],
select, textarea, .woocommerce .input-text {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--p136-line);
  border-radius: var(--p136-r-sm);
  background: #fff;
  color: var(--p136-ink);
  transition: border-color var(--p136-t-fast) var(--p136-ease), box-shadow var(--p136-t-fast) var(--p136-ease);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--p136-accent); box-shadow: 0 0 0 3px rgba(201, 67, 27, 0.18); }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--p136-accent); }
input::placeholder, textarea::placeholder { color: var(--p136-faint); }
.woocommerce form .form-row.woocommerce-invalid .input-text { border-color: var(--p136-danger); }
.woocommerce form .form-row.woocommerce-validated .input-text { border-color: var(--p136-ok); }
select { appearance: none; padding-inline-end: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23424245' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat left 16px center; }

/* Quantity stepper (progressive: plain number input works without JS) */
.p136-qty { display: inline-flex; align-items: center; border: 1px solid var(--p136-line); border-radius: var(--p136-r-pill); overflow: hidden; }
.p136-qty input { width: 48px; min-height: 40px; padding: 0; border: 0; text-align: center; background: transparent; box-shadow: none !important; -moz-appearance: textfield; }
.p136-qty input::-webkit-outer-spin-button, .p136-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.p136-qty button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.3rem; }
.p136-qty button:hover { background: var(--p136-surface); }

/* WooCommerce notices ---------------------------------------------------------- */
.woocommerce-notices-wrapper { width: min(var(--p136-page), 100% - 2 * var(--p136-gutter)); margin-inline: auto; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  margin: 16px 0;
  padding: 14px 20px;
  border-radius: var(--p136-r-md);
  background: var(--p136-surface);
  border-inline-start: 4px solid var(--p136-ink);
  list-style: none;
}
.woocommerce-message { background: var(--p136-ok-tint); border-color: var(--p136-ok); }
.woocommerce-error { background: var(--p136-danger-tint); border-color: var(--p136-danger); }
.woocommerce-info { background: var(--p136-warn-tint); border-color: var(--p136-warn); }
.woocommerce-message .button, .woocommerce-info .button { float: inline-end; min-height: 34px; padding: 4px 16px; font-size: 0.9rem; }

/* Breadcrumb */
.p136-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--p136-fs-small); color: var(--p136-muted); }
.p136-breadcrumb a { color: var(--p136-muted); }
.p136-breadcrumb li + li::before { content: "‹"; margin-inline-end: 6px; opacity: 0.6; }

/* Pagination */
.woocommerce-pagination ul.page-numbers, .p136-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-block: var(--p136-s7); }
.woocommerce-pagination .page-numbers li { list-style: none; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--p136-r-pill); background: var(--p136-surface); color: var(--p136-ink); font-weight: 600; }
.page-numbers.current { background: var(--p136-ink); color: #fff; }
a.page-numbers:hover { background: var(--p136-line-soft); text-decoration: none; }

/* Autoplay video wrapper (media.js adds the pause control) */
.p136-video { position: relative; overflow: hidden; }
.p136-video video { width: 100%; height: 100%; object-fit: cover; }
.p136-video__toggle {
  position: absolute;
  inset-block-end: 16px;
  inset-inline-end: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--p136-ink);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Demo labelling (honest, not shouty) */
.p136-demo-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--p136-r-pill); background: #eef2ff; color: #3b4cca; font-size: var(--p136-fs-tiny); font-weight: 600; }

/* Skeleton shimmer for async content */
.p136-skeleton { background: linear-gradient(90deg, var(--p136-surface) 25%, #ececf0 37%, var(--p136-surface) 63%); background-size: 400% 100%; animation: p136-shimmer 1.4s ease infinite; border-radius: var(--p136-r-sm); }
@keyframes p136-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Number pop when a price/bag count changes */
.p136-bump { animation: p136-bump 420ms var(--p136-ease-out); }
@keyframes p136-bump { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* Prices and figures. Vazirmatn's Persian digits are proportional (the zero is a small dot), which reads
   correctly by default. Never use tabular figures here: they force equal widths and open up ugly gaps
   ("۴۵ ۱٬۵۰۰٬۰۰۰"). Only a hair of tightening keeps long toman amounts compact. */
.p136-price-num,
.woocommerce-Price-amount bdi,
[data-bar-price],
[data-sum-total],
[data-sum-price],
[data-sum-deposit],
[data-sum-rest] {
  font-variant-numeric: normal;
  letter-spacing: -0.02em;
}

/* chrome */
/*
 * Global chrome: ribbon, glass nav, mega-menu flyouts, bag flyout, search overlay,
 * mobile drawer, footer directory and the floating specialist button.
 * Desktop nav from 1069px up (Apple's breakpoint), drawer below.
 */

/* Scrolling card rows: never wider than the content column. On wide or zoomed-out screens cards that
   cross the column border are clipped with a soft edge and slide in as the row scrolls. */
:root { --p136-row-inset: max(var(--p136-gutter), calc((min(100vw, var(--p136-wide)) - var(--p136-page)) / 2)); }
.p136-rowclip { width: min(100%, var(--p136-wide)); margin-inline: auto; overflow: clip; }
@media (min-width: 1321px) {
  .p136-rowclip {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  }
}
@media (prefers-reduced-motion: reduce) { .p136-rowclip { -webkit-mask-image: none; mask-image: none; } }

/* Ribbon ---------------------------------------------------------------- */
.p136-ribbon {
  background: var(--p136-surface);
  color: var(--p136-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}
.p136-ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  min-height: var(--p136-ribbon-h);
  padding-block: 4px;
  flex-wrap: wrap;
}
.p136-ribbon__price::before { content: "●"; margin-inline-end: 6px; color: var(--p136-ok); font-size: 0.65em; vertical-align: 1px; }
.p136-ribbon__price[data-state="stale"]::before,
.p136-ribbon__price[data-state="missing"]::before { color: var(--p136-danger); }
.p136-ribbon__phone { display: inline-flex; align-items: center; gap: 6px; color: var(--p136-ink-2); }
.p136-ribbon__phone .p136-uicon { width: 14px; height: 14px; }
.p136-ribbon__demo {
  padding: 1px 10px;
  border-radius: var(--p136-r-pill);
  background: #eef2ff;
  color: #3b4cca;
  font-weight: 600;
  font-size: 0.6875rem;
}
@media (max-width: 734px) {
  .p136-ribbon__inner { gap: 2px 14px; font-size: 0.6875rem; }
}

/* Header bar ---------------------------------------------------------------- */
.p136-header {
  position: sticky;
  inset-block-start: 0;
  z-index: var(--p136-z-header);
}
.p136-bar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background-color var(--p136-t-med) var(--p136-ease);
}
.p136-bar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: var(--p136-header-h);
}
.p136-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--p136-ink);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.p136-brand:hover { text-decoration: none; }
.p136-brand__name { color: var(--p136-ink); font-weight: 800; }
.p136-brand__mark { display: block; flex: none; height: 26px; width: auto; }
.p136-menu-btn { display: none; }

.p136-nav { min-width: 0; }
.p136-nav__list { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1.4vw, 22px); }
.p136-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--p136-header-h);
  padding-inline: 8px;
  color: var(--p136-ink);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.86;
  transition: opacity var(--p136-t-fast) var(--p136-ease);
}
.p136-nav__link:hover, .p136-nav__link[aria-expanded="true"], .p136-nav__link[aria-current="page"] { opacity: 1; text-decoration: none; }
.p136-nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 8px;
  inset-block-end: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--p136-brand);
  transform: scaleX(0);
  transition: transform var(--p136-t-med) var(--p136-ease-out);
}
.p136-nav__link[aria-expanded="true"]::after, .p136-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.p136-tools { display: flex; align-items: center; gap: 0; }
.p136-tools .p136-iconbtn { width: 36px; height: 36px; position: relative; color: var(--p136-ink); }
.p136-tools .p136-iconbtn:hover { text-decoration: none; }
.p136-cart-count {
  position: absolute;
  inset-block-start: 3px;
  inset-inline-start: 2px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding-inline: 4px;
  border-radius: 9px;
  background: var(--p136-accent);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
}
.p136-cart-count[hidden] { display: none; }

@media (max-width: 1068px) {
  .p136-bar__inner { grid-template-columns: 44px 1fr auto; }
  .p136-menu-btn { display: inline-grid; }
  .p136-nav { display: none; }
  .p136-brand { grid-column: 2; justify-self: center; grid-row: 1; }
  .p136-tools { grid-column: 3; grid-row: 1; }
  .p136-menu-btn { grid-column: 1; grid-row: 1; }
  .p136-flyouts { display: none !important; }
}
@media (max-width: 734px) {
  .p136-tools__account { display: none; }
}

/* Scrim behind flyouts (page blurs, Apple style) -------------------------------- */
.p136-scrim {
  position: fixed;
  inset: 0;
  z-index: calc(var(--p136-z-header) - 1);
  background: rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--p136-t-med) var(--p136-ease);
}
.p136-scrim.is-open { opacity: 1; }

/* Mega-menu flyouts ------------------------------------------------------------------ */
.p136-flyouts {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  background: #fff;
  border-bottom: 1px solid var(--p136-line-soft);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(-6px);
  transition: clip-path var(--p136-t-med) var(--p136-ease-out), opacity var(--p136-t-fast) var(--p136-ease), transform var(--p136-t-med) var(--p136-ease-out);
}
.p136-flyouts.is-open { clip-path: inset(0 0 -60px 0); opacity: 1; transform: none; }
.p136-flyout__inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: var(--p136-s7);
  padding-block: 28px 36px;
}
.p136-flyout__inner > .p136-flyout__col:only-child { grid-column: 1 / -1; }
.p136-flyout__title { margin-block-end: 12px; color: var(--p136-faint); font-size: 0.75rem; font-weight: 600; }
.p136-flyout__col { opacity: 0; transform: translateY(8px); }
.p136-flyouts.is-open .p136-flyout__col {
  opacity: 1;
  transform: none;
  transition: opacity var(--p136-t-med) var(--p136-ease), transform var(--p136-t-med) var(--p136-ease-out);
  transition-delay: calc(60ms + var(--i, 0) * 50ms);
}
.p136-flyout__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 16px 12px; }
.p136-flyout__cards a { display: grid; justify-items: start; gap: 6px; color: var(--p136-ink); }
.p136-flyout__cards a:hover { text-decoration: none; }
.p136-flyout__cards a:hover .p136-flyout__name { color: var(--p136-accent); }
.p136-flyout__img { width: 100%; height: 68px; object-fit: contain; object-position: start; transition: transform var(--p136-t-med) var(--p136-ease-out); }
.p136-flyout__cards a:hover .p136-flyout__img { transform: scale(1.05); }
.p136-flyout__name { font-size: 0.8125rem; font-weight: 700; line-height: 1.4; transition: color var(--p136-t-fast); }
.p136-flyout__from { font-size: 0.75rem; color: var(--p136-muted); }
.p136-flyout__links { display: grid; gap: 8px; }
.p136-flyout__links a { color: var(--p136-ink); font-size: 1rem; font-weight: 700; line-height: 1.5; }
.p136-flyout__links a:hover { color: var(--p136-accent); text-decoration: none; }
.p136-flyout__links--small a { font-size: 0.8125rem; font-weight: 500; }

/* Bag flyout ---------------------------------------------------------------------- */
.p136-bag {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: max(var(--p136-gutter), calc((100vw - var(--p136-wide)) / 2));
  width: min(340px, 100vw - 24px);
  max-height: calc(100vh - var(--p136-header-h) - 32px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--p136-line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--p136-shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity var(--p136-t-fast) var(--p136-ease), transform var(--p136-t-med) var(--p136-ease-out);
}
.p136-bag.is-open { opacity: 1; transform: none; pointer-events: auto; }
.p136-bag__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 0; }
.p136-bag__title { font-size: 1rem; font-weight: 800; }
.p136-bag__body { padding: 6px 16px; overflow-y: auto; }
.p136-bag__empty { padding-block: 28px; color: var(--p136-muted); text-align: center; }
.p136-bag__item { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding-block: 10px; border-block-end: 1px solid var(--p136-line-soft); }
.p136-bag__item:last-child { border-block-end: 0; }
.p136-bag__img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: var(--p136-surface); }
.p136-bag__name { font-size: 0.8125rem; font-weight: 600; line-height: 1.5; }
.p136-bag__meta { font-size: 0.75rem; color: var(--p136-muted); }
.p136-bag__foot { display: grid; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--p136-line-soft); background: #fff; }
.p136-bag__sum { display: grid; gap: 6px; margin: 0; font-size: 0.8125rem; }
.p136-bag__sum > div { display: flex; justify-content: space-between; gap: 12px; }
.p136-bag__sum dt { color: var(--p136-muted); }
.p136-bag__sum dd { margin: 0; }
.p136-bag__sum .is-strong { font-size: 0.9375rem; font-weight: 800; }
.p136-bag__sum .is-strong dt { color: var(--p136-ink); }
@media (max-width: 734px) {
  .p136-bag { inset-inline: 12px; width: auto; }
}

/* Search overlay ----------------------------------------------------------------------- */
dialog.p136-search {
  width: 100%;
  max-width: none;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  color: var(--p136-ink);
  overflow: auto;
  inset-block-start: 0;
}
dialog.p136-search::backdrop { background: rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.p136-search[open] { animation: p136-search-in var(--p136-t-med) var(--p136-ease-out); }
@keyframes p136-search-in { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.p136-search__inner { padding-block: 16px 40px; min-height: min(60vh, 480px); }
.p136-search__form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block-end: 10px;
  border-bottom: 1px solid var(--p136-line);
  max-width: 720px;
  margin-inline: auto;
}
.p136-search__form .p136-uicon { width: 22px; height: 22px; color: var(--p136-muted); flex: none; }
.p136-search__form input[type="search"] {
  flex: 1;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 700;
}
.p136-search__form input[type="search"]:focus { box-shadow: none; }
.p136-search__form input[type="search"]::-webkit-search-cancel-button { display: none; }
.p136-search__quick, .p136-search__results { max-width: 720px; margin: 20px auto 0; }
.p136-search__label { margin-block-end: 8px; color: var(--p136-faint); font-size: 0.75rem; font-weight: 600; }
.p136-search__quick ul { display: grid; gap: 4px; }
.p136-search__quick a { display: inline-flex; padding-block: 4px; color: var(--p136-ink); font-size: 1rem; font-weight: 600; }
.p136-search__quick a:hover { color: var(--p136-accent); text-decoration: none; }
.p136-search__results { display: grid; gap: 4px; }
.p136-search__hit {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  color: var(--p136-ink);
  animation: p136-fade-up 320ms var(--p136-ease-out) both;
  animation-delay: calc(var(--i, 0) * 35ms);
}
.p136-search__hit:hover, .p136-search__hit[aria-selected="true"] { background: var(--p136-surface); text-decoration: none; }
.p136-search__hit img { width: 60px; height: 46px; object-fit: contain; }
.p136-search__hit-title { font-size: 0.9375rem; font-weight: 700; line-height: 1.5; }
.p136-search__hit-meta { font-size: 0.75rem; color: var(--p136-muted); }
.p136-search__hit-price { font-size: 0.8125rem; color: var(--p136-ink-2); white-space: nowrap; }
.p136-search__empty { padding-block: 24px; color: var(--p136-muted); }
.p136-search__all { display: inline-flex; margin-block-start: 12px; }
@keyframes p136-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 734px) {
  .p136-search__hit { grid-template-columns: 56px 1fr; }
  .p136-search__hit-price { grid-column: 2; }
  .p136-search__hit img { width: 56px; height: 48px; }
}

/* Mobile drawer -------------------------------------------------------------------------- */
dialog.p136-drawer {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0 var(--p136-gutter) 32px;
  border: 0;
  background: #fff;
  color: var(--p136-ink);
  overflow-y: auto;
}
dialog.p136-drawer::backdrop { background: transparent; }
dialog.p136-drawer[open] { animation: p136-drawer-in var(--p136-t-med) var(--p136-ease-out); }
@keyframes p136-drawer-in { from { opacity: 0; } to { opacity: 1; } }
.p136-drawer__bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--p136-header-h); }
.p136-drawer__search { position: relative; display: flex; align-items: center; margin-block: 8px 20px; }
.p136-drawer__search .p136-uicon { position: absolute; inset-inline-start: 14px; color: var(--p136-muted); width: 20px; height: 20px; }
.p136-drawer__search input { min-height: 40px; padding-inline-start: 44px; border-radius: 12px; background: var(--p136-surface); border-color: transparent; }
.p136-drawer__nav ul { display: grid; }
.p136-drawer__nav li { opacity: 0; }
dialog.p136-drawer[open] .p136-drawer__nav li {
  animation: p136-drawer-item 520ms var(--p136-ease-out) both;
  animation-delay: calc(120ms + var(--i, 0) * 45ms);
}
@keyframes p136-drawer-item { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.p136-drawer__nav a { display: block; padding-block: 8px; color: var(--p136-ink); font-size: 1.375rem; font-weight: 700; }
.p136-drawer__nav a:hover { text-decoration: none; color: var(--p136-accent); }
.p136-drawer__minor { margin-block-start: 22px; padding-block-start: 18px; border-top: 1px solid var(--p136-line-soft); }
.p136-drawer__minor a { padding-block: 5px; font-size: 0.9375rem; font-weight: 600; color: var(--p136-ink-2); }
.p136-drawer__phone { margin-block-start: 20px; color: var(--p136-muted); font-size: 0.8125rem; }
@media (min-width: 1069px) { dialog.p136-drawer { display: none; } }

/* Footer --------------------------------------------------------------------------------------- */
.p136-footer {
  margin-block-start: var(--p136-section);
  padding-block: 24px 28px;
  background: var(--p136-surface);
  color: var(--p136-muted);
  font-size: 0.75rem;
  line-height: 1.8;
}
.p136-footer a { color: var(--p136-ink-2); }
.p136-footer a:hover { color: var(--p136-accent); }
.p136-footer__notes { display: grid; gap: 4px; padding-block-end: 14px; font-size: 0.75rem; border-bottom: 1px solid var(--p136-line); }
.p136-footer__notes strong { color: var(--p136-ink-2); }
.p136-footer__dir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--p136-line); font-size: 0.75rem; }
.p136-fcol summary { margin-block-end: 8px; color: var(--p136-ink); font-size: 0.75rem; font-weight: 700; list-style: none; cursor: default; }
.p136-fcol summary::-webkit-details-marker { display: none; }
.p136-fcol ul { display: grid; gap: 6px; }
.p136-fcol address { display: grid; gap: 6px; font-style: normal; }
.p136-footer__legal { display: grid; gap: 4px; padding-block-start: 14px; font-size: 0.75rem; }
.p136-footer__minor { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-block-start: 6px; }
.p136-footer__credit { color: var(--p136-faint); }

@media (max-width: 1068px) {
  .p136-footer__dir { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 734px) {
  .p136-footer__dir { display: block; padding-block: 8px; }
  .p136-fcol { border-bottom: 1px solid var(--p136-line); }
  .p136-fcol:last-child { border-bottom: 0; }
  .p136-fcol summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding-block: 12px;
    font-size: 0.8125rem;
    cursor: pointer;
  }
  .p136-fcol summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; line-height: 1; transition: transform var(--p136-t-med) var(--p136-ease); }
  .p136-fcol[open] summary::after { transform: rotate(45deg); }
  .p136-fcol ul, .p136-fcol address { padding-block-end: 16px; }
}

/* Floating specialist button ------------------------------------------------------------------- */
.p136-help-float {
  position: fixed;
  inset-inline-end: 20px;
  inset-block-end: var(--p136-float-bottom, 20px);
  z-index: var(--p136-z-sticky);
  display: grid;
  justify-items: end;
  gap: 10px;
}
.p136-help-float__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--p136-r-pill);
  background: rgba(29, 29, 31, 0.9);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform var(--p136-t-fast) var(--p136-ease), background-color var(--p136-t-fast) var(--p136-ease);
}
.p136-help-float__btn:hover { background: #000; }
.p136-help-float__btn:active { transform: scale(0.96); }
.p136-help-float__btn .p136-uicon { width: 18px; height: 18px; }
.p136-help-float__panel {
  width: min(264px, 100vw - 40px);
  padding: 10px;
  border: 1px solid var(--p136-line-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--p136-shadow-md);
  animation: p136-fade-up 260ms var(--p136-ease-out) both;
}
.p136-help-float__lead { padding: 2px 6px 8px; font-size: 0.75rem; color: var(--p136-muted); }
.p136-help-float__row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--p136-ink); font-size: 0.8125rem; font-weight: 600; }
.p136-help-float__row:hover { background: var(--p136-surface); text-decoration: none; }
.p136-help-float__row small { display: block; font-weight: 400; color: var(--p136-muted); }
.p136-help-float__row .p136-uicon { width: 22px; height: 22px; color: var(--p136-accent); }
@media (max-width: 734px) {
  .p136-help-float { inset-inline-end: 14px; inset-block-end: var(--p136-float-bottom, 14px); }
  .p136-help-float__btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .p136-help-float__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}
@media print { .p136-help-float, .p136-header, .p136-ribbon { display: none; } }

/* While a flyout is open the bar turns opaque so the dimmed page does not tint it */
.p136-header:has(.p136-flyouts.is-open) .p136-bar,
.p136-header:has(.p136-bag.is-open) .p136-bar { background: rgba(255, 255, 255, 0.98); }

/* trust */
/*
 * Trust: Google rating badge + reviews section, footer trust marks (Enamad & co.) and social icons.
 * Global file because the ribbon badge and footer appear on every page. Persian digits are never
 * styled with tabular figures (they space apart).
 */

/* Stars ------------------------------------------------------------------- */
.p136-stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 0.08em; white-space: nowrap; vertical-align: middle; }
.p136-stars__base { color: #d2d2d7; }
.p136-stars__fill {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--fill, 100%);
  overflow: hidden;
  color: #f5a623;
}

.p136-gword { display: inline-flex; font-weight: 700; letter-spacing: 0; unicode-bidi: isolate; }

/* Compact badge (ribbon, footer) ------------------------------------------------- */
.p136-gbadge { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: 0.75rem; }
.p136-gbadge:hover { text-decoration: none; }
.p136-gbadge:hover .p136-gbadge__meta { text-decoration: underline; text-underline-offset: 3px; }
.p136-gbadge__score { font-weight: 800; color: var(--p136-ink); }
.p136-gbadge .p136-stars { font-size: 0.8125rem; }
.p136-gbadge__meta { color: var(--p136-muted); }
@media (max-width: 734px) { .p136-gbadge--ribbon .p136-stars { display: none; } }

/* Testimonials slider (home): the title and the cards, nothing else ---------------------- */
.p136-testi { background: var(--p136-surface); overflow: clip; }
.p136-testi .p136-headline { margin-block-end: var(--p136-s6); }
/* The scroller is never wider than the content column (--p136-wide). On wide or zoomed-out screens the
   cards that cross the column border are hidden behind the page colour and slide into view as the row
   moves; on narrower screens it stays full-bleed. Edges fade so cards glide in and out. */
.p136-testi__viewport {
  width: min(100%, var(--p136-wide));
  margin-inline: auto;
  overflow: clip;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.p136-testi__track {
  display: flex;
  gap: 16px;
  padding-block: 4px;
  padding-inline: max(var(--p136-gutter), calc((min(100vw, var(--p136-wide)) - var(--p136-page)) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--p136-gutter), calc((min(100vw, var(--p136-wide)) - var(--p136-page)) / 2));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.p136-testi__track::-webkit-scrollbar { display: none; }
.p136-testi__card {
  display: flex;
  flex: 0 0 min(340px, 82vw);
  flex-direction: column;
  gap: 14px;
  min-height: 236px;
  padding: 22px;
  border-radius: var(--p136-r-lg);
  background: #fff;
  scroll-snap-align: start;
}
.p136-testi__card .p136-stars { font-size: 0.9375rem; }
.p136-testi__card blockquote {
  margin: 0;
  color: var(--p136-ink-2);
  font-size: 0.9375rem;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p136-testi__card footer { display: flex; align-items: center; gap: 12px; margin-block-start: auto; }
.p136-review__avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--p136-surface); color: var(--p136-ink-2); font-weight: 700; font-size: 0.9375rem; }
.p136-testi__card footer strong { display: block; font-size: var(--p136-fs-small); }
.p136-testi__card footer small { display: block; color: var(--p136-muted); font-size: var(--p136-fs-tiny); }
@media (max-width: 734px) {
  .p136-testi__viewport { -webkit-mask-image: none; mask-image: none; }
}

/* Footer: trust marks + social icons ---------------------------------------------- */
.p136-trustzone { display: grid; gap: 18px; padding-block: 28px; border-block-start: 1px solid var(--p136-line); }
.p136-trustzone__title { font-size: 0.75rem; font-weight: 700; color: var(--p136-muted); }
.p136-badges { display: grid; grid-template-columns: repeat(auto-fill, 132px); justify-content: start; gap: 12px; }
.p136-badges > li { min-width: 0; display: flex; }
.p136-badge-tile {
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 10px;
  border: 1px solid var(--p136-line-soft);
  border-radius: var(--p136-r-md);
  background: #fff;
  color: var(--p136-ink-2);
  text-align: center;
  transition: border-color var(--p136-t-fast) var(--p136-ease), box-shadow var(--p136-t-fast) var(--p136-ease), transform var(--p136-t-fast) var(--p136-ease);
}
.p136-badge-tile:hover { text-decoration: none; border-color: var(--p136-line); box-shadow: var(--p136-shadow-md); transform: translateY(-2px); }
.p136-badge-tile__logo { display: grid; place-items: center; min-height: 96px; width: 100%; background: var(--fallback, none) center / 64px no-repeat; }
.p136-badge-tile__logo img { width: auto; max-width: 100%; max-height: 96px; object-fit: contain; }
.p136-badge-tile__cap { font-size: 0.6875rem; line-height: 1.6; color: var(--p136-muted); }
.p136-badge-tile--google { align-content: center; gap: 6px; }
.p136-badge-tile--google strong { font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--p136-ink); }
.p136-badge-tile--google .p136-stars { font-size: 0.9375rem; }
.p136-badge-tile--google > span:last-child { font-size: 0.6875rem; color: var(--p136-muted); line-height: 1.7; }

.p136-social { display: flex; flex-wrap: wrap; gap: 10px; }
.p136-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--p136-line-soft);
  border-radius: var(--p136-r-pill);
  background: #fff;
  color: var(--p136-ink-2);
  font-size: var(--p136-fs-small);
  font-weight: 600;
  transition: border-color var(--p136-t-fast) var(--p136-ease), background-color var(--p136-t-fast) var(--p136-ease);
}
.p136-social a:hover { text-decoration: none; border-color: var(--p136-ink); }
.p136-social img { width: 22px; height: 22px; }

@media (max-width: 734px) {
  /* two even columns; every tile the same width, tall enough for its caption */
  .p136-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p136-badge-tile__logo { min-height: 84px; }
  .p136-badge-tile__logo img { max-height: 84px; }
  .p136-social a span { display: none; }
  .p136-social a { padding: 8px; min-width: 44px; justify-content: center; }
}

/* page */
/* Generic pages, About, Contact, Policies hub, Trade-in, 404 and search. */

.p136-page__head { padding-block: clamp(32px, 4.5vw, 56px) 16px; }
.p136-page__head .p136-lead { margin-block-start: 10px; font-size: 1.125rem; }
.p136-page .p136-prose { padding-block-end: var(--p136-section); }
.p136-page .p136-prose > .p136-band { margin-inline: 0; }

/* Wide bands used inside seeded pages */
.p136-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-block: 24px; }
.p136-fact { padding: 18px; border-radius: var(--p136-r-md); background: var(--p136-surface); }
.p136-fact b { display: block; font-size: 1.375rem; line-height: 1.3; color: var(--p136-brand); }
.p136-fact span { color: var(--p136-muted); font-size: 0.875rem; line-height: 1.7; }

/* About timeline */
.p136-tl { position: relative; display: grid; gap: 22px; margin-block: 24px; padding-inline-start: 28px; border-inline-start: 2px solid var(--p136-line); }
.p136-tl > div { position: relative; }
.p136-tl > div::before { content: ""; position: absolute; inset-inline-start: -35px; inset-block-start: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--p136-brand); box-shadow: 0 0 0 4px #fff; }
.p136-tl b { display: block; font-size: 1.0625rem; }
.p136-tl p { color: var(--p136-muted); font-size: 0.9375rem; line-height: 1.85; }

/* Contact cards */
.p136-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-block: 24px; }
.p136-contact__card { display: grid; align-content: start; gap: 4px; padding: 20px; border-radius: var(--p136-r-md); background: var(--p136-surface); color: var(--p136-ink); }
a.p136-contact__card:hover { text-decoration: none; background: var(--p136-line-soft); }
.p136-contact__card .p136-icon, .p136-contact__card .p136-uicon { width: 22px; height: 22px; color: var(--p136-accent); margin-block-end: 4px; }
.p136-contact__card small { color: var(--p136-muted); font-size: 0.75rem; }
.p136-contact__card strong { font-size: 1rem; line-height: 1.7; }

/* Policies hub */
.p136-policy-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 8px 12px; }
.p136-policy { scroll-margin-top: calc(var(--p136-header-h) + 32px); padding: 22px; border-radius: var(--p136-r-lg); background: var(--p136-surface); }
.p136-policy + .p136-policy { margin-block-start: 14px; }
.p136-policy h2 { margin: 0 0 10px; font-size: 1.25rem; }
.p136-policy p, .p136-policy li { font-size: 0.9375rem; line-height: 1.9; color: var(--p136-ink-2); }
.p136-policy ul { margin-block-start: 8px; }
.p136-policy .p136-note { margin-block-start: 12px; padding: 12px 16px; border-radius: 12px; background: #fff; font-size: 0.8125rem; color: var(--p136-muted); }

/* Trade-in */
.p136-steps-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-block: 24px; counter-reset: s; }
.p136-steps-inline > div { position: relative; padding: 20px; border-radius: var(--p136-r-md); background: var(--p136-surface); counter-increment: s; }
.p136-steps-inline > div::before { content: counter(s, persian); display: block; margin-block-end: 6px; font-size: 1.625rem; font-weight: 800; line-height: 1; color: var(--p136-brand); }
.p136-steps-inline b { display: block; margin-block-end: 4px; }
.p136-steps-inline span { color: var(--p136-muted); font-size: 0.875rem; line-height: 1.8; }

/* 404 + search */
.p136-notfound, .p136-search-page { padding-block: clamp(36px, 5vw, 64px) var(--p136-section); }
.p136-notfound .p136-headline, .p136-search-page .p136-headline { margin-block: 6px 20px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.p136-notfound__search { display: flex; gap: 8px; max-width: 560px; margin: 0 auto 20px; }
.p136-search-page .p136-notfound__search { margin-inline: 0; }
.p136-notfound__search input { flex: 1; min-height: 44px; border-radius: var(--p136-r-pill); padding-inline: 20px; }
.p136-notfound__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-block: 8px 20px; }
.p136-search-page__label { margin-block: 28px 4px; font-size: 1rem; color: var(--p136-muted); }
.p136-search-page__rows { display: grid; margin-block-start: 12px; }
.p136-search-page__rows a { display: grid; gap: 2px; padding-block: 12px; border-bottom: 1px solid var(--p136-line-soft); color: var(--p136-ink); }
.p136-search-page__rows a:hover { text-decoration: none; color: var(--p136-accent); }
.p136-search-page__rows span { color: var(--p136-muted); font-size: 0.8125rem; }

/* journal */
/* Journal: newsroom index, cards, article template. */

.p136-journal__head { padding-block: clamp(32px, 4.5vw, 56px) 16px; }
.p136-journal__head .p136-headline { max-width: 20ch; margin-block-start: 6px; }
.p136-journal__chips { display: flex; gap: 8px; margin-block-start: 20px; padding-block-end: 4px; }

/* Card */
.p136-jcard { min-width: 0; max-width: 100%; }
.p136-jcard__link { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; gap: 12px; height: 100%; min-width: 0; color: var(--p136-ink); }
.p136-jcard__link:hover { text-decoration: none; }
.p136-jcard__img { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--p136-r-md); background: var(--p136-surface); }
.p136-jcard__img img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: cover; transition: transform var(--p136-t-slow) var(--p136-ease-out); }
.p136-jcard__link:hover .p136-jcard__img img { transform: scale(1.04); }
.p136-jcard__body { display: grid; align-content: start; gap: 6px; }
.p136-jcard__meta { color: var(--p136-muted); font-size: 0.75rem; }
.p136-jcard__meta b { color: var(--p136-accent); font-weight: 700; }
.p136-jcard__title { font-size: 1rem; line-height: 1.6; font-weight: 700; }
.p136-jcard__link:hover .p136-jcard__title { color: var(--p136-accent); }
.p136-jcard__excerpt { color: var(--p136-ink-2); font-size: 0.875rem; line-height: 1.85; }
.p136-jcard__read { color: var(--p136-faint); font-size: 0.75rem; }

/* Featured (newsroom hero) */
.p136-jcard--lg { margin-block-end: clamp(28px, 4vw, 48px); }
.p136-jcard--lg .p136-jcard__link { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.p136-jcard--lg .p136-jcard__img { aspect-ratio: 16 / 10; border-radius: var(--p136-r-lg); }
.p136-jcard--lg .p136-jcard__title { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); line-height: 1.45; font-weight: 800; }
.p136-jcard--lg .p136-jcard__meta { font-size: 0.8125rem; }
@media (max-width: 1068px) { .p136-jcard--lg .p136-jcard__link { grid-template-columns: minmax(0, 1fr); } }

.p136-jgrid, .p136-jrow__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px 20px; min-width: 0; }
@media (min-width: 1069px) { .p136-jgrid, .p136-jrow__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p136-jrow__head { margin-block-end: 28px; }
.p136-jrow__head .p136-headline { margin: 0; }
.p136-journal .p136-pagination, .p136-search-page .p136-pagination { margin-block: 40px; }

/* Article */
.p136-article__head { padding-block: clamp(28px, 4.5vw, 56px) 16px; }
.p136-article__title { margin-block: 6px 12px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.5; font-weight: 800; letter-spacing: -0.01em; }
.p136-article__meta { color: var(--p136-muted); font-size: 0.8125rem; }
.p136-article__cover { margin-block: 8px 28px; }
.p136-article__cover img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--p136-r-lg); }
.p136-related { padding-block: var(--p136-section); background: var(--p136-surface); margin-block-start: var(--p136-section); }
.p136-related .p136-hcard__link { background: #fff; }

/* Long-form text (also used by generic pages) */
.p136-prose { font-size: 1rem; line-height: 1.95; color: var(--p136-ink); }
.p136-prose > * + * { margin-block-start: 1.1em; }
.p136-prose h2 { margin-block-start: 1.8em; font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); line-height: 1.5; }
.p136-prose h3 { margin-block-start: 1.5em; font-size: 1.125rem; line-height: 1.6; }
.p136-prose a { text-decoration: underline; text-underline-offset: 4px; }
.p136-prose img, .p136-prose figure { max-width: 100%; height: auto; border-radius: var(--p136-r-md); }
.p136-prose figure { margin-inline: 0; }
.p136-prose figcaption { margin-block-start: 8px; color: var(--p136-muted); font-size: 0.8125rem; }
.p136-prose ul, .p136-prose ol { padding-inline-start: 1.4em; list-style: revert; }
.p136-prose li + li { margin-block-start: 0.4em; }
.p136-prose blockquote { margin-inline: 0; padding: 4px 24px; border-inline-start: 4px solid var(--p136-brand); color: var(--p136-ink-2); font-size: 1.0625rem; }
.p136-prose table { display: block; overflow-x: auto; font-size: 0.9375rem; }
.p136-prose th, .p136-prose td { padding: 10px 14px; border: 1px solid var(--p136-line-soft); text-align: start; }
.p136-prose th { background: var(--p136-surface); }
.p136-prose iframe, .p136-prose video { max-width: 100%; border-radius: var(--p136-r-md); }
.p136-prose .wp-block-image img { height: auto; }
.p136-prose [style*="font-size"] { font-size: inherit !important; }

