/* RESET / BASE STYLES (optional) */
.smarty-widget {

  /* CAROUSEL WRAPPER */
  .carousel {
    position: relative;
    max-width: 600px;
    /* Adjust as needed */
    margin: 0 auto;
    background: transparent;
    border-radius: 8px;
    z-index: 0;
  }

  /* TRACK CONTAINER (viewport) */
  .carousel__track-container {
    overflow: hidden;
    position: relative;
  }

  /* TRACK (horizontal strip) */
  .carousel__track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    list-style: none;
    width: 100%;
    touch-action: pan-y;
    list-style-position: inside;
    margin: 0;
    padding: 0;
  }

  /* SLIDES */
  .carousel__slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: start;
    align-items: center;
    overflow: hidden;
    padding-bottom: 90px;
  }

  /* IMAGES: 1:1 ratio, responsive, cover fill */
  .carousel__image_container {
    display: flex;
    align-items: end;
    justify-content: center;
    position: relative;
    width: 100%;
  }

  /* IMAGES: 1:1 ratio, responsive, cover fill */
  .carousel__image {
    aspect-ratio: 1/1;
    display: block;
    /* max-inline-size: 100%; */
    object-fit: cover;
    width: 100%;
  }

  .carousel__slide-text {
    /* width: ; */
    /* display: flex; */
    /* flex-direction: column; */
    /* width: 75%; */
  }

  /* .carousel__image {
  max-inline-size: 100%;
  aspect-ratio: 1/1;   
  object-fit: cover;  
  display: block;
} */

  /* .carousel__cta-button{
  position: absolute;
  /* text-transform: uppercase;
  text-decoration: none;
  text-align: center;

  border: 1px solid #ff6c00;
  background-color: #ff6c00;
  cursor: pointer;
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 .9px 1.8px 0 rgb(0 0 0 / .25);
  margin: auto; */

  .carousel__image_container .carousel__cta-button {
    position: absolute;
    align-items: center;
    background-clip: padding-box;
    background-color: #fa6400;
    border: 1px solid transparent;
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui, -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    min-width: 125px;
    text-decoration: none;
  }

  .carousel__cta-button:hover,
  .carousel__cta-button:focus {
    background-color: #fb8332;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
  }

  .carousel__cta-button:hover {
    transform: translateY(-1px);
  }

  .carousel__cta-button:active {
    background-color: #c85000;
    box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
    transform: translateY(0);
  }

  .carousel__cta-button.left {
    bottom: 15px;
    left: 15px;
  }

  .carousel__cta-button.right {
    bottom: 15px;
    right: 15px
  }

  .carousel__cta-button.center {
    bottom: 15px;

  }

  /* INDICATORS (DOTS) CONTAINER */
  .carousel-nav-container {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    top: 0;
    z-index: 100;
    margin: 0;
    pointer-events: none;
  }

  .carousel__sections {
    display: flex;
    align-items: center;
    bottom: 30px;
    margin-top: 60px;
    position: sticky;
  }

  .carousel__nav {
    text-align: center;
    border-radius: 32px;
    z-index: 10;
    background-color: rgba(238, 238, 238, 0.7);
    box-shadow: rgba(0, 0, 0, 0.11) 0px 0px 1px 0px inset;
    height: auto;
    min-height: 56px;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    backdrop-filter: blur(10px);
    padding: 0 24px;
    pointer-events: all;
  }

  /* INDIVIDUAL INDICATORS */
  .carousel__indicator {
    position: relative;
    width: 8px;
    height: 8px;
    background-color: rgb(117, 117, 117);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 0;
    padding: 0;
  }

  .carousel__indicator:before {
    content: '';
    position: absolute;
    padding: 16px;
    width: 100%;
    height: 100%;
  }

  .carousel__indicator.current-slide {
    background-color: #333;
    width: 54px;
    border-radius: 1rem;
  }

  /* BUTTON STYLES */
  .carousel__nextprev {
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: all;
  }

  .carousel__button {
    position: absolute;
    border: none;
    color: rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
    background-color: rgba(238, 238, 238, 0.7);
    box-shadow: rgba(0, 0, 0, 0.11) 0px 0px 1px 0px inset;
    height: 56px;
    width: 56px;
    min-height: 56px;
    min-width: 56px;
    ;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border-radius: 50%;
  }

  .carousel__button:hover {
    color: rgba(0, 0, 0, 0.7);
  }

  /* Positioning the Prev/Next buttons */
  .carousel__button--prev {
    left: -7rem;
  }

  .carousel__button--next {
    right: -7rem;
  }

  .fade-in {
    opacity: 0;
    transition: opacity 250ms ease-in;
  }

  .fade-in.appear {
    opacity: 1;
  }
}

/* For extra small screens (responsive) */
@media (max-width: 480px) {
  .smarty-widget {
    .carousel__button {
      font-size: 1.5rem;
      padding: 0.3rem 0.6rem;
    }
  }
}