/* ======================================================================
   MODULE 1: OVERVIEW TABS (ui-tabs)  ✅
   - Header gradient + white shelf
   - Tabs + active triangle
   - Panel fade + height animation container
   - Tier grid pricing layout
   ====================================================================== */

   :root {
    --header-h: 140px;
    --shelf-h: 65px;
  }
  
  .ui-tabs {
    width: 100%;
    font-family: inherit;
  }
  
  .ui-tabs-header {
    position: relative;
    height: var(--header-h);
    overflow: hidden;
    background-image: url('/static/img/noise.png'),
      linear-gradient(0deg, #5e0f1b 0%, #420912 100%);
  }
  
  .ui-tabs-header::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 94%;
    height: var(--shelf-h);
    background: #fff;
    z-index: 1;
  }
  
  .ui-tabs-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--header-h) - var(--shelf-h));
    display: flex;
    align-items: stretch;
    z-index: 3;
  }
  
  .ui-tab {
    flex: 1;
    height: 100%;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
  
    padding: 0 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
    position: relative;
  }
  
  .ui-tab:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.05);
  }
  
  .ui-tab.is-active {
    font-weight: 700;
    background: rgba(0, 0, 0, 0.22);
  }
  
  .ui-tabs-nav::after {
    content: "";
    position: absolute;
  
    left: var(--active-center, 50%);
    transform: translateX(-50%);
  
    bottom: 0;
  
    width: 30px;
    height: 15px;
    background: #fff;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    z-index: 4;
  
    opacity: 0;
    transition: left 0.2s ease, opacity 0.2s ease;
  }
  
  .ui-tabs-body {
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
  }
  
  .ui-panel {
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: opacity 0.35s ease;
  }
  
  .ui-panel.is-active {
    opacity: 1;
    position: relative;
  }
  
  @media only screen and (max-width: 900px) {
    .tab-header {
      font-size: 15px;
    }
  
    .ui-tabs-header::before {
      width: 100%;
    }
  }

  .ui-tabs-shelf {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 92%;
    height: var(--shelf-h);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    padding-top: 5px;
  }

  .ui-shelf-row {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.3px;
  }

  .ui-shelf-row.is-active {
    display: flex;
    text-align: center;
  }

  @media only screen and (max-width: 900px) {
    .ui-tabs-shelf { width: 100%; }
    .ui-shelf-row  { font-size: 1.05rem; }
    .tab-text { font-size: small;}
  }

  .tier-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
  }

  .tier-right {
    display: grid;
    grid-auto-rows: min-content;
    gap: 45px;
  }

  .tier-card {
    background: transparent;
  }

  .grid-tier-title {
    margin: 0 0 10px;
  }

  .tier-rule {
    height: 4px;
    width: 100%;
    background: #cbb26a;
    margin: 0 0 18px;
  }

  .tier-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .tier-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: start;
    padding: 7px 0;
    font-size: 16px;
    line-height: 1.25;
    color: #111;
  }

  .tier-value {
    text-align: left;
    white-space: nowrap;
    font-weight: 600;
    color: #111;
  }

  .tier-value em {
    font-style: italic;
    font-weight: 600;
  }

  .tier-note .tier-label small {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
    color: #111;
  }

  @media (max-width: 900px) {
    .tier-grid {
      grid-template-columns: 1fr;
      gap: 35px;
      padding: 0 14px;
    }

    .tier-right {
      gap: 35px;
    }

    .tier-item {
      grid-template-columns: 1fr auto;
      gap: 14px;
      font-size: 15px;
    }
  }

  /* ======================================================================
     MODULE 2: MEDIA + TEXT CAROUSEL (media-text-carousel / slick) ✅
     - Keeps slick dots pinned to bottom
     - Removes WYSIWYG bullet pseudo styling from dots
     ====================================================================== */

  .media-text-carousel {
    position: relative;
    padding-bottom: 2.5rem;
  }

  .media-text-carousel .slick-dots {
    position: absolute !important;
    top: auto !important;
    width: 100%;
    text-align: center;
  }

  .wysiwyg-module .slick-dots li {
    display: inline-block;
    position: relative;
    margin: 10px;
    width: 20px;
    outline: 0;
    padding-left: 0;
  }

  .wysiwyg-module .slick-dots li:before {
    content: none !important;
  }
  
  /* ======================================================================
     MODULE 3: PHOTO GALLERY + RIGHT TEXT PANEL (photo-gallery) ✅
     - Minor slick spacing cleanup
     - WYSIWYG list reset
     - Manual secondary column responsiveness
     ====================================================================== */
  
  .slick-track {
    margin-top: 0;
  }
  
  .wysiwyg-module li {
    margin: 0;
  }
  
  .wysiwyg-module ul li {
    padding-left: 0;
  }
  
  .slick-dots li {
    margin: 10px;
  }
  
  .wysiwyg-module ul li:before {
    content: none;
  }
  
  .manual-secondary,
  .manual-secondary .text-panel {
    float: right;
    padding-left: 0 !important;
  }
  
  @media only screen and (max-width: 900px) {
    .manual-secondary .text-panel {
      padding: 40px !important;
    }
  
    .manual-secondary,
    .manual-secondary .text-panel {
      float: none;
    }
  }
