/* ==========================================================================
   Contix Store Experience Stylesheet (store.css) - 100% Matching viralshoc.com
   ========================================================================== */

/* === Header & Navigation === */
.ac-site-header {
  position: relative;
  width: 100%;
  background: var(--ac-header-bg);
  border-bottom: 1px solid var(--ac-line);
  z-index: 999;
  transition: transform var(--ac-trans-normal), box-shadow var(--ac-trans-normal);
}

.ac-sticky-header .ac-site-header {
  position: sticky;
  top: 0;
}

.ac-site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.08);
}

.ac-site-header.is-hidden {
  transform: translateY(-100%);
}

.ac-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 66px;
}

.ac-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ac-ink);
  flex: none;
}

.ac-brand--icon_only {
  gap: 0;
}

.custom-logo,
.ac-brand-logo-img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.ac-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ac-drawer-brand--icon_only {
  gap: 0;
}

.ac-brand-mark, .ac-brand__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ac-primary);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: background var(--ac-trans-fast);
}

.ac-main-nav {
  display: flex;
  align-items: center;
}

.ac-nav-inner {
  display: flex;
  align-items: center;
}

/* Hide Mobile Drawer elements on Desktop */
.ac-mobile-menu-toggle,
.ac-search-toggle,
.ac-drawer-head,
.ac-drawer-cta,
.ac-nav-overlay {
  display: none !important;
}

.ac-primary-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ac-primary-menu .ac-menu-icon {
  display: none !important;
}

.ac-primary-menu a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--ac-radius-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--ac-text);
  transition: all var(--ac-trans-fast);
  text-decoration: none;
}

.ac-primary-menu a:hover,
.ac-primary-menu .current-menu-item > a {
  background: var(--ac-tint);
  color: var(--ac-primary);
}

/* === HEADER SEARCH: Exact viralshoc Pill Input === */
.ac-header-search {
  flex: 1;
  display: flex;
  min-width: 140px;
  max-width: 380px;
  margin-inline-start: auto;
  background: var(--ac-bg);
  border: 1px solid var(--ac-line);
  border-radius: 999px;
  overflow: visible;
  transition: all var(--ac-trans-fast);
  position: relative;
}

.ac-header-search:focus-within {
  border-color: var(--ac-primary);
  box-shadow: 0 0 0 3px rgba(var(--ac-primary-rgb), 0.18);
  background: var(--ac-surface);
}

.ac-header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 16px;
  height: 40px;
  font: inherit;
  font-size: 14px;
  color: var(--ac-ink);
  outline: 0;
}

.ac-header-search button {
  border: 0;
  background: transparent;
  color: var(--ac-muted);
  width: 42px;
  height: 40px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color var(--ac-trans-fast);
}

.ac-header-search button:hover {
  color: var(--ac-primary);
}

/* Explore Apps CTA Button */
.ac-header-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--ac-primary);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--ac-trans-fast);
  flex: none;
  text-decoration: none;
}

.ac-header-submit:hover {
  background: var(--ac-primary-hover);
  color: #ffffff;
}

/* Mobile Icon Buttons (Menu toggle & Search toggle) */
.ac-icon-btn {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ac-line);
  background: var(--ac-surface);
  color: var(--ac-ink);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex: none;
}

/* === HERO SEARCH: Exact viralshoc Box Design === */
.ac-welcome {
  background: linear-gradient(135deg, var(--ac-secondary, #073a62) 0%, var(--ac-primary) 100%);
  color: #ffffff;
  border-radius: var(--ac-radius);
  padding: clamp(30px, 4.5vw, 48px) clamp(20px, 4vw, 40px);
  margin-bottom: 24px;
  box-shadow: var(--ac-shadow);
  text-align: center;
  position: relative;
  overflow: visible;
  display: grid;
  gap: 18px;
}

.ac-overline {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--ac-radius-pill);
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.ac-welcome h1 {
  font-size: clamp(22px, 3.2vw, 34px);
  color: #ffffff;
  margin: 0 0 10px;
  font-weight: 800;
}

.ac-welcome p {
  font-size: clamp(14px, 1.6vw, 15.5px);
  opacity: 0.92;
  max-width: 650px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.ac-home-search {
  display: flex;
  max-width: 560px;
  background: #ffffff;
  border-radius: 14px;
  padding: 5px;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  margin: 0 auto;
  align-items: center;
}

.ac-home-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 16px;
  font: inherit;
  outline: 0;
  background: transparent;
  color: #172033;
  height: 46px;
  font-size: 15px;
}

.ac-home-search button {
  border: 0;
  background: var(--ac-primary);
  color: #ffffff;
  border-radius: 10px;
  padding: 0 28px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
  flex-shrink: 0;
}

.ac-home-search button:hover {
  background: var(--ac-primary-hover);
}

/* Hero Category Chips */
.acb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.acb-chips a {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: all var(--ac-trans-fast);
}

.acb-chips a:hover {
  background: #ffffff;
  color: var(--ac-primary);
}

/* === Live AJAX Search Suggestions Dropdown === */
.ac-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--ac-line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  z-index: 1000;
  max-height: 380px;
  overflow-y: auto;
  padding: 8px 0;
  text-align: right;
}

.ac-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--ac-ink);
  transition: background var(--ac-trans-fast);
  text-decoration: none;
}

.ac-search-item:hover {
  background: var(--ac-tint);
}

.ac-search-item img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.ac-search-item__info {
  flex: 1;
  min-width: 0;
}

.ac-search-item__title {
  font-weight: 700;
  font-size: 14px;
  color: var(--ac-ink);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-search-item__meta {
  font-size: 12px;
  color: var(--ac-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === Enclosed White Card Box Sections (Exact viralshoc.com Style) === */
.ac-store-section {
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
  padding: 24px;
  margin-bottom: 24px;
}

.ac-store-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ac-line);
}

.ac-store-section-head span {
  font-size: 12px;
  color: var(--ac-primary);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.ac-store-section-head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: var(--ac-ink);
  padding-inline-start: 10px;
  border-inline-start: 4px solid var(--ac-primary);
  line-height: 1.2;
}

/* Category Pills Carousel inside White Card Box */
.ac-category-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding: 4px 0 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ac-line) transparent;
}

.ac-category-pills::-webkit-scrollbar {
  height: 6px;
}

.ac-category-pills::-webkit-scrollbar-track {
  background: var(--ac-surface-alt);
  border-radius: 10px;
}

.ac-category-pills::-webkit-scrollbar-thumb {
  background: var(--ac-line);
  border-radius: 10px;
}

.ac-category-pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ac-tint);
  color: var(--ac-ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  transition: all var(--ac-trans-fast);
  border: 1px solid transparent;
  flex-shrink: 0;
}

.ac-category-pills a:hover,
.ac-category-pills a.active {
  background: var(--ac-primary);
  color: #ffffff;
  border-color: var(--ac-primary);
}

.ac-category-symbol {
  color: var(--ac-primary);
  font-size: 11px;
  line-height: 1;
}

.ac-category-pills a:hover .ac-category-symbol,
.ac-category-pills a.active .ac-category-symbol {
  color: #ffffff;
}

.ac-category-pills small {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.ac-category-pills a:hover small,
.ac-category-pills a.active small {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* === Single App Page Elements === */
.ac-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ac-muted);
  margin-bottom: 20px;
}

.ac-breadcrumb a:hover {
  color: var(--ac-primary);
}

.ac-hero-single {
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 28px;
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
}

.ac-hero-single__icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  box-shadow: var(--ac-shadow-md);
  object-fit: cover;
  flex-shrink: 0;
}

.ac-hero-single__title {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 10px;
  font-weight: 800;
}

.ac-hero-single__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--ac-radius-pill);
  background: var(--ac-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ac-hero-single__excerpt {
  color: var(--ac-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.ac-hero-single__dev {
  font-size: 13.5px;
  color: var(--ac-text-secondary);
  margin-bottom: 16px;
}

.ac-btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--ac-radius-md);
  background: #0f172a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  transition: background var(--ac-trans-fast);
}

.ac-btn-playstore:hover {
  background: var(--ac-primary);
  color: #ffffff;
}

/* === Facts Panel (Carousel) === */
.ac-facts-panel {
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  padding: 22px;
  box-shadow: var(--ac-shadow-sm);
  margin-bottom: 24px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.ac-facts-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--ac-line) !important;
}

.ac-facts-head h2 {
  margin: 0 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  color: var(--ac-ink) !important;
  padding-inline-start: 10px !important;
  border-inline-start: 4px solid var(--ac-primary) !important;
}

.ac-car {
  position: relative;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.ac-car-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 44px 14px 44px;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.ac-car-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: 1px solid var(--ac-line) !important;
  background: #ffffff !important;
  color: var(--ac-ink) !important;
  cursor: pointer !important;
  padding: 0 !important;
  line-height: 1 !important;
  transition: all var(--ac-trans-fast) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.ac-car-btn:hover {
  background: var(--ac-primary) !important;
  color: #ffffff !important;
  border-color: var(--ac-primary) !important;
  box-shadow: 0 4px 12px rgba(var(--ac-primary-rgb), 0.3) !important;
}

.ac-car-btn svg {
  display: block;
}

/* One arrow on the right, one arrow on the left of the card */
html[dir="rtl"] .ac-car-btn--prev,
body.rtl .ac-car-btn--prev {
  right: 2px !important;
  left: auto !important;
}

html[dir="rtl"] .ac-car-btn--next,
body.rtl .ac-car-btn--next {
  left: 2px !important;
  right: auto !important;
}

html[dir="ltr"] .ac-car-btn--prev,
body:not(.rtl) .ac-car-btn--prev {
  left: 2px !important;
  right: auto !important;
}

html[dir="ltr"] .ac-car-btn--next,
body:not(.rtl) .ac-car-btn--next {
  right: 2px !important;
  left: auto !important;
}
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 46px 14px 46px;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.ac-car-track::-webkit-scrollbar {
  height: 5px;
}

.ac-car-track::-webkit-scrollbar-thumb {
  background: var(--ac-border);
  border-radius: 10px;
}

.ac-fact {
  flex: 0 0 160px;
  min-width: 150px;
  max-width: 200px;
  scroll-snap-align: center;
  background: var(--ac-surface-alt);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--ac-border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.ac-fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ac-tint);
  color: var(--ac-primary);
  margin-bottom: 8px;
  transition: all var(--ac-trans-fast);
}

.ac-fact:hover .ac-fact-icon {
  transform: scale(1.08);
  background: var(--ac-primary);
  color: #ffffff;
}

.ac-fact small {
  display: block;
  font-size: 11.5px;
  color: var(--ac-muted);
  margin-bottom: 4px;
  white-space: nowrap;
}

.ac-fact b {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ac-ink);
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
  display: block;
}

.ac-related-cat-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--ac-radius-pill);
  background: var(--ac-tint);
  color: var(--ac-primary);
  font-size: 13px;
  font-weight: 700;
  margin-inline-start: 8px;
  vertical-align: middle;
}

/* === Entry Content Formatting === */
.ac-entry {
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  padding: 24px 22px;
  box-shadow: var(--ac-shadow-sm);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ac-text);
  margin-bottom: 24px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ac-entry h1,
.ac-entry h2,
.ac-entry h3,
.ac-entry h4 {
  color: var(--ac-ink);
  font-weight: 800;
  margin: 26px 0 14px;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ac-entry h2 {
  font-size: 20px;
  padding-inline-start: 12px;
  border-inline-start: 4px solid var(--ac-primary);
  margin-top: 30px;
}

.ac-entry h3 {
  font-size: 17px;
  margin: 20px 0 12px;
}

.ac-entry p {
  margin: 0 0 18px;
  line-height: 1.8;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ac-entry ol {
  margin: 0 0 20px 0;
  padding: 0;
  padding-inline-start: 24px !important;
  box-sizing: border-box;
  list-style: decimal;
}

.ac-entry ol > li {
  margin-bottom: 10px;
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Beautiful Circular Checkmarks for Post Bullet Lists (100% Matching Reference Site) */
.ac-entry ul:not([class*="ac-"]):not([class*="ez-"]):not(.wp-block-gallery) {
  margin: 0 0 22px 0;
  padding: 0 !important;
  list-style: none !important;
  list-style-type: none !important;
  display: grid;
  gap: 10px;
  box-sizing: border-box;
}

.ac-entry ul:not([class*="ac-"]):not([class*="ez-"]):not(.wp-block-gallery) > li {
  position: relative;
  list-style: none !important;
  list-style-type: none !important;
  padding-inline-start: 34px !important;
  padding-inline-end: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ac-entry ul:not([class*="ac-"]):not([class*="ez-"]):not(.wp-block-gallery) > li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(var(--ac-primary-rgb), 0.12);
  background: color-mix(in srgb, var(--ac-primary) 13%, transparent);
  color: var(--ac-primary);
  font-size: 12.5px;
  font-weight: 900;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background var(--ac-trans-fast), color var(--ac-trans-fast);
}

.ac-entry ul:not([class*="ac-"]):not([class*="ez-"]):not(.wp-block-gallery) > li:hover::before {
  background: var(--ac-primary);
  color: #ffffff;
}

.ac-entry img,
.ac-entry iframe,
.ac-entry video,
.ac-entry table {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   Table of Contents (TOC) Card - 100% Responsive & Multilingual
   ========================================================================== */
.ac-toc-card {
  background: var(--ac-surface-alt);
  border: 1px solid var(--ac-line);
  border-radius: 14px;
  padding: 0;
  margin: 20px 0 26px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.25s ease;
}

.ac-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: rgba(var(--ac-primary-rgb), 0.04);
  border-bottom: 1px solid var(--ac-line);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.ac-toc-header:hover {
  background: rgba(var(--ac-primary-rgb), 0.08);
}

.ac-toc-card.is-collapsed .ac-toc-header {
  border-bottom: none;
}

.ac-toc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ac-ink);
  font-size: 15.5px;
  font-weight: 800;
}

.ac-toc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ac-tint);
  color: var(--ac-primary);
  flex-shrink: 0;
}

.ac-toc-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--ac-line);
  color: var(--ac-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ac-toc-header:hover .ac-toc-toggle {
  color: var(--ac-primary);
  border-color: var(--ac-primary);
  background: #ffffff;
}

.ac-toc-chevron {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(180deg);
}

.ac-toc-card.is-collapsed .ac-toc-chevron {
  transform: rotate(0deg);
}

.ac-toc-body {
  padding: 16px 20px 20px;
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
}

/* Table of Contents List Reset (Prevents number duplication from .ac-entry ol) */
.ac-entry .ac-toc-card ol,
.ac-entry .ac-toc-card ul,
.ac-entry .ac-toc-card li,
.ac-toc-card ol,
.ac-toc-card ul,
.ac-toc-card li,
.ac-toc-list,
.ac-toc-sublist,
.ac-toc-item {
  list-style: none !important;
  list-style-type: none !important;
  margin-bottom: 0 !important;
}

.ac-entry .ac-toc-card li::before,
.ac-toc-card li::before,
.ac-toc-list li::before,
.ac-toc-sublist li::before {
  content: none !important;
  display: none !important;
}

.ac-entry .ac-toc-card ul,
.ac-entry .ac-toc-card ol {
  padding: 0 !important;
  margin: 0 !important;
}

.ac-toc-list {
  counter-reset: toc-counter;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ac-toc-item--h2 {
  counter-increment: toc-counter;
  position: relative;
  list-style: none !important;
}

.ac-toc-item--h2 > a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ac-ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.ac-toc-item--h2 > a::before {
  content: counter(toc-counter) ".";
  font-weight: 800;
  color: var(--ac-primary);
  font-size: 13px;
  min-width: 18px;
  flex-shrink: 0;
}

.ac-toc-item--h2 > a:hover {
  background: var(--ac-surface);
  color: var(--ac-primary);
  padding-inline-start: 14px;
}

.ac-toc-sublist {
  counter-reset: toc-subcounter;
  margin: 4px 0 6px !important;
  padding: 0 !important;
  padding-inline-start: 22px !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none !important;
  list-style-type: none !important;
}

.ac-toc-item--h3 {
  counter-increment: toc-subcounter;
  list-style: none !important;
  list-style-type: none !important;
}

.ac-toc-item--h3 > a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ac-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.ac-toc-item--h3 > a::before {
  content: counter(toc-counter) "." counter(toc-subcounter);
  font-weight: 700;
  color: var(--ac-muted);
  font-size: 11.5px;
}

.ac-toc-item--h3 > a:hover {
  background: var(--ac-surface);
  color: var(--ac-primary);
}

/* Offset for Anchor Scroll to account for sticky header */
[id^="toc-"] {
  scroll-margin-top: 90px;
}
@media (max-width: 768px) {
  [id^="toc-"] {
    scroll-margin-top: 75px;
  }
}

/* Pros and Cons Box */
.ac-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.ac-pros {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 18px;
}

.ac-pros h3 {
  color: #166534;
  margin-top: 0;
}

.ac-pros ul {
  list-style: "✓ ";
  color: #15803d;
  padding-right: 18px;
}

.ac-cons {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 18px;
}

.ac-cons h3 {
  color: #991b1b;
  margin-top: 0;
}

.ac-cons ul {
  list-style: "✕ ";
  color: #b91c1c;
  padding-right: 18px;
}

/* Screenshots Gallery */
.ac-screens-panel {
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  padding: 24px;
  box-shadow: var(--ac-shadow-sm);
  margin-bottom: 24px;
}

.ac-screens-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.ac-screens-grid img {
  height: 280px;
  width: auto;
  border-radius: 12px;
  box-shadow: var(--ac-shadow-sm);
  border: 1px solid var(--ac-border);
}

/* === Comments Section & Form (100% Matching viralshoc.com Style) === */
.ac-comments {
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  padding: 24px;
  box-shadow: var(--ac-shadow);
  margin-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.ac-comments h2,
.ac-comments .comment-reply-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 18px;
  padding-inline-start: 10px;
  border-inline-start: 4px solid var(--ac-primary);
  color: var(--ac-ink);
}

.ac-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ac-comment-list .comment {
  background: var(--ac-surface-alt);
  border: 1px solid var(--ac-line);
  border-radius: 12px;
  padding: 16px;
  box-sizing: border-box;
}

.ac-comment-form,
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ac-comment-form p,
.comment-form p {
  margin: 0 0 12px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ac-comment-form label,
.comment-form label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 6px;
  color: var(--ac-ink);
}

.ac-comment-form textarea,
.comment-form textarea,
.ac-comment-form input[type="text"],
.comment-form input[type="text"],
.ac-comment-form input[type="email"],
.comment-form input[type="email"],
.ac-comment-form input[type="url"],
.comment-form input[type="url"] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  border: 1px solid var(--ac-line) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  background: var(--ac-bg) !important;
  color: var(--ac-ink) !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}

.ac-comment-form textarea:focus,
.comment-form textarea:focus,
.ac-comment-form input:focus,
.comment-form input:focus {
  border-color: var(--ac-primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--ac-primary-rgb), 0.15) !important;
  background: var(--ac-surface) !important;
}

.ac-comment-form textarea,
.comment-form textarea {
  min-height: 110px;
  resize: vertical;
}

.ac-comment-form .submit,
.comment-form .submit {
  background: var(--ac-primary) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ac-comment-form .submit:hover,
.comment-form .submit:hover {
  background: var(--ac-primary-hover) !important;
}

/* Sidebar Widgets */
.ac-widget {
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  padding: 20px;
  box-shadow: var(--ac-shadow-sm);
}

.ac-widget .widget-title {
  font-size: 16px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ac-border);
}

.ac-download-widget {
  text-align: center;
}

.ac-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--ac-primary);
  color: #ffffff;
  border-radius: var(--ac-radius-md);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

.ac-download-btn:hover {
  background: var(--ac-primary-hover);
}

/* === Fixed Bottom Download Dock === */
.ac-fixed-download-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--ac-line);
  padding: 10px 20px;
  z-index: 990;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ac-dock-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ac-dock-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.ac-dock-title {
  font-weight: 700;
  font-size: 14px;
}

/* === Mobile Bottom Navigation Bar === */
.ac-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid var(--ac-border);
  z-index: 998;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.ac-bottom-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
}

.ac-bottom-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ac-muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  transition: all var(--ac-trans-fast);
}

.ac-bottom-bar__item svg,
.ac-bbar-icon {
  display: block;
  margin: 0 auto;
  stroke: var(--ac-muted);
  transition: all var(--ac-trans-fast);
}

.ac-bottom-bar__item.active,
.ac-bottom-bar__item:hover {
  color: var(--ac-primary);
}

.ac-bottom-bar__item.active svg,
.ac-bottom-bar__item:hover svg,
.ac-bottom-bar__item.active .ac-bbar-icon,
.ac-bottom-bar__item:hover .ac-bbar-icon {
  stroke: var(--ac-primary);
  transform: translateY(-2px);
}

/* === Footer === */
.ac-site-footer {
  background: var(--ac-footer-bg);
  color: var(--ac-footer-text);
  padding: 60px 0 25px;
  margin-top: 50px;
}

.ac-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.ac-footer-brand-column p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 400px;
  margin-top: 14px;
}

.ac-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  transition: opacity var(--ac-trans-fast);
}

.ac-footer-brand:hover {
  opacity: 0.92;
  color: #ffffff;
}

.ac-footer-brand--icon_only {
  gap: 0;
}

.ac-footer-brand .custom-logo,
.ac-footer-brand .ac-brand-logo-img {
  max-height: 38px;
  width: auto;
}

.ac-footer-brand .ac-brand-mark {
  width: 38px;
  height: 38px;
  font-size: 19px;
  border-radius: 11px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.ac-footer-brand-title {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
}

.ac-footer-menu h3 {
  color: var(--ac-footer-heading);
  font-size: 16px;
  margin-bottom: 16px;
}

.ac-footer-nav li {
  margin-bottom: 10px;
}

.ac-footer-nav a {
  color: var(--ac-footer-text);
  font-size: 13.5px;
}

.ac-footer-nav a:hover {
  color: #ffffff;
}

.ac-footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* ==========================================================================
   Social Media Links Bar (100% Lightweight Official WebP Icons)
   ========================================================================== */
.ac-social-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.ac-social-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ac-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.22s ease;
  overflow: hidden;
  padding: 6px;
  box-sizing: border-box;
  text-decoration: none;
}

.ac-social-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.ac-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
  border-color: var(--ac-primary);
}

.ac-social-btn:hover img {
  transform: scale(1.12);
}

/* Footer variant */
.ac-social-bar--footer {
  margin-top: 14px;
}
.ac-social-bar--footer .ac-social-list {
  gap: 10px;
}
.ac-social-bar--footer .ac-social-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ac-social-bar--footer .ac-social-btn img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.ac-social-bar--footer .ac-social-btn:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 5px 14px rgba(255, 255, 255, 0.35);
}

/* Drawer variant */
.ac-social-bar--drawer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--ac-line);
  justify-content: center;
  width: 100%;
}
.ac-social-bar--drawer .ac-social-list {
  justify-content: center;
  gap: 10px;
}
.ac-social-bar--drawer .ac-social-btn {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #ffffff !important;
  border: 1px solid var(--ac-line) !important;
  padding: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ac-social-bar--drawer .ac-social-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.ac-social-bar--drawer .ac-social-btn:hover {
  border-color: var(--ac-primary) !important;
  transform: translateY(-2px) scale(1.12);
}

/* Hide drawer social bar on desktop view so header stays clean and uncluttered */
@media (min-width: 1001px) {
  .ac-main-nav .ac-social-bar--drawer {
    display: none !important;
  }
}

/* ==========================================================================
   Top Bar (Header Social Bar - Centered, SEO-Friendly, Auto-Hide if Empty)
   ========================================================================== */
.ac-topbar {
  padding: 4px 0;
  width: 100%;
  position: relative;
  z-index: 10;
  transition: all 0.2s ease;
}

/* Variant A: Theme Primary Color (Default & Recommended - 100% Matching Scheme) */
.ac-topbar,
.ac-topbar--primary {
  background: var(--ac-primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.ac-topbar--primary .ac-social-btn {
  background: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) !important;
}
.ac-topbar--primary .ac-social-btn:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28) !important;
}

/* Variant B: Soft Brand Tint (Harmless pastel tone derived from brand color) */
.ac-topbar--subtle_tint {
  background: var(--ac-tint, #fef2f2);
  border-bottom: 1px solid rgba(var(--ac-primary-rgb), 0.14);
}
.ac-topbar--subtle_tint .ac-social-btn {
  background: #ffffff !important;
  border-color: rgba(var(--ac-primary-rgb), 0.25) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
}
.ac-topbar--subtle_tint .ac-social-btn:hover {
  border-color: var(--ac-primary) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14) !important;
}

/* Variant C: Premium Dark Slate / Charcoal */
.ac-topbar--dark {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ac-topbar--dark .ac-social-btn {
  background: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22) !important;
}
.ac-topbar--dark .ac-social-btn:hover {
  background: #ffffff !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.35) !important;
}

/* Variant D: Pure White Seamless */
.ac-topbar--white {
  background: #ffffff;
  border-bottom: 1px solid var(--ac-line, #e2e8f0);
}
.ac-topbar--white .ac-social-btn {
  background: #ffffff !important;
  border-color: var(--ac-line, #e2e8f0) !important;
}
.ac-topbar--white .ac-social-btn:hover {
  background: #ffffff !important;
  border-color: var(--ac-primary) !important;
}

.ac-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ac-social-bar--topbar {
  margin: 0;
  justify-content: center;
  width: 100%;
}

.ac-social-bar--topbar .ac-social-list {
  justify-content: center;
  gap: 10px;
}

.ac-social-bar--topbar .ac-social-btn {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
  padding: 2.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  flex-shrink: 0;
}

.ac-social-bar--topbar .ac-social-btn img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.ac-social-bar--topbar .ac-social-btn:hover {
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.24);
}

.ac-social-bar--topbar .ac-social-btn:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Mobile Download Card (Directly above Share Card on Mobile Only)
   ========================================================================== */
.ac-mobile-download-card {
  display: none; /* Completely hidden on Desktop */
}

@media (max-width: 1000px) {
  .ac-mobile-download-card {
    display: block !important;
    background: var(--ac-card-bg, #ffffff);
    border: 1px solid var(--ac-line, #e2e8f0);
    border-radius: var(--ac-radius, 16px);
    padding: 22px 20px;
    margin: 28px 0 16px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ac-mobile-download-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ac-line, #f1f5f9);
  }

  .ac-mobile-download-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(var(--ac-primary-rgb), 0.1);
    color: var(--ac-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .ac-mobile-download-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ac-ink, #0f172a);
    margin: 0;
    padding: 0;
    line-height: 1.3;
  }

  .ac-mobile-download-card__body .ac-download-btn {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(var(--ac-primary-rgb), 0.28);
    margin-bottom: 10px;
  }

  .ac-mobile-download-card__note {
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--ac-muted, #64748b);
  }

  /* When mobile download card is present, snug up the share box below it */
  .ac-mobile-download-card + .ac-share-box {
    margin-top: 14px !important;
  }

  /* Hide duplicate download box at bottom of sidebar on mobile */
  .ac-sidebar .ac-sidebar-download {
    display: none !important;
  }
}

/* ==========================================================================
   Social Share Module (SEO Optimized, Lightweight WebP, Zero Dependencies)
   ========================================================================== */

/* 1. Main Share Box (Below Article Content) */
.ac-share-box {
  background: var(--ac-card-bg, #ffffff);
  border: 1px solid var(--ac-line, #e2e8f0);
  border-radius: var(--ac-radius, 16px);
  padding: 22px 24px;
  margin: 32px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  box-sizing: border-box !important;
  max-width: 100% !important;
  width: 100% !important;
  display: block;
}

.ac-share-box__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ac-share-box__icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(198, 40, 40, 0.08);
  color: var(--ac-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ac-share-box__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ac-ink, #0f172a);
  letter-spacing: -0.01em;
}

.ac-share-box__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.ac-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  min-height: 44px;
}

.ac-share-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ac-share-btn:hover img {
  transform: scale(1.15);
}

.ac-share-btn__label {
  line-height: 1;
  white-space: nowrap;
}

/* Individual Network Palettes with Modern Soft Badges */
.ac-share-btn--whatsapp {
  background: #eafaf1;
  color: #1a7e37;
  border-color: #c0ebd0;
}
.ac-share-btn--whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.ac-share-btn--telegram {
  background: #e9f6fc;
  color: #1d93d2;
  border-color: #c5e7f7;
}
.ac-share-btn--telegram:hover {
  background: #24a1de;
  color: #ffffff;
  border-color: #24a1de;
  box-shadow: 0 4px 14px rgba(36, 161, 222, 0.35);
}

.ac-share-btn--facebook {
  background: #edf3fd;
  color: #1877f2;
  border-color: #d1e2fa;
}
.ac-share-btn--facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.ac-share-btn--pinterest {
  background: #fdf0f2;
  color: #e60023;
  border-color: #fad0d6;
}
.ac-share-btn--pinterest:hover {
  background: #e60023;
  color: #ffffff;
  border-color: #e60023;
  box-shadow: 0 4px 14px rgba(230, 0, 35, 0.35);
}

.ac-share-btn--x {
  background: #f1f3f5;
  color: #0f1419;
  border-color: #e1e4e8;
}
.ac-share-btn--x:hover {
  background: #0f1419;
  color: #ffffff;
  border-color: #0f1419;
  box-shadow: 0 4px 14px rgba(15, 20, 25, 0.35);
}

.ac-share-btn--copy {
  background: #f8fafc;
  color: var(--ac-ink, #0f172a);
  border-color: var(--ac-line, #e2e8f0);
}
.ac-share-btn--copy svg {
  color: var(--ac-primary);
  transition: transform 0.2s ease;
}
.ac-share-btn--copy:hover {
  background: var(--ac-primary);
  color: #ffffff;
  border-color: var(--ac-primary);
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.35);
}
.ac-share-btn--copy:hover svg {
  color: #ffffff;
  transform: scale(1.15);
}

/* 2. Hero Compact Share Strip */
.ac-hero-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.ac-hero-share__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ac-muted, #64748b);
}

.ac-hero-share__list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ac-hero-share__btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--ac-line, #e2e8f0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ac-hero-share__btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: transform 0.18s ease;
}

.ac-hero-share__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-color: var(--ac-primary);
}

.ac-hero-share__btn:hover img {
  transform: scale(1.12);
}

.ac-hero-share__btn--copy {
  color: var(--ac-muted, #64748b);
}
.ac-hero-share__btn--copy:hover {
  background: var(--ac-primary);
  color: #ffffff;
  border-color: var(--ac-primary);
}

/* 3. Global Animated Toast for Copy Link Notification */
.ac-toast-notification {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(24px) scale(0.95);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ac-toast-notification svg {
  color: #22c55e;
  flex-shrink: 0;
}

.ac-toast-notification.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
  .ac-share-box {
    padding: 18px 16px;
    margin: 24px 0;
  }
  .ac-share-box__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .ac-share-btn {
    padding: 10px 10px;
    font-size: 0.84rem;
    gap: 6px;
  }
  .ac-share-btn img {
    width: 18px;
    height: 18px;
  }
  .ac-toast-notification {
    bottom: 74px;
    width: max-content;
    max-width: 90vw;
    font-size: 0.86rem;
  }
}

/* === Floating Back to Top Button === */
.ac-back-to-top {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ac-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 980;
  opacity: 0;
  visibility: hidden;
  transition: all var(--ac-trans-normal);
}

.ac-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* === Responsive Behavior for Header & Search === */
@media (max-width: 1000px) {
  .ac-header-inner {
    display: grid !important;
    grid-template-columns: 44px 1fr 44px !important;
    align-items: center !important;
    padding-block: 10px !important;
    gap: 0 10px !important;
    position: relative !important;
  }

  .ac-mobile-menu-toggle {
    display: grid !important;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--ac-ink);
    grid-column: 1 !important;
    justify-self: start !important;
    margin: 0 !important;
  }

  .ac-brand {
    grid-column: 2 !important;
    justify-self: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .ac-search-toggle {
    display: grid !important;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--ac-ink);
    grid-column: 3 !important;
    justify-self: end !important;
    margin: 0 !important;
  }

  .ac-header-inner > .ac-header-submit {
    display: none !important;
  }

  .ac-header-search {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: none;
    margin: 10px 0 0 !important;
  }

  .ac-site-header.search-open .ac-header-search {
    display: flex !important;
  }

  /* Off-canvas mobile navigation drawer */
  .ac-nav-overlay {
    display: none !important;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 995;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .ac-nav-overlay.is-open,
  body.ac-drawer-open .ac-nav-overlay,
  body.ac-no-scroll .ac-nav-overlay {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .ac-nav-overlay[hidden] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .ac-main-nav {
    display: block !important;
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: min(82vw, 300px);
    z-index: 999;
    background: var(--ac-surface);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.24);
    transform: translateX(100%);
    transition: transform .28s ease, visibility .28s;
    overflow-y: auto;
    visibility: hidden;
  }

  html[dir="rtl"] .ac-main-nav {
    transform: translateX(100%);
  }
  html[dir="ltr"] .ac-main-nav {
    transform: translateX(-100%);
  }

  .ac-main-nav.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
  }

  .ac-nav-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .ac-drawer-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid var(--ac-line) !important;
    background: var(--ac-surface) !important;
    min-height: 56px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .ac-drawer-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .ac-drawer-brand .ac-brand-mark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: var(--ac-primary) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }

  .ac-drawer-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--ac-ink) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  .ac-drawer-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    border: 1px solid var(--ac-line) !important;
    background: var(--ac-surface-alt) !important;
    color: var(--ac-ink) !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: all var(--ac-trans-fast) !important;
  }

  .ac-drawer-close:hover {
    background: var(--ac-primary) !important;
    color: #ffffff !important;
    border-color: var(--ac-primary) !important;
  }

  .ac-primary-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  .ac-primary-menu li {
    width: 100% !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    border-bottom: none !important;
  }

  .ac-primary-menu li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--ac-ink) !important;
    text-align: start !important;
    border-radius: 10px !important;
    background: transparent !important;
    text-decoration: none !important;
    transition: all var(--ac-trans-fast) !important;
    box-sizing: border-box !important;
    margin-bottom: 4px !important;
  }

  .ac-primary-menu .ac-menu-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    color: var(--ac-muted) !important;
    flex-shrink: 0 !important;
    transition: color var(--ac-trans-fast) !important;
  }

  .ac-primary-menu li a:hover,
  .ac-primary-menu li.current-menu-item > a,
  .ac-primary-menu li.active > a {
    color: var(--ac-primary) !important;
    background: var(--ac-tint) !important;
  }

  .ac-primary-menu li a:hover .ac-menu-icon,
  .ac-primary-menu li.current-menu-item > a .ac-menu-icon,
  .ac-primary-menu li.active > a .ac-menu-icon {
    color: var(--ac-primary) !important;
  }

  .ac-drawer-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 18px 12px 24px !important;
    padding: 12px 20px !important;
    border-radius: 999px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(var(--ac-primary-rgb), 0.35) !important;
    text-decoration: none !important;
    background: var(--ac-primary) !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(var(--ac-primary-rgb), 0.28) !important;
    transition: all var(--ac-trans-fast);
  }

  .ac-drawer-cta:hover {
    background: var(--ac-primary-dark, #7f1d1d) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(var(--ac-primary-rgb), 0.38) !important;
  }

  .ac-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .ac-bottom-bar {
    display: block;
  }
  body.has-mobile-bar,
  body:not(.no-mobile-bar) {
    padding-bottom: 60px;
  }
  body.no-mobile-bar {
    padding-bottom: 0 !important;
  }
  body.no-mobile-bar .ac-bottom-bar {
    display: none !important;
  }
  .ac-pros-cons {
    grid-template-columns: 1fr;
  }
  .ac-hero-single {
    flex-direction: column;
    text-align: center;
  }
  .ac-home-search {
    display: flex !important;
    flex-direction: row !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 5px !important;
    gap: 6px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  .ac-home-search input {
    flex: 1 !important;
    min-width: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 14px !important;
    height: 44px !important;
    font-size: 14px !important;
    color: #172033 !important;
  }
  .ac-home-search button {
    width: auto !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
    padding: 0 20px !important;
    height: 44px !important;
    font-size: 14px !important;
    box-shadow: none !important;
  }
  /* 1. Global Screen Width and Prevent Horizontal Overflow */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ac-container {
    padding-inline: 14px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-inline: auto !important;
    overflow-x: hidden !important;
  }

  .ac-layout,
  .ac-layout.has-sidebar,
  .ac-main-col {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 16px !important;
    box-sizing: border-box !important;
  }

  /* Comments Card: Guaranteed to be the very last card on Mobile */
  .ac-single-app .ac-comments {
    order: 999 !important;
    margin-bottom: 20px !important;
  }

  /* Hide desktop sidebar on mobile single app pages so comments are the final card */
  .ac-single-app .ac-sidebar {
    display: none !important;
  }

  /* 2. Unified Symmetric Card Padding across all cards on mobile */
  .ac-hero-single,
  .ac-quick-stats,
  .ac-facts-panel,
  .ac-entry,
  .ac-screens-panel,
  .ac-related-apps,
  .ac-related-section,
  .ac-store-section,
  .ac-comments,
  .ac-comments-wrap,
  .ac-comments-box,
  .ac-widget {
    padding: 18px 16px !important;
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* 3. Hero Single on Mobile */
  .ac-hero-single {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    gap: 16px !important;
  }
  .ac-hero-single__intro {
    width: 100% !important;
    text-align: center !important;
  }
  .ac-hero-single__title {
    font-size: 20px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin: 0 0 8px !important;
  }

  /* 4. Facts Panel & Carousel Arrows on Mobile */
  .ac-facts-head {
    display: block !important;
    margin-bottom: 14px !important;
    padding-bottom: 4px !important;
  }
  .ac-facts-head h2 {
    font-size: 17px !important;
    margin: 0 !important;
    padding-inline-start: 10px !important;
    border-inline-start: 4px solid var(--ac-primary) !important;
  }

  /* Side Arrows on Mobile: One on Left, One on Right */
  .ac-car-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1px solid var(--ac-line) !important;
    background: #ffffff !important;
    color: var(--ac-ink) !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16) !important;
  }

  html[dir="rtl"] .ac-car-btn--prev,
  body.rtl .ac-car-btn--prev {
    right: 2px !important;
    left: auto !important;
  }

  html[dir="rtl"] .ac-car-btn--next,
  body.rtl .ac-car-btn--next {
    left: 2px !important;
    right: auto !important;
  }

  html[dir="ltr"] .ac-car-btn--prev,
  body:not(.rtl) .ac-car-btn--prev {
    left: 2px !important;
    right: auto !important;
  }

  html[dir="ltr"] .ac-car-btn--next,
  body:not(.rtl) .ac-car-btn--next {
    right: 2px !important;
    left: auto !important;
  }

  .ac-car-track {
    padding: 6px 36px 12px 36px !important;
    gap: 10px !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
  }
  .ac-fact {
    flex: 0 0 calc(50% - 5px) !important;
    min-width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    scroll-snap-align: start !important;
    border-radius: 12px !important;
    border: 1px solid var(--ac-line) !important;
    background: var(--ac-surface-alt) !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
  .ac-fact small {
    font-size: 11px !important;
    color: var(--ac-muted) !important;
    margin: 4px 0 2px !important;
    white-space: nowrap !important;
  }
  .ac-fact b {
    font-size: 13px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    color: var(--ac-ink) !important;
  }

  /* 5. Article Entry with Balanced Left and Right Padding */
  .ac-entry {
    font-size: 15px !important;
    line-height: 1.8 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .ac-entry h2 {
    font-size: 18px !important;
    margin-top: 22px !important;
    padding-inline-start: 10px !important;
    padding-inline-end: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    border-inline-start: 4px solid var(--ac-primary) !important;
    border-inline-end: none !important;
    border-right: none !important;
    border-left: none !important;
  }
  html[dir="rtl"] .ac-entry h2 {
    border-right: 4px solid var(--ac-primary) !important;
    padding-right: 10px !important;
  }
  html[dir="ltr"] .ac-entry h2 {
    border-left: 4px solid var(--ac-primary) !important;
    padding-left: 10px !important;
  }
  .ac-entry p {
    margin: 0 0 16px !important;
    line-height: 1.8 !important;
  }
  .ac-entry ol {
    margin: 0 0 18px !important;
    padding: 0 !important;
    padding-inline-start: 20px !important;
    padding-inline-end: 0 !important;
    box-sizing: border-box !important;
  }
  html[dir="rtl"] .ac-entry ol {
    padding-right: 20px !important;
    padding-left: 0 !important;
  }
  html[dir="ltr"] .ac-entry ol {
    padding-left: 20px !important;
    padding-right: 0 !important;
  }
  .ac-entry ol > li {
    margin-bottom: 8px !important;
    line-height: 1.7 !important;
  }
  .ac-entry ul:not([class*="ac-"]):not([class*="ez-"]):not(.wp-block-gallery) {
    margin: 0 0 18px !important;
    padding: 0 !important;
    display: grid !important;
    gap: 8px !important;
  }
  .ac-entry ul:not([class*="ac-"]):not([class*="ez-"]):not(.wp-block-gallery) > li {
    padding-inline-start: 30px !important;
    padding-inline-end: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.7 !important;
  }
  html[dir="rtl"] .ac-entry ul:not([class*="ac-"]):not([class*="ez-"]):not(.wp-block-gallery) > li {
    padding-right: 30px !important;
    padding-left: 0 !important;
  }
  html[dir="ltr"] .ac-entry ul:not([class*="ac-"]):not([class*="ez-"]):not(.wp-block-gallery) > li {
    padding-left: 30px !important;
    padding-right: 0 !important;
  }
  .ac-entry ul:not([class*="ac-"]):not([class*="ez-"]):not(.wp-block-gallery) > li::before {
    width: 20px !important;
    height: 20px !important;
    font-size: 11.5px !important;
    top: 3px !important;
  }
  .ac-entry img,
  .ac-entry iframe,
  .ac-entry video,
  .ac-entry table,
  .ac-entry pre,
  .ac-entry code {
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .ac-entry table {
    display: block !important;
    overflow-x: auto !important;
    width: 100% !important;
  }
  .ac-entry pre {
    overflow-x: auto !important;
    white-space: pre-wrap !important;
  }
  .ac-comment-form,
  .comment-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .ac-comment-form p,
  .comment-form p {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .ac-comment-form textarea,
  .comment-form textarea,
  .ac-comment-form input,
  .comment-form input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}


/* ==========================================================================
   Sidebar & Widgets (100% Matching viralshoc.com)
   ========================================================================== */
.ac-sidebar {
  min-width: 0;
  align-self: stretch;
}
.ac-sidebar-sticky {
  display: grid;
  gap: 20px;
  align-content: start;
  position: sticky;
  top: 85px;
}
.ac-widget,
.ac-sidebar-download {
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  padding: 20px;
  box-shadow: var(--ac-shadow);
}
.ac-sidebar-download {
  background: var(--ac-tint);
  border-color: color-mix(in srgb, var(--ac-primary) 15%, transparent);
  display: grid;
  gap: 12px;
}
.ac-widget-title,
.ac-sidebar-download h3,
.ac-widget h2,
.ac-widget h3,
.wp-block-heading {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 14px;
  padding-inline-start: 10px;
  border-inline-start: 4px solid var(--ac-primary);
  color: var(--ac-ink);
  line-height: 1.3;
}
.ac-sidebar-download small {
  color: var(--ac-muted);
  font-size: 12px;
  line-height: 1.5;
}
.ac-widget ul,
.wp-block-latest-posts,
.wp-block-categories-list,
.wp-block-archives-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ac-widget li,
.wp-block-latest-posts li,
.wp-block-categories-list li,
.wp-block-archives-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--ac-line);
  font-size: 14.5px;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ac-widget li:last-child,
.wp-block-latest-posts li:last-child,
.wp-block-categories-list li:last-child,
.wp-block-archives-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.ac-widget li a,
.wp-block-latest-posts a,
.wp-block-categories-list a,
.wp-block-archives-list a {
  color: var(--ac-ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.ac-widget li a:hover,
.wp-block-latest-posts a:hover,
.wp-block-categories-list a:hover,
.wp-block-archives-list a:hover {
  color: var(--ac-primary);
}

/* === WordPress Block Search Styling === */
.wp-block-search {
  margin: 0;
}
.wp-block-search__label {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--ac-ink);
  padding-inline-start: 10px;
  border-inline-start: 4px solid var(--ac-primary);
}
.wp-block-search__inside-wrapper {
  display: flex;
  gap: 8px;
  background: var(--ac-bg);
  border: 1px solid var(--ac-line);
  border-radius: 12px;
  padding: 4px;
  transition: all 0.2s ease;
}
.wp-block-search__inside-wrapper:focus-within {
  border-color: var(--ac-primary);
  box-shadow: 0 0 0 3px rgba(var(--ac-primary-rgb), 0.18);
  background: var(--ac-surface);
}
.wp-block-search__input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  color: var(--ac-ink) !important;
  outline: none !important;
  box-shadow: none !important;
}
.wp-block-search__button {
  background: var(--ac-primary) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 9px !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}
.wp-block-search__button:hover {
  background: var(--ac-primary-hover) !important;
}

/* === Category Section Card (100% Matching viralshoc.com) === */
.ac-store-section {
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
  padding: 24px;
  margin-bottom: 24px;
}
.ac-store-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.ac-store-section-head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: var(--ac-ink);
  padding-inline-start: 10px;
  border-inline-start: 4px solid var(--ac-primary);
  line-height: 1.2;
}
.ac-store-section-head span {
  font-size: 12px;
  color: var(--ac-primary);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.ac-category-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.ac-category-pills::-webkit-scrollbar {
  height: 5px;
}
.ac-category-pills::-webkit-scrollbar-thumb {
  background: var(--ac-line);
  border-radius: 999px;
}
.ac-category-pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  color: var(--ac-ink);
  border: 1px solid var(--ac-line);
  border-radius: 999px;
  padding: 7px 14px 7px 16px;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.18s ease;
  flex-shrink: 0;
}
.ac-category-pills a:hover,
.ac-category-pills a.active {
  background: var(--ac-primary);
  color: #ffffff;
  border-color: var(--ac-primary);
}
.ac-category-pills .ac-category-symbol {
  font-size: 10px;
  color: var(--ac-primary);
  line-height: 1;
}
.ac-category-pills a:hover .ac-category-symbol,
.ac-category-pills a.active .ac-category-symbol {
  color: #ffffff;
}
.ac-category-pills small {
  background: #ffffff;
  color: var(--ac-muted);
  border: 1px solid var(--ac-line);
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  padding: 0 6px;
}
.ac-category-pills a:hover small,
.ac-category-pills a.active small {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-color: transparent;
}
