/* Clean foundation: accepted homepage style, system fallback, no remote assets. */

body{margin:0;font-family:'Vazirmatn',Tahoma,sans-serif;background:#F7F4EA;color:#1E2522}
a{color:inherit;text-decoration:none}
a:hover{opacity:.85}
/* TY-012C-004B: mobile-only layout; desktop untouched */
@media (max-width: 767px) {
  html,body { width:100%; overflow-x:hidden; }
  div[dir="rtl"] { width:100% !important; }
  div[dir="rtl"] > header > div { padding:14px 18px !important; gap:12px !important; }
  div[dir="rtl"] > header nav { order:3; width:100%; justify-content:center; gap:12px 18px !important; font-size:13px !important; }
  div[dir="rtl"] > section > div { padding:48px 18px !important; }
  div[dir="rtl"] > section:first-of-type > div { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:32px !important; }
  div[dir="rtl"] > section:first-of-type h1 { font-size:clamp(30px,8vw,42px) !important; line-height:1.55 !important; }
  div[dir="rtl"] > section:first-of-type p { font-size:15px !important; }
  div[dir="rtl"] > section > div > div[style*="grid-template-columns"] { grid-template-columns:minmax(0,1fr) !important; }
  div[dir="rtl"] > section h2 { font-size:clamp(25px,7vw,32px) !important; }
  div[dir="rtl"] > section > div > div[style*="grid-template-columns"] > * { min-width:0 !important; }
  div[dir="rtl"] > footer > div { padding:28px 18px !important; }
}

.ty-site{min-width:0}

/* TY-014A: shared responsive navigation; homepage layout otherwise preserved. */
.ty-site > header {position:sticky;top:0;z-index:100;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.ty-site header nav a[aria-current="location"] {text-decoration:underline;text-decoration-color:#D4AF6B;text-decoration-thickness:2px;text-underline-offset:7px}
.ty-menu-toggle{display:none;border:1px solid #004D3F;background:transparent;color:#004D3F;padding:7px 12px;font:inherit;cursor:pointer}
.ty-site a:focus-visible,.ty-menu-toggle:focus-visible{outline:3px solid #D4AF6B;outline-offset:3px}
.ty-site section[id]{scroll-margin-top:110px}
@media(max-width:767px){
 .ty-site > header > div {position:relative}
 .ty-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin-inline-start:auto}
 .ty-site > header nav {display:none !important;order:5 !important;width:100%;flex-direction:column;align-items:stretch;gap:0 !important;background:#F7F4EA;border-top:1px solid #E3DDC9;padding:8px 0}
 .ty-site > header nav.ty-menu-open {display:flex !important}
 .ty-site > header nav a{display:block;padding:11px 8px;min-height:44px}
 .ty-site section[id]{scroll-margin-top:160px}
}

/* TY-014D page navigation and interior responsive rules */
.ty-site header nav a[aria-current="page"]{border-bottom:3px solid #D4AF6B!important;text-decoration:none!important;padding-bottom:5px!important;color:#004D3F!important;font-weight:700!important}
.ty-site header nav a:focus-visible,.ty-menu-toggle:focus-visible{outline:3px solid #D4AF6B;outline-offset:3px}
.ty-site section{scroll-margin-top:90px}
@media(max-width:767px){.ty-interior section>div{max-width:100%!important;padding:34px 18px!important}.ty-interior section[style*="grid-template-columns"]{display:block!important;padding:24px 18px!important}.ty-interior section div[style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}.ty-interior h1{font-size:clamp(28px,7vw,38px)!important}.ty-interior aside{position:static!important;margin-top:20px}.ty-interior input,.ty-interior textarea{max-width:100%;box-sizing:border-box}}

/* TY-015A: shared visual refinement; intentionally no pricing logic. */
.ty-site{font-family:"B Yekan", "Vazirmatn", Tahoma, sans-serif!important}
.ty-site *, .ty-site *::before, .ty-site *::after{box-sizing:border-box}
.ty-site a,.ty-site button{transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.ty-site a:hover{color:#B48A3E}
.ty-site button:hover,.ty-site a[style*="background:#004D3F"]:hover{filter:brightness(1.09)}
.ty-site header nav a[aria-current="page"]{border-bottom:3px solid #D4AF6B!important;color:#004D3F!important;text-decoration:none!important}
.ty-site header nav a:not([aria-current="page"]):hover{border-bottom:2px solid #D4AF6B}
.ty-interior section>div[style*="max-width:1200px"]{width:100%}
.ty-interior section h1{line-height:1.35}
.ty-interior section h2{line-height:1.5}
.ty-interior input:not([type="checkbox"]),.ty-interior textarea,.ty-interior select,.ty-interior sc-raw-select{display:block;width:100%;max-width:100%;min-height:46px;padding:10px 14px;margin-top:8px;border:1px solid #CFC8B7;border-radius:6px;background:#fff;color:#173C33;font:inherit;direction:rtl}
.ty-interior textarea{min-height:150px;resize:vertical}
.ty-interior label{display:block;font-weight:600;color:#004D3F}
.ty-interior input:focus,.ty-interior textarea:focus,.ty-interior select:focus{outline:2px solid #D4AF6B;outline-offset:1px;border-color:#004D3F}
.ty-interior button{font:inherit;cursor:pointer}
.ty-interior section div[style*="background:#FFFFFF"]{border-radius:6px}
.ty-interior section div[style*="background:#FFFFFF"]:has(> h2){box-shadow:0 4px 20px rgba(0,50,35,.04)}
@media(max-width:767px){
 .ty-site header>div{padding:12px 16px!important}
 .ty-interior section[style*="display:grid"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;padding:28px 16px!important}
 .ty-interior section[style*="display:grid"]>div{min-width:0!important;padding:22px!important}
 .ty-interior section h1{font-size:clamp(27px,7vw,38px)!important}
 .ty-interior input,.ty-interior textarea{font-size:16px!important}
 .ty-site header nav a[aria-current="page"]{border-bottom:0!important;border-right:3px solid #D4AF6B!important;padding-right:14px!important}
}
@media(prefers-reduced-motion:reduce){.ty-site a,.ty-site button{transition:none}}

/* TY-015B interactive pricing */
.ty-pricing-note{max-width:1120px;margin:18px auto;padding:12px 20px;background:#fff4d5;border:1px solid #d4af6b}
.ty-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ty-package{display:flex;flex-direction:column;gap:7px;align-items:flex-start;text-align:right;padding:22px;border:2px solid #ded6c0;background:white;color:#004d3f;cursor:pointer;font:inherit}
.ty-package strong{font-size:21px}.ty-package span{font-size:14px}.ty-package small{color:#59675f}
.ty-package[aria-pressed="true"]{border-color:#d4af6b;background:#004d3f;color:white}.ty-package[aria-pressed="true"] small{color:#d4af6b}
.ty-pricing-disclosure,.ty-disclosure{font-size:13px;color:#56655e;line-height:1.9}
.ty-quote{background:white;border:2px solid #004d3f;padding:24px;position:sticky;top:90px;min-width:0}.ty-quote h3{color:#004d3f;margin:0;font-size:23px}
.ty-total{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:11px 0;border-top:1px solid #e3ddc9}.ty-total strong{color:#004d3f;text-align:left}
.ty-grand{border-top:2px solid #004d3f}.ty-payment{margin:14px 0}.ty-quote select{display:block;width:100%;min-height:42px;margin:5px 0 14px;padding:8px;background:#fff;border:1px solid #d9d2bb;font:inherit}
.ty-primary{display:block;text-align:center;background:#004d3f;color:white!important;padding:12px;margin:12px 0;font-weight:700}.ty-actions{display:flex;gap:10px}.ty-actions button{flex:1;cursor:pointer;background:white;color:#004d3f;border:1px solid #004d3f;padding:9px;font:inherit}
.ty-disabled{opacity:.55}.ty-quote button:focus-visible,.ty-package:focus-visible,.ty-quote select:focus-visible{outline:3px solid #d4af6b;outline-offset:2px}
@media(max-width:850px){.ty-packages{grid-template-columns:1fr}.ty-quote{position:static}}
@media print{header,footer,.ty-actions,.ty-primary,.ty-pricing-note{display:none!important}.ty-quote{position:static;break-inside:avoid}}

/* TY-018: pricing layout, category disclosures and bottom payment section */
.ty-service-category{background:#fff;border:1px solid #e3ddc9;margin-bottom:10px;border-radius:6px;overflow:hidden}
.ty-category-toggle{display:block;width:100%;padding:14px 22px;text-align:inherit;background:#efe9d6;color:#004d3f;border:0;font-weight:700;cursor:pointer}
.ty-category-entries[hidden]{display:none!important}
.ty-service-row{display:flex!important;align-items:center;gap:12px;padding:13px 16px;border-top:1px solid #efe9d6;color:#004d3f;cursor:pointer}
.ty-service-row input{width:20px;height:20px;flex:none;accent-color:#004d3f}
.ty-service-description{flex:1;min-width:0}.ty-service-description small{display:block;color:#5a675f;font-weight:400}.ty-service-price{white-space:normal;text-align:end;max-width:40%;font-size:13px}
.ty-payment-jump{display:block;border:1px dashed #004d3f;padding:11px;margin:12px 0;color:#004d3f;text-align:center;font-weight:700;text-decoration:none}
.ty-payment-section{max-width:1200px;margin:20px auto 38px;padding:26px 32px;scroll-margin-top:90px}
.ty-payment-section h2{color:#004d3f}.ty-payment-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;background:white;border:1px solid #e3ddc9;padding:24px}
.ty-payment-controls select{display:block;width:100%;min-height:42px;padding:8px;margin:7px 0 14px;background:white;color:#004d3f;border:1px solid #d9d2bb;font:inherit}
.ty-payment-results{align-self:start}.ty-payment-section .ty-grand{border-top:2px solid #004d3f}
.ty-pricing-note{margin:24px auto 16px}
@media(max-width:767px){.ty-payment-section{padding:24px 18px}.ty-payment-grid{grid-template-columns:minmax(0,1fr);padding:16px}.ty-service-row{flex-wrap:wrap}.ty-service-price{max-width:100%}}

/* TY-019: uniform full-toman service prices and aligned pricing columns */
.ty-service-row, label:has(> input[data-service]){display:grid!important;grid-template-columns:20px minmax(0,1fr) minmax(148px,auto);align-items:center;gap:12px}
.ty-service-row .ty-service-description, label:has(> input[data-service]) > span[style*="flex:1"]{min-width:0}
.ty-service-price{display:block;max-width:none!important;white-space:nowrap!important;text-align:left!important;font-family:inherit!important;font-size:14px!important;font-weight:600!important;color:#004d3f!important;line-height:1.7}
.ty-service-row .ty-service-price, label:has(> input[data-service]) > .ty-service-price{justify-self:end}
.ty-payment-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.ty-payment-results{grid-column:1/-1}
.ty-payment-results .ty-final-total{margin-top:14px;background:#e8f2ec;border:2px solid #004d3f;padding:16px 18px;font-size:17px;font-weight:700}
.ty-payment-results .ty-final-total strong{color:#003f34;font-size:20px}
.ty-payment-section .ty-total:not(.ty-final-total){padding:13px 12px}
.ty-payment-section .ty-total:nth-of-type(even):not(.ty-final-total){background:#f6f3e9}
.ty-fee-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px}
.ty-fee-row .ty-disclosure{grid-column:1/-1;margin:0;font-size:12px;color:#59675f;font-weight:400;line-height:1.7}
@media(max-width:767px){.ty-service-row,label:has(> input[data-service]){grid-template-columns:20px minmax(0,1fr);gap:8px}.ty-service-price{grid-column:2;justify-self:start!important;text-align:start!important}.ty-payment-results .ty-final-total{font-size:15px}.ty-payment-results .ty-final-total strong{font-size:16px}}

/* TY-020: itemized estimate basket and accessible information buttons */
.ty-basket{margin:12px 0 16px;border-top:1px solid #e3ddc9}
.ty-basket-empty{font-size:13px;color:#59675f}
.ty-basket-item{display:grid;grid-template-columns:minmax(0,1fr) auto 27px;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #e9e4d8}
.ty-basket-title{min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.6}
.ty-basket-title strong{font-size:13px;color:#004d3f;font-weight:600}
.ty-basket-title small{font-size:11px;color:#59675f}
.ty-basket-price{font-size:12px;color:#004d3f;font-weight:600;white-space:nowrap}
.ty-basket-remove{background:#fff;border:1px solid #d7d1c0;border-radius:4px;color:#004d3f;font-size:19px;line-height:1;min-width:27px;min-height:27px;cursor:pointer}
.ty-service-entry{display:flex;align-items:center;position:relative;min-width:0;border-top:1px solid #efe9d6;background:#fff}
.ty-service-entry>label{flex:1;min-width:0;border-top:0!important}
.ty-service-entry>.ty-info-button{flex:none;margin-inline-end:9px;width:29px;height:29px;border:1px solid #dce4dd;border-radius:50%;background:#f7faf7;color:#315d50;font-family:Georgia,serif;font-style:italic;font-weight:600;font-size:15px;cursor:pointer;display:grid;place-items:center;line-height:1;transition:background .16s,border-color .16s,transform .16s}.ty-service-entry>.ty-info-button:hover{background:#eaf2eb;border-color:#a8c0b3;transform:translateY(-1px)}
.ty-service-entry>.ty-info-button[aria-expanded="true"]{background:#e8f2ec}
.ty-info-explanation{position:fixed;z-index:10000;max-width:calc(100vw - 24px);box-sizing:border-box;padding:16px 17px;background:#fffefa;color:#183b30;border:1px solid #e4e7df;border-radius:14px;box-shadow:0 14px 38px #0b30231e,0 3px 10px #0b30230c;font-size:13px;line-height:1.7;text-align:start;direction:inherit}.ty-info-heading{font-size:14px;font-weight:700;color:#074d3e;margin-bottom:7px}.ty-info-description{margin:0 0 11px;color:#52645c}.ty-info-billing{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e8ebe4;padding-top:9px;color:#66766e;font-size:12px}.ty-info-billing strong{color:#075444;font-size:12px}.ty-info-note{margin:10px 0 0;color:#67756d;font-size:11px;line-height:1.8}
.ty-info-explanation[hidden]{display:none!important}
.ty-info-button:focus-visible,.ty-basket-remove:focus-visible{outline:3px solid #d4af6b;outline-offset:2px}
@media(max-width:767px){.ty-basket-item{grid-template-columns:minmax(0,1fr) auto 27px}.ty-basket-price{font-size:11px}.ty-service-entry>label{flex:1;min-width:0}}

/* TY-V3-005D: single desktop navigation geometry, Home is the reference. */
@media (min-width: 901px) {
  .ty-site > header > div,
  .ty-unified-header > div {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:1200px!important;
    min-height:76px!important;
    margin-inline:auto!important;
    padding:14px 32px!important;
    display:grid!important;
    grid-template-columns:174px minmax(0,1fr) 245px!important;
    align-items:center!important;
    gap:24px!important;
    direction:rtl!important;
  }
  .ty-site > header > div > a:first-child,
  .ty-unified-header > div > a:first-child {grid-column:1!important;justify-self:start!important}
  .ty-site > header > div > nav,
  .ty-unified-header > div > nav {
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    width:100%!important;
    justify-content:center!important;
    align-items:center!important;
    gap:22px!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    font-size:15px!important;
  }
  .ty-site > header > div > div:last-child,
  .ty-unified-header > div > div:last-child {
    grid-column:3!important;
    grid-row:1!important;
    justify-self:end!important;
    display:flex!important;
    align-items:center!important;
    gap:16px!important;
    white-space:nowrap!important;
  }
  .ty-unified-header .ty-unified-toggle,
  .ty-site .ty-menu-toggle {display:none!important}
}

/* TY-V3-006B: one canonical shared-header layout across every Persian page.
   This is intentionally scoped to the generated header, not page content. */
.ty-site > header {
  font-family:Vazirmatn,Tahoma,sans-serif!important;
  font-size:15px!important;
  line-height:1.5!important;
  color:#1E2522!important;
}
.ty-site > header > div {
  box-sizing:border-box!important;
}
.ty-site > header nav {
  overflow:visible!important;
  margin-inline-start:0!important;
}
.ty-site > header nav a {
  display:inline-flex!important;
  align-items:center!important;
  box-sizing:border-box!important;
  padding-top:4px!important;
  padding-bottom:5px!important;
  line-height:1.5!important;
  box-shadow:none!important;
  border-bottom:3px solid transparent;
  font-size:15px!important;
  font-weight:500!important;
}
.ty-site > header nav a[aria-current="page"] {
  border-bottom:3px solid #D4AF6B!important;
  font-weight:700!important;
}
.ty-site > header > div > div:last-child > span:first-child {
  display:inline-flex!important;
  align-items:center!important;
  box-sizing:border-box!important;
  height:20px!important;
  line-height:20px!important;
  font-family:Vazirmatn,Tahoma,sans-serif!important;
  font-size:13px!important;
  font-weight:400!important;
  white-space:nowrap!important;
}
.ty-site > header > div > div:last-child > a:last-child {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:132.21875px!important;
  min-width:132.21875px!important;
  height:45.1875px!important;
  min-height:45.1875px!important;
  padding:0!important;
  line-height:1.5!important;
  font-family:Vazirmatn,Tahoma,sans-serif!important;
  font-size:14px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
@media(min-width:901px){
  .ty-site > header > div > div:last-child {gap:16px!important;}
  .ty-site > header > div > nav {gap:22px!important;}
}
@media(max-width:767px){
  .ty-site > header > div {padding:12px 16px!important;gap:12px!important;}
  .ty-site > header > div > nav {margin:0!important;}
  .ty-site > header nav a {font-size:15px!important;}
  .ty-site > header nav a[aria-current="page"] {border-bottom:0!important;border-right:3px solid #D4AF6B!important;}
}
