* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: #060b18;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #18293f;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(30,64,175,0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background: #060b18;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(180deg, rgba(6,11,24,0.86), rgba(6,11,24,0.68)), url('https://www.eusemfronteiras.com.br/wp-content/uploads/2019/12/Design-sem-nome-2021-06-02T141135.876-1140x641.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #e2e8f0;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(15,23,42,0.45);
  backdrop-filter: blur(16px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.logo-img {
  height: 80px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
}

.dropdown {
  position: relative;
}

.dropdown-button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.2s, transform 0.2s;
}

.dropdown-button:hover,
.dropdown-button:focus {
  background: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  background: #18293f;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.24);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1300;
}

.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  color: #ffffff;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 0.95rem;
}

.dropdown-link:hover {
  background: rgba(59,130,246,0.2);
}

.side-menu-button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  width: 52px;
  height: 48px;
  padding: 10px;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.2s;
}

.side-menu-button:hover,
.side-menu-button:focus {
  background: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

.menu-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #0b1120;
  border-right: 1px solid rgba(148,163,184,0.15);
  box-shadow: 18px 0 50px rgba(0,0,0,0.35);
  padding: 2rem 1.5rem;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.side-drawer.open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-brand {
  color: #94a3b8;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.drawer-close {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 14px;
  border-radius: 14px;
  transition: background 0.2s;
}

.drawer-link:hover,
.drawer-link.active {
  background: rgba(59,130,246,0.2);
  color: #ffffff;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.drawer-username {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 1;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1350;
}

.drawer-backdrop.hidden {
  opacity: 0;
  visibility: hidden;
}

.drawer-backdrop:not(.hidden) {
  visibility: visible;
}

body.drawer-open > :not(.side-drawer):not(.drawer-backdrop) {
  filter: blur(18px);
  transition: filter 0.2s ease;
}

.cart-icon {
  cursor: pointer;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.cart-icon:hover {
  background: rgba(255,255,255,0.14);
}

#cart-count {
  background: #334155;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-display-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: white;
}

.user-display {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-search {
  min-width: 220px;
  flex: 1;
}

.header-search .search-input {
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12);
  color: white;
  outline: none;
}

.header-search .search-input::placeholder {
  color: rgba(255,255,255,0.75);
}

.icon-button {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-button:hover {
  background: rgba(255,255,255,0.22);
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .header-right {
    flex: 1 1 100%;
    justify-content: flex-end;
  }

  .header-search {
    order: 1;
    width: 100%;
  }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #050a14 0%, #0f172a 100%);
  color: #e2e8f0;
  padding: 60px 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Buttons */
.btn-primary, .btn-checkout, .btn-clear {
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary { background: #475569; color: #f8fafc; font-weight: 700; box-shadow: 0 12px 30px rgba(15,23,42,0.14); }
.btn-primary:hover { background: #334155; }

.btn-checkout { background: #1f2937; color: #f8fafc; width: 100%; }
.btn-checkout:hover { background: #111827; }

.btn-clear { background: transparent; color: #cbd5e1; width: 100%; margin-top: 0.5rem; border: 1px solid rgba(229,231,235,0.16); }
.btn-clear:hover { background: rgba(226,232,240,0.08); }

/* Productos */
.productos { padding: 60px 20px; background: #09101f; border-top: 1px solid rgba(148,163,184,0.12); }

.productos h2 { text-align: center; font-size: 2.5rem; margin-bottom: 2rem; color: #f8fafc; }

.search-bar { text-align: center; margin-bottom: 2rem; }
.search-bar input {
  width: 100%; max-width: 400px; padding: 14px 20px; border: 1px solid rgba(148,163,184,0.24); border-radius: 25px; font-size: 1rem;
  background: #111827; color: #e2e8f0;
}
.search-bar input::placeholder { color: #94a3b8; }
.search-bar input:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 16px rgba(96,165,250,0.16); }

.productos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-left {
  padding: 20px 10px;
}
.eyebrow {
  display:inline-block;
  background: rgba(59,130,246,0.12);
  color:#1e40af;
  padding:6px 12px;
  border-radius:20px;
  font-weight:700;
  margin-bottom:16px;
}
.hero-left h1 {
  font-size: 3.4rem;
  margin: 0 0 12px 0;
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  color: #f8fafc;
  text-shadow: 0 10px 30px rgba(15,23,42,0.28);
}
.hero-sub{
  color:#cbd5e1;
  margin-bottom:18px;
  font-size: 1.08rem;
  font-weight: 500;
}
.hero-ctas { display:flex; gap:12px; }
.hero-right {
  width:100%;
  height:450px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Features row similar to reference */
.features {
  display:flex;
  gap:18px;
  margin-top:28px;
  justify-content:space-between;
}
.feature {
  flex:1;
  background: #0a1222;
  border: 1px solid rgba(148,163,184,0.15);
  padding:20px;
  border-radius:18px;
  text-align:center;
}
.feature h4{ margin-bottom:8px; color:#e2e8f0; }
.feature p{ color:#94a3b8; font-size:0.95rem; }

/* FAQ Section */
.faq-section {
  padding: 60px 20px;
  background: #06111f;
}

.faq-section h2 {
  font-size: 2.5rem;
  color: #f8fafc;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.faq-item {
  background: #0d1728;
  padding: 1.75rem;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  border-left: 4px solid rgba(96, 165, 250, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
}

.faq-item h4 {
  margin: 0 0 0.75rem 0;
  color: #e2e8f0;
  font-size: 1.1rem;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.categories-section {
  padding: 60px 20px;
}
.categories-section .section-label {
  color: #94a3b8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 1rem;
}
.categories-section h2 {
  font-size: 2.5rem;
  color: #f8fafc;
  margin-bottom: 1.75rem;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.category-card {
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.24);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(248,113,113,0.45), transparent 18%),
              radial-gradient(circle at bottom right, rgba(244,63,94,0.35), transparent 20%),
              radial-gradient(circle at center, rgba(248,113,113,0.12), transparent 38%);
  filter: blur(20px);
  opacity: 1;
  transform: scale(1.08);
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(248,113,113,0.75);
  background: #121b2c;
}
.category-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.category-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e2e8f0;
}

.producto-card {
  position: relative;
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15,23,42,0.2);
  transition: transform 0.24s, box-shadow 0.24s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
}
.producto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(96,165,250,0.45), transparent 24%),
              radial-gradient(circle at bottom right, rgba(56,189,248,0.35), transparent 24%),
              radial-gradient(circle at center, rgba(14,165,233,0.22), transparent 36%);
  opacity: 0.95;
  filter: blur(18px);
  transform: scale(1.12);
}

.coming-soon-card {
  grid-column: 1 / -1;
  background: rgba(248,113,113,0.14);
  border: 1px solid rgba(248,113,113,0.28);
  border-radius: 22px;
  padding: 2rem;
  text-align: center;
  color: #f8fafc;
  box-shadow: 0 20px 40px rgba(0,0,0,0.22);
}

.coming-soon-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.85rem;
  letter-spacing: 0.08em;
}

.coming-soon-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
}
.producto-card.animate-in {
  animation: fadeInUp 0.85s ease forwards;
  animation-delay: calc(var(--enter-index, 0) * 0.12s);
}

.producto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(59,130,246,0.18);
}

.producto-imagen { width: 100%; height: 200px; display:flex; align-items:center; justify-content:center; overflow: hidden; background: #111827; }
.producto-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.producto-info { padding: 1.5rem; }

.product-detail-page {
  padding: 32px 18px 40px;
  background: radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 28%),
              radial-gradient(circle at 15% 20%, rgba(239,68,68,0.08), transparent 8%),
              radial-gradient(circle at 80% 10%, rgba(59,130,246,0.06), transparent 10%),
              #050508;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.detail-panel {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(440px, 1.25fr);
  gap: 3rem;
  align-items: start;
  padding: 1rem 0 2rem;
}

.detail-page-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-back-link {
  border: none;
  background: transparent;
  color: #f8fafc;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.detail-image-card {
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.08));
  min-height: 520px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.detail-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}
.detail-image-card img,
.detail-image-card .detail-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: rgba(15,23,42,0.72);
  color: #f8fafc;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.carousel-btn:hover {
  background: rgba(15,23,42,0.9);
}
.carousel-btn.prev {
  left: 18px;
}
.carousel-btn.next {
  right: 18px;
}

.detail-image-caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  background: rgba(15,23,42,0.7);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-image-card img,
.detail-image-card .detail-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-icon {
  font-size: 4.5rem;
  color: #fbbf24;
}

.detail-small-labels {
  display: grid;
  gap: 0.75rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.detail-small-labels span {
  background: rgba(255,255,255,0.04);
  padding: 0.95rem 1rem;
  border-radius: 16px;
  display: inline-block;
}

.detail-page-right {
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(15,23,42,0.94);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 34px;
  padding: 2.25rem;
  box-shadow: 0 40px 110px rgba(0,0,0,0.35);
}

.detail-badges-top {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.detail-badge {
  background: rgba(255,255,255,0.08);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #a5b4fc;
}

.detail-badge-alt {
  background: #60a5fa;
  color: #0f172a;
  letter-spacing: 0.08em;
}

.detail-page-right h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  color: #ffffff;
}

.detail-subtitle {
  color: #cbd5e1;
  margin: 0;
  font-size: 1rem;
  max-width: 100%;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.detail-price {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #7dd3fc;
}

.detail-price-unit {
  color: #94a3b8;
  font-size: 1rem;
}

.detail-feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 2rem;
}

/* New layout: feature list and actions aligned in one row */
.detail-extra-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-feature-card { flex: 1; }

.detail-actions {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .detail-extra-row {
    flex-direction: column;
  }
  .detail-actions {
    width: 100%;
    align-items: stretch;
    justify-content: center;
  }
  .detail-actions .btn-primary, .detail-actions .btn-secondary {
    width: 100%;
  }
}

.detail-feature-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.detail-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
  color: #cbd5e1;
}

.detail-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.detail-feature-list li::before {
  content: '✓';
  color: #34d399;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.15rem;
}

.detail-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.btn-primary {
  background: linear-gradient(90deg, #475569, #334155);
  color: #f8fafc;
  border: none;
  padding: 1.2rem 2.2rem;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #f8fafc;
  border: 1px solid rgba(148,163,184,0.18);
  padding: 1.2rem 2.2rem;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 700;
}

.detail-benefits-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-benefit-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 1.25rem 1.5rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.detail-examples-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.detail-examples-header h3 {
  margin: 0 0 0.5rem;
  color: #f8fafc;
  font-size: 1.75rem;
}

.detail-examples-header p {
  margin: 0;
  color: #cbd5e1;
  max-width: 620px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.example-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.example-preview {
  height: 140px;
}

.example-preview-1 {
  background: linear-gradient(135deg, rgba(96,165,250,0.3), rgba(59,130,246,0.7));
}

.example-preview-2 {
  background: linear-gradient(135deg, rgba(239,68,68,0.3), rgba(248,113,113,0.7));
}

.example-preview-3 {
  background: linear-gradient(135deg, rgba(34,197,94,0.3), rgba(34,197,94,0.7));
}

.example-meta {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.example-meta h4 {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
}

.example-meta p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.example-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

/* Floating actions */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2200;
}

.floating-whatsapp,
.floating-discord {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.24), 0 4px 14px rgba(0,0,0,0.2);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.floating-whatsapp {
  background: #2f855a;
  border: 2px solid rgba(255,255,255,0.14);
}

.floating-discord {
  background: linear-gradient(135deg, #4752c4, #373f7a);
}

.floating-whatsapp:hover,
.floating-discord:hover {
  transform: translateY(-4px);
}

.floating-whatsapp:hover {
  box-shadow: 0 20px 50px rgba(239,68,68,0.32);
}

.floating-discord:hover {
  box-shadow: 0 20px 50px rgba(88, 101, 242, 0.32);
}

.floating-whatsapp svg,
.floating-discord svg {
  display: block;
}

@media (max-width: 520px) {
  .floating-actions { right: 14px; bottom: 14px; gap: 10px; }
  .floating-whatsapp,
  .floating-discord { width: 56px; height: 56px; }
}


@media (max-width: 960px) {
  .examples-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .detail-panel {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .detail-panel {
    gap: 1.5rem;
  }

  .detail-image-card {
    min-height: 360px;
  }

  .detail-price {
    font-size: 3rem;
  }
}

.hidden { display: none !important; }
.producto-nombre { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: #f8fafc; }
.producto-descripcion { color: #94a3b8; font-size: 0.95rem; margin-bottom: 1rem; }
.producto-precio { font-size: 1.25rem; color: #60a5fa; font-weight: 800; margin-bottom: 1rem; }
.btn-add { width: 100%; padding: 10px; background: #475569; color: white; border: none; border-radius: 6px; cursor: pointer; }
.btn-add:hover { background: #334155; }

/* Cart sidebar */
.cart-sidebar { position: fixed; right: -400px; top: 0; width: 400px; height: 100vh; background: #0b1220; box-shadow: -5px 0 30px rgba(0,0,0,0.3); transition: right 0.3s; z-index: 999; display:flex; flex-direction:column; }
.cart-sidebar.open { right: 0; }
.cart-header { padding: 1.5rem; border-bottom: 1px solid rgba(148,163,184,0.16); display:flex; justify-content:space-between; align-items:center; }
.cart-items { flex:1; overflow-y:auto; padding:1rem; }
.cart-item { display:flex; justify-content:space-between; align-items:center; padding:1rem; border-bottom:1px solid rgba(148,163,184,0.16); background:#0f172a; margin-bottom:0.5rem; border-radius:10px; }
.cart-item-name { font-weight:700; margin-bottom:0.3rem; }
.cart-item-price { color:#94a3b8; font-weight:700; }
.cart-item-qty { display:flex; gap:0.5rem; align-items:center; }
.qty-btn { background:#334155; color:white; border:none; width:28px; height:28px; cursor:pointer; border-radius:4px; font-weight:700; }
.qty-btn:hover { background:#475569; }
.remove-btn { background:#475569; color:white; border:none; padding:5px 10px; border-radius:3px; cursor:pointer; font-size:0.85rem; }
.remove-btn:hover { background:#334155; }
.cart-footer { padding:1.5rem; border-top:1px solid rgba(148,163,184,0.16); background:transparent; }
.empty-cart { text-align:center; padding:2rem; color:#94a3b8; }

/* Contact */
.contacto { padding:60px 20px; }
.contacto h2 { text-align:center; font-size:2.5rem; margin-bottom:2rem; color:#f8fafc; }
.contact-link-box { max-width:700px; margin:0 auto; background: rgba(15,23,42,0.92); border: 1px solid rgba(148,163,184,0.14); border-radius: 18px; padding: 2rem; text-align:center; }
.contact-link-box p { color:#cbd5e1; margin-bottom:1rem; font-size:1.05rem; }
  .discord-link { display:inline-block; color:#e2e8f0; background: rgba(96,165,250,0.14); padding: 12px 20px; border-radius: 999px; text-decoration:none; font-weight:700; border:1px solid rgba(96,165,250,0.3); }
  .discord-link:hover { background: rgba(96,165,250,0.22); }

.login-page {
  padding: 100px 20px 140px;
  background: radial-gradient(circle at top, rgba(248,250,252,0.08), transparent 30%), #0f172a;
}

.login-page-wrapper {
  max-width: 520px;
  margin: 0 auto;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(148,163,184,0.14);
  border-radius: 32px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
  padding: 3rem 2.25rem;
  text-align: center;
}

.login-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.login-brand {
  font-size: 1.45rem;
  letter-spacing: 0.35em;
  color: #e2e8f0;
  text-transform: uppercase;
  opacity: 0.9;
}

.login-close {
  background: rgba(255,255,255,0.05);
  color: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1rem;
}

.login-close:hover {
  background: rgba(255,255,255,0.1);
}

.login-card h2 {
  margin: 0 0 1.8rem;
  font-size: 2rem;
  color: #f8fafc;
}

.login-form {
  display: grid;
  gap: 1rem;
}

.login-input {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.16);
  background: #0b1220;
  color: #e2e8f0;
  font-size: 1rem;
}

.login-input::placeholder {
  color: #94a3b8;
}

.login-button {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  border: none;
  background: linear-gradient(90deg, #334155, #475569);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.login-footer-text {
  margin-top: 1.5rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.login-footer-text a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 700;
}

.login-footer-text a:hover {
  text-decoration: underline;
}

/* Reseñas */
.resenas { padding: 60px 20px; }
.resenas h2 { text-align:center; font-size:2rem; margin-bottom:1.25rem; color:#e2e8f0; }
.reviews-list { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap:1rem; margin-bottom:1.5rem; }
.review-card { background:#0f172a; border-radius:12px; padding:1.25rem; box-shadow:0 12px 30px rgba(0,0,0,0.25); color:#e2e8f0; }
.review-card .meta { display:flex; justify-content:space-between; align-items:center; margin-bottom:0.5rem; }
.review-card .name { font-weight:700; }
.review-card .rating { color:#60a5fa; font-weight:700; }
.review-comment { color:#cbd5e1; font-size:0.95rem; }
.review-form { max-width:700px; margin:0.75rem auto 0 auto; display:flex; flex-direction:column; gap:0.75rem; }
.review-form input, .review-form select, .review-form textarea { padding:10px; border:1px solid rgba(148,163,184,0.16); border-radius:6px; background:#0b1220; color:#e2e8f0; }
.review-form label { color:#94a3b8; font-size:0.9rem; }
.review-form button { align-self:flex-start; }

/* Footer */
.footer { background:#08101f; color:#94a3b8; text-align:center; padding:2rem; margin-top:3rem; border-top:1px solid rgba(148,163,184,0.14); }

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .header-right {
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .header-search {
    order: 2;
    width: 100%;
    min-width: 0;
  }

  .user-display-wrapper {
    order: 1;
  }

  .cart-icon {
    order: 3;
  }

  .logo-img {
    height: 56px;
  }

  .logo-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 36px 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-left {
    padding: 0;
  }

  .hero-left h1 {
    font-size: 2.1rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-clear {
    width: 100%;
    text-align: center;
  }

  .hero-right {
    height: 240px;
  }

  .features {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  .feature {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 0;
    padding: 1rem;
  }

  .productos-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .productos h2,
  .categories-section h2,
  .faq-section h2,
  .contacto h2 {
    font-size: 2rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .category-card {
    padding: 1.25rem 1rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-link-box {
    padding: 1.5rem;
  }

  .cart-sidebar {
    width: 100%;
    right: -100%;
  }

  .nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .login-card {
    padding: 2rem 1.25rem;
  }

  .login-card h2 {
    font-size: 1.6rem;
  }

  .review-form {
    gap: 0.6rem;
  }

  .reviews-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-right {
    align-items: stretch;
  }

  .user-display-wrapper {
    justify-content: space-between;
    width: 100%;
  }

  .cart-icon {
    align-self: flex-end;
  }

  .logo {
    gap: 0.55rem;
  }

  .logo-img {
    height: 48px;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .features {
    flex-direction: column;
  }

  .feature {
    flex-basis: 100%;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .productos-grid {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
    gap: 0.7rem;
  }

  .floating-whatsapp,
  .floating-discord {
    width: 54px;
    height: 54px;
  }

  .search-bar input {
    max-width: none;
  }
}

