@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --accent-red: #ff3131;
  --text-dark: #1a1a1a;
  --text-medium: #666666;
  --text-light: #999999;
  --bg-cream: #f5f5f5;
  --bg-white: #ffffff;
  --border-light: #dadada;
}

html {
  overflow-x: hidden;
  width: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;

  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Ocultar barra de scroll */
*::-webkit-scrollbar {
  display: none;
}

/* Ocultar scroll en IE/Edge antiguo */
* {
  -ms-overflow-style: none;
}

/* ==================== HERO SECTION ==================== */
#inicio {
  background-color: var(--bg-white);

  padding: 120px 60px 100px;
  min-height: 90vh;

  display: flex;
  align-items: center;
  justify-content: center;

  /*margin-top: 100px;*/
}

.contador {
  position: absolute;
  top: 70px;
  height: 100px;

  background-color: var(--accent-red);
  width: 100vw;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contador h3 {
  font-size: 12px;
  color: white;
  font-weight: bold;
}

.contador p {
  font-size: 36px;
  font-weight: bold;

  color: var(--bg-cream);
}

.contador p span {
  padding: 0 10px;
}

.hero-content {
  max-width: 900px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  gap: 32px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;

  background-color: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: 24px;

  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
  letter-spacing: 0.02em;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.hero-content h1 span {
  color: var(--accent-red);
}
.hero-content p {
  font-size: 20px;
  color: var(--text-medium);

  max-width: 600px;

  line-height: 1.6;
  font-weight: 400;
}

.btn-container {
  display: flex;

  gap: 16px;
  margin-top: 8px;
}

.primary-btn {
  padding: 16px 32px;

  background-color: var(--accent-red);
  color: var(--bg-white);
  font-size: 15px;
  font-weight: 600;

  border-radius: 10px;

  text-decoration: none;
  transition: 0.35s ease;
}

.primary-btn:hover {
  background-color: #d42424;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(237, 44, 44, 0.25);
}

.secondary-btn {
  padding: 16px 32px;

  background-color: transparent;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;

  border: 2px solid var(--border-light);
  border-radius: 10px;

  text-decoration: none;
  transition: 0.35s ease;
}

.secondary-btn:hover {
  border-color: var(--text-dark);
  background-color: var(--text-dark);
  color: var(--bg-white);
}

.hero-stats {
  display: flex;
  align-items: center;

  gap: 40px;

  margin-top: 32px;
  padding: 32px 48px;

  background-color: var(--bg-cream);
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 4px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--text-medium);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-light);
}

/* ==================== PRODUCTS SECTION ==================== */
#productos {
  background-color: var(--bg-white);
  padding: 120px 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-red);
  letter-spacing: 0.1em;

  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;

  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-medium);

  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));

  gap: 40px;

  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background-color: var(--bg-cream);

  border: 1px solid var(--border-light);
  border-radius: 20px;

  overflow: hidden;
  transition: 0.45s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  border-color: var(--text-dark);
}

.product-image {
  position: relative;
  height: 250px;

  background-color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.product-image img.blur {
  filter: blur(30px);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  padding: 40px;

  transition: transform 0.45s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 20px;
  right: 20px;

  padding: 8px 16px;

  background-color: var(--accent-red);

  color: var(--bg-white);
  font-size: 12px;
  font-weight: 600;

  border-radius: 20px;
  letter-spacing: 0.02em;
}

.product-info {
  padding: 32px;
}

.product-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);

  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.product-meta {
  display: flex;
  align-items: center;

  gap: 8px;

  color: var(--text-medium);
  font-size: 14px;
  font-weight: 500;

  margin-bottom: 24px;
}

.icon {
  width: 18px;
  height: 18px;

  stroke-width: 2;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.price {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: -0.02em;
}

.buy-btn {
  display: flex;
  align-items: center;

  gap: 8px;
  padding: 12px 24px;

  background-color: var(--text-dark);

  color: var(--bg-white);
  font-size: 14px;
  font-weight: 600;

  border-radius: 10px;
  border-color: transparent;
  text-decoration: none;

  transition: 0.35s ease;
  cursor: pointer;
}

.buy-btn:hover {
  background-color: var(--accent-red);
  gap: 12px;
}

.buy-btn.disabled {
  pointer-events: none;

  background-color: var(--text-light);
  color: var(--text-medium);
  cursor: not-allowed;
}

.arrow-icon {
  width: 16px;
  height: 16px;

  stroke-width: 2.5;
  transition: transform 0.35s ease;
}

.buy-btn:hover .arrow-icon {
  transform: translateX(4px);
}

.coming-soon {
  background: linear-gradient(135deg, var(--bg-cream) 0%, #ebe8e3 100%);
  border: 2px dashed var(--border-light);

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 500px;
  position: relative;
}

.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(135deg, var(--accent-red) 0%, #d42424 100%);
  opacity: 0;

  transition: opacity 0.45s ease;
}

.coming-soon:hover::before {
  opacity: 1;
}

.coming-soon:hover {
  border-color: var(--accent-red);
  border-style: solid;
}

.coming-soon-content {
  position: relative;
  z-index: 1;

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 16px;
}

.clock-icon {
  width: 56px;
  height: 56px;

  color: var(--text-medium);
  stroke-width: 2;

  transition: 0.45s ease;
}

.coming-soon:hover .clock-icon {
  color: var(--bg-white);
  transform: rotate(360deg);
}

.coming-soon-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);

  transition: color 0.45s ease;
}

.coming-soon-content p {
  font-size: 16px;
  color: var(--text-medium);

  max-width: 240px;

  transition: color 0.45s ease;
}

.coming-soon:hover .coming-soon-content h3,
.coming-soon:hover .coming-soon-content p {
  color: var(--bg-white);
}

/* ==================== ABOUT SECTION ==================== */
#about {
  background-color: var(--bg-cream);
  padding: 120px 60px;
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;

  gap: 60px;
}

.about-content {
  display: flex;
  flex-direction: column;

  gap: 24px;
}

.about-content h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;

  color: var(--text-dark);
}

.about-text {
  font-size: 17px;
  color: var(--text-medium);
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 20px;

  margin-top: 16px;
}

.stat-box {
  background-color: var(--bg-white);
  padding: 32px;

  border: 1px solid var(--border-light);
  border-radius: 16px;

  text-align: center;
  transition: all 0.35s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.stat-box h3 {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: -0.02em;

  margin-bottom: 8px;
}

.stat-box p {
  font-size: 14px;
  color: var(--text-medium);
  font-weight: 500;
}

.values-card {
  background-color: var(--bg-white);
  padding: 48px;

  border: 1px solid var(--border-light);
  border-radius: 20px;

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.values-card h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);

  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.values-list {
  display: flex;
  flex-direction: column;

  gap: 32px;
}

.value-item {
  display: flex;
  align-items: flex-start;

  gap: 24px;
}

.value-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-red);

  min-width: 40px;
}

.value-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);

  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.value-content p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.6;
}

/* -------------------- SECCION BLOQUES ----------------- */
#bloques {
  background-color: var(--bg-cream);
  padding: 120px 60px;
}

.blocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 30px; /* Reducimos la separación entre tarjetas */

  max-width: 1200px;
  margin: 0 auto;
}

.block-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.45s ease;
}

.block-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--text-dark);
}

.block-image {
  position: relative;
  height: 180px;
  background-color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.block-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.45s ease;
}

.block-card:hover .block-image img {
  transform: scale(1.05);
}

.block-info {
  padding: 20px;
}

.block-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.product-meta {
  font-size: 12px;
  margin-bottom: 16px;
}

.block-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.block-footer .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: -0.02em;
}

.block-footer .buy-btn {
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.block-footer .buy-btn:hover {
  gap: 10px;
}

.block-footer .arrow-icon {
  width: 14px;
  height: 14px;
}

/* -------------------- SECCION CONTACTO (FOOTER) ----------------*/
#contacto {
  background-color: var(--text-dark);
  padding: 48px 60px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;

  max-width: 100%;
}

.footer-brand {
  flex: 0 0 auto;
  max-width: 300px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand .logo h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--bg-white);
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
  padding-left: 48px;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  flex: 1;
  max-width: 600px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-item a,
.footer-contact-item p {
  font-size: 14px;
  color: var(--bg-white);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0;
}

.footer-contact-item a:hover {
  color: var(--accent-red);
}

/* ==================== COOKIE BANNER ==================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;

  width: 100%;

  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 20px 60px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;

  z-index: 200;

  border-top: 3px solid var(--accent-red);

  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#cookie-banner .text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 5px;
}

#cookie-banner.hidden {
  opacity: 0;
  visibility: hidden;
}

#cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--border-light);
}

#cookies-btn {
  background-color: var(--accent-red);
  color: var(--text-dark);
  padding: 10px 40px;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;

  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

#cookies-btn:hover {
  background-color: var(--text-dark);
  border-color: var(--accent-red);

  color: var(--accent-red);
}

#cookie-banner p a {
  color: var(--accent-red);
  font-weight: bold;
  text-decoration: none;

  transition: 0.3s ease-in-out;
  cursor: pointer;
}

#cookie-banner p a:hover {
  text-decoration: underline;
}

/* ==================== CARRITO LATERAL ==================== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 500px;
  height: 100vh;
  background-color: var(--bg-white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-white);
}

.cart-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.close-cart-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-medium);
  cursor: pointer;
  transition: 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.close-cart-btn:hover {
  background-color: var(--bg-cream);
  color: var(--accent-red);
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background-color: var(--bg-cream);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cart-item-code {
  font-size: 12px;
  color: var(--text-medium);
  font-weight: 500;
}

.cart-item-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-red);
  margin: 0 16px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-btn {
  width: 32px;
  height: 32px;
  border: none;
  background-color: var(--text-dark);
  color: var(--bg-white);
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-btn:hover {
  background-color: var(--accent-red);
}

.cart-item-quantity {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  min-width: 24px;
  text-align: center;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 20px;
  text-align: center;
}

.cart-empty svg {
  width: 64px;
  height: 64px;
  color: var(--text-light);
  stroke-width: 1.5;
}

.cart-empty p {
  font-size: 16px;
  color: var(--text-medium);
  font-weight: 500;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-white);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.cart-total span:last-child {
  color: var(--accent-red);
  font-size: 24px;
}

.cart-buy-btn {
  width: 100%;
  padding: 14px 24px;
  background-color: var(--text-dark);
  color: var(--bg-white);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cart-buy-btn:hover {
  background-color: var(--accent-red);
  gap: 12px;
}

.cart-buy-btn .arrow-icon {
  width: 18px;
  height: 18px;
}

/* ==================== MODAL DE PEDIDO ==================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border-light);
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.close-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-medium);
  cursor: pointer;
  transition: 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.close-btn:hover {
  background-color: var(--bg-cream);
  color: var(--accent-red);
}

.modal form {
  padding: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background-color: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  transition: 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-red);
  background-color: var(--bg-white);
}

.form-group input::placeholder {
  color: var(--text-light);
}

.submit-btn {
  width: 100%;
  padding: 14px 24px;
  background-color: var(--text-dark);
  color: var(--bg-white);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.submit-btn:hover {
  background-color: var(--accent-red);
  gap: 12px;
}

.submit-btn .arrow-icon {
  width: 18px;
  height: 18px;
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablets y pantallas medianas (≤1024px) */
@media (max-width: 1024px) {
  
  /* Ajustes de texto */
  .hero-content h1 { font-size: 56px; }
  .section-header h2 { font-size: 48px; }

  /* Componentes */
  .about-grid { gap: 40px; }
  .cart-sidebar {
    width: 90%;
    max-width: 450px;
  }

  /* Mostrar hamburger en tablet */
  .hamburger-btn { display: block; }
}

/* Móviles (≤768px) */
@media (max-width: 768px) {
  /* Ajustes para botones de compra en productos */
  .buy-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .product-footer {
    flex-wrap: wrap;
    gap: 16px;
  }

  .coming-soon {
    min-height: 400px;
  }

  .coming-soon-content {
    padding: 20px;
  }

  .coming-soon-content h3 {
    font-size: 24px;
  }

  .coming-soon-content p {
    font-size: 14px;
    max-width: 200px;
  }

  #inicio,
  #productos,
  #about,
  #bloques {
    padding: 80px 20px;
  }

  
  /* Hero section */
  #inicio {
    min-height: 80vh;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .contador {
    height: 80px;
  }
  
  .contador h3 { font-size: 10px; }
  .contador p { font-size: 24px; }

  .hero-content h1 { font-size: 40px; }
  .hero-content p { font-size: 16px; }

  /* Botones y contenedores */
  .btn-container {
    flex-direction: column;
    width: 100%;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }

  /* Stats y grids */
  .hero-stats {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blocks-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* Encabezados y texto */
  .section-header {
    margin-bottom: 60px;
  }
  
  .section-header h2 { font-size: 36px; }
  .section-header p { font-size: 16px; }

  .about-content h2 { font-size: 36px; }
  .values-card { padding: 32px 24px; }

  /* Footer */
  #contacto {
    flex-direction: column;
    padding: 32px 20px;
    gap: 32px;
    align-items: center;
  }

  .footer-brand {
    text-align: center;
    max-width: 100%;
  }
  
  .footer-brand p {
    padding-left: 0;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  /* Cookie banner */
  #cookie-banner {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  #cookies-btn { width: 100%; }
}

  /* Carrito responsive */
  .cart-sidebar {
    width: 100%;
    max-width: 100%;
  }

  .cart-header {
    padding: 20px;
  }

  .cart-header h2 {
    font-size: 20px;
  }

  .cart-content {
    padding: 16px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cart-item-controls {
    width: 100%;
    justify-content: space-between;
  }

  .cart-footer {
    padding: 20px;
  }

  /* Modal responsivo */
  .modal-content {
    width: 95%;
    margin: 20px;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-header h2 {
    font-size: 20px;
  }

  .modal form {
    padding: 20px;
  }

/* Móviles pequeños */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-box h3 {
    font-size: 32px;
  }

  .values-card h3 {
    font-size: 24px;
  }
}

