/*
Theme Name: Astra Child
Theme URI: https://aceanytime.com
Description: Child theme for Astra - Ace Anytime
Author: Bharat
Template: astra
Version: 1.0
*/

/* ==============================
   ACE SERVICES BAR
   ============================== */

body .ace-services-bar {
    background: #ffffff;
    position: relative;
}

/* Container */
body .ace-services-container {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 12px 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Remove list style */
body .ace-services-container li {
    list-style: none;
}

/* Base Link Style */
body .ace-services-container a {
    display: inline-block;
    color: #000000;
    text-decoration: none;
    padding: 6px 16px;
    border: 1px solid #E90606;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Hover */
body .ace-services-container a:hover {
    background: #E90606;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(233, 6, 6, 0.35);
    transform: translateY(-2px);
}

/* Active Page */
body .ace-services-container .current-menu-item > a {
    background: #E90606;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(233, 6, 6, 0.4);
}

/* ==============================
   MOBILE SWIPE VERSION
   ============================== */

@media (max-width: 768px) {

    body .ace-services-container {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 10px 15px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    body .ace-services-container li {
        flex: 0 0 auto;
    }

    body .ace-services-container a {
        padding: 6px 14px;
        font-size: 13px;
    }

    /* Hide Scrollbar */
    body .ace-services-container::-webkit-scrollbar {
        display: none;
    }

}

/*Add Horizontal Scroll (Simple Way) to ace swiper*/
.ace-reels-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  scroll-snap-type: x mandatory;
}

.ace-reels-wrapper .e-con {
  min-width: 250px;
  scroll-snap-align: start;
}

.ace-reels-wrapper video {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
}