/*
 * Bunsen Homepage v2
 * Colours via Elementor global CSS vars.
 */

/* ==========================================
   CSS variables
   ========================================== */

:root {
  --bunsen-tabs-h:      70px;  /* desktop tabs nav height */
  --bunsen-header-h:    56px;  /* mobile fixed header height */
  --bunsen-footer-h:    50px;  /* footer height */
  --bunsen-title-h:    50px;  /* carousel title min-height */
  --bunsen-dots-h:      40px;  /* carousel dots height */
}


/* ==========================================
   Desktop tabs nav
   ========================================== */

.bunsen-tabs-nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: var(--bunsen-tabs-h);
  background: var(--e-global-color-92ddbd1);
  position: sticky;
  top: 0;
  z-index: 100;
}

@media (min-width: 1025px) {
  .bunsen-tabs-nav { display: flex; align-items: stretch; }
}

.bunsen-tabs-logo {
  display: flex;
  width: 140px !important;
  height: auto;
  flex-shrink: 0;
  flex-grow: 1;
}

.bunsen-tabs-logo img {
  width: 140px;
  height: auto;
  display: block;
}

.bunsen-tabs-list {
  display: flex;
  align-items: stretch;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bunsen-tab {
  font-family: var(--e-global-typography-text-font-family, sans-serif);
  color: var(--e-global-color-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 4px solid transparent;
  margin-top: 4px;
  transition: border-color 0.2s ease;
  white-space: nowrap;
  user-select: none;
  align-self: stretch;
}

.bunsen-tab:hover {
  border-bottom-color: var(--e-global-color-secondary);
}

.bunsen-tab.is-active {
  border-bottom-color: var(--e-global-color-accent);
  text-shadow: 0 0 1px currentColor;
}

/* ==========================================
   Desktop sections
   Content height: 100vh - tabs nav - footer
   ========================================== */

.bunsen-sections-wrap {
  flex: 1;
}

@media (min-width: 1025px) {
  #scroll {
    min-height: calc(100vh - var(--bunsen-footer-h));
  }

  .bunsen-sections-wrap {
    max-height: calc(100vh - var(--bunsen-tabs-h) - var(--bunsen-footer-h));
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
	display: flex;
	flex-direction: column;
	  justify-content: safe center;
  }

  .bunsen-sections-wrap::-webkit-scrollbar {
    display: none;
  }
}

/* ==========================================
   Mobile carousel
   ========================================== */

.bunsen-mobile-nav {
  display: flex;
  flex-direction: column;
  background: var(--e-global-color-ba69821);
  width: 100%;
  overflow: hidden;
  margin-top: 0;
}

.bunsen-carousel-title {
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-weight: var(--e-global-typography-primary-font-weight);
  font-size: 20px;
  color: var(--e-global-color-primary);
  text-align: center;
  padding: 20px 20px 0;
  min-height: var(--bunsen-title-h);
  flex-shrink: 0;
  position: sticky;
  top: calc(-1 * var(--bunsen-header-h));
  z-index: 10;
  background: var(--e-global-color-ba69821);
}

.bunsen-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 24px 16px;
  gap: 6px;
  width: 100%;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--bunsen-title-h) - var(--bunsen-header-h));
  z-index: 10;
  background: var(--e-global-color-ba69821);
}

.bunsen-carousel-dots .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--e-global-color-primary);
  opacity: 0.3;
  border-radius: 50%;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.bunsen-carousel-dots .swiper-pagination-bullet-active {
  background: var(--e-global-color-primary);
  opacity: 1;
  transform: scale(1.4);
}

.bunsen-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
  height: calc(100vh - var(--bunsen-header-h) - var(--bunsen-title-h) - var(--bunsen-dots-h) - var(--bunsen-footer-h));
  flex-shrink: 0;
}

.bunsen-carousel .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
}

.bunsen-carousel .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: safe center;
  width: 100% !important;
  flex-shrink: 0;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}



.bunsen-carousel .swiper-slide::-webkit-scrollbar {
  display: none;               /* Chrome/Safari */
}

/* ==========================================
   Mobile header (fixed, over content)
   ========================================== */

.bunsen-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: var(--bunsen-header-h);
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.2s ease;
}

.bunsen-mobile-header.has-bg {
  background: var(--e-global-color-92ddbd1);
}

@media (min-width: 1025px) {
  .bunsen-mobile-header { display: none; }
}

.bunsen-mobile-logo {
  display: block;
  width: 28px;
  height: auto;
  flex-shrink: 0;
}

.bunsen-mobile-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hamburger */
.bunsen-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 28px;
  height: 28px;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 0 !important;
  gap: 5px;
}

.bunsen-hamburger:hover,
.bunsen-hamburger:focus,
.bunsen-hamburger:active {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none;
}

.bunsen-hamburger span {
  display: block;
  height: 2px;
  background: var(--e-global-color-secondary);
  border-radius: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.bunsen-hamburger span:nth-child(1) { width: 24px; }
.bunsen-hamburger span:nth-child(2) { width: 28px; }
.bunsen-hamburger span:nth-child(3) { width: 20px; }

.bunsen-hamburger.is-active span {
  width: 28px;
}

.bunsen-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bunsen-hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.bunsen-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================
   Off-canvas
   ========================================== */

.bunsen-offcanvas {
  position: fixed;
  top: var(--bunsen-header-h);
  right: 0;
  bottom: 0;
  width: 100%;
  background: var(--e-global-color-92ddbd1);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.bunsen-offcanvas.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1025px) {
  .bunsen-offcanvas { display: none; }
}

.bunsen-offcanvas-nav {
  list-style: none;
  margin: 0;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}

.bunsen-offcanvas-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.bunsen-offcanvas-nav li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }

.bunsen-offcanvas-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
    font-family: var(--e-global-typography-text-font-family, sans-serif);
  font-size: 18px;
  text-decoration: none !important;
  color: var(--e-global-color-secondary);
  padding: 18px 20px;
  transition: color 0.2s ease;
}

.bunsen-offcanvas-nav a:hover { 
  color: var(--e-global-color-accent); 
}

.bunsen-menu-chevron {
  width: 10px;
  height: auto; 
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.bunsen-offcanvas-nav a:hover .bunsen-menu-chevron {
  transform: translateX(3px);
}

.bunsen-offcanvas-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: auto;
  padding: 32px 20px;
}

.bunsen-offcanvas-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--e-global-color-secondary);
  transition: color 0.2s ease;
}

.bunsen-offcanvas-social-icon:hover {
  color: var(--e-global-color-accent);
}

.bunsen-offcanvas-social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ==========================================
   Mobile: off-canvas open locks scroll
   ========================================== */

body.offcanvas-open { overflow: hidden; }

/* ==========================================
   SVG logos: white
   ========================================== */

.bunsen-tabs-logo img,
.bunsen-mobile-logo img {
  filter: brightness(0) invert(1);
}

/* ==========================================
   Shortcode widget: full width
   ========================================== */

.elementor-widget-shortcode,
.elementor-widget-shortcode .elementor-shortcode {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  #scroll {
    scroll-margin-top: 0;
  }

  .bunsen-mobile-nav {
    min-height: calc(100vh - var(--bunsen-header-h) - var(--bunsen-footer-h));
  }
}

/* ==========================================
   Hide Hello Elementor site header
   (nav handled by bunsen-tabs-nav / off-canvas)
   ========================================== */

#site-header {
  display: none !important;
}




/* ==========================================
   Product layout fixes (mobile/tablet)
   ========================================== */

@media (max-width: 1024px) {

  /* Centre product content and labels */
  .product-content,
  .product-content .variations .label {
    text-align: center !important;
  }

  /* Stack qty + add-to-cart button full width */
  .product-content .e-atc-qty-button-holder {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .product-content .single_add_to_cart_button,
  .product-content .quantity {
    width: 100%;
  }

  /* Hide product title and image (shown elsewhere in layout) */
  .product-content .title,
  .product-image {
    display: none !important;
  }
}
