/* Taimelamp.ee header — 2026-10 redesign (d2026-10-04-02).
   Markup: parts/header-modern.php. Loaded after the legacy header.css, which still
   styles the mobile drawer (.tl-header__drawer*). Everything here is scoped to
   .tl-strip26 / .tl-hdr26 so it cannot leak into page content. */

.tl-strip26{background:#16201a;color:#fff;font:400 13px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;text-align:center;padding:7px 12px;margin:0}
.tl-strip26 b{font-weight:600}

.tl-hdr26{position:sticky;top:0;z-index:1400;background:#fff;border-bottom:1px solid #e6ebe7;color:#16201a;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.5}
.admin-bar .tl-hdr26{top:32px}
@media (max-width:782px){.admin-bar .tl-hdr26{top:0}}
.tl-hdr26 *{box-sizing:border-box}
.tl-hdr26 a{color:inherit;text-decoration:none}
.tl-hdr26__in{max-width:1240px;margin:0 auto;padding:0 20px;display:flex;flex-wrap:wrap;align-items:center;column-gap:16px}

/* logo */
.tl-hdr26__logo{display:flex;align-items:center;gap:8px;height:60px;font-weight:700;font-size:19px;letter-spacing:-.02em;color:#16201a}
.tl-hdr26__logo svg{flex:0 0 26px;display:block}
.tl-hdr26__logo b{font-weight:700}
.tl-hdr26__logo span{color:#2f6b3a}

/* desktop nav */
.tl-hdr26__nav{display:none;gap:22px;font-size:15px;font-weight:500}
.tl-hdr26__nav a{color:#16201a;padding:4px 0;white-space:nowrap}
.tl-hdr26__nav a:hover,.tl-hdr26__nav a[aria-current="page"]{color:#2f6b3a}

/* icons */
.tl-hdr26__icons{display:flex;align-items:center;gap:4px;margin-left:auto}
.tl-hdr26__icon,
.tl-hdr26 .tl-header__action--cart{width:42px;height:42px;display:grid;place-items:center;border-radius:999px;position:relative;color:#16201a;background:transparent;border:0;padding:0;margin:0;box-shadow:none;transform:none;cursor:pointer}
.tl-hdr26__icon:hover,.tl-hdr26__icon:focus-visible,
.tl-hdr26 .tl-header__action--cart:hover,.tl-hdr26 .tl-header__action--cart:focus-visible{background:#f6f8f6;color:#16201a;transform:none;box-shadow:none}
.tl-hdr26__icon svg{display:block}
/* cart icon: the shared cart markup (includes/header.php) carries a mask span */
.tl-hdr26 .tl-header__action--cart .tl-icon--cart{display:block;width:22px;height:22px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M5 7h14l-1.2 12H6.2z'/%3E%3Cpath d='M9 7a3 3 0 016 0'/%3E%3C/svg%3E") center/22px 22px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M5 7h14l-1.2 12H6.2z'/%3E%3Cpath d='M9 7a3 3 0 016 0'/%3E%3C/svg%3E") center/22px 22px no-repeat}
.tl-hdr26 .tl-header__action--cart .tl-icon--cart svg{display:none}
.tl-hdr26 .tl-header__cart-count{position:absolute;top:4px;right:3px;left:auto;background:#2f6b3a;color:#fff;font-size:11px;font-weight:700;line-height:1;min-width:17px;height:17px;padding:0 4px;border-radius:9px;border:0;display:grid;place-items:center}

/* search (one FiboSearch instance; wraps to its own row on mobile) */
.tl-hdr26__search{order:3;flex:0 0 100%;padding:0 0 12px}
.tl-hdr26 .dgwt-wcas-search-wrapp{max-width:none;min-width:0;width:100%;margin:0}
.tl-hdr26 .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp{padding:0;background:transparent;border:0;box-shadow:none}
.tl-hdr26 .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input,
.tl-hdr26 .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:hover,
.tl-hdr26 .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus{height:42px;padding:0 16px 0 42px;border:1px solid #e6ebe7;border-radius:999px;background:#f6f8f6;color:#16201a;font-size:15px;box-shadow:none;outline:0}
.tl-hdr26 .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus{border-color:#2f6b3a;background:#fff!important;background-color:#fff!important} /* beats Astra's dark-mode !important focus fill */
.tl-hdr26 .dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{left:4px;right:auto}
.tl-hdr26 .dgwt-wcas-search-wrapp input[type=search].dgwt-wcas-search-input::placeholder{color:#5b665f;opacity:1}
.tl-hdr26 .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit{position:absolute;left:4px;right:auto;top:0;bottom:0;height:42px;width:38px;min-width:0;margin:0;padding:0;background:transparent;border:0;border-radius:999px;box-shadow:none;color:#5b665f;display:grid;place-items:center}
.tl-hdr26 .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:before{display:none}
.tl-hdr26 .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit svg{width:17px;height:17px;fill:#5b665f;max-width:none}
.tl-hdr26 .dgwt-wcas-search-wrapp .dgwt-wcas-preloader{right:12px}
.tl-hdr26 .dgwt-wcas-voice-search{display:none}

@media (min-width:1024px){
  .tl-hdr26__in{flex-wrap:nowrap;column-gap:32px}
  .tl-hdr26__logo{height:72px;font-size:21px}
  .tl-hdr26__nav{display:flex}
  .tl-hdr26__search{order:0;flex:1 1 auto;max-width:340px;margin-left:auto;padding:0}
  .tl-hdr26__icons{margin-left:0}
  .tl-hdr26__menu{display:none}
}
@media (min-width:1024px) and (max-width:1180px){
  .tl-hdr26__in{column-gap:20px}
  .tl-hdr26__nav{gap:16px;font-size:14.5px}
}
