:root {
  --primary: #0d3b66;
  --primary-light: #1a5a9e;
  --secondary: #14b8a6;
  --secondary-light: hsl(172, 66%, 50%);
  --accent: #00a73a;
  --background: #f0f9ff;
  --glass: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow: 0 8px 32px rgba(13, 59, 102, 0.15);
  --shadow-hover: 0 20px 50px rgba(13, 59, 102, 0.25);
  --navy: 222 47% 11%;
  --navy-light: 220 30% 20%;
  --gradient-primary: linear-gradient(
    135deg,
    hsl(217 91% 45%) 0%,
    hsl(180 70% 45%) 100%
  );
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: var(--gradient-primary);
  border-radius: 9999px;
  box-shadow: 0 4px 20px hsla(217, 91%, 45%, 0.35);
  transition: all 0.3s ease;
}
.btn-outline-secondary {
  border-radius: 9999px;
  padding: 1rem 2rem;
}
#hero {
  background: linear-gradient(
    135deg,
    hsl(var(--navy)),
    hsl(var(--navy-light)),
    hsl(var(--navy))
  ) !important;
}
body {
  font-family: "Poppins", sans-serif;
  background: var(--background);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-animation .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s infinite ease-in-out;
}

.blob:nth-child(1) {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.blob:nth-child(2) {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  bottom: -150px;
  left: -100px;
  animation-delay: -5s;
}

.blob:nth-child(3) {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  top: 50%;
  left: 50%;
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 30px) scale(0.95);
  }
  75% {
    transform: translate(40px, 40px) scale(1.05);
  }
}

/* Main Content */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.filter-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.filter-card:hover {
  transform: translateY(-5px);
}

.filter-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-title i {
  color: var(--secondary);
}

.search-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid transparent;
  border-radius: 12px;
  background: white;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  opacity: 0.5;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  border: 2px solid transparent;
}
.category-list a:hover,
.category-list a {
  color: var(--primary) !important;
}

.category-item:hover {
  border-color: var(--secondary);
  transform: translateX(5px);
}
.category-item:hover .category-item {
  color: var(--primary) !important;
}
.category-item.active {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--secondary);
}

.category-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.category-item.active .category-icon {
  background: white;
  color: var(--secondary);
}

.category-name {
  flex: 1;
  font-weight: 500;
}

.category-count {
  background: rgba(13, 59, 102, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.category-item.active .category-count {
  background: rgba(255, 255, 255, 0.3);
}

/* Price Range Slider */
.price-range {
  padding: 0.5rem 0;
}

.price-display {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.price-tag {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--secondary) 0%,
    var(--secondary) 70%,
    #e2e8f0 70%
  );
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--secondary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Products Grid */
.products-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.results-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.results-count {
  font-weight: 600;
  color: var(--primary);
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: white;
  border-radius: 10px;
  cursor: pointer;
  color: var(--primary);
  transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: white;
}

.sort-select {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--glass-border);
  border-radius: 10px;
  background: white;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.sort-select:focus {
  outline: none;
  border-color: var(--secondary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.product-image-wrapper {
  position: relative;
  padding-top: 80%;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  overflow: hidden;
}

.product-image {
  position: absolute;
  top: 50%;
  border-radius: 20px 20px 0px 0px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  object-fit: cover;
  transition: transform 2s ease;
}

.product-card:hover .product-image {
  transform: translate(-50%, -50%) scale(1.1) rotate(3deg);
}

.product-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.badge {
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: white;
}

.badge-sale {
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  color: white;
}

.badge-bestseller {
  background: var(--gradient-primary);
  color: white;
}

.quick-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.product-card:hover .quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.quick-action-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.quick-action-btn:hover {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: white;
  transform: scale(1.1);
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-description {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  color: #fbbf24;
}

.rating-count {
  font-size: 0.8rem;
  color: #94a3b8;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.price-wrapper {
  display: flex;
  flex-direction: column;
}

.current-price {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.original-price {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.products-grid > .col-12,
.subscriptions-grid > .col-12 {
  grid-column: 1 / -1;
}
.add-to-cart-btn {
  background: linear-gradient(135deg, var(--secondary)), var(--secondary-light);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
  font-size: 14px;
}

.add-to-cart-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}
a.add-to-cart-btn:hover {
  color: #fff !important;
}

.add-to-cart-btn.added {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Responsive */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .main-content {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .filter-card {
    flex: 1;
    min-width: 280px;
  }

  .nav-links {
    display: none;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .stats-bar {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-header {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Loading Animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

/* PRICE SLIDER */
.price-filter input[type="number"] {
  width: 80px;
  text-align: center;
}

.slider-container {
  position: relative;
  height: 30px;
}

/* Base track */
.slider-track {
  position: absolute;
  height: 4px;
  background: #ddd;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 5px;
}

/* Active selected range */
.slider-progress {
  position: absolute;
  height: 4px;
  background: #1acc8d;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 5px;
  left: 0;
  right: 0;
}

/* Range inputs */
.slider-container input[type="range"] {
  position: absolute;
  width: 100%;
  height: 30px;
  background: none;
  pointer-events: none;
  appearance: none;
}

/* Thumb */
.slider-container input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  appearance: none;
  height: 16px;
  width: 16px;
  background: #1acc8d;
  border-radius: 50%;
  cursor: pointer;
}

.slider-container input[type="range"]::-moz-range-thumb {
  height: 16px;
  width: 16px;
  background: #1acc8d;
  border-radius: 50%;
  cursor: pointer;
}

.slider-track {
  position: absolute;
  height: 4px;
  background: #ddd;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 5px;
}
.heading-underline {
  position: relative;
  display: inline-block; /* 👈 important */
}

.heading-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%; /* 👈 exactly text width */
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
main.main {
  margin-top: 80px !important;
}

/* Subscription Grid */
.subscriptions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background-color: transparent !important;
}
/* Subscription Card */
.subscription-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.subscription-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: var(--shadow-hover);
}
.subscription-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.1),
    rgba(13, 59, 102, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.subscription-card:hover::before {
  opacity: 1;
}

/* Card Header */
.card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, 20px);
  }
}

.package-name {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  color: white;
  padding: 0.25rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

/* Card Body */
.card-body {
  padding: 1.5rem;
  text-align: center;
}

.price-section {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.original-price {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 500;
}

.current-price {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: flex-start;
}

.currency {
  font-size: 1.25rem;
  margin-right: 0.25rem;
}

.price-decimal {
  font-size: 1rem;
  align-self: flex-start;
  margin-top: 0.25rem;
}

.description {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  min-height: unset;
}

.duration-section {
  background: linear-gradient(
    135deg,
    rgba(13, 59, 102, 0.05),
    rgba(20, 184, 166, 0.05)
  );
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.duration-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.duration-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.duration-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

/* Features List */
.features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  text-align: left;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: #475569;
  font-size: 0.9rem;
}

.features-list li i {
  color: var(--secondary);
  font-size: 1rem;
}

/* Subscribe Button */
.subscribe-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.subscribe-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;
}

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

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(13, 59, 102, 0.3);
}

.subscribe-btn.subscribed {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

/* Featured Card */
.subscription-card.featured {
  transform: scale(1.05);
  border: 3px solid var(--secondary);
}

.subscription-card.featured:hover {
  transform: scale(1.05) translateY(-10px) rotateX(2deg);
}

.subscription-card.featured .card-header {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}
.subscriptions-grid {
  overflow: visible;
}
.sub_category-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem 0.5rem 2.5rem; /* indented from parent */
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid transparent;
  margin-left: 1rem;
  font-size: 0.9rem;
  margin-top: 5px;
  position: relative;
}

.sub_category-item::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.5;
}

.sub_category-item:hover {
  border-color: var(--secondary-light);
  background: rgba(20, 184, 166, 0.08);
  transform: translateX(5px);
}

.sub_category-item:hover::before {
  opacity: 1;
}

.sub_category-item.active {
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.15),
    rgba(13, 59, 102, 0.1)
  );
  border-color: var(--secondary);
}

.sub_category-item.active::before {
  background: var(--primary);
  opacity: 1;
}

.sub_category-item .category-name {
  flex: 1;
  font-weight: 400;
  color: var(--primary);
}

.sub_category-item .category-count {
  background: rgba(13, 59, 102, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

.sub_category-item.active .category-count {
  background: rgba(20, 184, 166, 0.2);
}
/* ================= CATEGORY COLLAPSE FIX ================= */

/* wrapper row for category + arrow */
.category-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

/* remove bg from inner item */
.category-item {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  flex: 1;
}

/* hover effect now on row */
.category-item-row:hover {
  border-color: var(--secondary);
  transform: translateX(5px);
}

/* active state */
.category-item-row.active {
  background: var(--gradient-primary);
  color: white;
}

/* arrow container */
.cat-toggle {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cat-toggle:hover {
  background: #e5e7eb;
}

.cat-toggle i {
  font-size: 12px;
  color: #374151;
  transition: transform 0.3s ease;
}

.cat-toggle.rotate i {
  transform: rotate(180deg);
}

/* subcategory animation */
.subcat-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.subcat-wrapper.open {
  max-height: 500px;
}
.category-item-row.active {
  background: var(--gradient-primary) !important;
  border-color: transparent;
  color: #fff;
}

/* make inner text white when active */
.category-item-row.active .category-name,
.category-item-row.active .category-count {
  color: #fff;
}

/* count pill styling on active */
.category-item-row.active .category-count {
  background: rgba(255, 255, 255, 0.25);
}

/* arrow box when active */
.category-item-row.active .cat-toggle {
  background: rgba(255, 255, 255, 0.2);
}

.category-item-row.active .cat-toggle i {
  color: #fff;
}

@media (max-width: 768px) {
  .subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr) !important;
  }
}
