:root {
  --font-family: "Clash Grotesk", sans-serif;
  --font-family-1: "Mona Sans", sans-serif;

  --primary: #f5ca27;
  --black: #000;
  --charcoal-gray: #454545;
  --charcoal: #333333;
  --medium-gray: #f1f4f6;
  --soft-graphite: #8c8c8c;
  --midnight-slate: #27272a;
  --midnight-black: #18181b;
  --white: #fff;
  --gray: #666666;
  --cool-gray: #9fa4aa;
  --slate-gray: #65696d;
  --whisper-gray: #bcbcbc;
  --light-gray: #fbfbfb;
  --border-light: #e6e6e6;
  --border-gray: #dcdcdc;
  --neutral-300: #dedede;
  --neutral-100: #f6f6f6;
  --border-soft: #e2e2e2;
  --text-muted-dark: #54595f;
  --bg-soft-gray: #f4f4f4;
  --border-muted: #dbdfe1;
  --bg-muted: #f2f4f7;
  --bg-soft: #f5f5f5;

  --font-12: 12px;
  --font-14: 14px;
  --font-16: 16px;
  --font-18: 18px;
  --font-20: 20px;
  --font-22: 22px;
  --font-24: 24px;
  --font-26: 26px;
  --font-28: 28px;
  --font-30: 30px;
  --font-32: 32px;
  --font-36: 36px;
  --font-40: 40px;
  --font-48: 48px;
  --font-54: 54px;
  --font-64: 64px;

  --font-weight-800: 800;
  --font-weight-700: 700;
  --font-weight-600: 600;
  --font-weight-500: 500;
  --font-weight-400: 400;
  --font-weight-300: 300;

  --margin-60: 60px;
  --margin-100: 100px;
}
.top-header {
  border-top: 1px solid #222;
  border: 1px solid var(--gray-100);
  padding: 13px 0;
}

.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-info {
  display: flex;
  gap: 50px;
  font-weight: var(--font-weight-500);
  font-size: var(--font-14);
  line-height: 22.4px;
  color: var(--black);
}
.contact-info a{
  color: var(--black);
}
.contact-info a:hover{
  color: var(--primary);
}

.contact-info span {
  color: var(--gray);
}

.top-links {
  display: flex;
}

.top-links a {
  text-decoration: none;
  color: var(--black);
  padding: 0 13px;
  font-size: var(--font-14);
  font-weight: var(--font-weight-500);
  position: relative;
}

.top-links a:hover {
  color: var(--primary);
}
.top-links a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: #0000001a;
}

.main-header {
  background: var(--white);
}
.main-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid #cccccc;
  animation: slideDown 0.35s ease;
  z-index: 100000;
  overflow: visible;
}

@keyframes slideDown {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.main-header-inner {
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 220px;
  display: block;
}

.category-wrapper {
  position: relative;
        
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 22px;
  cursor: pointer;
  font-size: var(--font-16);
  font-family: var(--font-family-1);
  line-height: 14px;
  font-weight: var(--font-weight-500);
}
.category-btn span{
    color:var(--black);
}
.menu-icon {
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: var(--black);
  margin: 4px 0;
}

.menu-icon span:nth-child(2) {
  width: 70%;
}

.menu-icon span:nth-child(3) {
  width: 45%;
}

.category-wrapper {
  position: relative;
}

.mega-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 998;
}

.mega-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.mega-menu-open {
  overflow: hidden;
}

body.mega-menu-open .main-header,
body.mega-menu-open .main-header.sticky {
  z-index: 100050;
  position: relative;
  overflow: visible;
}

body.mega-menu-open .main-header.sticky {
  position: fixed;
}

.category-dropdown {
  position: absolute;
  top: 135%;
  left: 0;
  background: var(--white);
  border-radius: 10px;
  z-index: 999;
  display: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  /* Mobile/tablet: compact flyout. Desktop overrides this to a
     full-width department board (see min-width:992px below). */
  height: min(480px, 75vh);
}

.category-dropdown.active {
  display: block;
  animation: megaMenuDropIn 0.28s ease;
}

@keyframes megaMenuDropIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/*
 * Mega menu: left department rail + right content panel, all panels
 * rendered up front and swapped with .active so hover never rebuilds
 * or moves the pane.
 */
.mega-menu-sheet-head {
  display: none;
}

.mega-menu {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.mega-menu-nav {
  display: flex;
  flex-direction: column;
  width: 280px;
  flex: none;
  height: 100%;
  min-width: 0;
}

.mega-menu-search {
  position: relative;
  padding: 12px 16px 8px;
  flex: none;
}

.mega-menu-search img {
  position: absolute;
  right: 28px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.45;
}

.mega-menu-search-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--bg-soft);
  padding: 10px 36px 10px 12px;
  font-family: var(--font-family-1);
  font-size: var(--font-14);
  line-height: 1.2;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mega-menu-search-input:focus {
  border-color: var(--primary);
  background: var(--white);
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 6px 0 10px;
  width: 100%;
  flex: 1;
  height: auto;
  overflow-y: auto;
  scrollbar-width: none;
}

.category-list li {
  position: relative;
}

/*
 * One shared row style for every link in the category menu - the left
 * column and every level of the right-hand panel (column titles, their
 * children, and any deeper nesting) all reuse this single rule instead of
 * each defining their own, so they're guaranteed to stay identical:
 * padding, border, typography, and the hover/active treatment below.
 * Deeper panel levels only differ by left indent (added further down),
 * never by a different look.
 */
.category-list li > a,
.mega-menu-column-title,
.mega-menu-column-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--purple-50);
  font-size: var(--font-16);
  font-weight: var(--font-weight-500);
  line-height: 20px;
  transition: 0.3s;
  gap: 14px;
}

.category-wrapper:has(.category-dropdown.active) .category-btn,
.main-header.mega-menu-open .category-btn {
  background: var(--primary);
  border-radius: 5px;
}

/*
 * Hover/active: same background, text color, and transition everywhere.
 * The left column also keeps this while its panel is the one showing
 * (.has-submenu.active, set by global.js on hover), not just while the
 * pointer is literally over that one row.
 */
.category-list li:hover > a,
.category-list > li.has-submenu.active > a,
.mega-menu-column-title:hover,
.mega-menu-column-list a:hover {
  color: #000;
  background: var(--primary);
}

.category-list li:hover > a img,
.category-list > li.has-submenu.active > a img,
.mega-menu-column-title:hover img,
.mega-menu-column-list a:hover img {
  filter: brightness(0);
}

/*
 * Enlarges the small arrow icon's tap target (mobile submenu-toggle
 * click) without affecting the row's layout. Shared with the right
 * panel's (non-interactive, decorative) has-children indicator.
 *
 * min-height:24px here used to grow rows that have an arrow taller than
 * plain rows (24px > the row's 20px line-height, and the row is a flex
 * container so it grows to fit its tallest child) - the negative
 * vertical margin below cancels that back out so every row, with or
 * without an arrow, ends up exactly the same height.
 */
.submenu-toggle,
.mega-menu-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: -2px 0;
  cursor: pointer;
}

/*
 * Right-hand content panel. Every category's content
 * (.mega-menu-panel-content) is rendered up front and sits stacked in the
 * same place; only the .active one is shown, so switching which category
 * is showing is a single class swap - nothing moves, resizes late, or
 * gets rebuilt, which is what keeps this flicker-free while sweeping the
 * mouse down the left column.
 *
 * Mobile-first base below is a drill-down: showing a panel hides the
 * category list and the panel takes over full width, with a "Back" link
 * (.mega-menu-panel-back) to return - there's no hover on touch, so a
 * side-by-side layout has nothing to trigger it. The min-width:992px
 * block further down turns this into the side-by-side desktop layout.
 */
.mega-menu-panel {
  display: none;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.mega-menu.showing-panel .mega-menu-nav {
  display: none;
}

.mega-menu.showing-panel .mega-menu-panel {
  display: block;
  width: 100%;
}

.mega-menu-panel-content {
  display: none;
  /* Vertical padding only - like .category-list, rows go edge-to-edge so
     their hover background matches the left column exactly. */
  padding: 10px 0;
}

.mega-menu-panel-content.active {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mega-menu-panel-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.mega-menu-panel-back {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-bottom: 1px solid var(--purple-50);
  background: none;
  color: var(--black);
  font-weight: var(--font-weight-600);
  font-size: var(--font-16);
  cursor: pointer;
}

.mega-menu-panel-back img {
height:10px;
  transform: rotate(180deg);
}

.mega-menu-columns {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.mega-menu-column {
  width: 100%;
}

.mega-menu-column-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu-column-list a {
  padding-left: 36px;
}

.mega-menu-featured {
  display: none;
}

/*
 * Mobile/tablet: .category-dropdown is position:absolute against
 * .category-wrapper by default, and .category-wrapper's own position
 * shifts around at these widths (header reflow, hamburger layout, etc.),
 * so a fixed-width box anchored to its left edge doesn't reliably stay
 * on-screen - it can run off either side depending on where the trigger
 * button ends up. global.js switches it to position:fixed and computes
 * left/top from the button's actual on-screen position instead (see
 * positionMobileCategoryDropdown()), which the width cap here supports.
 * The category list and the drill-down panel both go to width:100% so
 * they simply fill whatever width the dropdown resolves to, instead of
 * carrying their own fixed pixel widths.
 */
@media (max-width: 991px) {

  body.mega-menu-open {
    overflow: hidden;
  }

  body.mega-menu-open .mobile-header-actions,
  body.filter-open .mobile-header-actions {
    visibility: hidden;
    pointer-events: none;
  }

  /* Full-screen sheet: keep the dim layer behind the menu and
     ignore its pointer events so it cannot sit on top of items. */
  .mega-menu-overlay,
  .mega-menu-overlay.active {
    z-index: 100040;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
  }

  body.mega-menu-open .main-header,
  body.mega-menu-open .main-header.sticky {
    z-index: 100050;
  }

  .category-wrapper .category-dropdown,
  .category-dropdown {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100%;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    z-index: 100051;
    display: none;
    flex-direction: column;
  }

  .category-dropdown.active {
    display: flex;
    animation: megaMenuSheetIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mega-menu-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: none;
    padding: 14px 16px;
    padding-top: max(14px, env(safe-area-inset-top));
    border-bottom: 1px solid var(--border-light);
    background: var(--white);
  }

  .mega-menu-sheet-head strong {
    font-size: var(--font-18);
    font-weight: var(--font-weight-700);
    color: var(--black);
  }

  .mega-menu-close {
    width: 44px;
    height: 44px;
    margin: -8px -8px -8px 0;
    border: none;
    background: var(--bg-soft);
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    color: var(--black);
    cursor: pointer;
  }

  .mega-menu {
    flex: 1;
    min-height: 0;
    flex-direction: column;
  }

  .mega-menu-nav,
  .mega-menu.showing-panel .mega-menu-panel {
    width: 100%;
    height: 100%;
  }

  .mega-menu-search {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--white);
    padding: 12px 16px;
  }

  .mega-menu-search-input {
    height: 48px;
    font-size: 16px;
    border-radius: 10px;
  }

  .mega-menu.is-searching .category-list,
  .mega-menu.is-searching .mega-menu-panel {
    display: none !important;
  }

  .mega-menu-search-hits {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 16px calc(24px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .mega-menu-search-hits[hidden] {
    display: none !important;
  }

  .mega-menu-search-group {
    margin-bottom: 16px;
  }

  .mega-menu-search-parent {
    display: block;
    margin: 0 0 8px;
    padding: 0 2px;
    color: #888;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .mega-menu-search-column {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
  }

  .mega-menu-search-title,
  .mega-menu-search-child {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #f3f3f3;
  }

  .mega-menu-search-title {
    background: #fafafa;
    box-shadow: inset 3px 0 0 var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .mega-menu-search-child {
    padding-left: 20px;
    font-size: 15px;
    font-weight: 400;
  }

  .mega-menu-search-child:last-child,
  .mega-menu-search-title:last-child {
    border-bottom: none;
  }

  .mega-menu-search-empty {
    padding: 28px 12px;
    text-align: center;
    color: #777;
    font-size: 14px;
  }

  .category-list li > a,
  .mega-menu-panel-back {
    min-height: 52px;
    padding: 16px 20px;
    font-size: 16px;
  }

  .mega-menu-panel-back {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--white);
    font-weight: var(--font-weight-700);
  }

  .mega-menu-panel {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*
   * Do not flex-shrink L2/L3 blocks into the remaining sheet height.
   * height:100% + flex:1 + overflow:hidden on columns was collapsing
   * long Greek labels into thin slivers (ΔΙΑΚΟΣΜΗΣΗ, ΠΑΤΑΚΙΑ, ΕΞΩΤΕΡΙΚΟ).
   */
  .mega-menu-panel-content.active {
    height: auto;
  }

  .mega-menu-panel-body {
    flex: none;
    min-height: auto;
    height: auto;
  }

  .mega-menu-columns {
    display: flex;
    flex-direction: column;
    flex: none;
    gap: 14px;
    min-height: auto;
    height: auto;
    padding: 8px 16px calc(28px + env(safe-area-inset-bottom));
  }

  .mega-menu-column {
    flex: 0 0 auto;
    height: auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: visible;
  }

  .mega-menu-column-title {
    display: flex;
    align-items: flex-start;
    min-height: 48px;
    padding: 12px 14px 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    box-shadow: inset 3px 0 0 var(--primary);
    color: #111;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: normal;
    overflow: visible;
    flex-shrink: 0;
  }

  .mega-menu-column-title:hover {
    background: #fff8dc;
    color: #111;
  }

  .mega-menu-column-list a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 16px 11px 20px;
    border-bottom: 1px solid #f3f3f3;
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    flex-shrink: 0;
    height: auto;
  }

  .mega-menu-column-list a::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: none;
    border-radius: 50%;
    background: #cfcfcf;
  }

  .mega-menu-column-list a:hover {
    background: #fffbeb;
    color: #111;
  }

  .mega-menu-column-list li:last-child a {
    border-bottom: none;
  }

  .mega-menu-column-more a {
    color: #111;
    font-size: 13px;
    font-weight: 700;
    background: #fff8dc;
  }

  .mega-menu-column-more a::before {
    display: none;
  }

  .mega-menu-panel-body {
    display: flex;
    flex-direction: column;
  }

  .mega-menu-featured {
    display: block;
    order: -1;
    width: 100%;
    padding: 12px 16px 4px;
  }

  .mega-menu-featured-link {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 96px;
    overflow: hidden;
    background: var(--midnight-black);
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
  }

  .mega-menu-featured-image {
    position: relative;
    inset: auto;
    width: 96px;
    flex: none;
    overflow: hidden;
  }

  .mega-menu-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mega-menu-featured-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: 14px 16px;
    background: transparent;
  }

  .mega-menu-featured-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: var(--font-weight-600);
  }

  .mega-menu-featured-name {
    font-size: var(--font-18);
    font-weight: var(--font-weight-700);
    line-height: 1.2;
    color: var(--white);
  }

  .mega-menu-featured-cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 6px;
    padding: 6px 10px;
    background: var(--primary);
    color: var(--black);
    border-radius: 4px;
    font-size: var(--font-12);
    font-weight: var(--font-weight-700);
  }

}

@keyframes megaMenuSheetIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/*
 * Desktop: side-by-side layout instead of the mobile drill-down. The
 * panel sits beside the list rather than replacing it, so there's no
 * "back" link, and its width animates open/shut instead of an instant
 * show/hide.
 */
@media (min-width: 992px) {

  .main-header-inner {
    position: relative;
  }

  .category-wrapper {
    position: static;
  }

  /*
   * Specificity note: .category-wrapper .category-dropdown (rather than
   * bare .category-dropdown) so this reliably wins over the later,
   * unscoped .category-dropdown{overflow-x:hidden} rule used for the
   * mobile/tablet list scrollbar further down this file.
   */
  .category-wrapper .category-dropdown {
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    height: min(72vh, 580px);
    max-height: min(72vh, 580px);
    overflow: hidden;
    border-radius: 0 0 14px 14px;
    border-top: 3px solid var(--primary);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
  }

  .main-header.sticky .category-wrapper .category-dropdown {
    position: fixed;
    top: var(--bl-header-height, 72px);
    left: 0;
    right: 0;
    width: 100%;
  }

  .mega-menu-nav {
    width: 260px;
    background: var(--light-gray);
  }

  .category-list > li.has-submenu.active > a {
    box-shadow: inset 3px 0 0 var(--black);
  }

  .mega-menu-panel-back {
    display: none;
  }

  .mega-menu.showing-panel .mega-menu-nav {
    display: flex;
  }

  .mega-menu-panel {
    display: block;
    flex: 1;
    width: auto;
    max-width: none;
    overflow: hidden;
    position: relative;
    background: var(--white);
  }

  .mega-menu-panel-content {
    padding: 0;
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .mega-menu-panel-content.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mega-menu-panel-body {
    flex-direction: row;
    align-items: stretch;
  }

  .mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 36px;
    padding: 28px 32px;
    overflow-y: auto;
    align-content: start;
  }

  .mega-menu-panel-content.is-entering .mega-menu-column {
    animation: megaMenuColIn 0.34s ease both;
  }

  .mega-menu-panel-content.is-entering .mega-menu-column:nth-child(2) { animation-delay: 0.04s; }
  .mega-menu-panel-content.is-entering .mega-menu-column:nth-child(3) { animation-delay: 0.08s; }
  .mega-menu-panel-content.is-entering .mega-menu-column:nth-child(4) { animation-delay: 0.12s; }
  .mega-menu-panel-content.is-entering .mega-menu-column:nth-child(5) { animation-delay: 0.16s; }
  .mega-menu-panel-content.is-entering .mega-menu-column:nth-child(6) { animation-delay: 0.2s; }
  .mega-menu-panel-content.is-entering .mega-menu-featured {
    animation: megaMenuFeatIn 0.4s ease 0.1s both;
  }

  .mega-menu-column-title,
  .mega-menu-column-list a {
    display: block;
    position: relative;
    width: fit-content;
    max-width: 100%;
    padding: 5px 0;
    border-bottom: none;
    font-size: var(--font-14);
    line-height: 22px;
    font-weight: var(--font-weight-400);
    transition: color 0.18s ease, transform 0.18s ease;
  }

  .mega-menu-column-title {
    font-weight: var(--font-weight-700);
    font-size: var(--font-16);
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .mega-menu-column-title::after,
  .mega-menu-column-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
    transform-origin: left center;
    pointer-events: none;
  }

  .mega-menu-column-title::after {
    width: 22px;
    transition: width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.42s ease;
  }

  .mega-menu-column-list a::after {
    width: 0;
    height: 2px;
    bottom: 1px;
    transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mega-menu-column-title:hover,
  .mega-menu-column-list a:hover {
    background: none;
    color: var(--black);
    text-decoration: none;
    transform: translateX(4px);
  }

  .mega-menu-column-title:hover::after,
  .mega-menu-column-title:focus-visible::after {
    width: 100%;
    box-shadow: 0 0 12px rgba(245, 202, 39, 0.55);
  }

  .mega-menu-column-list a:hover {
    color: #111;
  }

  .mega-menu-column-list a:hover::after,
  .mega-menu-column-list a:focus-visible::after {
    width: 16px;
  }

  .mega-menu-column-more a {
    font-weight: var(--font-weight-600);
    margin-top: 8px;
    color: var(--charcoal-gray);
  }

  .mega-menu-column-more a:hover {
    color: var(--black);
  }

  .mega-menu-featured {
    display: flex;
    width: 240px;
    flex: none;
    padding: 20px;
    align-items: stretch;
  }

  .mega-menu-featured-link {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    width: 100%;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    background: var(--midnight-black);
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    position: relative;
  }

  .mega-menu-featured-link:hover {
    background: var(--midnight-black);
  }

  .mega-menu-featured-image {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .mega-menu-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
  }

  .mega-menu-featured-link:hover .mega-menu-featured-image img {
    transform: scale(1.06);
  }

  .mega-menu-featured-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 18px;
    background: rgba(0, 0, 0, 0.72);
    margin-top: auto;
  }

  .mega-menu-featured-link:has(.mega-menu-featured-image) .mega-menu-featured-copy {
    background: rgba(0, 0, 0, 0.55);
  }

  .mega-menu-featured-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: var(--font-weight-600);
  }

  .mega-menu-featured-name {
    font-size: var(--font-20);
    font-weight: var(--font-weight-700);
    line-height: 1.2;
    color: var(--white);
  }

  .mega-menu-featured-cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 8px;
    padding: 7px 12px;
    background: var(--primary);
    color: var(--black);
    border-radius: 4px;
    font-size: var(--font-12);
    font-weight: var(--font-weight-700);
  }

}

@keyframes megaMenuColIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes megaMenuFeatIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-dropdown.active,
  .mega-menu-panel-content.is-entering .mega-menu-column,
  .mega-menu-panel-content.is-entering .mega-menu-featured {
    animation: none;
  }

  .mega-menu-overlay,
  .mega-menu-column-title,
  .mega-menu-column-list a,
  .mega-menu-featured-image img,
  .mega-menu-column-title::after,
  .mega-menu-column-list a::after {
    transition: none;
  }
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 5px;
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 15px 21px;
  font-family: var(--font-family-1);
  font-weight: var(--font-weight-400);

  font-size: var(--font-16);
  line-height: 100%;
}

.search-btn {
  width: 60px;
  height: 55px;
  border: none;
  background: none;
  font-size: var(--font-22);
  cursor: pointer;
}

.header-search{
    position:relative;
        flex: 1;
}
.search-icon{
    padding-right:15px;
}
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  z-index: 1200;
  display: none;
}

.search-panel {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(78vh, 720px);
}

.search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  flex-shrink: 0;
}

.search-panel-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.search-panel-count {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-panel-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.search-panel-query {
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #111;
  background: #fff3c4;
  border-radius: 999px;
  padding: 4px 10px;
}

.search-panel-list {
  overflow: auto;
  flex: 1;
  overscroll-behavior: contain;
}

.search-panel-list::-webkit-scrollbar {
  width: 8px;
}

.search-panel-list::-webkit-scrollbar-thumb {
  background: #d8d8d8;
  border-radius: 8px;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  transition: background 0.18s ease;
}

.search-item.is-oos {
  opacity: 0.72;
}

.search-item.is-exact {
  background: #fffbeb;
}

.search-item:last-child {
  border-bottom: none;
}

.search-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.search-item:hover,
.search-item.is-active {
  background: #fff8dc;
}

.search-item:hover::before,
.search-item.is-active::before {
  opacity: 1;
}

.search-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f6f6;
  border: 1px solid #efefef;
  border-radius: 10px;
  overflow: hidden;
  padding: 5px;
}

.search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-content {
  flex: 1;
  min-width: 0;
}

.search-content h5 {
  margin: 0 0 6px;
  font-family: var(--font-family-1);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-hl {
  background: #f5ca27;
  color: inherit;
  font-weight: 700;
  padding: 0 2px;
  border-radius: 3px;
}

.search-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.search-sku,
.search-exact {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5c5c5c;
  background: #f2f2f2;
  border-radius: 999px;
  padding: 3px 8px;
}

.search-exact {
  background: var(--primary);
  color: #111;
}

.search-stock {
  font-size: 11px;
  font-weight: 600;
}

.search-stock.is-in {
  color: #2f7d32;
}

.search-stock.is-out {
  color: #9a6b00;
}

.search-price {
  flex-shrink: 0;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  line-height: 1.2;
}

.search-price del {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #9a9a9a;
}

.search-price ins {
  text-decoration: none;
}

.search-see-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--primary);
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  transition: filter 0.18s ease;
}

.search-see-all:hover,
.search-see-all.is-active {
  filter: brightness(0.96);
}

.search-recent-list {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}

.search-recent-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  cursor: pointer;
}

.search-recent-item svg {
  flex-shrink: 0;
  color: #8a8a8a;
}

.search-recent-item:hover,
.search-recent-item.is-active {
  background: #fff8dc;
}

.search-recent-clear {
  border: none;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: #777;
  cursor: pointer;
}

.search-recent-clear:hover {
  color: #111;
}

.search-see-all svg {
  flex-shrink: 0;
}

.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  color: #555;
  font-size: 14px;
}

.search-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #eadfa8;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: batteryland-search-spin 0.7s linear infinite;
}

@keyframes batteryland-search-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.search-empty,
.no-result {
  padding: 32px 20px;
  text-align: center;
}

.search-empty-icon,
.no-result-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff3c4;
  color: #111;
}

.search-empty h4,
.no-result h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.search-empty p,
.no-result p {
  margin: 0;
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}

.search-empty-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-search-bar .search-results {
  position: static;
  margin-top: 8px;
}

.mobile-search-bar .search-panel {
  box-shadow: none;
  border: 1px solid #eee;
  max-height: min(70vh, 640px);
}

@media (max-width: 640px) {
  .search-item {
    flex-wrap: wrap;
    gap: 10px;
  }

  .search-thumb {
    width: 56px;
    height: 56px;
  }

  .search-price {
    width: 100%;
    padding-left: 70px;
    text-align: left;
    margin-top: -2px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions .cart-box {
  color: var(--black);
}
.header-icon-box {
  padding: 12px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  cursor: pointer;
}
.header-icon-box:hover {
  background-color: var(--primary);
}
.cart-box {
  padding: 12px 20px;
  background: var(--bg-soft);
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: var(--font-weight-500);
  font-size: var(--font-14);
}

.cart-count {
  color: var(--primary);
  font-weight: var(--font-weight-600);
}
.cart-box:hover {
  background-color: var(--primary);
}
.cart-box:hover .cart-count {
  color: var(--black);
}

.account-wrapper {
  position: relative;
}

.account-dropdown {
  position: absolute;
  top: 65px;
  right: 0;
  width: 306px;
  background: var(--white);
  border-radius: 10px;
  padding: 20px;

  opacity: 0;
  visibility: hidden;
  /* transform: translateY(10px);
  transition: all 0.3s ease; */
  z-index: 999;
}

.account-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-dropdown h6 {
  font-size: var(--font-16);
  font-weight: var(--font-weight-500);
  line-height: 20px;
  margin-bottom: 5px;
}

.account-dropdown p {
  font-size: var(--font-14);
  color: var(--gray-700);
  margin-bottom: 14px;
}

.login-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.top-links ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-links li {
    margin: 0;
}

.top-links a {
    color: var(--black);
    text-decoration: none;
    font-size: var(--font-14);
    font-weight: var(--font-weight-500);
}

.top-links a:hover {
   color: var(--primary);
}
.top-bar-menu li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #0000001a;
}
.wishlist-count{
   
    top: -8px;
    right: -8px;

}
.header-account{
    position:relative;
}

.account-link{
    display:flex;
    flex-direction:column;
    text-decoration:none;
    color:#000;
    line-height:1.2;
}

.account-link .hello{
    font-size:16px;
    font-weight:400;
}

.account-link .account-title{
    font-size:16px;
    font-weight:500;
}

.account-title i{
    font-size:11px;
    margin-left:4px;
}

.account-dropdown{

    position:absolute;
    top:100%;
    right:0;

    width:230px;

    background:#fff;

    border-radius:8px;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:999;

    padding:12px 15px;

}

.header-account:hover .account-dropdown{

    opacity:1;
    visibility:visible;

}

.account-dropdown a{

    display:block;

    padding:12px 18px;

    color:#222;

    text-decoration:none;

}

.account-dropdown a:hover{

    background:#f6f6f6;

}

.mobile-header-actions{
        display:none;
    }
    
     .mobile-search-bar{
       display:none;
    }
    
    /* Hide by default */


@media (max-width: 768px){
    .search-dropdown{
    display: none;
}

.main-header.sticky .header-search{
    display:none;
}
.main-header.sticky .mobile-search-bar{
    display: flex;
}

 .main-header.sticky   .header-search {
        order: 2;
    }
.search-toggle {
    display:flex;
}
.search-dropdown{
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
}


    .search-dropdown{
        position: absolute;
        top: 45px;
        right: 0;
        left: auto;
        width: min(92vw, 400px);
        background: #fff;
        padding: 5px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,.15);

        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: .3s ease;
        z-index: 999;
    }

    .search-dropdown.active{
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

}
@media (max-width: 767px) {

    .hero-content-right{
        display:block !important;
        width:100%;
        order:1;
        margin-bottom:0;
    }

    .hero-content-left{
        order:2;
    }

    .hero-image-wrapper{
        position:relative;
        width:100%;
    }

    .student-img{
        width:100%;
        display:block;
        height:auto;
    }

    .floating-card{
        position:absolute;
        transform:scale(.65);
        transform-origin:top left;
        z-index:10;
    }

    /* Top Left */
    .card-1{
        top:20px;
        left:10px;
        animation: floatCard 3s ease-in-out infinite;
    }

    /* Middle Left */
    .card-2{
        top:130px;
        left:15px;
        animation: floatCard 3s ease-in-out infinite .4s;
    }

    /* Bottom Left */
    .card-3{
        top:240px;
        left:20px;
        animation: floatCard 3s ease-in-out infinite .8s;
    }

}

/* Mini-cart sidebar (#cartSidebar). Lives here — not home.css — because
   the drawer is rendered in header.php on every page. */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s;
  z-index: 100000;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-sidebar {
  position: fixed;
top: 0;
  right: -590px;
  width: 560px;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 100001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.35s ease;
  transition: right 0.35s ease;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
  margin-bottom: 30px;
  padding: 30px 30px 0;
}

.cart-title {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cart-title h5 {
  font-weight: var(--font-weight-500);
}
.cart-title img {
  width: 26px;
  height: auto;
}
.cart-close {
  border: none;
  background: none;
  font-size: var(--font-32);
  cursor: pointer;
  line-height: 1;
      color: #000;
}

.cart-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 30px 24px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 5px 10px;
  margin-bottom: 16px;
}

.cart-item img {
  width: 100px;
  display:block;
  height:auto;
}

.item-content {
  flex: 1;
}

.item-content h6 {
  margin-bottom: 16px;
  font-size: var(--font-16);
}

.item-content .product-price {
  font-weight: var(--font-weight-500);
  margin-bottom: 0;
}

.delete-btn {
  border: none;
  background: none;
  cursor: pointer;
}
.delete-btn img {
  width: 24px;
  height: auto;
}
.cart-footer {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  background: var(--bg-soft);
  padding: 18px 30px calc(10px + env(safe-area-inset-bottom, 0px));
}

.cart-footer-actions {
  display: flex;
  gap: 20px;
}

.subtotal {
  display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    margin-top: 10px;
}
.subtotal h5 {
  font-weight: var(--font-weight-500);
}
.view-cart-btn,
.checkout-btn {
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.view-cart-btn {
  border: 1px solid #c3c3c3;
}

@media (max-width: 767px) {
  .cart-sidebar {
    width: 100%;
    max-width: 100%;
    right: -100%;
  }

  .cart-body {
    height: auto;
    padding-bottom: 16px;
  }

  .cart-footer-actions {
    flex-direction: column;
    gap: 10px;
  }

  .cart-sidebar .view-cart-btn,
  .cart-sidebar .checkout-btn {
    min-height: 48px;
    margin-bottom: 0;
  }
}

/* Empty Cart */

.mini-cart-empty{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:50px 25px;
}

.mini-cart-empty-icon{
    width:110px;
    height:110px;
    border-radius:50%;
    background:#FFF7E4;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#222;
    margin-bottom:25px;
    position:relative;
}

.mini-cart-empty-icon:before{
    content:"";
    position:absolute;
    inset:10px;
    border:2px dashed #FFC107;
    border-radius:50%;
}

.mini-cart-empty-icon svg{
    position:relative;
    z-index:2;
}

.mini-cart-empty h3{
    font-size:28px;
    font-weight:700;
    color:#111;
    margin-bottom:15px;
}

.mini-cart-empty p{
    color:#777;
    line-height:1.7;
    margin-bottom:60px;
    /*max-width:260px;*/
}

.mini-cart-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    max-width:250px;
    height:54px;
    background:#FFC107;
    color:#111;
    font-weight:700;
    border-radius:8px;
    text-decoration:none;
    transition:.3s;
}

.mini-cart-btn:hover{
    background:#111;
    color:#fff;
}

@media (max-width: 991px) {
    .category-dropdown {
        max-height: 100dvh;
        overflow: hidden;
    }
}

.category-dropdown::-webkit-scrollbar {
    width: 6px;
}

.category-dropdown::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.sidebar-cart-footer .subtotal h5 .amount { color:#FCC625; }
.menu-item-has-children > a span {
    transition: transform .3s ease;
}

.menu-item-has-children.active > a span {
    transform: rotate(90deg);
}

@media (max-width: 767px) {
    .account-wrapper {
        position: relative;
    }

    .account-dropdown {
        position: absolute;
        bottom: calc(100% + 10px); /* Show above the icon */
        top: auto;
        right: 0;
        width: 230px;
        max-width: calc(100vw - 20px);
        transform: translateY(10px);
    }

    .account-wrapper.active .account-dropdown
    {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

body:has(#cartOverlay.active) {
    overflow: hidden;
}