    :root {
      --bg: #0d0d14;
      --bg-secondary: #13131f;
      --bg-card: #1a1a2e;
      --bg-glass: rgba(26, 26, 46, 0.75);

      --purple: #7c3aed;
      --purple-light: #a855f7;
      --purple-glow: #c026d3;
      --purple-gradient: linear-gradient(135deg, #7c3aed, #c026d3);
      --purple-gradient-soft: linear-gradient(135deg, rgba(124,58,237,0.20), rgba(192,38,211,0.10));

      --text: #f1f0f5;
      --text-soft: #9991b5;

      --border: rgba(124, 58, 237, 0.20);
      --border-soft: rgba(255, 255, 255, 0.06);
      --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
      --shadow-purple: 0 16px 30px rgba(124, 58, 237, 0.28);

      --success: #22c55e;
      --danger: #ef4444;

      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius-md: 16px;
      --radius-sm: 12px;
      --transition: all 0.25s ease;
      --container: 1200px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Inter", sans-serif;
      background:
        radial-gradient(circle at top left, rgba(124,58,237,0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(192,38,211,0.08), transparent 24%),
        var(--bg);
      color: var(--text);
      min-height: 100vh;
      line-height: 1.5;
      overflow-x: hidden;
    }

    body.no-scroll {
      overflow: hidden;
    }

    img {
      max-width: 100%;
      display: block;
    }

    button,
    input {
      font: inherit;
    }

    button {
      cursor: pointer;
      border: none;
      background: none;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .bg-blob {
      position: fixed;
      z-index: -1;
      filter: blur(90px);
      opacity: 0.18;
      pointer-events: none;
      border-radius: 999px;
    }

    .blob-1 {
      width: 280px;
      height: 280px;
      background: #7c3aed;
      top: 80px;
      left: -60px;
    }

    .blob-2 {
      width: 240px;
      height: 240px;
      background: #a855f7;
      top: 360px;
      right: -40px;
    }

    .blob-3 {
      width: 260px;
      height: 260px;
      background: #c026d3;
      bottom: 40px;
      left: 40%;
    }

    .container {
      width: min(100% - 32px, var(--container));
      margin: 0 auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(18px);
      background: rgba(13, 13, 20, 0.74);
      border-bottom: 1px solid var(--border-soft);
    }

    .topbar-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }

    .brand img {
      width: 34px;
      height: 34px;
      object-fit: contain;
      border-radius: 10px;
    }

    .brand-title {
      font-size: 1.05rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
    }

    .cart-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 46px;
      padding: 0 18px;
      border-radius: 999px;
      color: #fff;
      background: var(--purple-gradient-soft);
      border: 1px solid var(--border);
      backdrop-filter: blur(14px);
      box-shadow: var(--shadow-purple);
      transition: var(--transition);
      font-weight: 700;
    }

    .cart-badge:hover {
      transform: translateY(-2px);
    }

    .cart-badge-count {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 26px;
      height: 26px;
      padding: 0 8px;
      border-radius: 999px;
      background: rgba(255,255,255,0.1);
      font-size: 0.85rem;
    }

    .hero {
      padding: 60px 0 30px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      border-radius: 999px;
      background: var(--purple-gradient-soft);
      border: 1px solid var(--border);
      color: var(--text);
      font-weight: 600;
      margin-bottom: 20px;
      backdrop-filter: blur(10px);
    }

    .hero h1 {
      font-size: clamp(2.2rem, 5vw, 4rem);
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1.05;
      margin-bottom: 12px;
    }

    .hero p {
      max-width: 720px;
      color: var(--text-soft);
      font-size: 1.05rem;
    }

    .catalog {
      padding: 12px 0 40px;
    }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 20px;
    }

    .product-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      backdrop-filter: blur(12px);
      overflow: hidden;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      min-height: 100%;
    }

    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 32px rgba(124, 58, 237, 0.22);
    }

    .product-card.is-out {
      opacity: 0.55;
    }

    .product-image-wrap {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at top, rgba(168, 85, 247, 0.10), transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
        #111;
      min-height: 260px;
      max-height: 260px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      border-bottom: 1px solid rgba(124, 58, 237, 0.12);
    }

    .product-image {
      width: 100%;
      height: 220px;
      object-fit: contain;
      object-position: center;
      display: block;
      transition: transform 0.28s ease;
    }

    .product-card:hover .product-image {
      transform: scale(1.04);
    }

    .product-body {
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      flex: 1;
    }

    .product-title {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.02em;
    }

    .product-stock {
      display: inline-flex;
      align-items: center;
      align-self: flex-start;
      padding: 6px 10px;
      border-radius: 999px;
      font-size: 0.82rem;
      font-weight: 600;
      border: 1px solid transparent;
    }

    .product-stock.in {
      color: #bbf7d0;
      background: rgba(34, 197, 94, 0.12);
      border-color: rgba(34, 197, 94, 0.20);
    }

    .product-stock.out {
      color: #fecaca;
      background: rgba(239, 68, 68, 0.12);
      border-color: rgba(239, 68, 68, 0.20);
    }

    .product-price {
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--purple-light);
      letter-spacing: -0.02em;
    }

    .quantity-box {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .qty-btn {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.02);
      color: var(--text);
      font-size: 1.2rem;
      transition: var(--transition);
      flex-shrink: 0;
    }

    .qty-btn:hover:not(:disabled) {
      background: rgba(124, 58, 237, 0.12);
      transform: translateY(-1px);
    }

    .qty-btn:disabled {
      opacity: 0.45;
      cursor: not-allowed;
    }

    .qty-display {
      flex: 1;
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.03);
      color: var(--text);
      font-weight: 700;
      padding: 0 12px;
    }

    .add-cart-btn {
      width: 100%;
      min-height: 48px;
      border-radius: var(--radius-md);
      background: var(--purple-gradient);
      color: #fff;
      font-weight: 700;
      box-shadow: var(--shadow-purple);
      transition: var(--transition);
    }

    .add-cart-btn:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 18px 30px rgba(124, 58, 237, 0.34);
    }

    .add-cart-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      box-shadow: none;
    }

    .cart-overlay,
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.58);
      z-index: 120;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
    }

    .cart-overlay.active,
    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .cart-sidebar {
      position: fixed;
      top: 0;
      right: 0;
      width: min(420px, 100%);
      height: 100vh;
      height: 100svh;
      height: 100dvh;
      max-height: 100dvh;
      z-index: 130;
      background: rgba(19, 19, 31, 0.96);
      backdrop-filter: blur(18px);
      border-left: 1px solid var(--border);
      box-shadow: -18px 0 40px rgba(0, 0, 0, 0.45);
      transform: translateX(100%);
      transition: transform 0.35s ease;
      display: flex;
      flex-direction: column;
    }

    .cart-sidebar.active {
      transform: translateX(0);
    }

    .cart-header {
      padding: 20px 20px 18px;
      border-bottom: 1px solid var(--border-soft);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .cart-title {
      font-size: 1.15rem;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .close-btn {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1px solid var(--border);
      color: var(--text);
      background: rgba(255,255,255,0.03);
      transition: var(--transition);
      flex-shrink: 0;
    }

    .close-btn:hover {
      background: rgba(124,58,237,0.10);
      transform: rotate(90deg);
    }

    .cart-body {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      padding: 18px 20px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      -webkit-overflow-scrolling: touch;
    }

    .empty-cart {
      min-height: 220px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--text-soft);
      border: 1px dashed var(--border);
      border-radius: var(--radius-lg);
      padding: 24px;
      background: rgba(255,255,255,0.02);
    }

    .cart-item {
      border: 1px solid var(--border-soft);
      border-radius: var(--radius-md);
      background: rgba(255,255,255,0.02);
      padding: 14px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .cart-item-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .cart-item-name {
      font-weight: 700;
      color: var(--text);
    }

    .cart-item-meta {
      color: var(--text-soft);
      font-size: 0.92rem;
    }

    .remove-item-btn {
      min-width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid rgba(239,68,68,0.25);
      background: rgba(239,68,68,0.08);
      color: #fecaca;
      transition: var(--transition);
      flex-shrink: 0;
    }

    .remove-item-btn:hover {
      transform: translateY(-1px);
      background: rgba(239,68,68,0.14);
    }

    .cart-footer {
      flex-shrink: 0;
      padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
      border-top: 1px solid var(--border-soft);
      background: rgba(13, 13, 20, 0.55);
    }

    .cart-total {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 16px;
      font-size: 1rem;
      font-weight: 700;
    }

    .cart-total strong {
      color: var(--purple-light);
      font-size: 1.2rem;
      letter-spacing: -0.02em;
    }

    .whatsapp-checkout {
      width: 100%;
      min-height: 52px;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, #22c55e, #16a34a);
      color: #fff;
      font-weight: 700;
      transition: var(--transition);
      box-shadow: 0 14px 26px rgba(34, 197, 94, 0.24);
    }

    .whatsapp-checkout:hover:not(:disabled) {
      transform: translateY(-2px);
    }

    .whatsapp-checkout:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      box-shadow: none;
    }

    .floating-btn {
      position: fixed;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      z-index: 110;
      box-shadow: var(--shadow-purple);
      transition: var(--transition);
    }

    .floating-btn:hover {
      transform: translateY(-4px) scale(1.04);
    }

    .info-btn {
      left: 18px;
      bottom: 18px;
      background: var(--purple-gradient);
      color: #fff;
    }

    .whatsapp-btn {
      right: 18px;
      bottom: 18px;
      background: linear-gradient(135deg, #22c55e, #16a34a);
      color: #fff;
      box-shadow: 0 14px 26px rgba(34, 197, 94, 0.24);
    }

    .info-modal {
      position: fixed;
      inset: 0;
      z-index: 140;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
      pointer-events: none;
    }

    .info-modal.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .modal-card {
      width: min(560px, 100%);
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
      overflow: hidden;
      transform: translateY(16px) scale(0.98);
      transition: var(--transition);
    }

    .info-modal.active .modal-card {
      transform: translateY(0) scale(1);
    }

    .modal-header {
      padding: 20px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-bottom: 1px solid var(--border-soft);
    }

    .modal-title {
      font-size: 1.2rem;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .modal-body {
      padding: 22px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .info-block {
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border-soft);
      border-radius: var(--radius-md);
      padding: 16px;
    }

    .info-block h3 {
      font-size: 1rem;
      font-weight: 800;
      margin-bottom: 6px;
    }

    .info-block p {
      color: var(--text-soft);
      font-size: 0.96rem;
    }

    .modal-footer {
      padding: 0 22px 22px;
    }

    .modal-footer button {
      min-height: 48px;
      width: 100%;
      border-radius: var(--radius-md);
      background: var(--purple-gradient);
      color: #fff;
      font-weight: 700;
      box-shadow: var(--shadow-purple);
    }

    .footer {
      padding: 40px 0 90px;
      text-align: center;
      color: var(--text-soft);
      border-top: 1px solid var(--border-soft);
      margin-top: 20px;
    }

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

    @media (max-width: 1023px) {
      .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 599px) {
      .container {
        width: min(100% - 24px, var(--container));
      }

      .topbar-inner {
        min-height: 70px;
      }

      .brand-title {
        font-size: 0.96rem;
      }

      .cart-badge {
        padding: 0 14px;
        gap: 6px;
      }

      .cart-badge-text {
        display: none;
      }

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

      .hero {
        padding-top: 38px;
      }

      .hero p {
        font-size: 0.98rem;
      }

      .cart-sidebar {
        width: 100%;
      }

      .modal-card {
        width: 95%;
      }
      
      .cart-sidebar {
          width: 100%;
        }
        
        .cart-header {
          padding: 14px 16px 12px;
        }
        
        .cart-body {
          padding: 14px 16px;
          gap: 10px;
        }
        
        .empty-cart {
          min-height: 170px;
          padding: 18px;
        }
        
        .cart-footer {
          padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
        }
        
        .cart-total {
          margin-bottom: 12px;
        }
        
        .whatsapp-checkout {
          min-height: 48px;
        }
    }

    /* =========================================================
   ANIMAÇÃO DO CARD AO ADICIONAR NO CARRINHO
========================================================= */
.product-card.added-effect {
  animation: productAdded 0.55s ease;
}

@keyframes productAdded {
  0% {
    transform: scale(1);
    box-shadow: var(--shadow);
  }
  40% {
    transform: scale(1.02);
    box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.35), 0 18px 32px rgba(124, 58, 237, 0.28);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--shadow);
  }
}

/* =========================================================
   TOAST / MENSAGEM VISUAL DE SUCESSO
========================================================= */
.toast-success {
  position: fixed;
  top: 95px;
  right: 18px;
  z-index: 220;
  width: min(360px, calc(100% - 24px));
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(26, 26, 46, 0.96);
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: all 0.28s ease;
  backdrop-filter: blur(14px);
}

.toast-success.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast-success-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(34, 197, 94, 0.14);
  font-size: 1.1rem;
}

.toast-success-text strong {
  display: block;
  font-size: 0.96rem;
  margin-bottom: 2px;
}

.toast-success-text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

@media (max-width: 599px) {
  .toast-success {
    top: 84px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}

.products-feedback {
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 600;
  display: none;
}

.products-feedback.is-info {
  display: block;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #e9d5ff;
}

.products-feedback.is-warning {
  display: block;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fde68a;
}

.products-feedback.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fecaca;
}

.product-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.20);
  color: #e9d5ff;
  font-size: 0.82rem;
  font-weight: 700;
}