.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.table-dark th,
.table-dark td {
    vertical-align: middle;
}

.support-chat {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    font-family: inherit;
}

.support-chat__toggle {
    background: var(--primary-color);
    color: #fff;
    border: 0;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.support-chat__panel {
    width: 460px;
    background: #0f0f0f;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    margin-bottom: 12px;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.support-chat__panel.is-open {
    height: 700px;
    max-height: 80vh;
}

.support-chat__panel.is-open {
    display: flex;
}

.support-chat__header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.support-chat__messages {
    padding: 12px 16px;
    max-height: 100%;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-chat__actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.support-chat__actions .btn-mini {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.support-chat__actions .btn-mini:hover {
    background: rgba(var(--primary-color-rgb), 0.25);
    border-color: rgba(var(--primary-color-rgb), 0.4);
}

.support-chat__message--thinking {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.support-chat__message--thinking .typing-dots {
    display: inline-flex;
    gap: 4px;
}

.support-chat__message--thinking .typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    display: inline-block;
    animation: chatTyping 1s infinite ease-in-out;
}

.support-chat__message--thinking .typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.support-chat__message--thinking .typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes chatTyping {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.pagination {
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination.pagination-mobile {
    justify-content: space-between;
    gap: 0;
}

.pagination .page-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    font-size: 12px;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
    .support-chat {
        right: 16px;
        left: 16px;
    }

    .support-chat__panel {
        width: 100%;
        max-height: 78vh;
        height: 78vh;
    }

    .support-chat__messages {
        max-height: 100%;
    }

    .de-flex {
        flex-wrap: wrap;
    }

    .cart-item {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-item__controls,
    .cart-item__price {
        width: 100%;
        text-align: left;
    }

    .cart-item__controls input[type="number"] {
        max-width: 120px;
    }

    .cart-item__info {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .cart-item__info h5 {
        word-break: break-word;
        overflow-wrap: anywhere;
        white-space: normal;
        max-width: 100%;
        line-height: 1.3;
    }

    .cart-item__info .text-white-50 {
        overflow-wrap: anywhere;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-search {
        width: 100%;
    }

    .shop-filter-toggle {
        display: none;
    }

    .shop-sidebar {
        display: none;
    }

    .shop-sidebar.is-open {
        display: none;
    }

    .shop-filter-backdrop {
        display: none;
    }

    .shop-filter-header {
        display: flex;
    }

    .shop-color-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .shop-price-range {
        grid-template-columns: 1fr;
    }

    .shop-price-range span {
        display: none;
    }
}

@media (max-width: 480px) {
    .shop-toolbar {
        gap: 8px;
    }
}

.shop-empty {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
}

.shop-empty h4 {
    margin-bottom: 8px;
}

.shop-empty p {
    opacity: 0.75;
    margin-bottom: 16px;
}

.support-chat__message {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    font-size: 13px;
}

.support-chat__message--user {
    align-self: flex-end;
    background: rgba(var(--primary-color-rgb), 0.2);
}

.support-chat__form {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: grid;
    gap: 10px;
}

.support-chat__close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 18px;
}

header .de-flex.sm-pt10 {
    padding-top: 12px;
    padding-bottom: 12px;
}

#mainmenu > li > a {
    padding: 18px 12px;
}

@media (max-width: 768px) {
    #mainmenu > li > a {
        padding: 12px 10px;
    }
}

.cart-qty-group .btn,
.cart-qty-group .form-control {
    height: 34px;
    line-height: 1.2;
}

.cart-qty-group .btn {
    padding: 0 10px;
    box-shadow: none;
    transform: none;
}

.cart-qty-group .btn:focus,
.cart-qty-group .btn:active {
    box-shadow: none;
    transform: none;
}

@media (min-width: 992px) {
    .footer-rekvizitai {
        font-size: 13px;
        line-height: 1.4;
    }

    .footer-rekvizitai h5 {
        font-size: 15px;
        margin-bottom: 8px;
    }
}

.review-list {
    display: grid;
    gap: 16px;
}

.review-item {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-item__stars i {
    color: #f4c150;
}

.review-form {
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-qty-group .form-control {
    padding: 0 8px;
}

.cart-page .btn,
.cart-page .btn:active,
.cart-page .btn:focus,
.cart-page .btn:focus-visible {
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.cart-page .btn {
    transition: none !important;
    filter: none !important;
    border-width: 1px !important;
    top: 0 !important;
}

.cart-page .btn:hover,
.cart-page .btn:active {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
    border-width: 1px !important;
    top: 0 !important;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cart-qty__input {
    width: 64px;
    height: 36px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: none;
}

.cart-btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    width: 36px;
    padding: 0;
}

.cart-btn--primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.cart-btn--danger {
    background: rgba(220, 53, 69, 0.18);
    border-color: rgba(220, 53, 69, 0.7);
    color: #fff;
}

.cart-btn:hover,
.cart-btn:active,
.cart-btn:focus,
.cart-btn:focus-visible {
    transform: none;
    box-shadow: none;
    outline: none;
    filter: none;
}

.shop-filter-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 14px;
}

.shop-filter-section {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.shop-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.shop-filter-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: none;
    cursor: pointer;
    gap: 10px;
}

.shop-filter-option span:last-child {
    margin-left: auto;
}

.shop-filter-option input {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shop-filter-option.is-active {
    font-weight: 700;
    border-color: rgba(var(--primary-color-rgb), 0.6);
    background: rgba(var(--primary-color-rgb), 0.18);
}

.shop-filter-option.is-active .shop-categories__count {
    opacity: 1;
}

.shop-categories__count {
    font-size: 12px;
    opacity: 0.7;
}

.shop-filter-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
}

.shop-filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.04);
}

.shop-filter-check input {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shop-filter-check.is-active {
    border-color: rgba(var(--primary-color-rgb), 0.6);
    background: rgba(var(--primary-color-rgb), 0.18);
}

.shop-color-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.shop-color-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.04);
}

.shop-color-option input {
    accent-color: var(--primary-color);
    width: 14px;
    height: 14px;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shop-color-option__swatch {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.2);
}

.shop-color-option.is-active {
    border-color: rgba(var(--primary-color-rgb), 0.6);
    background: rgba(var(--primary-color-rgb), 0.18);
}

.shop-price-range {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

.shop-price-range input {
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0 10px;
    min-width: 0;
    font-size: 12px;
    width: 100%;
    box-sizing: border-box;
}

.shop-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.shop-filter-clear {
    flex: 0 0 auto;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-transform: uppercase;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.shop-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.shop-filter-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.shop-filter-close {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    font-size: 18px;
    line-height: 1;
}

.shop-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 9998;
}

.shop-filter-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.shop-sidebar {
    position: relative;
    z-index: 1;
}

.filters-open {
    overflow: hidden;
}

html.filters-open,
body.filters-open {
    overflow: hidden;
}

.shop-search {
    flex: 1;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    align-items: center;
}

.shop-search i {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 10px;
    font-size: 14px;
}

.shop-search input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    padding: 0 12px 0 4px;
    height: 36px;
    outline: none;
    font-size: 14px;
    border-radius: 999px;
}

.shop-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}


.shop-ad {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-ad__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,0,0,0.75), rgba(0,0,0,0.3));
}

.shop-ad__content {
    position: relative;
    z-index: 1;
    padding: 18px;
}

.shop-ad__content h4 {
    margin-bottom: 8px;
}

.shop-ad__content p {
    margin-bottom: 12px;
    font-size: 13px;
    opacity: 0.85;
}

.shop-ad__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.product-card {
    cursor: pointer;
    text-align: left;
}

.product-card h3 {
    min-height: 48px;
    margin-bottom: 10px;
}

.product-card h3 a {
    color: inherit;
    text-decoration: none;
}

.product-card__link {
    display: block;
}

.product-card .atr__main-price {
    margin-top: 6px;
}

.product-card .atr__opt {
    justify-content: flex-start;
}

.product-card .de-rating-ext {
    justify-content: flex-start;
}

.product-card .atr__extra-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    transition: all 0.2s ease;
}

.product-card .atr__images:hover .atr__extra-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-card .atr__add-cart {
    display: flex;
    justify-content: center;
}

.product-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.6px;
    box-shadow: 0 8px 18px rgba(var(--primary-color-rgb), 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.product-card__cta:hover {
    background: var(--primary-color);
}

.product-card:hover .product-card__cta {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(var(--primary-color-rgb), 0.45);
}
