/* TEZEL | Corporate responsive card standard | 10 November 2026.
   Scope: repeated information-card grids, never existing body typography/technical data.
   Mobile design token: three equal 81px cards, 8px gap, 9px radius.
   Compact labels are the previously approved 18px number / 11px label. */
/* Hide mobile-only control surfaces outside their enhanced mobile layout. */
.tzui-card-button,.tzui-detail{display:none}

@media (min-width:768px){
  .features:has(>article),.steps:has(>article){grid-auto-rows:1fr;align-items:stretch}
  .features>article,.steps>article{min-width:0}
}
@media (max-width:767px){
  /* Existing TCH-SC and TCH-VS interactive card groups */
  #ozellikler.tzui-feature-ready .features,
  .process-section.sc-workflow-ready .steps,
  .process-section.tzui-steps-ready .steps,
  .tzui-mobile-ready{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;align-items:stretch!important;
  }
  #ozellikler.tzui-feature-ready .features>article,
  .process-section.sc-workflow-ready .steps>article,
  .process-section.tzui-steps-ready .steps>article,
  .tzui-mobile-ready>article{
    box-sizing:border-box!important;min-width:0!important;
    width:auto!important;height:81px!important;min-height:81px!important;
    margin:0!important;padding:0!important;overflow:hidden!important;
    border:1px solid #cee0e9!important;border-radius:9px!important;
    background:#f6fafc!important;box-shadow:none!important;
  }
  #ozellikler.tzui-feature-ready .features>article.is-active,
  .process-section.sc-workflow-ready .steps>article.sc-workflow-active,
  .process-section.tzui-steps-ready .steps>article.is-selected,
  .tzui-mobile-ready>article.tzui-selected{
    background:#e8f4fa!important;border-color:#8cc5dc!important;
  }
  /* Existing TCH-VS/SC toggles retain the same fonts and card dimensions. */
  #ozellikler.tzui-feature-ready .tchvs-top-feature-btn,
  .process-section.sc-workflow-ready .sc-workflow-step-btn,
  .process-section.tzui-steps-ready .tchvs-mobile-step,
  .tzui-mobile-ready .tzui-card-button{
    display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;
    width:100%!important;height:100%!important;min-height:79px!important;
    gap:5px!important;padding:8px 4px!important;
    box-sizing:border-box!important;margin:0!important;
    background:transparent!important;border:0!important;border-radius:0!important;
    text-align:center!important;cursor:pointer;touch-action:manipulation;
  }
  #ozellikler.tzui-feature-ready .tchvs-top-feature-num,
  .process-section.sc-workflow-ready .sc-workflow-number,
  .process-section.tzui-steps-ready .tchvs-mobile-step-num,
  .tzui-mobile-ready .tzui-card-number{
    display:block!important;font-size:18px!important;line-height:1.1!important;
    font-weight:800!important;font-family:inherit!important;
    margin:0!important;padding:0!important;letter-spacing:0!important;
    color:#0b87b7!important;
  }
  #ozellikler.tzui-feature-ready .tchvs-top-feature-name,
  .process-section.sc-workflow-ready .sc-workflow-short,
  .process-section.tzui-steps-ready .tchvs-mobile-step-title,
  .tzui-mobile-ready .tzui-card-label{
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3;
    overflow:hidden;max-height:40px;max-width:100%;
    font-size:11px!important;line-height:1.2!important;
    font-weight:750!important;font-family:inherit!important;
    margin:0!important;padding:0!important;letter-spacing:0!important;
    color:#183e58!important;overflow-wrap:anywhere;word-break:normal;
  }
  .tzui-mobile-ready>article>:not(.tzui-card-button){display:none!important}
  .tzui-mobile-ready .tzui-card-button{color:#163b50;font:inherit}
  .tzui-mobile-ready .tzui-card-button:focus-visible,
  #ozellikler.tzui-feature-ready .tchvs-top-feature-btn:focus-visible,
  .process-section.sc-workflow-ready .sc-workflow-step-btn:focus-visible,
  .process-section.tzui-steps-ready .tchvs-mobile-step:focus-visible{
    outline:3px solid #067daf!important;outline-offset:-4px!important;
  }
  .tzui-detail:not([hidden]){
    display:block;box-sizing:border-box;width:100%;margin:12px 0 0;
    padding:15px 17px;background:#f1f9fc;border:1px solid #b6dbea;border-radius:9px;
    min-width:0;overflow-wrap:anywhere;
  }
  /* Feature rows may themselves be .wrap: keep their expanded panel aligned with it. */
  .tzui-detail[data-kind="features"]{width:calc(100% - 38px);max-width:1174px;margin:12px auto 0}
  .tzui-detail h2,.tzui-detail h3{margin:0 0 7px!important;color:#103c56;line-height:1.4}
  .tzui-detail p{margin:0 0 5px;color:#506e7f;line-height:1.6}
  .tzui-detail p:last-child{margin-bottom:0}
  /* Native <details> are accessible without scripts: avoid accidental clipping. */
  details.original-curves,details.tcm-details{max-width:100%;min-width:0}
  details.original-curves>summary,details.tcm-details>summary{cursor:pointer;touch-action:manipulation}
  details.original-curves>summary:focus-visible,details.tcm-details>summary:focus-visible{outline:3px solid #067daf;outline-offset:2px}
  details.original-curves img{max-width:100%;height:auto;object-fit:contain}
  .tcm-card,.tcm-card-head,.tcm-specrow{min-width:0}
}
/* TYKF: a 460px minimum-width technical table was forcing its grid column beyond
   the mobile viewport. Keep the catalogue table scrollable inside its own panel. */
@media (max-width:767px){
  .drawing-grid{min-width:0;grid-template-columns:minmax(0,1fr)!important}
  .drawing-grid>.drawing,.drawing-grid>.drawing-details{min-width:0;max-width:100%}
  .drawing-details>.table-scroller{max-width:100%;overflow-x:auto}
}


/* TEZEL institutional component consistency — revision 2026-11-10b.
   Only mobile three-card navigation and its expanded detail panels are affected.
   Preserve all headings, copy, model numbers and other site typography. */
@media (max-width:767px){
  /* A single font stack and weight irrespective of the source product stylesheet. */
  #ozellikler.tzui-feature-ready .tchvs-top-feature-btn,
  .process-section.sc-workflow-ready .sc-workflow-step-btn,
  .process-section.tzui-steps-ready .tchvs-mobile-step,
  .tzui-mobile-ready .tzui-card-button{
    font-family:Arial,Helvetica,sans-serif!important;
    font-style:normal!important;
    font-variant:normal!important;
    letter-spacing:normal!important;
  }
  #ozellikler.tzui-feature-ready .tchvs-top-feature-num,
  .process-section.sc-workflow-ready .sc-workflow-number,
  .process-section.tzui-steps-ready .tchvs-mobile-step-num,
  .tzui-mobile-ready .tzui-card-number{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:18px!important;font-weight:800!important;line-height:1.1!important;
  }
  #ozellikler.tzui-feature-ready .tchvs-top-feature-name,
  .process-section.sc-workflow-ready .sc-workflow-short,
  .process-section.tzui-steps-ready .tchvs-mobile-step-title,
  .tzui-mobile-ready .tzui-card-label{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:11px!important;font-weight:700!important;
    line-height:1.2!important;letter-spacing:0!important;
  }
  /* The previously generated labels must NOT show both TR and EN.
     Explicit direction wins over the generic display:-webkit-box card rule. */
  body:not([data-lang="en"]) .tzui-mobile-ready .tzui-card-label.en,
  body:not([data-lang="en"]) #ozellikler.tzui-feature-ready .tchvs-top-feature-name.en,
  body:not([data-lang="en"]) .process-section.sc-workflow-ready .sc-workflow-short.en,
  body:not([data-lang="en"]) .process-section.tzui-steps-ready .tchvs-mobile-step-title.en,
  body[data-lang="en"] .tzui-mobile-ready .tzui-card-label.tr,
  body[data-lang="en"] #ozellikler.tzui-feature-ready .tchvs-top-feature-name.tr,
  body[data-lang="en"] .process-section.sc-workflow-ready .sc-workflow-short.tr,
  body[data-lang="en"] .process-section.tzui-steps-ready .tchvs-mobile-step-title.tr{
    display:none!important;
  }
  body:not([data-lang="en"]) .tzui-mobile-ready .tzui-card-label.tr,
  body[data-lang="en"] .tzui-mobile-ready .tzui-card-label.en{
    display:-webkit-box!important;
  }
  /* Shared expanded-panel typography and spacing; keep content unchanged. */
  .tzui-detail:not([hidden]),
  #ozellikler.tzui-feature-ready .tchvs-top-feature-detail:not([hidden]),
  .process-section.sc-workflow-ready .sc-workflow-detail:not([hidden]),
  .process-section.tzui-steps-ready .tchvs-step-detail:not([hidden]){
    box-sizing:border-box!important;min-width:0!important;
    border:1px solid #b6dbea!important;border-radius:9px!important;
    background:#f1f9fc!important;padding:15px 17px!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:13px!important;line-height:1.6!important;
    overflow-wrap:anywhere;
  }
  .tzui-detail :is(h2,h3),
  #ozellikler.tzui-feature-ready .tchvs-top-feature-detail :is(h2,h3),
  .process-section.sc-workflow-ready .sc-workflow-detail :is(h2,h3),
  .process-section.tzui-steps-ready .tchvs-step-detail :is(h2,h3){
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:15px!important;font-weight:700!important;
    line-height:1.4!important;margin:0 0 7px!important;
  }
  .tzui-detail p,
  #ozellikler.tzui-feature-ready .tchvs-top-feature-detail p,
  .process-section.sc-workflow-ready .sc-workflow-detail p,
  .process-section.tzui-steps-ready .tchvs-step-detail p{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:13px!important;line-height:1.6!important;
    margin:0 0 5px!important;
  }
  /* Full-width consistent detail for the same three-column layout. */
  .process-section.sc-workflow-ready .sc-workflow-detail:not([hidden]),
  .process-section.tzui-steps-ready .tchvs-step-detail:not([hidden]){
    width:100%!important;max-width:100%!important;
    margin:12px 0 0!important;
  }
}

/* 2026-11-11 | Language-safe mobile card sources.
   English product-heading rules elsewhere use !important and otherwise make
   the original h2/h3/p visible on top of the 01/02/03 tap targets.
   Hide only SOURCE children in script-prepared cards, independent of language;
   the button and its selected-language label remain visible and interactive.
   No global font, copy, or desktop styling is changed. */
@media (max-width:767px){
  html body[data-lang] .tzui-mobile-ready > article > :not(.tzui-card-button),
  html body.tzg-ready[data-lang] .tzui-mobile-ready > article > :not(.tzui-card-button){
    display:none!important;
  }
  .tzui-mobile-ready > article > .tzui-card-button{
    position:relative;
    z-index:1;
  }
}
