/* FAQ — Simplified */
.faq {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
    margin-top: 0;
    border-top: 0;
    border-bottom: 0;
}

.faq-container {
    position: relative;
    z-index: 2;
}

.faq-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-weight: 700;
}

.faq-item {
    background:#28235775;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px;
}

.faq-item:hover {
    background: rgba(15, 12, 41, 0.85);
    border-color: rgba(91, 67, 234, 0.3);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.faq-summary {
    color: #ffffff;
    background: transparent;
}

.faq-summary::after {
    color: rgba(255, 255, 255, 0.8);
}

.faq-content {
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
}

/* Product Intro — Simplified */
.product-intro {
    position: relative;
    z-index: 2;
}

.intro-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.3s ease;
}

.intro-card:hover {
    background: rgba(15, 12, 41, 0.6);
    border-color: rgba(91, 67, 234, 0.3);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    transform: translateY(-2px);
}

.intro-title {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.intro-desc {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.intro-video {
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    border-radius: 12px;
    overflow: hidden;
}

.badges {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid;
    backdrop-filter: blur(30px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.badge.success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.badge.info {
    background: rgba(91, 67, 234, 0.15);
    color: #5b43ea;
    border-color: rgba(91, 67, 234, 0.3);
}

.badge.tag {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.3);
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 24px;
    padding: 25px 0 0 0;  
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel-title {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-banner-card {
    width: auto;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    padding: 7px;
}

.hero-banner-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    position: relative;
    z-index: 2;
}

/* Hero Cards Carousel Section */
.hero-cards-carousel-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
  }
  
  
  
  .hero-cards-carousel-section .carousel-track {
    gap: 0;
  }
  
  .hero-cards-carousel-section .carousel-track .carousel-item {
    flex: 0 0 auto;
    margin-right: 14px;
    width: auto;
  }
  
  .hero-cards-carousel-section .hero-banner-card {
    width: fit-content;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .hero-cards-carousel-section .hero-banner-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .hero-cards-carousel-section .hero-banner-card img {
    width: auto;
    height: 280px;
    max-width: none;
    object-fit: contain;
    display: block;
  }
  
  /* Discount Carousel Section */
  .discount-carousel-section {
    background: #0f0c29;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
  }
  
  .carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
  }
  

  
  .view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
  }
  
  .view-more-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
  }
  
  .view-more-btn svg {
    width: 14px;
    height: 14px;
  }
  

  
 
  

  .rc-title { color: #ffffff; }
  .rc-ico {
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.08);
  }
  .rc-rating { background: rgba(15, 12, 41, 0.6); border: 1px solid rgba(255,255,255,0.08); color: #ffd54f; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
  .rc-price { background: rgba(0,255,136,0.15); color: #00ff88; border: 1px solid rgba(0,255,136,0.3); text-shadow: 0 0 8px rgba(0,255,136,0.4); }
  .rc-btn { background: rgb(0 0 0 / 9%); color: #ffffff; border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
  .rc-btn:hover { background: rgba(91,67,234,0.2); border-color: rgba(91,67,234,0.4); }
  
/* Related Title with Gradient Separator */
.related-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  text-align: center;
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.related-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(91, 67, 234, 0.8), rgba(124, 92, 240, 0.8), transparent);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(91, 67, 234, 0.4);
}


.faq-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(91, 67, 234, 0.8), rgba(124, 92, 240, 0.8), transparent);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(91, 67, 234, 0.4);
}
  

/* Modern tooltip system (reusable) - Disabled in favor of JavaScript tooltips */
[data-tooltip]{
  position: relative;
  z-index: 100;
  cursor: help;
}

/* CSS tooltips disabled - using JavaScript tooltips instead */
[data-tooltip]::after,
[data-tooltip]::before{
  display: none !important;
}


.layout{
  display:grid;
  grid-template-columns: 37% 63%;
  gap:24px;
  max-width:1400px;
  margin:0 auto;
  padding: 0 24px;
  align-items:start; /* prevent equal-height stretching across columns */
}
@media (max-width: 900px){
  .layout{ 
    grid-template-columns: 1fr; 
    gap: 24px;
    padding: 0 20px;
    margin: 0 auto 40px auto;
  }
  
  .groups, .service{ 
    grid-column: 1; 
    position: static; 
    width: 100%; 
    max-width: 100%; 
    min-width: 0; 
    overflow-x: hidden; 
  }
}

/* Advanced Mobile Optimization for Unified Section */
@media (max-width: 900px) {
  .unified-container {
    padding: 16px 16px 24px 16px;
  }
  
  .unified-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  /* Unified container mobile optimization handled in main definition */
  
  /* Breadcrumb mobile optimization */
  .breadcrumb-list {
    gap: var(--space-xs);
  }
  
  .breadcrumb-item {
    font-size: var(--text-xs);
    gap: var(--space-xs);
  }
  
  .breadcrumb-item:not(:last-child)::after {
    font-size: var(--text-sm);
    margin: 0 2px;
  }
  
  .breadcrumb-link,
  .breadcrumb-current {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
  }
  

}

@media (max-width: 480px) {
  /* Unified container small mobile optimization handled in main definition */
  .unified-container {
    padding: 12px 12px 20px 12px;
  }
  
  .unified-content {
    gap: var(--space-md);
  }
  
  /* Breadcrumb extra small optimization */
  .breadcrumb-list {
    gap: 4px;
  }
  
  .breadcrumb-item {
    font-size: 11px;
    gap: 4px;
  }
  
  .breadcrumb-item:not(:last-child)::after {
    font-size: 12px;
    margin: 0 2px;
  }
  
  .breadcrumb-link,
  .breadcrumb-current {
    padding: 4px 8px;
    border-radius: 8px;
  }
  

}

/* Advanced Accessibility for Unified Section */
@media (prefers-reduced-motion: reduce) {
  .unified-section,
  .unified-section::before,
  .breadcrumb-link,
  .breadcrumb-current {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* High contrast mode for unified section */
@media (prefers-contrast: high) {
  .unified-section::before {
    height: 2px;
    background: linear-gradient(90deg, 
      rgba(91, 67, 234, 1), 
      rgba(124, 92, 240, 1), 
      rgba(168, 85, 247, 1));
  }
  

  
  .breadcrumb-link,
  .breadcrumb-current {
    border-width: 2px;
  }
}



.breadcrumb-link:focus-visible,
.breadcrumb-current:focus-visible {
  outline: none;
  box-shadow: 
    0 0 0 2px rgba(15, 12, 41, 0.8),
    0 0 0 4px rgba(91, 67, 234, 0.3);
  border-radius: var(--radius-sm);
}



.breadcrumb-link:active,
.breadcrumb-current:active {
  transform: translateY(1px);
}

/* RTL support for unified section */
[dir="rtl"] .unified-content {
  grid-template-columns: 70% 30%;
}


[dir="rtl"] .unified-hero-ai-left {
  text-align: right;
}

/* Touch optimization for unified section */
@media (hover: none) and (pointer: coarse) {
  .breadcrumb-link:hover,
  .breadcrumb-current:hover {
    transform: none;
  }
}


/* Top Categories System */
.top-cats{
    max-width: 1400px;
    margin: 30px auto 0 auto;
    padding: 24px 24px;
    position: relative;
}

.top-cats__list{
    padding: var(--space-sm) 0;
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    overflow: hidden;
    position: relative;
}

.top-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--accent, rgba(255, 255, 255, 0.1));
    background: rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    padding: var(--space-lg) var(--space-xl);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.top-cat:hover{
    border-color: var(--interactive-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.top-cat[aria-current="true"],
.top-cat.active{
    border-color: rgba(91, 67, 234, 0.4);
    background: rgba(91, 67, 234, 0.15);
    position: relative;
    overflow: hidden;
}

.top-cat .title{
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--text-primary);
    transition: color var(--transition-fast);
    position: relative;
    z-index: 1;
}

.top-cat:hover .title{
    color: var(--text-primary);
}

.top-cat[aria-current="true"] .title,
.top-cat.active .title{
    color: var(--text-primary);
}

.top-cat__content{
    display: flex;
    align-items: center;
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.top-cat:focus-visible{
    outline: none;
    box-shadow: 
        0 0 0 2px var(--card-bg),
        0 0 0 4px var(--brand);
}

.top-cat:active { 
    transform: translateY(0) scale(0.98); 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-fast);
}

.icon-container{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.icon-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(91, 67, 234, 0.15);
    font-size: var(--text-base);
    color: #c7baff;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 6px rgba(91, 67, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.icon-badge.lg{
    width: 40px;
    height: 40px;
    font-size: var(--text-lg);
}

.icon-badge:hover{
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(91, 67, 234, 0.25);
}

.top-cat .icon-badge{
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all var(--transition-fast);
}

.top-cat:hover .icon-badge{
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #c7baff;
    transform: scale(1.05);
}

.top-cat[aria-current="true"] .icon-badge,
.top-cat.active .icon-badge{
    background: rgba(91, 67, 234, 0.15);
    border-color: rgba(91, 67, 234, 0.3);
    color: #efeaff;
    box-shadow: 0 2px 8px rgba(91, 67, 234, 0.2);
}

.groups .icon-badge{
    background:rgba(255, 255, 255, 0.08);
    border:1px solid var(--accent);
    box-shadow:none;
    transition:none;
    width:28px;
    height:28px;
    border-radius:10px;
    font-size:14px;
}

.groups .icon-badge:hover{
    transform:none;
    box-shadow:none;
}

/* Container query optimizations */
@container (max-width: 800px) {
    .unified-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@container (max-width: 600px) {
    .unified-content {
        gap: var(--space-md);
    }
    
    .breadcrumb-list {
        gap: var(--space-xs);
    }
    
    .breadcrumb-item {
        font-size: var(--text-xs);
    }
}

/* Unified Section System */
.unified-section {
    background: transparent;
    border-top: 0;
    border-bottom: 0;
    position: relative;
    overflow: hidden;
    padding: 12px;
    container-type: inline-size;
}

.unified-hero-ai {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.unified-hero-ai__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.unified-hero-ai__icon .ai-ico {
    width: 32px;
    height: 32px;
    fill: var(--brand);
}

.unified-hero-ai-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.unified-hero-ai__title {
    font-weight: 800;
    font-size: 20px;
    color: var(--text-primary);
    margin: 0;
}

.unified-hero-ai__desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.unified-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 0 24px;
    position: relative;
    z-index: 1;
    container-type: inline-size;
    transition: all var(--transition-normal);
    overflow: hidden;
    direction: rtl;
}

[dir="ltr"] .unified-container,
html[dir="ltr"] .unified-container {
    direction: ltr;
}

.unified-container:focus-within {
    outline: none;
    box-shadow: 
        0 0 0 2px rgba(15, 12, 41, 0.8),
        0 0 0 4px rgba(91, 67, 234, 0.3);
    border-radius: var(--radius);
}

@media (prefers-reduced-motion: reduce) {
    .unified-container {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

@media (prefers-contrast: high) {
    .unified-container {
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: rgba(15, 12, 41, 0.95);
    }
}

@media (hover: none) and (pointer: coarse) {
    .unified-container {
        transition: none;
    }
}

@media (max-width: 480px) {
    .unified-container {
        padding: var(--space-md) var(--space-sm);
    }
}

@container (max-width: 800px) {
    .unified-container {
        padding: var(--space-lg) var(--space-md);
    }
}

@container (max-width: 600px) {
    .unified-container {
        padding: var(--space-md) var(--space-sm);
    }
}

.unified-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
    min-height: 80px;
    width: 100%;
    direction: rtl;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    padding-left: 0;
    padding-right: 0;
}

[dir="rtl"] .unified-content,
html[dir="rtl"] .unified-content {
    flex-direction: row-reverse;
}

[dir="ltr"] .unified-content,
html[dir="ltr"] .unified-content {
    flex-direction: row;
}

.breadcrumb {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 60px;
    height: 60px;
    position: relative;
    align-self: center;
}

.unified-hero-ai {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 60px;
    height: 60px;
    position: relative;
    align-self: center;
}

[dir="rtl"] .unified-content {
    flex-direction: row-reverse;
}

[dir="ltr"] .unified-content,
html[dir="ltr"] .unified-content {
    flex-direction: row;
}

@media (max-width: 900px) {
    .unified-content {
        flex-direction: column !important;
        align-items: stretch;
        width: 100% !important;
        justify-content: flex-start;
        display: flex !important;
    }
    
    .breadcrumb {
        order: 1;
        width: 100% !important;
        justify-content: center;
        min-height: auto;
        height: auto;
        flex: 1 1 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
  .unified-content {
    align-items: stretch; /* تمام عرض */
    width: 100% !important;
  }
  
  .breadcrumb {
    width: 100% !important;
    flex: 1 1 100% !important; /* تمام عرض */
  }
  

  
  /* Small mobile responsive for unified-hero-ai */
  .unified-hero-ai {
    width: 100% !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
  
  .unified-hero-ai-left {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  
  .unified-hero-ai__title {
    font-size: 18px;
    width: 100% !important;
  }
  
  .unified-hero-ai__desc {
    font-size: 13px;
    width: 100% !important;
  }
  
  .unified-hero-ai__icon .ai-ico {
    width: 28px;
    height: 28px;
  }
  
  /* Unified container small mobile optimization handled in main definition */
}

/* Breadcrumb Section */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  /* Ensure no margin/padding affects alignment */
  box-sizing: border-box;
}

.breadcrumb::before {
  content: none;
}

.breadcrumb-container {
  max-width: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-list {
  display: flex;
  align-items: left;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  direction: rtl;
  min-height: 60px; /* ارتفاع ثابت - مطابق با hero-ai */
  height: 60px; /* ارتفاع ثابت */
  justify-content: flex-end; /* انتهای ردیف */
  width: 100%;
}

/* Mobile breadcrumb list */
@media (max-width: 900px) {
  .breadcrumb-list {
    justify-content: right; /* وسط در موبایل */
    min-height: auto;
    height: auto;
    width: 100%;
    max-width: 100%;
    /* Keep items on a single row and allow horizontal scroll */
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  /* Hide scrollbar on WebKit */
  .breadcrumb-list::-webkit-scrollbar { display: none; }
  /* Prevent items from shrinking so chips stay intact */
  .breadcrumb-item { flex: 0 0 auto; }
  /* Prevent chip text from wrapping */
  .breadcrumb-link,
  .breadcrumb-current { white-space: nowrap; }
  
  .breadcrumb-container {
    width: 100%;
    max-width: 100%;
  }
  

}

/* LTR Support for breadcrumb list */
[dir="ltr"] .breadcrumb-list,
html[dir="ltr"] .breadcrumb-list {
  direction: ltr;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition-fast);
}

.breadcrumb-item:not(:last-child)::after {
  content: "/";
  color: var(--text-muted);
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0 var(--space-xs);
  transition: color var(--transition-fast);
}

/* LTR Support for breadcrumb separator */
[dir="ltr"] .breadcrumb-item:not(:last-child)::after,
html[dir="ltr"] .breadcrumb-item:not(:last-child)::after {
  content: "/";
}

.breadcrumb-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-normal);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--interactive-border);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.breadcrumb-link:hover {
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(91, 67, 234, 0.15);
  border-color: rgba(91, 67, 234, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91, 67, 234, 0.2);
}

.breadcrumb-link span {
  position: relative;
  z-index: 1;
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 700;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--interactive-border);
  box-shadow: none;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

/* Right column - main categories */
.main-cats{
  background:var(--panel);
  border-radius:var(--radius);
  padding:20px;
  height:max-content;
  border:1px solid var(--accent);
  backdrop-filter: blur(10px);
}

.main-cats__header{
  font-weight:700;
  margin-bottom:16px;
  font-size:16px;
  color:var(--ink);
  display:flex;
  align-items:center;
  gap:8px;
}

.main-cats__header::before{
  content:"";
  width:4px;
  height:16px;
  background:var(--brand);
  border-radius:2px;
}

.main-cats__list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.main-cats__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid var(--accent);
  border-radius:var(--radius-sm);
  padding:14px 16px;
  background:rgba(255, 255, 255, 0.06);
  cursor:pointer;
  transition:all .2s ease;
  position:relative;
  backdrop-filter: blur(8px);
}

.main-cats__item[aria-current="true"], 
.main-cats__item:hover{
  border-color:var(--brand);
  box-shadow:0 0 0 3px rgba(91,67,234,.15);
  transform:translateY(-1px);
  background:rgba(255, 255, 255, 0.08);
}

.main-cats__item .title{
  font-weight:600;
  font-size:14px;
  color:#fff;
}

/* Columns */
.groups{grid-column:1; grid-row:1; align-self:start}
.service{grid-column:2; grid-row:1; align-self:start}

/* Show-more button */
.show-more{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:16px;
  padding:12px 0;
}

.show-more button{
  all:unset;
  cursor:pointer;
  color:var(--brand);
  font-weight:600;
  transition:all .3s ease;
}

.show-more .load-more{
  width:100%;
  text-align:center;
  border:1px solid rgba(91,67,234,.15);
  background:rgba(15, 12, 41, 0.4);
  border-radius:16px;
  padding:14px 20px;
  transition:all .3s ease;
  font-weight:600;
  color:#c7baff;
  position:relative;
  overflow:hidden;
  backdrop-filter:blur(20px);
  font-size:15px;
  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,.2);
  border-color:rgba(91,67,234,.4);
  transform:translateY(-2px);
  color:#fff;
  box-shadow:0 8px 25px rgba(91,67,234,.25);
}

.show-more .load-more .ico{
  transition:transform .3s ease;
}

.show-more .load-more:hover .ico{
  transform:rotate(180deg);
}

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

/* Mobile: right column becomes a horizontal scroll list */
@media (max-width: 900px){
  .layout{
    grid-template-columns:1fr;
    gap:24px;
    padding:0 20px;
    margin:0 auto 40px auto;
  }
  
  .groups, .service{
    grid-column: 1 / -1; 
    grid-row: auto; 
    width: 100%; 
    max-width: 100%; 
    position:static;
  }
  
  .top-cats{
    margin: 0 auto;
    padding: 16px 16px 0 16px;
  }
  
  .top-cats__list{
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 12px;
  }
  
  .top-cats__list::-webkit-scrollbar{
    display: none;
  }
  
  .top-cat{
    min-width: 200px;
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: var(--space-md) var(--space-lg);
  }
  
  .top-cat .title{
    font-size: var(--text-sm);
  }
  
  .top-cat .icon-badge{
    width: 32px;
    height: 32px;
    font-size: var(--text-sm);
  }
  
  .main-cats{
    padding:0 0 12px 0;
    background:transparent;
    border:none;
  }
  
  .main-cats__header{
    padding:0 12px;
    margin-bottom:12px;
  }
  
  .main-cats__list{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    display:flex;
    flex-direction:row;
    gap:10px;
    padding:0 12px;
    scroll-snap-type:x mandatory;
  }
  
  .main-cats__item{
    min-width:180px;
    scroll-snap-align:start;
    flex-shrink:0;
  }
  
  .groups{
    padding: 20px;
    border-radius: var(--radius-sm);
    position: static;
    top: auto;
    margin-bottom: 0;
  }
  
  .group{
    margin-bottom: var(--space-sm);
  }
  
  .group__header{
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-sm);
  }
  
  .group__body{
    padding: var(--space-md) var(--space-lg);
  }
  
  .groups__search h3{
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
  }
  
  .searchbar input{
    font-size: var(--text-sm);
    padding: 10px 36px 10px 12px;
  }
  
  .accordion__body{
    padding:14px;
  }
  
  .services-item{
    padding:12px 14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }
  
  .services-item .service-content{
    gap: 4px;
  }
  
  .services-item .service-name{
    font-size: 14px;
  }
  
  .services-item .service-price{
    font-size: 11px;
    padding: 3px 6px;
  }
  
  .filters-bar{
    gap:8px;
    margin:6px 0 10px;
  }
  
  .filters-bar .chip-btn{
    padding:10px 12px;
    min-height:38px;
  }
  
  .chevron-btn,.group__chevron,.category-line__chevron{
    min-width:44px;
    min-height:44px;
  }
  
  .groups{
    padding: 16px; 
    margin-bottom: 0;
  }
  
  .group__header{
    padding: 12px 16px;
  }
  
  .services-item{
    padding: 8px 12px;
  }
  
  .purchase-bar{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px 14px;
  }
  
  .purchase-bar .pb-qty,
  .purchase-bar .pb-price{
    justify-content:space-between;
  }
  
  .purchase-bar select{
    width:100%;
  }
  
  .service-card{
    padding: 16px;
    border-radius: 12px;
  }
}

/* Tablet optimization */
@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
    margin: 0 auto 32px auto;
  }
  
  .groups, .service {
    width: 100%;
    max-width: 100%;
  }
  
  .groups {
    padding: 16px;
  }
  
  .service-card {
    padding: 14px;
  }
}

/* Small mobile optimization */
@media (max-width: 480px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 12px;
    margin: 0 auto 24px auto;
  }
  
  .groups, .service {
    width: 100%;
    max-width: 100%;
  }
  
  .groups {
    padding: 12px;
  }
  
  .group__header {
    padding: 10px 12px;
  }
  
  .services-item {
    padding: 6px 8px;
  }
  
  .service-card {
    padding: 12px;
  }
}

.service-header{
  gap: 10px;
  margin-bottom: 20px;
}

.service-header .name{
  font-size: 15px;
}

.purchase-bar{
  padding: 14px 16px;
  gap: 12px;
  margin: 16px 0 20px;
}

.bullets{
  padding: 14px;
  margin: 14px 0 18px;
}

.bullets li{
  font-size: 13px;
}

.comments-section{
  padding: 14px;
}

.order-row{
  gap: 12px;
  margin-top: 20px;
}

.btn.btn-xl{
  padding: 14px 20px;
  font-size: 14px;
}

.service-header{
  padding: 14px 16px;
  margin-bottom: 20px;
}

.service-header .header-top{
  gap: 12px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.service-header .header-left{
  width: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.service-header .name{
  font-size: 16px;
  width: 70%;
  flex: 1;
}

.service-header .rating{
  padding: 0;
  font-size: 12px;
  gap: 6px;
  width: auto;
  flex-shrink: 0;
  min-width: unset;
}

.service-header .header-bottom{
  gap: 12px;
  width: 100%;
}

.service-header .status-badge{
  padding: 4px 8px;
  font-size: 11px;
}

@media (max-width: 700px){
  .btn-head .label{
    display:none;
  }
  
  .btn-head{
    padding:8px 10px;
    border-radius:10px;
  }
  
  .purchase-bar{
    border-radius:12px;
  }
  
  .purchase-bar .pb-label{
    font-size:13px;
  }
  
  .service-card{
    padding: 16px;
    border-radius: 12px;
  }
  
  .service-header{
    padding: 12px 14px;
    margin-bottom: 18px;
  }
  
  .service-header .header-top{
    gap: 8px;
  }
  
  .service-header .name{
    font-size: 13px;
  }
  
  .service-header .rating{
    padding:0;
    font-size:11px;
    gap:4px;
  }
  
  .service-header .star{
    font-size: 11px;
  }
  
  .service-header .header-bottom{
    gap: 8px;
  }
  
  .service-header .status-badge{
    padding: 3px 6px;
    font-size: 10px;
    z-index: 100;
  }
  
  .service-header .status-badge .status-icon{
    width: 12px;
    height: 12px;
  }
}

/* Mobile service header improvements */
@media (max-width: 900px){
  .service-header .header-top{
    gap: 8px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .service-header .header-left{
    width: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
  }
  
  .service-header .name{
    font-size: 14px;
    width: 70%;
    flex: 1;
  }
  
  .service-header .rating{
    padding: 0;
  }
}

/* FAQ (minimal) */
.faq-container{
  max-width:1400px;
  margin:0 auto;
  padding:20px 24px;
}

.faq-title{
  margin:0 0 24px;
  font-weight:800;
  font-size:20px;
  text-align:center;
  color:var(--ink);
}

.faq-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  align-items:start;
}

.faq-col{
  min-width:0;
}

.product-intro{
  min-width:0;
}

.intro-title{
  margin:0 0 12px;
  font-weight:800;
  font-size:18px;
  color:var(--ink);
}

.intro-desc{
  color:var(--ink-2);
  margin:12px 0 0;
}

.faq-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.faq-item{
  border:1px solid var(--accent);
  border-radius:12px;
  padding:0;
  transition:background-color .2s ease,border-color .2s ease;
  position:relative;
  overflow:hidden;
}

.faq-summary{
  cursor:pointer;
  padding:14px 16px;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-radius:12px;
}

.faq-summary::after{
  content:"\25BE";
  color:var(--ink-3);
  transition:transform .2s ease;
  font-size:14px;
}

.faq-item:hover{
  border-color:rgba(91,67,234,.2);
}

.faq-item[open]{
  border-color:rgba(91,67,234,.2);
  background-color: #221e49;
}

.faq-item[open] .faq-summary::after{
  transform:rotate(180deg);
  opacity:.8;
}

.faq-content{
  padding:16px 18px;
  color:var(--ink-2);
  line-height:1.6;
}

@media (max-width: 900px){
  .faq-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
}

/* Related services (minimal) */
.related{
  border-top:0;
  border-bottom:0;
}

.related-container{
  max-width:1400px;
  margin:0 auto;
  padding:20px 24px;
}

.related-title{
  margin:0 0 24px;
  font-weight:800;
  font-size:20px;
  text-align:center;
  color:#fff;
}

.related-grid{
  --related-gap:16px;
  display:flex;
  gap:var(--related-gap);
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  padding-bottom:8px;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:24px;
  cursor:grab;
  overscroll-behavior-x:contain;
}

.related-grid.auto-scroll{
  animation:slide-right 20s linear infinite;
}

.related-grid.auto-scroll:hover{
  animation-play-state: paused;
}

.related-grid.drag-ready,.related-grid.dragging{
  cursor:grabbing;
  user-select:none;
  -webkit-user-select:none;
}

.related-grid.dragging{
  scroll-snap-type:none;
}

.related-card{
  border-radius:15px;
  padding:16px;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.08);
  flex:0 0 var(--related-col, calc((100% - 3 * var(--related-gap)) / 4));
  scroll-snap-align:start;
  padding-top:32px;
}

.related-card:hover{
  background:rgba(15, 12, 41, 0.144);
  border-color:rgba(91,67,234,.3);
}

.rc-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}

.rc-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:10px;
  font-size:14px;
  color:#fff;
  font-weight:600;
  transition:background-color .2s ease;
  border:1px solid rgba(255,255,255,0.08);
}

.rc-ico:hover{
  background:rgba(91,67,234,.1);
}

.rc-title{
  margin:0;
  font-weight:600;
  font-size:14px;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rc-title a{
  text-decoration:none;
  color:inherit;
  transition:color .3s ease;
}

.rc-title a:hover{
  color:var(--brand);
}

.rc-rating{
  position:absolute;
  top:8px;
  left:8px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#ffd54f;
  font-size:12px;
  background:rgba(15, 12, 41, 0.8);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:999px;
  padding:2px 8px;
}

.rc-rating .rc-label{
  color:#fff;
  opacity:.9;
  margin-left:2px;
}

.rc-rating .stars{
  display:inline-flex;
}

.rc-rating .stars svg{
  width:14px;
  height:14px;
  display:inline-block;
}

.rc-rating .stars svg path{
  fill:currentColor;
}

.rc-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:12px;
}

.rc-price{
  color:#00ff88;
  font-size:13px;
  font-weight:800;
  background:rgba(0,255,136,.15);
  padding:6px 10px;
  border-radius:8px;
  border:1px solid rgba(0,255,136,.3);
}

.rc-btn{
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(15, 12, 41, 0.6);
  color:#fff;
  border-radius:12px;
  padding:10px 14px;
  cursor:pointer;
  font-weight:700;
  transition:background-color .2s ease,border-color .2s ease,transform .1s ease;
  font-size:13px;
  display:inline-block;
  text-decoration:none;
  backdrop-filter:blur(15px);
}

.rc-btn:hover{
  background:rgba(91,67,234,.2);
  border-color:rgba(91,67,234,.4);
  text-decoration:none;
}

.rc-btn:active{
  transform:translateY(1px);
}

/* Badge styles for related cards */
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}

.badge{
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid;
}

.badge.success {
  background: rgb(32 23 81);
  color: #8975ff;
  border-color: rgba(88, 36, 209, 0.2);
}

.badge.discount{
  background:rgba(239,68,68,.1);
  color:#ef4444;
  border-color:rgba(239,68,68,.2);
}

.badge.trend{
  background:rgba(59,130,246,.1);
  color:#3b82f6;
  border-color:rgba(59,130,246,.2);
}

.badge.info{
  background:rgba(91,67,234,.1);
  color:var(--brand);
  border-color:rgba(91,67,234,.2);
}

.badge.tag{
  background:rgba(168,85,247,.1);
  color:#a855f7;
  border-color:rgba(168,85,247,.2);
}

/* Related responsive columns for carousel */
@media (min-width: 901px){
  .related-grid{
    --related-col: calc((100% - 3 * var(--related-gap)) / 4);
  }
}

@media (max-width: 900px){
  .related-grid{
    --related-col: calc((100% - var(--related-gap)) / 2);
  }
}

@media (max-width: 600px){
  .related-grid{
    --related-col: 78%;
  }
}

/* Skeleton loading states */
.skeleton{
  background:linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size:200% 100%;
  animation:skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading{
  0%{
    background-position:200% 0;
  }
  100%{
    background-position:-200% 0;
  }
}

@keyframes slide-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Enhanced suggestion cards for subcategories */
.empty-state__suggestion {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
  font-size: 14px;
  min-height: 80px;
}

.empty-state__suggestion:hover {
  border-color: var(--brand);
  background: var(--active-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91,67,234,.1);
}

.suggestion-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.suggestion-title {
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}

.suggestion-count {
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}

.suggestion-price {
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
}

.empty-state--inline .empty-state__suggestions {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  max-width: none;
}


/* Responsive adjustments for empty state and skeleton */
@media (max-width: 768px) {
  .empty-state {
    margin: 16px;
    padding: 32px 16px;
  }
  
  .empty-state__suggestions {
    grid-template-columns: 1fr;
  }
  
  .empty-state--inline {
    padding: 24px 16px;
  }
  
  .empty-state--inline .empty-state__suggestions {
    grid-template-columns: 1fr;
    max-width: none;
  }
  
  .skeleton-grid {
    margin: 16px 16px 24px 16px;
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
}

/* Show more button styles */
.show-more-line {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #27265130;
}

.show-more-btn {
  width: 100%;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: 16px;
  cursor: pointer;
  transition: all .3s ease;
  text-align: center;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(91,67,234,.15), rgba(124,92,240,.1));
  border: 1px solid rgba(91,67,234,.2);
  color: #c7baff;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  letter-spacing: 0.5px;
}

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

.show-more-btn:hover::before {
  left: 100%;
}

.show-more-btn:hover {
  background: linear-gradient(135deg, rgba(91,67,234,.25), rgba(124,92,240,.2));
  border-color: rgba(91,67,234,.4);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(91,67,234,.3);
}

.show-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(91,67,234,.2);
}

.show-more-btn .ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.show-more-btn:hover .ico {
  transform: rotate(180deg);
}

/* icon on the left end */
/* remove custom icon spacing when no icon */

@media (max-width: 900px){
  .page{padding:0}
}
@media (max-width: 700px){
  .page{padding:0}
}

