.sw-whatsapp-fixed .sw-header__whatsapp-icon {
    position: relative;
    z-index: 1;
}

@keyframes sw-whatsapp-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.0;
    }
    25% {
        opacity: 1;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0.15;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.9);
        opacity: 0.0;
    }
}
.sw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    background: transparent;
    box-sizing: border-box;
}
.sw-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
    margin: 16px 0px;
    background: #171717;
    border-radius: var(--sw-radius);
    padding: 8px;
    box-sizing: border-box;
    max-width: 1280px;
    min-width: 1280px;
}
.sw-header__left {
    display: flex;
    align-items: center;
    padding-right: 16px;
}
.sw-header__logo {
    display: flex;
    align-items: center;
    height: 40px;
    width: 180px;
    margin-right: 16px;
    padding: 0;
}
.sw-header__logo-img {
    width: 232px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    display: block;
    margin: 0;
    padding: 0;
    clip-path: inset(0 0 0 0 round 0 0 0 0);
}
.sw-header__logo,
.sw-header__logo-img {
    outline: none !important;
    border: none !important;
}
.sw-header__menu {
    display: flex;
    padding-right: 150px;
}
.sw-header__menu .menu-item {
    list-style: none;
}
.sw-header__menu-link {
    font-family: var(--sw-btn-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    color: #fff !important;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0 8px;
    transition: font-weight 0.2s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    outline: none;
}
.sw-header__menu-link:hover,
.sw-header__menu-link:focus {
    text-decoration: none;
    color: #fff !important;
    outline: none;
    border: none;
    background: rgba(252, 215, 4, 0.10);
    box-shadow: 0 0 12px 4px rgba(252, 215, 4, 0.25);
    border-radius: 16px;
}
.menu-item.current-menu-item > .sw-header__menu-link,
.menu-item.current_page_item > .sw-header__menu-link {
    font-weight: 400;
    color: #fff !important;
}
.sw-header__right {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Global fixed WhatsApp icon */
.sw-whatsapp-fixed {
    position: fixed;
    right: 90px;
    bottom: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    width: 64px;
    height: 64px;
}
/* Hide fixed WhatsApp when mobile menu is open */
.sw-header__mobile-menu.active ~ .sw-whatsapp-fixed {
    display: none !important;
}

/* Pulse animation only for fixed WhatsApp button */
/* .sw-whatsapp-fixed::before,
.sw-whatsapp-fixed::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1);
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.20);
    animation: sw-whatsapp-pulse 2.4s ease-out infinite;
    pointer-events: none;
} */

/* Recreate pulse like on site using two layers */
.sw-whatsapp-fixed .circlephone,
.sw-whatsapp-fixed .circle-fill {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	pointer-events: none;
}
.sw-whatsapp-fixed .circlephone {
	box-shadow: 0 0 0 2px #0fef0f;
	animation: circlephone 2.2s ease-out infinite;
}
.sw-whatsapp-fixed .circle-fill {
	background: #15e638;
	animation: circlefill 2.2s ease-out infinite;
	animation-delay: 1.1s;
}

@keyframes circlephone {
	0% {
		transform: translate(-50%, -50%) scale(0.85);
		opacity: 0.0;
	}
	20% {
		opacity: 0.7;
	}
	70% {
		transform: translate(-50%, -50%) scale(1.75);
		opacity: 0.15;
	}
	100% {
		transform: translate(-50%, -50%) scale(2);
		opacity: 0.0;
	}
}
@keyframes circlefill {
	0% {
		transform: translate(-50%, -50%) scale(0.8);
		opacity: 0.0;
	}
	25% {
		opacity: 0.5;
	}
	70% {
		transform: translate(-50%, -50%) scale(1.45);
		opacity: 0.12;
	}
	100% {
		transform: translate(-50%, -50%) scale(1.7);
		opacity: 0.0;
	}
}
.sw-whatsapp-fixed .sw-header__whatsapp-icon {
    width: 64px;
    height: 64px;
}
/* WhatsApp icon link in header (plain icon, no button styles) */
.sw-header__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sw-header__whatsapp-icon {
    display: block;
    width: 45px;
    height: 45px;
}
.sw-header__dropdown {
    position: relative;
    display: flex;
    align-items: center;
    width: 155px;
}

/* Language dropdown specific styles */
.sw-header__dropdown--language {
    width: 60px;
}

.sw-header__dropdown--language .sw-header__dropdown-list {
    width: 60px;
}
.sw-header__dropdown-btn {
    font-family: var(--sw-btn-font);
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background: none;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-btn);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
    outline: none;
    border: none;
    line-height: 2;
    padding: 4px 8px;
}
.sw-header__dropdown-btn:after {
    content: '';
    display: inline-block;
    margin-left: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    vertical-align: middle;
    transition: transform 0.2s;
}
.sw-header__dropdown-btn:hover,
.sw-header__dropdown-btn:focus,
.sw-header__dropdown-btn.open {
    background: rgba(252, 215, 4, 0.10);
    box-shadow: 0 0 12px 4px rgba(252, 215, 4, 0.25);
    border-radius: 16px;
    color: #fff;
    border: none !important;
    outline: none !important;
}
.sw-header__dropdown-list.active ~ .sw-header__dropdown-btn:after,
.sw-header__dropdown-btn.active:after {
    transform: rotate(-135deg);
}
.sw-header__dropdown-btn.open:after {
    transform: rotate(-135deg);
}
.sw-header__dropdown-list {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 155px;
    background: #232323;
    border-radius: 16px;
    box-shadow: 0 4px 16px #00000033;
    z-index: 10;
    padding: 8px 0;
    overflow: hidden;
}
.sw-header__dropdown-list.active {
    display: block;
}
.sw-header__dropdown-item {
    padding: 8px 16px;
    color: #fff;
    font-family: var(--sw-btn-font);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: block;
}
.sw-header__dropdown-item:hover {
    background: var(--sw-yellow);
    color: #232323;
    text-decoration: none;
}
.sw-header__btn {
    font-family: var(--sw-btn-font);
    font-size: 16px;
    font-weight: 400;
    border-radius: var(--sw-radius-btn);
    padding: 12px 32px;
    border: none;
    background: transparent;
    color: var(--sw-yellow);
    box-shadow: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    position: relative;
    outline: none;
}
.sw-header__btn--kaspi {
    color: #fff;
    background: transparent;
    border: 1.5px solid var(--sw-yellow);
}
.sw-header__btn--kaspi:hover,
.sw-header__btn--kaspi:focus {
    background: #FCD70429;
    box-shadow: none;
    border: 1.5px solid var(--sw-yellow);
}
.sw-header__btn--kaspi:active {
    background: rgba(252, 215, 4, 0.08);
    color: #fff;
    border: 1.5px solid var(--sw-yellow);
    box-shadow: 0 0 16px 4px rgba(252, 215, 4, 0.25);
}
.sw-header__btn--consult {
    background: var(--sw-yellow);
    color: #232323;
    font-weight: 400;
    border: none;
}
.sw-header__btn--consult:hover,
.sw-header__btn--consult:focus {
    background: #E3C103;
    box-shadow: none;
}

/* Cart button styles */
.sw-header__btn--cart {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    background: var(--sw-yellow);
    color: #3A3A3C;
    font-family: var(--sw-btn-font);
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    text-decoration: none;
    border: none;
    border-radius: var(--sw-radius-btn);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    outline: none;
    padding: 12px 16px;
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sw-header__btn--cart:hover,
.sw-header__btn--cart:focus {
    background: #E3C103;
    color: #3A3A3C;
    text-decoration: none;
}

.sw-header__btn--cart:active {
    background: #E3C103;
    color: #3A3A3C;
}

.sw-header__cart-icon {
    width: 22px;
    height: 18px;
    flex-shrink: 0;
}

/* Center section for header with cart */
.sw-header__center {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex: 1;
}

.sw-header__center .sw-header__menu {
    display: flex;
    gap: 8px;
    padding-right: 0px;
}

.sw-header__center .sw-header__dropdown {
    position: relative;
    display: flex;
    align-items: center;
    width: max-content;
}

.sw-header__center .sw-header__dropdown--language {
    width: 60px;
}

.sw-header__center .sw-header__dropdown--language .sw-header__dropdown-list {
    width: 60px;
}

.sw-header__center .sw-header__dropdown-list {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 120px;
    background: #232323;
    border-radius: 16px;
    box-shadow: 0 4px 16px #00000033;
    z-index: 10;
    padding: 8px 0;
    overflow: hidden;
}

.sw-header__center .sw-header__dropdown-list.active {
    display: block;
}

.sw-header__center .sw-header__dropdown-item {
    padding: 8px 16px;
    color: #fff;
    font-family: var(--sw-btn-font);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: block;
}

.sw-header__center .sw-header__dropdown-item:hover {
    background: var(--sw-yellow);
    color: #232323;
    text-decoration: none;
}

.sw-header__center .sw-header__dropdown-btn {
    font-family: var(--sw-btn-font);
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background: none;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-btn);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
    outline: none;
    border: none;
    line-height: 2;
    padding: 4px 8px;
}

.sw-header__center .sw-header__dropdown-btn:after {
    content: '';
    display: inline-block;
    margin-left: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    vertical-align: middle;
    transition: transform 0.2s;
}

.sw-header__center .sw-header__dropdown-btn:hover,
.sw-header__center .sw-header__dropdown-btn:focus,
.sw-header__center .sw-header__dropdown-btn.open {
    background: rgba(252, 215, 4, 0.10);
    box-shadow: 0 0 12px 4px rgba(252, 215, 4, 0.25);
    border-radius: 16px;
    color: #fff;
    border: none !important;
    outline: none !important;
}

.sw-header__center .sw-header__dropdown-btn.open:after {
    transform: rotate(-135deg);
}

/* Center menu when cart is present */
.sw-header__container:has(.sw-header__btn--cart) .sw-header__left {
    justify-content: flex-start;
    flex: 0 0 auto;
}

.sw-header__container:has(.sw-header__btn--cart) .sw-header__right {
    justify-content: flex-end;
    flex: 0 0 auto;
}

.sw-header__container--with-cart {
    gap: 240px;
}
html[lang="kk-KZ"] .sw-header__container--with-cart {
    gap: 210px;
}

.sw-header__container.sw-header__container--with-cart .sw-header__left {
    justify-content: flex-start;
    flex: 0 0 auto;
}

.sw-header__container.sw-header__container--with-cart .sw-header__right {
    justify-content: flex-end;
    flex: 0 0 auto;
}

@media (max-width: 1350px) {
    .sw-header__menu {
        padding-right: 36px;
    }
    .sw-header__container--with-cart {
        gap: 200px;
    }
}

/* Mobile styles */
@media (max-width: 1200px) {
    .sw-header {
        display: block;
        padding: 8px 16px;
    }

    .sw-header__container {
        padding: 8px;
        gap: 16px;
        min-width: 0;
        margin: 0px;
    }
    
    .sw-header__logo {
        width: 145px;
        height: 25px;
        margin-right: 0;
        flex-shrink: 0;
    }
    
    .sw-header__logo-img {
        width: 145px;
        height: 25px;
    }
    
    .sw-header__menu,
    .sw-header__dropdown,
    .sw-header__btn,
    .sw-header__center {
        display: none !important;
    }
    
    .sw-header__right {
        gap: 0;
        flex-shrink: 0;
    }
    
    /* Mobile burger button */
    .sw-header__mobile-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: var(--sw-yellow);
        cursor: pointer;
        padding: 8px 12px;
        border-radius: 32px;
        transition: background 0.2s;
        outline: none;
        gap: 8px;
        font-family: var(--sw-btn-font);
        font-size: 14px;
        font-weight: 400;
        white-space: nowrap;
    }
    
    .sw-header__mobile-btn:hover,
    .sw-header__mobile-btn:focus {
        background: rgba(252, 215, 4, 0.10);
        box-shadow: 0 0 12px 4px rgba(252, 215, 4, 0.25);
    }
    
    .sw-header__mobile-btn--active {
        background: rgba(252, 215, 4, 0.10);
        box-shadow: 0 0 12px 4px rgba(252, 215, 4, 0.25);
    }
    
    .sw-header__burger-icon {
        width: 16px;
        height: 12px;
        flex-shrink: 0;
    }
    
    /* Mobile menu overlay */
    .sw-header__mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .sw-header__mobile-menu.active {
        display: block;
        opacity: 1;
    }
    
    .sw-header__mobile-menu-content {
        position: absolute;
        top: 0;
        left: 16px;
        right: 16px;
        background: #171717;
        padding: 64px 16px 16px 16px;
        border-radius: 0 0 24px 24px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .sw-header__mobile-menu-nav {
        margin-bottom: 24px;
    }
    
    .sw-header__mobile-menu-nav .menu-item {
        list-style: none;
    }
    
    .sw-header__mobile-menu-nav .sw-header__menu-link {
        display: block;
        padding: 12px 16px;
        border-radius: 16px;
        transition: background 0.2s;
        font-size: 16px;
        font-weight: 400;
        color: #fff !important;
        text-decoration: none;
    }
    
    .sw-header__mobile-menu-nav .sw-header__menu-link:hover {
        background: rgba(252, 215, 4, 0.10);
        box-shadow: 0 0 12px 4px rgba(252, 215, 4, 0.25);
        color: #fff !important;
        text-decoration: none;
    }
    
    .sw-header__mobile-dropdowns {
        margin-bottom: 24px;
    }
    
    .sw-header__mobile-dropdown {
        margin-bottom: 16px;
    }
    
    .sw-header__mobile-dropdown-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 12px 16px;
        color: #fff;
        font-family: var(--sw-btn-font);
        font-size: 16px;
        font-weight: 400;
        cursor: pointer;
        transition: background 0.2s;
        outline: none;
    }
    
    .sw-header__mobile-dropdown-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .sw-header__mobile-dropdown-btn:after {
        content: '';
        display: inline-block;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        padding: 3px;
        transform: rotate(45deg);
        transition: transform 0.2s;
    }
    
    .sw-header__mobile-dropdown-btn.open:after {
        transform: rotate(-135deg);
    }
    
    .sw-header__mobile-dropdown-list {
        display: none;
        background: #232323;
        border-radius: 16px;
        margin-top: 8px;
        overflow: hidden;
    }
    
    /* Mobile language dropdown specific styles */
    .sw-header__mobile-dropdown--language {
        width: 100%;
    }
    
    .sw-header__mobile-dropdown--language .sw-header__mobile-dropdown-btn {
        width: 100%;
    }
    
    .sw-header__mobile-dropdown-list.active {
        display: block;
    }
    
    .sw-header__mobile-dropdown-item {
        padding: 12px 16px;
        color: #fff;
        font-family: var(--sw-btn-font);
        font-size: 16px;
        cursor: pointer;
        transition: background 0.2s;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-decoration: none;
        display: block;
    }
    
    .sw-header__mobile-dropdown-item:last-child {
        border-bottom: none;
    }
    
    .sw-header__mobile-dropdown-item:hover {
        background: var(--sw-yellow);
        color: #232323;
        text-decoration: none;
    }
    
    .sw-header__mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    /* WhatsApp moves to bottom center in burger menu; hide from top bar */
    .sw-header__right .sw-header__whatsapp { display: none !important; }
    .sw-header__mobile-bottom {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 16px;
    }
    
    .sw-header__mobile-btn-kaspi {
        width: 100%;
        background: transparent;
        border: 1.5px solid var(--sw-yellow);
        color: #fff;
        font-family: var(--sw-btn-font);
        font-size: 16px;
        font-weight: 400;
        padding: 12px 16px;
        border-radius: 16px;
        cursor: pointer;
        transition: background 0.2s;
        outline: none;
    }
    
    .sw-header__mobile-btn-kaspi:hover {
        background: rgba(252, 215, 4, 0.1);
    }
    
    .sw-header__mobile-btn-consult {
        width: 100%;
        background: var(--sw-yellow);
        border: none;
        color: #232323;
        font-family: var(--sw-btn-font);
        font-size: 16px;
        font-weight: 400;
        padding: 12px 16px;
        border-radius: 16px;
        cursor: pointer;
        transition: background 0.2s;
        outline: none;
    }
    
    .sw-header__mobile-btn-consult:hover {
        background: #E3C103;
    }
    
    .sw-header__mobile-btn-cart {
        background: var(--sw-yellow);
        border: none;
        color: #3A3A3C;
        font-family: var(--sw-btn-font);
        font-size: 16px;
        font-weight: 500;
        padding: 12px 16px;
        border-radius: 16px;
        cursor: pointer;
        transition: background 0.2s;
        outline: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .sw-header__mobile-btn-cart:hover {
        background: #E3C103;
        color: #3A3A3C;
        text-decoration: none;
    }
    
    .sw-header__mobile-btn-cart svg {
        width: 22px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .sw-header__container--with-cart {
        gap: 16px;
    }
    
    .sw-header__container.sw-header__container--with-cart .sw-header__left {
        justify-content: flex-start;
        flex: 0 0 auto;
    }
    
    .sw-header__container.sw-header__container--with-cart .sw-header__right {
        justify-content: flex-end;
        flex: 0 0 auto;
    }
}

@media (min-width: 1200px) {
    .sw-header__mobile-btn,
    .sw-header__mobile-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .sw-whatsapp-fixed {
        right: 30px;
        bottom: 110px;
    }
}