
 @import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

  .hh-downloads {
    --ink: #1b2a3d;
    --ink-soft: #5a6675;
    --sand: #f7f3ec;
    --brass: #f26b22;
    --brass-dark: #f26b22;
    --line: #e2dbcb;

    display: flex;
    justify-content: center;
    padding:150px 200px;
    box-sizing: border-box;
    /* font-family: 'Inter', Arial, sans-serif; */

  }

  .hh-downloads__card {
    width: 100%;
    max-width:1200px;
    background:white;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px -20px rgba(27, 42, 61, 0.35);
    padding: 36px 40px 12px;
    height:auto;
  }

  .hh-downloads__head {
    border-bottom: 1px solid var(--line);
    padding: 10px;
  }

  .hh-downloads__eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass-dark);
  }

  .hh-downloads__title {
    margin: 0;
    /* font-family: 'Fraunces', Georgia, serif; */
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.01em;
  }

  .hh-downloads__list {
    display: flex;
    flex-direction: column;
  }

  /* border now lives on the direct list children (either a plain <a> row
     or a collapsible <details> group) instead of on .hh-download__row itself,
     since a group's summary is no longer the last element inside it */
  .hh-downloads__list > a,
  .hh-downloads__list > details {
    border-bottom: 1px solid var(--line);
  }

  .hh-downloads__list > a:last-child,
  .hh-downloads__list > details:last-child {
    border-bottom: none;
  }

  .hh-download__row {
    position: relative;
    display: grid;
    grid-template-columns: 32px 38px 1fr 40px;
    align-items: center;
    gap: 18px;
    padding: 20px 4px;
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.25s ease;
  }

  /* reset native <summary> chrome so it matches the plain <a> rows */
  .hh-downloads__list summary.hh-download__row {
    cursor: pointer;
    list-style: none;
  }

  .hh-downloads__list summary.hh-download__row::-webkit-details-marker {
    display: none;
  }

  .hh-downloads__list summary.hh-download__row::marker {
    content: '';
  }

  .hh-download__row::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--brass);
    transition: left 0.25s ease;
  }

  .hh-download__row:hover,
  .hh-download__row:focus-visible {
    padding-left: 14px;
  }

  .hh-download__row:hover::before,
  .hh-download__row:focus-visible::before {
    left: -4px;
  }

  .hh-download__row:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 2px;
  }

  .hh-download__index {
    /* font-family: 'Fraunces', Georgia, serif; */
    font-size: 13px;
    color: var(--brass-dark);
    letter-spacing: 0.04em;
  }

  .hh-download__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--ink);
    border: 1px solid var(--line);
    background: #fff;
  }

  .hh-download__icon svg {
    width: 19px;
    height: 19px;
  }

  .hh-download__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }

  .hh-download__label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink);
    transition: color 0.2s ease;
  }

  .hh-download__meta {
    font-size: 12.5px;
    color: var(--ink-soft);
  }

  .hh-download__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--brass);
    color: var(--brass-dark);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  }

  .hh-download__action svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
  }

  .hh-download__row:hover .hh-download__action,
  .hh-download__row:focus-visible .hh-download__action {
    background: var(--brass);
    color: #fff;
  }

  .hh-download__row:hover .hh-download__action svg,
  .hh-download__row:focus-visible .hh-download__action svg {
    transform: translateY(2px);
  }

  /* ---------- Collapsible groups (Price List / Application Form) ---------- */

  .hh-download__group[open] > summary .hh-download__label,
  .hh-download__group[open] > summary .hh-download__index {
    color: var(--brass-dark);
  }

  .hh-download__group[open] > summary .hh-download__action {
    background: var(--brass-dark);
    border-color: var(--brass-dark);
    color: #fff;
  }

  .hh-download__subpanel {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding: 2px 4px 22px 70px;
  }

  .hh-download__subitem {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .hh-download__subitem svg {
    width: 14px;
    height: 14px;
    color: var(--ink-soft);
    transition: color 0.2s ease;
    flex-shrink: 0;
  }

  .hh-download__subitem:hover,
  .hh-download__subitem:focus-visible {
    color: var(--brass-dark);
  }

  .hh-download__subitem:hover svg,
  .hh-download__subitem:focus-visible svg {
    color: var(--brass-dark);
  }

  /* ---------- Tablet ---------- */
  @media (max-width: 640px) {
    .hh-downloads {
             padding: 130px 16px;
    }

    .hh-downloads__card {
      padding: 28px 22px 8px;
    }

    .hh-downloads__title {
      font-size: 20px;
    }

    .hh-download__row {
      grid-template-columns: 24px 34px 1fr 34px;
      gap: 12px;
      padding: 16px 2px;
    }

    .hh-download__row::before {
      left: -22px;
    }

    .hh-download__row:hover,
    .hh-download__row:focus-visible {
      padding-left: 8px;
    }

    .hh-download__row:hover::before,
    .hh-download__row:focus-visible::before {
      left: -4px;
    }

    .hh-download__subpanel {
      padding-left: 46px;
      gap: 20px;
    }
  }

  /* ---------- Mobile ---------- */
  @media (max-width: 420px) {
    .hh-download__row {
      grid-template-columns: 30px 1fr 32px;
    }

    .hh-download__index {
      display: none;
    }

    .hh-download__icon {
      width: 32px;
      height: 32px;
    }

    .hh-download__icon svg {
      width: 16px;
      height: 16px;
    }

    .hh-download__label {
      font-size: 14px;
    }

    .hh-download__meta {
      font-size: 11.5px;
    }

    .hh-download__action {
      width: 30px;
      height: 30px;
    }

    .hh-download__subpanel {
      flex-direction: column;
      padding-left: 34px;
      gap: 12px;
    }
  }

  
        .hh-popup-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  background: #1a2a3a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.hh-popup-trigger:hover {
  background: #2a3a4a;
}

.hh-popup-trigger svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Overlay */
.hh-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hh-popup-overlay.active {
  display: flex;
}

/* Popup Container */
.hh-popup {
  position: relative;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  padding: 2rem 2rem 2.2rem;
  animation: popupFade 0.25s ease;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Close Button */
.hh-popup__close {
  position: sticky;
    top: 0%;
    left: 45%;
  background: #f0f2f5;
  border: none;
  border-radius: 50%;
  color:var(--primary-color);
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  margin-bottom: 0.5rem;
  z-index: 5;
}

.hh-popup__close:hover {
  background: #e0e2e5;
}

.hh-popup__close svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: #1a2a3a;
}

/* Scrollbar styling for popup */
.hh-popup::-webkit-scrollbar {
  width: 6px;
}

.hh-popup::-webkit-scrollbar-track {
  background: transparent;
}

.hh-popup::-webkit-scrollbar-thumb {
  background: #c0c6cc;
  border-radius: 10px;
}

/* ---- Reuse your existing .hh-downloads styles inside the popup ---- */
.hh-popup .hh-downloads {
  padding: 0;
}

.hh-popup .hh-downloads__card {
  background: transparent;
  box-shadow: none;
  padding: 0;
}


  .sticky-left-btn {
      position: fixed;   /* Keeps the button in a fixed position */
      left: 0;           /* Sticks it to the left edge */
      top: 50%;         /* Aligns the top to the middle of the screen */
      
      /* Vertical Rotation Magic */
      writing-mode: vertical-rl; /* Makes the text flow vertically */
      transform: translateY(-50%) rotate(180deg); /* Centers it and flips text right-side up */
      
      /* Styling & Appearance */
      background-color:var(--primary-color);
      color: white;
      padding: 20px 12px;        /* Swapped padding: more vertical room, less horizontal */
      border: none;
      
      /* Rounds the outer corners (which are now the bottom edge due to rotation) */
      border-radius:4px; 
      
      font-family: sans-serif;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15);
      z-index: 9999;     
      
      /* Smooth transition for hover effect */
      transition: all 0.2s ease;
    }

    /* Hover Effect: Pulls the button out slightly from the left edge */
    .sticky-left-btn:hover {
      background-color: var(--primary-color); 
      transform: translateY(-50%) rotate(180deg) translateX(-4px); /* Pushes it out slightly */
    }

    @media (max-width: 600px) {
      .sticky-left-btn {
        display: none; /* Hides the button on screens smaller than 600px wide */
            font-size: 12px;
                /* top: 47%; */
      }
      .sticky-right-btn {
            top: 55% !important;
      }
      
    }