/* Main Panel Container */
#groupsPanel {
    border-radius: 20px;
    overflow: hidden;
}

/* Panel Header Styling */
#groupsPanel .groups__search {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin: 0;
}

#groupsPanel .groups__search h3 {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

/* Search Input Styling */
#groupsPanel .searchbar input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
}

#groupsPanel .searchbar input:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

#groupsPanel .searchbar input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(91, 67, 234, 0.4);
}

#groupsPanel .searchbar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Group Headers */
#groupsPanel .group__header {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    transition: background-color 0.2s ease;
    margin-bottom: 8px;
}

#groupsPanel .group__header:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

#groupsPanel .group__header.active {
    background: rgba(91, 67, 234, 0.12);
    border: 1px solid rgba(91, 67, 234, 0.3);
    color: rgba(255, 255, 255, 0.95);
}

/* Group Body */
#groupsPanel .group__body {
    border-radius: 12px;
    margin-top: 8px;
}

/* Service Items - Standardized */
#groupsPanel .services-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 8px;
    transition: background-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

#groupsPanel .services-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Active Service Item - Simplified */
#groupsPanel .services-item.active {
    background: rgba(91, 67, 234, 0.12);
    border: 1px solid rgba(91, 67, 234, 0.3);
    color: rgba(255, 255, 255, 0.95);
    position: relative;
}

/* Active Top Border - Simplified */
#groupsPanel .services-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #5b43ea;
    border-radius: 12px 12px 0 0;
    z-index: 10;
}

/* Service Price Enhancement - Simplified */
#groupsPanel .services-item .service-price {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    padding: 4px 8px;
    color: #00ff88;
    font-weight: 600;
    font-size: 12px;
    transition: background-color 0.2s ease;
}

#groupsPanel .services-item.active .service-price {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.4);
    color: #00ff88;
}

/* Service Icon Styling */
#groupsPanel .services-item .service-icon {
    background: rgba(91, 67, 234, 0.08);
    color: #c7baff;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

#groupsPanel .services-item:hover .service-icon {
    background: rgba(91, 67, 234, 0.12);
    color: #d4c4ff;
}

#groupsPanel .services-item.active .service-icon {
    background: rgba(91, 67, 234, 0.15);
    color: #e0d4ff;
}

/* Service Name Styling */
#groupsPanel .services-item .service-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.2s ease;
}

#groupsPanel .services-item:hover .service-name {
    color: rgba(255, 255, 255, 1);
}

#groupsPanel .services-item.active .service-name {
    color: rgba(255, 255, 255, 0.95);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #groupsPanel {
      border-radius: 16px;
    }
    
    #groupsPanel .groups__search {
      padding: 16px 20px 12px;
    }
    
    #groupsPanel .services-item {
      padding: 12px 14px;
      border-radius: 10px;
    }
    
    #groupsPanel .group__header {
      border-radius: 10px;
    }
}

/* RTL Support - Simplified */
[dir="rtl"] #groupsPanel .services-item.active::before {
    background: #5b43ea;
}

/* ===== END STANDARDIZED GROUPS PANEL SYSTEM ===== */

/* Accordion (service page): make active bar exactly like hover and hide legacy circle */
.groups .services-item.active {
    position: relative !important;
    background: rgba(91, 67, 234, 0.12) !important;
    border: 1px solid rgba(91, 67, 234, 0.3) !important;
    color: #fff !important;
}

.groups .services-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px !important;
    background: #5b43ea !important;
    border-radius: 12px 12px 0 0;
    z-index: 10;
    pointer-events: none;
}

/* Active service price enhancement - Simplified */
.groups .services-item.active .service-price {
    background: rgba(0, 255, 136, 0.2) !important;
    border-color: rgba(0, 255, 136, 0.4) !important;
    color: #00ff88;
}

/* Ensure service active bar matches hover exactly - Simplified */
.services-item.active::before,
.service .services-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px !important;
    background: #5b43ea !important;
    border-radius: 12px 12px 0 0;
    z-index: 10;
}

/* Service Page Specific — Ensure consistency */
.service .groups {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.service .group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease;
    margin-bottom: 8px;
    overflow: visible;
}

.service .group:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.service .group.open {
    background: rgba(91, 67, 234, 0.08);
    border-color: rgba(91, 67, 234, 0.2);
}

.service .group__header {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-weight: 500;
    border: 0;
    width: 100%;
    transition: background 0.2s ease;
    position: relative;
    z-index: 1;
}

.service .group__header:hover {
    background: rgba(255, 255, 255, 0.04);
}

.service .group__header.active {
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service .group__title {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
}

.service .group__title:hover {
    color: rgba(255, 255, 255, 0.95);
}

.service .group__chevron {
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    min-width: 32px;
    min-height: 32px;
}

.service .group__chevron:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

.service .group.open .group__chevron {
    transform: rotate(180deg);
    background: rgba(91, 67, 234, 0.15);
    color: #5b43ea;
}

.service .group__body {
    padding: 12px 16px;
    display: none;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin: 0;
}

.service .group.open .group__body {
    display: block;
}

.service .services-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    position: relative;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.service .services-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.service .services-item.active {
    background: rgba(91, 67, 234, 0.08);
    border-color: rgba(91, 67, 234, 0.2);
    position: relative;
}

.service .services-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #5b43ea;
    border-radius: 12px 12px 0 0;
    z-index: 10;
}

/* Show More — Minimal dark mode */
.show-more {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 0;
}

.show-more button {
    all: unset;
    cursor: pointer;
    color: #5b43ea;
    font-weight: 500;
    transition: color 0.2s ease;
}

.show-more .load-more {
    flex: 1;
    text-align: center;
    border: 1px solid rgba(91, 67, 234, 0.15);
    background: rgba(15, 12, 41, 0.4);
    border-radius: 16px;
    padding: 14px 20px;
    transition: background 0.2s ease, border-color 0.2s ease;
    font-weight: 600;
    color: #c7baff;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.show-more .load-more:hover {
    background: rgba(91, 67, 234, 0.2);
    border-color: rgba(91, 67, 234, 0.4);
    color: #fff;
}

.show-more .count {
    min-width: 45px;
    text-align: center;
    color: #c7baff;
    font-weight: 700;
    background: rgba(15, 12, 41, 0.6);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid rgba(91, 67, 234, 0.2);
    transition: background 0.2s ease;
}

/* Ensure text color is properly set for count span */
.show-more span {
    color: #c7baff !important;
}

/* Show More Line and Button */
.show-more-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 0;
    border: none !important;
    box-shadow: none;
}

.show-more-btn {
    width: 100%;
    font-weight: 600;
    padding: 16px 24px;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    text-align: center;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(91, 67, 234, 0.15);
    border: 1px solid rgba(91, 67, 234, 0.2);
    color: #c7baff;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.show-more-btn:hover {
    background: rgba(91, 67, 234, 0.25);
    border-color: rgba(91, 67, 234, 0.4);
    color: #fff;
}

/* Filters Bar — Minimal dark mode */
.filters-bar {
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 6px 0 10px;
    flex-wrap: nowrap;
    overflow: visible;
}

.filters-bar::-webkit-scrollbar {
    display: none;
}

.filters-bar .chip-btn {
    padding: 6px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.filters-bar .chip-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.filters-bar .chip-btn.active {
    background: rgba(91, 67, 234, 0.08);
    border-color: rgba(91, 67, 234, 0.2);
    color: #5b43ea;
}

.filters-bar .chip-btn.active .label {
    color: #5b43ea;
}

.filters-bar .chip-btn .ico {
    display: inline-flex;
    width: 14px;
    height: 14px;
    line-height: 0;
    color: inherit;
}

.filters-bar .chip-btn .label {
    line-height: 1;
    font-weight: 500;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.filters-bar .chip-sep {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    margin: 0 4px;
    align-self: center;
}

/* Instant filter special styling */
.filters-bar .chip-btn[data-sort="instant"] {
    background: rgba(234, 179, 8, 0.08);
    border-color: rgba(234, 179, 8, 0.2);
    color: #fde68a;
}

.filters-bar .chip-btn[data-sort="instant"]:hover {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.3);
    color: #fde68a;
}

.filters-bar .chip-btn[data-sort="instant"].active {
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(234, 179, 8, 0.4);
    color: #fde68a;
}

.filters-bar .chip-btn[data-sort="instant"] .label {
    color: #fde68a;
}

.filters-bar .chip-btn[data-sort="instant"].active .label {
    color: #fde68a;
}

/* Filters section wrapper */
.filters-section {
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.filters-section .filters-bar {
    margin: 0;
}

/* Group — Minimal dark mode */
.group {
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: visible;
}

.group__header {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-weight: 500;
    border: 0;
    width: 100%;
    transition: background 0.2s ease;
    position: relative;
    z-index: 1;
}

.group__header:hover {
    background: rgba(255, 255, 255, 0.04);
}

.group__header.active {
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.group__header:focus-visible {
    outline: 3px solid rgba(91, 67, 234, 0.25);
    outline-offset: 2px;
}

.group__title {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
}

.group__title:hover {
    color: rgba(255, 255, 255, 0.95);
}

.group__title:focus-visible {
    outline: 3px solid rgba(91, 67, 234, 0.25);
    outline-offset: 2px;
    border-radius: 10px;
}

.group__chevron {
    transition: transform 0.2s ease, background 0.2s ease;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    min-width: 32px;
    min-height: 32px;
}

.group__chevron:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

.group__chevron .chev-ico {
    width: 18px;
    height: 18px;
    display: block;
}

.group.open .group__chevron {
    transform: rotate(180deg);
    background: rgba(91, 67, 234, 0.15);
    color: #5b43ea;
}

.group__body {
    padding: 12px 16px;
    display: none;
    margin: 0;
}

.group.open .group__body {
    display: block;
}

/* Group Icons — Minimal dark mode */
.group .mega-icon {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.8);
    stroke: rgba(255, 255, 255, 0.8);
    transition: fill 0.2s ease, stroke 0.2s ease;
}

.group:hover .mega-icon {
    fill: rgba(255, 255, 255, 0.95);
    stroke: rgba(255, 255, 255, 0.95);
}

.group.open .mega-icon {
    fill: #5b43ea;
    stroke: #5b43ea;
}

/* Icon badges in groups */
.group .icon-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.group.open .icon-badge {
    background: rgba(91, 67, 234, 0.1);
    border-color: rgba(91, 67, 234, 0.2);
    color: #5b43ea;
}

/* Images in group content */
.group__body img {
    border-radius: 6px;
    transition: transform 0.2s ease;
    padding: 4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    margin: -4px;
}

.group__body img:hover {
    transform: scale(1.01);
}

/* SVG icons in group headers */
.group__title svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.8);
    stroke: rgba(255, 255, 255, 0.8);
    transition: fill 0.2s ease, stroke 0.2s ease;
}

.group:hover .group__title svg {
    fill: rgba(255, 255, 255, 0.95);
    stroke: rgba(255, 255, 255, 0.95);
}

.group.open .group__title svg {
    fill: #5b43ea;
    stroke: #5b43ea;
}

/* Category Lines — Dark mode overrides for style-home.css */
/* Base styles handled by unified system in style.css */

/* Dark mode specific overrides */
.category-line {
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.category-line:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);

}

.category-line.active {
    background: rgba(91, 67, 234, 0.08);
    border-color: rgba(91, 67, 234, 0.15);
}

.category-line.open {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(91, 67, 234, 0.2);
}

.category-line.open.active {
    background: rgba(91, 67, 234, 0.1);
    border-color: rgba(91, 67, 234, 0.25);
}

.category-line__chevron {
    color: rgba(255, 255, 255, 0.7);
}

.category-line__chevron:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

.category-line.open .category-line__chevron,
.category-line.active .category-line__chevron {
    background: rgba(91, 67, 234, 0.15);
    color: #5b43ea;
}

/* Remove the left border indicator in dark mode */
.category-line.open::before {
    display: none;
}

/* Services Item — Minimal dark mode */
.services-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    position: relative;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.services-item:hover {
    background: rgba(91, 67, 234, 0.08);
    border-color: rgba(91, 67, 234, 0.2);
    position: relative;
}

.services-item:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #5b43ea;
    border-radius: 12px 12px 0 0;
    z-index: 10;
}

.services-item.active {
    background: rgba(91, 67, 234, 0.08);
    border-color: rgba(91, 67, 234, 0.2);
    position: relative;
}

.services-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #5b43ea;
    border-radius: 12px 12px 0 0;
    z-index: 10;
}

.services-item:focus,
.services-item:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
}

.services-item .service-content {
    display: flow;
    gap: 12px;
    flex: 1;
}

.services-item .service-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 67, 234, 0.08);
    color: #5b43ea;
    transition: background 0.2s ease;
}

.services-item:hover .service-icon {
    background: rgba(91, 67, 234, 0.12);
    color: #5b43ea;
}

.services-item .service-name {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.services-item:hover .service-name {
    color: rgba(255, 255, 255, 0.95);
}

.services-item .service-price {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: #00ff88;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.services-item:hover .service-price {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.3);
}

.services-item .service-label {
    position: absolute;
    top: 8px;
    left: 10px;
    z-index: 1;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: #fde68a;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.services-item small {
    color: #5b43ea;
    font-weight: 600;
    font-size: 12px;
}

.services-item div {
    position: relative;
    z-index: 1;
}

/* Groups Search — Minimal dark mode */
.groups__search {
    margin-bottom: 16px;
}

.groups__search h3 {
    margin: 0 0 12px;
    font-weight: 600;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.groups__search h3::before {
    content: "";
    width: 2px;
    height: 14px;
    background: #5b43ea;
    border-radius: 1px;
}

/* Complementary Title — Minimal dark mode */
.complementary-title {
    font-weight: 600;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 10px 0 6px;
}

/* Service panel placeholder (ultra-light) */
.service-placeholder {
    border: 2px dashed var(--interactive-border);
    border-radius: 22px;
    padding: 20px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-secondary);
    background: var(--interactive-bg);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.service-placeholder .sp-text {
    max-width: 520px;
    line-height: 1.7;
}

.service-placeholder .sp-title {
    display: block;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.service-placeholder .sp-desc {
    display: block;
    font-size: 0.95rem;
}

.service-placeholder .sp-cta {
    display: block;
    font-size: 0.85rem;
    margin-top: 8px;
    color: var(--text-secondary);
}

.service-placeholder:hover {
    background: var(--interactive-bg-hover);
    border-color: var(--interactive-border-hover);
}

.service-placeholder:focus {
    outline: none;
}

.service-placeholder:focus-visible {
    box-shadow: 0 0 0 3px rgba(91, 67, 234, 0.2);
}

.comments-block {
    margin: 16px 0;
}

.comments-section {
    margin: 12px 0 16px;
    padding: 10px 12px;
    border: 1px solid var(--accent);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.comments-label {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    margin-bottom: 6px;
}

.comments-note {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0 6px;
}

.comments-input {
    width: 100%;
    min-height: 96px;
    resize: vertical;
    border: 0;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    background: transparent;
    transition: border-color 0.2s ease;
    direction: rtl;
    text-align: right;
}

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

.comments-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(199, 186, 255, 0.15);
}

.comments-count {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.comments-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
}

.comments-meta .comments-note {
    margin: 0;
}

.comments-meta .comments-count {
    margin: 0;
}

/* Advanced Groups Panel System */
.groups {
    position: sticky;
    top: 16px;
    height: max-content;
    border-radius: 16px;
    padding: var(--space-xl);
    max-width: 100%;
    overflow-x: hidden;
    transition: background 0.2s ease;
    
    /* Performance optimizations */
    contain: layout style;
}

/* Advanced Groups Search Header */
.groups__search {
    margin-bottom: var(--space-xl);
    position: relative;
}
  
.groups__search h3 {
    margin: 0 0 var(--space-lg) 0;
    font-weight: 600;
    font-size: var(--text-lg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    letter-spacing: var(--tracking-normal);
    position: relative;
}
  
.groups__search h3::before {
    content: "";
    width: 3px;
    height: 18px;
    background: var(--brand);
    border-radius: 2px;
}

/* Advanced Searchbar System */
.searchbar {
    position: relative;
    margin: var(--space-md) 0 var(--space-lg) 0;
}
  
.searchbar input {
    width: 100%;
    border: 1px solid var(--interactive-border);
    background: var(--interactive-bg);
    border-radius: var(--radius-sm);
    padding: 12px 40px 12px 14px;
    font: inherit;
    font-size: var(--text-base);
    color: var(--text-primary);
    transition: background 0.2s ease, border-color 0.2s ease;
}
  
.searchbar input::placeholder {
    color: var(--text-muted);
    font-size: var(--text-base);
    font-weight: 400;
}
  
.searchbar input:hover {
    border-color: var(--interactive-border-hover);
    background: var(--interactive-bg-hover);
}
  
.searchbar input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(91, 67, 234, 0.15);
    outline: none;
    background: var(--interactive-bg-hover);
}
  
/* Advanced Search Icon */
.searchbar::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    opacity: 0.6;
    background: var(--text-muted);
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19 15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" /></svg>') center / contain no-repeat;
    transition: opacity 0.2s ease;
}
  
.searchbar:focus-within::before {
    opacity: 1;
    background: var(--brand);
}

/* Advanced Group System */
.group {
    border: none;
    border-radius: var(--radius-sm);
    overflow: visible;
    margin-bottom: var(--space-md);
    transition: background 0.2s ease;
    box-shadow: none;
    position: relative;
}
  
.group__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    font-weight: 500;
    background: var(--interactive-bg);
    border: 1px solid var(--interactive-border);
    border-radius: var(--radius-sm);
    width: 100%;
    transition: background 0.2s ease, border-color 0.2s ease;
    font-size: var(--text-base);
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* Advanced Group Header States */
.group__header:hover {
    background: var(--interactive-bg-hover);
    border-color: var(--interactive-border-hover);
}
  
.group__header.active {
    background: rgba(91, 67, 234, 0.1);
    border: 1px solid rgba(91, 67, 234, 0.3);
    color: var(--text-primary);
    position: relative;
}

.group__header:focus-visible {
    outline: 3px solid rgba(91, 67, 234, 0.25);
    outline-offset: 2px;
}

/* Advanced Group Title */
.group__title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    font-size: var(--text-base);
    letter-spacing: var(--tracking-normal);
}
  
.group__title:hover {
    opacity: 0.9;
    text-decoration: none;
}

.group__title:focus-visible {
    outline: 3px solid rgba(91, 67, 234, 0.25);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Complementary title in type page */
.complementary-title {
    font-weight: 800;
    font-size: 14px;
    color: var(--ink);
    margin: 12px 0 8px;
}

/* Advanced Chevron System */
.chevron-btn {
    transition: background 0.2s ease;
    color: var(--brand);
    opacity: 0.8;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: inherit;
    min-width: 36px;
    min-height: 36px;
}
  
.chevron-btn:hover {
    background: rgba(91, 67, 234, 0.1);
    opacity: 1;
}
  
.chevron-btn:focus,
.chevron-btn:focus-visible {
    outline: 2px solid rgba(91, 67, 234, 0.25);
    outline-offset: 2px;
}
  
.chevron-btn .chev-ico {
    width: 16px;
    height: 16px;
    display: block;
    transition: transform 0.2s ease;
}
  
.chevron-btn .chev-ico path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
  
/* Advanced Group Chevron */
.group__chevron {
    transition: background 0.2s ease, color 0.2s ease;
    color: var(--text-secondary);
    opacity: 0.9;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: inherit;
    min-width: 36px;
    min-height: 36px;
}
  
.group__chevron:hover {
    background: var(--interactive-bg-hover);
    color: var(--text-primary);
}
  
.group__chevron .chev-ico {
    width: 18px;
    height: 18px;
    display: block;
    transition: transform 0.2s ease;
}

/* Advanced Group Body */
.group__body {
    padding: var(--space-lg) var(--space-xl);
    display: none;
    border-radius: var(--radius-sm);
    margin-top: var(--space-sm);
}
  
.group.open .group__body {
    display: block;
}
  
.group.open .group__chevron {
    transform: rotate(180deg);
    background: rgba(91, 67, 234, 0.1);
    color: var(--brand);
}

/* Advanced Chips System */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}
  
.chip {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    border: 1px solid var(--interactive-border);
    background: var(--interactive-bg);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
  
.chip:hover {
    background: var(--interactive-bg-hover);
    border-color: var(--interactive-border-hover);
    color: var(--text-primary);
}
  
.chip.active {
    background: rgba(91, 67, 234, 0.1);
    border-color: rgba(91, 67, 234, 0.3);
    color: var(--brand);
}

/* Smooth transitions for content changes */
.groups, .service {
    animation: none;
}

/* Advanced Loading System */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    min-height: 240px;
    gap: 16px;
}
  
.loader {
    position: relative;
    width: 48px;
    height: 48px;
}
  
.loader::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--brand);
    animation: loader-spin 1.2s linear infinite;
}
  
.loader::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--card-bg);
}
  
@keyframes loader-spin {
    to { transform: rotate(360deg); }
}
  
/* Loading dots animation */
.loader-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}
  
.loader-dots::before,
.loader-dots::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    animation: loader-dot 1.4s ease-in-out infinite both;
}
  
.loader-dots::before { animation-delay: -0.32s; }
.loader-dots::after { animation-delay: -0.16s; }
  
@keyframes loader-dot {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}
  
/* Loading text */
.loader-text {
    margin-top: 16px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
  
/* Fade out animation for loader */
.loader-container.fade-out {
    animation: fadeOut 0.3s ease forwards;
}
  
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Unified Category Line System */
.category-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
  
.category-line {
    /* Base Layout */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    
    /* Base Styling */
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 15px;
    
    /* Transitions */
    transition: background 0.2s ease, border-color 0.2s ease;
    
    /* Remove default pseudo-elements */
    &::before {
        content: none;
    }
}
  
.category-line__content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: static;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
}
  
.category-line__chevron {
    /* Base Layout */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    
    /* Base Styling */
    background: none;
    border: none;
    border-radius: 8px;
    padding: 4px;
    min-width: 32px;
    min-height: 32px;
    
    /* Colors */
    color: var(--brand);
    opacity: 0.8;
    
    /* Transitions */
    transition: transform 0.2s ease, background 0.2s ease;
    
    /* Icon */
    .chev-ico {
        width: 16px;
        height: 16px;
        display: block;
    }
}
  
  
.category-line__chevron:hover {
    background: rgba(91, 67, 234, 0.1);
    opacity: 1;
}
  
/* Active States */
.category-line.active {
    border-color: var(--active-border);
    background: var(--active-bg);
}
  
.category-line.active .category-line__chevron {
    background: rgba(91, 67, 234, 0.15);
    color: var(--brand);
    opacity: 1;
}
  
/* Open States */
.category-line.open {
    border-color: var(--brand);
    background: rgba(91, 67, 234, 0.02);
    transition: background 0.2s ease, border-color 0.2s ease;
}
  
.category-line.open .category-line__chevron {
    transform: rotate(180deg);
    background: rgba(91, 67, 234, 0.15);
    color: var(--brand);
    opacity: 1;
}
  
/* Open + Active States */
.category-line.open.active {
    border-color: var(--brand);
    background: rgba(91, 67, 234, 0.08);
}
  
/* Focus States */
.category-line:focus-visible {
    outline: 3px solid rgba(91, 67, 234, 0.25);
    outline-offset: 2px;
}
  
.category-line__content:focus-visible {
    outline: 3px solid rgba(91, 67, 234, 0.25);
    outline-offset: 2px;
    border-radius: 8px;
}

.accordion__body {
    margin: 8px 0 12px;
    padding: 16px;
    background: rgba(91, 67, 234, 0.02);
}

/* Advanced Accessibility for Groups */
@media (prefers-reduced-motion: reduce) {
    .groups *,
    .group *,
    .group__header,
    .group__chevron,
    .group__body {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
    
    .group__header.active::before {
        display: none !important;
    }
}

/* High contrast mode for groups */
@media (prefers-contrast: high) {
    .groups {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.3);
    }
  
    .group__header {
        border-width: 2px;
    }
    
    .chip {
        border-width: 2px;
    }
    
    /* High contrast mode for top-cats */
    .top-cat {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .top-cat .icon-badge {
        border-width: 2px;
    }
}

/* Advanced Accessibility for Top-Cats */
@media (prefers-reduced-motion: reduce) {
    .top-cat,
    .top-cat::before,
    .top-cat::after,
    .top-cat .icon-badge {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
    
    .top-cat[aria-current="true"]::after,
    .top-cat.active::after {
        display: none !important;
    }
}

.accordion__body {
    box-shadow: none;
    margin: 0;
    padding: 12px 16px;
    border-radius: 15px;
}

/* Service item polish */
.services-item {
    border: none;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 4px;
    padding: 8px 12px;
}

.services-item .service-icon {
    background: rgba(91, 67, 234, 0.06);
    color: var(--brand);
}

.services-item .service-price {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 11px;
    color: #00ff88;
}

.services-item:hover {
    background: rgba(91, 67, 234, 0.04);
    transition: background 0.2s ease;
}

.services-item.active {
    border: none;
    background: rgba(91, 67, 234, 0.04);
    transition: background 0.2s ease;
}
