/* Mobile fields: prevent focus zoom while preserving pinch zoom and scrolling. */
@media(max-width:1100px){
  body input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=range]):not([type=color]),
  body textarea,body select,
  #header #tlv-search-widget.tlv-search-widget input[type=search]{font-size:16px!important;line-height:1.5!important}
  body input:focus,body textarea:focus,body select:focus{transform:none!important;scroll-margin-block:90px 28px}
  #header .tlv-topbar>.tlv-wrap>span{display:none!important}
  #header .tlv-topbar>.tlv-wrap>a{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;font-size:12px;line-height:1.4}
  #header .tlv-topbar>.tlv-wrap{min-height:34px;justify-content:center;padding-block:5px}
}
/* Every label gets its own shrinkable text box; long compound words wrap. */
#header .tlv-nav-category>summary .tlv-nav-label{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere;hyphens:auto;text-wrap:balance}
#header .tlv-nav-category>summary>svg{flex:0 0 12px;width:12px;min-width:12px}
@media(min-width:1101px){
  #header .tlv-menu-items{grid-template-columns:repeat(11,minmax(0,1fr));align-items:stretch}
  #header .tlv-nav-category>summary{padding:17px 10px;gap:7px;font-size:clamp(11px,.86vw,14px);min-height:82px;height:100%;line-height:1.45}
  #header .tlv-nav-category>summary .tlv-nav-label{flex:0 1 auto}
}
/* Give the related section a complete row and independent card spacing. */
body#product .tlv-related.tlv-product-row{display:block;clear:both;float:none;flex:0 0 100%;width:100%;min-width:0;margin:52px 0 28px;padding:32px 0 0;border-top:1px solid #dce7df}
body#product .tlv-related .tlv-row-heading{margin:0 0 24px;gap:24px;padding:0;align-items:flex-end}
body#product .tlv-related .tlv-section-head h2{font-size:28px;line-height:1.3;margin:0;overflow-wrap:anywhere}
body#product .tlv-related .tlv-products.tlv-carousel-track{display:flex;align-items:stretch;gap:24px;margin:0;padding:4px 0 20px;scroll-padding-inline:0;max-width:100%;width:100%}
body#product .tlv-related .tlv-products.tlv-carousel-track>.tlv-product.product-miniature{flex:0 0 calc((100% - 72px)/4);width:calc((100% - 72px)/4);margin:0!important;min-width:0;box-sizing:border-box}
body#product .tlv-related .tlv-product-body{padding:18px;gap:12px;flex:1 1 auto}
@media(max-width:1100px){body#product .tlv-related .tlv-products.tlv-carousel-track>.tlv-product.product-miniature{flex-basis:calc((100% - 48px)/3);width:calc((100% - 48px)/3)}}
@media(max-width:767px){
  body#product .tlv-related.tlv-product-row{margin-top:36px;padding-top:26px}
  body#product .tlv-related .tlv-row-heading{gap:14px;margin-bottom:18px;flex-wrap:wrap}
  body#product .tlv-related .tlv-section-head h2{font-size:23px}
  body#product .tlv-related .tlv-products.tlv-carousel-track{gap:16px}
  body#product .tlv-related .tlv-products.tlv-carousel-track>.tlv-product.product-miniature{flex-basis:82%;width:82%}
}
/* Quote controls match the shop's existing green actions. */
.tlvq-action,.tlvq-submit{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:13px 20px;background:#08775b;color:#fff!important;border:1px solid #08775b;border-radius:6px;font:600 14px/1.4 TlvPoppins,Poppins,Arial,sans-serif;text-decoration:none!important;white-space:normal;cursor:pointer;box-shadow:none}
.tlvq-action:hover,.tlvq-submit:hover{background:#075e48;border-color:#075e48}
.tlvq-action:focus-visible,.tlvq-submit:focus-visible,.tlvq-close:focus-visible{outline:3px solid #58c5a6;outline-offset:3px}
.tlv-product-body>.tlvq-action{margin-top:auto;width:100%;box-sizing:border-box}
.product-add-to-cart .tlvq-action{width:100%;max-width:440px;margin:12px 0}
.tlvq-dialog{position:fixed;inset:0;width:min(720px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:0;border-radius:12px;background:#fff;color:#213a2d;box-shadow:0 25px 80px #142b2540;overflow:auto;overscroll-behavior:contain}
.tlvq-dialog::backdrop{background:#172c256b}
.tlvq-dialog *,.tlvq-page *{box-sizing:border-box}
.tlvq-dialog-body{padding:32px}
.tlvq-close{position:sticky;top:10px;float:right;margin:10px 12px -42px 0;width:36px;height:36px;border:1px solid #dce7df;border-radius:50%;background:#fff;color:#214a39;font-size:26px;line-height:1;z-index:2;cursor:pointer}
.tlvq-page{max-width:760px;margin:0 auto 40px;padding:24px;border:1px solid #dce7df;border-radius:8px}
.tlvq-content{font:400 14px/1.6 TlvPoppins,Poppins,Arial,sans-serif}
.tlvq-heading{padding-right:20px}
.tlvq-kicker{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#08775b;margin:0 0 8px}
.tlvq-heading h2{font-size:27px;line-height:1.3;font-weight:600;color:#173d2b;margin:0 0 10px;text-transform:none}
.tlvq-heading>p:last-child{color:#61736a;font-size:14px;line-height:1.65;margin:0 0 20px}
.tlvq-product{display:grid;gap:4px;padding:16px 18px;margin-bottom:22px;background:#f4f8f5;border:1px solid #e2ebe5;border-radius:6px;overflow-wrap:anywhere}
.tlvq-product strong{font-size:14px;font-weight:600}.tlvq-product small{color:#63746a;font-size:12px}
.tlvq-form fieldset{border:0;padding:0;margin:0 0 18px;min-width:0}
.tlvq-profile legend{font-size:13px;font-weight:600;margin:0 0 8px}
.tlvq-profile label{display:inline-flex;align-items:center;gap:7px;margin:0 15px 7px 0;cursor:pointer}
.tlvq-profile input{accent-color:#08775b}
.tlvq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tlvq-grid>label{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0;font-size:12px;font-weight:500;color:#284637}
.tlvq-grid label small{display:inline;font-size:11px;color:#718078;font-weight:400}
.tlvq-wide{grid-column:1/-1}
.tlvq-grid input,.tlvq-grid select,.tlvq-grid textarea{display:block;width:100%;height:auto;min-height:46px;margin:0;padding:11px 12px;border:1px solid #ccd9d0;border-radius:5px;background:#fff;color:#203b2d;box-shadow:none;font:400 16px/1.5 TlvPoppins,Arial,sans-serif;transition:border-color .15s}
.tlvq-grid textarea{resize:vertical;min-height:96px}
.tlvq-grid input:focus,.tlvq-grid select:focus,.tlvq-grid textarea:focus{border-color:#08775b;outline:2px solid #08775b24;outline-offset:1px}
.tlvq-note{font-size:11px;line-height:1.6;color:#6b7c72;margin:18px 0}
.tlvq-submit{width:100%}.tlvq-submit:disabled{opacity:.6;cursor:wait}
.tlvq-content [hidden]{display:none!important}
.tlvq-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.tlvq-status{border:1px solid #e5c2b9;border-radius:5px;background:#fff8f6;padding:14px;color:#8c3325;font-size:14px;overflow-wrap:anywhere}
.tlvq-status.is-success{border-color:#bedccc;color:#176443;background:#f4faf6}
.tlvq-cart{margin:18px 0;padding:18px;border:1px solid #dce7df;border-radius:6px;background:#f4f8f5}.tlvq-cart a{color:#08775b}
@media(max-width:575px){
  .tlvq-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:8px}
  .tlvq-dialog-body{padding:24px 18px}.tlvq-heading h2{font-size:23px}.tlvq-grid{grid-template-columns:1fr;gap:14px}.tlvq-wide{grid-column:auto}.tlvq-page{padding:18px;border:0}
}

body#product .tlv-related .tlv-product-body>form{margin-top:auto}
.tlvq-action .tlv-icon{width:18px;height:18px;flex-shrink:0}

/* 1.1.0: constrain layout at the source, preserve the mobile menu overlay. */
html,body{max-width:100%;overflow-x:clip}
#header,.tlv-header-top,.tlv-category-nav,.tlv-nav-shell{max-width:100%;min-width:0}
#header .tlv-main-header{min-width:0}
#header .tlv-main-header>.tlv-search{min-width:0;max-width:100%}
#header .tlv-menu-items>.tlv-nav-category{min-width:0;max-width:100%}
#header .tlv-nav-category>summary{box-sizing:border-box;min-width:0;max-width:100%;white-space:normal!important}
#header .tlv-nav-category>summary .tlv-nav-label{white-space:normal!important;word-break:normal;overflow-wrap:anywhere}
@media(min-width:1101px){
 #header .tlv-menu-items{display:grid!important;width:100%;max-width:100%;grid-template-columns:repeat(11,minmax(0,1fr))!important}
 #header .tlv-nav-category>summary{display:flex!important;align-items:center;justify-content:center;gap:6px!important;padding:17px 8px!important;font-size:clamp(10px,.86vw,14px)!important;line-height:1.45!important}
 #header .tlv-nav-category>summary .tlv-nav-label{flex:1 1 0;min-width:0;text-align:center}
}
@media(max-width:1100px){
 #header .tlv-topbar>.tlv-wrap>span{display:none!important}
 #header .tlv-topbar>.tlv-wrap>a{display:inline-flex!important;white-space:normal;text-align:center}
}
.tlvq-honey{display:none!important}
body[id*="tlvquotes"] #content-wrapper{float:none;width:100%;max-width:100%;min-width:0}
body[id*="tlvquotes"] #main>.page-header{display:none}
.tlvq-page{width:min(760px,100%);box-sizing:border-box;padding:32px;margin:24px auto 48px;background:#fff}
.tlvq-empty{max-width:680px;margin:32px auto;padding:28px;border:1px solid #dce7df;border-radius:8px;background:#f6faf7;text-align:center}
.tlvq-empty h2{font-size:22px;line-height:1.4;margin:0 0 12px}.tlvq-empty p{margin:0 0 18px}
.tlv-category-description{max-width:100%;overflow-wrap:anywhere}
@media(max-width:575px){.tlvq-page{padding:18px 12px;margin-top:12px}.tlvq-empty{padding:22px 18px}}
.tlv-product-info .tlv-info-row p>strong{display:inline!important;font-weight:700}
