/* NovaCommerce 452 - Product tabs, collapse content, documents */
body.nc-front-397 .nc-product-tabs{min-width:0;overflow:visible;margin-top:30px}
body.nc-front-397 .nc-product-tabs .nc-tab-nav{display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;max-height:none!important;min-height:50px!important;height:auto!important;padding:3px 2px 0!important;scrollbar-width:thin;overscroll-behavior-x:contain;scroll-snap-type:x proximity;border-bottom:1px solid #dbe3ef!important}
body.nc-front-397 .nc-product-tabs .nc-tab-nav button{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto!important;min-height:45px!important;line-height:1.3!important;max-height:none!important;margin:0 0 -1px!important;padding:10px 16px!important;white-space:nowrap!important;scroll-snap-align:start;border-radius:10px 10px 0 0!important}
body.nc-front-397 .nc-product-tabs .nc-tab-panel{min-width:0;overflow:visible}
body.nc-front-397 .nc-product-tabs .nc-product-description{min-width:0;overflow-wrap:anywhere}
.nc452-collapse{position:relative;min-width:0}
.nc452-collapse-body{min-width:0;overflow:visible}
.nc452-collapse.is-collapsed .nc452-collapse-body{max-height:var(--nc452-limit,320px);overflow:hidden;position:relative}
.nc452-collapse.is-collapsed .nc452-collapse-body:after{content:"";position:absolute;bottom:0;left:0;right:0;height:65px;pointer-events:none;background:linear-gradient(transparent,#fff)}
.nc452-collapse-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-top:14px;padding:11px 19px;min-height:44px;background:#fff;border:1px solid #cbd5e1;border-radius:12px;color:#0f4c81;font-weight:750;cursor:pointer}
.nc452-collapse-btn[hidden]{display:none!important}
.nc452-collapse.is-expanded .nc452-collapse-btn span{transform:rotate(180deg)}
.nc452-doc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin:10px 0 25px}
.nc452-doc-card{display:grid;align-content:start;gap:12px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;padding:16px;min-width:0;overflow-wrap:anywhere}
.nc452-doc-card img{display:block;width:100%;height:210px;object-fit:contain;background:#f8fafc;border-radius:12px}
.nc452-doc-card strong{font-size:15px;line-height:1.45}
.nc452-doc-icon{height:110px;display:grid;place-items:center;background:#fff1f2;border-radius:12px;color:#be123c;font-weight:850;font-size:24px}
.nc452-doc-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;text-decoration:none;border-radius:10px;background:#0f4c81;color:#fff!important;font-weight:750}
@media(max-width:760px){body.nc-front-397 .nc-product-tabs .nc-tab-nav{min-height:48px!important}body.nc-front-397 .nc-product-tabs .nc-tab-nav button{font-size:13px!important;padding:10px 12px!important}.nc452-doc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nc452-doc-card{padding:10px}.nc452-doc-card img{height:145px}}
@media(max-width:360px){.nc452-doc-grid{grid-template-columns:1fr}}

/* v453 - 800 × 800 maximum technical drawing and brand certificate viewer */
.nc452-doc-link{border:0;cursor:pointer;font:inherit;font-weight:750}
.nc452-doc-note{color:#64748b;font-size:13px;margin:10px 0}
.nc453-modal[hidden]{display:none!important}
.nc453-modal{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:clamp(10px,3vw,28px);background:rgba(9,17,29,.82);backdrop-filter:blur(4px)}
.nc453-modal-box{display:flex;flex-direction:column;width:min(800px,100%);height:min(800px,calc(100dvh - 24px));max-width:800px;max-height:800px;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 22px 80px rgba(0,0,0,.35)}
.nc453-modal-head{flex:0 0 auto;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 14px;border-bottom:1px solid #dbe5f0}
.nc453-modal-title{font-size:15px;line-height:1.35;font-weight:800;color:#172033;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nc453-modal-close{flex:0 0 auto;border:1px solid #dbe5f0;border-radius:10px;background:#f8fafc;color:#172033;min-width:42px;min-height:42px;font-size:24px;cursor:pointer}
.nc453-modal-content{flex:1 1 auto;min-height:0;display:grid;place-items:center;background:#f8fafc;overflow:auto}
.nc453-modal-content img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.nc453-modal-content iframe{display:block;width:100%;height:100%;border:0;background:white}
.nc453-modal-footer{flex:0 0 auto;display:flex;justify-content:center;gap:10px;padding:8px 12px;border-top:1px solid #dbe5f0;background:#fff}
.nc453-modal-footer a{font-size:13px;color:#0f4c81;font-weight:750;text-decoration:underline}
body.nc453-modal-open{overflow:hidden!important}
@media(max-width:760px){.nc453-modal{padding:8px}.nc453-modal-box{width:100%;height:min(800px,calc(100dvh - 16px));border-radius:12px}}

/* v454: deterministic responsive purchase actions; overrides legacy single-column rules. */
body.nc-front-397 .nc-buybox .nc454-actions{display:grid!important;gap:10px!important;margin-top:12px!important;min-width:0!important}
body.nc-front-397 .nc-buybox .nc454-primary-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;min-width:0!important}
body.nc-front-397 .nc-buybox .nc454-primary-actions>:only-child{grid-column:1/-1}
body.nc-front-397 .nc-buybox .nc454-primary-actions .nc454-whatsapp,body.nc-front-397 .nc-buybox .nc454-primary-actions .nc454-favorite,body.nc-front-397 .nc-buybox .nc454-primary-actions .nc454-favorite button{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:46px!important;height:100%!important;margin:0!important;padding:9px 8px!important;white-space:normal!important;text-align:center!important;line-height:1.2!important;border-radius:12px!important;box-sizing:border-box!important;font-size:13px!important}
body.nc-front-397 .nc-buybox .nc454-primary-actions .nc454-favorite form{margin:0!important;width:100%!important}
body.nc-front-397 .nc-buybox .nc454-document-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-width:0!important}
body.nc-front-397 .nc-buybox .nc454-doc-chip{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;min-width:0!important;min-height:38px!important;padding:8px 9px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;background:#f8fafc!important;color:#0f4c81!important;font-size:12px!important;font-weight:750!important;line-height:1.25!important;text-align:center!important;white-space:normal!important;cursor:pointer!important}
body.nc-front-397 .nc-buybox .nc454-doc-chip:hover{background:#edf6ff!important;border-color:#7bb5e3!important}
body.nc-front-397 .nc-buybox .nc454-short-label{display:none!important}
@media(min-width:761px) and (max-width:1180px){body.nc-front-397 .nc-buybox .nc454-long-label{display:none!important}body.nc-front-397 .nc-buybox .nc454-short-label{display:inline!important}}
@media(max-width:760px){body.nc-front-397 .nc-buybox .nc454-long-label{display:none!important}body.nc-front-397 .nc-buybox .nc454-short-label{display:inline!important}body.nc-front-397 .nc-buybox .nc454-primary-actions{gap:8px!important}body.nc-front-397 .nc-buybox .nc454-document-actions{gap:7px!important}body.nc-front-397 .nc-buybox .nc454-doc-chip{font-size:11px!important}}
@media(max-width:380px){body.nc-front-397 .nc-buybox .nc454-primary-actions .nc454-whatsapp,body.nc-front-397 .nc-buybox .nc454-primary-actions .nc454-favorite button{font-size:12px!important}}
/* Keep quantity numeral visible even if legacy theme styles override the input. */
body.nc-front-397 .nc-purchase-row .nc-qty{display:grid!important;grid-template-columns:34px minmax(25px,1fr) 34px!important;align-items:center!important;min-width:98px!important;max-width:150px!important;overflow:visible!important}
body.nc-front-397 .nc-purchase-row .nc-qty input#nc-qty-input{display:block!important;position:static!important;visibility:visible!important;opacity:1!important;min-width:25px!important;width:100%!important;max-width:none!important;height:42px!important;min-height:42px!important;padding:0!important;margin:0!important;text-align:center!important;font-size:16px!important;font-weight:800!important;color:#0f172a!important;background:transparent!important;border:0!important;appearance:textfield!important;-moz-appearance:textfield!important}
body.nc-front-397 .nc-purchase-row .nc-qty input#nc-qty-input::-webkit-inner-spin-button,body.nc-front-397 .nc-purchase-row .nc-qty input#nc-qty-input::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}

/* v456 - four purchase-area shortcuts use one consistent 2-column rhythm.
   Applies on tablet/mobile only; existing links, forms, modal handlers remain intact. */
@media (max-width:1180px){
  body.nc-front-397 .nc-buybox .nc454-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
    margin-top:14px!important;
    width:100%!important;
    min-width:0!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-primary-actions,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-document-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    padding:0!important;
    margin:0!important;
    width:100%!important;
    min-width:0!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-whatsapp,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-favorite,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-favorite button,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-doc-chip{
    display:flex!important;
    box-sizing:border-box!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    margin:0!important;
    padding:7px 9px!important;
    border-radius:12px!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:750!important;
    text-align:center!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-favorite{
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-favorite button{
    border:1px solid #d6e1f0!important;
    background:#fff!important;
    color:#0f172a!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-doc-chip{
    border:1px solid #cbd5e1!important;
    background:#f8fafc!important;
    color:#0f4c81!important;
    cursor:pointer!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-whatsapp{
    background:#16a34a!important;
    color:#fff!important;
    border:1px solid #16a34a!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-whatsapp .nc-wa-icon,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-doc-chip>span,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-favorite button>span:first-child{
    flex:0 0 auto!important;
  }
}
@media(max-width:380px){
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-whatsapp,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-favorite button,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-doc-chip{
    font-size:11px!important;
    padding-inline:5px!important;
    gap:4px!important;
  }
}

/* v457: device-aware PDF/image/application-document viewer. */
.nc453-modal[hidden]{display:none!important}
.nc453-modal{
  box-sizing:border-box!important;
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  padding:24px!important;
  padding-top:max(24px, env(safe-area-inset-top))!important;
  padding-bottom:max(24px, env(safe-area-inset-bottom))!important;
}
.nc453-modal-box{
  box-sizing:border-box!important;
  flex:0 1 auto!important;
  width:min(800px,calc(100vw - 48px))!important;
  height:min(800px,calc(100vh - 48px))!important;
  height:min(800px,calc(100dvh - 48px))!important;
  max-width:800px!important;
  max-height:800px!important;
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
  border-radius:18px!important;
}
.nc453-modal-head{min-height:56px!important;padding:8px 14px!important}
.nc453-modal-title{font-size:15px!important;max-width:calc(100% - 56px)!important}
.nc453-modal-close{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;line-height:1!important}
.nc453-modal-content{display:flex!important;flex:1 1 auto!important;min-height:0!important;min-width:0!important;align-items:center!important;justify-content:center!important;overflow:auto!important;overscroll-behavior:contain!important}
.nc453-modal-content img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
.nc453-modal-content iframe{display:block!important;flex:1 1 auto!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;border:0!important}
.nc453-modal-footer{min-height:48px!important;align-items:center!important;flex-wrap:wrap!important;padding:8px 12px!important;text-align:center!important}
.nc453-modal-footer a{overflow-wrap:anywhere!important}
@media (min-width:761px) and (max-width:1180px){
  .nc453-modal{padding:20px!important;padding-top:max(20px,env(safe-area-inset-top))!important;padding-bottom:max(20px,env(safe-area-inset-bottom))!important}
  .nc453-modal-box{width:min(720px,calc(100vw - 40px))!important;height:min(760px,calc(100vh - 40px))!important;height:min(760px,calc(100dvh - 40px))!important;max-width:720px!important;max-height:760px!important;border-radius:16px!important}
}
@media (max-width:760px){
  .nc453-modal{padding:8px!important;padding-top:max(8px,env(safe-area-inset-top))!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
  .nc453-modal-box{
    width:calc(100vw - 16px)!important;
    height:calc(100vh - 16px)!important;
    height:calc(100dvh - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)))!important;
    max-width:100%!important;
    max-height:100%!important;
    border-radius:12px!important;
  }
  .nc453-modal-head{min-height:52px!important;padding:6px 10px!important;gap:8px!important}
  .nc453-modal-title{font-size:14px!important}
  .nc453-modal-close{width:44px!important;height:44px!important}
  .nc453-modal-footer{min-height:45px!important;padding:7px 10px!important}
  .nc453-modal-footer a{font-size:12px!important}
}
@media (max-width:760px) and (orientation:landscape){
  .nc453-modal{padding:5px!important;padding-top:max(5px,env(safe-area-inset-top))!important;padding-bottom:max(5px,env(safe-area-inset-bottom))!important}
  .nc453-modal-box{width:min(660px,calc(100vw - 10px))!important;height:calc(100dvh - max(5px,env(safe-area-inset-top)) - max(5px,env(safe-area-inset-bottom)))!important;border-radius:10px!important}
  .nc453-modal-head{min-height:42px!important;padding:3px 8px!important}
  .nc453-modal-close{min-height:38px!important;min-width:38px!important;width:38px!important;height:38px!important}
  .nc453-modal-footer{min-height:36px!important;padding:4px 8px!important}
}

/* v458: keep product shortcut buttons equal on desktop as well. */
@media (min-width:1181px){
  body.nc-front-397 .nc-buybox .nc454-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
    margin-top:14px!important;
    width:100%!important;
    min-width:0!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-primary-actions,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-document-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-whatsapp,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-favorite,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-favorite button,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-doc-chip{
    display:flex!important;
    box-sizing:border-box!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    margin:0!important;
    padding:7px 10px!important;
    border-radius:12px!important;
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:750!important;
    text-align:center!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-favorite{
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-favorite button{
    border:1px solid #d6e1f0!important;
    background:#fff!important;
    color:#0f172a!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-doc-chip{
    border:1px solid #cbd5e1!important;
    background:#f8fafc!important;
    color:#0f4c81!important;
    cursor:pointer!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-whatsapp{
    background:#16a34a!important;
    color:#fff!important;
    border:1px solid #16a34a!important;
  }
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-whatsapp .nc-wa-icon,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-doc-chip>span,
  body.nc-front-397 .nc-buybox .nc454-actions .nc454-favorite button>span:first-child{
    flex:0 0 auto!important;
  }
}

/* v459 product brand logo */
body.nc-front-397 .nc-buybox a.nc459-product-brand{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:auto!important;max-width:100%!important;min-height:44px!important;white-space:normal!important;text-decoration:none!important}
body.nc-front-397 .nc-buybox a.nc459-product-brand .nc459-brand-logo{display:block!important;flex:0 0 auto!important;width:auto!important;max-width:86px!important;height:auto!important;max-height:44px!important;object-fit:contain!important;object-position:center!important;padding:3px!important;border:1px solid #e2e8f0!important;border-radius:9px!important;background:#fff!important}
body.nc-front-397 .nc-buybox a.nc459-product-brand span{min-width:0!important;overflow-wrap:anywhere!important}
@media(max-width:760px){body.nc-front-397 .nc-buybox a.nc459-product-brand .nc459-brand-logo{max-width:68px!important;max-height:38px!important}}
