.mobile-topbar {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

.mobile-quick-tabs {
    display: none;
}

.mobile-quick-tab {
    border: none;
    background: transparent;
    font-family: 'Kanit', sans-serif;
}

#diecutCalcCard {
    transform-origin: center top;
}

#diecutCalcCard.diecut-switching {
    animation: diecutCardSwap 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes diecutCardSwap {
    0% {
        opacity: 0.55;
        transform: translateY(14px) scale(0.985);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .header-logo {
        display: none !important;
    }

    .main-nav-wrap {
        display: none !important;
    }

    .social-floating {
        display: none !important;
    }

    .mobile-topbar {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        gap: 12px;
        padding: 10px 18px;
        height: 74px;
        background: rgba(255,255,255,0.96);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 3000;
        border-bottom: 1px solid rgba(36,53,68,0.06);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-quick-tabs {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        padding: 8px 14px 10px 20px;
        background: rgba(255,255,255,0.96);
        border-bottom: 1px solid rgba(36,53,68,0.06);
        position: fixed;
        top: 74px;
        left: 0;
        width: 100%;
        z-index: 2990;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        scrollbar-width: none;
    }

    .mobile-quick-tabs::-webkit-scrollbar {
        display: none;
    }

    .mobile-quick-tab {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 0 15px;
        border-radius: 999px;
        border: 1px solid rgba(244,166,28,0.22);
        background: rgba(255,255,255,0.94);
        color: #243544;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(17,24,39,0.04);
        transition:
            transform 0.20s ease,
            background 0.20s ease,
            color 0.20s ease,
            box-shadow 0.20s ease,
            border-color 0.20s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-quick-tab:active {
        transform: scale(0.97);
    }

    .mobile-quick-tab.is-active {
        background: linear-gradient(180deg, #E9AA32 0%, #D9961D 100%);
        color: #ffffff;
        border-color: rgba(201,132,0,0.24);
        box-shadow:
            0 8px 18px rgba(222,154,30,0.18),
            0 4px 10px rgba(17,24,39,0.05);
    }

    #main-scroll-wrapper {
        padding-top: 120px;
    }

    #section-price,
    #section-catalogue {
        margin-top: -64px;
    }

    #section-track {
        padding-top: 10px;
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        height: 100%;
    }

    .mobile-brand img {
        width: 100%;
        max-width: 220px;
        max-height: 52px;
        height: auto;
        display: block;
        object-fit: contain;
    }

    .mobile-icon-btn {
        width: 44px;
        height: 44px;
        border: none;
        background: transparent;
        color: #243544;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        text-decoration: none;
        cursor: pointer;
        padding: 0;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .mobile-icon-btn:active {
        transform: scale(0.94);
    }

    .mobile-menu-trigger {
        position: relative;
        flex-direction: column;
        gap: 5px;
    }

    .mobile-menu-trigger span {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 999px;
        background: #243544;
        transition: transform 0.24s ease, opacity 0.24s ease, width 0.24s ease;
    }

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(248, 248, 246, 0.992);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 22px 24px 34px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(12px);
        transition:
            opacity 0.26s ease,
            transform 0.26s ease,
            visibility 0.26s ease;
    }

    .mobile-menu-overlay.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-menu-close {
        align-self: flex-start;
        border: none;
        background: transparent;
        color: #243544;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        margin-bottom: 18px;
        padding: 0;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.28s ease 0.06s, transform 0.28s ease 0.06s;
    }

    .mobile-menu-overlay.show .mobile-menu-close {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-logo {
        font-size: 15px;
        line-height: 1.2;
        letter-spacing: 0.14em;
        color: #111111;
        font-weight: 500;
        margin-bottom: 34px;
        text-align: center;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.28s ease 0.10s, transform 0.28s ease 0.10s;
    }

    .mobile-menu-overlay.show .mobile-menu-logo {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.30s ease 0.14s, transform 0.30s ease 0.14s;
    }

    .mobile-menu-overlay.show .mobile-menu-links {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-links button {
        border: none;
        background: transparent;
        color: #2e3135;
        font-family: 'Kanit', sans-serif;
        font-size: 28px;
        font-weight: 400;
        line-height: 1.22;
        cursor: pointer;
        letter-spacing: 0.01em;
        padding: 0;
        transition: color 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
    }

    .mobile-menu-links button.is-active {
        color: #A96A00;
        font-weight: 500;
    }

    .mobile-menu-links button.is-active::after {
        width: 42px;
        background: rgba(244, 166, 28, 0.75);
    }

    .mobile-menu-links button:active {
        transform: scale(0.98);
    }

    .mobile-menu-links button:hover {
        color: #A96A00;
    }

    .mobile-menu-divider {
        width: 72px;
        height: 1px;
        margin: 28px 0 22px;
        background: rgba(36,53,68,0.10);
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.28s ease 0.18s, transform 0.28s ease 0.18s;
    }

    .mobile-menu-overlay.show .mobile-menu-divider {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-socials {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 26px;
        margin-top: auto;
        padding-top: 8px;
        padding-bottom: 8px;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.30s ease 0.22s, transform 0.30s ease 0.22s;
    }

    .mobile-menu-overlay.show .mobile-menu-socials {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-socials a {
        color: #2e3135;
        font-size: 24px;
        text-decoration: none;
        transition: transform 0.22s ease, color 0.22s ease, opacity 0.22s ease;
    }

    .mobile-menu-socials a:hover,
    .mobile-menu-socials a:active {
        color: #A96A00;
        transform: translateY(-1px);
    }

    body.menu-open {
        overflow: hidden !important;
    }
}
