:root {
  --pym-bg: #f7faf9;
  --pym-surface: #ffffff;
  --pym-surface-2: #f0f7f5;
  --pym-text: #12211f;
  --pym-muted: #6b7c78;
  --pym-border: #e2ebe8;
  --pym-border-strong: #cddbd7;
  --pym-primary: #13b8a6;
  --pym-primary-dark: #0f9386;
  --pym-primary-soft: #e8fbf8;
  --pym-success: #22a06b;
  --pym-danger: #e5484d;
  --pym-warning: #f4b860;
  --pym-radius-xs: 10px;
  --pym-radius-sm: 14px;
  --pym-radius-md: 18px;
  --pym-radius-lg: 24px;
  --pym-radius-xl: 30px;
  --pym-shadow-sm: 0 10px 28px rgba(18, 33, 31, .06);
  --pym-shadow-md: 0 18px 52px rgba(18, 33, 31, .10);
  --pym-shadow-soft: 0 1px 0 rgba(18, 33, 31, .04), 0 20px 60px rgba(18, 33, 31, .06);
  --pym-shell: min(1180px, calc(100vw - 32px));
  --pym-header-height: 132px;
  --pym-font: 'YekanBakhFaNum', 'IRANYekanX', 'IRANSansX', 'Vazirmatn', iranyekan, vazirmatn, yekanbakh, tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  direction: rtl;
  background: var(--pym-bg);
  color: var(--pym-text);
  font-family: var(--pym-font);
  font-size: 15px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.pym-lock-scroll { overflow: hidden; touch-action: none; }
a { color: inherit; text-decoration: none; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
a:hover { color: var(--pym-primary-dark); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
body.pym-blinds-theme,
body.pym-blinds-theme button,
body.pym-blinds-theme input,
body.pym-blinds-theme textarea,
body.pym-blinds-theme select,
body.pym-blinds-theme .button,
body.pym-blinds-theme .woocommerce {
  font-family: var(--pym-font) !important;
}
button { cursor: pointer; }
::selection { background: rgba(19,184,166,.18); color: var(--pym-text); }

.pym-shell { width: var(--pym-shell); margin-inline: auto; }
.pym-site { min-height: 100vh; display: flex; flex-direction: column; }
.pym-site-main { flex: 1; }
.pym-page-section { padding: 52px 0; }
.pym-content-shell { max-width: 900px; }
.screen-reader-text, .skip-link {
  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:focus {
  top: 12px; right: 12px; z-index: 99999;
  width: auto; height: auto; padding: 10px 14px;
  background: var(--pym-text); color: #fff;
  clip: auto; border-radius: var(--pym-radius-sm);
}

.pym-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.pym-section-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--pym-primary-dark);
  background: var(--pym-primary-soft);
  border: 1px solid rgba(19,184,166,.14);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
.pym-section-heading { margin-bottom: 22px; }
.pym-section-heading h2 { margin: 10px 0 0; font-size: clamp(22px, 3vw, 34px); line-height: 1.35; letter-spacing: -.02em; }

.pym-entry, .pym-post-card {
  background: var(--pym-surface);
  border: 1px solid var(--pym-border);
  border-radius: var(--pym-radius-lg);
  box-shadow: var(--pym-shadow-sm);
  padding: clamp(20px, 3vw, 34px);
}
.pym-entry__header h1, .pym-post-card__title { margin: 0 0 18px; font-size: clamp(24px, 4vw, 40px); line-height: 1.35; }
.pym-entry__content > *:first-child { margin-top: 0; }
.pym-entry__content a { color: var(--pym-primary-dark); font-weight: 650; }

input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], textarea, select {
  width: 100%; min-height: 46px;
  border: 1px solid var(--pym-border);
  border-radius: var(--pym-radius-sm);
  background: #fff;
  color: var(--pym-text);
  padding: 0 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
textarea { padding-block: 12px; min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(19,184,166,.65);
  box-shadow: 0 0 0 4px rgba(19,184,166,.12);
}

.pym-btn, .button, button[type="submit"], input[type="submit"] {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 650;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
}
.pym-btn--primary, .button.alt, .single_add_to_cart_button, .checkout-button {
  background: linear-gradient(135deg, var(--pym-primary), var(--pym-primary-dark));
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(19,184,166,.22);
}
.pym-btn--primary:hover, .button.alt:hover, .single_add_to_cart_button:hover, .checkout-button:hover { transform: translateY(-1px); color: #fff !important; }
.pym-btn--secondary, .button:not(.alt) { background: #fff; color: var(--pym-text); border-color: var(--pym-border); }
.pym-btn--secondary:hover, .button:not(.alt):hover { border-color: rgba(19,184,166,.35); color: var(--pym-primary-dark); }
.pym-btn--block { width: 100%; }

.pym-admin-soft-notice {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(244,184,96,.35);
  border-radius: var(--pym-radius-md);
  background: #fff9ed;
  color: #74501c;
  font-size: 13px;
}

/* v1.2.3 — stronger local font inheritance for all Persian content blocks. */
body.pym-blinds-theme :where(p, li, dd, dt, figcaption, blockquote, label, small, strong, b, em, mark, table, th, td, input, textarea, select, button),
body.pym-blinds-theme :where(.woocommerce, .woocommerce p, .woocommerce li, .woocommerce label, .woocommerce table, .woocommerce input, .woocommerce button),
body.pym-blinds-theme :where(.pym-product-landing, .pym-product-landing p, .pym-product-landing li),
body.pym-blinds-theme :where(.pym-blinds-wrap, .pym-blinds-wrap p, .pym-blinds-wrap li, .pym-blinds-wrap button, .pym-blinds-wrap input) {
  font-family: var(--pym-font);
}

/* v1.2.4 — paragraph font hardening without broad global resets. */
body.pym-blinds-theme :where(.pym-site-main p, .entry-content p, .woocommerce p, .pym-product-landing p, .pym-blinds-wrap p) {
  font-family: var(--pym-font) !important;
}


/* v1.2.6 — keep gradient button text white during hover and disabled states. */
body.pym-blinds-theme :where(.pym-btn--primary, .button.alt, .single_add_to_cart_button, .checkout-button),
body.pym-blinds-theme :where(.pym-btn--primary, .button.alt, .single_add_to_cart_button, .checkout-button):hover,
body.pym-blinds-theme :where(.pym-btn--primary, .button.alt, .single_add_to_cart_button, .checkout-button):focus,
body.pym-blinds-theme :where(.pym-btn--primary, .button.alt, .single_add_to_cart_button, .checkout-button):disabled,
body.pym-blinds-theme :where(.pym-btn--primary, .button.alt, .single_add_to_cart_button, .checkout-button)[disabled] {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
