/* ============================================================
   GZH UI — clean replacement for joinf/Element UI leftovers
   Reference style: duplex-stainless-steel.com (Blocksy flavour)
   ============================================================ */

/* ---------- Breadcrumb (nav.gzh-crumb) ---------- */
.gzh-crumb{align-items:center;background:#f5f7fa;display:flex;flex-wrap:wrap;font-size:13px;gap:2px;line-height:1;padding:14px 24px}
.gzh-crumb-item{align-items:center;color:#5b6b7c;display:inline-flex}
.gzh-crumb-item a{color:#5b6b7c;text-decoration:none;transition:color .15s}
.gzh-crumb-item a:hover{color:#1B6EF3}
.gzh-crumb-current{color:#0D4A8F;font-weight:600}
.gzh-crumb-sep{color:#b6c2ce;margin:0 8px;flex:0 0 auto}

/* ---------- Sidebar category menu (gzh-catmenu) ---------- */
.gzh-catmenu{background:#fff;border:1px solid #dfe6ee;border-radius:6px;overflow:hidden}
.gzh-catmenu-title{background:#002347;color:#fff;font-size:15px;font-weight:700;letter-spacing:.04em;padding:12px 18px;text-transform:uppercase}
.gzh-catmenu-list{list-style:none;margin:0;padding:0}
.gzh-catmenu-list li{border-bottom:1px solid #eef2f6}
.gzh-catmenu-list li:last-child{border-bottom:0}
.gzh-catmenu-list a{color:#33475b;display:block;font-size:14px;padding:11px 18px;text-decoration:none;transition:background .15s,color .15s,padding-left .15s}
.gzh-catmenu-list a:hover{background:#f2f7fc;color:#1B6EF3;padding-left:24px}

/* ---------- Quote box (replaces dead joinf inquiry form) ---------- */
.gzh-quote-box{background:#f8fafc;border:1px solid #dfe6ee;border-left:4px solid #E84E1B;border-radius:6px;margin:20px 0;padding:22px 24px}
.gzh-quote-title{color:#002347;font-size:20px;font-weight:700;margin:0 0 8px}
.gzh-quote-note{color:#5b6b7c;font-size:14px;line-height:1.7;margin:0 0 16px}
.gzh-quote-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px}

/* ---------- Buttons ---------- */
.gzh-btn{border-radius:8px;display:inline-block;font-size:15px;font-weight:700;line-height:1;padding:13px 20px;text-align:center;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
.gzh-btn-primary{background:#E84E1B;color:#fff !important}
.gzh-btn-primary:hover{background:#c93e12;color:#fff}
.gzh-btn-ghost{border:1.5px solid #0D4A8F;color:#0D4A8F}
.gzh-btn-ghost:hover{background:#0D4A8F;color:#fff}

/* product-page right-column button context */
.gzh-pd-actions{margin-top:18px}
.gzh-pd-actions .gzh-btn{min-width:170px}

/* ---------- Product detail (clean layout, replaces joinf product_detail module) ---------- */
.gzh-pd{display:grid;gap:32px;grid-template-columns:minmax(0,440px) minmax(0,1fr);margin:20px 0 28px}
.gzh-pd-media img{background:#fff;border:1px solid #e3e9f0;border-radius:8px;display:block;height:auto;width:100%}
.gzh-pd-main{min-width:0}
.gzh-pd-main h1{color:#002347;font-size:26px;font-weight:700;line-height:1.3;margin:0 0 10px}
.gzh-pd-model{color:#67718a;font-size:14px;margin:0 0 14px}
.gzh-pd-abstract{color:#3c4a5a;font-size:15px;line-height:1.75;margin:0}
@media (max-width:900px){.gzh-pd{grid-template-columns:1fr;gap:20px}.gzh-pd-main h1{font-size:22px}}

/* ---------- Product page: aside + body columns ---------- */
.gzh-pd-cols{display:grid;gap:32px;grid-template-columns:270px minmax(0,1fr);align-items:start}
.gzh-pd-aside{min-width:0}
.gzh-pd-body{min-width:0}
@media (max-width:900px){.gzh-pd-cols{grid-template-columns:1fr;gap:20px}}

/* ---------- Spec tables (mobile: horizontal scroll inside wrapper) ---------- */
.gzh-table-wrap{-webkit-overflow-scrolling:touch;margin:16px 0;max-width:100%;overflow-x:auto}
table.gzh-table{border-collapse:collapse;font-size:14px;line-height:1.55;min-width:100%}
.gzh-table td,.gzh-table th{border:1px solid #D8E2EC;color:#17262F;padding:8px 12px;vertical-align:top}
.gzh-table td:first-child{background:#F4F9FF;color:#002347;font-weight:600;white-space:nowrap}

/* ---------- Related products ---------- */
.gzh-rel{margin:30px 0}
.gzh-rel-title{color:#002347;font-size:20px;font-weight:700;margin:0 0 6px}
.gzh-rel-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));margin:18px 0}
.gzh-rel-card{background:#fff;border:1px solid #e3e9f0;border-radius:8px;display:block;overflow:hidden;text-decoration:none;transition:box-shadow .2s}
.gzh-rel-card:hover{box-shadow:0 6px 18px rgba(13,37,71,.12)}
.gzh-rel-card img{aspect-ratio:1/1;display:block;height:auto;object-fit:contain;width:100%}
.gzh-rel-name{color:#0d2547;display:block;font-size:13px;font-weight:600;line-height:1.4;padding:10px 12px}
@media (max-width:640px){.gzh-rel-grid{grid-template-columns:repeat(2,1fr)}}

/* ---------- News hero banner (replaces joinf carousel) ---------- */
.gzh-news-hero{margin:0 0 22px;max-width:100%}
.gzh-news-hero img{aspect-ratio:21/9;border-radius:8px;display:block;height:auto;object-fit:cover;width:100%}
@media (max-width:640px){.gzh-news-hero img{aspect-ratio:16/9}}

/* ---------- Tab content wrapper (unwrapped el-tabs) ---------- */
.gzh-tab{background:#fff;border:1px solid #dfe6ee;border-radius:0 0 6px 6px;border-top:0;padding:24px}

/* ---------- Product card grids ---------- */
.gzh-grid,.gzh-rel-grid,.gzh-news-grid{display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));margin:24px 0}
.gzh-news-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.gzh-grid>div,.gzh-rel-grid>div,.gzh-news-grid>div{min-width:0;width:auto !important}
@media (max-width:768px){.gzh-grid,.gzh-rel-grid{grid-template-columns:repeat(2,1fr)}.gzh-news-grid{grid-template-columns:1fr}}
@media (max-width:640px){
  .gzh-grid,.gzh-rel-grid{gap:12px}
  .gzh-grid .gzh-pcol .product-item{padding:10px}
  .gzh-list-h1{font-size:22px;line-height:1.3}
}

/* ---------- Category card inner layout (whole card is one link) ---------- */
.gzh-card-link{display:block;color:inherit;text-decoration:none}
.gzh-card-name{font-weight:600;color:#0d2547;font-size:14px;line-height:1.35;margin:12px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:break-word;word-break:normal}
.gzh-card-desc{color:#67718a;font-size:12px;line-height:1.45;margin:6px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:break-word;word-break:normal}
.gzh-pcol .product-item-name,.gzh-pcol .product-item-desc{-webkit-line-clamp:2;overflow-wrap:break-word;word-break:normal}
@media (max-width:640px){
  .gzh-card-name{font-size:13px}
  .gzh-card-desc{font-size:11px}
}

/* ---------- Card media block (replaces joinf maskHover/image-wrapper) ---------- */
.gzh-card-media{position:relative}
.gzh-card-media-link{display:block}
.gzh-card-media-img{display:block;height:auto;width:100%}
.product-item:hover .gzh-mask-inquiry{opacity:1}

/* ---------- News cards (replaces joinf news_box/news_grid_item_box) ---------- */
.gzh-news-card{background:#F9FBFE;border:1px solid #eef1f5;border-radius:8px;padding:20px 22px}
.gzh-news-date{color:#72767C;font-size:13px;margin-bottom:8px}
.gzh-news-title{color:#0d2547;font-size:17px;font-weight:700;line-height:1.4;margin-bottom:10px}
.gzh-news-excerpt{color:#5a6478;font-size:13px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
@media (max-width:640px){.gzh-news-card{padding:16px}.gzh-news-title{font-size:15px}}

/* hide any stray legacy bits that may remain */
.gzh-legacy-hide,.cart.fm{display:none !important}

/* ---------- Mobile: spec tables (no thead) become stacked cards ---------- */
@media (max-width:640px){
  table.gzh-table{font-size:13.5px}
  .gzh-table td,.gzh-table th{padding:7px 10px}
  table.gzh-table:not(:has(thead)){border-collapse:separate;display:block}
  table.gzh-table:not(:has(thead)) tbody{display:block}
  table.gzh-table:not(:has(thead)) tr{background:#fff;border:1px solid #D8E2EC;border-radius:8px;display:block;margin:0 0 8px;overflow:hidden}
  table.gzh-table:not(:has(thead)) td{border:none;border-top:1px solid #EAF0F6;display:block;padding:7px 12px;vertical-align:middle}
  table.gzh-table:not(:has(thead)) td:first-child{background:#F4F9FF;border-top:none;color:#002347;font-weight:700;white-space:normal}
  table.gzh-table:not(:has(thead)) tr:has(td:nth-child(3)) td:not(:first-child):not(:last-child){color:#0d2547;font-weight:600}
  table.gzh-table:not(:has(thead)) tr:has(td:nth-child(3)) td:last-child{color:#5a6478;font-size:12px}
}


/* == Inter font 2026-11-29: self-hosted variable woff2 (100-900), all text uses Inter == */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('inter-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
html,body,h1,h2,h3,h4,h5,h6,p,a,span,li,ul,ol,td,th,button,input,select,textarea,label,small,strong,b,em,i,blockquote,figure,figcaption,nav,header,footer,section,div{font-family:'Inter', 'Noto Sans Arabic', Tahoma, Arial, sans-serif !important}
