/* Kategori menüsünü çok kolon yap */
.category-menu-items .category-grid {
    column-count: 1; /* mobil */
    column-gap: 18px;
}

/* her li kolon içinde düzgün dursun */
.category-menu-items .category-grid > li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 6px;
}

/* tablet */
@media (min-width: 768px) {
    .category-menu-items .category-grid {
        column-count: 3;
    }
}

/* büyük ekran */
@media (min-width: 1200px) {
    .category-menu-items .category-grid {
        column-count: 4;
    }
}

/* alt menü açılınca kolon düzeni bozulmasın */
.category-menu-items .category-grid > li .sub-menu {
    column-count: 1;
}


/* dropdown davranışını kapat */
.category-menu-items .cate-drop > .sub-menu {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-left: 18px; /* içerden başlasın */
    margin-top: 6px;
}

/* ok ikonunu/sağ chevron'u istersen gizle */
.category-menu-items .cate-drop > a .menu-icon {
    display: none !important;
}

/* alt menü li'leri biraz daha küçük/temiz dursun */
.category-menu-items .cate-drop > .sub-menu > li > a {
    display: block;
    padding: 6px 0;
}

.category-menu-items .category-grid {
    column-count: 1;
    column-gap: 18px;
}

@media (min-width: 768px) {
    .category-menu-items .category-grid {
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    .category-menu-items .category-grid {
        column-count: 4;
    }
}

.category-menu-items .category-grid > li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

/* SADECE: cate-drop altındaki sub-menu düzeni */
.category-menu-items li.cate-drop > ul.sub-menu {
    display: block !important;
    position: static !important;
    float: none !important;
    margin: 0px 0 0 0 !important;
    padding: 0px 0 0 60px !important;
    list-style: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* sub-menu içindeki her satır */
.category-menu-items li.cate-drop > ul.sub-menu > li {
    margin: 0 !important;
    padding: 0 !important;
}

/* linklerin hizası ve satır aralığı */
.category-menu-items li.cate-drop > ul.sub-menu > li > a {
    display: block;
    margin: 0 !important;
    padding: 6px 0 !important; /* üst-alt boşluk */
    line-height: 1.25;
    white-space: nowrap; /* istersen kaldır */
    opacity: .9;
}


.icon-big {
    font-size: 26px !important;
}

.icon-big2xl {
    font-size: 30px !important;
}

/*Whatsapp*/
/* Konum */
.dw-wa-fab {
    position: fixed;
    left: 10px;
    bottom: 25%;
    z-index: 1000;
}

/* Desktop (lg ve üstü) daha aşağı */
@media (min-width: 1024px) {
    .dw-wa-fab {
        left: 16px !important;
        bottom: 120px !important;
    }
}

/* Buton */
.dw-wa-btn {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;

    /* Premium “glass + depth” */
    background: radial-gradient(120% 120% at 30% 20%, #33f07a 0%, #25D366 38%, #1aa651 100%);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .25),
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -10px 25px rgba(0, 0, 0, .12);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    outline: none;
}

/* İkon */
.dw-wa-icon {
    color: #fff;
    font-size: 28px;
    line-height: 1;
    transform: translateZ(0);
}

/* Gradient ring (ince çerçeve) */
.dw-wa-ring {
    position: absolute;
    inset: -2px;
    border-radius: 9999px;
    background: conic-gradient(from 180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0), rgba(255, 255, 255, .55));
    filter: blur(.2px);
    opacity: .55;
    pointer-events: none;
}

/* Halo/pulse */
.dw-wa-glow {
    position: absolute;
    inset: -14px;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(37, 211, 102, .35) 0%, rgba(37, 211, 102, 0) 62%);
    animation: dwWaPulse 1.9s ease-in-out infinite;
    pointer-events: none;
}

/* Tooltip */
.dw-wa-tooltip {
    position: absolute;
    right: 70px;
    bottom: 50%;
    transform: translateY(50%);
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    color: rgba(15, 23, 42, .92);

    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
    border: 1px solid rgba(255, 255, 255, .55);

    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

/* Hover / Focus */
.dw-wa-btn:hover,
.dw-wa-btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255, 255, 255, .4),
    inset 0 -10px 25px rgba(0, 0, 0, .14);
    filter: saturate(1.05);
}

.dw-wa-btn:hover .dw-wa-tooltip,
.dw-wa-btn:focus-visible .dw-wa-tooltip {
    opacity: 1;
    transform: translateY(50%) translateX(-2px);
}

/* Basılı */
.dw-wa-btn:active {
    transform: translateY(-1px) scale(.98);
}

/* Animasyon */
@keyframes dwWaPulse {
    0% {
        transform: scale(.92);
        opacity: .55;
    }
    55% {
        transform: scale(1.06);
        opacity: .28;
    }
    100% {
        transform: scale(.92);
        opacity: .55;
    }
}

/* Mobil biraz büyük + tooltip kapalı (istersen açarsın) */
@media (max-width: 1023px) {
    .dw-wa-btn {
        width: 60px;
        height: 60px;
    }

    .dw-wa-icon {
        font-size: 30px;
    }

    .dw-wa-tooltip {
        display: none;
    }
}

/*
COOKIE ICON
*/
/* ===== Root ===== */
.dw-cookie {
    position: fixed;
    right: 16px;
    bottom: 12%;
    z-index: 1200;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

[data-dw-cookie-cloak] {
    display: none !important;
}

/* Desktop'ta daha aşağı */
@media (min-width: 1024px) {
    .dw-cookie {
        bottom: 200px !important;
        right: 20px !important;
    }
}

/* ===== Mobilde yer kaplamayan FAB ===== */
.dw-cookie-fab {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    border: 0;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .20), inset 0 1px 0 rgba(255, 255, 255, .55);
    transition: transform .18s ease, box-shadow .18s ease;
}

.dw-cookie-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.dw-cookie-fab-ico {
    font-size: 20px;
    line-height: 1;
}

.dw-cookie-ico {
    width: 18px;
    height: 18px;
    opacity: .85; /* daha sakin */
}

.dw-cookie-fab {
    /* ikonun genel görünümünü yumuşatmak için istersen: */
    color: rgba(255, 255, 255, .92);
}

.dw-cookie-fab-ring {
    position: absolute;
    inset: -2px;
    border-radius: 9999px;
    background: conic-gradient(from 180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, 0), rgba(0, 0, 0, .10));
    opacity: .55;
    pointer-events: none;
}

/* ===== Panel: mobilde “mini toast” gibi, desktopta card ===== */
.dw-cookie-panel {
    position: absolute;
    right: 0;
    bottom: 54px;
    width: min(360px, calc(100vw - 32px));
    opacity: 0;
    transform: translateY(8px) scale(.98);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.dw-cookie.is-open .dw-cookie-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Card */
.dw-cookie-card {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}

.dw-cookie-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px 8px 12px;
}

.dw-cookie-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 13.5px;
    color: rgba(15, 23, 42, .92);
    letter-spacing: .2px;
}

.dw-cookie-dot {
    width: 9px;
    height: 9px;
    border-radius: 9999px;
    background: radial-gradient(circle at 30% 30%, #fff 0%, rgba(255, 255, 255, 0) 35%), #25D366;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, .12);
}

.dw-cookie-x {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: rgba(255, 255, 255, .65);
    cursor: pointer;
    color: rgba(15, 23, 42, .7);
    transition: transform .15s ease, background .15s ease;
}

.dw-cookie-x:hover {
    background: rgba(255, 255, 255, .9);
    transform: translateY(-1px);
}

.dw-cookie-text {
    padding: 0 12px 12px 12px;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(15, 23, 42, .78);
}

.dw-cookie-link {
    color: rgba(15, 23, 42, .9);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 23, 42, .25);
}

.dw-cookie-link:hover {
    border-bottom-color: rgba(15, 23, 42, .55);
}

.dw-cookie-actions {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.dw-cookie-btn {
    flex: 1;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .08);
    cursor: pointer;
    font-weight: 800;
    font-size: 13px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.dw-cookie-btn:active {
    transform: scale(.98);
}

.dw-cookie-ghost {
    background: rgba(255, 255, 255, .7);
    color: rgba(15, 23, 42, .85);
}

.dw-cookie-ghost:hover {
    background: rgba(255, 255, 255, .95);
}

.dw-cookie-primary {
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
    color: #fff;
    border-color: rgba(0, 0, 0, .15);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.dw-cookie-primary:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
    transform: translateY(-1px);
}

/* Desktop: panel hep açık görünsün, FAB küçülsün (premium kart) */
@media (min-width: 1024px) {
    .dw-cookie-panel {
        opacity: 1;
        transform: none;
        pointer-events: auto;
        bottom: 0;
        right: 54px;
        width: 420px;
    }

    .dw-cookie-fab {
        width: 42px;
        height: 42px;
    }
}

/* Kullanıcı isterse tamamen gizle */
.dw-cookie.is-hidden {
    display: none;
}

/* Mobil/Tablet: asla görünmesin */
@media (max-width: 1023.98px) {
    .scroltop,
    .scroltop-progress2 {
        display: none !important;
    }
}

/* Desktop: görünür olsun (gerekiyorsa) */
@media (min-width: 1024px) {
    .scroltop {
        display: flex !important;
    }

    .scroltop-progress2 {
        display: block !important;
    }
}


.btn-shine::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -40%;
    width: 55%;
    height: 220%;
    background: linear-gradient(
            115deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .18) 45%,
            rgba(255, 255, 255, .38) 50%,
            rgba(255, 255, 255, .18) 55%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-60%) rotate(12deg);
    animation: btnShine 3.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnShine {
    0% {
        transform: translateX(-70%) rotate(12deg);
        opacity: 0;
    }
    15% {
        opacity: .9;
    }
    45% {
        transform: translateX(190%) rotate(12deg);
        opacity: .0;
    }
    100% {
        transform: translateX(190%) rotate(12deg);
        opacity: 0;
    }
}

.btn-shine {
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.btn-shine:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .55);
    filter: brightness(1.03);
}

.btn-shine:hover::before {
    animation-duration: 1.6s; /* faster shimmer on hover */
    opacity: 1;
}


.dims-field {
    position: relative;
}

.dims-hint {
    height: 0;
    margin-top: 0;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.2;
    color: rgba(242, 122, 26, .95);
    opacity: 0;
    transform: translateY(-2px);
    transition: height .18s ease, margin-top .18s ease, opacity .18s ease, transform .18s ease;
    user-select: none;
}

.dims-hint.is-show {
    height: 16px;
    margin-top: 6px;
    opacity: 1;
    transform: translateY(0);
}

.dims-invalid {
    border-color: rgba(242, 122, 26, .85) !important;
    box-shadow: 0 0 0 4px rgba(242, 122, 26, .14),
    0 12px 30px rgba(242, 122, 26, .10) !important;
    transition: box-shadow .18s ease, border-color .18s ease;
}

.dims-pulse {
    animation: dimsPulse 650ms cubic-bezier(.2, .85, .2, 1) 1;
}

@keyframes dimsPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 122, 26, 0), 0 12px 30px rgba(242, 122, 26, 0);
    }
    55% {
        box-shadow: 0 0 0 6px rgba(242, 122, 26, .18), 0 12px 30px rgba(242, 122, 26, .12);
    }
    100% {
        box-shadow: 0 0 0 4px rgba(242, 122, 26, .14), 0 12px 30px rgba(242, 122, 26, .10);
    }
}

.shining {
    position: relative;
    overflow: hidden;
}

.shining::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -80%;
    width: 70%;
    height: 220%;
    background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, .55),
    rgba(255, 255, 255, 0),
    transparent
    );
    transform: rotate(18deg);
    animation: shineMove 2.4s ease-in-out infinite;
    opacity: .9;
    pointer-events: none;
}

@keyframes shineMove {
    0% {
        left: -80%;
        opacity: 0;
    }
    12% {
        opacity: .9;
    }
    45% {
        left: 130%;
        opacity: 0;
    }
    100% {
        left: 130%;
        opacity: 0;
    }
}

/* calc button locked style (optional) */
.calc-locked {
    opacity: .92;
    filter: saturate(.95);
}

/* Düzenle modunda: turuncu değil, premium soft */
.calc-edit {
    background: rgba(0, 0, 0, .04) !important;
    color: rgba(0, 0, 0, .70) !important;
    border: 1px solid rgba(0, 0, 0, .08) !important;
}

.calc-edit:hover {
    filter: brightness(0.98);
}

/* ✅ küçülür, sonra smooth toparlar (glow yok) */
.price-breathe {
    display: inline-block; /* şart: transform düzgün çalışsın */
    transform-origin: right center;
    will-change: transform, opacity, letter-spacing, filter;
    animation: priceBreathe 2.4s cubic-bezier(.2, .85, .2, 1) 1;
}

@keyframes priceBreathe {
    0% {
        transform: translateZ(0) scale(1);
        opacity: 1;
        letter-spacing: 0;
        filter: blur(0px);
    }
    18% {
        transform: translateZ(0) scale(1.6);
        opacity: .82;
        letter-spacing: .4px;
        filter: blur(.15px);
    }
    52% {
        transform: translateZ(0) scale(1.3);
        opacity: 1;
        letter-spacing: 0;
        filter: blur(0px);
    }
    100% {
        transform: translateZ(0) scale(1);
        opacity: 1;
        letter-spacing: 0;
        filter: blur(0px);
    }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
    .price-breathe {
        animation: none !important;
    }
}

/*Mobile Sticky*/
.mobile-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, .10);
}

.ms-inner {
    max-width: 720px;
    margin: 0 auto;
}

.ms-state {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .75));
    border: 1px solid rgba(0, 0, 0, .06);
}

.ms-state.is-active {
    display: flex;
}

.ms-left {
    min-width: 0;
}

.ms-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(20, 20, 20, .65);
    letter-spacing: .2px;
    margin-bottom: 4px;
}

.ms-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1.05;
}

.ms-old {
    font-size: 13px;
    color: rgba(20, 20, 20, .35);
    text-decoration: line-through;
    font-weight: 600;
}

.ms-now {
    font-size: 22px;
    font-weight: 800;
    color: #f27a1a;
}

.ms-total {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1.05;
}

.ms-total-currency {
    font-size: 16px;
    font-weight: 800;
    color: #f27a1a;
}

.ms-total-value {
    font-size: 24px;
    font-weight: 900;
    color: #f27a1a;
    letter-spacing: -.2px;
}

.ms-hint {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(20, 20, 20, .55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ms-btn {
    flex: 0 0 auto;
    border: 0;
    border-radius: 15px;
    padding: 22px 14px;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ms-btn:active {
    transform: scale(.98);
}

.ms-btn-primary {
    background: #ffffff;
    color: #f27a1a;
    border: 2px solid rgba(242, 122, 26, .55);
    box-shadow: 0 8px 20px rgba(242, 122, 26, .12);
}

@media (max-width: 375px) {
    #msCalcBtn {
        min-width: 140px;
        padding: 16px 10px;
        font-size: 15px;
    }
}

@media (max-width: 375px) {
    .ms-btn {
        min-width: 140px;     /* 175 -> 140 */
        padding: 16px 10px;   /* 22x14 -> daha ince */
        font-size: 15px;      /* 18 -> 15 */
        border-radius: 13px;
    }

    /* Eğer buton yazısı taşıyorsa tek satıra zorla */
    .ms-btn .ms-btn-label,
    .ms-btn span {
        white-space: nowrap;
    }
}

/* Daha da dar cihazlar (<=320px, eski iPhone SE gibi) */
@media (max-width: 320px) {
    .ms-btn {
        min-width: 125px;
        padding: 14px 8px;
        font-size: 14px;
    }
}

.ms-btn-cta {
    background: linear-gradient(135deg, #f27a1a, #ff8b2b);
    color: #fff;
    box-shadow: 0 10px 24px rgba(242, 122, 26, .28);
    position: relative;
    overflow: hidden;
}

/* premium “shine” */
.ms-btn-cta::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -80%;
    width: 70%;
    height: 220%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .0),
            rgba(255, 255, 255, .65),
            rgba(255, 255, 255, .0),
            transparent
    );
    transform: rotate(18deg);
    filter: blur(0.2px);
    animation: msShine 2.2s ease-in-out infinite; /* daha sık */
    opacity: 1;
}

@keyframes msShine {
    0% {
        left: -80%;
        opacity: 0;
    }
    12% {
        opacity: .9;
    }
    45% {
        left: 130%;
        opacity: 0;
    }
    100% {
        left: 130%;
        opacity: 0;
    }
}


/* Hint alanı her zaman görünsün + küçük ekranlarda 2 satır */
.ms-left {
    flex: 1 1 auto;
    min-width: 0;
}

/* soldaki alan esnesin */
.ms-btn {
    flex: 0 0 auto;
}

/* buton sabit kalsın */

/* Varsayılan: tek satır taşarsa kısalt */
.ms-hint {
    display: block;
    font-size: 12px;
    color: rgba(20, 20, 20, .55);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Küçük genişliklerde: 2 satıra izin ver (kısaltmayı kaldır) */
@media (max-width: 420px) {
    .ms-hint {
        white-space: normal;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* 2 satır */
        -webkit-box-orient: vertical;
        line-height: 1.15;
        max-width: 100%;
    }
}

/* Çok dar ekran (360 ve altı): font biraz küçülsün + buton daralsın */
@media (max-width: 360px) {
    .ms-hint {
        font-size: 11px;
    }

    .ms-btn {
        min-width: 150px; /* daha da dar */
        padding: 20px 10px; /* bar incelsin */
        font-size: 16px;
    }

    .ms-now {
        font-size: 18px;
    }
}

/* Kısa yükseklikli telefonlarda HINT KESİNLİKLE GÖRÜNSÜN */
@media (max-height: 700px) and (max-width: 420px) {
    .ms-hint {
        display: block !important;
    }
}

.ms-focus-pulse {
    animation: msPulse 0.9s ease-in-out 2;
    border-radius: 12px;
}

@keyframes msPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 122, 26, 0);
        background: rgba(242, 122, 26, 0);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(242, 122, 26, .18);
        background: rgba(242, 122, 26, .08);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 122, 26, 0);
        background: rgba(242, 122, 26, 0);
    }
}

/* Sticky "Fiyatı Hesapla" dürtme efekti */
/* Sticky buton dürtme */
.ms-nudge {
    animation: msNudge 1.1s ease-in-out 2;
}

@keyframes msNudge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(242, 122, 26, 0);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(242, 122, 26, .22);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(242, 122, 26, 0);
    }
}

/* Input çevresi pulse */
.ms-focus-pulse {
    animation: msPulse 0.9s ease-in-out 2;
    border-radius: 12px;
}

@keyframes msPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 122, 26, 0);
        background: rgba(242, 122, 26, 0);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(242, 122, 26, .18);
        background: rgba(242, 122, 26, .08);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 122, 26, 0);
        background: rgba(242, 122, 26, 0);
    }
}


/* sadece bir kere büyüt-küçült */
/* KRİTİK: inline -> inline-block (zıplamayı bitirir) */
#msTotalValue {
    display: inline-block;
    line-height: 1; /* baseline oynamasın */
    vertical-align: baseline;
    transform: translateZ(0); /* GPU stabilize */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.ms-alive {
    animation: msAlive 1.6s ease-in-out 1;
    transform-origin: left center;
}

/* sadece smooth büyü-smooth küçül */
@keyframes msAlive {
    0% {
        transform: translateZ(0) scale(1);
    }
    50% {
        transform: translateZ(0) scale(1.12);
    }
    100% {
        transform: translateZ(0) scale(1);
    }
}


/* ✅ Premium kenar halo efekti */
.ms-nudge {
    position: relative;
    box-shadow: 0 0 0 0 rgba(242, 122, 26, .0),
    0 0 0 0 rgba(242, 122, 26, .0);
    animation: msHaloPulse 1.6s ease-out infinite;
}

@keyframes msHaloPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 122, 26, .45),
        0 0 0 0 rgba(242, 122, 26, .25);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(242, 122, 26, 0),
        0 0 0 18px rgba(242, 122, 26, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 122, 26, 0),
        0 0 0 0 rgba(242, 122, 26, 0);
    }
}

/* ✅ Premium busy görünüm */
.dw-btn-busy {
    filter: saturate(.9);
    opacity: .92;
    transform: translateY(0) !important;
}

/* spinner */
.dw-spin-svg {
    animation: dwSpin 0.85s linear infinite;
}

@keyframes dwSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Scope class that replaces: .nav > li.has-mega-menu */
.dw-has-mega {
    position: relative; /* anchor for left/right/center positioning */
}

/* Optional: if you need the old "inherit" behavior inside header */
.header-nav.w3menu .dw-has-mega {
    /*position: inherit;*/
    background-color: #fff;
    display: block;
    list-style: none;
    padding: 30px;
    position: absolute;
    z-index: 10;
    text-align: left;
    transition: all 0.5s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    /*pointer-events: none;*/
    max-width: 1200px;
    width: 1200px;
    left: 80px !important;
    height: auto;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
}

.shop-menu{
    overflow: hidden !important;
}

.dw-mega-sub{
    margin: 0px !important;
}

/* Width modifiers (mimic original wide/full/auto behaviors) */
.header-nav.w3menu .dw-has-mega.full-width .mega-menu {
    width: calc(100% - 160px);
    max-width: calc(100% - 160px);
}


@media only screen and (max-width: 1280px) {
    .header-nav.w3menu .dw-has-mega.wide-width .mega-menu {
        padding-left: 30px;
        padding-right: 30px;
    }
}

.header-nav.w3menu .dw-has-mega.auto-width .mega-menu {
    width: fit-content;
    max-width: fit-content;
}

.header-nav.w3menu .dw-has-mega.auto-width .mega-menu > ul > li {
    width: 250px;
}

/* Alignment modifiers */
.header-nav.w3menu .dw-has-mega.menu-left .mega-menu {
    left: 0 !important;
}

.header-nav.w3menu .dw-has-mega.menu-right .mega-menu {
    right: 0;
    left: auto !important;
}

.header-nav.w3menu .dw-has-mega.menu-center .mega-menu {
    left: 50% !important;
    /*transform: translateX(-50%);*/
}

/* Title styling inside mega menu */
.header-nav.w3menu .dw-has-mega .menu-title {
    display: block;
    padding: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-family-title);
}

/* SHOP MENU layout (main thing you need) */
.header-nav.w3menu .dw-has-mega .shop-menu > ul {
    display: flex;
    flex-wrap: wrap;
}

.header-nav.w3menu .dw-has-mega .shop-menu .side-left{
    flex: 1 1 auto;
    min-width: 0;
}

.header-nav.w3menu .dw-has-mega .shop-menu .side-left > ul {
    display: flex;
    flex-wrap: wrap;
}

.header-nav.w3menu .dw-has-mega .shop-menu .side-left > ul > li {
    flex: 0 0 auto;
}

/* Right side is optional (banner) */
.header-nav.w3menu .dw-has-mega .shop-menu .side-right {
   /* flex: 0 0 220px; !* 200-240px ideal *!
    width: 220px;*/
}

/* Wide-width special behavior on desktop (original had this) */
@media only screen and (min-width: 991px) {
    .header-nav.w3menu .dw-has-mega.wide-width .mega-menu {
        left: 50% !important;
        /* transform: translate(-50%);*/
    }
}

@media only screen and (min-width: 1300px) {
    .container .header-nav.w3menu .dw-has-mega.wide-width .mega-menu {
        padding-left: calc((100vw - 1320px) / 2 + 15px);
        padding-right: calc((100vw - 1320px) / 2 + 15px);
    }
}

/* Mobile/tablet behavior (original CSS effectively does this) */
@media only screen and (max-width: 991px) {
    .header-nav.w3menu .dw-has-mega .shop-menu .side-left {
        width: 100%;
        flex: 0 0 100%;
    }

    .header-nav.w3menu .dw-has-mega .shop-menu .side-right {
        display: none;
    }

    .header-nav.w3menu .dw-has-mega.wide-width .mega-menu {
        padding-left: 0;
        padding-right: 0;
    }

    .header-nav.w3menu .dw-has-mega.auto-width .mega-menu {
        width: 100%;
        max-width: 100%;
    }
}

/* Small phones: columns become 2 */
@media only screen and (max-width: 567px) {
    .header-nav.w3menu .dw-has-mega .shop-menu .side-left > ul > li {
        width: 50%;
        flex: 0 0 50%;
    }
}

@media (max-width: 567px) {
    .header-nav.w3menu .dw-has-mega .shop-menu .side-left > ul > li {
        width: 50% !important;
        flex: 0 0 50% !important;
    }
}

/* Footer links: premium white + accent hover */
footer a {
    color: rgba(255, 255, 255, 0.88);
    transition: color 180ms ease;
}

footer a:hover {
    color: var(--accent);
}

/*
Pointi Mobilde gizleme fixi
*/
@media (hover: none), (pointer: coarse) {
    #pointer-dot,
    #pointer-ring {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}
