/** Shopify CDN: Minification failed

Line 523:0 Unexpected "`"

**/
/**
 * TABBED CONTENT SECTION - CSS
 * ============================
 * 
 * Add this to your theme's main CSS file or include via {% stylesheet %}
 * 
 * Uses CSS custom properties for easy theming:
 * --tab-active-color
 * --tab-inactive-color
 * --tab-border-color
 * --tab-bg-color
 * --panel-bg-color
 */

/* ==========================================================================
   TABBED CONTENT - CONTAINER
   ========================================================================== */

.tabbed-content {
  --tab-active-color: #000;
  --tab-inactive-color: #666;
  --tab-border-color: #e0e0e0;
  --tab-bg-color: #fff;
  --panel-bg-color: #fff;
}

.tabbed-content__header {
  margin-bottom: 1.5rem;
}

.tabbed-content__title {
  margin: 0;
}

/* ==========================================================================
   TABBED CONTENT - TAB LIST
   ========================================================================== */

.tabbed-content__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--tab-border-color);
  margin-bottom: 1.5rem;
}

/* Tab Alignment Variants */
.tabbed-content__tabs--left {
  justify-content: flex-start;
}

.tabbed-content__tabs--center {
  justify-content: center;
}

.tabbed-content__tabs--right {
  justify-content: flex-end;
}

.tabbed-content__tabs--spread {
  justify-content: space-between;
}

.tabbed-content__tabs--spread .tabbed-content__tab {
  flex: 1 1 auto;
  text-align: center;
}

/* ==========================================================================
   TABBED CONTENT - TAB BUTTONS
   ========================================================================== */

.tabbed-content__tab {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  background: transparent;
  border: none;
  color: var(--tab-inactive-color);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.tabbed-content__tab:hover,
.tabbed-content__tab:focus {
  color: var(--tab-active-color);
  outline: none;
}

.tabbed-content__tab:focus-visible {
  outline: 2px solid var(--tab-active-color);
  outline-offset: -2px;
}

.tabbed-content__tab.is-active {
  color: var(--tab-active-color);
}

/* Tab Style: Underline */
.tabbed-content__tab--underline {
  border-bottom: 2px solid transparent;
}

.tabbed-content__tab--underline.is-active {
  border-bottom-color: var(--tab-active-color);
}

/* Tab Style: Pill */
.tabbed-content__tab--pill {
  border-radius: 20px;
  margin: 0.25rem;
  background-color: transparent;
}

.tabbed-content__tab--pill:hover,
.tabbed-content__tab--pill:focus {
  background-color: rgba(0, 0, 0, 0.05);
}

.tabbed-content__tab--pill.is-active {
  background-color: var(--tab-active-color);
  color: var(--tab-bg-color);
}

/* Tab Style: Boxed */
.tabbed-content__tab--boxed {
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  background-color: transparent;
}

.tabbed-content__tab--boxed:hover,
.tabbed-content__tab--boxed:focus {
  background-color: rgba(0, 0, 0, 0.02);
}

.tabbed-content__tab--boxed.is-active {
  border-color: var(--tab-border-color);
  background-color: var(--panel-bg-color);
  position: relative;
}

.tabbed-content__tab--boxed.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--panel-bg-color);
}

/* Tab Label */
.tabbed-content__tab-label {
  display: inline-block;
}

/* ==========================================================================
   TABBED CONTENT - PANELS
   ========================================================================== */

.tabbed-content__panels {
  background-color: var(--panel-bg-color);
}

.tabbed-content__panel {
  display: none;
  animation: tabFadeIn 0.3s ease;
}

.tabbed-content__panel.is-active {
  display: block;
}

.tabbed-content__panel[hidden] {
  display: none !important;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   TABBED CONTENT - BLOCK: RICH TEXT
   ========================================================================== */

.rich-text-tab {
  padding: 1rem 0;
}

.rich-text-tab__heading {
  margin: 0 0 1rem;
}

.rich-text-tab__text {
  max-width: 65ch;
}

.rich-text-tab__button {
  margin-top: 1.5rem;
}

/* ==========================================================================
   TABBED CONTENT - BLOCK: HOTSPOTS
   ========================================================================== */

.hotspots-tab-block {
  /* Container for hotspots within a tab */
}

.hotspots-tab-block hotspots-image {
  display: block;
}

/* Mobile hotspot position overrides */
@media (max-width: 767.98px) {
  .hotspots-tab-block .hotspot {
    top: var(--hotspot-y-mobile, 50%) !important;
    left: var(--hotspot-x-mobile, 50%) !important;
  }
}

/* ==========================================================================
   TABBED CONTENT - BLOCK: IMAGE
   ========================================================================== */

.image-tab {
  /* Container for image tab */
}

.image-tab__link {
  display: block;
  text-decoration: none;
}

.image-tab__media img {
  width: 100%;
  height: auto;
  display: block;
}

.image-tab__caption {
  margin: 0.75rem 0 0;
  font-size: 0.9em;
  color: var(--tab-inactive-color);
}

/* ==========================================================================
   TABBED CONTENT - BLOCK: VIDEO
   ========================================================================== */

.video-tab__wrapper {
  position: relative;
  width: 100%;
}

.video-tab__player--external {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-tab__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-tab__video {
  width: 100%;
  height: auto;
  display: block;
}

.video-tab__cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.video-tab__cover.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.video-tab__cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-tab__play-btn {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.video-tab__play-btn:hover,
.video-tab__play-btn:focus {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.video-tab__placeholder {
  padding: 40px;
  background: #f5f5f5;
  text-align: center;
}

/* ==========================================================================
   TABBED CONTENT - PLACEHOLDER
   ========================================================================== */

.tabbed-content__placeholder {
  padding: 3rem 1.5rem;
  background: #f9f9f9;
  border: 2px dashed #ddd;
  border-radius: 4px;
  text-align: center;
  color: #666;
}

/* ==========================================================================
   TABBED CONTENT - RESPONSIVE
   ========================================================================== */

@media (max-width: 767.98px) {
  .tabbed-content__tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tabbed-content__tabs::-webkit-scrollbar {
    display: none;
  }

  .tabbed-content__tab {
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
  }

  .tabbed-content__tabs--spread .tabbed-content__tab {
    flex: 0 0 auto;
  }

  .rich-text-tab {
    padding: 0.75rem 0;
  }
}

/* ==========================================================================
   TABBED CONTENT - PRINT STYLES
   ========================================================================== */

@media print {
  .tabbed-content__tabs {
    display: none;
  }

  .tabbed-content__panel {
    display: block !important;
    break-inside: avoid;
    margin-bottom: 2rem;
  }

  .tabbed-content__panel::before {
    content: attr(aria-labelledby);
    display: block;
    font-weight: bold;
    margin-bottom: 1rem;
  }
}
/* Tab panels visibility */
.tabbed-content__panel {
  display: none;
}

.tabbed-content__panel.is-active {
  display: block;
  animation: tabFadeIn 0.3s ease;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tab list */
.tabbed-content__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--tab-border-color, #e0e0e0);
  padding-bottom: 0;
}

.tabbed-content__tabs--center {
  justify-content: center;
}

.tabbed-content__tabs--right {
  justify-content: flex-end;
}

.tabbed-content__tabs--spread {
  justify-content: space-between;
}

/* Tab buttons */
.tabbed-content__tab {
  background: none;
  border: none;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--tab-inactive-color, #666);
  transition: color 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.tabbed-content__tab:hover {
  color: var(--tab-active-color, #000);
}

.tabbed-content__tab.is-active {
  color: var(--tab-active-color, #000);
  font-weight: 600;
}

/* Underline style */
.tabbed-content__tab--underline {
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tabbed-content__tab--underline.is-active {
  border-bottom-color: var(--tab-active-color, #000);
}

/* Pill style */
.tabbed-content__tab--pill {
  border-radius: 2rem;
  background: transparent;
}

.tabbed-content__tab--pill.is-active {
  background: var(--tab-active-color, #000);
  color: #fff;
}

/* Boxed style */
.tabbed-content__tab--boxed {
  border: 1px solid var(--tab-border-color, #e0e0e0);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  margin-bottom: -1px;
  background: var(--tab-bg-color, #f5f5f5);
}

.tabbed-content__tab--boxed.is-active {
  background: var(--panel-bg-color, #fff);
  border-bottom: 1px solid var(--panel-bg-color, #fff);
}

/* Panels */
.tabbed-content__panels {
  background: var(--panel-bg-color, #fff);
}

.tabbed-content__panel {
  padding: 1rem 0;
}

.tabbed-content__block + .tabbed-content__block {
  margin-top: 1.5rem;
}
```

---

**Key fixes:**

1. **JS now uses `data-panel-index`** to match panels instead of relying on array index order
2. **Added explicit `style.display`** as a fallback in addition to the `hidden` attribute and class
3. **Added console logging** so you can debug in browser DevTools (remove these once working)
4. **Converted NodeLists to Arrays** with `Array.from()` for better compatibility
5. **Added CSS** for panel visibility with `.is-active` class

Check your browser console (F12 → Console tab) after making these changes. You should see logs like:
```
Tabs found: 2
Panels found: 2
Tab clicked, index: 1
Activating tab: 1
Panel index: 0 isActive: false
Panel index: 1 isActive: true