@charset "UTF-8";
/*Specific fonts' styles*/
@import url("https://fonts.googleapis.com/css2?family=Anta&family=Audiowide&family=Electrolize&family=Geo:ital@0;1&family=Orbitron:wght@400..900&family=Quantico:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Saira:ital,wght@0,100..900;1,100..900&family=Zen+Dots&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Iceberg&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Prosto+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Tektur:wght@400..900&display=swap");
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(30px);
  }
}
#main-section {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 4rem 2rem;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  transition-delay: 0.1s;
  background-color: #000000;
}

.main-title {
  font-family: "Audiowide", sans-serif;
  color: #ffffff;
  text-align: center;
  font-size: 40px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}
@media (max-width: 768px) {
  .main-title {
    font-size: 32px;
  }
}
@media (max-width: 480px) {
  .main-title {
    font-size: 28px;
    margin-bottom: 2rem;
  }
}

.main-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(64, 64, 64, 0.15);
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.main-nav.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.main-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(128, 128, 128, 0.1) 0%, rgba(64, 64, 64, 0.05) 100%);
  pointer-events: none;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.navbar-logo {
  font-family: "Audiowide", sans-serif;
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}
.navbar-logo:hover {
  color: #cccccc;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-button {
  position: relative;
  background: rgba(128, 128, 128, 0.2);
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 12px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cart-button:hover {
  background: rgba(128, 128, 128, 0.3);
  border-color: rgba(128, 128, 128, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(128, 128, 128, 0.15);
}
.cart-button:active {
  transform: translateY(0);
}

.cart-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #666666, #999999);
  color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid rgba(128, 128, 128, 0.3);
}

/* === MODAL DEL CARRITO === */
/* Modal Styles */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.cart-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cart-modal {
  position: relative;
  margin: 0 auto;
  background: #141313;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.cart-overlay.show .cart-modal {
  transform: scale(1);
}

.cart-header {
  background: #141313;
  border-bottom: 1px solid #333;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-size: 1.2rem;
  font-weight: bold;
  font-family: "Saira", sans-serif;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cart-counter {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  background: #ff4444;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
}

.cart-icon.has-items {
  animation: bounce 0.5s ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.cart-content {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.cart-empty {
  text-align: center;
  color: #666;
  padding: 40px 20px;
  font-size: 1.1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  gap: 15px;
}

.cart-item:last-child {
  border-bottom: none;
}

.item-image {
  font-size: 2.5rem;
  width: 10px;
  height: 10px;
  text-align: center;
}

.item-image img {
  margin-top: -15px;
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.item-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #c7c7c7;
  font-family: "Prosto One", sans-serif;
  margin-bottom: 5px;
  text-align: center;
}

@media (min-width: 768px) {
  .item-name {
    text-align: center; /* O center, según prefieras */
    margin-left: 35px;
  }
}
.item-price {
  font-family: "Tektur", sans-serif;
  font-size: bold;
  color: #666;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .item-price {
    text-align: center; /* O center, según prefieras */
    margin-left: 35px;
  }
}
.item-price::before {
  content: "$";
}

.item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  background: #f0f0f0;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.quantity-btn:hover {
  background: #e0e0e0;
}

.quantity {
  font-weight: bold;
  color: #fff;
  min-width: 30px;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

.remove-btn {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.remove-btn:hover {
  background: #ff5252;
}

.cart-footer {
  background: #141313;
  border-top: 1px solid #333;
  padding: 20px;
  border-top: 1px solid #eee;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  font-family: "Tektur", sans-serif;
  margin-bottom: 15px;
}

.checkout-btn {
  width: 100%;
  background: #333;
  color: white;
  font-family: "Iceberg", sans-serif;
  font-size: 300;
  border: none;
  padding: 15px;
  border-radius: 25px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(50, 51, 51, 0.3);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 53, 53, 0.4);
}

.checkout-btn a {
  color: white;
  text-decoration: none;
}

@media (max-width: 768px) {
  .demo-container {
    padding: 20px;
    margin: 20px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .cart-modal {
    width: 95%;
    margin: 20px;
  }
}
.cart-button.has-items {
  animation: cartPulse 0.6s ease-in-out;
  border-color: rgba(255, 68, 68, 0.5);
}

.cart-icon.has-items {
  animation: iconBounce 0.5s ease-in-out;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(340deg);
}

@keyframes cartPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes iconBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.cart-badge {
  transition: all 0.3s ease;
}

.cart-badge:not(:empty) {
  animation: badgeAppear 0.4s ease-out;
}

@keyframes badgeAppear {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.go-back-btn {
  position: absolute;
  top: 2rem;
  left: 1.5rem;
  right: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-family: "Audiowide", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  animation: slideInFromLeft 0.6s ease 0.8s forwards;
  max-width: calc(100vw - 3rem);
  white-space: nowrap;
}
.go-back-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.go-back-btn:active {
  transform: translateX(-1px) scale(0.98);
}
.go-back-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
}
.go-back-btn:hover svg {
  transform: translateX(-2px);
}
@media (min-width: 768px) {
  .go-back-btn {
    top: 2.5rem;
    left: 2rem;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    max-width: calc(100vw - 4rem);
  }
}
@media (max-width: 480px) {
  .go-back-btn {
    left: 1rem;
    max-width: calc(100vw - 2rem);
    padding: 0.5rem;
    min-width: 2.5rem;
    justify-content: center;
  }
  .go-back-btn span {
    display: none;
  }
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(30px);
  }
}
@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@media (max-width: 768px) {
  .main-nav {
    padding: 0.75rem 1rem;
  }
  .navbar-logo {
    font-size: 20px;
  }
  .cart-button {
    padding: 0.5rem;
  }
  .cart-icon {
    width: 20px;
    height: 20px;
  }
  .cart-modal {
    width: 95%;
    max-height: 85vh;
  }
  .cart-header {
    padding: 15px;
  }
  .cart-title {
    font-size: 18px;
  }
  .cart-content {
    padding: 15px;
    max-height: 50vh;
  }
  .cart-item {
    padding: 12px 0;
  }
  .item-image {
    width: 50px;
    height: 50px;
    margin-right: 12px;
  }
  .item-controls {
    flex-direction: column;
    gap: 8px;
  }
  .cart-footer {
    padding: 15px;
  }
}
@media (max-width: 480px) {
  .main-nav {
    padding: 0.5rem 1rem;
  }
  .navbar-logo {
    font-size: 18px;
  }
  .navbar-actions {
    gap: 1rem;
  }
  .cart-modal {
    width: 98%;
    margin: 10px;
  }
  .cart-title {
    font-size: 16px;
  }
  .item-name {
    font-size: 14px;
  }
  .item-price {
    font-size: 13px;
  }
}
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInStagger {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*# sourceMappingURL=main.css.map */
