/* Global varibles - Product Detail - Swipe colors */
:root {
  --swiper-pagination-color: black;
  --swiper-theme-color: black;
}



html {
  height: 100%;
}





/* ====== GLOBAL TYPE (Fade in nav via Inter) ====== */
html, body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #111;
}
h1,h2,h3,h4 { font-weight: 600; letter-spacing: -0.2px; }
h5,h6 { font-weight: 700; }
body, p, li { font-size: 16px; line-height: 1.45; }

a {color: #196bd5;}

/* This is the main area of the content */
.guts {

  background: white;
  /* box-shadow: 0 1px 16px 0 rgba(0, 0, 0, .1); */
  /* border-color: var(--color-grey-medium); */
  /* border-radius: 4px; */
  /* padding: 40px; */
  margin-top: 10px;
}

a:hover {text-decoration: none; color: #000;}

/* ====== HEADER (desktop) ====== */
.site-header {
  background: #fff;
}

.header-top {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 16px;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Brand text – heavy, uppercase, subtle tracking */
.brand-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  color: #111;
  width: fit-content;
}

/* Search */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search input {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #f4f4f4;
  padding: 0 14px 0 40px; /* space for icon */
  outline: none;
}
.header-search input:focus {
  background: #fff;
  border-color: #cfcfcf;
}
.header-search__icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 16px; color: #777;
}
.header-search__submit {
  position: absolute;
  right: 6px; top: 6px; bottom: 6px;
  width: 0; border: 0; background: transparent; padding: 0; /* invisible button to allow Enter click */
}

/* Utility icons (Wishlist/Profile/Bag) */
.header-util {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  justify-content: space-between;
  width: 168px;
  height: 50px;
}
.header-util__item {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  text-decoration: none;
  color: #111;
  
}
.header-util__item i {
  font-size: 20px;
  line-height: 1;
}
.header-util__item span {
  margin-top: 4px;
  font-size: 12px;
  color: #333;
}

/* Divider between row 1 and row 2 */
.header-divider {
  border-bottom: 1px solid #e0e0e0;

}

/* Header and Navigation Styles */
.site-header {
  background: #fff;
}

.header-top {
  gap: 1rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}


.header-search {
  flex: 1;
  position: relative;
}


/* Bag icon in the upper right utility nav */
.bag_icon svg path {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 3;
  
}
/* Size of the bag icon in the upper right utility nav */
.bag_icon svg {

  width: 30px;
  height: 30px;
}


.header-util__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  height: 100%;
}

.header-util__item i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.header-util__item span {
  font-size: 0.75rem;
}

.header-divider {
  border-bottom: 1px solid #e0e0e0;
}

/* Mobile hamburger button styling */
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .header-top {
    display: flex;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    justify-content: space-between;
  }
  
  .brand-text {
    font-size: 1.25rem;
  }
  
  .header-search {
    display: none; /* Hide search on mobile for now */
  }
  
  .header-util {
    gap: 0;
    margin-left: 40px;
    flex: 0 1 300px;
  }
  
  .header-util__item span {
    display: none; /* Hide text labels on mobile */
  }
  
  .header-util__item i {
    margin-bottom: 0;
  }
  
  /* Mobile menu collapse styling */
  #mainnav-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    top: 2px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  
  #mainnav-items .navbar-nav {
    padding: 1rem;
  }
  
  #mainnav-items .nav-link {
    padding: .3rem 0 0.6rem;
    border-bottom: 1px solid #f0f0f0;
  }
}

/* Desktop Navigation */
@media (min-width: 992px) {
  
  #main-nav .navbar-nav {
    display: flex;
    gap: 4%;
    width: 100%;
  }
  
  #main-nav .nav-link {
    padding: 0.5rem 0;
    color: #333;
  }
  
  #main-nav .nav-link:hover {
    color: #000;
  }
}




/* Nav row: left align your include's nav items */
.nav-row { 
  padding-top: 20px;
  padding-bottom: 20px;
}
#main-nav .navbar-nav { justify-content: flex-start !important; }
#main-nav .nav-link {
  color: #111 !important;
  letter-spacing: .2px;
  font-size: 15px;
  font-weight: 600;
}


/* Keep dropdowns clean */
#main-nav .dropdown-menu {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 10px;
}



/* Profile Dropdown Styling */
.header-util__item.dropdown {
  position: relative;
}

.header-util__item .dropdown-toggle {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.header-util__item .dropdown-toggle::after {
  display: none; /* Hide default Bootstrap arrow */
}

.header-util__item .dropdown-menu {
  margin-top: 0.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px; /* Match your other dropdowns */
  box-shadow: 0 10px 30px rgba(0,0,0,.08); /* Match your nav dropdowns */
  min-width: 180px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Show dropdown on hover */
.header-util__item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-util__item .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #333;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.header-util__item .dropdown-item:hover {
  background-color: #f4f4f4;
  color: #000;
}

.header-util__item .dropdown-divider {
  margin: 0.5rem 0;
  border-color: #e0e0e0;
}

/* This is the dropdown of the Info on the main nav, so last item */
.drop-down-info-only {

  left: -180px;
}

/* This is the dropdown of the Info on the main nav, so last item */
.drop-down-comfort-only {

  left: -90px;
}

/* Add a subtle hover effect to the profile icon itself */
.header-util__item.dropdown:hover .dropdown-toggle i {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* Ensure dropdown stays visible when hovering over it */
.header-util__item.dropdown .dropdown-menu:hover {
  display: block;
}

/* Remove Bootstrap's default show class behavior */
.header-util__item.dropdown .dropdown-menu.show {
  display: block;
}

/* Make dropdown appear on hover - keep profile icon stable */
.header-util__item.dropdown {
  position: relative;
}

.header-util__item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Keep dropdown visible when hovering over it */
.header-util__item.dropdown .dropdown-menu:hover {
  display: block;
}

/* Prevent any size changes on hover for the profile icon specifically */
.header-util__item.dropdown,
.header-util__item.dropdown * {
  transition: none !important;
  transform: none !important;
}


/* Remove the gap between trigger and dropdown */
.header-util__item.dropdown .dropdown-menu {
  margin-top: 0 !important; /* Remove the 0.5rem margin you had */
  padding-top: 0.5rem; /* Add padding inside instead */
}

/* Create an invisible bridge to maintain hover state */
.header-util__item.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 10px; /* Invisible bridge height */
  z-index: 999;
}

/* Ensure dropdown stays on top */
.header-util__item.dropdown .dropdown-menu {
  z-index: 1000;
}

/* Alternative solution if the above doesn't work perfectly: 
   Extend the hover area slightly */
.header-util__item.dropdown:hover::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  z-index: -1;
}

/* from Bulma */
.icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  height: 1.5rem;
  width: 1.5rem;
}


/* The first navigation - the All Produtcs link */
.navbar-nav .nav-first-link {
  padding-left: 0;
}

.main-logo-link {
  width: fit-content;
}

.shop-now-button {
  background: black;
  color: white;
  min-width: 260px;
}

.btn-black {
  background: black;
  color: white;
}

.btn-outline-black {
  background: white;
  color: black !important; /* use important to override link colors for <a> elements */
  border: 1px solid black;
}

.btn-outline-black:hover,
.btn-outline-black:active,
.btn-outline-black:focus {
  background: black;
  color: white !important;
}

.shop-now-button:hover,
.shop-now-button:active,
.shop-now-button:focus,
.btn-black:hover,
.btn-black:active,
.btn-black:focus {
  background: #222;
  color: white;
}

.text-black {
  color: #000 !important;
}

.border-black {
  border: 1px solid black !important;
}

.bg-black {
  background: #000 !important;
}

.overlay {
height: 100%;
width: 100%;
top: 0;
left: 0;
position: fixed;
background: white;
z-index: -1;
}

a.category-badge > span.badge:hover {
  background: #212529 !important;
  color: #fff !important;
}

.btt-button {
  height: 42px;
  width: 42px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: white;
}

.btt-link,
.update-link,
.remove-item {
  cursor: pointer;
}

input[name='q']::placeholder {
  color: #aab7c4;
}

/* ------------------------------- bootstrap toasts */

.message-container {
  position: fixed;
  top: 72px;
  right: 15px;
  z-index: 99999999999;
}

.custom-toast {
  overflow: visible;
}

.toast-capper {
  height: 2px;
}

/* from CSS-tricks.com: https://css-tricks.com/snippets/css/css-triangle/ */
.arrow-up {
  width: 0; 
  height: 0; 
  border-left: 4px solid transparent;
  border-right: 4px solid transparent; 
  border-bottom: 10px solid black;
  position: absolute;
  top: -10px;
  right: 36px;
}

/* Convenience classes - colors copied from Bootstrap */
.arrow-primary {
  border-bottom-color: #007bff !important;
}

.arrow-secondary {
  border-bottom-color: #6c757d !important;
}

.arrow-success {
  border-bottom-color: #28a745 !important;
}

.arrow-danger {
  border-bottom-color: #dc3545 !important;
}

.arrow-warning {
  border-bottom-color: #ffc107 !important;
}

.arrow-info {
  border-bottom-color: #17a2b8 !important;
}

.arrow-light {
  border-bottom-color: #f8f9fa !important;
}

.arrow-dark {
  border-bottom-color: #343a40 !important;
}

.bag-notification-wrapper {
  height: 100px;
  overflow-x: hidden;
  overflow-y: auto;
}

/* -------------------------------- Media Queries */



/* Allauth form formatting */

.allauth-form-inner-content p {
  margin-top: 1.5rem; /* mt-4 */
  color: #6c757d; /* text-secondary */
}

.allauth-form-inner-content input {
  border-color: #000;
  border-radius: 0;
}

.allauth-form-inner-content label:not([for='id_remember']) {
  display: none;
}

.allauth-form-inner-content input::placeholder {
  color: #aab7c4;
}

.allauth-form-inner-content button,
.allauth-form-inner-content input[type='submit'] {
/* btn */
display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #000;
  border: 1px solid #000;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0;

  /* standard bootstrap btn transitions */
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.allauth-form-inner-content button:hover,
.allauth-form-inner-content input[type='submit']:hover {	
color: #fff;
  background-color: #222;
  border-color: #222;
}


/* Product Card Image Consistency */
.card-img-top {
  width: 100%;
  height: 300px; /* Adjust this value as needed */
  object-fit: cover;
  object-position: center;
}

.product-details-container h1 {

  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 400;
}




/* Product Form */

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type="file"] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  opacity: 0;
  cursor: pointer;
}

.custom-checkbox .custom-control-label::before {
  border-radius: 0;
  border-color: #dc3545;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
  background-color: #dc3545;
  border-color: #dc3545;
  border-radius: 0;
}

/* Forms in general, make it so each item is on their own separate row */
.form-group {
  display: flex;
  flex-direction: column;
}


/* Star Rating Styling - Global */
.star-icon {
  color: #000 !important;
}

.star-icon-empty {
  color: #000 !important;
  opacity: 0.3;
}

/* Override the yellow/warning color for stars */
.fa-star.text-warning {
  color: #000 !important;
}



/* Star Rating Widget */
.star-rating {
  font-size: 1.5rem;
  cursor: pointer;
  user-select: none;
}

.star-rating .star-select {
  cursor: pointer;
  transition: transform 0.2s;
  color: #000 !important;
}

.star-rating .star-select:hover {
  transform: scale(1.2);
}

.star-rating .star-select.far {
  color: #000 !important;
  opacity: 0.3;
}


/* Custom Pointy Star Styles */
.star-icon-pointy {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
}

/* Product detail page - average rating (medium) */
.writing-review .star-icon-pointy {
  width: 24px;
  height: 24px;
}

.star-icon-pointy svg {
  width: 100%;
  height: 100%;
  fill: #000;
}

.star-icon-pointy.empty svg {
  fill: #000;
  opacity: 0.3;
}

/* For the rating widget */
.star-rating .star-icon-pointy {
  cursor: pointer;
  transition: transform 0.2s;
}

.star-rating .star-icon-pointy:hover {
  transform: scale(1.2);
}

#rating-text {
  font-weight: 500;
  margin-left: 10px;
}


/* Favorite Heart Buttons */
.btn-favorite {
  background: white;
  border: none;
  width: 35px;
  height: 35px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
}


.btn-favorite:focus {
  outline: none;
  box-shadow: none;
}

/* Heart icon styling */
.btn-favorite i {
  font-size: 22px;
  color: #000;
  transition: all 0.3s ease;
  background: #ffffffb0;
  border-radius: 50px;
  padding: 5px;
}

/* Remove any background color changes */
.btn-favorite,
.btn-favorite:hover,
.btn-favorite.favorited,
.btn-favorite.favorited:hover {
  background-color: transparent !important;
  border: none !important;
}

/* Ensure the heart is always black */
.btn-favorite i,
.btn-favorite:hover i,
.btn-favorite.favorited i,
.btn-favorite.favorited:hover i {
  color: #000 !important;
}


/* Product Detail Page - Breadcrumb Styling */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb li {
  font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #6c757d;
  padding: 0 0.5rem;
}

.breadcrumb-item a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #000;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #000;
  font-weight: 500;
}

/* Product Detail Favorite Button */
.btn-favorite-outline {
  background: white;
  border: 1px solid #000;
  width: 50px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 0; /* Square like the add to bag button */
}

.btn-favorite-outline:hover {
  background-color: #f8f9fa;
}

.btn-favorite-outline:focus {
  outline: none;
  box-shadow: none;
}

/* Heart icon styling for product detail */
.btn-favorite-outline i {
  font-size: 20px;
  color: #000;
  transition: all 0.3s ease;
}


/* Ensure consistent height with add to bag button */
.btn-black.flex-grow-1 {
  height: 48px;
}

/* Gap utility for flexbox (if Bootstrap 4 doesn't have it) */
.gap-2 {
  gap: 0.5rem !important;
}

/* Wishlist remove button */
.btn-wishlist-remove {
  transition: all 0.3s ease;
}

.btn-wishlist-remove:hover {
  background-color: #dc3545;
  color: white;
  transform: translateY(-2px);
}

/* ====== FULL-WIDTH VIDEO HERO (Thule-style) ====== */

/* full-bleed even if placed inside a .container */
.hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background: #000;
}

/* soft dark gradient so white text pops near the bottom */
.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 6vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
}

/* text */
.hero__eyebrow {
  margin: 0 0 6px;
  font-weight: 600;
  opacity: .9;
}
.hero__title {
  margin: 0 0 14px;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(28px, 4.6vw, 56px);
}

/* CTA button (white outline, subtle hover) */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid #fff;
  color: #fff !important;
  text-decoration: none;
  background: transparent;
  font-weight: 700;
  max-width: 300px;
}
.btn-hero:hover { background: rgba(255,255,255,.12); }


/* Custom Pagination Styling - Override Bootstrap */
.pagination .page-item .page-link.btn-black {
  background: #000 !important;
  color: white !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  margin: 0 2px;
  padding: 0.375rem 0.75rem;
}

.pagination .page-item .page-link.btn-outline-black {
  background: white !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  margin: 0 2px;
  padding: 0.375rem 0.75rem;
}

.pagination .page-item .page-link.btn-outline-black:hover {
  background: #000 !important;
  color: white !important;
  border: 1px solid #000 !important;
}

.pagination .page-link:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* Remove default Bootstrap pagination styling */
.pagination .page-item .page-link {
  border-radius: 0 !important;
  border: none !important;
  color: inherit !important;
  background-color: inherit !important;
}

.pagination .page-item.active .page-link {
  z-index: 1 !important;
}


footer {
margin-top: 110px;
}


footer .footer-holder {
gap: 40px;
}


footer .footer-header {

  font-size: 20px;
}

footer a {
  font-size: 14px;
  color: #a3a3a3;
}

footer .copyright {font-size: 14px;}

footer .not-special {
  color: white;
}

footer a:hover {
  color: white;
}

footer .grid-container-category {

  display: grid;
  grid-template-columns: auto auto auto auto;
}

footer .grid-container-info {

  display: grid;
  grid-template-columns: auto auto;
}


footer .brand-text {

  color: white;
  display: block;
  margin: 0 0 20px;
}

footer .social-media-links {

  display: flex;
  gap: 40px;
}

footer .social-media-links a {

  font-size: 17px;
}


.newsletter-signup { 

  gap: 20px;
  flex-wrap: wrap;
}

.newsletter-signup h5 {
  min-width: 140px;
}


.newsletter-signup p {
  max-width: 150px;
}

.newsletter-signup input {
  border: 0;
  background-color: #2a2a2a;
  color: #a3a3a3;
  border-bottom: 1px solid #a3a3a3;
}

.newsletter-signup input:focus {
  
  background-color: #414141;
  color: white;
}

.newsletter-signup .btn-light {
  border: 0;
  background-color: #535353;
  color: #e1e1e1;
}



/* mobile tweaks */
@media (max-width: 767px) {
  .hero--video { min-height: 46vh; }
  .hero__media  { height: 46vh; }

  
}



@media (min-width: 1200px) {
  .hero__overlay {

    padding-left: 15%;
  }


  
}

/* pad the top a bit when navbar is collapsed on mobile */
@media (max-width: 991px) {
  .header-container {
      padding-top: 40px;
  }

  .bag_icon {

    position: relative;
  }

  .bag-order-count {
    display: block;
    position: absolute;
    background: black;
    color: white !important;
    padding: 5px;
    border-radius: 100px;
    width: 15px;
    height: 15px;
    top: 9px;
    right: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  body {
      height: calc(100vh - 116px);
  }
  .nav-row {
    padding: 0;
  }
  .navbar-nav {
    display: flex;
    gap: 8px;
  }

  .sort-select-wrapper {width: 100%;
  }

  .display-4.logo-font.text-black {
      font-size: 2rem;
  }

  .nav-link {
      padding: 0.15rem;
  }

  .nav-link i.fa-lg {
      font-size: 1rem;
  }

  .navbar-toggler {
      padding: .6rem 0;
      font-size: 1rem;
  }

  #delivery-banner h4 {
      font-size: .9rem;
  }

  .btn.btn-outline-black.rounded-0,
  .btn.btn-black.rounded-0 {
      padding: .375rem .375rem;
  }

  .btn.btn-outline-black.rounded-0.btn-lg,
  .btn.btn-black.rounded-0.btn-lg {
      padding: .375rem .375rem;
      font-size: .75rem;
  }

  .increment-qty, .decrement-qty {
      padding: .25rem .5rem !important;
  }

  footer .grid-container-info {

    display: grid;
    grid-template-columns: auto auto auto auto;
  }

  

  .footer-holder div:nth-child(1) {

    order: 1;
  }

  .footer-holder div:nth-child(2) {

    order: 3;
  }

  .footer-holder div:nth-child(3) {

    order: 2;
  }

  .footer-holder div:nth-child(4) {

    order: 6;
  }

  .footer-holder div:nth-child(5) {

    order: 4;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {

  footer .grid-container-info {

    display: grid;
    grid-template-columns: auto auto;
  }



  .footer-holder div:nth-child(1) {

    order: 1;
  }

  .footer-holder div:nth-child(2) {

    order: 4;
  }

  .footer-holder div:nth-child(3) {

    order: 2;
  }

  .footer-holder div:nth-child(4) {

    order: 6;
  }

  .footer-holder div:nth-child(5) {

    order: 3;
  }
}

/* === Nav hover: simple fade-in underline + color fade === */
@media (min-width: 992px) {

  /* fixed top navbar only on medium and up */
  .fixed-top-desktop-only {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
  }

  .header-container {
      padding-top: 70px;
  }
  
  #main-nav .navbar-nav > .nav-item > .nav-link {
    position: relative;
    color: rgba(17,17,17,.85) !important;
    text-decoration: none;
    transition: color .2s ease;
  }

  /* underline sits in place, only opacity fades */
  #main-nav .navbar-nav > .nav-item > .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;          /* adjust to sit nicely above your divider */
    width: 100%;
    height: 1px;
    background: #111;
    opacity: 0;            /* invisible by default */
    transition: opacity .5s ease;  /* <- only fade */
    pointer-events: none;
  }

  /* hover/focus: color + fade-in underline */
  #main-nav .navbar-nav > .nav-item > .nav-link:hover,
  #main-nav .navbar-nav > .nav-item > .nav-link:focus {
    color: #000 !important;
  }
  #main-nav .navbar-nav > .nav-item > .nav-link:hover::after,
  #main-nav .navbar-nav > .nav-item > .nav-link:focus::after {
    opacity: 1;
  }

  /* keep underline visible for active/open items */
  #main-nav .navbar-nav > .nav-item.show > .nav-link,
  #main-nav .navbar-nav > .nav-item > .nav-link.active {
    color: #000 !important;
  }
  #main-nav .navbar-nav > .nav-item.show > .nav-link::after,
  #main-nav .navbar-nav > .nav-item > .nav-link.active::after {
    opacity: 1;
  }

  /* dropdown items: just a subtle color fade */
  #main-nav .dropdown-menu .dropdown-item {
    transition: color .5s ease, background-color .18s ease;
  }
  #main-nav .dropdown-menu .dropdown-item:hover {
    color: #000;
    background-color: #f6f6f6;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  #main-nav .navbar-nav > .nav-item > .nav-link,
  #main-nav .navbar-nav > .nav-item > .nav-link::after,
  #main-nav .dropdown-menu .dropdown-item {
    transition: none;
  }
}

@media (min-width: 1600px) {
  .hero--video { min-height: 72vh; }
  .hero__media  { height: 72vh; }
}


@media (max-width: 580px) {
  footer .grid-container-category {

    display: grid;
    grid-template-columns: auto auto !important;
  }

  footer .grid-container-info {

    display: grid;
    grid-template-columns: auto auto;
  }

}
