/* ==========================================================================
   Bangvapes Single Product UX Optimization:
   1. Variation Swatches (FLAVORS & STRENGTH) — Multi-Color Dots, Search & Collapsible Grid
   2. Mobile Sticky Bottom Shopping Bar (.mobile-sticky-add-to-cart)
   3. Mobile Slide-Up Variation Bottom-Sheet Drawer (body.drawer-open)
   ========================================================================== */

/* 1. Prevent Flex/Grid Intrinsic Width Blowout & Hide Redundant Native Table */
html:has(body.single-product),
body.single-product {
  max-width: 100% !important;
  overflow-x: clip !important;
}

body.single-product #brxe-twtejv,
body.single-product #brxe-ubuecu,
body.single-product #brxe-vibyqq,
body.single-product #brxe-dfzkhn,
body.single-product #brxe-fbjsgg,
body.single-product #brxe-kgyrff,
body.single-product #brxe-jbimkc,
body.single-product form.cart {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.variations_form select,
.variations_form table.variations,
.variations_form .reset_variations {
  display: none !important;
}

/* 2. Swatch Group Container & Header Readout */
#brxe-fbjsgg .custom-swatches-group,
.variations_form .custom-swatches-group {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  margin-bottom: 22px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#brxe-fbjsgg .custom-swatches-group .swatch-label,
.variations_form .custom-swatches-group .swatch-label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #a1a1aa !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.bang-swatch-label-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.bang-swatch-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.bang-swatch-selected-val {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #17ef97;
  min-width: 0;
  flex: 1 1 0%;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.bang-swatch-selected-val.is-placeholder {
  color: #71717a;
  font-weight: 500;
}

/* 3. Flavor Search Box (.bang-swatch-search-wrapper) */
.bang-swatch-search-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 2px;
}

.bang-swatch-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: #71717a;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bang-swatch-search-input {
  width: 100% !important;
  height: 38px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  padding: 0 34px 0 36px !important;
  color: #f4f4f5 !important;
  font-size: 13px !important;
  font-family: inherit !important;
  outline: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.bang-swatch-search-input::placeholder {
  color: #71717a !important;
}

.bang-swatch-search-input:focus {
  border-color: #17ef97 !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 0 3px rgba(23, 239, 151, 0.12) !important;
}

.bang-swatch-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
  font-size: 14px;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.bang-swatch-search-clear.is-visible {
  display: inline-flex;
}

.bang-swatch-search-clear:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* 4. Swatch Options Grid & Buttons */
#brxe-fbjsgg .custom-swatches-group .swatch-options,
.variations_form .custom-swatches-group .swatch-options {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  min-height: 0 !important;
  width: 100% !important;
}

/* Flavor Swatches: Clean 2-column grid & pure-CSS 12-item pre-collapse on desktop (Zero CLS) */
@media (min-width: 768px) {
  #brxe-fbjsgg .custom-swatches-group[data-for*="lavor"] .swatch-options,
  .variations_form .custom-swatches-group[data-for*="lavor"] .swatch-options,
  #brxe-fbjsgg .custom-swatches-group.is-long-flavors .swatch-options,
  .variations_form .custom-swatches-group.is-long-flavors .swatch-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  #brxe-fbjsgg .custom-swatches-group[data-for*="lavor"]:not(.is-expanded):not(.is-searching) .swatch-btn:nth-child(n+13):not(.active),
  .variations_form .custom-swatches-group[data-for*="lavor"]:not(.is-expanded):not(.is-searching) .swatch-btn:nth-child(n+13):not(.active) {
    display: none !important;
  }
}

#brxe-fbjsgg .custom-swatches-group .swatch-btn,
.variations_form .custom-swatches-group .swatch-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #e4e4e7 !important;
  padding: 9px 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  user-select: none !important;
}

#brxe-fbjsgg .custom-swatches-group.is-long-flavors .swatch-btn,
.variations_form .custom-swatches-group.is-long-flavors .swatch-btn {
  width: 100% !important;
  padding: 9px 12px !important;
  font-size: 12.5px !important;
}

/* Standard / Strength Pills */
#brxe-fbjsgg .custom-swatches-group .swatch-btn.standard,
.variations_form .custom-swatches-group .swatch-btn.standard {
  justify-content: center !important;
  text-align: center !important;
  min-width: 72px !important;
  padding: 8px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  width: auto !important;
}

/* Glowing Multi-Color Flavor Dot */
#brxe-fbjsgg .custom-swatches-group .swatch-dot,
.variations_form .custom-swatches-group .swatch-dot {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  border-radius: 50% !important;
  margin: 0 !important;
  background: var(--swatch-bg, #17ef97) !important;
  box-shadow: 0 0 6px var(--swatch-color, rgba(23, 239, 151, 0.5)), inset 0 0 0 1px rgba(255, 255, 255, 0.25) !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#brxe-fbjsgg .custom-swatches-group .swatch-text,
.variations_form .custom-swatches-group .swatch-text {
  color: inherit !important;
  line-height: 1.35 !important;
}

/* Hover State (Dark-themed, no harsh white flash — only for unselected buttons) */
#brxe-fbjsgg .custom-swatches-group .swatch-btn:hover:not(.disabled):not(.active),
.variations_form .custom-swatches-group .swatch-btn:hover:not(.disabled):not(.active) {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

#brxe-fbjsgg .custom-swatches-group .swatch-btn:hover:not(.disabled):not(.active) .swatch-text,
.variations_form .custom-swatches-group .swatch-btn:hover:not(.disabled):not(.active) .swatch-text {
  color: #ffffff !important;
}

#brxe-fbjsgg .custom-swatches-group .swatch-btn:hover:not(.disabled):not(.active) .swatch-dot,
.variations_form .custom-swatches-group .swatch-btn:hover:not(.disabled):not(.active) .swatch-dot {
  transform: scale(1.12) !important;
  box-shadow: 0 0 10px var(--swatch-color, #17ef97) !important;
}

/* Active State for Flavor Swatches (Always keeps flavor-colored border even when hovered/tapped) */
#brxe-fbjsgg .custom-swatches-group .swatch-btn.active:not(.standard),
#brxe-fbjsgg .custom-swatches-group .swatch-btn.active:hover:not(.disabled):not(.standard),
.variations_form .custom-swatches-group .swatch-btn.active:not(.standard),
.variations_form .custom-swatches-group .swatch-btn.active:hover:not(.disabled):not(.standard) {
  background: rgba(23, 239, 151, 0.14) !important;
  background: color-mix(in srgb, var(--swatch-color, #17ef97) 18%, #18181b) !important;
  border-color: var(--swatch-color, #17ef97) !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 12px color-mix(in srgb, var(--swatch-color, #17ef97) 26%, transparent), inset 0 0 0 1px var(--swatch-color, #17ef97) !important;
}

#brxe-fbjsgg .custom-swatches-group .swatch-btn.active .swatch-text,
#brxe-fbjsgg .custom-swatches-group .swatch-btn.active:hover:not(.disabled) .swatch-text,
.variations_form .custom-swatches-group .swatch-btn.active .swatch-text,
.variations_form .custom-swatches-group .swatch-btn.active:hover:not(.disabled) .swatch-text {
  color: #ffffff !important;
  font-weight: 600 !important;
}

#brxe-fbjsgg .custom-swatches-group .swatch-btn.active .swatch-dot,
#brxe-fbjsgg .custom-swatches-group .swatch-btn.active:hover:not(.disabled) .swatch-dot,
.variations_form .custom-swatches-group .swatch-btn.active .swatch-dot,
.variations_form .custom-swatches-group .swatch-btn.active:hover:not(.disabled) .swatch-dot {
  transform: scale(1.15) !important;
  box-shadow: 0 0 12px 1px var(--swatch-color, #17ef97), 0 0 0 1.5px #ffffff !important;
}

/* Active State for Strength / Standard Swatches */
#brxe-fbjsgg .custom-swatches-group .swatch-btn.standard.active,
#brxe-fbjsgg .custom-swatches-group .swatch-btn.standard.active:hover:not(.disabled),
.variations_form .custom-swatches-group .swatch-btn.standard.active,
.variations_form .custom-swatches-group .swatch-btn.standard.active:hover:not(.disabled) {
  background: rgba(23, 239, 151, 0.15) !important;
  border-color: #17ef97 !important;
  color: #17ef97 !important;
  transform: none !important;
  box-shadow: 0 4px 14px rgba(23, 239, 151, 0.18), inset 0 0 0 1px #17ef97 !important;
}

#brxe-fbjsgg .custom-swatches-group .swatch-btn.standard.active .swatch-text,
#brxe-fbjsgg .custom-swatches-group .swatch-btn.standard.active:hover:not(.disabled) .swatch-text,
.variations_form .custom-swatches-group .swatch-btn.standard.active .swatch-text,
.variations_form .custom-swatches-group .swatch-btn.standard.active:hover:not(.disabled) .swatch-text {
  color: #17ef97 !important;
  font-weight: 700 !important;
}

/* Disabled / Out of Stock State */
#brxe-fbjsgg .custom-swatches-group .swatch-btn.disabled,
.variations_form .custom-swatches-group .swatch-btn.disabled {
  opacity: 0.38 !important;
  cursor: not-allowed !important;
  filter: grayscale(90%) !important;
  text-decoration: line-through !important;
  transform: none !important;
}

/* Hidden Swatch Class (for Search & Show More Collapse) */
#brxe-fbjsgg .custom-swatches-group .swatch-btn.swatch-hidden,
.variations_form .custom-swatches-group .swatch-btn.swatch-hidden {
  display: none !important;
}

/* Out-of-stock tooltip */
.custom-swatch-tooltip {
  position: absolute;
  background-color: #27272a;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 20;
  margin-bottom: 8px;
  pointer-events: none;
}

.custom-swatch-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.custom-swatch-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #27272a transparent transparent transparent;
}

/* 5. Collapsible "Show More / Show Less" Button (.bang-swatch-show-more-btn) */
.bang-swatch-show-more-btn {
  margin-top: 6px;
  background: linear-gradient(135deg, rgba(23, 239, 151, 0.16) 0%, rgba(0, 184, 113, 0.10) 100%);
  border: 1.5px solid rgba(23, 239, 151, 0.65);
  color: #17ef97;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(23, 239, 151, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bang-swatch-show-more-btn:hover {
  border-color: #17ef97;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(23, 239, 151, 0.28) 0%, rgba(0, 184, 113, 0.20) 100%);
  box-shadow: 0 6px 20px rgba(23, 239, 151, 0.26);
  transform: translateY(-1px);
}

.bang-swatch-show-more-btn.expanded {
  background: rgba(23, 239, 151, 0.08);
  border-color: rgba(23, 239, 151, 0.45);
  color: #e4e4e7;
  box-shadow: none;
}

.bang-swatch-show-more-btn.expanded:hover {
  border-color: #17ef97;
  color: #17ef97;
  background: rgba(23, 239, 151, 0.14);
}

.bang-swatch-show-more-btn::after {
  content: "▼";
  font-size: 10px;
  transition: transform 0.25s ease;
}

.bang-swatch-show-more-btn.expanded::after {
  transform: rotate(180deg);
}

/* 6. Desktop vs Mobile Visibility Rules */
@media (min-width: 768px) {
  .mobile-sticky-add-to-cart,
  .mobile-drawer-header,
  .drawer-dummy-add-to-cart,
  .mobile-drawer-backdrop,
  .bang-mobile-variation-trigger {
    display: none !important;
  }

  .mobile-drawer-swatches-body {
    display: contents !important;
  }

  body.drawer-open {
    overflow: auto !important;
  }
}

/* ==========================================================================
   7. Mobile Sticky Bottom Shopping Bar & Slide-Up Variation Drawer (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
  body.single-product {
    padding-bottom: 88px !important;
  }

  /* Hide inline heading "Choose your e-Liquid flavor..." on mobile since trigger card + drawer handles it */
  body.single-product #brxe-utpfpr {
    display: none !important;
  }

  /* Compact Selected Options Trigger Card in Product Summary on Mobile (High-Visibility Glow Style) */
  .bang-mobile-variation-trigger {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 62px !important;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    margin: 6px 0 14px;
    background: linear-gradient(135deg, #1b1f26 0%, #14221d 100%);
    border: 1.5px solid rgba(23, 239, 151, 0.45);
    border-left: 4px solid #17ef97;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(23, 239, 151, 0.1);
    cursor: pointer;
    text-align: left;
    box-sizing: border-box !important;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  }

  .bang-mobile-variation-trigger:active,
  .bang-mobile-variation-trigger:hover {
    background: linear-gradient(135deg, #20262f 0%, #172b23 100%);
    border-color: #17ef97;
    transform: scale(0.99);
  }

  .bang-mvt-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 0% !important;
    overflow: hidden !important;
  }

  .bang-mvt-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #17ef97;
    line-height: 1.1;
  }

  .bang-mvt-current {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .bang-mvt-dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    border-radius: 50%;
    background: #17ef97;
    box-shadow: 0 0 8px rgba(23, 239, 151, 0.7);
    display: inline-block;
    flex-shrink: 0;
  }

  .bang-mvt-dot.is-rainbow-pulse {
    background: linear-gradient(135deg, #ff3366 0%, #ffcc00 35%, #17ef97 70%, #3399ff 100%);
    box-shadow: 0 0 10px rgba(23, 239, 151, 0.65);
    animation: bangDotPulse 2s infinite ease-in-out;
  }

  @keyframes bangDotPulse {
    0%, 100% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.18);
      opacity: 0.85;
    }
  }

  .bang-mvt-value-text {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    min-width: 0 !important;
    flex: 1 1 0% !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
    word-break: break-all !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .bang-mvt-right {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    background: rgba(23, 239, 151, 0.14);
    border: 1px solid rgba(23, 239, 151, 0.4);
    border-radius: 999px;
    color: #17ef97;
    font-size: 12.5px;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }

  .bang-mobile-variation-trigger.is-incomplete .bang-mvt-right {
    background: linear-gradient(135deg, #25ffaa 0%, #10d482 100%);
    border-color: transparent;
    color: #111111;
    padding: 8px 14px;
    box-shadow: 0 4px 14px rgba(23, 239, 151, 0.35);
  }

  /* Backdrop Overlay */
  .mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  body.drawer-open {
    overflow: hidden !important;
  }

  body.drawer-open .mobile-drawer-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Hide variations_form when drawer is closed on mobile (Sugervape pattern) */
  body.single-product:not(.drawer-open) form.variations_form.cart {
    display: none !important;
  }

  /* Slide-Up Bottom Sheet Drawer when body.drawer-open is active */
  body.single-product.drawer-open form.variations_form.cart {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 85vh !important;
    height: 85dvh !important;
    max-height: 85dvh !important;
    background: #141416 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
    box-shadow: 0 -12px 42px rgba(0, 0, 0, 0.7) !important;
    z-index: 99999 !important;
    padding: 16px 16px 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    animation: bangSlideUpDrawer 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    box-sizing: border-box !important;
  }

  @keyframes bangSlideUpDrawer {
    from {
      transform: translateY(100%);
    }
    to {
      transform: none;
    }
  }

  /* Drawer Top Header (.mobile-drawer-header) */
  .mobile-drawer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    position: relative;
  }

  .mobile-drawer-header img.drawer-thumb {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    background: #222225 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    flex-shrink: 0 !important;
  }

  .mobile-drawer-header .drawer-info {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 36px;
  }

  .mobile-drawer-header .drawer-title {
    font-size: 14px;
    font-weight: 600;
    color: #f4f4f5;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-drawer-header .drawer-price,
  .mobile-drawer-header .drawer-price .price,
  .mobile-drawer-header .drawer-price .wcs-11-price {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
    margin: 0 !important;
  }

  .mobile-drawer-header .drawer-price ins,
  .mobile-drawer-header .drawer-price > .amount,
  .mobile-drawer-header .drawer-price .wcs-11-price > .amount,
  .mobile-drawer-header .drawer-price ins .amount {
    order: 1 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #17ef97 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    margin: 0 !important;
  }

  .mobile-drawer-header .drawer-price del,
  .mobile-drawer-header .drawer-price del .amount {
    order: 2 !important;
    font-size: 12.5px !important;
    color: #71717a !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    margin: 0 !important;
  }

  .mobile-drawer-header .drawer-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #f4f4f5;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 0 2px 0;
  }

  .mobile-drawer-header .drawer-close-btn:active {
    background: rgba(255, 255, 255, 0.18);
  }

  /* Scrollable Middle Swatches Area inside Drawer */
  .mobile-drawer-swatches-body {
    flex: 1 1 0px !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding: 14px 2px 18px !important;
    scrollbar-width: none;
  }

  .mobile-drawer-swatches-body::-webkit-scrollbar {
    display: none;
  }

  /* Show all flavors inside mobile scrollable drawer without needing Show More button */
  .mobile-drawer-swatches-body .bang-swatch-show-more-btn {
    display: none !important;
  }

  #brxe-fbjsgg .mobile-drawer-swatches-body .custom-swatches-group .swatch-btn.swatch-hidden:not(.swatch-filtered-out),
  .mobile-drawer-swatches-body .swatch-btn.swatch-hidden:not(.swatch-filtered-out) {
    display: inline-flex !important;
  }

  #brxe-fbjsgg .mobile-drawer-swatches-body .custom-swatches-group,
  .mobile-drawer-swatches-body .custom-swatches-group {
    margin-bottom: 14px !important;
  }

  /* Mobile 2-column dense grid for flavors: short flavors sit 2-per-row, long flavors (>20 chars) span full width */
  #brxe-fbjsgg .mobile-drawer-swatches-body .custom-swatches-group[data-for*="lavor"] .swatch-options,
  .mobile-drawer-swatches-body .custom-swatches-group[data-for*="lavor"] .swatch-options,
  .variations_form .custom-swatches-group[data-for*="lavor"] .swatch-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row dense !important;
    gap: 8px !important;
  }

  #brxe-fbjsgg .mobile-drawer-swatches-body .custom-swatches-group .swatch-btn,
  .mobile-drawer-swatches-body .custom-swatches-group .swatch-btn {
    padding: 9px 11px !important;
    font-size: 12.5px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  #brxe-fbjsgg .mobile-drawer-swatches-body .custom-swatches-group .swatch-btn.is-wide-swatch,
  .mobile-drawer-swatches-body .custom-swatches-group .swatch-btn.is-wide-swatch,
  .variations_form .custom-swatches-group .swatch-btn.is-wide-swatch {
    grid-column: 1 / -1 !important;
  }

  /* Sticky Bottom Action Bar inside Drawer (.single_variation_wrap) */
  body.single-product.drawer-open form.variations_form.cart .single_variation_wrap {
    flex-shrink: 0 !important;
    width: calc(100% + 32px) !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    margin-top: auto !important;
    background: #1c1c1f !important;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
    z-index: 100 !important;
    box-sizing: border-box !important;
  }

  /* Dummy Button when variation is not yet selected (Interactive Scroll-to-Missing Guide) */
  .drawer-dummy-add-to-cart {
    width: 100% !important;
    height: 48px !important;
    background: rgba(23, 239, 151, 0.08) !important;
    border: 1px dashed rgba(23, 239, 151, 0.48) !important;
    color: #17ef97 !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease !important;
  }

  .drawer-dummy-add-to-cart:active {
    background: rgba(23, 239, 151, 0.16) !important;
    border-color: #17ef97 !important;
    transform: scale(0.98) !important;
  }

  .drawer-dummy-add-to-cart .dummy-scroll-hint-arrow {
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    animation: bangDummyArrowBounce 1.4s infinite ease-in-out;
  }

  @keyframes bangDummyArrowBounce {
    0%, 100% {
      transform: translateY(-1px);
    }
    50% {
      transform: translateY(2px);
    }
  }

  form.variations_form.is-variation-selected .drawer-dummy-add-to-cart {
    display: none !important;
  }

  form.variations_form:not(.is-variation-selected) .woocommerce-variation-add-to-cart {
    display: none !important;
  }

  body.single-product.drawer-open form.variations_form.is-variation-selected .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    height: 48px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product.drawer-open form.variations_form .woocommerce-variation-add-to-cart .quantity {
    height: 48px !important;
    flex: 0 0 128px !important;
    width: 128px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  body.single-product.drawer-open form.variations_form .woocommerce-variation-add-to-cart .quantity .minus,
  body.single-product.drawer-open form.variations_form .woocommerce-variation-add-to-cart .quantity .plus {
    width: 40px !important;
    height: 48px !important;
  }

  body.single-product.drawer-open form.variations_form .woocommerce-variation-add-to-cart .quantity input.qty {
    height: 48px !important;
    width: 48px !important;
    font-size: 14px !important;
  }

  body.single-product.drawer-open form.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    flex: 1 1 auto !important;
    height: 48px !important;
    min-width: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #17ef97 !important;
    color: #111111 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  /* Fixed Bottom Sticky Shopping Bar (.mobile-sticky-add-to-cart) — High-Impact Proportional Layout */
  .mobile-sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    z-index: 950;
    background: linear-gradient(180deg, rgba(31, 35, 43, 0.98) 0%, rgba(18, 20, 25, 0.99) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1.5px solid rgba(23, 239, 151, 0.55);
    padding: 11px 14px calc(11px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.78), 0 -2px 16px rgba(23, 239, 151, 0.18);
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  }

  body.drawer-open .mobile-sticky-add-to-cart,
  body:has(.brxe-woocommerce-mini-cart.show-cart-details) .mobile-sticky-add-to-cart {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }

  /* Reserved Left Slot for Unmodified Native Floating Chatway Bubble */
  .mobile-sticky-add-to-cart .sticky-chat-placeholder {
    width: 58px;
    height: 48px;
    min-width: 58px;
    flex-shrink: 0;
    pointer-events: none;
  }

  .mobile-sticky-add-to-cart .sticky-price-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    max-width: 45% !important;
    overflow: hidden !important;
    cursor: pointer;
  }

  .mobile-sticky-add-to-cart .sticky-price-label {
    font-size: 11.5px;
    color: #d4d4d8;
    letter-spacing: 0.01em;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    min-width: 0 !important;
    max-width: 100% !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
    word-break: break-all !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Force Current Price ($12.99) and Original Price ($60.00) on Single Horizontal Row */
  .mobile-sticky-add-to-cart .sticky-price,
  .mobile-sticky-add-to-cart .sticky-price .price,
  .mobile-sticky-add-to-cart .sticky-price .wcs-11-price {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  .mobile-sticky-add-to-cart .sticky-price ins,
  .mobile-sticky-add-to-cart .sticky-price > .amount,
  .mobile-sticky-add-to-cart .sticky-price .wcs-11-price > .amount,
  .mobile-sticky-add-to-cart .sticky-price ins .amount {
    order: 1 !important;
    font-weight: 800 !important;
    color: #17ef97 !important;
    font-size: 20.5px !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    text-shadow: 0 0 12px rgba(23, 239, 151, 0.25) !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  .mobile-sticky-add-to-cart .sticky-price del,
  .mobile-sticky-add-to-cart .sticky-price del .amount {
    order: 2 !important;
    color: #71717a !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    text-decoration: line-through !important;
    white-space: nowrap !important;
  }

  .mobile-sticky-add-to-cart .sticky-add-to-cart-btn {
    background: linear-gradient(135deg, #25ffaa 0%, #10d482 100%) !important;
    color: #0d0f12 !important;
    border: none !important;
    height: 48px !important;
    padding: 0 20px !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 0.01em !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    flex: 1 1 auto !important;
    max-width: 215px !important;
    box-shadow: 0 6px 20px rgba(23, 239, 151, 0.38) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    white-space: nowrap !important;
    transition: transform 0.15s ease, box-shadow 0.2s ease !important;
  }

  .mobile-sticky-add-to-cart .sticky-add-to-cart-btn .sticky-buy-icon {
    width: 17px !important;
    height: 17px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
  }

  .mobile-sticky-add-to-cart .sticky-add-to-cart-btn:active {
    transform: scale(0.97) !important;
  }

  /* Lift Floating Currency Switcher above Sticky Bar on Mobile Single Product & Hide When Drawer Open */
  body.single-product #wcs-11-floating-switcher,
  body.single-product .wcs-11-floating-trigger.wcs-float-pos-bottom_right {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
  }

  body.single-product.drawer-open #wcs-11-floating-switcher {
    display: none !important;
  }
}

/* ==========================================================================
   8. Compatibility with 11-Min-Max-Quantity-Control Integrated Variation Panel
   ========================================================================== */
#brxe-fbjsgg .wc-qc-variation-panel .wc-qc-flavor-card,
.variations_form .wc-qc-variation-panel .wc-qc-flavor-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

#brxe-fbjsgg .wc-qc-variation-panel .swatch-btn.swatch-btn-pack,
.variations_form .wc-qc-variation-panel .swatch-btn.swatch-btn-pack {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

html body.single-product form.variations_form:has(.wc-qc-variation-panel) .woocommerce-variation-add-to-cart .quantity,
html body.single-product.drawer-open form.variations_form:has(.wc-qc-variation-panel) .woocommerce-variation-add-to-cart .quantity,
html body.single-product.drawer-open form.variations_form .woocommerce-variation-add-to-cart .quantity {
  display: none !important;
}

#brxe-fbjsgg .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card,
.variations_form .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card,
.mobile-drawer-swatches-body .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card {
  grid-column: 1 / -1 !important;
}
