/* Late styles extracted from index.html */

/* Original style block 19 */
@import url("fixManufactory.css");

/* Original style block 20 */
.seo-datok-banner {
            width: 100%;
            max-width: 320px;
            height: 140px;
            margin: 10px 0;
            padding: 0;
            overflow: hidden;
            background: transparent;
            border: none;
            box-shadow: none;
            line-height: 0;
        }
        
        .seo-datok-banner a {
            display: block;
            width: 100%;
            height: 100%;
        }
        
        .seo-datok-banner img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            background: transparent;
            border: none;
        }
        
        @media (max-width: 768px) {
            .seo-datok-banner {
                max-width: 100%;
                height: 120px;
            }
        }

/* Original style block 21 */
.product-wrap .product-options .form-option-item.is-color {
                padding: 5px 9px;
            }

            .widget-box #Revolving {
                width: 32px !important;
                min-width: 32px !important;
            }

            .product-wrap .product-options .form-option-item {
                border: 1px solid #D1D1D1;
                padding: 5px 9px;
            }

            .price-financing-divider.text-left span {
                display: none
            }

            .product-wrap .product-similar-links {
                align-items: flex-start;
            }

            .product-wrap .product-similar-link {
                align-items: flex-start;
                max-width: none;
            }

            .product-wrap .product-similar-link .product-similar-content {
                display: block;
                min-width: 92px;
            }

            .product-wrap .product-similar-link.is-see-more {
                max-width: none;
            }

            .product-wrap .product-similar-link.is-see-more .product-similar-content {
                min-width: 70px;
            }

            .product-wrap .product-similar-link .link-more:hover {
                white-space: normal;
                -webkit-line-clamp: unset;
                max-height: none;
            }

/* Original style block 22 */
.header2021 .page-content-inner {
                max-width: inherit !important;
            }

/* Original style block 23 */
.product-wrap .product-options.is-more .form-options:not(:first-child) {
                display: block;
            }

            .product-wrap .product-options .product-bullets-more {
                display: none;
            }

/* Original style block 24 */
.modal-intermediary .squaretrade-banner img {
                width: inherit;
            }

            .modal-intermediary .squaretrade-wrap {
                width: inherit;
            }

/* Original style block 25 */
.header2021-user-bar {
                background: #eee
            }

            .header2021-user-bar::before {
                background: none
            }

            .header2021-account.menu.at-bottom>.menu-body.bg-white>.header2021-user-bar~.menu-arrow::before {
                border-bottom-color: #eee
            }

            .header2021-user-bar>.menu-list {
                right: 10px;
                position: absolute;
            }

/* Original style block 26 */
.is-new ek-badge {
                top: 0 !important;
            }

            .dark-mode #product-overview .ccs-cc-inline-overlay-outer *:not([class^="jw-"]) {
                background-color: transparent !important;
            }

            .page-section {
                margin-top: 0;
            }

/* Original style block 27 */
.item-img>img,
            .goods-img>img {
                object-fit: contain
            }

/* Original style block 28 */
#product-details div.tab-panes div.is-filter ul>li:nth-child(1)>label>span.form-checkbox-title {
                font-weight: bold
            }

            #product-details div.tab-panes div.is-filter div.comments-action-title {
                font-weight: normal
            }

/* Original style block 29 */
.robot-chat-popup .robot-chat-popup-right .robot-entry-cell-inner .quick-cardbox .swiper-slide {
                width: calc((100% - 28px) / 3) !important;
            }

/* Original style block 30 */
.product-make-offer:hover {
                background-color: #EFEFEF;
            }

            .product-make-offer {
                border: 2px solid #CC4100;
            }

/* Original style block 31 */
.dark-mode .product-make-offer:hover {
                background-color: #000;
            }

            #modal-make-offer .offer-popup {
                font-family: 'Open Sans', sans-serif, Helvetica, Arial;
            }

            #modal-make-offer .modal-make-title .display-flex span i:hover .offer-popup::before {
                border-width: 0;
            }

/* Original style block 32 */
#Page_Footer_Full .compare-items-improvement .button-clear-all {
                color: white;
            }

/* Original style block 33 */
.osano-cm-window__opt-out-honored-wrapper {
                display: none
            }

/* Original style block 34 */
dialog.robot-chat-popup .robot-item-con .affirm-as-low-as {
                color: limegreen;
                font-weight: 600;
            }

            dialog.robot-chat-popup .item-cell-action-price .affirm-as-low-as {
                margin-top: -10px;
                color: limegreen;
                font-weight: 600;
                margin-bottom: 10px;
                text-align: right;
            }

            dialog.robot-chat-popup .affirm-as-low-as .affirm-modal-trigger:hover {
                text-decoration: underline;
            }

/* Original style block 35 */
.in-app body {
                padding-bottom: calc(var(--app-tab-height) + var(--safe-area-inset-bottom));
            }

            .in-app .s-popup {
                bottom: calc(var(--app-tab-height) + var(--safe-area-inset-bottom));
            }

/* Original style block 36 */
@container app (max-width:699px) {
                .floating-robot-pop dialog.robot-chat-popup .robot-chat-input-bar .robot-message-bar .form-textarea {
                    font-size: 16px !important;
                }
            }

/* Original style block 37 */
.floating-robot {
                right: 10px;
            }

            .floating-right-controls {
                display: none;
            }

            .floating-compare {
                display: none;
            }

            .header2021 {
                background: #000000 !important;
                color: #fff !important;
            }

/* Original style block 38 */
.product-combo-box.product-inner-combo .tab-panes .tab-pane .swiper-box {
                margin: 0;
            }

/* Original style block 39 (type="text/css") */
.header2021-links {
                                margin-top: -5px;
                                margin-bottom: -5px;
                            }

                            .header2021-links .button span {
                                margin: 0;
                            }

                            .header2021-links .button .ico {
                                font-size: 14px;
                            }

/* Original style block 40 (type="text/css") */
.nav-x-body-top-bar {
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                        }

                        .browsing-history {
                            font-weight: 700;
                            color: #212121;
                            margin-left: auto;
                        }

                        .browsing-history span {
                            display: inline-block;
                        }

/* Original style block 41 */
.strikethrough-price-popover-content.popover.show {
                                                                    max-width: 400px;
                                                                    padding: 10px
                                                                }

                                                                .strikethrough-price-popover-content ol {
                                                                    list-style: decimal;
                                                                    list-style-position: inside;
                                                                    text-indent: 20px;
                                                                }

                                                                .strikethrough-price-popover-content a {
                                                                    text-decoration: underline;
                                                                }

/* Original style block 42 */
.daftar-gif-box {
                                                    width: 100%;
                                                    max-width: 100%;
                                                    height: 115px;
                                                    margin: 10px 0 14px;
                                                    padding: 8px;
                                                    overflow: hidden;
                                                    border-radius: 5px;
                                                    background: #f6f6f6;
                                                    box-sizing: border-box;
                                                    line-height: 0;
                                                }
                                                
                                                .daftar-gif-box a {
                                                    display: flex;
                                                    align-items: center;
                                                    justify-content: center;
                                                    width: 100%;
                                                    height: 100%;
                                                    overflow: hidden;
                                                }
                                                
                                                .daftar-gif-box img {
                                                    display: block;
                                                    width: auto;
                                                    max-width: 100%;
                                                    height: auto;
                                                    max-height: 100%;
                                                    margin: auto;
                                                    border: 0;
                                                    object-fit: contain;
                                                    object-position: center;
                                                }

/* Original style block 43 */
.trade-in-loading-dots {
                                        display: inline-block;
                                        width: 1.5em;
                                        text-align: left;
                                    }

                                    .trade-in-loading-dots::after {
                                        content: '.';
                                        animation: tradeinDots 1.2s steps(1, end) infinite;
                                    }

                                    @keyframes tradeinDots {
                                        0% {
                                            content: '.';
                                        }

                                        33% {
                                            content: '..';
                                        }

                                        66% {
                                            content: '...';
                                        }
                                    }

/* Original style block 44 */
.trade-in-loading-dots {
                                                display: inline-block;
                                                width: 1.5em;
                                                text-align: left;
                                            }

                                            .trade-in-loading-dots::after {
                                                content: '.';
                                                animation: tradeinDots 1.2s steps(1, end) infinite;
                                            }

                                            @keyframes tradeinDots {
                                                0% {
                                                    content: '.';
                                                }

                                                33% {
                                                    content: '..';
                                                }

                                                66% {
                                                    content: '...';
                                                }
                                            }

/* Original style block 45 */
.product-wrap .product-banner .u2a566467-75c2-454f-baaa-cd61a99c56c9 {
                                                    position: absolute;
                                                    top: 5px;
                                                    right: 0;
                                                }

                                                .u2a566467-75c2-454f-baaa-cd61a99c56c9 {
                                                    color: #707070;
                                                    font-size: 11px;
                                                }

                                                .u2a566467-75c2-454f-baaa-cd61a99c56c9:hover .menu-box-menu {
                                                    display: block;
                                                }

                                                .dark-mode .u2a566467-75c2-454f-baaa-cd61a99c56c9 {
                                                    color: #aaa !important;
                                                }

                                                @keyframes marquee {
                                                    0% {
                                                        transform: translateX(100%);
                                                    }

                                                    100% {
                                                        transform: translateX(-100%);
                                                    }
                                                }

/* Original style block 46 */
.modern-content,
.modern-content * {
    box-sizing: border-box;
}

.modern-content {
    --mc-primary: #c91423;
    --mc-primary-soft: #210408;
    --mc-accent: #ff9c2a;
    --mc-text: #111827;
    --mc-muted: #6b7280;
    --mc-border: #e5e7eb;
    --mc-bg: #ffffff;
    --mc-card: rgba(255, 255, 255, .94);

    position: relative;

    /* Container diperlebar */
    width: calc(100% - 40px);
    max-width: 1480px;

    margin: 30px auto;
    padding: 36px;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, .9);
    border-radius: 24px;
    color: var(--mc-text);

    background:
        radial-gradient(circle at 0 0, #2a0308 0%, #080304 34%, transparent 58%),
        radial-gradient(
            circle at 100% 100%,
            rgba(207, 18, 34, .14),
            transparent 30%
        ),
        #050505;

    box-shadow:
        0 24px 70px rgba(15, 23, 42, .16),
        inset 0 1px 0 rgba(255, 255, 255, .10);

    font-family: Inter, Arial, Helvetica, sans-serif;
}

.modern-content::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -110px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(205, 18, 34, .14);
    filter: blur(8px);
    pointer-events: none;
}

/* HERO */
.modern-content__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin-bottom: 30px;
    padding: 32px 36px;
    overflow: hidden;
    border-radius: 20px;
    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgba(73, 4, 11, .98),
            rgba(192, 14, 29, .94)
        ),
        #0f172a;

    box-shadow: 0 18px 40px rgba(0, 0, 0, .30);
}

.modern-content__hero::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -95px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.modern-content__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ffe09a;
}

.modern-content__eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffbd45;
    box-shadow: 0 0 0 5px rgba(207, 18, 34, .22);
}

.modern-content__hero h2 {
    margin: 0;
    max-width: 980px;
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: -.03em;
}

.modern-content__hero p {
    margin: 12px 0 0;
    max-width: 950px;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.75;
}

.modern-content__badge {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-width: 130px;
    min-height: 116px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 24px;
    color: #fff;
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    text-align: center;
}

/* GRID UTAMA */
.modern-content__grid {
    display: grid;

    /* Artikel lebih lebar daripada testimoni */
    grid-template-columns: minmax(0, 2fr) minmax(360px, .82fr);

    gap: 26px;
    align-items: stretch;
}

/* Kolom kiri */
.modern-content__grid > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Card testimoni kanan */
.modern-content__grid > aside.modern-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100%;
    margin: 0;
}

/* CARD */
.modern-card {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 20px;
    background: var(--mc-card);

    box-shadow:
        0 14px 32px rgba(15, 23, 42, .09),
        inset 0 1px 0 rgba(255, 255, 255, .80);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modern-card + .modern-card {
    margin-top: 24px;
}

.modern-card__title {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
    margin: 0 0 20px;
    font-size: 23px;
    line-height: 1.3;
    color: var(--mc-text);
}

.modern-card__icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: var(--mc-primary);
    background: var(--mc-primary-soft);
    font-size: 20px;
}

/* ARTIKEL */
.modern-article p {
    margin: 0 0 18px;
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
}

.modern-article p:last-child {
    margin-bottom: 0;
}

/* FAQ TANPA SCROLL */
.modern-faq {
    display: grid;
    gap: 12px;
    max-height: none;
    padding-right: 0;
    overflow: visible;
}

.modern-faq details {
    overflow: hidden;
    border: 1px solid var(--mc-border);
    border-radius: 15px;
    background: #fff;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.modern-faq details:hover {
    border-color: #f6d873;
    box-shadow: 0 10px 24px rgba(235, 185, 37, .12);
    transform: translateY(-1px);
}

.modern-faq details[open] {
    border-color: #ffd800;
    box-shadow: 0 12px 26px rgba(235, 185, 37, .15);
}

.modern-faq summary {
    position: relative;
    padding: 17px 52px 17px 18px;
    cursor: pointer;
    list-style: none;
    color: #1e293b;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
}

.modern-faq summary::-webkit-details-marker {
    display: none;
}

.modern-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 17px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    color: var(--mc-primary);
    background: var(--mc-primary-soft);
    font-size: 20px;
    transform: translateY(-50%);
}

.modern-faq details[open] summary::after {
    content: "−";
}

.modern-faq__answer {
    padding: 0 18px 18px;
    color: var(--mc-muted);
    font-size: 14.5px;
    line-height: 1.75;
}

/* TESTIMONI */
.modern-testimonials {
    display: grid;
    grid-auto-rows: max-content;
    align-content: start;

    /* Isi sisa tinggi card kanan */
    flex: 1;
    min-height: 0;
    max-height: none;

    gap: 15px;
    padding-right: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-color: #d5b538 transparent;
}

.modern-testimonials::-webkit-scrollbar {
    width: 6px;
}

.modern-testimonials::-webkit-scrollbar-track {
    border-radius: 999px;
    background: transparent;
}

.modern-testimonials::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #d5b538;
}

.modern-testimonials::-webkit-scrollbar-thumb:hover {
    background: #ad8c12;
}

.modern-testimonial {
    position: relative;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--mc-border);
    border-radius: 16px;
    background: #fff;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.modern-testimonial:hover {
    border-color: #f6d873;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .10);
}

.modern-testimonial::before {
    content: "“";
    position: absolute;
    top: -11px;
    right: 14px;
    color: rgba(235, 185, 37, .13);
    font-family: Georgia, serif;
    font-size: 88px;
    line-height: 1;
}

.modern-testimonial__stars {
    margin-bottom: 11px;
    color: #f59e0b;
    font-size: 13px;
    letter-spacing: 2px;
}

.modern-testimonial__text {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}

.modern-testimonial__user {
    display: flex;
    align-items: center;
    gap: 11px;
}

.modern-testimonial__avatar {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #111;
    background: linear-gradient(135deg, #ebb925, #fae060);
    font-size: 13px;
    font-weight: 800;
}

.modern-testimonial__name {
    font-size: 13.5px;
    font-weight: 800;
    color: #1e293b;
}

.modern-testimonial__meta {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 11.5px;
}

/* DESKTOP MENENGAH */
@media (max-width: 1200px) {
    .modern-content {
        width: calc(100% - 28px);
        padding: 26px;
    }

    .modern-content__grid {
        grid-template-columns: minmax(0, 1.65fr) minmax(320px, .9fr);
        gap: 22px;
    }

    .modern-card {
        padding: 24px;
    }
}

/* TABLET */
@media (max-width: 920px) {
    .modern-content__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .modern-content__grid > aside.modern-card {
        display: block;
        height: auto;
        min-height: auto;
    }

    .modern-testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

/* MOBILE */
@media (max-width: 680px) {
    .modern-content {
        width: calc(100% - 16px);
        margin: 14px auto;
        padding: 14px;
        border-radius: 18px;
    }

    .modern-content__hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .modern-content__hero h2 {
        font-size: 25px;
    }

    .modern-content__hero p {
        font-size: 14px;
        line-height: 1.65;
    }

    .modern-content__badge {
        min-width: 0;
        min-height: auto;
        justify-self: start;
        padding: 10px 14px;
        border-radius: 12px;
    }

    .modern-card {
        padding: 18px;
        border-radius: 16px;
    }

    .modern-card__title {
        font-size: 18px;
    }

    .modern-article p {
        font-size: 14px;
        line-height: 1.75;
    }

    .modern-faq {
        max-height: none;
        overflow: visible;
    }

    .modern-faq summary {
        padding: 14px 46px 14px 15px;
        font-size: 13px;
    }

    .modern-testimonials {
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
    }
}

    /* BATAS TINGGI TESTIMONI DESKTOP */
    @media (min-width: 921px) {
    .modern-content__grid > aside.modern-card {
        /* Sesuaikan angka ini dengan posisi garis merah */
        height: 999px;
        max-height: 999px;
        min-height: 0;
        overflow: hidden;
    }

    .modern-testimonials {
        display: grid;
        grid-auto-rows: max-content;
        align-content: start;
        flex: 1;
        min-height: 0;
        max-height: 100%;
        padding-right: 8px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;

        scrollbar-width: thin;
        scrollbar-color: #d5b538 rgba(213, 181, 56, .12);
    }

    .modern-testimonial {
        flex-shrink: 0;
    }

    .modern-testimonials::-webkit-scrollbar {
        width: 6px;
    }

    .modern-testimonials::-webkit-scrollbar-track {
        border-radius: 999px;
        background: rgba(213, 181, 56, .12);
    }

    .modern-testimonials::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: #d5b538;
    }

    .modern-testimonials::-webkit-scrollbar-thumb:hover {
        background: #ad8c12;
    }
}

/* Original style block 47 */
:root {
    --floating-footer-height: 82px;
}

/* Memberikan ruang di bawah halaman agar konten/copyright tidak tertutup */
body {
    padding-bottom: calc(var(--floating-footer-height) + 22px);
}

.modern-footer-actions,
.modern-footer-actions * {
    box-sizing: border-box;
}

/* FLOATING CONTAINER */
.modern-footer-actions {
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 14px;

    width: calc(100% - 28px);
    max-width: 1180px;
    padding: 10px;

    overflow: hidden;
    isolation: isolate;

    border: 1px solid rgba(255, 196, 69, .42);
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 50% 120%,
            rgba(202, 16, 32, .28),
            transparent 44%
        ),
        linear-gradient(
            145deg,
            rgba(24, 24, 24, .96),
            rgba(5, 5, 5, .97)
        );

    box-shadow:
        0 18px 50px rgba(0, 0, 0, .42),
        0 0 28px rgba(205, 18, 34, .16),
        inset 0 1px 0 rgba(255, 255, 255, .07);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transform: translateX(-50%);
    animation: footerBarEnter .65s cubic-bezier(.22, .85, .32, 1.15) both;
}

/* Cahaya besar di belakang bar */
.modern-footer-actions::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -70px;
    left: 50%;

    width: 460px;
    height: 120px;

    border-radius: 50%;
    background: rgba(201, 16, 32, .18);
    filter: blur(30px);

    transform: translateX(-50%);
    pointer-events: none;
}

/* GRID BUTTON */
.footer-action-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;

    width: 100%;
}

/* BUTTON */
.footer-action {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-width: 0;
    min-height: 58px;
    padding: 9px 12px;

    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;

    color: #f5f5f5;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .065),
            rgba(255, 255, 255, .015)
        );

    box-shadow:
        0 8px 18px rgba(0, 0, 0, .24),
        inset 0 1px 0 rgba(255, 255, 255, .05);

    font-family: Inter, Arial, sans-serif;
    text-decoration: none;

    will-change: transform, box-shadow;

    transition:
        transform .25s cubic-bezier(.22, .8, .28, 1),
        border-color .22s ease,
        background .22s ease,
        box-shadow .22s ease;

    animation: footerButtonEnter .55s ease both;
}

/* Delay animasi masuk */
.footer-action:nth-child(1) {
    animation-delay: .08s;
}

.footer-action:nth-child(2) {
    animation-delay: .14s;
}

.footer-action:nth-child(3) {
    animation-delay: .20s;
}

.footer-action:nth-child(4) {
    animation-delay: .26s;
}

.footer-action:nth-child(5) {
    animation-delay: .32s;
}

/* Kilatan cahaya */
.footer-action::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -60%;
    left: -130%;

    width: 75%;
    height: 220%;

    opacity: 0;
    background:
        linear-gradient(
            110deg,
            transparent 0%,
            rgba(255, 255, 255, .05) 30%,
            rgba(255, 236, 155, .42) 50%,
            rgba(255, 255, 255, .08) 70%,
            transparent 100%
        );

    transform: rotate(16deg);

    transition:
        left .65s cubic-bezier(.22, .8, .28, 1),
        opacity .25s ease;

    pointer-events: none;
}

/* Glow bawah tombol */
.footer-action::after {
    content: "";
    position: absolute;
    z-index: -2;
    left: 50%;
    bottom: -14px;

    width: 70%;
    height: 24px;

    border-radius: 50%;
    opacity: 0;

    background: rgba(255, 209, 48, .32);
    filter: blur(16px);

    transform: translateX(-50%) scale(.65);

    transition:
        opacity .25s ease,
        transform .25s ease;

    pointer-events: none;
}

/* HOVER BUTTON */
.footer-action:hover {
    z-index: 5;

    border-color: rgba(255, 221, 89, .75);

    background:
        linear-gradient(
            145deg,
            rgba(255, 224, 93, .19),
            rgba(255, 190, 0, .055)
        );

    box-shadow:
        0 18px 34px rgba(0, 0, 0, .40),
        0 0 0 1px rgba(255, 222, 94, .13),
        0 0 24px rgba(255, 204, 30, .18),
        inset 0 1px 0 rgba(255, 255, 255, .10);

    transform: translateY(-7px) scale(1.035);
}

.footer-action:hover::before {
    left: 145%;
    opacity: 1;
}

.footer-action:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* ICON */
.footer-action__icon {
    position: relative;

    display: grid;
    place-items: center;
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    overflow: hidden;
    border: 1px solid rgba(255, 222, 88, .22);
    border-radius: 11px;

    color: #ffd83d;

    background:
        linear-gradient(
            145deg,
            rgba(255, 216, 61, .18),
            rgba(255, 216, 61, .05)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 6px 14px rgba(0, 0, 0, .20);

    font-size: 16px;
    line-height: 1;

    transition:
        transform .28s cubic-bezier(.22, .8, .28, 1),
        color .22s ease,
        background .22s ease,
        box-shadow .22s ease;
}

/* Putaran cahaya dalam icon */
.footer-action__icon::before {
    content: "";
    position: absolute;
    inset: -45%;

    opacity: 0;
    border-radius: 50%;

    background:
        conic-gradient(
            from 0deg,
            transparent,
            rgba(255, 219, 70, .68),
            transparent 35%
        );

    animation: iconSpin 2.2s linear infinite;
    transition: opacity .2s ease;
}

.footer-action:hover .footer-action__icon {
    color: #111;

    background:
        linear-gradient(
            145deg,
            #fff2a3,
            #eab517
        );

    box-shadow:
        0 8px 18px rgba(211, 160, 0, .32),
        inset 0 1px 0 rgba(255, 255, 255, .68);

    transform: rotate(-8deg) scale(1.14);
}

.footer-action:hover .footer-action__icon::before {
    opacity: .75;
}

/* TEXT */
.footer-action__text {
    display: flex;
    flex-direction: column;
    min-width: 0;

    transition: transform .24s ease;
}

.footer-action:hover .footer-action__text {
    transform: translateX(2px);
}

.footer-action__label {
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;

    transition:
        color .2s ease,
        text-shadow .2s ease;
}

.footer-action:hover .footer-action__label {
    color: #ffe36a;
    text-shadow: 0 0 12px rgba(255, 214, 47, .32);
}

.footer-action__sub {
    margin-top: 2px;

    overflow: hidden;
    color: rgba(255, 255, 255, .50);

    font-size: 8px;
    font-weight: 600;
    line-height: 1.2;

    text-overflow: ellipsis;
    white-space: nowrap;
}

/* TOMBOL UTAMA */
.footer-action--primary {
    border-color: rgba(255, 202, 82, .78);
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #ffb13b 0%,
            #e51a2d 48%,
            #8d0713 100%
        );

    box-shadow:
        0 12px 26px rgba(153, 6, 19, .42),
        inset 0 1px 0 rgba(255, 255, 255, .74);

    animation:
        footerButtonEnter .55s ease .20s both,
        primaryButtonPulse 2.6s ease-in-out 1.2s infinite;
}

.footer-action--primary::after {
    opacity: .45;
    background: rgba(255, 212, 50, .48);
    transform: translateX(-50%) scale(.9);
}

.footer-action--primary .footer-action__icon {
    border-color: rgba(255, 230, 165, .34);
    color: #fff2c2;
    background: rgba(74, 3, 10, .28);
}

.footer-action--primary .footer-action__label {
    color: #fff;
}

.footer-action--primary .footer-action__sub {
    color: rgba(255, 245, 220, .74);
}

.footer-action--primary:hover {
    color: #000;
    border-color: #fff0a0;

    background:
        linear-gradient(
            135deg,
            #ffc95d 0%,
            #ef2637 44%,
            #a20716 100%
        );

    box-shadow:
        0 20px 38px rgba(153, 5, 18, .50),
        0 0 30px rgba(255, 157, 42, .30),
        inset 0 1px 0 rgba(255, 255, 255, .86);

    transform: translateY(-8px) scale(1.055);
}

.footer-action--primary:hover .footer-action__label {
    color: #fff;
    text-shadow: none;
}

/* EFEK KLIK */
.footer-action:active {
    transform: translateY(-2px) scale(.97);
    transition-duration: .08s;
}

/* KEYBOARD ACCESSIBILITY */
.footer-action:focus-visible {
    outline: 3px solid rgba(255, 223, 93, .95);
    outline-offset: 4px;
}

/* ANIMASI */
@keyframes footerBarEnter {
    from {
        opacity: 0;
        transform: translate(-50%, 28px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

@keyframes footerButtonEnter {
    from {
        opacity: 0;
        transform: translateY(22px) scale(.92);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes primaryButtonPulse {
    0%,
    100% {
        box-shadow:
            0 12px 26px rgba(191, 143, 0, .28),
            0 0 0 rgba(255, 217, 52, 0),
            inset 0 1px 0 rgba(255, 255, 255, .72);
    }

    50% {
        box-shadow:
            0 15px 32px rgba(191, 143, 0, .40),
            0 0 28px rgba(255, 217, 52, .24),
            inset 0 1px 0 rgba(255, 255, 255, .84);
    }
}

@keyframes iconSpin {
    to {
        transform: rotate(360deg);
    }
}

/* MOBILE */
@media (max-width: 620px) {
    :root {
        --floating-footer-height: 72px;
    }

    body {
        padding-bottom: calc(var(--floating-footer-height) + 18px);
    }

    .modern-footer-actions {
        bottom: 8px;
        width: calc(100% - 14px);
        padding: 6px;
        border-radius: 17px;
    }

    .footer-action-grid {
        gap: 4px;
    }

    .footer-action {
        flex-direction: column;
        gap: 4px;

        min-height: 56px;
        padding: 6px 2px;
        border-radius: 11px;
    }

    .footer-action:hover {
        transform: translateY(-4px) scale(1.025);
    }

    .footer-action__icon {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
        border-radius: 8px;
        font-size: 13px;
    }

    .footer-action__label {
        font-size: 8px;
        text-align: center;
    }

    .footer-action__sub {
        display: none;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .modern-footer-actions,
    .footer-action,
    .footer-action--primary,
    .footer-action__icon::before {
        animation: none !important;
    }

    .footer-action,
    .footer-action__icon,
    .footer-action__text,
    .footer-action__label {
        transition: none !important;
    }
}
