/* Gallery Carousel v5 */

.gc-wrapper {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
}

.gc-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 2rem;
}

.gc-track {
    display: flex;
    gap: 15px;
    transition: transform 0.6s cubic-bezier(.28, -0.03, 0, .99);
    will-change: transform;
}

.gc-slide {
    height: 400px;
    border-radius: 2rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Pagination */
.gc-dots {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0;
}

.gc-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 999px;
    background: #ffffff !important;
    opacity: 0.5;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(.28, -0.03, 0, .99),
                min-width 0.4s cubic-bezier(.28, -0.03, 0, .99),
                opacity 0.4s ease,
                background-color 0.3s ease !important;
    border: none !important;
    padding: 0;
    margin: 0;
    outline: none !important;
    box-shadow: none !important;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
}

.gc-dot:focus,
.gc-dot:active,
.gc-dot:visited,
.gc-dot:focus-visible {
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.gc-dot.gc-dot-active {
    width: 55px;
    min-width: 55px;
    opacity: 1;
    background: #ffffff !important;
}

.gc-dot.gc-dot-active:focus,
.gc-dot.gc-dot-active:active,
.gc-dot.gc-dot-active:focus-visible {
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

.gc-dot:hover {
    background: #C9A84C !important;
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .gc-track { gap: 0; }
    .gc-slide { height: 300px; }
    .gc-dots { margin-top: 15px; }
}

/* Elementor */
.elementor-widget-html .gc-wrapper,
.elementor-widget-shortcode .gc-wrapper,
.elementor-element .gc-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}
