/* ========== MAYHAWK THEME CSS CODE ===== */


/* ===============================
   0. DEFAULT WP BLOCK SETTINGS
   =============================== */

/* Main column width */
.wp-block { max-width: 100%; }
.wp-block-group { max-width: 100%; }
/* Width of "wide" blocks */
.wp-block[data-align="wide"] { max-width: 100%; }
.wp-block-group[data-align="wide"] { max-width: 100%; }
/* Width of "full-width" blocks */
.wp-block[data-align="full"] { max-width: none; }
.wp-block-group[data-align="full"] { max-width: none; }


/* ===============================
   1. GLOBAL SETTINGS
   =============================== */

html, body {
  overflow-x: hidden !important;
}

#Environmental {
  scroll-margin-top: 170px;
}

#Sustainability,
#Recycling,
#Material_Impact,
#Carbon_Neutral,
#Progress_Report {
  scroll-margin-top: 110px;
}

/* ===============================
   2. MODAL POP-UP STYLES
   =============================== */

.uagb-modal-popup.uagb-modal-type-right-off-canvas.active .uagb-modal-popup-close:not(.window-top-left) {
  margin: 12px -52px !important;
}

.uagb-modal-popup.uagb-modal-type-right-off-canvas .uagb-modal-popup-wrap {
  margin-right: 1px;
  margin-left: 1px;
}

.uagb-modal-button-link.uagb-modal-trigger {
  outline: none;
}

/* ===============================
   3. SHOPPING BAG / CART STYLES
   =============================== */

.wc-block-components-product-metadata {
  display: none;
}

.wc-block-mini-cart__button:hover:not([disabled]) {
  opacity: 1 !important;
  cursor: pointer !important;
}

.wc-block-mini-cart__badge {
  border: 1px solid #000;
  margin-top: 7px !important;
}

.store-notice-banner {
  height: 43px !important;
}

/* ===============================
   4. GLOBAL NAVIGATION HEADER
   =============================== */

.global-nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 43px !important;
}

.nav-title,
.nav-title-last {
  text-align: center !important;
  text-decoration: none !important;
}

.nav-title {
  margin-left: 9px;
}

.nav-title-last {
  margin-right: -15px !important;
  margin-left: -7px !important;
  border-left: 1px solid !important;
  padding-left: 15px !important;
}

@media only screen and (max-width: 783px) {
  .nav-title {
    margin-left: -6px !important;
  }
  .nav-title-last {
    padding-left: 10px !important;
  }
}

.product-nav {
  height: 42px;
  width: 100%;
  position: fixed;
  z-index: 80;
}

.secondary-nav,
.secondary-env-nav {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 8;
  height: 43px !important;
}

/* ===============================
   5. MOBILE NAVIGATION MENU
   =============================== */

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 50px !important;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
  z-index: 100 !important;
}

.is-menu-open .wp-block-navigation__responsive-close,
.is-menu-open .wp-block-navigation__responsive-container-content,
.is-menu-open {
  float: left;
  text-align: left !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list {
  text-align: left !important;
  margin-left: 10px !important;
  justify-content: flex-start !important;
  align-items: flex-start;
  outline: none;
  box-shadow: none;
}

.wp-block-navigation__responsive-container.is-menu-open,
.wp-block-navigation__responsive-container.is-menu-open a {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111 !important;
  text-align: start !important;
  text-decoration: none !important;
  border: none !important;
  outline: none;
  box-shadow: none;
}

.wp-block-navigation__responsive-container.is-menu-open a:visited {
  text-decoration: none !important;
}

/* ===============================
   6. PRODUCT PAGE STYLES
   =============================== */

.out-of-stock {
  max-width: 120px;
  border: 2px solid red;
  border-radius: 17px;
  background: #0066cc;
  color: #fff;
  padding: 8px 13px;
  text-align: center;
  font-size: 13px !important;
}

ul.tabs.wc-tabs,
.woocommerce-tabs h2,
.wc-block-add-to-cart-form .quantity,
.woocommerce div.product form.cart div.quantity .qty {
  display: none;
}

.wc-block-product-gallery-large-image__image-element {
  padding: 0 !important;
}

.wc-block-product-gallery-thumbnails .wc-block-product-gallery-thumbnails__thumbnail,
.wc-block-product-gallery-thumbnails .wc-block-product-gallery-thumbnails__thumbnail__overlay,
.wc-block-product-gallery-thumbnails img {
  border-radius: 7px;
}

.single_add_to_cart_button,
.woocommerce div.product form.cart button[name=add-to-cart] {
  background-color: #0071E3;
  color: #ffffff;
  border: 2px solid #0071E3;
  border-radius: 11px !important;
  padding: 10px 80px !important;
  min-width: 305px !important;
  width: 100% !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  height: 50px !important;
  letter-spacing: 0.02em !important;
}

.top-product-block-desktop {
  display: block;
}

.top-product-block-mobile {
  display: none;
}

@media only screen and (max-width: 768px) {
  .top-product-block-desktop {
    display: none;
  }
  .top-product-block-mobile {
    display: flex;
  }
  .wc-block-product-gallery[data-thumbnails-position=bottom] .wc-block-product-gallery-thumbnails {
    width: 97%;
  }
}

/* ===============================
   7. CONTACT FORM STYLES
   =============================== */

.wpcf7 input[type="email"],
.wpcf7 input[type="text"] {
  background: #fff;
  color: #000;
  margin-top: 5px;
  width: 97%;
  height: 30px;
  font-size: 17px;
  padding: 5px;
  border: 1px solid #777;
}

.wpcf7 textarea {
  margin-top: 10px;
  background: #fff;
  color: #000;
  width: 97%;
  height: 220px;
  padding: 5px;
  font-size: 17px;
}

.wpcf7-quiz-label {
  margin-top: 10px;
  margin-right: -10px;
  background-color: #f5f5f7;
  color: #0071E3;
  width: 97%;
  height: 30px;
  padding: 5px;
  font-size: 19px;
}

.wpcf7-submit {
  margin-top: 5px;
  background-color: #0071E3;
  border: 2px solid #0071E3;
  border-radius: 11px;
  width: 50%;
  height: 45px;
  font-size: 15px;
  color: #ffffff;
  font-weight: 400;
}

/* ===============================
   8. ICON NAVIGATION SLIDER
   =============================== */

.icon-outer-navigation {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: visible;
}

.icon-inner-navigation {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.icon-inner-navigation::-webkit-scrollbar {
  display: none;
}

.icon-nav-track {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  transition: justify-content 0.25s ease;
}

.icon-indv-slide {
  flex: 0 0 90px;
  scroll-snap-align: start;
  text-align: center;
  padding: 2px 7px;
}

.icon-indv-slide img {
  width: 90px;
  display: block;
  cursor: pointer;
}

.icon-label-text {
  margin-top: 9px;
  font-size: 12px !important;
  line-height: 1;
  font-weight: 400;
  color: #333;
}

.icon-nav-right-arrow {
  position: absolute;
  top: 42%;
  right: 0;
  transform: translate(50%, -50%);
  width: 19px;
  height: 113px;
  line-height: 113px;
  background: #fff;
  border-left: 1px solid #333;
  color: #333;
  font-size: 32px;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.icon-nav-right-arrow:hover {
  background: #f3f3f3;
}

.icon-nav-right-arrow.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===============================
   9. ANIMATIONS - FADE IN UP - GLOW TEXT
   =============================== */

.fade-in-up {
  opacity: 0 !important;
  transform: translateY(130px) !important;
  transition: opacity 1s ease-out, transform 1s ease-out !important;
}

.fade-in-up.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@keyframes pulseThenGlowSmooth {
  0% {
    text-shadow: 0 0 5px rgba(255,255,255,0.6), 0 0 10px rgba(255,255,255,0.4),
                 0 0 15px rgba(255,255,255,0.3), 0 0 20px rgba(255,255,255,0.2),
                 0 0 25px rgba(255,255,255,0.15);
    color: #d0e7ff;
  }
  30% {
    text-shadow: 0 0 8px rgba(255,255,255,0.75), 0 0 16px rgba(255,255,255,0.55),
                 0 0 24px rgba(255,255,255,0.4), 0 0 32px rgba(255,255,255,0.3),
                 0 0 40px rgba(255,255,255,0.2);
    color: #e8f4ff;
  }
  60%, 100% {
    text-shadow: 0 0 5px rgba(255,255,255,0.35), 0 0 10px rgba(255,255,255,0.25),
                 0 0 15px rgba(255,255,255,0.15), 0 0 20px rgba(255,255,255,0.10),
                 0 0 25px rgba(255,255,255,0.07), 0 0 30px rgba(255,215,0,0.10),
                 0 0 40px rgba(255,215,0,0.07), 0 0 50px rgba(255,215,0,0.05);
    color: #ffffff;
  }
}

.pulse-glow-box {
  animation: pulseThenGlowSmooth 2s ease-in-out forwards;
  animation-delay: 1s;
  font-family: 'Inter', sans-serif;
  will-change: text-shadow, color;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===============================
   10. VIDEO BANNERS - STATIC AND FLEXIBLE (SHRINK ON SCROLL)
   =============================== */

/* ==== STATIC VIDEO BANNER ==== */

.static-hero-video {
  position: relative;
  width: 100%;
  height: clamp(530px, 80vh, 830px);
  transition: height 0.4s ease;
  overflow: hidden;
}

.static-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Shift focus of Video down on mobile devices */
#static-video-insert {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
@media (max-width: 480px) {
  #static-video-insert {
    object-position: center 90% !important; /* alter this for positioning on mobile */}
}

.static-video-controls {
  position: absolute;
  top: 3rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.static-video-controls button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  background-color: rgba(255, 255, 255, 0.85); /* white semi-transparent */
  border-radius: 50%;
  padding: 10px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.static-video-controls button:hover {
  background-color: rgba(230, 230, 230, 0.9); /* greyish dip */
}

.static-video-controls svg {
  fill: black; /* ensures black icon */
  width: 17px;
  height: 17px;
  transition: fill 0.3s ease;
}

.static-video-controls svg:hover {
   fill: black; /* stays black, avoids accidental fade */
}

/* ==== STATIC VIDEO BANNER TEXT BOX ==== */

.static-text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white;
  width: 90%;
  max-width: 1100px;
  padding: 0 1rem;
  opacity: 0;
  animation: fadeInHero 1.8s ease-in-out 0.7s forwards;
}

.static-text-box h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: white;
}

.static-text-box p {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.7;
  margin: 0 auto;
  color: white;
  max-width: 900px;
}

/* ======= FLEXIBLE VIDEO BANNER ======== */

.flexible-hero-video {
  position: relative;
  width: 100%;
  height: 95vh;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center top;
  color: white;
  flex-direction: column;
  text-align: center;
  z-index: 0;
  opacity: 0;
  animation: fadeInHero 1.7s ease-in-out 0.7s forwards;
}
@keyframes fadeInHero { to { opacity: 1; } }

.flexible-video-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 0;
}
.flexible-video-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.25) 20%, rgba(0, 0, 0, 0.1) 35%, rgba(0, 0, 0, 0) 50%);
  z-index: 1;
  pointer-events: none;
}
.flexible-video-insert {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.flexible-video-controls {
  position: absolute;
  top: 3rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.flexible-video-controls button {
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  padding: 10px;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  will-change: background-color;
  transition: background-color 0.3s ease;
}
.flexible-video-controls button:hover {
  background-color: rgba(230, 230, 230, 0.9);
}
.flexible-video-controls svg {
  fill: black;
  width: 17px;
  height: 17px;
  transition: none;
}
.flexible-hero-video.shrunk {
  transform: scale(0.87);
  border-radius: 20px;
}
.flexible-text-box {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  z-index: 1;
  text-align: left;
  color: white;
  max-width: 90%;
}
.flexible-text-box h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 600;
  margin: 0;
  color: white;
}
.flexible-text-box p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  margin: 0;
  color: white;
}
@media (max-width: 1024px) {
  .flexible-hero-video { height: 90vh; }
}
@media (max-width: 768px) {
  .flexible-hero-video { height: 87vh; }
}
@media (max-width: 480px) {
  .flexible-hero-video { height: 87vh; }
  .flexible-text-box { left: 1.7rem; bottom: 3rem; }
  .flexible-text-box h1 {
    font-size: clamp(2rem, 7vw, 2.3rem);
    line-height: 1.1;
    color: white !important;
  }
  .flexible-text-box p { display: none; }
}

/* === FIXED NAV BARS === */

.global-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 90 !important;
}

.secondary-nav,
.secondary-env-nav {
  position: fixed !important;
  top: 43px !important;
  left: 0;
  right: 0;
  z-index: 80 !important;
}

.product-nav {
  position: fixed !important;
  top: 45px !important;
  left: 0;
  right: 0;
  z-index: 80 !important;
}

/* Slider Container */
.info-card-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
}


