/* DDUTEC language navigation: additive to the existing website stylesheet. */
.eydfa-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;list-style:none;padding:0;}
.eydfa-related-grid li{border:1px solid #e2e8f0;border-radius:12px;padding:18px;background:#fff;min-width:0;}
.eydfa-related-grid img{width:100%;height:160px;object-fit:contain;margin-bottom:12px;}
.eydfa-related-grid p{font-size:14px;line-height:1.7;margin-top:8px;}
.catalog-photo-note{padding:10px 16px 16px;font-size:12px;line-height:1.6;color:#64748b;}
@media(max-width:600px){.eydfa-related-grid{grid-template-columns:1fr;}}
.purchase-support{background:#f1f6fa;border-top:1px solid #e2e8f0;padding:44px 0;}
.purchase-support h2{font-size:26px;margin-bottom:24px;}
.purchase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.purchase-grid h3{font-size:17px;margin-bottom:7px;}
.purchase-grid p{font-size:14px;line-height:1.7;}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.news-index-section+.news-index-section{padding-top:0;}
.news-card{background:white;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;}
.news-card img{width:100%;height:220px;object-fit:contain;padding:20px;background:#f8fafc;}
.news-card-copy{padding:24px;display:flex;flex:1;flex-direction:column;gap:14px;}
.news-card-copy time{font-size:13px;color:#64748b;}
.news-card-copy h2{font-size:23px;line-height:1.35;}
.news-card-copy .read-article-btn{margin-top:auto;}
.table-scroll{overflow-x:auto;max-width:100%;margin:24px 0;}
.table-scroll table{min-width:560px;}
.article-body a:not(.btn-primary){color:#075985;text-decoration:underline;text-underline-offset:3px;}
.market-intro{font-size:17px!important;}
body{overflow-wrap:break-word;}
.detail-top>*{min-width:0;}
@media(max-width:768px){.detail-top{flex-direction:column;gap:24px;}.detail-top>.detail-gallery,.detail-top>.detail-info{width:100%;flex:auto;min-width:0;}.detail-main-image img{max-height:300px;}.detail-info .detail-product-title{overflow-wrap:normal;word-break:normal;}}
@media(max-width:900px){.purchase-grid,.news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.purchase-grid,.news-grid{grid-template-columns:1fr;}.news-card img{height:200px;}.page-hero h1{font-size:30px;}.back-btn{display:inline-block;white-space:normal;max-width:100%;}.header .logo-block img{max-width:min(300px,82vw);height:auto;}.header .nav{width:100%;}}
.header .nav-wrap{flex-wrap:wrap;column-gap:24px;row-gap:8px;padding-top:10px;padding-bottom:10px;}
.language-switch{display:flex;flex:1 0 100%;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 16px;padding-bottom:4px;font-size:13px;line-height:1.5;}
.language-switch a{color:#475569;text-decoration:none;padding:4px 0;}
.language-switch a[aria-current="page"]{color:var(--primary,#f58220);font-weight:800;border-bottom:2px solid currentColor;}
.language-switch a:focus-visible,.nav a:focus-visible{outline:2px solid #0b79b8;outline-offset:4px;}
.language-badge{display:inline-block;font-size:.7em;font-weight:600;vertical-align:middle;opacity:.72;white-space:nowrap;}
html:lang(es) .hero h1,html:lang(pt-BR) .hero h1{font-size:clamp(30px,4vw,46px);overflow-wrap:break-word;}
html:lang(es) .detail-info h1,html:lang(pt-BR) .detail-info h1{font-size:clamp(26px,3vw,36px);overflow-wrap:break-word;}
html:lang(es) .inquiry-btn,html:lang(pt-BR) .inquiry-btn{white-space:normal;text-align:center;}
@media(max-width:900px){.language-switch{flex-basis:auto;justify-content:center;width:100%;}.header .nav-wrap{row-gap:8px;}}
@media(max-width:640px){
 .header .nav{display:flex;flex-wrap:wrap;gap:8px 14px;justify-content:center;}
 .header .nav a{font-size:13px;white-space:normal;text-align:center;}
 .language-switch{font-size:12px;gap:4px 14px;}
 html:lang(es) .detail-spec-table,html:lang(pt-BR) .detail-spec-table{table-layout:fixed;width:100%;}
 html:lang(es) .detail-spec-table td,html:lang(pt-BR) .detail-spec-table td{overflow-wrap:anywhere;white-space:normal;}
 html:lang(es) .detail-spec-table th,html:lang(pt-BR) .detail-spec-table th{padding:10px 8px;overflow-wrap:anywhere;font-size:12px;}
 .whatsapp{max-width:calc(100vw - 28px);}
}


/* Four MA5800 chassis keep a balanced two-column catalogue layout. */
#ma5800 .pon-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
#ma5800 .pon-product-card:last-child{grid-column:auto;max-width:none;justify-self:stretch;}
@media(max-width:640px){#ma5800 .pon-product-grid{grid-template-columns:1fr;}}

/* Shared product disclosure: centered on the text, with viewport edge protection. */
.products-nav{position:relative;display:flex;align-items:center;}
.header .products-toggle{font:inherit;font-size:17px;font-weight:700;line-height:inherit;color:#334155;border:0;padding:0;background:transparent;cursor:pointer;}
.products-nav.is-open>.products-toggle,.products-toggle:hover{color:var(--primary);}
.header .products-dropdown{position:absolute;top:100%;left:50%;width:max-content;max-width:calc(100vw - 32px);margin:0 0 0 var(--menu-shift,0px);padding:12px;list-style:none;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.65);border-radius:8px;box-shadow:0 12px 30px rgba(26,45,66,.08);visibility:hidden;opacity:0;transform:translate(-50%,3px);transition:opacity .16s ease,transform .16s ease,visibility .16s;}
@supports(backdrop-filter:blur(16px)){.header .products-dropdown{background:rgba(255,255,255,.8);backdrop-filter:blur(16px);}}
.header .products-dropdown a{display:block;padding:13px 16px;border-radius:4px;font-size:14px;font-weight:500;line-height:1.45;text-align:left;white-space:normal;transition:background .15s,color .15s;}
.header .products-dropdown a:hover,.header .products-dropdown a:focus-visible{background:rgba(255,255,255,.48);color:var(--primary);}
.products-nav.is-open>.products-dropdown{visibility:visible;opacity:1;transform:translate(-50%,0);}
.products-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:4px;}
.products-dropdown .all-products{margin-top:8px;padding-top:10px;border-top:1px solid rgba(100,120,140,.15);}
.header .products-dropdown .all-products a{font-size:12px;color:#63748a;padding-top:8px;padding-bottom:8px;}
@media(max-width:1100px){.header .products-toggle{font-size:16px;}}
@media(max-width:900px){
 .header .nav{position:relative;}
 .products-nav{position:static;}
 .header .products-toggle{font-size:15px;min-height:44px;}
 .header .products-dropdown{left:0;right:0;width:100%;margin-left:0;max-height:65vh;overflow-y:auto;transform:translateY(3px);}
 .products-nav.is-open>.products-dropdown{transform:translateY(0);}
 .header .products-dropdown a{min-height:44px;}
}
@media(max-width:640px){.header .products-toggle{font-size:13px;}}
@media(prefers-reduced-motion:reduce){.header .products-dropdown,.header .products-dropdown a{transition:none;}}

