/* =======================================================
   🌐 Aztech E-Commerce – Global Styles
   ======================================================= */
:root {
  --az-primary: #ff6600; /* Naranja Aztech */
  --az-dark: #222;
  --az-gray: #6c757d;
  --az-bg-light: #f8f9fa;
  --az-shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.05);
  --az-radius: 0.75rem;
}

/* --- Reset básico --- */
body {
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  color: var(--az-dark);
  background-color: #fff;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

a {
  color: var(--az-primary);
  text-decoration: none;
}

a:hover {
  color: #e05500;
}

/* =======================================================
   🔝 Sticky Header
   ======================================================= */
.az-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: var(--az-shadow-soft);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

body.scrolled .az-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  color: var(--az-dark);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-link {
  color: var(--az-dark);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--az-primary);
}

.btn-az-primary {
  background-color: var(--az-primary);
  color: #fff;
  border: none;
  border-radius: var(--az-radius);
  transition: background 0.3s ease;
}

.btn-az-primary:hover {
  background-color: #e05500;
}

/* =======================================================
   🧭 Main Layout
   ======================================================= */
.az-main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* =======================================================
   🏠 Hero Section
   ======================================================= */
.az-hero {
  padding: 4rem 0;
}

.az-hero-badge span {
  background-color: var(--az-primary);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
}

.az-hero-title {
  font-weight: 700;
  color: var(--az-dark);
}

.az-hero-subtitle {
  color: var(--az-gray);
  max-width: 500px;
}

/* =======================================================
   🛒 Product Cards
   ======================================================= */
.az-product-card {
  border: 1px solid #eee;
  border-radius: var(--az-radius);
  background: #fff;
  box-shadow: var(--az-shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.az-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.az-product-img-wrap {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #fafafa;
}

.az-product-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.az-product-body {
  padding: 0.75rem 1rem 1rem;
}

.az-product-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--az-dark);
}

.az-product-brand {
  font-size: 0.85rem;
  color: var(--az-gray);
}

.az-product-price {
  font-weight: 600;
  color: var(--az-primary);
}

/* =======================================================
   🧩 Category Cards
   ======================================================= */
.az-category-card {
  border: 1px solid #eee;
  border-radius: var(--az-radius);
  padding: 1rem;
  background: #fff;
  text-align: left;
  transition: all 0.25s ease;
  box-shadow: var(--az-shadow-soft);
}

.az-category-card:hover {
  transform: translateY(-2px);
  border-color: var(--az-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.az-category-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--az-gray);
  margin-bottom: 0.25rem;
}

/* =======================================================
   📄 Product Detail Page
   ======================================================= */
.az-product-card.p-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px; /* 🔸 altura fija */
  max-height: 400px;
}

.az-product-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #fafafa;
  border-radius: var(--az-radius);
}

.az-product-img-wrap img {
  width: auto;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .az-product-card.p-3 {
    height: 300px;
    max-height: 300px;
  }
}

/* 🔹 Description */
.az-product-desc {
  line-height: 1.6;
  font-size: 0.9rem;
}

.az-product-desc strong {
  color: var(--az-dark);
  display: inline-block;
  margin-top: 0.5rem;
}

/* =======================================================
   ⚙️ Technical Overview - Dynamic Columns
   ======================================================= */
.az-tech-overview strong {
  color: #000;
  display: block;
  margin-bottom: 0.4rem;
}

.az-tech-overview ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.az-tech-overview li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.az-tech-overview li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--az-primary);
}

/* 🔹 Responsive stack */
@media (max-width: 768px) {
  .az-tech-overview {
    flex-direction: column;
  }
}

.az-product-details {
  margin-top: 1rem;
  padding-top: 1rem;
}

/* =======================================================
   🧭 Footer
   ======================================================= */
footer {
  padding: 2rem 0;
  border-top: 1px solid #eee;
  background-color: var(--az-bg-light);
  color: var(--az-gray);
  font-size: 0.9rem;
  text-align: center;
}
#aztechCarousel .carousel-item {
  transition: transform 0.9s ease, opacity 0.7s ease;
}

#aztechCarousel .carousel-control-prev-icon,
#aztechCarousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  background-size: 50%;
}

#aztechCarousel .carousel-indicators [data-bs-target] {
  background-color: var(--az-primary);
}

/* =======================================================
   🖼️ Slider TVT-style — real full width (no zoom, no stretch)
   ======================================================= */
#aztechMainSlider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-img-wrap {
  width: 100%;
  height: 100%;               /* ✅ altura fija para desktop */
  overflow: hidden;
}

.slider-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* ✅ ocupa ancho completo */
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  filter: brightness(80%);
}

/* 🔹 Texto */
#aztechMainSlider .carousel-caption {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  text-align: left;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

#aztechMainSlider .carousel-caption h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

#aztechMainSlider .carousel-caption p {
  font-size: 1.1rem;
  color: #eaeaea;
}

/* 🔹 Flechas modernas */
#aztechMainSlider .carousel-control-prev-icon,
#aztechMainSlider .carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 2.8rem;
  height: 2.8rem;
  background-size: 60%;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

#aztechMainSlider .carousel-control-prev,
#aztechMainSlider .carousel-control-next {
  width: 6%;
  transition: opacity 0.3s;
}

#aztechMainSlider .carousel-control-prev:hover,
#aztechMainSlider .carousel-control-next:hover {
  opacity: 0.85;
}

/* 🔹 Móvil */
@media (max-width: 768px) {
  .slider-img-wrap {
    height: 350px;             /* más bajo en móvil */
  }

  #aztechMainSlider .carousel-caption {
    left: 5%;
  }

  #aztechMainSlider .carousel-caption h2 {
    font-size: 1.6rem;
  }

  #aztechMainSlider .carousel-caption p {
    font-size: 0.95rem;
  }

  #aztechMainSlider .carousel-control-prev-icon,
  #aztechMainSlider .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
  }
}
/* --- Sidebar --- */
.category-link {
  display: block;
  padding: 8px 10px;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
}

.category-link:hover,
.category-link.active {
  background-color: #ff6600;
  color: #fff;
}

/* --- Cards de productos --- */
.product-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card img {
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  aside {
    border: none;
    margin-bottom: 1rem;
  }

  .product-card img {
    height: 150px;
  }
}


.payment-dark img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: 0.3s;
}
.payment-dark img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.card img {
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}
.card img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}
.card span {
  color: #000;
  font-size: 18px;
  letter-spacing: -1px;
}


