@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  color-scheme: only light;
  --primary-color: #2563eb;
  --secondary-color: #3b82f6;
  --accent-color: #10b981;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --text-color: #334155;
  --card-bg: #ffffff;
  --gradient: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}
html {
  background: #fff !important;
  color: #000 !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f1f5f9;
  color: var(--text-color);
  overflow-x: hidden;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 0.8rem;
}

h6 {
  font-size: 1.1rem;
  color: var(--dark-color);
}

p {
  color: var(--text-color);
  line-height: 1.6;
}

nav img {
  width: 150px;
  height: auto;
}

nav ul {
  display: flex;
  list-style-type: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

nav ul li a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a:hover:after {
  width: 100%;
}

.cart-icon-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

nav .fa-shopping-cart {
  font-size: 1.5rem;
  color: var(--dark-color);
  transition: color 0.3s ease;
}

nav .fa-shopping-cart:hover {
  color: var(--primary-color);
}

#cart-counter {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -10px;
  right: -12px;
  width: 22px;
  height: 22px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Estilo para el carrito */
#cart-dropdown {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100vh;
  background-color: var(--card-bg);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  transition: right 0.4s ease;
  z-index: 1001;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

#cart-dropdown.active {
  right: 0;
}

#cart-dropdown .cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

#cart-dropdown .cart-header h3 {
  margin: 0;
  color: var(--dark-color);
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--primary-color);
}

#cart-total {
  text-align: right;
  padding: 15px 0;
  margin: 15px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

#cart-total p {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--dark-color);
}

#total-amount {
  color: var(--primary-color);
}

.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f8fafc;
  border-radius: 8px;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 15px;
}

.cart-item .info {
  flex-grow: 1;
}

.cart-item .info p {
  margin: 5px 0;
  font-size: 0.9rem;
}

.cart-item .info p:first-child {
  font-weight: 600;
  color: var(--dark-color);
}

.cart-item .info div {
  display: flex;
  align-items: center;
  margin: 8px 0;
}

.cart-item .info div button {
  width: 25px;
  height: 25px;
  background: var(--card-bg);
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item .info div span {
  margin: 0 10px;
  font-weight: 600;
}

.cart-item .info button.remove-btn {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1rem;
}

.whatsapp-button {
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #128c7e;
}

/* Estilo para el home */
#home {
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.7)
    ),
    url("images/photo-smart-city-infrastructure-with-iot-sensors_933496-55537.jpg")
      no-repeat center/cover;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /*   padding: 1vw 8vw; */

  padding: 0vw 8vw;
}

@media (max-width: 480px) {
  #home {
    padding: 0vw 0vw;
  }
}

#home h1 {
  color: var(--light-color);
  font-size: 3rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  /* line-height: 1.2; */
}

#home p {
  width: 100%;
  max-width: 600px;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.btn-home {
  background: var(--gradient);
  padding: 14px 35px;
  color: var(--light-color);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* Estilo para características */
.characteristic {
  padding: 5vw 8vw;
  text-align: center;
}

.fea-base {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  margin-top: 50px;
}

.fea-box {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fea-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.fea-box i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.fea-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Estilo para productos */
.features {
  padding: 5vw 8vw;
  text-align: center;
}

.products-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2rem;
  margin-top: 50px;
}

.products {
  position: relative;
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.products img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.details {
  padding: 20px;
}

.details span {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
}

.details h6 {
  margin: 10px 0;
  font-size: 1.1rem;
}

.star {
  margin: 10px 0;
}

.star i {
  color: #fbbf24;
  font-size: 0.9rem;
}

.star span {
  color: var(--text-color);
  margin-left: 5px;
}

.add-to-cart {
  width: 100%;
  padding: 10px;
  background: var(--gradient);
  color: var(--light-color);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.add-to-cart:hover {
  opacity: 0.9;
}

.cost {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: var(--light-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Estilo para ofertas */
#offer {
  padding: 6vw 8vw;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("images/fondo-o.jpg") no-repeat center/cover;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 12px;
  margin: 50px 8vw;
}

.offer-text {
  color: var(--light-color);
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.offer-text h2 {
  color: var(--light-color);
  margin-bottom: 20px;
}

.offer-text p {
  color: #e2e8f0;
  margin-bottom: 30px;
}

.btn-offer {
  background-color: var(--accent-color);
  padding: 14px 30px;
  border: none;
  border-radius: 6px;
  color: var(--light-color);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-offer:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.offer-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.offer-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Estilo para clientes */
#customers {
  padding: 5vw 8vw;
  text-align: center;
}

.custom-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2rem;
  margin-top: 50px;
}

.profile {
  background-color: var(--card-bg);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.profile:hover {
  transform: translateY(-5px);
}

.image-container {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile h6 {
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  nav {
    padding: 15px 5vw;
  }

  #home,
  .characteristic,
  .features,
  #offer,
  #customers,
  #footer {
    /* padding: 4vw 5vw; */
  }

  #home h1 {
    font-size: 2.5rem;
  }

  #offer {
    flex-direction: column;
    text-align: center;
    margin: 50px 5vw;
  }

  .offer-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  #cart-dropdown {
    width: 300px;
  }

  .fea-base,
  .products-box,
  .custom-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  #home h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }

  #cart-dropdown {
    width: 100%;
    right: -100%;
  }
}

/* Navbar Responsive */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #043054;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0 8vw;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  width: 150px;
  height: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  text-decoration: none;
  color: var(--light-color);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 10px 0;
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-link:hover:after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon-container {
  position: relative;
  cursor: pointer;
}

.cart-icon-container .fa-shopping-cart {
  font-size: 1.5rem;
  color: var(--light-color);
  transition: color 0.3s ease;
}

.cart-icon-container:hover .fa-shopping-cart {
  color: var(--primary-color);
}

#cart-counter {
  position: absolute;
  top: -10px;
  right: -12px;
  width: 22px;
  height: 22px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--light-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Animación del hamburger cuando está activo */
.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Overlay para móvil */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav {
    padding: 0 5vw;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--dark-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 15px 0;
    display: block;
  }

  .nav-overlay.active {
    /*display: block;*/
  }
}

@media (max-width: 480px) {
  .nav-logo img {
    width: 120px;
  }

  nav {
    height: 70px;
    padding: 0 4vw;
  }

  body {
    /*padding-top: 70px;*/
  }

  .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .hamburger span {
    width: 22px;
  }
}

/* Contenido de prueba */
.content {
  padding: 50px 8vw;
  text-align: center;
}

.content h1 {
  color: var(--dark-color);
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.content p {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .content {
    padding: 30px 5vw;
  }

  .content h1 {
    font-size: 2rem;
  }
}

/*** Recent edits below
*/
/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--light-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-section p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--light-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--light-color);
}

.contact-item i {
  color: var(--primary-color);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--light-color);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.payment-methods {
  display: flex;
  gap: 1rem;
}

.payment-methods i {
  display: none;
  font-size: 1.5rem;
  color: var(--light-color);
  transition: var(--transition);
}

.payment-methods i:hover {
  color: var(--white);
}

/*new*/

/* Responsive Design */
@media (max-width: 1024px) {
  .logo-text {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .offer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .filters-group {
    gap: 1rem;
  }

  .filter-item select {
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --section-padding: 4rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .cart-sidebar {
    width: 100vw;
    right: -100vw;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-product-showcase {
    max-width: 300px;
    height: 300px;
  }

  .product-card {
    width: 150px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .section-header h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .filters-group {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-item {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-item select {
    min-width: auto;
  }

  .catalog-header {
    flex-direction: column;
    align-items: stretch;
  }

  .products-grid.list-view .product-card-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .products-grid.list-view .product-image {
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 480px) {
  .notification-content span {
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .offer-content h2 {
    font-size: 2rem;
  }

  .products-hero h1 {
    font-size: 2rem;
  }

  .cart-item {
    flex-direction: column;
    text-align: center;
  }

  .cart-item img {
    align-self: center;
  }

  .product-category {
    font-size: 0.9rem;
  }
  .product-name {
    font-size: 1rem;
  }
  .product-price {
    font-size: 1rem;
  }
  .price-note {
    font-size: 0.75rem;
  }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out;
}

/* Estados de carga */
.loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--gray-300);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Efectos hover mejorados */
.product-card-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(37, 99, 235, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.product-card-main:hover::before {
  transform: translateX(100%);
}

/* Scroll suave personalizado */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/*dark*/
/* Modo oscuro para Caldeseio */
:root {
  color-scheme: dark;
  --primary-color: #3b82f6;
  --secondary-color: #60a5fa;
  --accent-color: #34d399;
  --dark-color: #f8fafc;
  --light-color: #1e293b;
  --text-color: #e2e8f0;
  --card-bg: #334155;
  --gradient: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

html {
  background: #0f172a !important;
  color: #e2e8f0 !important;
}

body {
  background-color: #0f172a;
  color: var(--text-color);
}

/* Títulos */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

/* Párrafos */
p {
  color: var(--text-color);
}

/* Navegación */
nav {
  background-color: #1e293b;
}

.nav-link {
  color: var(--dark-color);
}

/* Home section */
#home {
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6)),
    url("images/photo-smart-city-infrastructure-with-iot-sensors_933496-55537.jpg")
      no-repeat center/cover;
}

/* Características */
.characteristic {
  background-color: #0f172a;
}

.fea-box {
  background-color: var(--card-bg);
  color: var(--text-color);
}

/* Productos */
.features {
  background-color: #0f172a;
}

.products {
  background-color: var(--card-bg);
}

.details span {
  color: var(--primary-color);
}

.cost {
  background-color: var(--accent-color);
}

/* Ofertas */
#offer {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("images/fondo-o.jpg") no-repeat center/cover;
}

/* Clientes */
#customers {
  background-color: #0f172a;
}

.profile {
  background-color: var(--card-bg);
  color: var(--text-color);
}

/* Footer */
.footer {
  background: #0a0f1a;
  color: var(--text-color);
}

.footer-section h3 {
  color: var(--dark-color);
}

.contact-item {
  color: var(--text-color);
}

.social-link {
  background: #334155;
  color: var(--text-color);
}

.social-link:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* Carrito */
#cart-dropdown {
  background-color: #334155;
}

.cart-item {
  background-color: #475569;
}

.cart-item .info p:first-child {
  color: var(--dark-color);
}

/* Productos page específico */
.products-hero {
  background: linear-gradient(135deg, #1e293b, #334155);
}

.search-filters {
  background: #334155;
}

.search-box {
  background: #475569;
  border-color: #64748b;
  color: var(--text-color);
}

.filter-select,
.filter-input {
  background: #475569;
  border-color: #64748b;
  color: var(--text-color);
}

.sort-select {
  background: #475569;
  border-color: #64748b;
  color: var(--text-color);
}

.view-btn {
  background: #475569;
  color: var(--text-color);
  border-color: #64748b;
}

.view-btn.active {
  background: var(--primary-color);
  color: #ffffff;
}

.products-section {
  background-color: #0f172a;
}

.product-card {
  background: var(--card-bg);
}

.product-title {
  color: var(--dark-color);
}

.results-info {
  color: var(--text-color);
}

.no-results {
  color: var(--text-color);
}

/* Inputs y selects */
input,
select,
textarea {
  background-color: #475569;
  color: var(--text-color);
  border-color: #64748b;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-color);
}

/* Botones */
button {
  background-color: var(--primary-color);
  color: #ffffff;
}

.close-btn {
  color: var(--text-color);
}

.close-btn:hover {
  color: var(--primary-color);
}

/* Scrollbar oscuro */
::-webkit-scrollbar-track {
  background: #334155;
}

::-webkit-scrollbar-thumb {
  background: #64748b;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Otros ajustes */
