.tsmn { --tsmn-accent:#ffd700; color:#171717; display:flex; align-items:center; justify-content:center; gap:22px; font:inherit; }
.tsmn, .tsmn * { box-sizing:border-box; }
/* The product gallery has its own overlay controls. Keep an open menu above that stacking context. */
header.elementor-location-header:has(.tsmn details[open]) { z-index:10040; }
@media(min-width:1025px){ header.elementor-location-header:has(.tsmn details[open]) { position:relative; } }
.tesmile-header-complet:has(.tsmn details[open]) { z-index:10040!important; }
/* The legacy Elementor widget has a 3D hover transform. It would become the
   containing block of our fixed panel and distort the hamburger. */
header.elementor-location-header .elementor-widget-shortcode:has(.tsmn),
header.elementor-location-header .elementor-widget-shortcode:has(.tsmn) > .elementor-widget-container { transform:none!important; }
.tsmn details { margin:0; }
.tsmn summary { list-style:none; display:flex; gap:10px; align-items:center; padding:16px 4px; font-size:17px; font-weight:600; color:#171717; cursor:pointer; min-height:48px; }
.tsmn summary::-webkit-details-marker { display:none; }
.tsmn .tsmn-chevron { display:block; flex:0 0 12px; width:12px; height:8px; align-self:center; overflow:visible; }
.tsmn details[open]>summary .tsmn-chevron { transform:rotate(180deg); }
.tsmn summary:hover,.tsmn details[open]>summary { color:#171717; text-decoration:underline; text-decoration-color:#d6b300; text-underline-offset:8px; }
.tsmn .tsmn-pop { position:fixed; top:var(--tsmn-top,140px); left:max(16px,calc((100vw - 1180px)/2)); width:min(1180px,calc(100vw - 32px)); min-height:min(var(--tsmn-panel-height,0px),calc(100dvh - var(--tsmn-top,140px) - 16px)); max-height:calc(100dvh - var(--tsmn-top,140px) - 16px); overflow-y:auto; overscroll-behavior:contain; background:#e8e8e8; color:#171717; border:2px solid #929292; border-top:3px solid #ffd700; border-radius:0 0 12px 12px; padding:25px 30px; box-shadow:0 18px 40px #0004,0 2px 6px #0001; z-index:10020; text-align:left; }
.tsmn [hidden] { display:none!important; }
.tsmn h2 { font-family:inherit; font-size:24px; line-height:1.25; font-weight:600; color:#171717; margin:4px 0 12px; }
.tsmn h3 { font-family:inherit; font-size:23px; line-height:1.3; margin:4px 0 12px; color:#171717; }
.tsmn p { margin:0 0 16px; line-height:1.5; font-size:15px; color:#505050; }
.tsmn .tsmn-eyebrow { font-size:12px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:12px; }
.tsmn .tsmn-directory { display:grid; grid-template-columns:340px 1fr; gap:42px; margin-top:24px; }
.tsmn .tsmn-quick { padding-right:30px; border-right:1px solid #dedede; }
.tsmn .tsmn-models,.tsmn .tsmn-families { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:32px; margin-top:16px; }
.tsmn .tsmn-brands { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; column-gap:32px; }
.tsmn .tsmn-pop .tsmn-directory-title { font-size:18px; line-height:1.3; margin:0 0 8px; color:#171717; }
.tsmn .tsmn-brands>.tsmn-directory-title { grid-column:1/-1; }
.tsmn .tsmn-pop .tsmn-link { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:48px; padding:12px 8px; margin:0; border:0; border-bottom:1px solid #cecece; border-radius:4px; background:transparent; color:#171717; font-family:inherit; font-size:15px; font-weight:500; line-height:1.4; text-decoration:none; text-align:left; }
.tsmn .tsmn-link>span:first-child { min-width:0; overflow-wrap:anywhere; }
.tsmn .tsmn-pop .tsmn-all { display:inline-flex; width:auto; max-width:100%; min-height:44px; gap:12px; background:transparent; color:#171717; border:1px solid #898989; border-radius:6px; margin:6px 0 4px; padding:8px 12px; font-weight:600; }
.tsmn .tsmn-pop .tsmn-link:hover { background:#ffd700; color:#111; border-color:#b29500; }
.tsmn .tsmn-panel-head { display:flex; justify-content:space-between; align-items:center; min-height:40px; }
.tsmn .tsmn-pop .tsmn-back,.tsmn .tsmn-pop .tsmn-close { border:1px solid #111; background:#111; color:#ffd700; font-family:inherit; border-radius:6px; min-height:36px; padding:8px 12px; font-size:13px; line-height:1.3; }
.tsmn .tsmn-pop .tsmn-back { text-decoration:none; }
.tsmn .tsmn-pop .tsmn-close { font-size:24px; min-width:40px; min-height:40px; padding:0; margin-left:auto; }
.tsmn [data-tsmn-panel="start"]>.tsmn-panel-head>.tsmn-back { visibility:hidden; }
/* The desktop directory has no back action. Keep its close button beside the
   title so its heading and content use the same top inset as Recharge. */
.tsmn[data-layout="desktop"] [data-tsmn-panel="start"] { position:relative; }
.tsmn[data-layout="desktop"] [data-tsmn-panel="start"]>.tsmn-panel-head { position:absolute; top:0; right:0; }
.tsmn[data-layout="desktop"] [data-tsmn-panel="start"]>.tsmn-panel-head>.tsmn-back { display:none; }
.tsmn[data-layout="desktop"] [data-tsmn-panel="start"]>h2 { padding-right:56px; }
.tsmn[data-layout="mobile"] [data-tsmn-panel="start"]>.tsmn-panel-head>.tsmn-back { visibility:visible; }
.tsmn .tsmn-pop .tsmn-back:hover,.tsmn .tsmn-pop .tsmn-close:hover { background:#ffd700; color:#111; border-color:#b29500; }
.tsmn a:focus-visible,.tsmn button:focus-visible,.tsmn summary:focus-visible { outline:3px solid #8b7200; outline-offset:3px; }
.tsmn .tsmn-sr { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.tsmn[data-layout="mobile"] { display:none; }
/* Trott's Android submenu uses the system Roboto. Supply the same regular
   face on devices without it; only the mobile drawer requests this family. */
@font-face {
  font-family:"Tesmile Menu Roboto"; font-style:normal; font-weight:400; font-display:swap;
  src:local("Roboto Regular"),local("Roboto"),url("menu-roboto-latin-400-v1.woff2") format("woff2");
}
@font-face {
  font-family:"Tesmile Menu Roboto"; font-style:normal; font-weight:500; font-display:swap;
  src:local("Roboto Medium"),local("Roboto-Medium"),url("menu-roboto-latin-500-v1.woff2") format("woff2");
}
@media(max-width:1024px){
  /* Keep the promo in normal flow and the logo, cart and hamburger together.
     Opening the drawer must never turn its sticky header into a relative one. */
  body:not(.elementor-editor-active) > header.elementor-location-header:has(.tsmn[data-layout="mobile"]) {
    position:sticky; top:calc(0px - var(--tsmn-before-bar,var(--tesmile-header-before-menu,0px))); z-index:1000;
  }
  body:not(.elementor-editor-active) > header.elementor-location-header:has(.tsmn[data-layout="mobile"] details[open]) { z-index:10040; }
  .tsmn[data-layout="mobile"] .tsmn-pop {
    --tsmn-mobile-surface:#f2f2f0; background:var(--tsmn-mobile-surface);
    inset-inline:0; width:auto; max-width:none; padding:12px 18px 18px; padding-bottom:max(18px,env(safe-area-inset-bottom));
    max-height:var(--tsmn-room,calc(100dvh - var(--tsmn-top,140px))); min-height:0;
    border:0; border-bottom:1px solid #aaa; border-radius:0 0 8px 8px; box-shadow:0 9px 18px #0003;
  }
  .tsmn[data-layout="desktop"] { display:none; }
  .tsmn[data-layout="mobile"] { display:flex; justify-content:flex-start; }
  .tsmn[data-layout="mobile"] summary {
    width:44px; height:44px; min-width:44px; min-height:44px; padding:3px 7px; justify-content:center;
    background:#171717; color:#ffd700; border:0; border-radius:3px;
    -webkit-tap-highlight-color:transparent; touch-action:manipulation;
  }
  .tsmn[data-layout="mobile"] summary:hover { color:#ffd700; text-decoration:none; }
  .tsmn[data-layout="mobile"] details[open]>summary { color:#ffd700; background:#171717; text-decoration:none; }
  .tsmn .tsmn-burger { display:block; width:23px; height:23px; flex:none; }
  .tsmn .tsmn-x,.tsmn details[open] .tsmn-bars { display:none; }
  .tsmn details[open] .tsmn-x { display:block; }
  .tsmn .tsmn-directory { grid-template-columns:1fr; gap:16px; margin-top:16px; }
  .tsmn .tsmn-quick { padding:0; border:0; }
  .tsmn[data-layout="mobile"] .tsmn-pop {
    --tsmn-mobile-font:"Tesmile Menu Roboto", Roboto, sans-serif;
    font-family:var(--tsmn-mobile-font);
  }
  .tsmn[data-layout="mobile"] .tsmn-pop .tsmn-link { font:400 16px/20px var(--tsmn-mobile-font); letter-spacing:normal; }
  .tsmn[data-layout="mobile"] [data-tsmn-panel="home"] > .tsmn-link { min-height:52px; }
  .tsmn .tsmn-pop .tsmn-quick .tsmn-link { min-height:48px; padding:10px 6px; }
  .tsmn .tsmn-brands { grid-template-columns:1fr; border-top:1px solid #b6b6b6; padding-top:16px; }
  .tsmn .tsmn-models,.tsmn .tsmn-families { grid-template-columns:1fr; margin-top:8px; }
  /* Two classes outrank Elementor's global .elementor-kit-* h2 rule. */
  .tsmn .tsmn-pop h2 { font-size:22px; line-height:1.25; margin:4px 0 10px; }
  .tsmn[data-layout="mobile"] .tsmn-pop .tsmn-directory-title {
    font:400 19px/1.3 var(--tsmn-mobile-font); color:#262626; margin:0 0 6px;
    padding-inline:6px; text-align:start;
  }
  .tsmn[data-layout="mobile"] .tsmn-brands .tsmn-link { padding-inline:6px; }
  .tsmn .tsmn-pop p { font-size:14px; line-height:1.4; margin-bottom:12px; }
  .tsmn .tsmn-pop .tsmn-eyebrow { font-size:12px; margin-bottom:8px; }
  .tsmn[data-layout="mobile"] .tsmn-panel-head {
    display:grid; grid-template-columns:44px minmax(0,1fr); gap:6px; min-height:48px; align-items:center;
    position:sticky; top:0; z-index:1; background:var(--tsmn-mobile-surface);
    box-shadow:0 -12px 0 var(--tsmn-mobile-surface);
  }
  .tsmn[data-layout="mobile"] .tsmn-panel-head h2 {
    font:400 clamp(18px,5.4vw,21px)/1.22 var(--tsmn-mobile-font); margin:0; text-align:start;
    min-width:0; overflow-wrap:anywhere; text-wrap:balance;
  }
  /* Reserve the same space on each side of the directory title for a true
     center. Model and brand names still have the full room beside the arrow. */
  .tsmn[data-layout="mobile"] [data-tsmn-panel="start"] > .tsmn-panel-head {
    grid-template-columns:44px minmax(0,1fr) 44px;
  }
  .tsmn[data-layout="mobile"] [data-tsmn-panel="start"] > .tsmn-panel-head h2 {
    font-size:21px; text-align:center;
  }
  .tsmn[data-layout="mobile"] [data-tsmn-panel="start"] > .tsmn-panel-head h2,
  .tsmn[data-layout="mobile"] [data-tsmn-panel="start"] .tsmn-directory-title {
    font-weight:500; color:#171717;
  }
  .tsmn[data-layout="mobile"] .tsmn-pop .tsmn-back {
    display:grid; place-items:center; width:44px; min-width:44px; height:48px; min-height:48px;
    padding:0; border:0; background:transparent; color:#171717; line-height:1;
  }
  .tsmn[data-layout="mobile"] .tsmn-back .tsmn-back-icon { display:block; width:26px; height:26px; }
  .tsmn[data-layout="mobile"] .tsmn-pop .tsmn-back:hover { background:transparent; color:#171717; }
  .tsmn[data-layout="mobile"] .tsmn-pop .tsmn-all { min-height:48px; margin:2px 0 4px; padding:6px 12px; }
  .tsmn .tsmn-search { margin:14px 0 2px; }
  .tsmn .tsmn-search .dgwt-wcas-search-wrapp { width:100%; max-width:none; min-width:0; margin:0; }
  .tsmn .tsmn-search .dgwt-wcas-search-form, .tsmn .tsmn-search .dgwt-wcas-sf-wrapp { margin:0; background:transparent; }
  .tsmn .tsmn-search input[type="search"],
  .tsmn[data-layout="mobile"] .tsmn-search .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input[type="search"] {
    box-sizing:border-box; height:50px; min-height:50px; padding-block:0; width:100%; border:1px solid #878781; border-radius:25px;
    background:#fff; color:#171717; font-size:17px; line-height:1.25; box-shadow:none;
  }
  .tsmn[data-layout="mobile"] .tsmn-search input[type="search"]::placeholder { color:#545454; opacity:1; font-style:normal; }
  /* FiboSearch's Pirx skin positions the lens from the top in pixels. Anchor
     it to the middle of this field regardless of its height or font metrics. */
  .tsmn[data-layout="mobile"] .tsmn-search .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit {
    top:50%; bottom:auto; left:23px; right:auto; transform:translateY(-50%); margin:0; padding:0;
    display:grid; place-items:center;
  }
  .tsmn[data-layout="mobile"] .tsmn-search .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier {
    position:static; margin:0; transform:none; display:block;
  }
  .tsmn[data-layout="mobile"] .tsmn-search .dgwt-wcas-sf-wrapp input[type="search"]:focus { border-color:#171717; outline:2px solid #9b8100; outline-offset:1px; }
  .tsmn-search .dgwt-wcas-enable-mobile-form { border-radius:25px; }
  .tsmn-search .dgwt-wcas-enable-mobile-form:focus-visible { outline:2px solid #766000; outline-offset:2px; }

  /* FiboSearch moves the actual form and its results under body while searching. */
  .dgwt-wcas-overlay-mobile.tsmn-search-overlay {
    --tsmn-search-bar:calc(56px + env(safe-area-inset-top,0px));
    position:fixed; inset:var(--tsmn-view-top,0px) 0 auto; height:var(--tsmn-view-height,100dvh);
    width:auto; overflow:hidden; background:#f2f2f0; color:#171717;
  }
  .tsmn-search-overlay .dgwt-wcas-om-bar {
    height:var(--tsmn-search-bar); align-items:center; gap:6px;
    padding:env(safe-area-inset-top,0px) max(12px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left));
    background:#fff; border-bottom:2px solid #ffd700;
  }
  .tsmn-search-overlay .dgwt-wcas-om-bar button.dgwt-wcas-om-return {
    display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; border:1px solid #cbcbc6;
    border-radius:50%; background:#f2f2f0; color:#171717; -webkit-tap-highlight-color:transparent;
  }
  .tsmn-search-overlay .dgwt-wcas-om-bar button.dgwt-wcas-om-return:focus-visible {
    outline:2px solid #766000; outline-offset:1px;
  }
  .dgwt-wcas-overlay-mobile.tsmn-search-overlay .dgwt-wcas-om-bar button.dgwt-wcas-om-return svg {
    position:static; width:24px; height:24px; fill:currentColor;
  }
  .tsmn-search-overlay .dgwt-wcas-search-form .dgwt-wcas-ico-magnifier { display:none; }
  .tsmn-search-overlay .dgwt-wcas-om-bar .dgwt-wcas-search-wrapp-mobile { flex:1; min-width:0; width:auto; }
  .tsmn-search-overlay .dgwt-wcas-sf-wrapp { background:transparent; }
  .tsmn-search-overlay .dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
    padding-inline:10px 42px; background:#fff; border:0; box-shadow:none; color:#171717; font-size:18px!important;
  }
  .tsmn-search-overlay input[type="search"]::placeholder { color:#555550; opacity:1; }
  .dgwt-wcas-overlay-mobile-on .tsmn-search-overlay .dgwt-wcas-suggestions-wrapp {
    top:var(--tsmn-search-bar)!important; height:calc(100% - var(--tsmn-search-bar))!important;
    max-height:calc(100% - var(--tsmn-search-bar))!important;
    overscroll-behavior:contain; padding-bottom:env(safe-area-inset-bottom,0px);
  }
}
@media(min-width:601px) and (max-width:1024px){
  body.admin-bar:not(.elementor-editor-active) > header.elementor-location-header:has(.tsmn[data-layout="mobile"]) {
    top:calc(var(--wp-admin--admin-bar--height,0px) - var(--tsmn-before-bar,var(--tesmile-header-before-menu,0px)));
  }
}
@media(prefers-reduced-motion:no-preference){ .tsmn .tsmn-link { transition:background-color .12s; } }
