/* 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; }
}

/* buy */
/* Family buy page: sticky gallery (right in RTL), stepped configuration (left), sticky summary. */

.p136-notices:empty { display: none; }
.p136-buy { --buy-top: calc(var(--p136-header-h) + 20px); padding-block-end: var(--p136-s7); }
.p136-buy__crumbs { padding-block: 12px 0; font-size: var(--p136-fs-small); }

/* Without JS the configurator can't work: hide it and let the <noscript> list take over. */
html:not(.p136-js) .p136-steps,
html:not(.p136-js) .p136-summary,
html:not(.p136-js) .p136-soldout-box,
html:not(.p136-js) .p136-buybar { display: none; }

/* Sticky title bar --------------------------------------------------------------- */
.p136-buybar {
  position: sticky;
  top: var(--p136-header-h);
  z-index: var(--p136-z-sticky);
  height: 52px;
  margin-block-end: -52px;
  border-bottom: 1px solid var(--p136-line-soft);
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: opacity var(--p136-t-med) var(--p136-ease), transform var(--p136-t-med) var(--p136-ease-out);
}
.p136-buybar.is-compact { opacity: 1; transform: none; pointer-events: auto; }
.p136-buybar__inner { display: flex; align-items: center; gap: 20px; height: 100%; }
.p136-buybar__name { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.p136-buybar__name strong { font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p136-buybar__price { color: var(--p136-ink-2); font-size: var(--p136-fs-small); white-space: nowrap; }
.p136-buybar__deposit { margin-inline-start: auto; color: var(--p136-muted); font-size: var(--p136-fs-small); white-space: nowrap; }
.p136-buybar__chips { display: flex; gap: 14px; color: var(--p136-muted); font-size: var(--p136-fs-small); }
.p136-buybar__chips li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.p136-buybar__chips .p136-icon { width: 14px; height: 14px; }

/* Grid ------------------------------------------------------------------------------- */
.p136-buy__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-block-start: 8px;
  align-items: start;
}
.p136-buy__media { position: sticky; top: var(--buy-top); }
.p136-buy__config { min-width: 0; }

/* Gallery ---------------------------------------------------------------------------- */
.p136-gallery { display: grid; gap: 8px; }
.p136-gallery__stage {
  position: relative;
  height: min(70vh, 540px);
  border-radius: var(--p136-r-md);
  background: var(--p136-surface);
  overflow: hidden;
}
.p136-gallery__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.p136-gallery__track::-webkit-scrollbar { display: none; }
.p136-gallery__slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  height: 100%;
  padding: clamp(16px, 3vw, 32px);
  scroll-snap-align: center;
}
.p136-gallery__slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.p136-gallery__slide--film { padding: 0; background: #000; }
.p136-gallery__slide--film .p136-video { width: 100%; height: 100%; }
.p136-gallery__arrow {
  position: absolute;
  inset-block-end: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--p136-shadow-sm);
  color: var(--p136-ink);
  transition: transform var(--p136-t-fast) var(--p136-ease);
}
.p136-gallery__arrow .p136-icon { width: 16px; height: 16px; }
.p136-gallery__arrow:hover { transform: scale(1.06); }
.p136-gallery__arrow--next { inset-inline-end: 12px; }
.p136-gallery__arrow--prev { inset-inline-start: 12px; }
.p136-gallery__arrow--prev .p136-icon { transform: scaleX(-1); }
.p136-gallery__dots { display: flex; justify-content: center; gap: 0; min-height: 24px; }
.p136-gallery__dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; }
.p136-gallery__dot::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--p136-line);
  transition: background-color var(--p136-t-fast) var(--p136-ease), transform var(--p136-t-fast) var(--p136-ease);
}
.p136-gallery__dot[aria-current="true"]::before { background: var(--p136-ink); transform: scale(1.2); }

/* Intro ------------------------------------------------------------------------------- */
.p136-buy__intro { padding-block-end: 20px; }
.p136-buy__intro .p136-eyebrow { margin-block-end: 4px; }
.p136-buy__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: var(--p136-lh-display); font-weight: 800; }
.p136-buy__title strong, .p136-buy__title bdi { color: var(--p136-ink); }
.p136-buy__lead { margin-block-start: 8px; color: var(--p136-muted); font-size: var(--p136-fs-body); max-width: 44ch; }

/* Steps: one active stage, finished ones collapse to a row, upcoming ones only show a dim heading -- */
.p136-steps { display: grid; }
.p136-step {
  position: relative;
  padding-block: 24px;
  border-top: 1px solid var(--p136-line-soft);
  scroll-margin-top: calc(var(--p136-header-h) + 68px);
  transition: opacity var(--p136-t-med) var(--p136-ease);
}
.p136-step__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.p136-step__title { font-size: 1.5rem; line-height: 1.35; font-weight: 700; }
.p136-step__title strong { color: var(--p136-ink); font-weight: 800; }
.p136-step__title span { color: var(--p136-faint); font-weight: 600; }
.p136-step__summary { display: none; align-items: center; gap: 12px; margin: 0; font-weight: 600; font-size: var(--p136-fs-body); min-width: 0; }
.p136-step__value { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--p136-ink); }
.p136-step__value .p136-swatch { width: 14px; height: 14px; }
.p136-step__edit {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--p136-accent);
  font-size: var(--p136-fs-small);
  font-weight: 600;
  cursor: pointer;
}
.p136-step__edit:hover { text-decoration: underline; text-underline-offset: 3px; }
.p136-step__edit[hidden] { display: none; }
.p136-step__fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.p136-step__body { margin-block-start: 20px; }
.p136-step__next { display: none; margin-block-start: 16px; min-height: 40px; padding: 0 24px; border: 0; border-radius: var(--p136-r-pill); background: var(--p136-ink); color: #fff; font-weight: 600; font-size: 0.9375rem; cursor: pointer; }
.p136-step__next:hover { background: #000; }
.p136-step.is-active .p136-step__next { display: inline-flex; align-items: center; }
.p136-step .p136-help { margin-block-start: 12px; }

/* Active: full strength, options visible (fades in; nothing else moves) */
.p136-step.is-active .p136-step__body { animation: p136-stage-in var(--p136-t-med) var(--p136-ease-out); }
@keyframes p136-stage-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Done: one line, «رنگ · مشکی · تغییر» */
.p136-step.is-done { padding-block: 14px; cursor: pointer; }
.p136-step.is-done .p136-step__body { display: none; }
.p136-step.is-done .p136-step__title { flex: none; min-width: 96px; font-size: var(--p136-fs-small); font-weight: 600; color: var(--p136-muted); }
.p136-step.is-done .p136-step__title strong { color: var(--p136-muted); font-weight: 600; }
.p136-step.is-done .p136-step__title span, .p136-step.is-done .p136-step__dot { display: none; }
.p136-step.is-done .p136-step__head { flex-wrap: nowrap; align-items: center; }
.p136-step.is-done .p136-step__summary { display: flex; flex: 1; justify-content: space-between; }
.p136-step.is-done[data-single="1"] { cursor: default; }

/* Upcoming: just a dim heading */
.p136-step.is-upcoming { opacity: 0.35; padding-block: 18px; }
.p136-step.is-upcoming .p136-step__body { display: none; }
.p136-step.is-upcoming .p136-step__title { font-size: 1.125rem; }
.p136-step.is-upcoming .p136-step__title span { display: none; }

/* Scroll focus: while a step holds the eye, the others recede */
/* Finished rows are already muted (and must stay >= 4.5:1), so only an active step that left the eye's centre recedes. */
.p136-steps.has-focus .p136-step.is-active:not(.is-focus) { opacity: 0.6; }
.p136-steps.has-focus .p136-step.is-active:not(.is-focus):hover,
.p136-steps.has-focus .p136-step.is-active:not(.is-focus):focus-within { opacity: 1; }

.p136-choice__price:empty, .p136-choice__note:empty { display: none; }
.p136-choice__price { font-weight: 600; color: var(--p136-ink); }
.p136-choice__note { font-size: var(--p136-fs-small); color: var(--p136-warn); font-weight: 600; }
.p136-choice.is-soldout .p136-choice__body { background: var(--p136-surface-2); }
.p136-choice.is-soldout .p136-choice__title { color: var(--p136-ink-2); }
.p136-choice > input:disabled + .p136-choice__body .p136-choice__note { color: var(--p136-faint); }

/* Model: two-up cards */
.p136-choice-grid--model { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p136-choice-grid--model .p136-choice__body { min-height: 84px; }
/* Prices are filled in by JS: keep their line reserved so nothing moves when they appear. */
.p136-choice:not(.p136-choice--swatch) .p136-choice__price:empty { display: block; min-height: 1.4em; }
/* Capacity: compact grid */
.p136-choice-grid--capacity { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.p136-choice-grid--capacity .p136-choice__body { min-height: 96px; }
/* Status / edition / warranty: slim list rows, price on the far side */
.p136-choice-grid--list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.p136-choice-grid--list .p136-choice__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title price" "sub note";
  align-items: center;
  column-gap: 16px;
  min-height: 64px;
}
.p136-choice-grid--list .p136-choice__title { grid-area: title; }
.p136-choice-grid--list .p136-choice__sub { grid-area: sub; }
.p136-choice-grid--list .p136-choice__price { grid-area: price; justify-self: end; }
.p136-choice-grid--list .p136-choice__note { grid-area: note; justify-self: end; }

/* Colour swatches: circles with a name below (Apple "Finish") */
.p136-choice-grid--swatch { display: flex; flex-wrap: wrap; gap: 8px 4px; }
.p136-choice--swatch { flex: 0 0 auto; }
.p136-choice--swatch .p136-choice__body {
  align-items: center;
  min-height: 0;
  width: 84px;
  padding: 8px 4px;
  border: 0;
  border-radius: var(--p136-r-sm);
  background: transparent;
  text-align: center;
  gap: 8px;
}
.p136-choice--swatch:hover .p136-choice__body { border: 0; background: var(--p136-surface); }
.p136-choice--swatch .p136-swatch--lg { width: 40px; height: 40px; transition: box-shadow var(--p136-t-fast) var(--p136-ease); }
.p136-choice--swatch .p136-choice__title { font-size: var(--p136-fs-small); font-weight: 600; line-height: 1.4; }
.p136-choice--swatch > input:checked + .p136-choice__body { border: 0; box-shadow: none; }
.p136-choice--swatch > input:checked + .p136-choice__body .p136-swatch { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--p136-accent); }
.p136-choice--swatch > input:focus-visible + .p136-choice__body { outline: 3px solid var(--p136-focus); outline-offset: 2px; }
.p136-choice--swatch > input:disabled + .p136-choice__body { background: transparent; border: 0; opacity: 0.4; }

/* Colour finishes without a sampled hex: labelled chips instead of empty dots. */
.p136-choice--chip { flex: 0 0 auto; }
.p136-choice--chip .p136-choice__body { min-height: 44px; padding: 8px 18px; border-radius: var(--p136-r-pill); flex-direction: row; align-items: center; }
.p136-choice-grid--swatch .p136-choice--chip .p136-choice__title { font-size: 0.9375rem; }

/* Summary: compact bar (name + total + add) that expands into the full breakdown ------------- */
.p136-summary {
  position: sticky;
  bottom: 16px;
  z-index: var(--p136-z-sticky);
  margin-block-start: 24px;
  padding: 10px 16px;
  border: 1px solid var(--p136-line-soft);
  border-radius: var(--p136-r-md);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  box-shadow: var(--p136-shadow-md);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "detail detail" "toggle cta" "error error";
  align-items: center;
  gap: 4px 16px;
}
.p136-summary__toggle {
  grid-area: toggle;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: start;
  cursor: pointer;
}
.p136-summary__detail { grid-area: detail; display: none; padding-block-end: 8px; }
.p136-summary.is-open .p136-summary__detail { display: block; }
.p136-summary__cta { grid-area: cta; display: grid; gap: 8px; }
.p136-summary__cta .p136-btn { width: auto; min-width: 160px; }
.p136-summary__error { grid-area: error; margin-block-start: 6px; color: var(--p136-danger); font-size: var(--p136-fs-small); font-weight: 600; }
.p136-summary__mini { display: grid; gap: 0; flex: 1; min-width: 0; min-height: 44px; align-content: center; }
.p136-summary__label { color: var(--p136-muted); font-size: var(--p136-fs-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p136-summary__total { font-size: 1.125rem; line-height: 1.4; font-weight: 700; }
.p136-summary__total:empty { display: none; }
.p136-summary__chev { display: inline-block; flex: none; width: 8px; height: 8px; border: solid var(--p136-ink-2); border-width: 2px 2px 0 0; transform: rotate(-45deg); transition: transform var(--p136-t-med) var(--p136-ease); }
.p136-summary.is-open .p136-summary__chev { transform: rotate(135deg); }
.p136-summary__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 8px 4px; }
.p136-summary__chips .p136-chip { unicode-bidi: plaintext; min-height: 28px; font-size: var(--p136-fs-small); background: var(--p136-surface); border-color: transparent; }
.p136-summary__lines { margin-block: 8px; display: grid; gap: 6px; }
.p136-summary__lines > div { display: flex; justify-content: space-between; gap: 16px; font-size: 0.875rem; }
.p136-summary__lines dt { color: var(--p136-muted); }
.p136-summary__lines dd { font-weight: 600; }
.p136-summary__lines .is-strong dt { color: var(--p136-ink); font-weight: 700; }
.p136-summary__lines .is-strong dd { color: var(--p136-accent); font-weight: 700; }
.p136-summary__demo { margin-block-start: 8px; font-size: var(--p136-fs-small); color: var(--p136-muted); }
.p136-summary[data-state="soldout"] .p136-summary__total { display: none; }

/* Sold-out box */
.p136-soldout-box {
  display: grid;
  gap: 12px;
  margin-block: 24px;
  padding: 20px;
  border-radius: var(--p136-r-md);
  background: var(--p136-surface);
}
.p136-soldout-box h2 { font-size: var(--p136-fs-h4); }
.p136-soldout-box p { color: var(--p136-muted); font-size: 0.875rem; }
.p136-successors { display: grid; gap: 8px; }
.p136-successors a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--p136-r-sm);
  background: #fff;
  color: var(--p136-ink);
  font-size: 0.9375rem;
  font-weight: 600;
}
.p136-successors a span { color: var(--p136-muted); font-weight: 500; }
.p136-soldout-box .p136-btn { justify-self: start; }

/* Added-to-bag sheet ------------------------------------------------------------------ */
.p136-added__item { margin-block-end: 16px; font-weight: 600; color: var(--p136-ink-2); }
.p136-added__h { margin-block: 24px 12px; font-size: var(--p136-fs-h4); }
.p136-added__acc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.p136-added__acc a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--p136-r-sm); background: var(--p136-surface); color: var(--p136-ink); }
.p136-added__acc img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; flex: none; }
.p136-added__acc span { display: grid; font-size: 0.875rem; font-weight: 600; line-height: 1.5; }
.p136-added__acc small { color: var(--p136-muted); font-weight: 400; }

.p136-help-list { display: grid; gap: 16px; }
.p136-help-list dt { font-weight: 700; margin-block-end: 4px; }
.p136-help-list dd { color: var(--p136-ink-2); font-size: 0.9375rem; }
.p136-fine { margin-block-start: 16px; font-size: var(--p136-fs-small); }

/* No-JS list ---------------------------------------------------------------------------- */
.p136-native { padding-block: 24px; }
.p136-native__list { display: grid; gap: 8px; margin-block-start: 16px; }
.p136-native__list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--p136-r-sm); background: var(--p136-surface); }

/* Below the fold ------------------------------------------------------------------------- */
.p136-below { display: grid; gap: clamp(40px, 6vw, 64px); padding-block-start: var(--p136-section); }
.p136-below .p136-headline { margin-block-end: 16px; font-size: var(--p136-fs-h3); }
.p136-below .p136-card--pad { padding: var(--p136-s5); }
.p136-below .p136-accordion summary { padding-block: 16px; font-size: 1rem; }
.p136-below .p136-accordion .p136-accordion__body { padding-block-end: 20px; font-size: 0.9375rem; }
.p136-specs { display: grid; }
.p136-specs > div { display: grid; grid-template-columns: minmax(120px, 0.6fr) 1.4fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--p136-line-soft); font-size: 0.9375rem; }
.p136-specs dt { color: var(--p136-muted); }
.p136-specs dd { overflow-wrap: anywhere; }
.p136-prose ul { list-style: disc; padding-inline-start: 1.2em; display: grid; gap: 6px; }

/* Responsive ------------------------------------------------------------------------------ */
@media (max-width: 1068px) {
  .p136-buy__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .p136-buy__media { position: static; }
  .p136-gallery__stage { height: min(72vw, 420px); }
  .p136-buybar__chips, .p136-buybar__deposit { display: none; }
}

@media (max-width: 734px) {
  .p136-buy { padding-block-end: 96px; }
  .p136-buybar { height: 48px; margin-block-end: -48px; }
  .p136-buy__title { font-size: 1.5rem; }
  .p136-step { padding-block: 20px; scroll-margin-top: calc(var(--p136-header-h) + 60px); }
  .p136-step__title { font-size: 1.375rem; }
  .p136-step__body { margin-block-start: 16px; }
  .p136-choice-grid--model { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p136-choice-grid--capacity { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Bottom sheet summary */
  .p136-summary {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    margin: 0;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
    border-inline: 0;
    border-bottom: 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    gap: 4px 12px;
  }
  .p136-summary__total { font-size: 1.0625rem; }
  .p136-summary__cta .p136-btn { min-width: 0; padding-inline: 20px; }
  .p136-added__acc { grid-template-columns: minmax(0, 1fr); }
  .p136-specs > div { grid-template-columns: minmax(96px, 0.7fr) 1.3fr; }
  .p136-choice--swatch .p136-choice__body { width: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .p136-step, .p136-step.is-active .p136-step__body { transition: none; animation: none; }
}

/* Keep the floating specialist button clear of the sticky summary. */
html:has([data-p136-buy]) { --p136-float-bottom: 84px; }

