/* =========================================================
   LAGUSTORE — CLEAN MASTER STYLESHEET
   ========================================================= */

/* =========================
   1) TOKENS / BASE
   ========================= */

   :root {
    --bg: #050507;
    --bg-soft: #0c0c11;
    --bg-card: #121216;
    --bg-card-2: #16161c;
    --border: rgba(255, 255, 255, 0.08);
    --border-soft: rgba(169, 112, 255, 0.14);
    --text: #ffffff;
    --muted: #b8b6c2;
    --primary: #7b3fe4;
    --primary-light: #a970ff;
    --success: #31c46c;
    --danger: #ff5d5d;

    --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.16);
    --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.22);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.28);

    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    --container: 1200px;
    --header-height: 84px;
    --sticky-top: 96px;

    --transition-fast: 0.2s ease;
    --transition: 0.25s ease;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    background:
      linear-gradient(
        180deg,
        #07070b 0%,
        #090611 18%,
        #080510 38%,
        #050509 60%,
        #030306 100%
      );
  }
  
  img {
    display: block;
    max-width: 100%;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  
  button {
    cursor: pointer;
  }
  
  .container {
    width: min(var(--container), calc(100% - 32px));
    margin-inline: auto;
  }
  
  .section {
    padding: 90px 0;
  }

  body {
    overflow-x: clip;
    max-width: 100%;
  }
  
  .text-gradient {
    background: linear-gradient(135deg, #c9a8ff 0%, #e8d8ff 45%, #a970ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--primary-light);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.82rem;
  }

  .section-kicker::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 99px;
    flex-shrink: 0;
  }
  
  .section-heading-center {
    max-width: 860px;
    margin: 0 auto 36px;
    text-align: center;
  }
  
  .section-heading-center h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
  }
  
  .section-heading-center p {
    max-width: 720px;
    margin: 0 auto;
    color: #cfc8d9;
    line-height: 1.75;
    font-size: 1.02rem;
  }
  
  .empty-state {
    padding: 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(169, 112, 255, 0.1);
    color: var(--muted);
  }

  /* =========================
     SKELETON LOADER
     ========================= */

  @keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
  }

  .skeleton-card {
    pointer-events: none;
    cursor: default;
  }

  .skeleton-card:hover {
    transform: none;
    border-color: rgba(169, 112, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  }

  .sk-block {
    border-radius: 8px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 25%,
      rgba(255, 255, 255, 0.09) 50%,
      rgba(255, 255, 255, 0.04) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.6s ease-in-out infinite;
  }

  .sk-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    margin-bottom: 14px;
  }

  .sk-line {
    height: 11px;
    margin-bottom: 9px;
    border-radius: 6px;
  }

  .sk-s  { width: 38%; }
  .sk-l  { width: 88%; height: 15px; }
  .sk-m  { width: 58%; }
  .sk-p  { width: 46%; height: 20px; margin-top: 10px; margin-bottom: 0; }

  .sk-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
  }

  .sk-btn {
    height: 38px;
    flex: 1;
    border-radius: 10px;
  }
  
  /* =========================
     2) BUTTONS
     ========================= */
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 700;
    transition:
      transform var(--transition-fast),
      box-shadow var(--transition-fast),
      border-color var(--transition-fast),
      background var(--transition-fast);
  }
  
  .btn:hover {
    transform: translateY(-2px);
  }
  
  .btn-primary {
    color: #fff;
    background:
      linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 0 20px rgba(123, 63, 228, 0.28);
  }
  
  .btn-primary:hover {
    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.24),
      0 0 24px rgba(123, 63, 228, 0.34);
  }
  
  .btn-secondary {
    color: #fff;
    border-color: rgba(169, 112, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
  }
  
  .btn-secondary:hover {
    border-color: rgba(169, 112, 255, 0.34);
    background: rgba(123, 63, 228, 0.12);
  }
  
  /* =========================
     3) HEADER / NAV
     ========================= */
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--header-height);
    background: rgba(18, 6, 42, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(169, 112, 255, 0.2);
    box-shadow:
      0 1px 0 rgba(169, 112, 255, 0.15),
      0 4px 32px rgba(0, 0, 0, 0.5);
  }

  .header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  /* ---- BRAND ---- */

  .brand {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(169, 112, 255, 0.4));
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .brand-title {
    font-family: "Audiowide", sans-serif;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(110deg, #ede8ff 10%, #a07de0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
  }

  .brand-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 0.595rem;
    font-weight: 400;
    letter-spacing: 0.09em;
    color: rgba(169, 130, 255, 0.48);
    line-height: 1;
  }

  /* ---- NAV LINKS ---- */

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(220, 210, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 500;
  }

  .desktop-nav > a {
    padding: 7px 13px;
    border-radius: 8px;
    letter-spacing: 0.02em;
    transition:
      color var(--transition-fast),
      background var(--transition-fast);
  }

  .desktop-nav > a:hover {
    color: #fff;
    background: rgba(169, 112, 255, 0.14);
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }


  /* ---- DROPDOWN ---- */

  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: rgba(220, 210, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition:
      color var(--transition-fast),
      background var(--transition-fast);
  }

  .nav-dropdown:hover .nav-dropdown-trigger,
  .nav-dropdown:focus-within .nav-dropdown-trigger {
    color: #fff;
    background: rgba(169, 112, 255, 0.14);
  }

  .nav-dropdown-arrow {
    font-size: 0.78rem;
    color: rgba(192, 152, 255, 0.8);
    transition: transform var(--transition-fast);
  }

  .nav-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 210px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(20, 8, 44, 0.98);
    border: 1px solid rgba(169, 112, 255, 0.22);
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(169, 112, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition:
      opacity var(--transition-fast),
      transform var(--transition-fast),
      visibility var(--transition-fast);
    z-index: 20;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-dropdown-item-link {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(220, 210, 255, 0.85);
    letter-spacing: 0.01em;
    transition: background var(--transition-fast), color var(--transition-fast);
  }

  .nav-dropdown-item-link:hover {
    background: rgba(123, 63, 228, 0.2);
    color: #fff;
  }

  /* ---- CTA BUTTON (HEADER) ---- */

  .header-cta {
    min-height: 38px !important;
    padding: 0 18px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #3b0d8a !important;
    border: none !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25) !important;
    transition:
      background var(--transition-fast),
      box-shadow var(--transition-fast),
      transform var(--transition-fast) !important;
  }

  .header-cta:hover {
    background: #f0e8ff !important;
    box-shadow: 0 4px 20px rgba(123, 63, 228, 0.3) !important;
    transform: translateY(-1px) !important;
  }

  .header-arma-pc {
    min-height: 38px !important;
    padding: 0 16px !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: rgba(123, 63, 228, 0.15) !important;
    color: #d4aaff !important;
    border: 1px solid rgba(169, 112, 255, 0.35) !important;
    transition:
      background var(--transition-fast),
      color var(--transition-fast),
      border-color var(--transition-fast) !important;
  }

  .header-arma-pc:hover {
    background: rgba(123, 63, 228, 0.28) !important;
    color: #fff !important;
    border-color: rgba(169, 112, 255, 0.6) !important;
  }

  /* =========================
     4) HOME
     ========================= */
  
  /* ---- HERO SPLIT LAYOUT (DARK) ---- */

  .home-hero {
    position: relative;
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 120px 0 90px;
    background: linear-gradient(135deg, #05040e 0%, #0a061a 50%, #0d0720 100%);
  }

  .home-hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 63, 228, 0.2), transparent 65%);
    top: -200px;
    right: -100px;
    pointer-events: none;
  }

  .home-hero::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(169, 112, 255, 0.1), transparent 65%);
    bottom: -100px;
    left: -80px;
    pointer-events: none;
  }

  .hero-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .hero-content {
    text-align: left;
  }

  .hero-eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(169, 112, 255, 0.1);
    padding: 6px 14px;
    border-radius: 99px;
    border: 1px solid rgba(169, 112, 255, 0.22);
  }

  .hero-content h1 {
    max-width: none;
    margin: 0 0 22px;
    font-size: clamp(2.2rem, 3.8vw, 3.8rem);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-align: left;
  }

  .hero-lead {
    max-width: 500px;
    margin: 0 0 30px;
    color: #c4bcd8;
    font-size: 1.06rem;
    line-height: 1.78;
    text-align: left;
  }

  .hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 0;
  }

  .hero-actions-center {
    justify-content: center;
  }

  .hero-mini-badges {
    margin-top: 28px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-mini-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(123, 63, 228, 0.12);
    border: 1px solid rgba(169, 112, 255, 0.24);
    color: #e8deff;
    font-size: 0.88rem;
    font-weight: 600;
  }

  .hero-mini-badges span i {
    color: var(--primary-light);
    font-size: 0.82rem;
  }

  .hero-visual {
    position: relative;
  }

  /* Halo de luz detrás de la imagen */
  .hero-visual::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(123, 63, 228, 0.35) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
  }

  .hero-img-wrap {
    position: relative;
    z-index: 1;
  }

  /* Marco de la imagen: borde con brillo púrpura */
  .hero-img-frame {
    position: relative;
    border-radius: 26px;
    padding: 3px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(169,112,255,0.7) 0%, rgba(123,63,228,0.35) 50%, rgba(169,112,255,0.65) 100%);
    box-shadow:
      0 0 60px rgba(123, 63, 228, 0.55),
      0 0 120px rgba(123, 63, 228, 0.2),
      0 32px 80px rgba(0, 0, 0, 0.7);
    animation: hero-float 5s ease-in-out infinite;
  }

  @keyframes hero-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
  }

  /* Overlay sutil en bordes para fundir con el fondo oscuro */
  .hero-img-frame::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 23px;
    background:
      linear-gradient(
        135deg,
        rgba(80, 10, 160, 0.55) 0%,
        rgba(40, 0, 90, 0.25) 40%,
        rgba(120, 50, 210, 0.45) 100%
      );
    pointer-events: none;
    z-index: 1;
  }

  .hero-img {
    width: 100%;
    min-height: 300px;
    border-radius: 23px;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
    filter: brightness(0.75) contrast(1.15) saturate(0.65);
  }

  .hero-img-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 3;
    backdrop-filter: blur(12px);
  }

  .hero-img-badge-1 {
    bottom: 28px;
    left: -20px;
    background: rgba(12, 10, 22, 0.92);
    color: #ffffff;
    border: 1px solid rgba(169, 112, 255, 0.28);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  }

  .hero-img-badge-2 {
    top: 28px;
    right: -20px;
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(123, 63, 228, 0.45);
  }

  .hero-img-badge-1 i {
    font-size: 1.1rem;
    color: var(--success);
  }

  .hero-img-badge-2 i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
  }
  
  .home-categories {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
    background:
      radial-gradient(circle at 20% 20%, rgba(123, 63, 228, 0.1), transparent 28%),
      radial-gradient(circle at 80% 70%, rgba(169, 112, 255, 0.08), transparent 26%),
      linear-gradient(180deg, #090611 0%, #07070b 100%);
  }
  
  .home-categories::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at center, rgba(123, 63, 228, 0.08), transparent 45%);
    pointer-events: none;
  }
  
  .home-categories-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
  }
  
  .home-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    width: 100%;
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    background:
      radial-gradient(circle at top, rgba(169, 112, 255, 0.1), transparent 45%),
      linear-gradient(180deg, #1b0732 0%, #140427 100%);
    border: 1px solid rgba(169, 112, 255, 0.28);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    transition:
      transform var(--transition),
      box-shadow var(--transition),
      border-color var(--transition),
      background var(--transition),
      opacity 0.6s ease,
      transform 0.6s ease;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  
  .home-category-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  
  .home-category-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(169, 112, 255, 0.48);
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.34),
      0 0 24px rgba(169, 112, 255, 0.22),
      0 0 48px rgba(123, 63, 228, 0.14);
    background:
      radial-gradient(circle at top, rgba(169, 112, 255, 0.18), transparent 45%),
      linear-gradient(180deg, #22093e 0%, #17052d 100%);
  }
  
  .home-category-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(169, 112, 255, 0.12);
    border: 1px solid rgba(169, 112, 255, 0.22);
    transition:
      transform var(--transition-fast),
      box-shadow var(--transition-fast),
      background var(--transition-fast),
      border-color var(--transition-fast);
  }
  
  .home-category-card:hover .home-category-icon {
    transform: translateY(-2px) scale(1.08);
    background: rgba(169, 112, 255, 0.18);
    border-color: rgba(169, 112, 255, 0.36);
    box-shadow:
      0 0 18px rgba(169, 112, 255, 0.38),
      0 0 34px rgba(123, 63, 228, 0.18);
  }
  
  .home-category-icon i {
    font-size: 1.8rem;
    color: #d1abff;
    transition:
      transform var(--transition-fast),
      color var(--transition-fast),
      text-shadow var(--transition-fast);
  }
  
  .home-category-card:hover .home-category-icon i {
    transform: scale(1.08);
    color: #f0e4ff;
    text-shadow: 0 0 14px rgba(169, 112, 255, 0.45);
  }
  
  .home-category-title {
    margin-top: 8px;
    font-size: 1.1rem;
    font-weight: 800;
  }
  
  .home-category-link {
    margin-top: 8px;
    font-size: 0.88rem;
    color: #d1b3ff;
    font-weight: 700;
    transition: color var(--transition-fast), transform var(--transition-fast);
  }
  
  .home-category-card:hover .home-category-link {
    color: #fff;
    transform: translateY(1px);
  }
  
  .home-info-section {
    background: linear-gradient(180deg, #07070b 0%, #040408 100%);
  }
  
  .home-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  
  .home-info-card {
    padding: 32px;
    border-radius: 24px;
    background:
      radial-gradient(circle at top left, rgba(169, 112, 255, 0.1), transparent 50%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(169, 112, 255, 0.18);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  }

  .home-info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(169, 112, 255, 0.34);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28), 0 0 24px rgba(169, 112, 255, 0.1);
  }

  .home-info-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(169, 112, 255, 0.14);
    border: 1px solid rgba(169, 112, 255, 0.26);
    margin-bottom: 20px;
    transition: transform var(--transition-fast), background var(--transition-fast);
  }

  .home-info-card:hover .home-info-card-icon {
    transform: scale(1.08);
    background: rgba(169, 112, 255, 0.24);
  }

  .home-info-card-icon i {
    font-size: 1.45rem;
    color: var(--primary-light);
  }

  .home-info-card h3 {
    margin: 0 0 12px;
    font-size: 1.22rem;
  }

  .home-info-card p {
    margin: 0;
    color: #cfc8d9;
    line-height: 1.75;
  }
  
  .home-highlight-section {
    padding: 20px 0 90px;
    background: linear-gradient(180deg, #040408 0%, #020204 100%);
  }
  
  .home-highlight-box {
    max-width: 980px;
    margin: 0 auto;
    padding: 56px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid rgba(169, 112, 255, 0.26);
    background:
      radial-gradient(ellipse at top, rgba(123, 63, 228, 0.22), transparent 55%),
      radial-gradient(ellipse at bottom, rgba(169, 112, 255, 0.08), transparent 50%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.32),
      0 0 60px rgba(123, 63, 228, 0.1);
  }
  
  .home-highlight-box h2 {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 4vw, 3rem);
  }
  
  .home-highlight-box p {
    max-width: 720px;
    margin: 0 auto 24px;
    color: #d0cadb;
    line-height: 1.8;
  }
  
  /* =========================
     5) SHARED CONTENT BLOCKS
     ========================= */
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  
  .info-card,
  .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
  }
  
  .info-card {
    padding: 24px;
  }
  
  .info-card h3 {
    margin: 0 0 12px;
  }
  
  .info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
  }
  
  .faq-list {
    display: grid;
    gap: 14px;
  }
  
  .faq-item {
    padding: 0;
    overflow: hidden;
    transition: border-color var(--transition);
  }

  .faq-item:hover {
    border-color: rgba(169, 112, 255, 0.26);
  }

  .faq-item[open] {
    border-color: rgba(169, 112, 255, 0.32);
    background:
      linear-gradient(180deg, rgba(123, 63, 228, 0.05), rgba(255, 255, 255, 0.01));
  }

  .faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.02rem;
    padding: 20px 24px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color var(--transition-fast);
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary-light);
    font-weight: 300;
    line-height: 1;
    transition: transform var(--transition), color var(--transition-fast);
    flex-shrink: 0;
  }

  .faq-item[open] summary::after {
    transform: rotate(45deg);
    color: #e8d5ff;
  }

  .faq-item summary:hover {
    color: var(--primary-light);
  }

  .faq-item p {
    margin: 0;
    padding: 0 24px 22px;
    padding-top: 14px;
    color: var(--muted);
    line-height: 1.75;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  /* =========================
     6) CATEGORY PAGE
     ========================= */
  
  .category-page .category-hero {
    padding: 140px 0 40px;
  }
  
  .category-hero-box {
    padding: 32px;
    border-radius: var(--radius-xl);
    background:
      radial-gradient(circle at top left, rgba(169, 112, 255, 0.14), transparent 40%),
      linear-gradient(180deg, rgba(18, 18, 18, 0.92) 0%, rgba(10, 10, 14, 0.96) 100%);
    border: 1px solid rgba(169, 112, 255, 0.16);
    box-shadow: var(--shadow-lg);
  }
  
  .category-hero-box h1 {
    margin: 12px 0 10px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
  }
  
  .category-hero-box p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
  }
  
  .category-catalog-section {
    padding-top: 12px;
  }
  
  .category-catalog-section,
  .category-catalog-section .container,
  .catalog-layout,
  .catalog-sidebar,
  .catalog-main {
    overflow: visible;
  }
  
  /* layout */
  .catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  
  .catalog-sidebar {
    position: relative;
    align-self: start;
  }
  
  .catalog-sidebar-inner {
    position: sticky;
    top: var(--sticky-top);
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(18, 18, 18, 0.88);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
  }
  
  .catalog-sidebar-title {
    margin: 0 0 6px;
    font-size: 1.05rem;
  }
  
  .catalog-main {
    min-width: 0;
  }
  
  /* toolbar */
  .catalog-toolbar {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(18, 18, 18, 0.88);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
  }
  
  .catalog-toolbar-top {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) auto;
    gap: 18px;
    align-items: end;
  }
  
  .catalog-search-wrap {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(169, 112, 255, 0.12);
  }
  
  .catalog-search-wrap i {
    color: var(--primary-light);
    font-size: 1rem;
  }
  
  .catalog-search {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
  }
  
  .catalog-toolbar-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: nowrap;
  }
  
  .catalog-sort-block {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  
  .catalog-sort-label {
    margin-bottom: 8px;
    line-height: 1.2;
    color: #d9d9d9;
    font-size: 0.9rem;
  }
  
  .catalog-view-switch {
    display: flex;
    align-items: flex-end;
    gap: 10px;
  }
  
  .view-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(169, 112, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    transition:
      background var(--transition-fast),
      border-color var(--transition-fast),
      box-shadow var(--transition-fast);
  }
  
  .view-toggle:hover,
  .view-toggle.active {
    background: rgba(123, 63, 228, 0.18);
    border-color: rgba(169, 112, 255, 0.34);
    box-shadow: 0 0 20px rgba(123, 63, 228, 0.18);
  }
  
  .catalog-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
  }
  
  .catalog-status {
    color: #d8d8d8;
    font-size: 0.96rem;
  }
  
  /* filters / form controls */
  .filter-field {
    display: grid;
    gap: 8px;
  }
  
  .filter-field label {
    color: #d9d9d9;
    font-size: 0.9rem;
  }
  
  .filter-field input,
  .filter-field input,
  .filter-field select,
  .catalog-sort-block select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(169, 112, 255, 0.14);
    background: #14141a;
    color: #fff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition:
      border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow   0.22s cubic-bezier(0.4, 0, 0.2, 1),
      background   0.22s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .filter-field input:focus,
  .filter-field select:focus,
  .catalog-sort-block select:focus {
    border-color: rgba(169, 112, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(123, 63, 228, 0.14);
    background: #18181f;
  }
  
  .catalog-sort-block select {
    height: 52px;
    width: 220px;
  }
  
  .filter-field select option,
  .catalog-sort-block select option {
    background-color: #14141a;
    color: #ffffff;
  }
  
  .filter-field select option:checked,
  .catalog-sort-block select option:checked {
    background-color: #2a133f;
    color: #ffffff;
  }
  
  .check-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(169, 112, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    cursor: pointer;
    transition:
      background    0.2s cubic-bezier(0.4, 0, 0.2, 1),
      border-color  0.2s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow    0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .check-filter:hover {
    background: rgba(169, 112, 255, 0.07);
    border-color: rgba(169, 112, 255, 0.28);
  }
  
  .check-filter:has(input:checked) {
    background: rgba(123, 63, 228, 0.12);
    border-color: rgba(169, 112, 255, 0.35);
  }
  
  .check-filter input {
    accent-color: var(--primary);
  }
  .filter-reset {
    width: 100%;
    justify-content: center;
  }
  
  /* products — enter animation */
  @keyframes card-enter {
    from {
      opacity: 0;
      transform: translateY(16px) scale(0.97);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .product-card.is-entering {
    animation: card-enter 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--card-delay, 0ms);
  }

  /* products */
  .products-grid.products-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  
  .products-grid.products-list-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background:
      radial-gradient(circle at top, rgba(169, 112, 255, 0.08), transparent 42%),
      linear-gradient(180deg, #121216 0%, #0c0c10 100%);
    border: 1px solid rgba(169, 112, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transition:
      transform var(--transition-fast),
      border-color var(--transition-fast),
      box-shadow var(--transition-fast);
  }
  
  .product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(169, 112, 255, 0.32);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  }
  
  .product-card.is-featured {
    border-color: rgba(169, 112, 255, 0.24);
  }
  
  .product-card.out-of-stock {
    opacity: 0.85;
  }
  
  .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(123, 63, 228, 0.88);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
  }
  
  .product-image-wrap {
    position: relative;
    min-height: 190px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(circle at center, rgba(169, 112, 255, 0.1), transparent 60%);
  }
  
  .product-image {
    width: 100%;
    max-width: 180px;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.24));
    transition: transform var(--transition);
  }
  
  .product-card:hover .product-image {
    transform: scale(1.04);
  }
  
  .product-body {
    display: grid;
    gap: 10px;
    padding: 18px;
  }
  
  .product-category {
    font-size: 0.78rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 800;
  }
  
  .product-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
    min-height: 2.7em;
  }
  
  .product-meta {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
  }
  
  .product-price {
    font-size: 1.18rem;
    font-weight: 800;
    color: #fff;
  }
  
  .product-stock {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
  }
  
  .product-stock.in-stock {
    background: rgba(49, 196, 108, 0.12);
    color: #7ef0a8;
  }
  
  .product-stock.out-stock {
    background: rgba(255, 93, 93, 0.1);
    color: #ff8e8e;
  }
  
  .product-actions {
    margin-top: 4px;
  }
  
  .product-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* list view */
  .products-list-view .product-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
  }
  
  .products-list-view .product-image-wrap {
    min-height: 100%;
    padding: 22px;
  }
  
  .products-list-view .product-image {
    max-width: 140px;
    max-height: 120px;
  }
  
  .products-list-view .product-body {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px 22px;
  }
  
  .products-list-view .product-category,
  .products-list-view .product-title,
  .products-list-view .product-meta {
    grid-column: 1;
  }
  
  .products-list-view .product-price,
  .products-list-view .product-stock,
  .products-list-view .product-actions {
    grid-column: 2;
    justify-self: end;
  }
  
  .products-list-view .product-title {
    min-height: auto;
    max-width: 720px;
  }
  
  .products-list-view .product-actions .btn {
    width: auto;
    min-width: 160px;
  }
  
  /* =========================
     7) FOOTER
     ========================= */
  
  .site-footer {
    padding: 52px 0 64px;
    border-top: none;
    background: linear-gradient(180deg, #020204 0%, #010103 100%);
    position: relative;
  }

  .site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(169, 112, 255, 0.35) 50%, transparent 100%);
  }

  .footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
  }

  .footer-link:hover {
    color: var(--primary-light);
  }

  .footer-link i {
    font-size: 1rem;
    color: var(--primary-light);
    flex-shrink: 0;
    width: 16px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 22px;
  }
  
  .footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  .footer-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
  }
  
  .site-footer h4 {
    margin: 0 0 10px;
  }
  
  .site-footer p {
    margin: 0 0 8px;
    color: var(--muted);
  }
  
  /* =========================
     8) ANIMATIONS
     ========================= */
  
  .reveal-up {
    opacity: 0;
    transform: translateY(24px);
    animation: revealUp 0.8s ease forwards;
  }
  
  .reveal-up-delay-1 {
    animation-delay: 0.15s;
  }
  
  .reveal-up-delay-2 {
    animation-delay: 0.3s;
  }
  
  .reveal-up-delay-3 {
    animation-delay: 0.45s;
  }
  
  @keyframes revealUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes heroFloat {
    0% {
      transform: scale(1) translateY(0);
    }
  
    100% {
      transform: scale(1.03) translateY(-8px);
    }
  }
  
  /* =========================
     9) RESPONSIVE
     ========================= */
  
  @media (max-width: 1180px) {
    .products-grid.products-grid-compact {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 1024px) {
    .catalog-layout {
      grid-template-columns: 1fr;
    }
  
    .catalog-sidebar-inner {
      position: static;
      top: auto;
    }
  
    .catalog-toolbar-top {
      grid-template-columns: 1fr;
      align-items: stretch;
    }
  
    .catalog-toolbar-actions {
      justify-content: flex-start;
      flex-wrap: wrap;
    }
  
    .home-categories-grid,
    .home-info-grid,
    .services-grid,
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 820px) {
    .products-grid.products-grid-compact {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .products-list-view .product-card {
      grid-template-columns: 1fr;
    }
  
    .products-list-view .product-body {
      grid-template-columns: 1fr;
    }
  
    .products-list-view .product-price,
    .products-list-view .product-stock,
    .products-list-view .product-actions {
      grid-column: 1;
      justify-self: start;
    }
  }
  
  /* ================================
   HAMBURGER BUTTON (always present, hidden on desktop)
   ================================ */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.2s;
  z-index: 201;
}

.mobile-menu-btn:hover {
  background: rgba(169, 112, 255, 0.12);
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #e0d6ff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================================
   MOBILE NAV DRAWER
   ================================ */

.mobile-nav {
  display: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
  background: #0f0d1a;
}

.mobile-nav.open {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  opacity: 1;
  pointer-events: auto;
  border-top: 1px solid rgba(169,112,255,0.15);
}

.mobile-nav-inner {
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(169,112,255,0.7);
  margin: 0 0 6px;
  padding: 0 10px;
}

.mobile-nav-inner a {
  display: block;
  padding: 10px 10px;
  border-radius: 8px;
  color: rgba(224,214,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.mobile-nav-inner a:hover {
  background: rgba(169,112,255,0.12);
  color: #fff;
}

.mobile-nav-ctas {
  padding-top: 4px;
}

/* overlay when menu open — z-index 99 keeps it BELOW the sticky header (z-index 100) */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}
.mobile-nav-overlay.visible {
  display: block;
}

@media (max-width: 700px) {
  :root {
    --header-height: 60px;
    --sticky-top: 72px;
  }

  .desktop-nav,
  .header-right {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  /* Fix header layout */
  .header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    min-height: 60px;
  }

  /* Section padding */
  .section {
    padding: 48px 0;
  }

  /* Hero */
  .home-hero {
    padding: 72px 0 48px;
    min-height: auto;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-eyebrow {
    font-size: 0.78rem;
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
    margin: 0 0 14px;
    line-height: 1.25;
  }

  .hero-lead {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .hero-mini-badges {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-img-badge-1,
  .hero-img-badge-2 {
    display: none;
  }

  /* Category cards → 2 col */
  .home-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .home-category-card {
    padding: 16px 10px;
    gap: 8px;
  }

  .home-category-icon {
    font-size: 1.5rem;
  }

  .home-category-title {
    font-size: 0.82rem;
  }

  .home-category-link {
    font-size: 0.72rem;
  }

  /* Info cards → 1 col */
  .home-info-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-info-card {
    padding: 20px 16px;
  }

  /* Hero actions center */
  .hero-actions-center {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions-center .btn,
  .product-actions .btn {
    width: 100%;
  }

  /* Highlight section */
  .home-highlight-box {
    padding: 28px 18px;
    text-align: center;
    border-radius: 16px;
  }

  .home-highlight-box h2 {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  /* Section headings */
  .section-heading h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.9rem);
  }

  .section-kicker {
    font-size: 0.7rem;
  }

  /* FAQ */
  .faq-item summary {
    font-size: 0.9rem;
    padding: 13px 16px;
  }

  /* Featured section */
  .home-featured-section {
    padding: 48px 0;
  }

  /* Footer */
  .site-footer {
    padding: 36px 0 24px;
  }

  .footer-brand {
    gap: 10px;
  }

  /* Buttons */
  .btn {
    font-size: 0.875rem;
    padding: 10px 18px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-subtitle {
    font-size: 0.65rem;
  }

  /* Catalog pages */
  .category-hero-box {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .category-hero-box h1 {
    font-size: clamp(1.2rem, 5.5vw, 1.7rem);
  }

  .catalog-layout {
    gap: 0;
  }

  .catalog-toolbar {
    padding: 12px 14px;
    gap: 10px;
    border-radius: 12px;
  }

  .catalog-toolbar-top {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalog-toolbar-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .catalog-sort-block,
  .catalog-sort-block select {
    width: 100%;
    min-width: 0;
  }

  .catalog-view-switch {
    width: 100%;
  }

  .view-toggle {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  /* Product grid — 2 columns on mobile */
  .products-grid,
  .products-grid.products-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    padding: 11px;
  }

  .product-img-wrap {
    height: 100px;
  }

  .product-name {
    font-size: 0.8rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  .product-price {
    font-size: 1rem;
  }

  .product-stock {
    font-size: 0.72rem;
  }

  .product-actions .btn {
    font-size: 0.78rem;
    padding: 8px 10px;
  }

  /* Chat widget */
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .chat-popup {
    width: calc(100vw - 32px);
    max-width: 340px;
  }

  .chat-trigger {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
  
  @media (max-width: 640px) {
    .container {
      width: min(var(--container), calc(100% - 24px));
    }
  
    .home-hero {
      padding: 96px 0 72px;
      min-height: auto;
    }
  
    .hero-center {
      padding: 0 8px;
    }
  
    .hero-center h1 {
      font-size: clamp(2rem, 9vw, 3rem);
    }
  
    .home-categories-grid,
    .home-info-grid {
      grid-template-columns: 1fr;
    }
  
    .catalog-toolbar {
      padding: 18px;
    }
  
    .catalog-toolbar-top {
      grid-template-columns: 1fr;
      align-items: stretch;
    }
  
    .catalog-toolbar-actions {
      flex-direction: column;
      align-items: stretch;
    }
  
    .catalog-view-switch {
      width: 100%;
    }
  
    .view-toggle {
      flex: 1;
    }
  
    .catalog-sort-block,
    .catalog-sort-block select {
      width: 100%;
      min-width: 100%;
    }
  
    .products-grid.products-grid-compact {
      grid-template-columns: 1fr;
    }
  
    .category-hero-box,
    .home-highlight-box {
      padding: 24px;
    }
  
    .brand-logo {
      width: 38px;
      height: 38px;
    }
  
    .brand-title {
      font-size: 1rem;
    }
  }

  /* MARCAS */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 28px 20px;
  border-radius: var(--radius-lg, 20px);
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(169, 112, 255, 0.1), transparent 45%),
    linear-gradient(180deg, #1b0732 0%, #140427 100%);
  border: 1px solid rgba(169, 112, 255, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.brand-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(169, 112, 255, 0.48);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(169, 112, 255, 0.22),
    0 0 48px rgba(123, 63, 228, 0.14);
  background:
    radial-gradient(circle at top, rgba(169, 112, 255, 0.18), transparent 45%),
    linear-gradient(180deg, #22093e 0%, #17052d 100%);
}

.brand-card-logo-wrap {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(169, 112, 255, 0.12);
  border: 1px solid rgba(169, 112, 255, 0.22);
  overflow: hidden;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.brand-card:hover .brand-card-logo-wrap {
  transform: translateY(-2px) scale(1.08);
  background: rgba(169, 112, 255, 0.18);
  border-color: rgba(169, 112, 255, 0.36);
  box-shadow:
    0 0 18px rgba(169, 112, 255, 0.38),
    0 0 34px rgba(123, 63, 228, 0.18);
}

.brand-card-logo-wrap img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.brand-card-logo-wrap .brand-initials {
  font-size: 1.3rem;
  font-weight: 800;
  color: #d1abff;
  letter-spacing: -0.02em;
}

.brand-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.brand-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.brand-card span {
  color: #d1b3ff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color .2s ease;
}

.brand-card:hover span {
  color: #fff;
}

@media (max-width: 900px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   10) PRODUCT DETAIL PAGE
   ========================= */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 28px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--primary-light);
  transition: color var(--transition-fast);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,0.22); font-size: 0.82rem; }
.breadcrumb-current {
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.product-detail-section { padding: 40px 0 80px; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}

.product-detail-image-panel {
  position: sticky;
  top: var(--sticky-top, 90px);
  padding: 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top, rgba(169,112,255,0.12), transparent 55%),
    linear-gradient(180deg, #121216 0%, #0c0c10 100%);
  border: 1px solid rgba(169,112,255,0.16);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-image {
  width: 100%;
  max-width: 340px;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.32));
}

.product-detail-info { display: grid; gap: 28px; }

.product-detail-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
}

.product-detail-name {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 10px;
}
.product-detail-meta-sep { color: rgba(255,255,255,0.18); }

.product-detail-price-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(123,63,228,0.14), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(169,112,255,0.2);
}

.product-detail-price-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.product-detail-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  display: block;
}

.product-detail-price-loading {
  font-size: 1.1rem;
  color: var(--muted);
  font-style: italic;
}

.product-detail-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}
.product-detail-stock.in-stock { background: rgba(49,196,108,0.12); color: #7ef0a8; }
.product-detail-stock.out-stock { background: rgba(255,93,93,0.1); color: #ff8e8e; }

.product-detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.product-detail-actions .btn { flex: 1; min-width: 160px; justify-content: center; }

.product-specs-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--border);
}
.product-specs-title { margin: 0 0 18px; font-size: 1.05rem; color: #e8e4f0; }
.product-specs-table { width: 100%; border-collapse: collapse; }
.product-specs-table tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.product-specs-table tr:last-child { border-bottom: none; }
.product-specs-table td { padding: 11px 8px; font-size: 0.92rem; vertical-align: top; }
.product-specs-table td:first-child { color: var(--muted); width: 40%; padding-right: 16px; }
.product-specs-table td:last-child { color: #f0ecff; font-weight: 600; }

.product-detail-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #d1b3ff;
  background: rgba(123,63,228,0.1);
  border: 1px solid rgba(169,112,255,0.22);
}

.product-not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 60px 20px;
}
.product-not-found h2 { margin: 0; font-size: 2rem; }
.product-not-found p { color: var(--muted); max-width: 480px; line-height: 1.75; }

.product-payment-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--border);
}

.product-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

.payment-method i {
  font-size: 1.5rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

.payment-method div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.payment-method strong {
  color: #f0ecff;
  font-size: 0.95rem;
}

.payment-method span {
  color: var(--muted);
  font-size: 0.85rem;
}

.product-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.product-title-link { display: block; color: inherit; }
.product-title-link:hover .product-title { color: var(--primary-light); }

@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-image-panel { position: static; padding: 32px; }
}

@media (max-width: 600px) {
  .product-detail-image-panel { padding: 24px; }
  .product-detail-actions { flex-direction: column; }
  .product-detail-actions .btn { width: 100%; min-width: unset; }
  .product-detail-price { font-size: 1.8rem; }
  .breadcrumb-current { max-width: 180px; }
}

/* =========================
   HERO RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .hero-lead {
    max-width: 100%;
  }

  .hero-img-badge-1 {
    left: 12px;
    bottom: -16px;
  }

  .hero-img-badge-2 {
    right: 12px;
    top: -16px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 96px 0 72px;
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* =========================
   SECCIÓN DESTACADOS
   ========================= */

.home-featured-section {
  background:
    radial-gradient(circle at 15% 50%, rgba(123, 63, 228, 0.1), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(169, 112, 255, 0.07), transparent 28%),
    linear-gradient(180deg, #09070f 0%, #07070b 100%);
  padding: 80px 0;
}

.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.home-featured-footer {
  margin-top: 48px;
  text-align: center;
}

.btn-outline-primary {
  color: var(--primary-light);
  border-color: rgba(169, 112, 255, 0.3);
  background: transparent;
  font-weight: 700;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(123, 63, 228, 0.35);
}

.featured-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 48px;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .home-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-featured-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FLOATING WHATSAPP BUTTON
   ========================= */

/* ========================
   CHAT WIDGET
   ======================== */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Trigger button */
.chat-trigger {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow:
    0 6px 24px rgba(37, 211, 102, 0.42),
    0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.chat-trigger:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow:
    0 12px 34px rgba(37, 211, 102, 0.58),
    0 4px 14px rgba(0, 0, 0, 0.32);
}

.chat-icon-close {
  display: none;
  font-size: 1.2rem;
}

.chat-widget.open .chat-icon-wa   { display: none; }
.chat-widget.open .chat-icon-close { display: block; }

/* Popup */
.chat-popup {
  width: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a2e;
  border: 1px solid rgba(169, 112, 255, 0.25);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(169, 112, 255, 0.1);
  transform: scale(0.85) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.chat-widget.open .chat-popup {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Header */
.chat-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #2a0a5e 0%, #1e0847 100%);
  border-bottom: 1px solid rgba(169, 112, 255, 0.2);
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(169, 112, 255, 0.5);
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.chat-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.chat-status {
  font-size: 0.72rem;
  color: #a8f5c2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px rgba(37, 211, 102, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 4px;
  font-size: 0.8rem;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s;
}

.chat-close-btn:hover { color: #fff; }

/* Body */
.chat-body {
  padding: 16px;
  min-height: 80px;
}

.chat-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(169, 112, 255, 0.15);
  border-radius: 12px 12px 12px 3px;
  padding: 12px 14px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.chat-bubble p { margin: 0; }
.chat-bubble p + p { margin-top: 6px; }

/* Input row */
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(169, 112, 255, 0.12);
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(169, 112, 255, 0.25);
  border-radius: 10px;
  color: #fff;
  padding: 10px 14px;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.15s;
}

.chat-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.chat-input:focus { border-color: rgba(169, 112, 255, 0.6); }

.chat-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}

.chat-send-btn:hover {
  background: #1ebe5d;
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .chat-widget { bottom: 18px; right: 18px; }
  .chat-popup { width: calc(100vw - 36px); }

  .home-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .home-category-card {
    padding: 16px 10px;
  }

  .home-category-icon {
    font-size: 1.4rem;
  }

  .home-category-title {
    font-size: 0.8rem;
  }

  .section {
    padding: 44px 0;
  }
}

/* =========================
   CART SYSTEM
   ========================= */

/* ── Header cart button ─────────────────────────── */
.cart-header-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(169,112,255,0.12);
  border: 1px solid rgba(169,112,255,0.25);
  border-radius: 10px;
  color: #e0d6ff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.cart-header-btn:hover {
  background: rgba(169,112,255,0.22);
  border-color: rgba(169,112,255,0.5);
}

/* ── Badge ──────────────────────────────────────── */
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: #a970ff;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

/* ── Overlay ────────────────────────────────────── */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 298;
  backdrop-filter: blur(2px);
}
.cart-overlay.visible { display: block; }

/* ── Drawer ─────────────────────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 100vw;
  background: #0f0d1a;
  border-left: 1px solid rgba(169,112,255,0.2);
  box-shadow: -8px 0 48px rgba(0,0,0,0.6);
  z-index: 299;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
}
.cart-drawer.open { transform: translateX(0); }

/* header */
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(169,112,255,0.15);
  flex-shrink: 0;
}
.cart-drawer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #e0d6ff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-drawer-title i { color: var(--primary-light); }
.cart-drawer-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(169,112,255,0.1);
  border: 1px solid rgba(169,112,255,0.2);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s;
}
.cart-drawer-close:hover { background: rgba(169,112,255,0.2); color: #fff; }

/* items scroll area */
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cart-drawer-items::-webkit-scrollbar { width: 4px; }
.cart-drawer-items::-webkit-scrollbar-thumb { background: rgba(169,112,255,0.4); border-radius: 4px; }

/* empty state */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 24px;
  text-align: center;
}
.cart-empty i { font-size: 2.8rem; color: rgba(169,112,255,0.35); }
.cart-empty p { font-size: 1rem; color: #e0d6ff; margin: 0; font-weight: 600; }
.cart-empty span { font-size: 0.82rem; color: var(--muted); }

/* single cart item */
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(169,112,255,0.1);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
  background: #1a1630;
  flex-shrink: 0;
  border: 1px solid rgba(169,112,255,0.15);
}

.cart-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e0d6ff;
  margin: 0;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-item-price {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(169,112,255,0.08);
  border: 1px solid rgba(169,112,255,0.18);
  border-radius: 8px;
  padding: 2px 4px;
}
.cart-qty-btn {
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  color: var(--primary-light);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  transition: background 0.15s;
}
.cart-qty-btn:hover { background: rgba(169,112,255,0.15); }
.cart-qty-num {
  min-width: 20px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e0d6ff;
}

.cart-item-line-total {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-left: auto;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: color 0.15s, background 0.15s;
  font-size: 0.82rem;
}
.cart-remove-btn:hover { color: #ff6b6b; background: rgba(255,107,107,0.1); }

/* footer */
.cart-drawer-foot {
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(169,112,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 8px 0 2px;
}
.cart-total-row strong {
  font-size: 1.25rem;
  color: #e0d6ff;
  font-weight: 800;
}

.cart-wa-btn {
  width: 100%;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  font-size: 0.95rem;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
  gap: 8px;
}
.cart-wa-btn:hover:not(:disabled) {
  background: #1db954;
  border-color: #1db954;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}
.cart-wa-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.cart-wa-btn i { font-size: 1.1rem; }

.cart-clear-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: color 0.18s;
  padding: 4px;
}
.cart-clear-link:hover { color: #ff6b6b; }

/* ── Cart Bottleneck Detector ───────────────────── */
#cartBottleneck { margin-bottom: 2px; }
.cart-bn {
  border-top: 1px solid rgba(169,112,255,0.15);
  padding-top: 12px;
  margin-bottom: 4px;
}
.cart-bn-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(169,112,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.cart-bn-hint {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
  padding: 8px 10px;
  background: rgba(169,112,255,0.06);
  border: 1px solid rgba(169,112,255,0.14);
  border-radius: 8px;
}
.cart-bn-rows { display: flex; flex-direction: column; gap: 9px; margin-bottom: 10px; }
.cart-bn-row  { display: flex; flex-direction: column; gap: 4px; }
.cart-bn-row-head {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-bn-comp {
  font-size: 0.73rem;
  font-weight: 700;
  color: #e0d6ff;
  min-width: 32px;
}
.cart-bn-badge {
  font-size: 0.58rem;
  font-weight: 700;
  background: rgba(239,68,68,0.14);
  border: 1px solid rgba(239,68,68,0.35);
  color: #f87171;
  padding: 1px 6px;
  border-radius: 99px;
}
.cart-bn-score-num {
  font-size: 0.68rem;
  color: var(--muted);
  margin-left: auto;
}
.cart-bn-bar-wrap {
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
}
.cart-bn-bar {
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s ease;
}
.cart-bn-bar.bn-bar-ok   { background: linear-gradient(90deg, #7b3fe4, #a970ff); }
.cart-bn-bar.bn-bar-warn { background: linear-gradient(90deg, #b91c1c, #ef4444); }
.cart-bn-product-name {
  font-size: 0.65rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-bn-verdict {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.76rem;
  line-height: 1.45;
}
.cart-bn-verdict.bn-ok {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
}
.cart-bn-verdict.bn-warn {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #fca5a5;
}
.cart-bn-verdict strong { display: block; margin-bottom: 3px; font-size: 0.78rem; }
.cart-bn-verdict p { margin: 0; opacity: 0.9; }

/* ── Toast ──────────────────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e1630;
  border: 1px solid rgba(169,112,255,0.35);
  border-radius: 12px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: #e0d6ff;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.cart-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cart-toast i { color: #25d366; font-size: 1rem; flex-shrink: 0; }

/* ── btn-outline variant ────────────────────────── */
.btn.btn-outline {
  background: transparent;
  border-color: rgba(169,112,255,0.3);
  color: var(--primary-light);
}
.btn.btn-outline:hover {
  background: rgba(169,112,255,0.1);
  border-color: rgba(169,112,255,0.5);
}

/* ── Mobile adjustments ─────────────────────────── */
@media (max-width: 600px) {
  .cart-drawer { width: 100vw; }
}
@media (max-width: 480px) {
  .cart-toast  { bottom: 72px; font-size: 0.78rem; }
}

/* ── Cart clear confirm modal ───────────────────── */
.cart-modal-wrap {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cart-modal-wrap.visible {
  display: flex;
}
.cart-modal {
  background: #13101f;
  border: 1px solid rgba(169,112,255,0.25);
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  animation: cartModalIn 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes cartModalIn {
  from { opacity: 0; transform: scale(0.88) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cart-modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(255,107,107,0.12);
  border: 1px solid rgba(255,107,107,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ff6b6b;
}
.cart-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e0d6ff;
  margin: 0 0 8px;
}
.cart-modal-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.5;
}
.cart-modal-actions {
  display: flex;
  gap: 10px;
}
.cart-modal-cancel {
  flex: 1;
  background: rgba(169,112,255,0.1);
  border-color: rgba(169,112,255,0.25);
  color: #e0d6ff;
}
.cart-modal-cancel:hover {
  background: rgba(169,112,255,0.18);
}
.cart-modal-confirm {
  flex: 1;
  background: rgba(255,107,107,0.15);
  border-color: rgba(255,107,107,0.35);
  color: #ff6b6b;
  font-weight: 700;
}
.cart-modal-confirm:hover {
  background: rgba(255,107,107,0.25);
  border-color: rgba(255,107,107,0.55);
}

/* =========================
   GLOBAL SEARCH
   ========================= */

.gs-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(169, 112, 255, 0.08);
  color: rgba(220, 210, 255, 0.85);
  flex-shrink: 0;
  font-size: 0.95rem;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.gs-btn:hover {
  background: rgba(169, 112, 255, 0.18);
  color: #fff;
  border-color: rgba(169, 112, 255, 0.4);
}

.gs-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--header-height);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.gs-overlay.open {
  opacity: 1;
  visibility: visible;
}

.gs-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 10, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gs-box {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 32px));
  max-height: calc(100vh - var(--header-height) - 40px);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(169, 112, 255, 0.1);
  display: flex;
  flex-direction: column;
  margin-top: 14px;
  overflow: hidden;
}

.gs-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.gs-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(169, 112, 255, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.gs-submit-btn:hover {
  background: rgba(169, 112, 255, 0.2);
  color: var(--primary-light);
  border-color: rgba(169, 112, 255, 0.4);
}
.gs-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}
.gs-input::placeholder { color: var(--muted); }

.gs-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.gs-close-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.gs-results {
  overflow-y: auto;
  flex: 1;
}
.gs-hint,
.gs-empty {
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.gs-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-fast);
  cursor: pointer;
}
.gs-result-item:last-child { border-bottom: none; }
.gs-result-item:hover,
.gs-result-item.gs-active {
  background: rgba(169, 112, 255, 0.1);
}

.gs-result-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg-card-2);
  flex-shrink: 0;
}
.gs-result-info {
  flex: 1;
  min-width: 0;
}
.gs-result-name {
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gs-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}
.gs-result-cat {
  font-size: 0.72rem;
  color: var(--primary-light);
  background: rgba(169, 112, 255, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
}
.gs-result-price {
  font-size: 0.8rem;
  color: var(--muted);
}
.gs-result-arrow {
  color: var(--muted);
  font-size: 1rem;
  flex-shrink: 0;
}

.gs-footer {
  padding: 9px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  gap: 14px;
}
.gs-footer kbd {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  font-family: inherit;
}

.gs-mobile-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: rgba(169, 112, 255, 0.08);
  border: 1px solid rgba(169, 112, 255, 0.2);
  border-radius: 10px;
  color: rgba(220, 210, 255, 0.9);
  padding: 10px 14px;
  font-size: 0.9rem;
  text-align: left;
  margin-bottom: 12px;
  transition: background var(--transition-fast);
}
.gs-mobile-nav-btn:hover {
  background: rgba(169, 112, 255, 0.16);
}

/* =========================
   MOBILE REFINEMENTS
   ========================= */

/* Product cards: más espacio y botones side-by-side */
@media (max-width: 700px) {
  .product-card {
    padding: 13px;
  }

  .product-image-wrap {
    min-height: 115px;
  }

  .product-title {
    font-size: 0.82rem;
  }

  .product-actions {
    display: flex;
    flex-direction: row;
    gap: 6px;
  }

  .product-actions .btn {
    flex: 1;
    min-width: 0;
    font-size: 0.72rem;
    padding: 7px 6px;
    width: auto;
  }

  /* Lista (list view) forzada a grilla en mobile */
  .products-list-view .product-card {
    grid-template-columns: 1fr;
  }
  .products-list-view .product-image-wrap {
    min-height: 115px;
  }
  .products-list-view .product-body {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .products-list-view .product-title,
  .products-list-view .product-price,
  .products-list-view .product-actions {
    grid-column: auto;
  }

  /* Ocultar hints de teclado en search (no aplican en móvil) */
  .gs-footer {
    display: none;
  }

  /* Categorías home: 2 columnas pero más compactas en landscape */
  .home-category-card {
    gap: 6px;
  }
}

/* =========================
   PAGE LOADER / SPLASH
   ========================= */

#laguLoader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050507;
  overflow: hidden;
  user-select: none;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

#laguLoader.ll-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Canvas background */
#llCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

/* Scan beam */
.ll-scanbeam {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(138, 82, 255, 0.03) 44%,
    rgba(138, 82, 255, 0.11) 50%,
    rgba(138, 82, 255, 0.03) 56%,
    transparent 100%
  );
  animation: ll-scan 3.2s linear infinite;
  pointer-events: none;
}

@keyframes ll-scan {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

/* HUD corners */
.ll-corner {
  position: absolute;
  width: 32px;
  height: 32px;
}

.ll-corner::before,
.ll-corner::after {
  content: '';
  position: absolute;
  background: #9b6dff;
  box-shadow: 0 0 8px #9b6dff, 0 0 18px rgba(155, 109, 255, 0.4);
}

.ll-corner::before {
  height: 2px;
  width: 0;
  animation: ll-grow-h 0.45s 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ll-corner::after {
  width: 2px;
  height: 0;
  animation: ll-grow-v 0.45s 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes ll-grow-h    { to { width:  32px; } }
@keyframes ll-grow-v    { to { height: 32px; } }
@keyframes ll-grow-h-sm { to { width:  20px; } }
@keyframes ll-grow-v-sm { to { height: 20px; } }

.ll-tl { top: 20px; left: 20px; }
.ll-tl::before { top: 0; left: 0; }
.ll-tl::after  { top: 0; left: 0; }

.ll-tr { top: 20px; right: 20px; }
.ll-tr::before { top: 0; right: 0; }
.ll-tr::after  { top: 0; right: 0; }

.ll-bl { bottom: 20px; left: 20px; }
.ll-bl::before { bottom: 0; left: 0; }
.ll-bl::after  { bottom: 0; left: 0; }

.ll-br { bottom: 20px; right: 20px; }
.ll-br::before { bottom: 0; right: 0; }
.ll-br::after  { bottom: 0; right: 0; }

/* Center layout */
.ll-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* Logo + rings */
.ll-logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ll-ring {
  position: absolute;
  border-radius: 50%;
  animation: ll-spin linear infinite;
}

.ll-ring-o {
  width: 112px;
  height: 112px;
  background: conic-gradient(
    #9b6dff 0deg,
    rgba(155, 109, 255, 0.12) 130deg,
    #5e3aff 250deg,
    #9b6dff 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff calc(100% - 3px));
  animation-duration: 2.4s;
  filter: drop-shadow(0 0 6px rgba(155, 109, 255, 0.55));
}

.ll-ring-i {
  width: 90px;
  height: 90px;
  background: conic-gradient(
    #00e5ff 0deg,
    rgba(0, 229, 255, 0.08) 100deg,
    #0055cc 210deg,
    #00e5ff 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff calc(100% - 2px));
  animation-duration: 1.6s;
  animation-direction: reverse;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.5));
}

@keyframes ll-spin { to { transform: rotate(360deg); } }

.ll-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  animation: ll-pulse 2s ease-in-out infinite;
}

@keyframes ll-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(155, 109, 255, 0.55)); }
  50%       { filter: drop-shadow(0 0 22px rgba(155, 109, 255, 0.95)) drop-shadow(0 0 8px rgba(0, 229, 255, 0.45)); }
}

/* Glitch title */
.ll-title {
  font-family: 'Audiowide', monospace;
  font-size: clamp(1rem, 4.5vw, 1.55rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e8dfff;
  position: relative;
  text-shadow: 0 0 18px rgba(155, 109, 255, 0.45);
  animation: ll-fadein 0.7s 0.4s both;
}

.ll-title::before,
.ll-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.ll-title::before {
  color: #00e5ff;
  animation: ll-glitch-a 4.5s 1.5s infinite;
}

.ll-title::after {
  color: #ff3cac;
  animation: ll-glitch-b 4.5s 1.7s infinite;
}

@keyframes ll-glitch-a {
  0%, 87%, 100% { opacity: 0; transform: none; }
  88%  { opacity: 0.85; transform: translate(-3px, 1px);  clip-path: inset(15% 0 55% 0); }
  89%  { opacity: 0;    transform: none; }
  90%  { opacity: 0.7;  transform: translate(2px, -1px);  clip-path: inset(60% 0 10% 0); }
  92%  { opacity: 0;    transform: none; }
}

@keyframes ll-glitch-b {
  0%, 87%, 100% { opacity: 0; transform: none; }
  88%  { opacity: 0.7;  transform: translate(3px, -2px); clip-path: inset(50% 0 25% 0); }
  90%  { opacity: 0;    transform: none; }
  91%  { opacity: 0.65; transform: translate(-2px, 2px); clip-path: inset(10% 0 65% 0); }
  93%  { opacity: 0;    transform: none; }
}

@keyframes ll-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Subtitle */
.ll-sub {
  font-family: monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 229, 255, 0.65);
  animation: ll-fadein 0.7s 0.65s both;
}

/* Progress */
.ll-progress-wrap {
  width: min(340px, 80vw);
  animation: ll-fadein 0.7s 0.9s both;
}

.ll-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  position: relative;
  overflow: visible;
}

.ll-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #5e3aff, #9b6dff, #00e5ff);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(155, 109, 255, 0.6), 0 0 18px rgba(0, 229, 255, 0.25);
  transition: width 0.12s linear;
  position: relative;
}

.ll-bar-fill::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #9b6dff, 0 0 14px rgba(0, 229, 255, 0.9);
}

.ll-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  font-family: monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

#llStatus {
  color: rgba(155, 109, 255, 0.8);
  text-transform: uppercase;
}

#llPct {
  color: rgba(0, 229, 255, 0.8);
}

/* Hex data panels */
.ll-data {
  position: absolute;
  font-family: monospace;
  font-size: 0.58rem;
  line-height: 1.75;
  color: rgba(155, 109, 255, 0.4);
  letter-spacing: 0.06em;
  pointer-events: none;
  white-space: pre;
  animation: ll-fadein 0.6s 0.5s both;
}

.ll-data-tl { top: 64px;    left: 28px;  text-align: left; }
.ll-data-br { bottom: 64px; right: 28px; text-align: right; }

/* Mobile */
@media (max-width: 480px) {
  .ll-corner { width: 20px; height: 20px; }
  .ll-corner::before { animation-name: ll-grow-h-sm; }
  .ll-corner::after  { animation-name: ll-grow-v-sm; }
  .ll-logo-wrap { width: 90px; height: 90px; }
  .ll-ring-o { width: 84px; height: 84px; }
  .ll-ring-i { width: 68px; height: 68px; }
  .ll-logo   { width: 48px; height: 48px; }
  .ll-data   { display: none; }
}


/* =========================
   CATEGORY-SPECIFIC FILTERS
   ========================= */

/* =========================
   CATEGORY-SPECIFIC FILTERS
   ========================= */

#categoryFilters {
  display: grid;
  gap: 18px;
}

#categoryFilters:not(:empty) {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(169, 112, 255, 0.18);
}

.filter-group {
  display: grid;
  gap: 10px;
}

.filter-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.filter-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

/* Hide native checkbox — chip IS the toggle */
.check-filter-sm input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.check-filter-sm {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  padding: 5px 13px;
  border-radius: 100px;
  border: 1px solid rgba(169, 112, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition:
    background  0.22s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    color       0.22s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow  0.22s cubic-bezier(0.4, 0, 0.2, 1),
    transform   0.18s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  white-space: nowrap;
}

.check-filter-sm:hover {
  background: rgba(169, 112, 255, 0.1);
  border-color: rgba(169, 112, 255, 0.45);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(123, 63, 228, 0.18);
}

.check-filter-sm:has(input:checked) {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 18px rgba(123, 63, 228, 0.38);
  transform: translateY(-1px);
  font-weight: 600;
}

.check-filter-sm:active {
  transform: translateY(0);
}
