  /* Homepage — premium single-brand storefront */

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .home-page {
    background: var(--color-bg-deep);
    font-family: var(--font-display);
  }

  /* Hero */
  .home-hero {
    position: relative;
    padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
    overflow: hidden;
  }
  .home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-mesh);
    pointer-events: none;
  }
  .home-hero .container {
    position: relative;
    z-index: 1;
  }
  .home-hero-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
  }
  .home-hero #topSlogan {
    color: rgba(226, 232, 240, 0.9);
    opacity: 1;
    font-size: 0.9375rem;
  }
  .home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.28);
    border-radius: 100px;
    margin-bottom: 1.25rem;
  }
  .home-hero-title-wrap {
    margin-bottom: 1rem;
  }
  .home-hero-title-line {
    display: block;
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: #fff;
  }
  /* "Allin" + suffix on one line; gradient on suffix (survives CMS — use textContent in index.js) */
  .home-hero-title-line.home-hero-title-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.06em;
  }
  .home-hero-brand-accent {
    display: inline-block;
    font-weight: 800;
    background-image: linear-gradient(105deg, #93c5fd 0%, #ddd6fe 42%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  @supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .home-hero-brand-accent {
      color: #ddd6fe;
      background-image: none;
    }
  }
  .home-hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.88);
    max-width: 560px;
    margin: 0 auto 1.75rem;
  }
  .home-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
  }
  .home-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }

  /* Search block */
  .home-search-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 0 0.5rem;
  }
  .home-search-wrap .search-form input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(28, 26, 40, 0.92);
    color: #f8fafc;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .home-search-wrap .search-form input:focus {
    outline: none;
    border-color: rgba(129, 140, 248, 0.55);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
  }
  .home-search-wrap .search-form input::placeholder {
    color: rgba(203, 213, 225, 0.65);
  }

  /* Featured categories grid */
  .home-categories-section {
    padding: var(--space-section) 0;
  }
  .home-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
  }
  .home-cat-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(18, 16, 26, 0.9);
    border: 1px solid var(--color-border-subtle);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  }
  .home-cat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: var(--shadow-glow);
  }
  .home-cat-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    background: #1a1825;
  }
  .home-cat-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
  }
  .home-cat-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    flex: 1;
    margin: 0 0 1rem;
  }
  .home-cat-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-faint);
  }
  .home-cat-meta span.price {
    color: #a5b4fc;
    font-weight: 600;
  }

  /* Popular products section */
  .home-popular-section {
    padding: var(--space-section) 0;
    border-top: 1px solid var(--color-border-subtle);
  }
  .home-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  /* How it works */
  .home-how-section {
    padding: var(--space-section) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.04) 50%, transparent 100%);
    border-top: 1px solid var(--color-border-subtle);
  }
  .home-how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
  .home-how-step {
    padding: 1.75rem;
    border-radius: var(--radius-md);
    background: rgba(14, 12, 21, 0.85);
    border: 1px solid var(--color-border-subtle);
    text-align: left;
  }
  .home-how-step .step-num {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    background: var(--gradient-brand);
    margin-bottom: 1rem;
  }
  .home-how-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
  }
  .home-how-step p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
  }

  /* Stats strip */
  .home-stats-section {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    border-top: 1px solid var(--color-border-subtle);
  }
  .home-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  @media (min-width: 768px) {
    .home-stats-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  .home-stat-item {
    text-align: center;
    padding: 1.25rem;
  }
  .home-stat-item i {
    font-size: 1.75rem;
    color: #818cf8;
    margin-bottom: 0.75rem;
    display: block;
  }
  .home-stat-val {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.1;
  }
  .home-stat-label {
    font-size: 0.9rem;
    color: #60a5fa;
    margin-top: 0.35rem;
  }

  /* Why us / value */
  .home-value-section {
    padding: var(--space-section) 0;
    border-top: 1px solid var(--color-border-subtle);
  }
  .home-value-grid {
    display: grid;
    gap: 2.5rem;
    align-items: start;
  }
  @media (min-width: 1024px) {
    .home-value-grid {
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }
  }

  /* FAQ — advanced accordion */
  .home-faq-section {
    padding: var(--space-section) 0;
    border-top: 1px solid var(--color-border-subtle);
  }
  .home-faq-section .section-label {
    color: #a5b4fc;
  }
  .home-faq-section .section-title-home {
    color: #fff;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  }
  .home-faq-section #faq {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 680px;
    margin: 0 auto;
  }
  .faq-item {
    background: rgba(18, 16, 26, 0.9);
    border: 1px solid var(--color-border-subtle);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .faq-item:hover {
    border-color: rgba(99, 102, 241, 0.25);
  }
  .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.125rem 1.25rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
  }
  .faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
  }
  .faq-question:focus-visible {
    outline: 2px solid var(--color-accent-bright);
    outline-offset: 2px;
  }
  .faq-question-text {
    flex: 1;
    line-height: 1.4;
  }
  .faq-chevron {
    flex-shrink: 0;
    color: #818cf8;
    transition: transform 0.25s ease;
  }
  .faq-question.is-open .faq-chevron {
    transform: rotate(180deg);
  }
  .faq-answer {
    border-top: 1px solid var(--color-border-subtle);
  }
  .faq-answer-inner {
    padding: 1rem 1.25rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
  }
  .faq-answer-inner p {
    margin: 0 0 0.75rem;
  }
  .faq-answer-inner p:last-child {
    margin-bottom: 0;
  }
  .faq-answer-inner a {
    color: #818cf8;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .faq-answer-inner a:hover {
    color: #a5b4fc;
  }
  @media (max-width: 640px) {
    .faq-question {
      padding: 1rem 1.125rem;
      font-size: 0.95rem;
    }
    .faq-answer-inner {
      padding: 0.875rem 1.125rem 1rem;
      font-size: 0.9rem;
    }
  }

  /* Support CTA — shared styles in footer.css */

  /* Final CTA */
  .home-cta-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    margin: 0 1rem 2rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.12) 50%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    text-align: center;
  }
  .home-cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
  }
  .home-cta-section p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
  }

  /* Swiper overrides for homepage */
  .home-popular-section .swiper-products {
    padding-bottom: 3rem;
  }
  .home-popular-section .swiper-button-next,
  .home-popular-section .swiper-button-prev {
    color: #818cf8;
  }

  /* Premium popular product cards */
  .home-popular-section .swiper-slide {
    transition: transform 0.28s ease, opacity 0.28s ease;
    opacity: 0.74;
  }

  .home-popular-section .swiper-slide-active,
  .home-popular-section .swiper-slide-duplicate-active {
    opacity: 1;
  }

  .home-popular-section .popular-product-card,
  .home-popular-section .swiper-products .card {
    background:
      radial-gradient(700px 180px at 20% -20%, rgba(99, 102, 241, 0.22), rgba(16, 18, 27, 0.96)),
      linear-gradient(180deg, rgba(20, 24, 36, 0.98), rgba(11, 13, 21, 0.98));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    border-radius: 1rem;
  }

  .home-popular-section .swiper-slide-active .popular-product-card,
  .home-popular-section .swiper-slide-active .card {
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
    border-color: rgba(99, 102, 241, 0.38) !important;
  }

  .home-popular-section .popular-product-card:hover,
  .home-popular-section .swiper-products .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.38);
  }

  .home-popular-section .popular-product-card .font-bold.text-sm {
    font-size: 1.02rem;
    line-height: 1.35;
    color: #f8fbff;
  }

  .home-popular-section .popular-product-card .text-sm {
    color: rgba(226, 232, 240, 0.82);
  }

  .home-popular-section .popular-product-card hr {
    border-color: rgba(148, 163, 184, 0.18);
  }

  @media (max-width: 768px) {
    .home-popular-section .swiper-slide {
      opacity: 1;
    }
  }
