/** Shopify CDN: Minification failed

Line 982:0 Unexpected "}"

**/
/* ========================================
   GLS Header Styles
   Green Leaf Supplies - Custom Shopify Theme
======================================== */

/* ----------------------------------------
   CSS Variables
---------------------------------------- */
:root {
  --gls-primary: #7AAE5C;
  --gls-primary-dark: #6a9d4d;
  --gls-accent: #FDC15F;
  --gls-accent-dark: #e5ac4a;
  --gls-dark: #060316;
  --gls-white: #ffffff;
  --gls-gray-100: #f5f5f5;
  --gls-gray-200: #e5e5e5;
  --gls-gray-500: #666;
  --gls-gray-600: #555;
  --gls-gray-700: #333;
  --gls-header-max-width: 1400px;
}

/* ----------------------------------------
   Base Header
---------------------------------------- */
/* Wrapper section for sticky positioning */
.gls-header-section {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.gls-header {
  position: relative;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Sticky header animation on scroll */
.gls-header-section.is-scrolled .gls-header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gls-header-section.is-scrolled .gls-header__top-bar {
  max-height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
}

/* Smooth transition for sticky header */
.gls-header-section {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gls-header__top-bar {
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  max-height: 50px;
  opacity: 1;
}

.gls-header__container {
  max-width: var(--gls-header-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------
   Top Bar
---------------------------------------- */
.gls-header__top-bar {
  background-color: var(--gls-dark);
  color: var(--gls-white);
  font-size: 11px;
  padding: 2px 0;
}

.gls-header__top-bar .gls-header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.gls-header__top-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gls-header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gls-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.gls-header__phone:hover {
  color: var(--gls-accent);
}

.gls-header__phone svg {
  color: var(--gls-primary);
  flex-shrink: 0;
}

.gls-header__divider {
  color: rgba(255, 255, 255, 0.3);
}

.gls-header__promo {
  color: var(--gls-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  font-weight: 500;
}

.gls-header__promo:hover {
  color: var(--gls-accent);
}

.gls-header__top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gls-header__top-link {
  color: var(--gls-white);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.gls-header__top-link:hover {
  color: var(--gls-accent);
}

.gls-header__top-link--highlight {
  color: var(--gls-primary);
  font-weight: 600;
}

/* ----------------------------------------
   Main Header
---------------------------------------- */
.gls-header__main {
  background-color: var(--gls-white);
  padding: 10px 0;
  border-bottom: 1px solid var(--gls-gray-200);
}

.gls-header__main .gls-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.gls-header__logo-link {
  flex-shrink: 0;
  min-width: 150px;
}

.gls-header__logo {
  max-width: 150px;
  height: auto;
  display: block;
}

.gls-header__logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--gls-dark);
  text-decoration: none;
}

/* Search Bar */
.gls-header__search {
  flex: 1;
  max-width: 650px;
  min-width: 200px;
  margin: 0 auto;
}

.gls-header__search-form {
  width: 100%;
}

.gls-header__search-wrapper {
  display: flex;
  align-items: center;
  border: none;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gls-white);
  box-shadow: 0 0 5px #00000026;
  padding: 4px;
}

.gls-header__search-icon {
  margin-left: 16px;
  margin-right: 8px;
  color: #999;
  flex-shrink: 0;
}

.gls-header__search-input {
  flex: 1;
  border: none;
  padding: 12px 8px;
  font-size: 14px;
  outline: none;
  background: transparent;
  color: var(--gls-gray-700);
  min-width: 0;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.gls-header__search-input:focus {
  outline: none;
  box-shadow: none;
}

/* Remove webkit search input styling */
.gls-header__search-input::-webkit-search-decoration,
.gls-header__search-input::-webkit-search-cancel-button,
.gls-header__search-input::-webkit-search-results-button,
.gls-header__search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.gls-header__search-input::placeholder {
  color: #999;
}

.gls-header__mobile-search-toggle {
  display: none;
}

.gls-header__search-btn {
  background-color: var(--gls-primary);
  color: var(--gls-white);
  border: none;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
  align-self: center;
  display: flex;
  align-items: center;
  border-radius: 4px;
}

.gls-header__search-btn:hover {
  background-color: var(--gls-accent);
  color: var(--gls-dark);
}

/* Account & Cart Actions */
.gls-header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  flex-shrink: 0;
}

.gls-header__account {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--gls-dark);
}

.gls-header__account-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.gls-header__account-greeting {
  font-size: 11px;
  color: var(--gls-gray-500);
  letter-spacing: 0.3px;
}

.gls-header__account-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gls-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.gls-header__account-link svg {
  margin-top: 2px;
}

/* Cart */
.gls-header__cart {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gls-dark);
}

.gls-header__cart-icon-wrapper {
  position: relative;
}

.gls-header__cart-icon-wrapper svg {
  color: var(--gls-dark);
}

.gls-header__cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--gls-primary);
  color: var(--gls-white);
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.gls-header__cart-text {
  display: flex;
  flex-direction: column;
}

.gls-header__cart-label {
  font-size: 11px;
  color: var(--gls-gray-500);
  letter-spacing: 0.3px;
}

.gls-header__cart-items {
  font-size: 14px;
  font-weight: 600;
  color: var(--gls-dark);
}

/* ----------------------------------------
   Navigation Bar
---------------------------------------- */
.gls-header__nav {
  background-color: var(--gls-dark);
  padding: 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid var(--gls-white);
}

.gls-header__nav .gls-header__container {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  position: relative;
}

/* Catalog Dropdown */
.gls-header__catalog-dropdown {
  position: static;
  flex-shrink: 0;
}

.gls-header__catalog-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: var(--gls-white);
  border: none;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  height: 100%;
  white-space: nowrap;
}

.gls-header__catalog-btn svg {
  color: var(--gls-primary);
}

.gls-header__catalog-btn:hover,
.gls-header__catalog-dropdown.is-active .gls-header__catalog-btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--gls-white);
}

.gls-header__catalog-arrow {
  transition: transform 0.3s ease;
}

.gls-header__catalog-btn[aria-expanded="true"] .gls-header__catalog-arrow {
  transform: rotate(180deg);
}

/* Main Menu */
.gls-header__menu {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.gls-header__menu-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.gls-header__menu-link {
  display: flex;
  align-items: center;
  padding: 8px 24px;
  color: var(--gls-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.gls-header__menu-link:hover {
  color: var(--gls-accent);
}

.gls-header__menu-link--active {
  color: var(--gls-accent);
}

/* Request Quote Button */
.gls-header__quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gls-primary);
  color: var(--gls-white);
  text-decoration: none;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 0;
  transition: all 0.2s;
  margin-left: auto;
  align-self: stretch;
  white-space: nowrap;
}

.gls-header__quote-btn:hover {
  background-color: var(--gls-accent);
  color: var(--gls-dark);
}

/* Mobile Toggle */
.gls-header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gls-white);
  padding: 12px;
  cursor: pointer;
  margin-left: auto;
}

/* ----------------------------------------
   Mega Menu
---------------------------------------- */
.gls-header__mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--gls-white);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 1001;
  pointer-events: none;
}

.gls-header__mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.gls-header__mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 24px;
}

.gls-header__mega-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Category Image */
.gls-header__mega-image-link {
  display: block;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  /* border: 1px solid var(--gls-gray-200); */
  transition: all 0.2s;
  aspect-ratio: 16/10;
}

.gls-header__mega-image-link:hover {
  /* border-color: var(--gls-accent); */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gls-header__mega-image {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.gls-header__mega-image--cover {
  object-fit: cover;
}

.gls-header__mega-image--contain {
  object-fit: contain;
  padding: 10px;
}

.gls-header__mega-image-link:hover .gls-header__mega-image {
  transform: scale(1.05);
}

.gls-header__mega-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  background-color: var(--gls-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
}

.gls-header__mega-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gls-primary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
  line-height: 1.3;
}

.gls-header__mega-title:hover {
  color: var(--gls-accent);
}

.gls-header__mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.gls-header__mega-list li {
  margin-bottom: 6px;
}

.gls-header__mega-list a {
  color: var(--gls-gray-600);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  line-height: 1.5;
}

.gls-header__mega-list a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid var(--gls-primary);
  margin-right: 8px;
}

.gls-header__mega-list a:hover {
  color: var(--gls-accent);
}

/* Mega Menu Buttons */
.gls-header__mega-buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.gls-header__mega-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
}

.gls-header__mega-btn--primary {
  background-color: var(--gls-white);
  color: var(--gls-primary);
  border: 1px solid var(--gls-primary);
}

.gls-header__mega-btn--primary:hover {
  background-color: var(--gls-primary);
  color: var(--gls-white);
}

.gls-header__mega-btn--secondary {
  background-color: var(--gls-gray-100);
  color: var(--gls-dark);
  border: 1px solid var(--gls-gray-200);
}

.gls-header__mega-btn--secondary:hover {
  background-color: var(--gls-gray-200);
}

/* Empty state */
.gls-header__mega-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--gls-gray-500);
}

/* ----------------------------------------
   Mobile Menu
---------------------------------------- */
.gls-header__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gls-dark);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding-top: 140px;
  overflow-y: auto;
}

.gls-header__mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.gls-header__mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--gls-white);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gls-header__mobile-menu-inner {
  padding: 20px 24px;
}

.gls-header__mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.gls-header__mobile-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gls-header__mobile-nav a {
  display: block;
  padding: 16px 0;
  color: var(--gls-white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.2s;
}

.gls-header__mobile-nav a:hover,
.gls-header__mobile-nav a.active {
  color: var(--gls-accent);
}

.gls-header__mobile-quote-btn {
  display: block;
  width: 100%;
  background-color: var(--gls-primary);
  color: var(--gls-white);
  text-decoration: none;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  transition: all 0.2s;
}

.gls-header__mobile-quote-btn:hover {
  background-color: var(--gls-accent);
  color: var(--gls-dark);
}

/* ----------------------------------------
   Responsive Styles - Large Desktop (1400px+)
---------------------------------------- */
@media (min-width: 1400px) {
  .gls-header__mega-menu-inner {
    grid-template-columns: repeat(4, 260px);
    gap: 24px;
    padding: 28px;
  }
}

/* ----------------------------------------
   Responsive Styles - Desktop (1200px - 1399px)
---------------------------------------- */
@media (max-width: 1399px) {
  .gls-header__container {
    padding: 0 20px;
  }
  
  .gls-header__mega-menu-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px;
  }
  
  .gls-header__menu-link {
    padding: 15px 18px;
  }
}

/* ----------------------------------------
   Responsive Styles - Tablet Landscape (992px - 1199px)
---------------------------------------- */
@media (max-width: 1199px) {
  .gls-header__main .gls-header__container {
    gap: 20px;
  }
  
  .gls-header__search {
    max-width: 450px;
  }
  
  .gls-header__menu-link {
    padding: 15px 14px;
    font-size: 14px;
  }
  
  .gls-header__quote-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .gls-header__mega-menu {
    max-width: calc(100vw - 40px);
  }
  
  .gls-header__mega-menu-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px;
  }
  
  .gls-header__mega-title {
    font-size: 15px;
  }
  
  .gls-header__mega-list a {
    font-size: 13px;
  }
}

/* ----------------------------------------
   Responsive Styles - Tablet Portrait (768px - 991px)
---------------------------------------- */
@media (max-width: 991px) {
  /* Top Bar - Hide on Mobile/Tablet */
  .gls-header__top-bar {
    display: none;
  }
  
  /* Main Header Layout */
  .gls-header__main .gls-header__container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
  }
  
  /* Mobile Toggle */
  .gls-header__mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 8px;
    margin-left: -8px;
    cursor: pointer;
    color: var(--gls-dark);
    justify-self: start;
  }

  /* Logo */
  .gls-header__logo-link {
    justify-self: center;
    text-align: center;
    width: 100%;
  }
  
  .gls-header__logo {
    max-width: 120px;
    height: auto;
    margin: 0 auto;
  }
  
  /* Search Bar - Dropdown Mode */
  .gls-header__search {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--gls-white);
    padding: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 90;
    max-width: 100%;
  }
  
  .gls-header__search.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .gls-header__search-btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  /* Actions */
  .gls-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
  }

  .gls-header__mobile-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--gls-dark);
  }
  
  .gls-header__account-text,
  .gls-header__cart-text {
    display: none;
  }
  
  /* Hide Desktop Nav */
  .gls-header__nav {
    display: none;
  }
  
  /* Mega Menu (Mobile Drawer Styles) */
  .gls-header__mega-menu {
    display: none; /* Hide desktop mega menu on mobile */
  }
}

/* ----------------------------------------
   Responsive Styles - Mobile (576px - 767px)
---------------------------------------- */
@media (max-width: 767px) {
  /* Inherits from 991px block */
  .gls-header__logo {
    max-width: 100px;
  }
}
  
  .gls-header__mega-quote-btn {
    font-size: 11px;
    padding: 8px 12px;
    margin-top: 10px;
  }
  
  /* Mobile Menu */
  .gls-header__mobile-menu {
    padding-top: 120px;
  }
  
  .gls-header__mobile-nav a {
    font-size: 16px;
    padding: 14px 0;
  }
}

/* ----------------------------------------
   Responsive Styles - Small Mobile (< 576px)
---------------------------------------- */
@media (max-width: 575px) {
  .gls-header__container {
    padding: 0 12px;
  }
  
  /* Top Bar */
  .gls-header__top-bar {
    font-size: 11px;
    padding: 6px 0;
  }
  
  .gls-header__divider {
    display: none;
  }
  
  .gls-header__top-left {
    flex-direction: column;
    gap: 4px;
  }
  
  .gls-header__top-right {
    gap: 10px;
    font-size: 11px;
  }
  
  /* Main Header */
  .gls-header__main {
    padding: 10px 0;
  }
  
  .gls-header__logo {
    max-width: 80px;
  }
  
  .gls-header__search-input {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .gls-header__search-btn {
    padding: 10px 14px;
    font-size: 11px;
  }
  
  /* Mega Menu */
  .gls-header__mega-menu {
    max-height: 80vh;
  }
  
  .gls-header__mega-menu-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 16px;
  }
  
  .gls-header__mega-column {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto;
    gap: 10px 16px;
  }
  
  .gls-header__mega-image-link {
    grid-row: 1 / 3;
    aspect-ratio: 1;
    margin-bottom: 0;
  }
  
  .gls-header__mega-title {
    align-self: end;
    margin-bottom: 0;
  }
  
  .gls-header__mega-list {
    grid-column: 2;
  }
  
  .gls-header__mega-quote-btn {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
}

/* ----------------------------------------
   Accessibility & Focus States
---------------------------------------- */
.gls-header__catalog-btn:focus-visible,
.gls-header__menu-link:focus-visible,
.gls-header__quote-btn:focus-visible,
.gls-header__mega-title:focus-visible,
.gls-header__mega-list a:focus-visible,
.gls-header__mega-quote-btn:focus-visible {
  outline: 2px solid var(--gls-primary);
  outline-offset: 2px;
}

/* ----------------------------------------
   Print Styles
---------------------------------------- */
@media print {
  .gls-header {
    position: relative;
  }
  
  .gls-header__mega-menu,
  .gls-header__mobile-menu,
  .gls-header__mobile-toggle {
    display: none !important;
  }
}
