/* Добавьте в конец файла bell.css */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 14px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.08),
        0 2px 4px -1px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(229, 231, 235, 0.5);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; /* for top-hanging badges */
}

.pricing-card:hover {
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.12),
        0 4px 6px -2px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    border-color: #d1d5db;
}


/* Для темной темы */
.dark .pricing-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    border-color: rgba(75, 85, 99, 0.4);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -1px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.dark .pricing-card:hover {
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.5),
        0 4px 6px -2px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    border-color: #4b5563;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.card-logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.card-info {
    margin-left: 0.75rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.dark .card-title {
    color: white;
}

.card-stats {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #969696;
    margin-top: 0.25rem;
}

.dark .card-stats {
    color: #9ca3af;
}

.card-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.5rem;
    padding-right: 2rem;
    position: relative;
}

.dark .card-footer {
    border-color: #4b88eb;
}

.card-description {
    font-size: 0.875rem;
    color: #797b80;
    margin: 0;
    line-height: 1.25rem;
    max-height: 1.25rem; /* collapse to one line */
    overflow: hidden;
    transition: max-height 0.2s ease;
}

/* Для структурированного контента показываем только первую строку */
.card-description:not(.expanded) {
    max-height: 1.25rem;
    overflow: hidden;
}

.card-description.expanded {
    max-height: 500px;
    overflow: visible;
}

.dark .card-description {
    color: #9ca3af;
}

/* Стили для структурированного контента в карточках */
.card-description p {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.card-description ul {
    margin: 0.25rem 0 0.5rem 0;
    padding-left: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.card-description li {
    margin: 0.125rem 0;
}

.card-description strong {
    font-weight: 600;
    color: #374151;
}

.dark .card-description strong {
    color: #f3f4f6;
}

/* Top-hanging badge positioning */
.card-badge {
    position: absolute;
    top: -1px;
    right: 13px;
    width: 52px;
    height: 52px;
    z-index: 5;
}

/* Hover to expand long descriptions - ТОЛЬКО ДЛЯ ДЕСКТОПА */
@media (hover: hover) and (pointer: fine) {
    .card-footer.has-overflow:hover .card-description {
        max-height: 500px;
        overflow: visible;
    }

    .card-footer.has-overflow:hover::after {
        transform: rotate(180deg);
    }

    .dark .card-footer.has-overflow:hover::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23d1d5db'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
    }
}

/* Chevron indicator - SVG */
.card-footer.has-overflow::after {
    content: '';
    position: absolute;
    right: 0.25rem;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239ca3af'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

.dark .card-footer.has-overflow::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* Мобильная версия - раскрытие по клику */
.card-footer.has-overflow.mobile-expanded .card-description {
    max-height: 500px;
    overflow: visible;
}

.card-footer.has-overflow.mobile-expanded::after {
    transform: rotate(180deg);
}

.dark .card-footer.has-overflow.mobile-expanded::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23d1d5db'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* Делаем footer кликабельным на touch-устройствах */
@media (hover: none) and (pointer: coarse) {
    .card-footer.has-overflow {
        cursor: pointer;
    }
}

/* ====== Профессиональная панель фильтров ====== */

/* Убираем z-index у pricing секции чтобы dropdown работал */
#pricing {
    z-index: auto !important;
}

/* Navbar всегда поверх всего */
.ud-header {
    z-index: 100000 !important;
}

/* Панель фильтров */
.filter-panel {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    max-width: calc(1200px - 2rem);
    width: calc(100% - 2rem);
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 16px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(229, 231, 235, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10000;
    box-sizing: border-box;
}

.dark .filter-panel {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-color: rgba(75, 85, 99, 0.3);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

/* Группа фильтров справа */
.filter-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Кнопка Place Order */
.place-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.place-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.place-order-btn:hover::before {
    left: 100%;
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(59, 130, 246, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

.place-order-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.15);
}

.place-order-btn svg {
    transition: transform 0.3s ease;
}

.place-order-btn:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

.dark .place-order-btn {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-color: #4b5563;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.dark .place-order-btn:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    border-color: #6b7280;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.filter-dropdown {
    position: relative;
    z-index: 10001;
}

/* Кнопки фильтров */
.filter-button {
    padding: 0.625rem 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 1px 3px 0 rgba(0, 0, 0, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
    color: #374151;
    font-weight: 500;
}

.filter-button svg {
    color: #374151;
    transition: transform 0.3s ease, color 0.2s ease;
}

.filter-button:hover {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
}

.filter-button:hover svg {
    color: #1f2937;
}

.filter-button:active {
    transform: translateY(0);
}

.dark .filter-button {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-color: #4b5563;
    color: #d1d5db;
    box-shadow: 
        0 1px 3px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.dark .filter-button svg {
    color: #d1d5db;
}

.dark .filter-button:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    border-color: #6b7280;
    color: #f3f4f6;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.4),
        0 2px 4px -1px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.dark .filter-button:hover svg {
    color: #f3f4f6;
}

/* Dropdown меню */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    z-index: 999999;
    min-width: 14rem;
    display: none;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
}

.dropdown-menu.visible {
    display: block;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dark .dropdown-menu {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-color: #374151;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.4),
        0 10px 10px -5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

/* Dropdown items */
.dropdown-item {
    padding: 0.625rem 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #374151;
    font-weight: 500;
    position: relative;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    transform: translateX(4px);
}

.dropdown-item:active {
    transform: translateX(2px);
}

.dark .dropdown-item {
    color: #d1d5db;
}

.dark .dropdown-item:hover {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
}

/* Dropdown divider */
.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 0.5rem 0;
}

.dark .dropdown-divider {
    background: linear-gradient(90deg, transparent, #374151, transparent);
}

/* Clear filters item */
.clear-filters-item {
    color: #ef4444;
    margin-top: 0.25rem;
}

.clear-filters-item svg {
    margin-right: 0.5rem;
}

.dark .clear-filters-item {
    color: #f87171;
}

.clear-filters-item:hover {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.dark .clear-filters-item:hover {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    color: #fca5a5;
}

/* Checkbox */
.checkbox {
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox.checked {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.checkbox.checked::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    animation: checkPop 0.2s ease;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.dark .checkbox {
    border-color: #4b5563;
    background: #1f2937;
}

.dark .checkbox.checked {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #2563eb;
}

/* Search container */
.search-container {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 1px 3px 0 rgba(0, 0, 0, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
}

.search-container:hover {
    border-color: #d1d5db;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.search-container:focus-within {
    border-color: #3b82f6;
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.1),
        0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dark .search-container {
    border-color: #4b5563;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    box-shadow: 
        0 1px 3px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.dark .search-container:hover {
    border-color: #6b7280;
}

.dark .search-container:focus-within {
    border-color: #3b82f6;
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.2),
        0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.search-input {
    border: none;
    padding: 0.625rem;
    outline: none;
    font-size: 0.875rem;
    width: 0;
    transition: width 0.3s ease;
    background: transparent;
    color: #374151;
    font-weight: 500;
}

.search-input.expanded {
    width: 12rem;
}

.search-input::placeholder {
    color: #9ca3af;
}

.dark .search-input {
    color: #d1d5db;
}

.dark .search-input::placeholder {
    color: #6b7280;
}

.search-button {
    padding: 0.625rem 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #4b5563;
}

.search-button svg {
    color: #4b5563;
    transition: all 0.2s ease;
}

.search-button:hover {
    color: #3b82f6;
    transform: scale(1.1);
}

.search-button:hover svg {
    color: #3b82f6;
}

.dark .search-button {
    color: #9ca3af;
}

.dark .search-button svg {
    color: #9ca3af;
}

.dark .search-button:hover {
    color: #60a5fa;
}

.dark .search-button:hover svg {
    color: #60a5fa;
}

/* Скрытая карточка */
.pricing-card.hidden {
    display: none;
}

/* ====== Patched Store Styles - Overlay with Icon ====== */

/* Карточка с патчем */
.pricing-card.patched {
    position: relative;
}

/* Полупрозрачный overlay - светлый */
.pricing-card.patched::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.75) 0%, 
        rgba(241, 245, 249, 0.85) 50%,
        rgba(248, 250, 252, 0.75) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 14px;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Иконка замка */
.pricing-card.patched::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.5));
    z-index: 2;
    pointer-events: none;
    animation: lockPulse 2s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes lockPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.5));
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        filter: drop-shadow(0 6px 12px rgba(239, 68, 68, 0.7));
    }
}

/* Контент карточки */
.pricing-card.patched .card-header,
.pricing-card.patched .card-footer {
    position: relative;
    z-index: 0;
}

/* Текст PATCHED */
.pricing-card.patched .patch-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 35px);
    color: #dc2626;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-align: center;
    z-index: 10;
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(220, 38, 38, 0.3);
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Скрыть PATCHED при hover */
.pricing-card.patched:hover .patch-label {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.9);
}

/* Описание patched - скрыто по умолчанию */
.pricing-card.patched .patch-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    z-index: 10;
    max-width: 90%;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(220, 38, 38, 0.3));
}

/* Показать описание при hover - простой fade in */
.pricing-card.patched:hover .patch-description {
    opacity: 1;
    pointer-events: auto;
}

/* Hover эффект */
.pricing-card.patched:hover::before {
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.80) 0%, 
        rgba(241, 245, 249, 0.90) 50%,
        rgba(248, 250, 252, 0.80) 100%
    );
}

/* Скрыть замок при hover */
.pricing-card.patched:hover::after {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

@keyframes lockShake {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    25% { transform: translate(-50%, -50%) rotate(-5deg); }
    75% { transform: translate(-50%, -50%) rotate(5deg); }
}

/* Темная тема */
.dark .pricing-card.patched::before {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.70) 0%, 
        rgba(51, 65, 85, 0.80) 50%,
        rgba(30, 41, 59, 0.70) 100%
    );
}

.dark .pricing-card.patched::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
    filter: drop-shadow(0 4px 8px rgba(248, 113, 113, 0.5));
}

.dark .pricing-card.patched .patch-label {
    color: #f87171;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(248, 113, 113, 0.5);
}

.dark .pricing-card.patched .patch-description {
    background: linear-gradient(135deg, #f87171 0%, #fca5a5 50%, #fecaca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 6px rgba(248, 113, 113, 0.5));
}

/* Responsive */
@media (max-width: 768px) {
    /* Убираем stacking context чтобы dropdown работал */
    #pricing {
        z-index: auto !important;
    }
    
    .pricing-grid {
        z-index: auto !important;
    }
    
    .pricing-card {
        z-index: auto !important;
    }

    .filter-panel {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        position: relative;
        z-index: 10000;
        overflow: visible !important;
        backdrop-filter: none !important;
    }

    .place-order-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        flex-shrink: 0;
    }

    .place-order-btn span {
        display: none;
    }

    .place-order-btn svg {
        width: 22px;
        height: 22px;
    }

    .filter-group {
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .filter-dropdown {
        position: relative !important;
        z-index: 10001;
    }

    .filter-button {
        padding: 0.5rem;
    }

    .dropdown-menu {
        min-width: 12rem;
        max-width: 90vw;
        z-index: 999999 !important;
    }

    .search-input.expanded {
        width: 8rem;
    }
}

/* ====== On Hold Store Styles - Overlay with Pause Icon ====== */

/* Карточка с On Hold */
.pricing-card.on-hold {
    position: relative;
}

/* Полупрозрачный overlay - светлый */
.pricing-card.on-hold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.75) 0%, 
        rgba(241, 245, 249, 0.85) 50%,
        rgba(248, 250, 252, 0.75) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 14px;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Иконка паузы */
.pricing-card.on-hold::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='4' width='4' height='16'/%3E%3Crect x='14' y='4' width='4' height='16'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.5));
    z-index: 2;
    pointer-events: none;
    animation: pausePulse 2s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes pausePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.5));
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        filter: drop-shadow(0 6px 12px rgba(245, 158, 11, 0.7));
    }
}

/* Контент карточки */
.pricing-card.on-hold .card-header,
.pricing-card.on-hold .card-footer {
    position: relative;
    z-index: 0;
}

/* Текст ON HOLD */
.pricing-card.on-hold .patch-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 35px);
    color: #d97706;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-align: center;
    z-index: 10;
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(217, 119, 6, 0.3);
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Скрыть ON HOLD при hover */
.pricing-card.on-hold:hover .patch-label {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.9);
}

/* Описание on-hold - скрыто по умолчанию */
.pricing-card.on-hold .patch-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    z-index: 10;
    max-width: 90%;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.3));
}

/* Показать описание при hover - простой fade in */
.pricing-card.on-hold:hover .patch-description {
    opacity: 1;
    pointer-events: auto;
}

/* Hover эффект */
.pricing-card.on-hold:hover::before {
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.75) 0%, 
        rgba(241, 245, 249, 0.85) 50%,
        rgba(248, 250, 252, 0.75) 100%
    );
}

/* Скрыть паузу при hover */
.pricing-card.on-hold:hover::after {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Темная тема */
.dark .pricing-card.on-hold::before {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.70) 0%, 
        rgba(51, 65, 85, 0.80) 50%,
        rgba(30, 41, 59, 0.70) 100%
    );
}

.dark .pricing-card.on-hold::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='4' width='4' height='16'/%3E%3Crect x='14' y='4' width='4' height='16'/%3E%3C/svg%3E");
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.5));
}

.dark .pricing-card.on-hold .patch-label {
    color: #fbbf24;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(251, 191, 36, 0.5);
}

.dark .pricing-card.on-hold .patch-description {
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 50%, #fde68a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 6px rgba(251, 191, 36, 0.5));
}