/* Orbit Shop Premium - Estilos profesionales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #0f1111;
  line-height: 1.5;
}

/* ========== HEADER ========== */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e7e7e7;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* ===== LOGO DEFINITIVO - FORZADO ===== */
.logo-image {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  width: 140px !important;
  height: auto !important;
  max-width: 140px !important;
  min-width: 0 !important;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-img {
    width: 100px !important;
    max-width: 100px !important;
  }
  /* ===== LOGO - FORZAR TAMAÑO (imagen 2150px) ===== */
.logo-image {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-image img {
  height: 45px !important;
  width: auto !important;
  max-width: 150px !important;
  min-width: 0 !important;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .logo-image img {
    height: 35px !important;
    max-width: 120px !important;
  }
}
}

/* Navegación */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: #0f1111;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #146EB4;
}

.nav-cart {
  position: relative;
  font-size: 1.25rem;
}

.cart-badge {
  position: absolute;
  top: -10px;
  right: -12px;
  background: #FFD814;
  color: #0f1111;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 0.125rem 0.375rem;
  border-radius: 20px;
  min-width: 18px;
  text-align: center;
}

/* ========== HERO ========== */
.hero-custom {
  position: relative;
  width: 100%;
  min-height: 550px;
  background-image: url('images/hero-tienda.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content-custom {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  color: white;
}

.hero-tag-custom {
  display: inline-block;
  background: rgba(255, 216, 20, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 40px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-title-custom {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white;
}

.gradient-text {
  background: linear-gradient(135deg, #FFD814 0%, #FFB800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle-custom {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-custom {
  display: inline-block;
  background: #FFD814;
  color: #0f1111;
  padding: 0.875rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary-custom:hover {
  background: #F7CA00;
  transform: translateY(-2px);
}

.btn-outline-custom {
  display: inline-block;
  background: transparent;
  border: 2px solid #FFD814;
  color: #FFD814;
  padding: 0.875rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-outline-custom:hover {
  background: #FFD814;
  color: #0f1111;
  transform: translateY(-2px);
}

/* ========== BOTONES GENERALES ========== */
.btn-primary {
  display: inline-block;
  background: #FFD814;
  color: #0f1111;
  padding: 0.75rem 2rem;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #F7CA00;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #146EB4;
  padding: 0.75rem 2rem;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #146EB4;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #146EB4;
  color: white;
}

/* ========== SECCIONES ========== */
.section {
  padding: 4rem 2rem;
}

.section-dark {
  background: #F7F8FA;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #0f1111;
  text-align: center;
}

/* ========== CATEGORÍAS ========== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.cat-card {
  background: white;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #146EB4;
}

.cat-icon {
  font-size: 2rem;
}

.cat-card span {
  color: #0f1111;
  font-weight: 500;
}

/* ========== PRODUCTOS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: white;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #FFD814;
  color: #0f1111;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #F7F8FA;
}

.product-info {
  padding: 1rem;
}

.product-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #0f1111;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f1111;
  margin-bottom: 0.75rem;
}

.add-to-cart {
  width: 100%;
  background: #FFD814;
  border: none;
  padding: 0.625rem;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.add-to-cart:hover {
  background: #F7CA00;
}

/* ========== TRUST SECTION ========== */
.trust-section {
  background: white;
  padding: 2rem;
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.trust-icon {
  font-size: 2rem;
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
}

.trust-item p {
  font-size: 0.8rem;
  color: #565959;
  margin-top: 0.25rem;
}

/* ========== FOOTER ========== */
.footer {
  background: #232F3E;
  color: white;
  text-align: center;
  padding: 2rem;
  font-size: 0.875rem;
}

.center-btn {
  text-align: center;
  margin-top: 2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .logo-img {
    height: 35px;
  }

  .nav {
    gap: 1.5rem;
  }

  .nav a {
    font-size: 0.85rem;
  }

  .hero-custom {
    min-height: 450px;
  }

  .hero-title-custom {
    font-size: 1.8rem;
  }

  .hero-subtitle-custom {
    font-size: 0.9rem;
  }

  .hero-tag-custom {
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .trust-item {
    flex-direction: column;
    text-align: center;
  }
 /* ===== CARITO ESTILO AMAZON ===== */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 8px;
}

/* Icono del carrito */
.cart-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L4.7 15.3c-.4.4-.1 1.2.5 1.2h11.8M17 16.5c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM9 18.5c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #FFD814;
  color: #0f1111;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 20px;
  min-width: 18px;
  text-align: center;
}

.nav-cart:hover .cart-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23146EB4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L4.7 15.3c-.4.4-.1 1.2.5 1.2h11.8M17 16.5c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM9 18.5c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
  .cart-icon {
    width: 24px;
    height: 24px;
  }
}