/* ConnecTech v1.31 — preferences, live search, shop "Find your next solution" panel, footer columns, hover menu */

/* =========================================================
   1. PREFERENCES (language · currency · light/dark) — left of the search box
   ========================================================= */
.ct-prefs{position:relative;display:flex;align-items:center;flex:0 0 auto;margin-right:-18px}
.ct-pinline{display:none;align-items:center;gap:7px}
.ct-pbtn{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:38px;min-width:38px;padding:0 9px;border:1px solid var(--line,#e3e9ee);border-radius:999px;background:#fff;color:var(--ink,#102638);font:700 11px/1 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:.02em;cursor:pointer;transition:border-color .18s,box-shadow .18s,background .18s,transform .18s}
.ct-pbtn:hover,.ct-pbtn[aria-expanded="true"]{border-color:#1364d8;box-shadow:0 0 0 3px rgba(19,100,216,.14)}
.ct-pbtn:active{transform:scale(.96)}
.ct-pbtn:focus-visible{outline:2px solid #1364d8;outline-offset:2px}
.ct-pbtn svg{width:19px;height:19px;flex:0 0 auto}
.ct-psym{font-size:14px;font-weight:800}
.ct-pcode{font-size:10.5px;font-weight:800;letter-spacing:.04em;color:#4d6172}
.ct-ptheme{padding:0;width:38px}
.ct-ptheme svg{width:22px;height:22px}
.ct-pmore{display:inline-flex;padding:0 11px 0 9px}
.ct-pmore b{font-size:12px;font-weight:750}
.ct-pmore em{font-style:normal;font-size:10px;color:#6a7d8c}
.ct-pmini{display:inline-flex;align-items:center;gap:3px}
.ct-pmini svg{width:15px;height:15px}
.ct-pmini i{font-style:normal;display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border-radius:50%;background:#e8f1fc;color:#1364d8;font-size:9px;font-weight:800}
@media(min-width:1380px){.ct-pinline{display:flex}.ct-pmore{display:none}}

.ct-ppanel{position:absolute;left:0;top:calc(100% + 10px);z-index:120;width:340px;max-width:calc(100vw - 24px);max-height:min(76vh,560px);overflow:auto;padding:14px;border:1px solid var(--line,#e3e9ee);border-radius:16px;background:#fff;color:var(--ink,#102638);box-shadow:0 22px 56px rgba(16,38,56,.22);animation:ct-pop .16s ease-out}
.ct-ppanel[hidden]{display:none}
@keyframes ct-pop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.ct-psec+.ct-psec{margin-top:14px;padding-top:12px;border-top:1px solid var(--line,#e3e9ee)}
.ct-psec h4{margin:0 0 8px;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:#6a7d8c}
.ct-ppanel[data-show="lang"] .ct-psec:not(.ct-psec-lang),.ct-ppanel[data-show="cur"] .ct-psec:not(.ct-psec-cur){display:none}
.ct-ppanel[data-show="lang"] .ct-psec,.ct-ppanel[data-show="cur"] .ct-psec{margin:0;padding:0;border:0}
.ct-plist{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ct-plist button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 11px;border:1px solid var(--line,#e3e9ee);border-radius:10px;background:#f8fafb;color:inherit;text-align:left;cursor:pointer;transition:all .15s}
.ct-plist button span{font-size:14px;font-weight:700}
.ct-plist button small{font-size:10.5px;color:#6a7d8c}
.ct-plist button:hover{border-color:#1364d8;background:#eef5fd}
.ct-plist button.is-on{border-color:#1364d8;background:#e6f0fd;box-shadow:inset 0 0 0 1px #1364d8}
.ct-plist-cur button span b{display:inline-block;min-width:22px;color:#1364d8}
.ct-pnote{margin:9px 0 0;font-size:10.5px;line-height:1.5;color:#6a7d8c}
.ct-pseg{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;border-radius:12px;background:#eef2f6}
.ct-pseg button{padding:9px 6px;border:0;border-radius:9px;background:transparent;color:#4d6172;font:700 12px/1 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer;transition:all .15s}
.ct-pseg button.is-on{background:#fff;color:#1364d8;box-shadow:0 2px 8px rgba(16,38,56,.14)}
@media(max-width:1180px){.ct-prefs{margin-right:-8px}}
@media(max-width:560px){
  .ct-prefs{margin:0 0 0 auto}
  .ct-pmore b,.ct-pmore em{display:none}
  .ct-pmore{padding:0 9px}
  .ct-ppanel{position:fixed;left:12px;right:12px;top:68px;width:auto;max-width:none}
}

/* hide Google's own banner and tooltip; keep the layout steady */
body{top:0!important}
.goog-te-banner-frame,.skiptranslate>iframe,#goog-gt-tt,.goog-te-balloon-frame,.VIpgJd-ZVi9od-ORHb-OEVmcd,.VIpgJd-ZVi9od-aZ2wEe-wOHMyf{display:none!important}
.goog-text-highlight{background:none!important;box-shadow:none!important}
.ct-gt-hidden{position:absolute;left:-9999px;top:0;width:1px;height:1px;overflow:hidden}
/* right-to-left languages (Urdu, Arabic): page content reads from the right; the header and menus stay as they are */
html.ct-rtl main,html.ct-rtl .site-footer,html.ct-rtl .ct-adstrip{direction:rtl}
html.ct-rtl main :where(p,h1,h2,h3,h4,li,label,span,summary){text-align:start}

/* =========================================================
   2. LIVE SEARCH LIST
   ========================================================= */
.header-search,.ct-find-search,.ct-nav-search{position:relative}
.ct-livebox{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:130;max-height:min(70vh,520px);overflow:auto;padding:6px;border:1px solid var(--line,#e3e9ee);border-radius:14px;background:#fff;color:var(--ink,#102638);box-shadow:0 22px 56px rgba(16,38,56,.22);text-align:left}
.ct-livebox[hidden]{display:none}
.header-search .ct-livebox{min-width:min(520px,92vw)}
.ct-live-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:11px;align-items:center;padding:8px 9px;border-radius:10px;color:inherit;text-decoration:none}
.ct-live-item:hover,.ct-live-item:focus-visible{background:#eef5fd;outline:none}
.ct-live-item img,.ct-live-noimg{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#f0f3f5}
.ct-live-t{display:flex;flex-direction:column;min-width:0;font-size:13px;font-weight:700;line-height:1.35}
.ct-live-t em{font-style:normal;font-weight:500;font-size:11px;color:#6a7d8c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ct-live-item b{font-size:12px;color:#1364d8;white-space:nowrap}
.ct-live-all{display:block;margin-top:4px;padding:11px 12px;border-radius:10px;background:#1364d8;color:#fff!important;font-size:12.5px;font-weight:750;text-align:center;text-decoration:none}
.ct-live-all:hover,.ct-live-all:focus-visible{filter:brightness(1.1);outline:none}
.ct-live-empty{padding:16px 14px;font-size:13px;color:#4d6172}
.ct-live-empty a{color:#1364d8;font-weight:700}
.ct-nav-search .ct-livebox{min-width:min(420px,92vw)}

/* =========================================================
   3. SHOP PAGE — "Find your next solution"
   ========================================================= */
.ct-find{position:relative;margin:0 0 26px;padding:clamp(18px,2.4vw,28px);border:1px solid var(--line,#e3e9ee);border-radius:18px;background:linear-gradient(135deg,#f5f9ff 0%,#fff 55%);box-shadow:0 12px 32px rgba(16,38,56,.07);overflow:visible}
.ct-find::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:0 4px 4px 0;background:linear-gradient(180deg,#1364d8,#23c987)}
.ct-find-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.16em;color:#6a7d8c}
.ct-find-head h2{margin:6px 0 6px;font-size:clamp(22px,2.6vw,30px);line-height:1.15;letter-spacing:-.03em}
.ct-find-head p{margin:0 0 16px;max-width:680px;color:#677785;font-size:13px;line-height:1.6}
.ct-find-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ct-find-search{display:flex;align-items:center;gap:10px;flex:1 1 320px;min-width:0;height:48px;padding:0 15px;border:1px solid #d6dfe7;border-radius:12px;background:#fff;color:#6a7d8c;transition:border-color .18s,box-shadow .18s}
.ct-find-search:focus-within{border-color:#1364d8;box-shadow:0 0 0 3px rgba(19,100,216,.14)}
.ct-find-search>span{font-size:24px;line-height:1}
.ct-find-search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font-size:14px;color:var(--ink,#102638)}
.ct-find-form select{height:48px;min-width:150px;padding:0 12px;border:1px solid #d6dfe7;border-radius:12px;background:#fff;color:#35495a;font-size:13px}
.ct-find-go{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 22px;border:0;border-radius:12px;background:#1364d8;color:#fff;font-size:13px;font-weight:750;cursor:pointer;box-shadow:0 8px 20px rgba(19,100,216,.28);transition:transform .18s,filter .18s}
.ct-find-go:hover{filter:brightness(1.08);transform:translateY(-1px)}
.ct-find-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.ct-find-pills a{padding:7px 14px;border:1px solid #d6dfe7;border-radius:999px;background:#fff;color:#35495a;font-size:12px;font-weight:650;text-decoration:none;transition:all .15s}
.ct-find-pills a:hover{border-color:#1364d8;color:#1364d8}
.ct-find-pills a.is-on{border-color:#102638;background:#102638;color:#fff}
.ct-find-clear{margin:12px 0 0;font-size:12px}
.ct-find-clear a{color:#b3263b;font-weight:700;text-decoration:none}
.ct-find-clear a:hover{text-decoration:underline}
.ct-find .ct-livebox{top:calc(100% + 6px)}
@media(max-width:700px){
  .ct-find-form select,.ct-find-go{flex:1 1 100%}
  .ct-find-pills{flex-wrap:nowrap;overflow-x:auto;margin-right:-14px;padding-bottom:6px;scrollbar-width:none}
  .ct-find-pills::-webkit-scrollbar{display:none}
  .ct-find-pills a{flex:0 0 auto}
}

/* home page: the controls the home product rows still need stay hidden */
.ct-home-stub,.ct-home-stub-wrap:empty{display:none!important}
.ct-home-stub-wrap{height:0;padding:0;margin:0}

/* =========================================================
   4. FOOTER — Explore in two columns
   ========================================================= */
.site-footer .footer-col.ct-footer-explore{display:grid;grid-template-columns:1fr 1fr;column-gap:26px;row-gap:11px;align-content:start}
.site-footer .footer-col.ct-footer-explore>h4{grid-column:1/-1}
.site-footer .footer-col.ct-footer-explore>a{min-width:0;overflow-wrap:anywhere}
@media(min-width:851px){.site-footer .footer-main:has(.ct-footer-explore){grid-template-columns:1.35fr 1.5fr 1fr .8fr}}
@media(max-width:850px){.site-footer .footer-col.ct-footer-explore{grid-column:1/-1}}

/* =========================================================
   5. BRANDS MENU — opens when the mouse is over it
   ========================================================= */
@media(hover:hover) and (pointer:fine) and (min-width:901px){
  .ct-brands-hover .site-header .nav-bar .ct-mega-menu.ct-hover-open .ct-mega-panel{display:grid!important}
  /* invisible bridge so the menu does not close while the mouse travels down to it */
  .ct-brands-hover .site-header .nav-bar .ct-mega-menu.ct-hover-open::after{content:"";position:absolute;left:-10px;right:-10px;top:100%;height:14px}
}
.ct-brands-hover .site-header .nav-bar .ct-mega-menu.ct-hover-open .ct-mega-panel{display:grid!important}

/* v1.31 — buttons placed in the menu bar, to the left of the search box */
.ct-prefs.ct-prefs-nav{margin:0 12px 0 0}
.ct-prefs.ct-prefs-nav .ct-ppanel{left:auto;right:0}
.site-header .nav-bar .nav-inner>.ct-prefs{white-space:normal}

/* ---- v1.36: Preferences panel = three rows (1 language, 2 currency, 3 light / dark) ---- */
.ct-ppanel[data-show="all"]{width:min(430px,calc(100vw - 24px))}
.ct-ppanel[data-show="all"] .ct-psec{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:10px}
.ct-ppanel[data-show="all"] .ct-psec+.ct-psec{margin-top:10px;padding-top:12px}
.ct-ppanel[data-show="all"] .ct-psec h4{margin:0;font-size:10.5px;letter-spacing:.06em}
.ct-ppanel[data-show="all"] .ct-plist{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
.ct-ppanel[data-show="all"] .ct-plist button{flex:0 0 auto;flex-direction:row;align-items:center;padding:8px 12px;white-space:nowrap}
.ct-ppanel[data-show="all"] .ct-plist button small{display:none}
.ct-ppanel[data-show="all"] .ct-psec .ct-pnote{display:none}
.ct-pnote-all{display:none;margin:12px 0 0}
.ct-ppanel[data-show="all"] .ct-pnote-all{display:block}
@media(max-width:560px){.ct-ppanel[data-show="all"]{width:auto}.ct-ppanel[data-show="all"] .ct-psec{grid-template-columns:84px minmax(0,1fr)}}
