/* ---------------------------------
   Token Imports
--------------------------------- */
@import "tokens/_breakpoints.css";
@import "tokens/_colors.css";
@import "tokens/_typography.css";
@import "tokens/_spacing.css";
@import "tokens/_borders.css";
@import "tokens/_radii.css";
@import "tokens/_positioning.css";
@import "tokens/_components.css";
@import "tokens/_utilities.css";
@import "tokens/_component-styles.css";

/* ---------------------------------
   HEADER & NAVIGATION
--------------------------------- */

/* ------ Wrapper Styling ------ */

#wrapper-header {
  position: relative;
  background: var(--fl-color-bg-inverse);
  z-index: var(--fl-z-dropdown);
}

#wrapper-header hr,
#cart-items hr,
#top-navigation-menu hr { 
  border-bottom: var(--fl-border-strong);
}


/* ------ END Wrapper Styling ------ */

/* ---------------------------------
   TOP CATEGORY MENU
--------------------------------- */

/* ------ Top Category Navigation Items ------ */

#top-navigation .container {
  max-width: var(--fl-width-100) !important;
}

#top-navigation nav {
  box-shadow: var(--fl-nav-shadow);
}

#top-navigation .top-category-menu ul li {
  list-style-type: none;
}

#top-navigation .cat-item a {
  text-transform: var(--fl-text-uppercase);
  color: var(--fl-color-text-inverse);
  font-size: var(--fl-font-size-title-xs);
  letter-spacing: var(--fl-letter-spacing-wider);
  font-weight: var(--fl-font-weight-bold);
}


@media (max-width:992px) {
  #top-navigation .logo {
    max-width: var(--fl-width-50);
  }
}

/* ------ END Top Category Navigation Items ------ */


/* ------ Top Category Navigation Icons ------ */

#top-navigation .nav-icon.activated .open, #top-navigation .nav-icon .close-nav {
  display: none;
  opacity: var(--fl-opacity-visible);
}

#top-navigation .nav-icon.activated .close-nav {
  display: inline-block;
}

#top-navigation #cart-btn-desktop.activated .badge {
  display: none;
}

#top-navigation .nav-icon .close-nav:hover {
  opacity: var(--fl-opacity-visible);
}

#top-navigation .nav-icon {
  position: relative;
  white-space: nowrap;
}

/* corrected typo: top-nagivation -> top-navigation */
#top-navigation .badge {
  position: absolute;
  font-size: var(--fl-font-size-sup);
}

#top-navigation .nav-icon img,
#top-navigation .search-box-submit img,
#top-navigation .close-autocomplete img {
  width: var(--fl-icon-size-sm);
  height: var(--fl-icon-size-sm);
}

/* ------ END Top Category Nagigation Icons ------ */


/* ------ Top Category Navigation Search Bar ------ */

#dropSearch .auto-complete-section {
  padding: var(--fl-space-md);
}
#dropSearch .search-box {
  position: relative;
}

#dropSearch .searchText {
  font-family: var(--fl-font-secondary);
  text-transform: var(--fl-text-uppercase);
  font-weight: var(--fl-font-weight-bold);
  letter-spacing: var(--fl-letter-spacing-wide);
  font-size: var(--fl-font-size-caption-xs);
}

#dropSearch .search-box .form-control {
  border: none;
  text-transform: var(--fl-text-uppercase);
  font-size: var(--fl-font-size-caption-xs);
  letter-spacing: var(--fl-letter-spacing-wide);
  font-weight: var(--fl-font-weight-bold);
  background: var(--fl-color-bg-search);
  color: var(--fl-color-text-inverse);
  border-radius: var(--fl-radius-md);
}
#dropSearch .search-box .form-control:focus {
  box-shadow: none;
  color: var(--fl-color-text-inverse);
  background: var(--fl-input-bg-color-focus);
  border-radius: var(--fl-radius-focus);
}

#dropSearch .search-box .search-box-submit {
  position: absolute;
  top: var(--fl-pos-center);
  right: var(--fl-space-sm);
  transform: var(--fl-transform-center-y);
}
#dropSearch .auto-complete-section {
  position: absolute;
  width: var(--fl-width-100);
  background: var(--fl-color-bg-default);
  border-radius: 0 0 var(--fl-radius-md) var(--fl-radius-md);
  box-shadow: var(--fl-shadow-md);
}

#dropSearch .close-autocomplete {
  position: absolute;
  right: var(--fl-space-sm);
  top: var(--fl-space-sm);
  cursor: pointer;
}

#dropSearch #sList,
#dropSearch ul#sListD,
#dropSearch ul#topList {
  list-style-type: none;
  padding: var(--fl-space-xxs);
  font-size: var(--fl-font-size-caption-xxs);
  letter-spacing: var(--fl-letter-spacing-wide);
  color: var(--fl-color-text-default);
}
#dropSearch #sList li,
#dropSearch ul#sListD li,
#dropSearch li {
  color: var(--fl-color-text-default);
  cursor: pointer;
}

/* ------ END Top Category Navigation Search Bar ------ */


/* ---------------------------------
   END TOP CATEGORY MENU
--------------------------------- */


/* ---------------------------------
   MEGAMENU
--------------------------------- */

/* ------ Mega Menu Transitions & Panel Functionality ------ */

#top-navigation-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  position: absolute;
  background: var(--fl-color-bg-default);
  z-index: var(--fl-z-dropdown);
  padding-top: var(--fl-space-lg);
}

#top-navigation-menu .panel {
  display: none;
}
#top-navigation-menu .panel.open {
  display: block;
}

#top-navigation-menu.visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}


/* ------ END Mega Menu Transitions & Panel Functionality ------ */

/* ------ Mega Menu Masks ------ */

#mask, #mask2 {
  background-color: var(--fl-color-bg-inverse);
  display: none;
  left: var(--fl-space-xxs);
  position: fixed;
  top: var(--fl-space-xxs);
  z-index: var(--fl-z-overlay);
}

#nav-mask {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--fl-z-backdrop);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#nav-mask.visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* ------ END Mega Menu Masks ------ */


/* ------ Mega Menu Categories ------ */

@media (min-width:992px) {
  #top-navigation-menu {
    padding: var(--fl-space-lg);
  }
}

@media (max-width:992px) {
  #top-navigation-menu {
    max-width: var(--fl-width-90);
    margin-left: var(--fl-width-10);
  }
}

#sub-navigation {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

@media (min-width: 992px) {
  #sub-navigation {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    gap: var(--fl-space-sm);
  }
}

#sub-navigation .nav-link {
  padding: var(--fl-space-xxs);
}

#sub-navigation .nav-item {
  list-style-type: none;
}

#sub-navigation ul {
  padding-left: var(--fl-space-xxs);
  padding-bottom: var(--fl-space-sm);
}

#sub-navigation .topCategory {
  letter-spacing: var(--fl-letter-spacing-wide);
  color: var(--fl-color-text-default);
  text-transform: var(--fl-text-uppercase);
  font-weight: var(--fl-font-weight-bold);
}

@media (min-width:992px) {
  #sub-navigation .topCategory {
    font-size: var(--fl-font-size-caption-xs);
  }
}
@media (max-width:992px) {
  #sub-navigation .topCategory {
    font-size: var(--fl-font-size-caption-lg);
  }
}

#sub-navigation .subCategory {
  font-family: var(--fl-font-primary);
  letter-spacing: var(--fl-letter-spacing-wide);
  color: var(--fl-color-text-default);
}

@media (min-width:992px) {
  #sub-navigation .subCategory {
    font-size: var(--fl-font-size-caption-xs);
  }
}
@media (max-width:992px) {
  #sub-navigation .subCategory {
    font-size: var(--fl-font-size-caption-md);
  }
}

#sub-navigation .viewAll {
  font-weight: var(--fl-font-weight-bold);
}

#top-navigation-menu .underline {
  width: 0%;
  position: absolute;
  border-bottom: var(--fl-border-strong);
  margin: var(--fl-space-xxs);
  transition: var(--fl-transition-normal);
}

#top-navigation-menu-container .banner-caption {
  font-size: var(--fl-font-size-caption-xxs);
  text-align: left;
}


/* ------ END Mega Menu Categories ------ */

/* ------ Static Guide ------ */

#static-guide ul,
#static-guide a {
  list-style-type: none;
  padding: var(--fl-space-xxs);
  margin: var(--fl-space-xxs);
  letter-spacing: var(--fl-letter-spacing-wide);
  color: var(--fl-color-text-default);
  text-transform: var(--fl-text-uppercase);
  font-weight: var(--fl-font-weight-bold);
}

@media (min-width:992px) {

  #static-guide ul,
  #static-guide a {
    font-size: var(--fl-font-size-caption-xs);
  }

  #static-guide-container {
    border-left: var(--fl-border-strong);
  }
}

@media (max-width:992px) {

  #static-guide ul,
  #static-guide a {
    font-size: var(--fl-font-size-caption-md);
  }

}

/* ------ END Static Guide ------ */


/* ---------------------------------
   END MEGAMENU
--------------------------------- */

/* ---------------------------------
   SHOPPING CART MEGAMENU
--------------------------------- */

#dropCheckout .popUpCart {
  width: var(--fl-width-100);
}

#shopping-cart-menu .cart-heading {
  font-weight: var(--fl-font-weight-bold);
  letter-spacing: var(--fl-letter-spacing-fine);
  text-transform: var(--fl-text-uppercase);
}

@media (min-width: 992px) {
  #shopping-cart-menu .cart-heading {
    font-size: var(--fl-font-size-title-xs);
  }
  #cart-items .cart-product-image {
    max-width: var(--fl-width-80);
  }
}

#cart-items .name {
  font-weight: var(--fl-font-weight-bold);
  letter-spacing: var(--fl-letter-spacing-fine);
  text-transform: var(--fl-text-uppercase);
  font-weight: var(--fl-font-weight-bold);
}

@media (min-width: 992px) {
  #cart-items .name {
    font-size: var(--fl-font-size-title-xs);
  }
}

#cart-items .cart-item-details {
  display: grid;
}

@media (min-width: 992px) {
  #cart-items .cart-item-details {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media (max-width: 992px) {
  #cart-items .cart-item-details {
    grid-template-columns: 1fr;
  }
}

#cart-items .cart-item-detail {
  padding-right: var(--fl-space-xs);
}

#cart-items .name-long,
#cart-items .label-detail,
#cart-items .remove-cart-item {
  font-size: var(--fl-font-size-caption-xs);
}

#cart-items .remove-cart-item {
  text-transform: var(--fl-text-uppercase);
  margin-top: var(--fl-space-md);
}

#cart-items .label {
  display: block;
  font-size: var(--fl-font-size-caption-xxs);
  text-transform: var(--fl-text-uppercase);
  letter-spacing: var(--fl-letter-spacing-fine);
  font-weight: var(--fl-font-weight-bold);
}

#cart-items .price {
  font-family: var(--fl-font-secondary);
  font-size: var(--fl-font-size-caption-md);
  text-transform: var(--fl-text-uppercase);
  letter-spacing: var(--fl-letter-spacing-fine);
  font-weight: var(--fl-font-weight-bold);
}

#cart-items .price-old {
  text-decoration: line-through;
}

#cart-items .price-clearance {
  color: var(--fl-color-clearance);
}

#shopping-cart-menu .subtotal {
  font-size: var(--fl-font-size-caption-sm);
  text-transform: var(--fl-text-uppercase);
  letter-spacing: var(--fl-letter-spacing-fine);
  font-weight: var(--fl-font-weight-bold);
}

#shopping-cart-menu .toggle-header {
  font-size: var(--fl-font-size-caption-xs);
  margin: var(--fl-margin-centered);
  text-transform: var(--fl-text-uppercase);
  letter-spacing: var(--fl-letter-spacing-wide);
  font-weight: var(--fl-font-weight-bold);
}

#shopping-cart-menu .arrow {
  transition: transform var(--fl-transition-slow);
  width: var(--fl-width-10);
}

#shopping-cart-menu .arrow.rotated {
  transform: rotate(180deg);
}

#shopping-cart-menu .hide {
  display: none;
}

#shopping-cart-menu .btn-primary {
  box-shadow: none;
  max-width: var(--fl-btn-width);
  margin: var(--fl-margin-centered);
  text-align: center;
}

/* ---------------------------------
   END SHOPPING CART MEGAMENU
--------------------------------- */


/* ---------------------------------
   FOOTER
--------------------------------- */

/* ------ Free Shipping Bar ----- */

#shipping-banner {
  background-color: var(--fl-color-bg-accent);
  text-align: center;
  padding: var(--fl-space-xs);
}

#shipping-banner a {
  color: var(--fl-color-text-inverse);
  text-transform: var(--fl-text-uppercase);
  font-weight: var(--fl-font-weight-bold);
  letter-spacing: var(--fl-letter-spacing-wide);
  font-size: var(--fl-font-size-title-xs);
}

/* ------ END Free Shipping Bar ----- */

/* ------ Index Title ----- */

#index-title {
  background-color: var(--fl-color-bg-inverse);
  color: var(--fl-color-text-inverse);
  text-align: center;
  padding: var(--fl-space-xs);
  margin-top: var(--fl-space-xs);
}

#index-title h1 {
  font-size: var(--fl-font-size-caption-xs);
  letter-spacing: var(--fl-letter-spacing-wide);
}

/* ------ END Index Title ----- */

#footer {
  background-color: var(--fl-color-bg-inverse);
  padding: var(--fl-space-md);
}

#footer .container {
  max-width: var(--fl-width-100);
  padding: 0 var(--fl-space-xl);
}

/* ------ Contact Bar ------ */

#footer-contact {
  padding: var(--fl-space-md);
}

#footer-contact .contact-detail a {
  padding: 0 var(--fl-space-lg);
  color: var(--fl-color-text-default);
  font-weight: var(--fl-font-weight-bold);
  font-size: var(--fl-font-size-caption-xs);
  letter-spacing: var(--fl-letter-spacing-fine);
  text-transform: var(--fl-text-uppercase);
}

#footer-contact .contact-detail-text {
  padding-top: var(--fl-space-xs);
  padding-left: var(--fl-space-xs);
}

/* ------ End Contact Bar ------ */

/* ------ Footer Links ----- */

#footer .footer-link-heading {
  font-size: var(--fl-font-size-caption-sm);
  letter-spacing: var(--fl-letter-spacing-wide);
  color: var(--fl-color-text-inverse);
  text-transform: var(--fl-text-uppercase);
  font-weight: var(--fl-font-weight-bold);
}

/* Footer Links */
#footer a.footer-link,
#footer a.footer-link:hover {
  color: var(--fl-color-text-inverse);
  display: block;
  font-size: var(--fl-font-size-caption-xs);
  letter-spacing: var(--fl-letter-spacing-wide);
}

#footer p,
#footer span {
  color: var(--fl-color-text-inverse);
  font-size: var(--fl-font-size-caption-xxs);
}

/* ------ END Footer Links ----- */

/* ------ Footer Inputs ----- */

#footer .form-control {
  border: var(--fl-input-border);
  color: var(--fl-color-text-placeholder);
  border-radius: var(--fl-input-radius);
  padding: var(--fl-input-padding);
  text-transform: var(--fl-text-uppercase);
  font-weight:var(--fl-font-weight-bold);
  font-size: var(--fl-font-size-caption-xxs);
}

#footer .form-control:focus {
  background-color: var(--fl-input-bg-color);
  color: var(--fl-color-text-placeholder);
}

#footer .form-control::placeholder {
  color: var(--fl-color-text-placeholder);
}

#footer .footer-input-box {
  min-width: var(--fl-width-70);
}

#footer .footer-submit {
  border-radius: var(--fl-btn-radius);
  text-transform: var(--fl-text-uppercase);
  letter-spacing: var(--fl-letter-spacing-wide);
  font-weight: var(--fl-font-weight-bold);
  color: var(--fl-color-text-inverse);
  min-width: var(--fl-width-30); 
  text-align: center;
  margin: 0 var(--fl-space-xs); 
  background-color: var(--fl-btn-bg-color-tertiary);
  text-decoration:none;
  border: none;
}

#footer .error-msg {
  font-size: var(--fl-font-size-caption-xxs);
}

#smsFooter .text-success,
#smsFooter .text-danger {
  display: none;
  margin-bottom: 0;
  font-size: var(--fl-font-size-caption-xs);

}
#smsFooter .text-danger {
  color: var(--fl-color-danger);
}
#smsFooter .text-success {
  color: var(--fl-color-success);
}
#smsFooter a {
  color: var(--fl-color-text-inverse);
  text-decoration: underline;
}

/* ------ END Footer Inputs ----- */

/* ------ Icons ----- */

#footer .social-icons .icon {
  margin: var(--fl-space-sm);
}

/* ------ END Icons ----- */

/* ------ Footer Detail ----- */

#footer .footer-detail {
  border-top: var(--fl-border-width-xl) var(--fl-border-style) var(--fl-color-border-inverse);
  padding-top: var(--fl-space-lg);
  font-size: var(--fl-font-size-caption-xxs);
}

/* ------ END Footer Detail ----- */

/* ---------------------------------
   END FOOTER
--------------------------------- */

/* ---------------------------------
   BREADCRUMBS
--------------------------------- */ 

.breadcrumbs,
.breadcrumb {
  background-color: var(--fl-color-neutral-transparent);
  border-bottom: var(--fl-border-subtle);
  font-size: var(--fl-font-size-caption-sm);
  font-family: var(--fl-font-secondary);
  text-transform: var(--fl-text-uppercase);
  color: var(--fl-color-text-muted);
  letter-spacing: var(--fl-letter-spacing-wide);
  font-weight: var(--fl-font-weight-bold);
}

/* ---------------------------------
   END BREADCRUMBS
--------------------------------- */