/* ==========================================================================
   EXTRA UI COMPONENTS (Tables, Alerts, Badges, Blockquotes)
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: calc(var(--radius) / 2);
    line-height: 1.5;
}

.alert {
    padding: var(--space-m);
    border-radius: calc(var(--radius) / 2);
    margin-bottom: var(--space-m);
    font-size: var(--fs-s);
    display: flex;
    align-items: center;
    gap: var(--space-m);
}

.alert i {
    font-size: 1.1rem;
    margin-top: 1px;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
    border-radius: calc(var(--radius) / 2);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-s);
    color: var(--theme-text);
    white-space: nowrap;
}

.table th,
.table td {
    padding: calc(var(--space-m) - 4px) calc(var(--space-m) + 4px);
    text-align: left;
    border-bottom: 1px solid rgba(var(--theme-text-rgb), 0.07);

    a {
        margin: 0px !important;
        padding: 0px !important;
    }
}

.table th {
    font-weight: 600;
    background-color: rgba(var(--theme-text-rgb), 0.04);
    border: none;
}

.table tr {
    position: relative;
}

.table tr:last-child td {
    border-bottom: none;
}


.table tbody tr:hover {
    background-color: rgba(var(--theme-text-rgb), 0.02);
}

.table-actions {
    position: sticky;
    right: 0px;
    border-left: 1px solid rgba(var(--theme-text-rgb), 0.07);
    background-color: var(--theme-background-light);
    backdrop-filter: blur(8px);
    padding-right: var(--space-m) !important;
    vertical-align: middle;
    text-align: right !important;
    white-space: nowrap;

    >* {
        display: inline-flex;
        vertical-align: middle;
        margin-left: calc(var(--space-m) / 2);
    }

    >*:first-child {
        margin-left: 0;
    }

    &:after {
        content: "";
        position: absolute;
        left: 0px;
        right: 0px;
        top: -1px;
        border-top: 1px solid rgba(var(--theme-text-rgb), 0.07);
    }

    tr:first-child &::after,
    .list-item:first-child &::after,
    .nested-list-header &::after {
        display: none !important;
    }

    .action-buttons {
        display: flex;
        justify-content: flex-end;
        gap: var(--space-m);
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: var(--input-s);
        width: var(--input-s);
        aspect-ratio: 1/1;

        i {
            font-size: var(--fs-xs);
        }
    }
}

.table-actions.pages {
    background: none;
    border-left: none;
    position: static;
    display: flex;
    justify-content: flex-end;

    align-items: center;
    padding-right: 0px !important;
    border: none !important;

    &:after {
        display: none;
    }

    .action-buttons {
        gap: var(--space-m) !important;
    }

}

blockquote {
    border-left: 4px solid var(--color-primary);
    padding: var(--space-m) var(--space-l);
    margin: var(--space-m) 0;
    background-color: rgba(var(--theme-text-rgb), 0.03);
    font-style: italic;
    color: rgba(var(--theme-text-rgb), 0.85);
    border-radius: calc(var(--radius) / 2);
}

hr {
    border: none;
    border-top: 1px solid rgba(var(--theme-text-rgb), 0.05);
    margin: 0;
}

/* Base button cleanup */
.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(var(--theme-text-rgb), 0.3);
    color: var(--theme-text);
}

.btn-outline:hover {
    background-color: rgba(var(--theme-text-rgb), 0.05);
}

/* CTA BANNER */
.cta-banner {
    background-size: cover;
    background-position: center center;

    padding-top: 15dvh;
    padding-bottom: 15dvh;

    .container {
        display: flex;
        flex-direction: column;
        gap: var(--space);
        align-items: center;
        text-align: center;

        h2 {
            font-size: clamp(var(--fs-4xl), 10vw, var(--fs-5xl));
            line-height: 1.3em;
        }
    }
}

.cta-banner.withImage {
    position: relative;

    &:after {
        content: "";
        position: absolute;
        left: 0px;
        right: 0px;
        bottom: 0px;
        top: 0px;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 0;

    }

    .container {
        position: relative;
        z-index: 1 !important;
    }
}

.cta-banner.align-left .container {
    align-items: flex-start;
    text-align: left;
}

.cta-banner.align-center .container {
    align-items: center;
    text-align: center;
}

.cta-banner.align-right .container {
    align-items: flex-end;
    text-align: right;
}

/* REALESTE SEARCH */
.realestate-search {

    @media(max-width: 768px) {
        padding: 0px;

        .real-estate-search-container {
            border-radius: 0px;
        }
    }

    .container {
        color: white;
        display: flex;
        flex-direction: column;
        justify-items: center;
        align-items: center;
        gap: var(--space);

        @media(max-width: 768px) {
            padding: 0px;
        }

        h3 {
            font-size: clamp(var(--fs-4xl), 10vw, var(--fs-5xl));
            line-height: 1.3em;

        }

    }

}

.realestate-search.withImage {
    position: relative;
    padding-top: 40dvh !important;

    &:after {
        content: "";
        position: absolute;
        left: 0px;
        right: 0px;
        bottom: 0px;
        top: 0px;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 0;

    }

    .container {
        position: relative;
        z-index: 1 !important;
    }

}


/* ==========================================================================
   Quantity Stepper UI Component [ - 14 + ]
   ========================================================================== */
.quantity-stepper {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(var(--theme-text-rgb), 0.04);
    border: 1px solid rgba(var(--theme-text-rgb), 0.15);
    border-radius: calc(var(--radius) /2);
    padding: 2px;
    height: var(--input-l);
    min-width: 120px;
    user-select: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;

    &:hover {
        border-color: rgba(var(--theme-text-rgb), 0.3);
    }

    &:focus-within {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
    }

    .stepper-btn {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        border-radius: calc((var(--radius) / 2) - 3px);
        color: var(--theme-text);
        font-size: 1.1rem;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;

        &:hover:not(:disabled) {
            background: rgba(var(--theme-text-rgb), 0.1);
            color: var(--color-primary);
        }

        &:active:not(:disabled) {
            transform: scale(0.92);
        }

        &:disabled {
            opacity: 0.3;
            cursor: not-allowed;
            pointer-events: none;
        }
    }

    .stepper-input {
        width: 44px;
        flex: 1;
        text-align: center;
        font-weight: 600;
        font-size: 0.95rem;
        border: none;
        background: transparent;
        color: var(--theme-text);
        padding: 0;
        margin: 0;
        outline: none;

        &::-webkit-outer-spin-button,
        &::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
    }

    /* Boyut varyantları */
    &.sm {
        height: 34px;
        min-width: 96px;
        padding: 3px;

        .stepper-btn {
            width: 26px;
            height: 26px;
            font-size: 0.95rem;
        }

        .stepper-input {
            width: 36px;
            font-size: 0.85rem;
        }
    }

    &.lg {
        height: 48px;
        min-width: 140px;

        .stepper-btn {
            width: 40px;
            height: 40px;
            font-size: 1.25rem;
        }

        .stepper-input {
            width: 50px;
            font-size: 1.05rem;
        }
    }
}



/* ==========================================================================
   8. CARDS & BADGES
   ========================================================================== */
/* 1. Base Card (Renksiz / Nötr, section neyse ona uyum sağlar) */
.card {
    background: transparent;
    color: var(--theme-text);
    border-radius: calc(var(--radius) / 1.5);
    padding: var(--space-m);
    border: none;
    display: flex;
    flex-direction: column;
    width: 100%;

    .card-header {
        padding-bottom: var(--space);
        display: flex;
        justify-content: space-between;
        width: 100%;
        font-size: var(--fs-default) !important;

        h2,
        h3 {
            font-size: var(--fs-default) !important;
        }
    }

    .card-header.bordered {
        border-bottom: 1px solid rgba(var(--theme-text-rgb), 0.05);
        padding-bottom: var(--space-m);
        margin-bottom: var(--space-m);
    }

    .card-header.compact {
        padding: var(--space);
    }

    .card-header.narrow {
        padding: var(--space-m) calc(var(--space-m) + 4px);
    }
}

.card.compact {
    padding: var(--space);
}


/* 4. Card Flat & Status Cards */
.card.flat {
    padding: 0;
    border: none;
    background: transparent;

    .table-header {
        padding: var(--space);
    }

    .table-header.compact {
        padding: var(--space-m) calc(var(--space-m) + 4px);
    }
}


.card.primary {
    background-color: rgba(var(--color-primary-rgb), 0.10);
    border: 1px solid var(--color-primary);
}

.card.warning {
    background-color: rgba(var(--color-warning-rgb), 0.10);
    border: 1px solid var(--color-warning);
}

.card.success {
    background-color: rgba(var(--color-success-rgb), 0.10);
    border: 1px solid var(--color-success);
}


.item-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);

    img {
        width: 100%;
        height: auto;
        aspect-ratio: 5/3;
        object-fit: cover;
        border-radius: var(--radius-m);
    }

    h3 {
        font-size: var(--fs-m);
    }
}

.image-wrapper {
    overflow: hidden;
    border-radius: calc(var(--radius) / 2);

    &.scale img {
        transition: all 0.3s ease;
        border-radius: calc(var(--radius) / 2);
    }

    &.scale:hover img {
        transform: scale(1.03);
    }
}

/* Dataset Card */
.dataset-card {
    display: flex;
    flex-direction: column;
    background: var(--color-light);
    border: 1px solid rgba(var(--color-primary-rgb), 0.12);
    border-radius: var(--radius-m);
    overflow: hidden;
    text-decoration: none;
    color: var(--theme-text);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;

    &:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        border-color: rgba(var(--color-primary-rgb), 0.35);
    }

    .card-image-wrap {
        position: relative;
        width: 100%;
        height: 220px;
        overflow: hidden;
        background-color: var(--color-light-dark);
        display: block;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .card-no-img {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.08), rgba(var(--color-primary-rgb), 0.02));
        }
    }

    &:hover .card-image-wrap img {
        transform: scale(1.04);
    }

    .card-content {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        padding: var(--space-m);
        gap: var(--space-s);

        a {
            text-decoration: none;
            color: var(--theme-text);
        }

        .card-location {
            font-size: var(--fs-s);
            color: var(--color-primary);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: var(--space-xs);
        }

        .card-title,
        h3 {
            font-size: var(--fs-l);
            font-weight: 600;
            color: var(--theme-text);
            margin: 0;
            line-height: 1.35;
        }

        .card-meta {
            display: flex;
            flex-wrap: wrap;
            gap: var(--space-m);
            font-size: var(--fs-s);
            color: var(--color-secondary);

            span {
                display: inline-flex;
                align-items: center;
                gap: var(--space-xs);
            }
        }

        .card-desc {
            font-size: var(--fs-s);
            color: var(--color-secondary);
            line-height: 1.5;
            margin: 0;
        }

        .card-footer {
            margin-top: auto;
            padding-top: var(--space-m);
            border-top: 1px solid rgba(var(--color-primary-rgb), 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: var(--space-m);
        }

        .price-box {
            display: flex;
            flex-direction: column;

            .price-label {
                font-size: var(--fs-xs);
                color: var(--color-secondary);
            }

            .old-price {
                text-decoration: line-through;
                color: var(--color-secondary);
                font-size: var(--fs-s);
            }

            .current-price,
            .card-price {
                font-size: var(--fs-l);
                font-weight: 700;
                color: var(--color-primary);
            }
        }
    }
}

/* Cart Badge */
.cart-badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-text);
    text-decoration: none;
    position: relative;
    padding: 6px;
    border-radius: 50%;
    transition: transform 0.2s ease, color 0.2s ease;

    &:hover {
        color: var(--color-primary);
        transform: scale(1.08);
    }

    .cart-icon-wrapper {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        line-height: 1;
    }

    .cart-count-badge {
        position: absolute;
        top: -6px;
        right: -10px;
        background: var(--color-primary, #2563eb);
        color: #ffffff;
        font-size: 0.7rem;
        font-weight: 700;
        width: 18px !important;
        height: 18px !important;
        border-radius: 10px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        line-height: 1;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);

        &.animate-pop {
            animation: cartBadgePop 0.35s ease-out;
        }
    }
}

@keyframes cartBadgePop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.add-to-cart {
    display: flex;
    gap: 12px;
    align-items: center;
    border-radius: var(--radius) var(--radius) 0 0 !important;
    border: none !important;

    @media(max-width: 768px) {
        position: fixed;
        left: 0px;
        right: 0px;
        bottom: 0px;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: var(--space);
        border-radius: var(--radius) var(--radius) 0 0 !important;
        border: none !important;
        box-shadow: 0px -12px 24px rgba(0, 0, 0, 0.1);
        background-color: var(--color-light-light);
        z-index: 9999;
    }

}

/* ==========================================================================
   9. HEADER, NAVIGATION & FOOTER
   ========================================================================== */

/* Main Header */
.header-default {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0px;
    height: calc(var(--header-height) + 12px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(var(--theme-background-rgb), 0.9);
    color: var(--theme-text);
    z-index: 9999;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;

    @media(max-width: 768px) {
        height: calc(var(--header-height));
    }

    &.light,
    &.dark {
        background-color: rgba(var(--theme-background-rgb), 0.9) !important;
    }

    .container {
        display: grid;
        grid-template-columns: 200px auto 200px;
        align-items: center;

        @media(max-width: 992px) {
            grid-template-columns: 1fr 1fr;
        }

        .left {

            .logo {
                height: auto;
                max-width: 180px;
                max-height: calc(var(--header-height) - 12px);
                outline: none;
                position: relative;
                cursor: pointer;

                @media(max-width: 992px) {
                    height: 50px;
                }
            }
        }

        .center {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;

            @media(max-width: 992px) {
                display: none;
            }

            nav {
                height: 100%;
                align-items: center;
                display: flex;


                ul {
                    list-style: none;
                    margin: 0px;
                    padding: 0px;
                    display: flex;
                    align-items: center;
                    gap: var(--space-l);
                    justify-content: center;
                    height: 100%;

                    li {
                        a {
                            text-transform: uppercase;
                            font-size: var(--fs-s);
                            font-weight: 500;
                            position: relative;
                            transition: all 0.3s;

                            &:after {
                                content: "";
                                position: absolute;
                                left: 50%;
                                right: 50%;
                                bottom: -4px;
                                height: 3px;
                                background-color: rgba(var(--theme-text-rgb), 0.2);
                                transition: all 0.3s;
                            }

                            &:hover {
                                &:after {
                                    left: 0px;
                                    right: 0px;
                                }
                            }
                        }

                        .active {
                            &:after {
                                left: 0px;
                                right: 0px;
                                background-color: var(--color-primary);
                            }
                        }
                    }
                }
            }

        }

        .right {
            display: flex;
            align-items: center;
            gap: var(--space-l) !important;
            justify-content: flex-end;

            .bi {
                font-size: var(--fs-xl);
                color: var(--theme-text);
                transition: all 0.3s;

                &:hover {
                    color: var(--theme-text);
                }
            }

            img {
                width: 26px;
                height: 26px;
            }

            .bi-list {
                display: none;
                cursor: pointer;
                user-select: none;

                @media(max-width: 992px) {
                    display: flex;
                    align-items: center;
                    font-size: var(--fs-2xl);
                }

                &.active:before {
                    content: "\f62a";
                }
            }
        }

        /* Header Search Component */
        .search {
            display: flex;
            justify-content: center;
            width: 100%;
            padding: 0 var(--space-m);

            @media(max-width: 992px) {
                display: contents;
            }
        }
    }

}

/* Live Search Box & Dropdown */
.search-box-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;

    @media(max-width: 992px) {
        display: none;
    }

    .search-input-group {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;

        .search-icon {
            position: absolute;
            left: 14px;
            color: rgba(var(--theme-text-rgb), 0.4);
            font-size: 0.95rem;
            pointer-events: none;
            transition: color 0.2s ease;
        }

        .search-input {
            width: 100%;
            height: var(--input-l);
            padding: 0 38px 0 40px;
            background: var(--theme-background);
            border: 1px solid rgba(var(--theme-text-rgb), 0.12);
            border-radius: calc(var(--radius) / 2);
            font-size: var(--fs-default);
            font-weight: 500;
            color: var(--theme-text);
            outline: 2px solid rgba(var(--color-accent-rgb), 0);
            outline-offset: 2px !important;
            font-family: inherit;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

            &::placeholder {
                color: rgba(var(--theme-text-rgb), 0.4);
                font-size: var(--fs-default);
                font-weight: 400;
            }

            &:focus {
                border-color: var(--color-accent);
                outline: 2px solid rgba(var(--color-accent-rgb), 0.4);
                outline-offset: 2px !important;
                box-shadow: 0px 0px 20px rgba(var(--color-accent-rgb), 0.15);
            }
        }

        .search-clear-btn {
            position: absolute;
            right: 8px;
            width: 26px;
            height: 26px;
            background: rgba(var(--theme-text-rgb), 0.08);
            border: none;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--theme-text);
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.15s ease, transform 0.15s ease;

            &:hover {
                background: rgba(var(--theme-text-rgb), 0.16);
                transform: scale(1.08);
            }
        }

        .search-spinner {
            position: absolute;
            right: 12px;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(var(--theme-text-rgb), 0.15);
            border-top-color: var(--color-primary);
            border-radius: 50%;
            animation: searchSpin 0.6s linear infinite;
        }
    }

    /* Live Search Results Dropdown */
    .search-results-dropdown {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        background: var(--theme-background-light);
        border: 1px solid rgba(var(--theme-text-rgb), 0.1);
        border-radius: var(--radius-s);
        box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1000;
        overflow: hidden;
        animation: searchDropdownFade 0.2s ease-out;

        .search-results-list {
            max-height: 380px;
            overflow-y: auto;
            scrollbar-width: thin;
            padding: 6px;
        }

        .search-result-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 10px;
            border-radius: calc(var(--radius-s) - 2px);
            text-decoration: none;
            color: var(--theme-text);
            transition: background 0.15s ease;
            cursor: pointer;

            &:hover,
            &.selected {
                background: rgba(var(--theme-text-rgb), 0.05);
            }

            .search-item-img {
                width: 44px;
                height: 44px;
                border-radius: 6px;
                object-fit: cover;
                flex-shrink: 0;
                background: rgba(var(--theme-text-rgb), 0.04);
            }

            .search-item-no-img {
                width: 44px;
                height: 44px;
                border-radius: 6px;
                background: rgba(var(--theme-text-rgb), 0.04);
                display: flex;
                align-items: center;
                justify-content: center;
                color: rgba(var(--theme-text-rgb), 0.4);
                font-size: 1.2rem;
                flex-shrink: 0;
            }

            .search-item-content {
                flex: 1;
                min-width: 0;

                .search-item-title {
                    font-size: 0.92rem;
                    font-weight: 600;
                    color: var(--theme-text);
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                .search-item-meta {
                    display: flex;
                    align-items: center;
                    gap: 6px;
                    margin-top: 2px;

                    .search-item-badge {
                        font-size: 0.72rem;
                        font-weight: 600;
                        padding: 1px 6px;
                        border-radius: 4px;
                        background: rgba(var(--theme-text-rgb), 0.08);
                        color: var(--theme-text);
                    }
                }
            }

            .search-item-price {
                font-size: 0.95rem;
                font-weight: 700;
                color: var(--color-primary);
                white-space: nowrap;
                flex-shrink: 0;
            }
        }

        .search-no-results {
            padding: 24px 16px;
            text-align: center;
            color: rgba(var(--theme-text-rgb), 0.6);
            font-size: 0.9rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;

            i {
                font-size: 1.6rem;
                opacity: 0.4;
            }
        }
    }
}

@keyframes searchSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes searchDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Visibility Helpers */
.desktop-only {
    display: flex !important;
}

.mobile-only {
    display: none !important;
}

@media(max-width: 992px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: inline-flex !important;
    }
}

pre {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: var(--space-s) var(--space-m);
    border-radius: calc(var(--radius) / 2);
}

/* Mobil Arama Tetikleyici Butonu (Header-Right) */
.mobile-search-btn {
    background: transparent;
    border: none;
    color: var(--theme-text);
    font-size: var(--fs-l);
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.15s ease;

    &:hover {
        color: var(--color-primary);
        transform: scale(1.1);
    }
}

/* Tam Ekran Mobil Arama Modalı */
body.search-modal-open {
    overflow: hidden;
}

.mobile-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--theme-background);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    animation: mobileSearchSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    .mobile-search-header {
        display: flex;
        align-items: center;
        padding: 12px;
        background: var(--theme-background-light);
        border-bottom: 1px solid rgba(var(--theme-text-rgb), 0.1);
        flex-shrink: 0;

        .mobile-search-back-btn {
            background: transparent;
            border: none;
            color: var(--theme-text);
            font-size: 1.4rem;
            width: 44px;
            height: 44px;
            min-width: 44px;
            min-height: 44px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            border-radius: 50%;
            cursor: pointer;
            flex-shrink: 0;
            position: relative;
            z-index: 10;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;

            i {
                pointer-events: none;
            }

            &:active {
                background: rgba(var(--theme-text-rgb), 0.08);
            }
        }

        .mobile-search-input-wrap {
            position: relative;
            flex: 1;
            display: flex;
            align-items: center;

            .mobile-search-icon {
                position: absolute;
                left: 12px;
                color: rgba(var(--theme-text-rgb), 0.4);
                font-size: 0.95rem;
                pointer-events: none;
            }

            .mobile-search-input {
                width: 100%;
                height: var(--input-l);
                padding: 0 38px 0 38px;
                background: var(--theme-background);
                border: 1px solid rgba(var(--theme-text-rgb), 0.12);
                border-radius: calc(var(--radius) / 2);
                font-size: var(--fs-default);
                font-weight: 500;
                color: var(--theme-text);
                outline: 2px solid rgba(var(--color-accent-rgb), 0);
                outline-offset: 2px !important;
                font-family: inherit;
                transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

                &:focus {
                    background: var(--theme-background);
                    border-color: var(--color-accent);
                    outline: 2px solid rgba(var(--color-accent-rgb), 0.4);
                    outline-offset: 2px !important;
                    box-shadow: 0px 0px 20px rgba(var(--color-accent-rgb), 0.15);
                }

                &::placeholder {
                    color: rgba(var(--theme-text-rgb), 0.4);
                    font-size: var(--fs-default);
                    font-weight: 400;
                }
            }

            .mobile-search-spinner {
                position: absolute;
                right: 12px;
                width: 18px;
                height: 18px;
                border: 2px solid rgba(var(--theme-text-rgb), 0.15);
                border-top-color: var(--color-primary);
                border-radius: 50%;
                animation: searchSpin 0.6s linear infinite;
            }

            .mobile-search-clear {
                position: absolute;
                right: 8px;
                width: 28px;
                height: 28px;
                background: rgba(var(--theme-text-rgb), 0.08);
                border: none;
                border-radius: 50%;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                color: var(--theme-text);
                font-size: 1.1rem;
                cursor: pointer;
            }
        }
    }

    .mobile-search-body {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px 16px;

        .mobile-search-results-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .search-result-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 12px;
            background: var(--theme-background-light);
            border: 1px solid rgba(var(--theme-text-rgb), 0.06);
            border-radius: var(--radius-s);
            text-decoration: none;
            color: var(--theme-text);

            &:active {
                background: rgba(var(--theme-text-rgb), 0.06);
            }

            .search-item-img {
                width: 48px;
                height: 48px;
                border-radius: 6px;
                object-fit: cover;
                flex-shrink: 0;
            }

            .search-item-no-img {
                width: 48px;
                height: 48px;
                border-radius: 6px;
                background: rgba(var(--theme-text-rgb), 0.05);
                display: flex;
                align-items: center;
                justify-content: center;
                color: rgba(var(--theme-text-rgb), 0.4);
                font-size: 1.3rem;
                flex-shrink: 0;
            }

            .search-item-content {
                flex: 1;
                min-width: 0;

                .search-item-title {
                    font-size: 0.95rem;
                    font-weight: 600;
                    color: var(--theme-text);
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                .search-item-meta {
                    display: flex;
                    align-items: center;
                    gap: 6px;
                    margin-top: 3px;

                    .search-item-badge {
                        font-size: 0.72rem;
                        font-weight: 600;
                        padding: 1px 6px;
                        border-radius: 4px;
                        background: rgba(var(--theme-text-rgb), 0.08);
                        color: var(--theme-text);
                    }
                }
            }

            .search-item-price {
                font-size: 1rem;
                font-weight: 700;
                color: var(--color-primary);
                white-space: nowrap;
                flex-shrink: 0;
            }
        }

        .search-no-results {
            padding: 48px 16px;
            text-align: center;
            color: rgba(var(--theme-text-rgb), 0.6);
            font-size: 0.95rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;

            i {
                font-size: 2.2rem;
                opacity: 0.35;
            }
        }
    }
}

@keyframes mobileSearchSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width: 992px) {
    body.nav-open {
        overflow: hidden;
    }
}

/* Sub Navigation Bar */
.subNav {
    background: rgba(var(--color-light-dark-rgb), 0.6);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid rgba(var(--theme-text-rgb), 0.1);
    height: 50px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;

    nav {
        ul {
            list-style: none;
            margin: 0px;
            padding: 0px;
            display: flex;
            align-items: center;
            gap: var(--space-m);

            li {
                display: flex;
                align-items: center;

                a {
                    color: var(--color-dark) !important;
                    display: flex;
                    align-items: center;
                    white-space: nowrap;
                }

                &:last-child a {
                    margin-right: var(--space-l);
                }

                .active {
                    text-decoration: underline;
                }
            }
        }
    }
}

/* Infinity Navigation Bar (Sonsuz Derinlik Kategori Navigasyonu) */
.infinity-nav {
    padding: var(--space-s) 0px;

    .infinity-nav-container {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .infinity-nav-wrapper {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;

        &::-webkit-scrollbar {
            display: none;
        }
    }

    .infinity-nav-track {
        list-style: none;
        margin: 0px;
        padding: 0px;
        display: flex;
        align-items: center;
        gap: var(--space-s);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .infinity-nav-item {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;

        &.back-item {
            position: sticky;
            left: 0;
            z-index: 5;
            background: rgba(var(--theme-background-rgb), 0.95);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding-right: var(--space-xs);
            margin-right: var(--space-xs);
        }

        &.all-item .infinity-nav-link {
            color: var(--color-primary) !important;
            font-weight: 600;
        }
    }

    .infinity-nav-link {
        color: var(--theme-text) !important;
        font-size: 0.92rem;
        font-weight: 500;
        padding: 6px 12px;
        border-radius: calc(var(--radius) /2);
        text-decoration: none;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        transition: background 0.15s ease, color 0.15s ease;

        &:hover {
            background: rgba(var(--theme-text-rgb), 0.06);
        }

        &:active {
            transform: scale(0.95);
        }

        &.active {
            font-weight: 700;
            background: rgba(var(--theme-text-rgb), 0.08);
            text-decoration: none;
        }
    }

    .infinity-nav-btn {
        background: transparent;
        border: none;
        font-size: 0.92rem;
        font-weight: 500;
        color: var(--theme-text);
        padding: 6px 12px;
        border-radius: var(--radius-s);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        white-space: nowrap;
        font-family: inherit;
        transition: background 0.15s ease, transform 0.15s ease;

        &:hover {
            background: rgba(var(--theme-text-rgb), 0.06);
        }

        &.active {
            font-weight: 700;
            background: rgba(var(--theme-text-rgb), 0.08);
        }

        &.drill-btn i {
            font-size: 0.78rem;
            opacity: 0.6;
            margin-left: 2px;
            transition: transform 0.15s ease;
        }

        &.drill-btn:hover i {
            transform: translateX(2px);
            opacity: 1;
        }

        &.back-btn {
            width: 32px;
            height: 32px;
            padding: 0;
            justify-content: center;
            border-radius: 50%;
            background: rgba(var(--theme-text-rgb), 0.06);
            color: var(--theme-text);

            &:hover {
                background: rgba(var(--theme-text-rgb), 0.12);
            }

            i {
                font-size: 0.95rem;
            }
        }
    }
}

/* Footer */
.footer-default {
    padding: var(--space-xl) 0;
    position: relative;
    z-index: -1;
    min-height: 300px;

    .container {
        ul {
            list-style: none;
            margin: 0px;
            padding: 0px;
            display: flex;
            flex-direction: column;
            gap: var(--space-m);

            li {
                a {
                    color: var(--theme-text);

                    &:hover {
                        color: var(--theme-text);
                    }
                }

                a.active {
                    color: var(--theme-text);
                }

            }
        }

        img {
            width: 24px !important;
            height: 24px !important;
        }

    }
}

.footer-deep {
    background-color: var(--theme-background-dark);

    .container {
        display: flex;
        justify-content: end;
        align-items: center;
        height: 50px;
    }
}


/* ==========================================================================
   10. PAGE HEADER & EDITORIAL CONTENT
   ========================================================================== */

/* Page Header Component */
.page-header {
    background-color: rgba(var(--theme-background-light), 1);
    border-bottom: 1px solid var(--theme-background-dark);
    min-height: var(--header-height);
    display: flex;
    align-items: center;

    h1 {
        font-weight: 400;
        color: var(--theme-text);
        font-size: var(--fs-2xl);

        @media(max-width: 768px) {
            font-size: var(--fs-xl);
        }
    }
}

.page-header.compact {
    h1 {
        width: 100%;
        max-width: calc(var(--container) / 2);
        margin: auto;
    }
}

/* Breadcrumb Component */
.breadcrumb-bar {
    width: 100%;
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    height: var(--space-2xl);
    display: flex;
    align-items: center;
    background-color: rgba(var(--theme-background-dark-rgb), 0.5);
}

.breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-xs);
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;

    a {
        color: rgba(var(--theme-text-rgb), 0.6);
        text-decoration: none;
        transition: color 0.2s ease;

        &:hover {
            color: var(--color-primary);
        }
    }

    .separator {
        color: rgba(var(--theme-text-rgb), 0.2);
        user-select: none;
        font-size: var(--fs-xs);
    }

    .current,
    [aria-current="page"] {
        color: var(--theme-text);
        font-weight: 500;
        opacity: 0.9;
    }
}

/* Category Tree (Hiyerarşik Kategori Ağacı) */
.category-tree {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs, 4px);

    li {
        list-style: none;
        position: relative;

        a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: var(--space-xs) var(--space-s);
            border-radius: var(--radius);
            color: var(--color-text, inherit);
            text-decoration: none;
            font-size: var(--fs-s);
            transition: background-color 0.2s ease, color 0.2s ease;

            &:hover {
                background-color: rgba(var(--color-primary-rgb), 0.08);
                color: var(--color-primary);
            }

            &.active {
                background-color: var(--color-primary);
                color: #fff;
                font-weight: 600;

                .count {
                    color: rgba(255, 255, 255, 0.8);
                }
            }

            .count {
                font-size: var(--fs-xs);
                opacity: 0.6;
            }
        }

        ul.sub-categories {
            list-style: none;
            padding-left: var(--space-m);
            margin: var(--space-2xs, 4px) 0;
            display: flex;
            flex-direction: column;
            gap: 2px;
            border-left: 1px solid rgba(var(--theme-text-rgb), 0.12);
        }
    }

    /* Collapse Modu: Sadece aktif/açık dalın alt kategorileri görünür */
    &.collapse,
    &.collaps {
        li ul.sub-categories {
            display: none;
        }

        li.open>ul.sub-categories,
        li.active>ul.sub-categories {
            display: flex;
        }
    }
}

/* Parent Category Navigation */
.main-category-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    @media(max-width: 992px) {
        display: none;
    }

    ul {
        display: flex;
        gap: var(--space-m);
        list-style: none;
        padding: 0;
        margin: 0;

        li a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            text-decoration: none;
            font-size: var(--fs-s);
            font-weight: 600;
            transition: all 0.2s ease;
            color: var(--color-dark-light);
            padding: 4px 8px;
            border-radius: var(--radius);

            &:hover {
                color: var(--theme-text);
                background-color: rgba(var(--theme-text-rgb), 0.05);
            }

            &:focus {
                background-color: rgba(var(--theme-text-rgb), 0.1);
            }

            &.active {
                color: var(--theme-text);
                background-color: rgba(var(--theme-text-rgb), 0.1);
            }

            .count {
                display: none;
            }
        }
    }
}

/* ============================================================
   Mobile Toggle & Drawer Component
   ============================================================ */
.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: var(--fs-2xl);
    color: var(--theme-text);
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;

    @media(max-width: 992px) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    &:hover {
        color: var(--color-primary);
    }
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 99999;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition: visibility 0.3s ease;

    &.open {
        visibility: visible;
        pointer-events: auto;

        .mobile-drawer-backdrop {
            opacity: 1;
        }

        .mobile-drawer-container {
            transform: translateX(0);
        }
    }
}

.mobile-drawer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: var(--theme-background-light);
    color: var(--theme-text);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: end;
    padding: var(--space-m) var(--space-l);
    border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    color: var(--theme-text);

    img {
        max-height: 32px;
        width: auto;
        object-fit: contain;
    }
}

.mobile-drawer-close {
    background: transparent;
    border: none;
    font-size: var(--fs-l);
    color: var(--theme-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-s);
    transition: all 0.2s ease;

}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-l);
    display: flex;
    flex-direction: column;
}

.mobile-drawer-content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.mobile-drawer-section-title {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--theme-text);
    border-bottom: 1px solid rgba(var(--theme-background-dark-rgb), 0.3);
    height: 30px;
    display: flex;
    align-items: center;
}

.mobile-category-nav,
.mobile-main-menu {
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0px !important;

        li {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 0px;

            a {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 10px 0px;
                color: var(--theme-text);
                text-decoration: none;
                font-size: var(--fs-m);
                font-weight: 500;
                transition: all 0.2s ease;
                border-bottom: 1px solid rgba(var(--theme-background-dark-rgb), 0.3);
            }

        }
    }
}

.mobile-drawer-footer {
    padding-top: var(--space-m);
    border-top: 1px solid var(--border-color);
}

.mobile-drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-s);
    color: var(--color-dark-light);
    text-decoration: none;

    &:hover {
        color: var(--theme-text);
    }
}

/* Article & Editorial Content */
.cover_image {
    width: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius) / 2);
}

.ar-1-1 {
    aspect-ratio: 1/1;
}

.ar-2-1 {
    aspect-ratio: 2/1;
}

.ar-3-2 {
    aspect-ratio: 3/2;
}

.ar-4-3 {
    aspect-ratio: 4/3;
}

.ar-5-4 {
    aspect-ratio: 5/4;
}

.ar-16-9 {
    aspect-ratio: 16/9;
}

.article-title {
    font-size: var(--fs-5xl);
    line-height: 1.3;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
    max-width: 900px;

    @media(max-width: 992px) {
        font-size: var(--fs-xl);
        line-height: 1.3em;
        letter-spacing: -0.5px;
    }
}

.article-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-l);

    img {
        max-width: 100% !important;
        min-width: none !important;
    }

    iframe {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }

    a {
        text-decoration: underline;
    }

    p {
        line-height: 1.8em;
        font-size: var(--fs-m);
    }
}

.article-content.compact {
    padding-bottom: var(--space-2xl);

    p,
    h3,
    ul {
        width: 100%;
        max-width: calc(var(--container) / 2);
        margin-inline: auto;
    }

    ul {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-s) !important;
        line-height: 1.8em !important;
    }
}

.article-content.hidden-first-paragraph {
    p:first-child {
        display: none;
    }
}

.dynamic-cards {
    .item {
        position: relative;
        border-radius: calc(var(--radius) / 1.5);
        overflow: hidden;

        img {
            transition: all 0.3s;
        }

        &:hover {
            img {
                transform: scale(1.1);

            }
        }

        &:after {
            content: "";
            position: absolute;
            left: 0px;
            right: 0px;
            bottom: 0px;
            top: 0px;
            background-image: linear-gradient(rgba(var(--color-dark-rgb), 0), rgba(var(--color-dark-rgb), 0.6));
            z-index: 0;

        }

        h3 {
            position: absolute !important;
            left: 0px;
            right: 0px;
            bottom: 0px;
            padding: var(--space-m) calc(var(--space-m) + 3px);
            margin: 0px;
            z-index: 1;
            color: var(--color-light-light);
        }
    }
}

/* Reklam Bannerları */
.renderAd {
    position: relative;
    overflow: hidden;

    img {
        object-fit: cover;
        border-radius: var(--radius-m);
    }

    /* Aspect Ratios */
    .ar-11 {
        aspect-ratio: 1/1;
        width: 100%;
    }

    .ar-43 {
        aspect-ratio: 4/3;
        width: 100%;
    }

    .ar-164 {
        aspect-ratio: 16/4;
        width: 100%;
    }

    .ar-169 {
        aspect-ratio: 16/9;
        width: 100%;
    }

    .ar-35 {
        aspect-ratio: 3/5;
        width: 100%;
    }

    .ar-32 {
        aspect-ratio: 3/2;
        width: 100%;
    }
}

/* Section Header Separator */
.home-section-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    align-items: center;

    h2 {
        font-weight: 400;
        color: var(--color-secondary);
        line-height: 1.3;
        font-family: 'Inter', sans-serif;
    }

    .vline {
        height: 60px;
        width: 2px;
        background-color: var(--color-primary);
    }
}

.home-hero-content {
    justify-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: var(--space-4xl) var(--space-m);

    @media(max-width: 768px) {
        padding: var(--space-3xl) var(--space-m);
    }

    img {
        width: 170px;
        margin: auto;
        opacity: 0.7;
    }

    p {
        max-width: 800px;
        margin: auto;
        color: var(--color-secondary-light);
        font-size: var(--fs-m);
        line-height: 1.8;
    }
}


/* ==========================================================================
   11. MODAL & INTERACTIVE SYSTEMS
   ========================================================================== */

/* Request / Quote Modal Component */
.request-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    @media(max-width: 768px) {
        padding: 0px;
    }


    .request-modal-dialog {
        max-width: 500px;
        width: 100%;
        max-height: 90vh;
        max-height: 90dvh;
        overflow-y: auto;
        transform: translateY(24px) scale(0.95);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
        display: flex;
        flex-direction: column;

        @media(max-width: 768px) {
            max-height: 100dvh;
            max-width: 100vw;
            width: 100vw;
            height: 100dvh;
            border-radius: 0px;
            overflow: hidden;
            padding: 0;

            .card-header {
                padding: var(--space) var(--space) 0 var(--space);
                flex-shrink: 0;
            }

            .request-modal-item-title {
                padding: 0 var(--space);
                flex-shrink: 0;
            }

            form {
                display: flex;
                flex-direction: column;
                flex: 1;
                min-height: 0;
                overflow: hidden;
                margin-top: var(--space-s) !important;
                gap: 0px !important;
            }

            .request-form-wrapper {
                flex: 1;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                padding: 0 var(--space) var(--space) var(--space);
            }

            .request-actions {
                flex-shrink: 0;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: var(--space-m);
                padding: var(--space);
                box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
                backdrop-filter: blur(20px);
                margin-top: 0px;
            }
        }
    }

    &.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        .request-modal-dialog {
            transform: translateY(0) scale(1);
        }
    }
}

.request-modal-trigger {
    margin: var(--space-xs) 0;
    position: relative;
    z-index: 999;

    @media(max-width: 768px) {
        position: fixed;
        left: 0px;
        right: 0px;
        bottom: 0px;
        padding: var(--space);
        background-color: var(--theme-background-light);
        border-radius: var(--radius) var(--radius) 0px 0px;
        border: none !important;

        .btn {
            width: 100%;
        }
    }
}

.request-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background-color 0.2s ease;

    &:hover {
        background-color: rgba(var(--theme-text-rgb), 0.08);
    }
}

/* SPA Modal / Drawer System */
body.spa-modal-open {
    overflow: hidden;
}

#spa-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#spa-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

#spa-modal-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: calc(100vh - 48px);
    z-index: 999999;
    transform: translate(-50%, 100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-radius: 24px 24px 0 0;
}

#spa-modal-container.active {
    transform: translate(-50%, 0);
}

#spa-modal-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    left: 0px;
    right: 0px;
    width: 100%;
    top: 0px;
    z-index: 10;
    pointer-events: none;
}

#spa-modal-header>* {
    pointer-events: auto;
}

#spa-modal-title {
    visibility: hidden;
}

#spa-modal-close {
    position: absolute;
    bottom: 100%;
    right: 24px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    align-items: center;
    justify-content: flex-end;
    display: flex;


    &:hover {
        color: white;
    }

    i {
        font-size: var(--fs-3xl);
    }

    .backicon {
        display: none;
    }

    @media(max-width: 992px) {
        justify-content: flex-start;
        right: none;
        left: 24px;

        .closeicon {
            display: none;
        }

        .backicon {
            display: block;
        }
    }
}

#spa-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
    background: white;
    border-radius: 12px;
}

#spa-modal-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#spa-modal-loader.active {
    display: block;
}

@media (max-width: 768px) {
    #spa-modal-container {
        max-width: 100%;
        border-radius: 0px;
    }

    #spa-modal-header {
        border-radius: 0px 0px 0 0;
    }
}

/* Content Tools Toolbar */
.content-tools-toolbar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    user-select: none;
    margin-top: var(--space-l);
}

.content-tool-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.content-tool-label {
    font-size: 0.85rem;
    color: #666;
    margin-right: 4px;
    font-weight: 500;
}

.content-tool-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.content-tool-btn:hover {
    background: #f0f0f0;
}

.content-tool-btn.active {
    background: var(--color-primary, #0d6efd);
    color: #fff;
    border-color: var(--color-primary-light, #0d6efd);
}

.share-btn {
    padding: 4px 8px;
    font-size: 1rem;
}

.share-btn.whatsapp:hover {
    color: #25D366;
    border-color: #25D366;
}

.share-btn.twitter:hover {
    color: #14171a;
    border-color: #14171a;
}

.share-btn.facebook:hover {
    color: #1877F2;
    border-color: #1877F2;
}

.share-btn.copy-link:hover {
    color: #0d6efd;
    border-color: #0d6efd;
}

.resize-content {
    transition: font-size 0.3s ease, line-height 0.3s ease;
}

/* Story Modal */
.story-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.story-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.story-modal-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease-out;
}

.story-modal-overlay.active .story-modal-container {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (min-width: 768px) {
    .story-modal-container {
        height: 85vh;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }
}

.story-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    object-fit: cover;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.story-modal-content {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
    pointer-events: none;
    padding: 12px;
    gap: var(--space-s);
}

.story-modal-content * {
    pointer-events: auto;
}

.story-badge {
    background: var(--color-primary);
    color: #fff;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    align-self: flex-start;
}

.story-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0px;
}

.story-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    display: flex;
    gap: 12px;
    align-items: center;
}

.story-desc {
    margin-bottom: 12px;
    padding: 0px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-btn {
    display: block;
    width: 100%;
    background: var(--color-primary);
    color: #fff !important;
    text-align: center;
    padding: 8px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
}

.story-btn:hover {
    background: var(--color-primary-dark);
}

.story-nav-zone {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 2;
    cursor: pointer;
}

.story-nav-prev {
    left: 0;
    width: 30%;
}

.story-nav-next {
    right: 0;
    width: 70%;
}

/* Story Desktop Navigation Arrows */
.story-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.2s;
}

.story-arrow-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

@media (min-width: 768px) {
    .story-arrow-btn {
        display: flex;
    }

    .story-arrow-prev {
        left: calc(50% - 225px - 70px);
    }

    .story-arrow-next {
        right: calc(50% - 225px - 70px);
    }
}

.story-close {
    position: absolute;
    top: 30px;
    right: 18px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.story-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.story-playpause {
    position: absolute;
    top: 30px;
    right: 64px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.story-playpause:hover {
    background: rgba(0, 0, 0, 0.8);
}

.story-progress-container {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.story-progress-bar.completed {
    background: #fff;
}

.story-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #fff;
}

.story-progress-bar.active .story-progress-fill {
    animation: storyProgress 4s linear forwards;
}

.story-progress-container.paused .story-progress-bar.active .story-progress-fill {
    animation-play-state: paused;
}

@keyframes storyProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}


/* ==========================================================================
   12. PAGE & SECTION COMPONENTS
   ========================================================================== */

/* Hero Banner Slider */
.slider {
    height: 100dvh;
    background-color: var(--color-dark-light);
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    justify-content: flex-end;
    padding: 0px var(--space-l);
    position: relative;
    overflow: hidden;

    @media(max-width: 768px) {
        height: 60vh;
        padding: 0px var(--space-m);
    }

    .slider-bg-wrapper {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
    }

    .slider-bg-slide {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        z-index: 0;

        &.active {
            opacity: 1;
            z-index: 1;
        }
    }

    .slider-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                rgba(var(--color-dark-rgb), 0.8) 0%,
                rgba(var(--color-dark-rgb), 0.15) 30%,
                rgba(var(--color-dark-rgb), 0.85) 100%);
        z-index: 2;
        pointer-events: none;
    }

    .container {
        position: relative;
        z-index: 3;
        padding-bottom: calc(var(--space-2xl) + 100px);

        @media(max-width: 768px) {
            padding: 0px;
            padding-bottom: calc(var(--space-l) + 50px);
            justify-items: center;
        }

        h1 {
            font-size: var(--fs-6xl);
            font-weight: 700;
            line-height: 1.3;
            font-family: 'Inter', sans-serif;
            letter-spacing: -1px;
            max-width: 600px;
            color: var(--color-light-dark);

            @media(max-width: 768px) {
                font-size: 12vw;
                line-height: 1.2em;
            }
        }

        p {
            font-size: var(--fs-m);
            line-height: 1.6em;
            max-width: 600px;
            color: rgba(var(--color-light-dark-rgb), 0.7);

            @media(max-width: 768px) {
                display: none;
            }
        }

        .actions {
            display: flex;
            gap: var(--space-m);
            margin-top: var(--space-l);

            @media(max-width: 768px) {
                width: 100%;
                display: grid;
                grid-template-columns: 1fr 1fr;
            }
        }
    }
}

/* Manşet Slider & Yazarlar Sidebar */
.manset-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    margin: var(--space-l) auto;
    width: 100%;
    max-width: var(--container);
    padding: 0 var(--space-m);

    @media(max-width: 992px) {
        grid-template-columns: 1fr;
        padding: 0 !important;
        margin-top: 0px;
    }
}

.manset-sidebar {
    background: var(--color-dark);
    border-radius: 0px var(--radius-m) var(--radius-m) 0px;
    padding: var(--space-m) var(--space-l);
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);

    @media(max-width: 992px) {
        border-radius: 0px;
        padding: var(--space-m);
        margin: 0px !important;
        gap: 0px;
    }
}

.manset-slider {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #000;
    border-radius: var(--radius-m) 0px 0px var(--radius-m);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    @media(max-width: 992px) {
        border-radius: 0;
    }
}

.manset-main-view {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;

    @media(max-width: 992px) {
        aspect-ratio: 1 / 1;
    }
}

.manset-main-view:active {
    cursor: grabbing;
}

.manset-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.2s;
}

.manset-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.manset-arrow.prev {
    left: 10px;
}

.manset-arrow.next {
    right: 10px;
}

@media(min-width: 768px) {
    .manset-arrow {
        display: flex;
    }
}

.manset-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.manset-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    text-decoration: none;
}

.manset-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manset-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
    padding: var(--space-xl) var(--space-m) var(--space-m);
    color: #fff;
    pointer-events: none;
}

.manset-slide-badge {
    background: var(--color-primary);
    color: #fff;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 8px;
    display: inline-block;
}

.manset-slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);

    @media(max-width: 768px) {
        font-size: 1.2rem;
    }
}

/* Manşet Thumbnails */
.manset-thumbnails {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: #000;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.manset-thumbnails::-webkit-scrollbar {
    display: none;
}

.manset-thumb {
    flex: 0 0 calc(20% - 6.4px);
    cursor: pointer;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    opacity: 0.5;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;

    @media(max-width: 768px) {
        flex: 0 0 calc(30% - 5.3px);
    }
}

.manset-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manset-thumb.active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--color-primary);
}

.manset-thumb:hover {
    opacity: 0.8;
}

/* Authors Sidebar */
.manset-sidebar-header {
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(var(--color-primary-rgb), 0.2);
    margin-bottom: var(--space-xs);
    padding-bottom: 8px;
}

.manset-sidebar-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-light-light);
    margin: 0;
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: -10px;
    padding-bottom: 8px;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    color: white;
    height: 100%;
    border-bottom: 1px solid rgba(var(--color-dark-light-rgb), 0.3);

    &:last-child {
        border: none;
    }

    @media(max-width: 992px) {
        padding: var(--space-m) 0px;
    }
}

.author-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-light-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.author-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-article {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-light-light);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Türkiye Gündemi Widget */
.gundem-widget .section-title {
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;

    i {
        font-size: 1.7rem;
        color: var(--color-primary);
    }

    h2 {
        font-size: 1.4rem;
        margin: 0;
        color: var(--theme-text);
        font-weight: 700;
    }
}

.gundem-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary-light) transparent;

    &::-webkit-scrollbar {
        height: 4px;
    }

    &::-webkit-scrollbar-thumb {
        background-color: var(--color-primary-light);
        border-radius: 4px;
    }
}

.gundem-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
    cursor: pointer;
    gap: var(--space-m);

    &:hover .gundem-card-img {
        transform: scale(1.05);
    }

    &:hover .gundem-card-title {
        color: var(--color-primary);
    }
}

.gundem-card-img-wrap {
    display: block;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-m);
}

.gundem-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: #fff;
    z-index: 2;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
}

.gundem-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gundem-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gundem-card-meta {
    font-size: 0.8rem;
    color: var(--color-secondary);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    strong {
        color: var(--color-primary-dark);
    }
}

.gundem-card-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--theme-text);
    text-decoration: none;
    transition: color 0.2s;
}

.gundem-card-desc {
    font-size: 0.95rem;
    color: var(--color-secondary-dark);
    flex: 1;
    line-height: 1.5;
    margin: 0;
}

.gundem-card-action {
    margin-top: 20px;
    width: 100%;
}

.gundem-container {
    width: 100%;
    max-width: var(--container);
    margin: auto;
    padding: var(--space-m);

    @media(max-width: 992px) {
        padding: 0;

        .section-title {
            margin-left: var(--space-m);
            margin-right: var(--space-m);
        }

        .gundem-grid {
            padding-left: 0 !important;
            padding-right: 0 !important;
            scroll-padding-left: var(--space-m);
            scroll-padding-right: var(--space-m);

            .card:first-child {
                margin-left: var(--space-m);
            }

            .card:last-child {
                margin-right: var(--space-m);
            }
        }
    }
}

/* Nöbetçi Eczane Widget */
.pharmacy-widget {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--color-primary);
    color: white;
    padding: var(--space-m) 0px;

    .container {
        display: grid;
        grid-template-columns: 50px auto;
        gap: var(--space-m);
        align-items: center;
        position: relative;

        @media(max-width: 992px) {
            align-items: flex-start;
            grid-template-columns: 1fr;

            .e-icon {
                position: absolute;
                right: 12px;
                top: -32px;
                width: 40px;
                background-color: var(--color-primary);
                box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
                padding: 3px;
                border-radius: 3px;
            }
        }
    }

    .pharmacy-card {
        display: flex;
        justify-content: space-between;
        align-items: center;

        @media(max-width: 992px) {
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            gap: var(--space-s);
            width: 100%;

            .pharmacy-card-footer {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: var(--space-s);
                width: 100%;
            }
        }
    }
}

/* Hizmetler / Services Carousel (Horizontal Flex Scroller) */
.services-wrapper,
.carousel-wrapper {
    width: 100%;
    max-width: var(--container);
    padding: 0px var(--space);
    margin: auto;
    position: relative;

    @media(max-width: 768px) {
        padding: 0px;
    }

    /* Minimal Bottom Navigation (< · · · · >) */
    .carousel-nav-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-s);
        margin-top: var(--space-m);
        user-select: none;

        &.hidden {
            display: none !important;
        }

        .carousel-control-btn {
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 4px 8px;
            font-size: 1.15rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: color 0.2s ease, transform 0.2s ease;

            &:hover:not(:disabled) {
                color: var(--color-primary);
                transform: scale(1.15);
            }

            &:disabled,
            &.disabled {
                opacity: 0.25;
                cursor: default;
                pointer-events: none;
            }
        }

        .carousel-dots {
            display: flex;
            align-items: center;
            gap: 8px;

            .carousel-dot {
                width: 7px;
                height: 7px;
                border-radius: 50%;
                background: rgba(var(--color-light-rgb), 0.3);
                cursor: pointer;
                transition: all 0.25s ease;

                &:hover {
                    background: rgba(var(--color-light-rgb), 0.6);
                }

                &.active {
                    background: var(--color-primary);
                    width: 22px;
                    border-radius: 4px;
                }
            }
        }
    }

    .services-track,
    .carousel-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: var(--space-l);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;

        &::-webkit-scrollbar {
            display: none;
        }

        @media(max-width: 768px) {
            padding: 0px var(--space-m);
            scroll-padding: 0 var(--space-m);
            gap: var(--space-m);
        }

        >* {
            flex: 0 0 300px !important;
            width: 300px !important;
            max-width: 300px !important;
            scroll-snap-align: start;

            @media(max-width: 768px) {
                flex: 0 0 78vw !important;
                width: 78vw !important;
                max-width: 290px !important;
            }
        }
    }
}


/* CSS for Large Centered Carousel */
.carousel-large-wrapper {
    /* --- AYARLAR (SETTINGS) --- */
    --cl-card-width-desktop: 720px;
    --cl-card-width-mobile: 85vw;
    --cl-gap-desktop: var(--space-s);
    --cl-gap-mobile: var(--space);
    --cl-inactive-opacity: 0.7;
    --cl-inactive-scale: 0.95;
    /* -------------------------- */

    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0px 0px;
}

.carousel-large-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: var(--cl-gap-desktop);
    /* Centers the card perfectly */
    padding: 0px calc(50% - (var(--cl-card-width-desktop) / 2));
    -ms-overflow-style: none;
    scrollbar-width: none;
    align-items: stretch;
}

.carousel-large-track::-webkit-scrollbar {
    display: none;
}

.carousel-large-track {
    overscroll-behavior-x: contain;
}

/* Sonsuz döngü ışınlaması sırasında animasyonları kapat (titremeyi önler) */
.carousel-large-track.cl-jumping>* {
    transition: none !important;
}

.carousel-large-track>* {
    scroll-snap-align: center;
    flex: 0 0 auto;
    width: var(--cl-card-width-desktop);
    max-width: 100vw;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Optional: Slight fade/scale effect for items not in focus */
.carousel-large-track>*:not(.in-view) {
    opacity: var(--cl-inactive-opacity);
    transform: scale(var(--cl-inactive-scale));
}

.carousel-large-track>*.in-view {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.carousel-large-track .card {
    position: relative;

    .scale {
        img {
            transform: scale(1) !important;
        }
    }

    .card-info {
        position: absolute;
        left: 0px;
        bottom: 0px;
        right: 0px;
        padding: var(--space);
        background: linear-gradient(to top, rgba(var(--color-dark-rgb), 0.7) 40%, transparent 100%);
        z-index: 5;
        border-radius: calc(var(--radius) / 1.5);

        h3 {
            font-size: var(--fs-3xl);

            @media(max-width: 768px) {
                font-size: var(--fs-xl);
            }
        }

        a,
        p,
        i,
        div {
            color: white;
        }

    }

    .card-meta,
    .card-location {
        display: none !important;
    }
}


@media (max-width: 768px) {
    .carousel-large-track {
        gap: var(--cl-gap-mobile);
        padding: 20px calc(50% - (var(--cl-card-width-mobile) / 2));
    }

    .carousel-large-track>* {
        width: var(--cl-card-width-mobile);
    }
}


/* Quote Call-To-Action Component */
.quote-cta-section {
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 2;

    @media(max-width: 768px) {
        padding: var(--space-xl) 0;
    }

    .quote-cta-card {
        position: relative;
        background-color: rgba(var(--color-primary-rgb), 0.08);
        border: 1px solid rgba(var(--color-primary-rgb), 0.4);
        padding: var(--space-xl);
        display: flex;
        flex-direction: column;
        gap: var(--space-l);
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        border-radius: var(--radius);

        @media(max-width: 768px) {
            padding: var(--space-m);
        }

        &:after {
            content: "";
            position: absolute;
            inset: -2px;
            padding: 2px;
            border-radius: inherit;
            z-index: 1;
            animation: borderGlowSweepRepeat 6s cubic-bezier(0.2, 0, 0.2, 1) infinite;
        }

        .cta-glow-bg {
            position: absolute;
            top: -60%;
            right: -20%;
            width: 80%;
            height: 200%;
            pointer-events: none;
            z-index: 0;
        }

        .quote-cta-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            gap: var(--space-xs);

            .cta-title {
                font-size: var(--fs-xl);
                font-weight: 600;
                color: var(--color-light-light);
                line-height: 1.3;
                margin: 0;
            }

            .cta-desc {
                font-size: var(--fs-s);
                color: var(--color-secondary-light);
                line-height: 1.5;
                margin: 0;
            }
        }

        .quote-cta-contacts {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            gap: var(--space-s);
            width: 100%;

            .cta-contact-item {
                display: flex;
                align-items: center;
                gap: var(--space-m);
                padding: 12px 16px;
                background: rgba(var(--color-dark-dark-rgb), 0.35);
                border: 1px solid rgba(var(--color-primary-rgb), 0.2);
                text-decoration: none;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                color: var(--color-light-light);
                border-radius: var(--radius-s);

                .contact-icon {
                    width: 38px;
                    height: 38px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background: rgba(var(--color-primary-rgb), 0.2);
                    color: var(--color-primary-light);
                    font-size: 1.1rem;
                    flex-shrink: 0;
                    transition: all 0.3s ease;
                }

                .contact-details {
                    display: flex;
                    flex-direction: column;
                    gap: 2px;
                    overflow: hidden;

                    .contact-label {
                        font-size: 0.75rem;
                        color: var(--color-secondary-light);
                        text-transform: uppercase;
                        letter-spacing: 0.5px;
                        line-height: 1;
                    }

                    .contact-value {
                        font-size: var(--fs-s);
                        font-weight: 600;
                        color: var(--color-light-light);
                        line-height: 1.3;
                        word-break: break-all;
                    }
                }

                &:hover {
                    background: rgba(var(--color-primary-rgb), 0.18);
                    border-color: var(--color-primary-light);
                    transform: translateY(-2px);
                    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);

                    .contact-icon {
                        background: var(--color-primary);
                        color: #ffffff;
                        transform: scale(1.08);
                    }
                }

                &.whatsapp-link:hover {
                    border-color: #25D366;

                    .contact-icon {
                        background: #25D366;
                        color: #ffffff;
                    }
                }
            }
        }
    }
}

/* About Section & Accordion FAQs */

.faqs-area {
    min-height: 450px;
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;

    .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: end;
        flex: 1;
        gap: var(--space-m);
    }

    @media(max-width: 768px) {
        min-height: 320px;
        background: none !important;

        .container {
            grid-template-columns: 1fr;
        }
    }
}


.about {
    @media(max-width: 768px) {
        order: 2;
    }
}


/* FAQ Accordion Component */
.faq-section {
    color: var(--theme-text);
    background-color: var(--theme-background-light);
    padding: var(--space);
    border-radius: var(--radius);

    .faq-accordion {
        .faq-item {
            .faq-question {
                display: flex;
                justify-content: space-between;
                cursor: pointer;
                border-bottom: 1px solid rgba(var(--theme-text-rgb), 0.2);
                padding: 12px 0px;
            }

            .faq-answer {
                padding-top: var(--space-m);
            }
        }
    }

    @media(max-width: 768px) {
        order: 0;
    }
}

/* Contact Branches Component */
.contact-branches-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);

    .contact-branch-card {
        display: flex;
        flex-direction: column;
        gap: var(--space-l);
        overflow: hidden;

        .branch-map-wrapper {
            overflow: hidden;
            border-radius: var(--radius);

            iframe {
                display: block;
                width: 100%;
                height: 380px;
                border: 0;
            }
        }

        .branch-info-content {
            display: flex;
            flex-direction: column;
            gap: var(--space-m);

            .branch-title {
                font-size: var(--fs-l);
                font-weight: 600;
                margin: 0;
            }

            .branch-details-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
                gap: var(--space-l);

                .branch-detail-item {
                    display: flex;
                    align-items: flex-start;
                    gap: var(--space-m);

                    .detail-icon {
                        color: var(--color-secondary);
                        line-height: 1;
                        margin-top: 2px;
                    }

                    .detail-text {
                        display: flex;
                        flex-direction: column;
                        gap: 4px;

                        .detail-label {
                            font-size: var(--fs-xs);
                            text-transform: uppercase;
                            letter-spacing: 0.5px;
                        }

                        .detail-val {
                            text-decoration: none;
                            transition: color 0.2s ease;

                            &:hover {
                                color: var(--color-primary-light);
                            }
                        }
                    }
                }
            }
        }
    }
}

/* ==========================================================================
   Cart Items Responsive List (Mobile-friendly Div Layout)
   ========================================================================== */
.cart-items-list {
    width: 100%;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    padding: var(--space-m) 0;
    border-bottom: 1px solid var(--border-dark);
    transition: transform 0.25s ease, opacity 0.25s ease;

    &:last-child {
        border-bottom: none;
    }

    .cart-item-info {
        display: flex;
        align-items: center;
        gap: var(--space-m);
        flex: 1;
        min-width: 0;

        .cart-item-img {
            width: 64px;
            height: 64px;
            object-fit: cover;
            border-radius: calc(var(--radius) / 2);
            flex-shrink: 0;

            @media(max-width: 768px) {
                width: 100px;
            }

            &.no-img {
                background: rgba(var(--theme-text-rgb), 0.08);
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--color-secondary);
                font-size: 1.3rem;
            }
        }

        .cart-item-details {
            display: flex;
            flex-direction: column;
            gap: 4px;
            min-width: 0;

            .cart-item-title {
                font-weight: 600;
                font-size: 1rem;
                line-height: 1.3;
                margin: 0;
                color: var(--theme-text);
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: normal;
            }

            .cart-item-unit-price {
                font-size: 0.85rem;
                color: var(--color-primary);
                font-weight: 600;
            }
        }
    }

    .cart-item-actions {
        display: grid;
        grid-template-columns: 1fr 120px 45px;
        align-items: center;
        gap: var(--space-l);
        flex-shrink: 0;

        .cart-item-qty-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
        }

        .cart-item-total {
            font-weight: 700;
            font-size: 1.05rem;
            min-width: 90px;
            text-align: right;
        }

        .btn-remove {
            color: var(--color-danger);
            width: 34px;
            height: 34px;
            font-size: 1rem;
            background: transparent;
            border: none;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            pointer-events: auto;
            transition: background 0.2s ease, transform 0.15s ease;

            &:hover {
                background: rgba(239, 68, 68, 0.1);
                transform: scale(1.15);
            }

            i {
                pointer-events: none;
            }
        }
    }

    /* Mobilde 2 Satırlı Düzen */
    @media(max-width: 640px) {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-m);
        padding: var(--space-m) 0;

        .cart-item-info {
            width: 100%;
        }

        .cart-item-actions {
            width: 100%;
            display: grid;
            grid-template-columns: 100px auto 30px;
            align-items: center;
            gap: var(--space-s);
            padding-bottom: var(--space-l);
            border-bottom: 1px solid rgba(var(--theme-text-rgb), 0.1);

            .cart-item-total {
                font-size: 1.1rem;
                text-align: right;
                flex: 1;
            }

            .cart-item-qty-wrap {
                display: flex;
                justify-content: flex-start;

                .quantity-stepper {
                    width: 100%;
                }
            }
        }

        &:last-child .cart-item-actions {
            border-bottom: none !important;
        }

    }
}

/* ==========================================================================
   FLATPICKR CUSTOM THEME (Dark/Light mode support)
   ========================================================================== */
.flatpickr-calendar {
    background: var(--theme-background) !important;
    box-shadow: var(--shadow) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius) !important;
}

.flatpickr-calendar.inline {
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
}

.flatpickr-months .flatpickr-month {
    color: var(--theme-text) !important;
    fill: var(--theme-text) !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: var(--theme-text) !important;
    fill: var(--theme-text) !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    color: var(--color-primary) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--color-primary) !important;
}

span.flatpickr-weekday {
    color: var(--theme-text) !important;
    opacity: 0.7;
}

.flatpickr-day {
    color: var(--theme-text) !important;
}

.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
    background: rgba(var(--color-primary-rgb), 0.1) !important;
    border-color: transparent !important;
}

.flatpickr-day.today {
    border-color: var(--color-primary) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--color-primary) !important;
    color: var(--color-light) !important;
    border-color: var(--color-primary) !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: var(--color-secondary) !important;
    background: transparent !important;
    opacity: 0.5;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
    background-color: var(--theme-background) !important;
}

/* ============================================================ */
/* Real Estate Module                                           */
/* ============================================================ */

/* Real Estate Card */
.realestate-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-elevated);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.realestate-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.realestate-card .card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.realestate-card .card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.realestate-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.realestate-card .status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--radius-s);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.realestate-card .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.realestate-card .card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.realestate-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-text);
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.realestate-card .card-location {
    font-size: 0.85rem;
    color: var(--color-secondary);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.realestate-card .card-location i {
    color: var(--color-primary);
    margin-top: 2px;
}

.realestate-card .card-meta {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.realestate-card .card-meta span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--theme-text);
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--theme-background);
    padding: 6px 12px;
    border-radius: var(--radius-s);
}

.realestate-card .card-meta i {
    color: var(--color-secondary);
    font-size: 1.1rem;
}

/* Detail Page Layout */
.item-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 991px) {
    .item-detail-layout {
        grid-template-columns: 1fr;
    }
}

.item-detail-hero {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.item-detail-hero img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.re-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.re-feature-item {
    background: var(--theme-background);
    padding: 16px;
    border-radius: var(--radius-m);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-feature-item .lbl {
    font-size: 0.8rem;
    color: var(--color-secondary);
    font-weight: 500;
}

.re-feature-item .val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--theme-text);
}

.re-sidebar-card {
    background: var(--color-bg-elevated);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 32px;
}

.re-sidebar-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 24px;
    text-align: center;
}

.re-sidebar-card .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    font-weight: 600;
    font-size: 1.05rem;
    width: 100%;
    margin-bottom: 12px;
    border-radius: var(--radius-md);
}

/* WhatsApp Floating Button */
.wa-float {
    position: fixed;
    bottom: calc(var(--space-l, 24px) + env(safe-area-inset-bottom, 0px));
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    min-width: 56px;
    padding: 0;
    border-radius: 999px;
    background: #25d366;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    animation: wa-float-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wa-float-right {
    right: var(--space-l, 24px);
}

.wa-float-left {
    left: var(--space-l, 24px);
}

.wa-float:hover {
    background: #1ebe5b;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 30px -6px rgba(37, 211, 102, 0.65), 0 6px 14px rgba(0, 0, 0, 0.18);
}

.wa-float-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    font-size: 1.75rem;
    line-height: 1;
}

/* Yumuşak nabız halkası */
.wa-float-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.45);
    z-index: -1;
    animation: wa-pulse 2.4s ease-out infinite;
}

.wa-float.has-label {
    padding-right: 22px;
}

.wa-float-left.has-label {
    padding-right: 22px;
}

.wa-float-label {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    color: #fff;
}

/* Modal içinde ve mobil menü açıkken tekrar gösterme */
#spa-modal-content .wa-float,
body.drawer-open .wa-float,
body.spa-modal-open .wa-float {
    display: none !important;
}

/* Visual Builder önizlemesinde sabit konum yerine yerinde göster */
.wa-float.is-preview {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    margin: var(--space-m, 16px);
}

@media (max-width: 768px) {
    .wa-float {
        height: 52px;
        min-width: 52px;
        bottom: calc(var(--space-m, 16px) + env(safe-area-inset-bottom, 0px));
    }

    .wa-float-right {
        right: var(--space-m, 16px);
    }

    .wa-float-left {
        left: var(--space-m, 16px);
    }

    .wa-float-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        font-size: 1.6rem;
    }

    .wa-float-label {
        display: none;
    }

    .wa-float.has-label {
        padding-right: 0;
    }
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.6);
        opacity: 0;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes wa-float-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {

    .wa-float,
    .wa-float-icon::before {
        animation: none;
    }
}