.product-gallery {
    padding: 32px 0 46px;
    padding-left: 5%;
    padding-right: 5%;
  }
  
  .product-gallery__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  @media (max-width: 980px) {
    .product-gallery__grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
  }
  
  .product-gallery__carousel {
    position: relative;
  }


.product-gallery__carousel {
    position: relative;
  }
  
  /* Hide the "Previous/Next" text visually but keep for screen readers */
  .product-gallery__btn-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  

  .product-gallery__controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    pointer-events: none;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 14px;
  }
  
  .product-gallery__btn {
    pointer-events: auto;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }
  
  .product-gallery__btn-circle {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--primary);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
    transition: transform 180ms ease, opacity 180ms ease;
  }
  
  /* Hover/focus */
  .product-gallery__btn:hover .product-gallery__btn-circle {
    transform: translateY(-1px);
    opacity: 0.95;
  }
  
  .product-gallery__btn:focus-visible .product-gallery__btn-circle {
    outline: 2px solid currentColor;
    outline-offset: 4px;
  }
  
 
  .product-gallery__btn-icon {
    position: relative;
    width: 18px;
    height: 18px;
  }
  
  .product-gallery__btn-icon--arrow::before {
    position: absolute;
    content: "";
    top: .1rem;         
    right: 0.4rem;      
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
  }
  

  .product-gallery__btn--prev .product-gallery__btn-icon {
    transform: rotate(180deg);
    top: -.1rem;
    right: .25rem;
  }
  

  @media (max-width: 600px) {
    .product-gallery__controls {
      padding: 0 10px;
    }
    .product-gallery__btn-circle {
      width: 46px;
      height: 46px;
    }
  }
  .product-gallery__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    -ms-overflow-style: none;  /* IE/old Edge */
    scrollbar-width: none;     /* Firefox */
  }
  .product-gallery__track::-webkit-scrollbar {
    display: none;  /* Chrome/Safari */
  }
  
  .product-gallery__track:focus {
    outline: none;
  }
  .product-gallery__track:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
  }
  
  .product-gallery__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    margin: 0;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
  }
  
  .product-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  

  .product-gallery__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  }
  
  .product-gallery__controls {
    display: flex;
    gap: 10px;
    margin-top: 12px;
  }
  
  .product-gallery__btn {
    padding: 10px 14px;
    border-radius: 999px;
    line-height: 1;
  }
  
  .product-gallery__content {
    padding-top: 8px;
    min-width: 0;
  }
  
  .product-gallery__subtitle {
    font-weight: 700;
  }
  
  
  .product-gallery__desc {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 60ch;
  }
  
  .product-gallery__desc p:first-child {
    margin-top: 0;
  }
  
  .product-gallery__cta {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 180ms ease, opacity 180ms ease;
  }
  
  .product-gallery__cta:hover,
  .product-gallery__cta:focus-visible {
    transform: translateY(-1px);
    opacity: 0.95;
  }
  