/* Main header (includes/site-header.blade.php): logo, search, Wishlist / Account / Cart, category navigation with mega menus */
.logo-header.sh-header {
  --sh-accent: #07a8a9;
  --sh-ink: #1d2340;
  --sh-muted: #6b7191;
  --sh-line: #e6e9f2;
  position: relative; z-index: 1030; /* not sticky for now, by request */
  padding: 0; background: #fff; border-bottom: 1px solid var(--sh-line);
  box-shadow: 0 1px 0 rgba(29, 35, 64, .02);
  font-family: inherit;
}
.sh-header *, .sh-header *::before, .sh-header *::after { box-sizing: border-box; }
.sh-header ul { margin: 0; padding: 0; list-style: none; }
.sh-header a { text-decoration: none; }

.sh-header .sh-grid {
  display: grid;
  grid-template-columns: minmax(140px, 15%) minmax(24px, 8%) minmax(0, 1fr) minmax(24px, 9%) auto;
  grid-template-areas: "logo . search . icons" ". . nav . .";
  column-gap: 0; row-gap: 0; align-items: center;
  padding: 20px 0 0;
}
.sh-header .sh-burger { display: none; grid-area: burger; }
.sh-header .sh-logo { grid-area: logo; display: block; align-self: center; padding: 0; }
.sh-header .sh-logo img { display: block; max-width: 100%; max-height: 56px; width: auto; }
.sh-header .sh-search { grid-area: search; position: relative; }
.sh-header .sh-icons { grid-area: icons; align-self: center; justify-self: end; position: relative; padding: 0; }
.sh-header .sh-nav { grid-area: nav; margin-top: 12px; }

/* ---------- search: a pill (rounded both ends, 4px padding, inset circular button), matching
   the footer newsletter field's style rather than the old rounded-left-only rectangle ---------- */
.sh-header .sh-search form {
  position: relative; display: flex; align-items: center; margin: 0; padding: 4px;
  background: #fff; border: 1px solid #d5dae6; border-radius: 999px; box-shadow: 0 2px 6px rgba(29, 35, 64, .06);
}
.sh-header .sh-search input[type="text"] {
  flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 10px 0 16px; font-size: 15px; color: var(--sh-ink);
  background: transparent; border: 0; outline: 0; position: relative; z-index: 1;
}
.sh-header .sh-search input[type="text"]::placeholder { color: #8b91ad; }
.sh-header .sh-search form:focus-within { border-color: var(--sh-accent); }
.sh-header .sh-search button[type="submit"] {
  flex: 0 0 44px; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%;
  background: var(--sh-accent); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: filter .15s;
}
.sh-header .sh-search button[type="submit"]:hover { filter: brightness(.93); }

/* rotating placeholder ("Search "X"" cycling every few seconds when the box is empty and
   unfocused) - a plain overlay rather than the real placeholder attribute, since a native
   placeholder can't animate between values. Sits behind the input (z-index) so real typed text
   and the text caret stay on top; JS hides it entirely once there's a value or the input is
   focused (where the real placeholder takes over with "What are you looking for?"). */
.sh-header .sh-search .sh-rotator {
  position: absolute; left: 16px; right: 54px; top: 50%; transform: translateY(-50%); height: 20px;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.sh-header .sh-search .sh-rot-cur {
  display: block; font-size: 15px; color: #8b91ad; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transform: translateY(0); opacity: 1; transition: transform .3s ease, opacity .3s ease;
}
.sh-header .sh-search .sh-rot-cur.sh-rot-out { transform: translateY(-140%); opacity: 0; }
.sh-header .sh-search .sh-rot-cur.sh-rot-in { transform: translateY(140%); opacity: 0; transition: none; }
.sh-header .sh-search.sh-search-hide-rotator .sh-rotator { display: none; }
.sh-header .sh-search .autocomplete {
  /* a fixed px value, not top: calc(100% + 6px) - percentage "top" on an absolutely positioned
     child of a position:relative FLEX container with no explicit height doesn't resolve
     reliably (its containing block's height is "auto"/content-based, not definite per spec).
     The input's height is already a known fixed value at each breakpoint, so match that
     directly instead. margin-top:0 overrides a plain ".autocomplete { margin-top: 50px }" rule
     from the base theme (a different, unrelated feature reusing the same class) that was
     silently stacking with top and pushing the panel far below the search box. */
  display: none; position: absolute; top: 58px; margin-top: 0; left: 0; right: 0; z-index: 1040;
  max-height: 420px; overflow-y: auto; background: #fff; border: 1px solid var(--sh-line); border-radius: 12px; box-shadow: 0 14px 34px rgba(29, 35, 64, .16);
}
.sh-header .sh-search .autocomplete-items { position: static; border: 0; }
.sh-header .sh-search .docname { padding: 0; border: 0; border-bottom: 1px solid #f0f2f8; }
.sh-header .sh-search .docname:last-child { border-bottom: 0; }
.sh-header .sh-search .docname a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--sh-ink); }
.sh-header .sh-search .docname a:hover { background: #f4f6fb; }
.sh-header .sh-search .docname img { width: 46px; height: 46px; object-fit: contain; flex: 0 0 46px; }
.sh-header .sh-search .docname p { margin: 0; font-size: 14px; line-height: 1.35; }

/* trending-shortcuts panel (empty search box) and live text suggestions (while typing) */
.sh-header .sh-search #sh-search-trending, .sh-header .sh-search #myInputautocomplete-list { display: none; }
.sh-header .sh-search .sh-sg-trending { padding: 14px; }
.sh-header .sh-search .sh-sg-label { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8b91ad; }
.sh-header .sh-search .sh-sg-trend-list { display: flex; flex-direction: column; }
.sh-header .sh-search .sh-sg-trend-item { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 8px; color: var(--sh-ink); }
.sh-header .sh-search .sh-sg-trend-item:hover { background: #f4f6fb; }
.sh-header .sh-search .sh-sg-trend-i { display: flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #f0f2f8; color: var(--sh-accent); }
.sh-header .sh-search .sh-sg-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #f0f2f8; color: var(--sh-ink); }
.sh-header .sh-search .sh-sg-item:last-child { border-bottom: 0; }
.sh-header .sh-search .sh-sg-item:hover { background: #f4f6fb; }
.sh-header .sh-search .sh-sg-ico { flex: 0 0 auto; color: #8b91ad; }
.sh-header .sh-search .sh-sg-item span { flex: 1 1 auto; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-header .sh-search .sh-sg-item span b { font-weight: 700; }
.sh-header .sh-search .sh-sg-arrow { flex: 0 0 auto; color: #c3c7d1; }
.sh-header .sh-search .sh-sg-empty, .sh-header .sh-search .sh-sg-loading { padding: 16px 14px; text-align: center; font-size: 13.5px; color: #8b91ad; }

/* ---------- icons: Wishlist / Account / Cart ---------- */
.logo-header.sh-header .helpful-links { text-align: right; position: relative; }
.logo-header.sh-header .helpful-links ul.helpful-links-inner { display: flex; align-items: flex-start; gap: 28px; }
.logo-header.sh-header .helpful-links ul li.sh-li { display: block; position: static; margin: 0; text-align: center; }
.logo-header.sh-header .helpful-links ul li.sh-li > a.sh-ico {
  display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 52px; padding: 0; color: var(--sh-ink);
  background: none; font-size: 13px; line-height: 1.2;
}
.sh-header .sh-ico:hover { color: var(--sh-accent); }
.sh-header .sh-ico-i { position: relative; display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; }
.sh-header .sh-ico-i svg { display: block; }
.sh-header .sh-badge {
  position: absolute; top: -6px; right: -9px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--sh-accent); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}
.sh-header .sh-lbl { font-size: 13px; color: inherit; }

/* cart dropdown (content styles are the theme's own) */
.logo-header.sh-header .helpful-links ul li.my-dropdown .my-dropdown-menu { right: 0; top: calc(100% + 12px); width: 320px; border-radius: 14px; z-index: 1040; text-align: left; }
/* invisible bridge so the menu does not close while the mouse crosses the gap under the icon */
.logo-header.sh-header .helpful-links ul li.my-dropdown .my-dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }

/* account dropdown */
.logo-header.sh-header .helpful-links ul li.account-item { margin: 0; }
.sh-header .account-item .acct-menu { top: 100%; right: 0; width: 260px; padding-top: 12px; text-align: left; }

/* ---------- category navigation ---------- */
.sh-header .sh-nav > ul { display: flex; flex-wrap: nowrap; gap: 0; }
.sh-header .sh-item { position: static; }
.sh-header .sh-link {
  position: relative; display: block; margin-right: 34px; padding: 14px 0 13px; font-size: 15px; font-weight: 600; letter-spacing: .1px; color: var(--sh-ink); white-space: nowrap;
}
.sh-header .sh-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--sh-accent);
  transform: scaleX(0); transition: transform .18s;
}
.sh-header .sh-item:hover > .sh-link, .sh-header .sh-item.is-open > .sh-link, .sh-header .sh-link.is-current { color: var(--sh-accent); }
.sh-header .sh-item:hover > .sh-link::after, .sh-header .sh-item.is-open > .sh-link::after, .sh-header .sh-link.is-current::after { transform: scaleX(1); }

/* mega menu: full-width panel under the header */
.sh-header .sh-mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 1035;
  background: #fff; border-top: 1px solid var(--sh-line); box-shadow: 0 22px 44px rgba(29, 35, 64, .16);
}
.sh-header .sh-item.is-open > .sh-mega { display: block; animation: shMega .16s ease-out; }
@keyframes shMega { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sh-header .sh-item.is-open > .sh-mega { animation: none; } }
.sh-header .sh-mega-in { display: block; padding: 26px 0 22px; }
.sh-header .sh-mega-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px 32px; }
.sh-header .sh-col-t {
  display: block; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--sh-line);
  font-size: 15px; font-weight: 700; color: var(--sh-ink); letter-spacing: .2px;
}
.sh-header a.sh-col-t:hover { color: var(--sh-accent); }
.sh-header .sh-col li a { display: block; padding: 6px 0; font-size: 14.5px; color: #4a5070; }
.sh-header .sh-col li a:hover { color: var(--sh-accent); transform: translateX(2px); }
.sh-header .sh-promo {
  flex: 0 0 240px; display: block; position: relative; overflow: hidden; border-radius: 16px; color: var(--sh-ink);
  background: linear-gradient(160deg, #eef8f8, #e2f1f4); padding: 18px 18px 16px; min-height: 200px;
}
.sh-header .sh-promo img { display: block; width: 130px; height: 130px; margin: 0 0 6px auto; object-fit: contain; }
.sh-header .sh-promo-t { display: block; font-size: 18px; font-weight: 700; }
.sh-header .sh-promo-b { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--sh-accent); }
.sh-header .sh-promo:hover .sh-promo-b i { transform: translateX(3px); }
.sh-header .sh-promo-b i { transition: transform .15s; font-size: 12px; }

/* ---------- phone / tablet drawer ---------- */
.sh-drawer { position: fixed; inset: 0; z-index: 1100; visibility: hidden; pointer-events: none; }
.sh-drawer.is-open { visibility: visible; pointer-events: auto; }
.sh-drawer-bg { position: absolute; inset: 0; background: rgba(15, 20, 40, .5); opacity: 0; transition: opacity .2s; }
.sh-drawer.is-open .sh-drawer-bg { opacity: 1; }
.sh-drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); overflow-y: auto; background: #fff; color: #1d2340;
  transform: translateX(-100%); transition: transform .24s ease-out; -webkit-overflow-scrolling: touch;
}
.sh-drawer.is-open .sh-drawer-panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .sh-drawer-panel, .sh-drawer-bg { transition: none; } }
.sh-drawer-panel * { box-sizing: border-box; }
.sh-drawer-panel ul { margin: 0; padding: 0; list-style: none; }
.sh-drawer-panel a { text-decoration: none; color: inherit; }
.sh-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #e6e9f2; }
.sh-drawer-head img { max-height: 44px; width: auto; }
.sh-drawer-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f4f6fb; color: #1d2340; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sh-acc-item { border-bottom: 1px solid #eef0f7; }
.sh-acc-t { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 20px; border: 0; background: none; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; color: #1d2340; }
.sh-acc-t i { font-size: 12px; color: #6b7191; transition: transform .2s; }
.sh-acc-t[aria-expanded="true"] i { transform: rotate(180deg); }
.sh-acc-b { display: none; padding: 0 20px 14px; background: #f9fafd; }
.sh-acc-t[aria-expanded="true"] + .sh-acc-b { display: block; }
.sh-acc-all { display: block; padding: 12px 0; font-weight: 600; color: var(--sh-accent); }
.sh-acc-sub { padding: 8px 0; border-top: 1px solid #eef0f7; }
.sh-acc-subt { display: block; padding: 6px 0; font-weight: 600; font-size: 15px; }
.sh-acc-sub li a { display: block; padding: 6px 0 6px 12px; font-size: 14.5px; color: #4a5070; }
.sh-drawer-links { padding: 10px 0 24px; }
.sh-drawer-links a { display: flex; align-items: center; gap: 14px; padding: 13px 20px; font-size: 15px; }
.sh-drawer-links i { width: 20px; text-align: center; color: #6b7191; }
body.sh-lock { overflow: hidden; }

/* ---------- tablets and phones ---------- */
@media (max-width: 991.98px) {
  .sh-header .sh-grid {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: "burger logo icons" "search search search";
    column-gap: 10px; row-gap: 10px; padding: 10px 0 12px;
  }
  .sh-header .sh-burger {
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -8px; padding: 0;
    border: 0; background: none; color: var(--sh-ink); cursor: pointer;
  }
  .sh-header .sh-logo { padding: 0; justify-self: start; }
  .sh-header .sh-search input[type="text"] { padding: 0 16px; }
  .sh-header .sh-logo img { max-height: 40px; }
  .sh-header .sh-nav { display: none; }
  .sh-header .sh-icons { padding: 0; }
  .logo-header.sh-header .helpful-links ul.helpful-links-inner { gap: 14px; }
  .sh-header .sh-lbl { display: none; }
  .logo-header.sh-header .helpful-links ul li.sh-li > a.sh-ico { min-width: 0; }
  /* input/button/pill are the same 44px+4px-padding height as desktop now (the pill redesign
     unified them), so .autocomplete's top:58px above needs no separate mobile override any more -
     it used to (44px flat vs 52px desktop) before that redesign. */
  .logo-header.sh-header .helpful-links ul li.my-dropdown .my-dropdown-menu { position: fixed; left: 8px; right: 8px; top: 64px; width: auto; }
}
@media (min-width: 992px) { .sh-drawer { display: none; } }
@media (max-width: 575.98px) {
  .sh-header .account-item .acct-menu { right: -8px; }
}

/* ---------- counters only when there is something to count ---------- */
.sh-header .sh-badge.is-zero, .sh-header .sh-badge:empty, .account-item .acct-badge.is-zero { display: none; }

/* cart icon is a button now */
.logo-header.sh-header .helpful-links ul li.sh-li > button.sh-ico {
  display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 52px; padding: 0; border: 0; background: none;
  color: var(--sh-ink); font: inherit; font-size: 13px; line-height: 1.2; cursor: pointer;
}
.logo-header.sh-header .helpful-links ul li.sh-li > button.sh-ico:hover { color: var(--sh-accent); }
.sh-header .sh-ico:focus, .sh-header .sh-burger:focus, .shc-x:focus, .sh-drawer-x:focus { outline: none; }
.sh-header .sh-ico:focus-visible, .sh-header .sh-burger:focus-visible, .shc-x:focus-visible, .sh-drawer-x:focus-visible { outline: 2px solid var(--sh-accent); outline-offset: 4px; border-radius: 8px; }

/* ---------- cart drawer (right side) ---------- */
.shc { --sh-accent: #07a8a9; position: fixed; inset: 0; z-index: 100000; visibility: hidden; pointer-events: none; font-family: inherit; color: #1d2340; }
.shc.is-open { visibility: visible; pointer-events: auto; }
.shc *, .shc *::before, .shc *::after { box-sizing: border-box; }
.shc a { text-decoration: none; color: inherit; }
.shc-bg { position: absolute; inset: 0; background: rgba(15, 20, 40, .48); opacity: 0; transition: opacity .25s; }
.shc.is-open .shc-bg { opacity: 1; }
.shc-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(100vw, 440px); display: flex; flex-direction: column;
  background: #fff; border-radius: 22px 0 0 22px; box-shadow: -24px 0 60px rgba(15, 20, 40, .22);
  transform: translateX(105%); transition: transform .3s cubic-bezier(.22, .8, .3, 1);
}
.shc.is-open .shc-panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .shc-panel, .shc-bg { transition: none; } }
.shc-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 18px; border-bottom: 1px solid #eef0f7; }
.shc-head h2 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.1px; color: #1d2340; }
.shc-head .shc-n { margin-left: 4px; font-size: 15px; font-weight: 500; color: #6b7191; }
.shc-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f4f6fb; color: #1d2340; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s; }
.shc-x:hover { background: #e9ecf6; }
.shc-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.shc-list { flex: 1 1 auto; overflow-y: auto; padding: 6px 24px; -webkit-overflow-scrolling: touch; }
.shc-item { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 18px 34px 18px 0; border-bottom: 1px solid #eef0f7; }
.shc-item:last-child { border-bottom: 0; }
.shc-img { display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 14px; background: #f5f7fb; overflow: hidden; }
.shc-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shc-info { min-width: 0; display: flex; flex-direction: column; }
.shc-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.35; color: #1d2340; }
.shc-name:hover { color: var(--sh-accent); }
.shc-var { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 4px; font-size: 13px; color: #6b7191; }
.shc-var:empty { display: none; }
.shc-attrs { flex: 1 1 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shc-panel:focus { outline: none; }
.shc-color i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); vertical-align: -2px; }
.shc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.shc-qty { display: inline-flex; align-items: center; height: 38px; border: 1.5px solid #dcdff0; border-radius: 999px; overflow: hidden; }
.shc-qty button { width: 36px; height: 100%; border: 0; background: none; color: #1d2340; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.shc-qty button:hover:not(:disabled) { background: #f4f6fb; }
.shc-qty button:disabled { color: #b7bbd0; cursor: not-allowed; }
.shc-q { min-width: 26px; text-align: center; font-size: 15px; font-weight: 600; }
.shc-qtxt { font-size: 14px; color: #6b7191; }
.shc-price { font-size: 16px; font-weight: 700; color: #1d2340; white-space: nowrap; }
.shc-remove { position: absolute; top: 14px; right: -2px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: #9aa0bd; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.shc-remove:hover { background: #fdecee; color: #c62f3e; }
.shc-item.is-busy { opacity: .55; pointer-events: none; }

.shc-foot { flex: 0 0 auto; padding: 18px 24px 22px; border-top: 1px solid #eef0f7; background: #fff; box-shadow: 0 -12px 24px rgba(29, 35, 64, .04); }
.shc-sub { display: flex; align-items: baseline; justify-content: space-between; font-size: 15px; color: #4a5070; }
.shc-sub strong { font-size: 22px; font-weight: 700; color: #1d2340; }
.shc-note { margin: 4px 0 16px; font-size: 13px; color: #8b91ad; }
.shc-checkout {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; padding: 0 20px; border-radius: 999px;
  background: var(--sh-accent); color: #fff !important; font-size: 16px; font-weight: 700; letter-spacing: .2px; text-transform: none;
  box-shadow: 0 10px 22px rgba(7, 168, 169, .3); transition: filter .15s, transform .12s;
}
.shc-checkout:hover { filter: brightness(.94); }
.shc-checkout:active { transform: translateY(1px); }
.shc-viewcart { display: block; margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; color: #1d2340; text-decoration: underline !important; text-underline-offset: 3px; }
.shc-viewcart:hover { color: var(--sh-accent); }
.shc-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 12.5px; color: #8b91ad; }

.shc-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 32px 80px; text-align: center; color: #b7bbd0; }
.shc-empty svg { color: var(--sh-accent); margin-bottom: 14px; }
.shc-empty h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: #1d2340; }
.shc-empty p { margin: 0 0 24px; font-size: 14.5px; color: #6b7191; }
.shc-empty .shc-checkout { width: auto; min-width: 220px; }

@media (max-width: 575.98px) {
  .shc-panel { border-radius: 0; }
  .shc-head { padding: 18px 18px 14px; }
  .shc-list { padding: 4px 18px; }
  .shc-foot { padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); }
}

/* mega menu: audience tiles (product photo + "Starts at") above the link columns */
.sh-header .sh-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 0 0 30px; }
.sh-header .sh-tile {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 108px; overflow: hidden;
  padding: 0 0 0 22px; border-radius: 18px; color: var(--sh-ink); background: #eef4ff;
  transition: transform .18s, box-shadow .18s;
}
.sh-header .sh-tile-1 { background: #e8f6f4; }
.sh-header .sh-tile-2 { background: #fff1e6; }
.sh-header .sh-tile-3 { background: #f2edfd; }
.sh-header .sh-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(29, 35, 64, .12); }
.sh-header .sh-tile-txt { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 14px 0; }
.sh-header .sh-tile-t { font-size: 19px; line-height: 1.2; font-weight: 400; color: var(--sh-ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; word-break: break-word; }
.sh-header .sh-tile-t b { font-weight: 700; }
.sh-header .sh-tile-s { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #1f5fd6; }
.sh-header .sh-tile-1 .sh-tile-s { color: #0a8a86; }
.sh-header .sh-tile-2 .sh-tile-s { color: #c2530a; }
.sh-header .sh-tile-3 .sh-tile-s { color: #6a3fd1; }
.sh-header .sh-tile-s i { font-size: 12px; }
.sh-header .sh-tile img { flex: 0 0 auto; align-self: stretch; width: 48%; max-width: 170px; height: 108px; object-fit: contain; mix-blend-mode: multiply; transform: scale(1.35); transform-origin: 60% 50%; transition: transform .25s; }
.sh-header .sh-tile:hover img { transform: scale(1.45); }
.sh-header .sh-mega-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14.5px; font-weight: 600; color: var(--sh-accent); }
.sh-header .sh-mega-all i { font-size: 12px; transition: transform .15s; }
.sh-header .sh-mega-all:hover i { transform: translateX(3px); }

/* mega menu: Men / Women / Kids columns, each a tile with its frame shapes underneath */
.sh-header .sh-aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sh-header .sh-aud-col { min-width: 0; }
.sh-header .sh-shapes { margin: 14px 0 0; }
.sh-header .sh-shapes li a { display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: 12px; color: var(--sh-ink); font-size: 15px; }
.sh-header .sh-shapes li a:hover { background: #f4f6fb; color: var(--sh-accent); }
.sh-header .sh-shape { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 38px; border-radius: 10px; background: #f2f5fa; color: #2b3563; transition: background .15s, color .15s; }
.sh-header .sh-shapes li a:hover .sh-shape { background: #dff3f3; color: var(--sh-accent); }
.sh-header .sh-shape-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-header .sh-shapes li a > i { flex: 0 0 auto; font-size: 11px; color: #b0b5cc; transition: transform .15s; }
.sh-header .sh-shapes li a:hover > i { color: var(--sh-accent); transform: translateX(2px); }

/* "more in this category" links under the cards */
.sh-header .sh-also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--sh-line); font-size: 14px; color: #6b7191; }
.sh-header .sh-also a { padding: 7px 14px; border-radius: 999px; background: #f2f5fa; color: var(--sh-ink); font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.sh-header .sh-also a:hover { background: #dff3f3; color: var(--sh-accent); }

/* equal tile height even when a title wraps to three lines */
.sh-header .sh-aud .sh-tile { height: 124px; }
.sh-header .sh-aud .sh-tile img { height: 124px; }

/* ---------- wider page container on large screens (header, top bars, home page, footer): 1320px instead of 1140px ---------- */
@media (min-width: 1360px) {
  .top-header > .container,
  .sh-header .container,
  .hp .container,
  .footer > .container,
  .footer .container,
  .copy-bg > .container { max-width: 1320px; }
}

/* header logo on desktop: as large as its column allows (width 100%, height follows the picture's proportions) */
@media (min-width: 992px) {
  .sh-header .sh-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
}
/* footer logo: one flat off-white colour (all colours flattened, then inverted to a soft white) */
.footer .footer-info-area .footer-logo img { filter: brightness(0) invert(.94); }

/* teal/dark links bar: general links on the left, "Eye Check Up" and "Contact Us" on the right, same edges as the header */
.top-header .tb { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0; }
.top-header .tb ul { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.top-header .tb li { display: block; margin: 0; }
.top-header .tb li a { display: block; padding: 0 12px; font-size: 12px; line-height: 15px; color: #fff; text-decoration: none; }
.top-header .tb li a:hover { text-decoration: underline; }
.top-header .tb li + li a { border-left: 1px solid rgba(255, 255, 255, .4); }
.top-header .tb li:first-child a { padding-left: 0; }
.top-header .tb li:last-child a { padding-right: 0; }
.top-header .tb-right { margin-left: auto; flex: 0 0 auto; }/* narrower screens: the links may wrap onto two lines, so use plain spacing instead of divider lines */
@media (max-width: 1359.98px) {
  .top-header .tb li + li a { border-left: 0; }
  .top-header .tb li a { padding: 0 16px 0 0; }
  .top-header .tb li:last-child a { padding-right: 0; }
}

/* footer brand strip (Eyeglasses / Sunglasses / Contact Lenses): title and links on one line each, same 15px line height as the top bar */
.top-header.foot-brands { background: #424242; margin-bottom: -36px; padding: 14px 0 !important; border-bottom: 0; }
.foot-brands .fb-row { display: flex; align-items: flex-start; gap: 0 20px; padding: 5px 0; }
.foot-brands .fb-title { flex: 0 0 132px; font-size: 14px; line-height: 15px; font-weight: 700; color: #fff; text-decoration: none; }
.foot-brands .fb-links { display: flex; flex-wrap: wrap; align-items: center; flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; }
.foot-brands .fb-links li { display: block; margin: 0; }
.foot-brands .fb-links li a { display: block; padding: 0 12px; font-size: 12px; line-height: 15px; color: #fff; text-decoration: none; }
.foot-brands .fb-links li a:hover, .foot-brands .fb-title:hover { text-decoration: underline; color: #fff; }
.foot-brands .fb-links li + li a { border-left: 1px solid rgba(255, 255, 255, .35); }
.foot-brands .fb-links li:first-child a { padding-left: 0; }
@media (max-width: 1359.98px) {
  .foot-brands .fb-links li + li a { border-left: 0; }
  .foot-brands .fb-links li a { padding: 0 14px 0 0; }
}
/* copyright bar: copyright text on the left edge, payment line on the right edge of the same container */
.footer .copy-bg .row { display: flex; align-items: center; justify-content: space-between; margin: 0; }
.footer .copy-bg .row > [class*="col-"] { flex: 0 1 auto; width: auto; max-width: none; padding: 0 15px; }
.footer .copy-bg .row > [class*="col-"]:last-child .content, .footer .copy-bg .row > [class*="col-"]:last-child .content .content { text-align: right !important; }
.footer .copy-bg .payment-icons { margin: 0; padding: 0; list-style: none; }
.footer .copy-bg .payment-icons li p { margin: 0; }
@media (max-width: 767.98px) {
  .footer .copy-bg .row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer .copy-bg .row > [class*="col-"]:last-child .content, .footer .copy-bg .row > [class*="col-"]:last-child .content .content { text-align: left !important; }
}
.footer .copy-bg { padding: 20px 0; }
.footer .copy-bg .row > [class*="col-"] { padding: 0; }
@media (min-width: 1360px) { .pdp .container, .pdp-crumbs .container { max-width: 1320px; } }

/* the line under the header menu only spans the container, not the whole browser width */
.logo-header.sh-header { border-bottom: 0; box-shadow: none; }
.sh-header .sh-grid { border-bottom: 1px solid var(--sh-line); }

/* Site-wide: no square outline after a mouse click or tap; keyboard users (Tab key) still get
   a clear focus ring. all.css has an old blanket "outline: none" on links/inputs that never
   restores it for keyboard, which this overrides (loaded right after all.css on every page). */
a:focus, button:focus, input:focus, select:focus, textarea:focus, [tabindex]:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #07a8a9; outline-offset: 2px; border-radius: 4px;
}

/* Site-wide: the base theme's "overflow-x: hidden" on <body> (to stop an accidental horizontal
   scrollbar) also forces its overflow-y to compute as "auto" per the CSS spec's cross-axis rule
   (any non-visible value on one axis promotes a visible other axis to auto), even though body
   has no real overflow of its own - <html> is the actual scrolling element (its scrollTop tracks
   real scroll; body's never moves). That silently makes body count as a scroll container, which
   breaks position:sticky for every sticky descendant on every page (this header included):
   sticky then calculates against body's own scroll offset, which never changes, instead of the
   real page scroll. Moves the horizontal clip to <html> instead - already the real scrolling
   element, so nothing about actual scroll behaviour changes - and leaves body's overflow visible. */
html { overflow-x: hidden; }

/* ---------- dark navy top bars + footer, teal accent (replaces the old grey/orange theme) ----------
   !important on the two backgrounds: styles.php (loaded after this file, right at the end of <head>)
   re-declares ".footer"/".footer .copy-bg" background from the admin-configurable footer_color/
   copyright_color settings at the same specificity, so it wins by source order without this. */
.footer { background: #0E2730 !important; }
.footer .copy-bg { background: #0E2730 !important; }
/* the breathing room below the strip (before the copyright bar) is really .copy-bg's own 20px
   top padding, filled with the footer's base colour since copy-bg is a touching sibling, not a
   gap - matching margin-top here (rather than more padding, which would just be more of this
   section's own lighter background) makes the footer's colour show through the same way above it. */
.top-header.foot-brands { background: #123039; border-top: 0; margin-top: 20px; padding: 10px 0 !important; }
.foot-brands .fb-row { padding: 8px 0; }
.footer .footer-widget .title { font-size: 17px; }
.footer .fotter-social-links ul li a { border-color: rgba(255, 255, 255, .35); color: #cfe3e6; }
.footer .fotter-social-links ul li a:hover { background: #07a8a9; border-color: #07a8a9; color: #fff; }
.footer .footer-widget ul li a:hover,
.footer .copy-bg .content .content a,
.top-header .tb li a:hover,
.foot-brands .fb-links li a:hover, .foot-brands .fb-title:hover { color: #07a8a9; }

/* ---------- trust bar: shipping/authenticity/returns/support reassurance strip above the footer ---------- */
.lz-trustbar { background: linear-gradient(180deg, #eaf8f7, #f6fcfb); border-bottom: 2px solid rgba(7, 168, 169, .25); }
.lz-trustbar-row { display: flex; align-items: center; padding: 26px 0; }
.lz-trustbar-item { flex: 1 1 0; display: flex; align-items: center; gap: 16px; padding: 0 20px; min-width: 0; }
.lz-trustbar-item:first-child { padding-left: 0; }
.lz-trustbar-item:last-child { padding-right: 0; }
.lz-trustbar-item + .lz-trustbar-item { border-left: 1px solid rgba(14, 39, 48, .1); }
.lz-trustbar-i { flex: 0 0 auto; color: #0d9488; }
.lz-trustbar-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; white-space: nowrap; }
.lz-trustbar-txt b { font-size: 16px; font-weight: 700; color: #16222b; }
.lz-trustbar-txt small { font-size: 13px; color: #6b7c80; }
@media (max-width: 991.98px) {
  .lz-trustbar-row { flex-wrap: wrap; row-gap: 18px; }
  .lz-trustbar-item { flex: 0 0 50%; padding: 0 14px; gap: 14px; }
  .lz-trustbar-item:nth-child(2n) { padding-right: 0; }
  .lz-trustbar-item:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .lz-trustbar-item:nth-child(-n+2) { padding-bottom: 0; }
  .lz-trustbar-item:nth-child(n+3) { border-top: 1px solid rgba(14, 39, 48, .12); padding-top: 18px; }
  .lz-trustbar-i svg { width: 28px; height: 28px; }
  .lz-trustbar-txt { white-space: normal; }
  .lz-trustbar-txt b { font-size: 13.5px; }
  .lz-trustbar-txt small { font-size: 11.5px; }
}
@media (max-width: 480px) {
  .lz-trustbar-item { flex: 0 0 100%; border-left: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  .lz-trustbar-item:nth-child(n+2) { border-top: 1px solid rgba(14, 39, 48, .12); padding-top: 16px; }
}

/* ---------- footer newsletter signup (replaces the old "Recent Post" blog widget) ---------- */
/* the other footer columns' title-to-content gap is really margin-bottom(11px) PLUS the first
   list item's own 8px top padding (~19px to the visible text); .lz-nl-sub has no such padding, so
   this margin-bottom needs to cover that whole 19px itself to read as the same spacing. */
.footer .footer-widget.lz-newsletter .title { text-transform: none; margin-bottom: 19px; }
.lz-nl-sub { margin: 0 0 16px; font-size: 13.5px; line-height: 1.55; color: #fff; }
.lz-nl-form { display: flex; flex-direction: column; gap: 12px; }
.lz-nl-field { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 4px; }
.lz-nl-field input[type="email"] { flex: 1 1 0; min-width: 0; border: 0; background: transparent; padding: 10px 6px 10px 16px; font-size: 13.5px; color: #16222b; outline: none; }
.lz-nl-field input[type="email"]::placeholder { color: #8a95a3; }
.lz-nl-field button { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #07a8a9; cursor: pointer; transition: filter .15s; }
.lz-nl-field button:hover { filter: brightness(.93); }
.lz-nl-field button:disabled { opacity: .6; cursor: default; }
.lz-nl-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.4; color: #fff; cursor: pointer; }
/* circular "verified badge" style checkbox (teal fill, white tick) instead of a native square box.
   .is-checked (toggled by header.js on change) drives the fill since there's no parent selector in
   CSS to react to the input's own :checked state from outside it. all.css also hides every native
   "input[type=checkbox]" site-wide (it expects its own "+ label:before" custom-checkbox pattern,
   which this form doesn't use), so the input stays present for click/keyboard/a11y but invisible -
   opacity, not display: none, so it still overlays and receives clicks/focus. */
.lz-nl-cb { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; transition: background .15s, border-color .15s; }
.lz-nl-cb.is-checked { background: #07a8a9; border-color: #07a8a9; }
.lz-nl-cb input[type="checkbox"] { display: block; position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.lz-nl-cb-tick { opacity: 0; pointer-events: none; transition: opacity .15s; }
.lz-nl-cb.is-checked .lz-nl-cb-tick { opacity: 1; }
.lz-nl-agree:focus-within .lz-nl-cb { outline: 2px solid #07a8a9; outline-offset: 2px; }
body { overflow: visible; }