/* Hero carousel — mobile only */

@media (max-width: 767px) {
  /* Parent becomes a viewport-clipped container */
  .oc-carousel-active {
    position: relative !important;
    overflow: hidden !important;
    flex-wrap: nowrap !important;
    min-height: 345px !important; /* fixed height prevents page jumping between slides */
  }

  /* All slides hidden by default */
  .oc-carousel-slide {
    display: none !important;
    width: 100% !important;
    min-width: 100% !important;
  }

  /* Only the active slide is shown */
  .oc-carousel-slide.oc-slide-active {
    display: flex !important;
    animation: oc-fadeIn 0.6s ease both;
  }

  @keyframes oc-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Dot indicators */
  .oc-hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 2px 0 4px;
    margin-top: -8px;
  }

  .oc-hero-dots .oc-hero-dot {
    width: 10px !important;
    height: 10px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 10px !important;
    max-height: 10px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    box-shadow: none !important;
    line-height: 0 !important;
    font-size: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
  }

  .oc-hero-dots .oc-hero-dot.active {
    background: #ED6F23 !important;
    border-color: #ED6F23 !important;
    transform: scale(1.2);
  }
}

/* Hide dots on desktop */
@media (min-width: 768px) {
  .oc-hero-dots {
    display: none !important;
  }
}
