/* ==========================================================================
   ABDEV FRAMEWORK: CORE STYLE
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.abdev-container, .alignwide {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.alignfull {
    width: 100%;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.abdev-sticky-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

body.modal-open {
    overflow: hidden !important;
    padding-right: var(--scrollbar-width, 0px) !important;
}

.abdev-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.abdev-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    will-change: transform;
}

.abdev-slider::-webkit-scrollbar {
    display: none;
}

.abdev-slider:active {
    cursor: grabbing;
}

.abdev-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.abdev-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.abdev-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.abdev-modal-container {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.04);
}

.abdev-modal.is-open .abdev-modal-container {
    transform: translateY(0);
}

.abdev-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}