/* =========================
   Trade Gallery Carousel
   ========================= */

   .tg-carousel {
    position: relative;
    margin: 0px auto;
    max-width: 90%;
  }
  
  .tg-viewport {
    overflow: hidden;
  }
  
  .tg-track {
    display: flex;
    align-items: stretch;
    transition: transform 0.45s ease;
  }
  
  /* individual slides */
  .tg-slide {
    box-sizing: border-box;
    padding: 0 10px;
  }
  
  .tg-slide img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 18px;
  
    /* greyscale by default */
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
  }
  
  /* colour + slight zoom on hover */
  .tg-slide img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
  }
  
  /* Arrows – round #D38945 with white chevron, 50px */
  .tg-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #D38945;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }
  
  .tg-arrow::before {
    content: '\203A'; /* › */
    font-size: 26px;
    line-height: 1;
    color: #ffffff;
  }
  
  /* previous arrow uses ‹ */
  .tg-prev::before {
    content: '\2039';
  }
  
  .tg-prev {
    left: -60px;
  }
  
  .tg-next {
    right: -60px;
  }
  
  .tg-arrow:hover {
    transform: translateY(-50%) translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
  }
  
  /* disabled state */
  .tg-arrow.is-disabled {
    opacity: 0.3;
    pointer-events: none;
  }
  
  /* basic responsive tweaks */
  @media (max-width: 1024px) {
    .tg-slide img {
      height: 400px;
    }
  }
  
  @media (max-width: 770px) {
    .tg-carousel {
      margin: 0px auto;
    }
  }
  
  @media (max-width: 500px) {
    .tg-carousel {
      margin: 0px auto;
    }
    .tg-slide img {
      height: 220px;
    }
  }
  
  /* =========================
     Lightbox
     ========================= */
  
  body.tg-lightbox-open {
    overflow: hidden;
  }
  
  .tg-lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 9999;
  }
  
  .tg-lightbox-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  
  .tg-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
  }
  
  .tg-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    display: block;
    cursor: pointer;
  }
  
  /* Close button */
  .tg-lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: #ffffff;
    color: #0F172B;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  