* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

:root {
  --rosa-principal: #f8c8dc;
  --rosa-fuerte: #ff8fb8;
  --rosa-hover: #ff6da8;
  --rosa-suave: #fff0f7;
  --rosa-borde: #f3dbe5;
  --crema: #fffafc;
  --texto: #7a4f67;
  --texto-suave: #8e6f80;
  --blanco: #ffffff;
  --sombra: 0 14px 28px rgba(255, 170, 206, 0.12);
}

body {
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, #fff4f8 0%, transparent 30%),
    radial-gradient(circle at bottom right, #fff9ef 0%, transparent 28%),
    var(--crema);
  color: var(--texto);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 250, 252, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rosa-borde);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 34px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--blanco);
  border: 2px solid #f7e6ee;
  box-shadow: 0 8px 18px rgba(248, 200, 220, 0.28);
}

.logo span {
  font-size: 27px;
  font-weight: 900;
  color: var(--texto);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: var(--texto);
  font-weight: 800;
  font-size: 15px;
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--rosa-hover);
}

.cart-button {
  background: var(--rosa-fuerte);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 10px 18px rgba(255, 143, 184, 0.2);
  transition: 0.2s ease;
}

.cart-button:hover {
  background: var(--rosa-hover);
  transform: translateY(-2px);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.badge {
  display: inline-block;
  background: #fff5fa;
  border: 1px solid #f3dbe5;
  color: var(--texto);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.hero-text h1 {
  font-size: 46px;
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--texto);
  letter-spacing: -0.8px;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--texto-suave);
  max-width: 580px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-main,
.btn-soft {
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  font-size: 15px;
  transition: 0.2s ease;
}

.btn-main {
  background: var(--rosa-fuerte);
  color: white;
  box-shadow: 0 10px 18px rgba(255, 143, 184, 0.2);
}

.btn-main:hover {
  background: var(--rosa-hover);
  transform: translateY(-2px);
}

.btn-soft {
  background: white;
  color: var(--texto);
  border: 2px solid #f3d5e3;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.btn-soft:hover {
  background: #fff4f8;
  transform: translateY(-2px);
}

.hero-image {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 18px 26px rgba(255, 167, 203, 0.2));
}

.section-title {
  text-align: center;
  font-size: 35px;
  color: var(--texto);
  margin: 56px 0 12px;
  padding: 0 16px;
  letter-spacing: -0.5px;
}

.mini-subtitle {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
  padding: 0 20px;
  color: var(--texto-suave);
  line-height: 1.8;
  font-size: 16px;
}

.features {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-box {
  background: white;
  border: 1px solid #f4e0e8;
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--sombra);
  transition: 0.2s ease;
}

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

.feature-box h3 {
  margin-bottom: 10px;
  color: var(--texto);
  font-size: 19px;
}

.feature-box p {
  color: var(--texto-suave);
  line-height: 1.7;
  font-size: 15px;
}

.shop-top {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.shop-label {
  background: #fff4fa;
  color: var(--texto);
  border: 1px solid #f2dbe5;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 900;
}

.controls {
  max-width: 1150px;
  margin: 0 auto 22px;
  padding: 0 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.controls input,
.controls select {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #efd8e2;
  min-width: 240px;
  font-size: 15px;
  outline: none;
  background: white;
  color: var(--texto);
}

.controls input:focus,
.controls select:focus {
  border-color: var(--rosa-principal);
  box-shadow: 0 0 0 4px rgba(248, 200, 220, 0.15);
}

.products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #f4e0e8;
  box-shadow: 0 12px 24px rgba(255, 172, 205, 0.1);
  transition: all 0.22s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 28px rgba(255, 150, 190, 0.16);
}

.card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  background: #fff8fb;
}

.card-body {
  padding: 20px 18px;
  text-align: center;
}

.tag {
  display: inline-block;
  background: #fff4fa;
  color: #b66787;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 900;
  border: 1px solid #f3dbe5;
}

.card h3 {
  color: var(--texto);
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.35;
}

.card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--texto-suave);
  min-height: 46px;
}

.price {
  color: var(--rosa-hover);
  font-size: 24px;
  font-weight: 900;
  margin: 14px 0;
}

.card button {
  background: var(--rosa-fuerte);
  color: white;
  border: none;
  width: 100%;
  padding: 13px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  font-size: 15px;
  transition: all 0.2s ease;
}

.card button:hover {
  background: var(--rosa-hover);
}

.about {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 72px;
  text-align: center;
  line-height: 1.95;
  color: var(--texto-suave);
  font-size: 18px;
}

.contact {
  background: linear-gradient(to right, #fff3f8, #fffaf1);
  padding: 58px 24px;
  text-align: center;
  border-top: 1px solid #f2dce5;
}

.contact p {
  margin: 12px 0;
  font-size: 18px;
  color: var(--texto);
}

.contact a {
  color: var(--rosa-hover);
  font-weight: 900;
}

footer {
  background: #ffeaf2;
  text-align: center;
  padding: 18px;
  color: var(--texto);
  font-size: 14px;
  border-top: 1px solid #f2dce5;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 390px;
  max-width: 96vw;
  height: 100%;
  background: #fffdfd;
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.14);
  z-index: 2000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #f2dce5;
}

.cart-panel.active {
  right: 0;
}

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

.cart-header h2 {
  font-size: 24px;
  color: var(--texto);
}

.close-cart {
  background: var(--rosa-fuerte);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s ease;
}

.close-cart:hover {
  background: var(--rosa-hover);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.empty-cart {
  text-align: center;
  color: var(--texto-suave);
  margin-top: 34px;
  line-height: 1.8;
}

.cart-item {
  background: #fff8fb;
  border: 1px solid #f3dce6;
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 12px;
}

.cart-item h4 {
  color: var(--texto);
  margin-bottom: 6px;
  font-size: 16px;
}

.cart-item p {
  margin: 4px 0;
  font-size: 14px;
  color: var(--texto-suave);
}

.remove-btn {
  margin-top: 8px;
  background: #ffd8e8;
  color: var(--texto);
  border: none;
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: 0.2s ease;
}

.remove-btn:hover {
  background: var(--rosa-fuerte);
  color: white;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #f2dce5;
  background: #fffafd;
}

.cart-total {
  font-size: 22px;
  font-weight: 900;
  color: var(--rosa-hover);
  margin-bottom: 14px;
  text-align: center;
}

.cart-actions button {
  width: 100%;
  margin-bottom: 10px;
  border: none;
  padding: 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  font-size: 15px;
  transition: 0.2s ease;
}

.btn-whatsapp {
  background: var(--rosa-fuerte);
  color: white;
}

.btn-whatsapp:hover {
  background: var(--rosa-hover);
}

.btn-clear {
  background: #fff3f8;
  color: var(--texto);
  border: 1px solid #f2dce5 !important;
}

.btn-clear:hover {
  background: #ffe8f1;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(70, 45, 56, 0.28);
  z-index: 1500;
  display: none;
}

.overlay.active {
  display: block;
}

@media (max-width: 980px) {
  header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 20px;
  }

  nav {
    order: 3;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    flex: unset;
  }
}

@media (max-width: 700px) {
  .logo span {
    font-size: 24px;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 14px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .section-title {
    font-size: 30px;
  }

  .controls input,
  .controls select {
    width: 100%;
    min-width: unset;
  }

  .shop-top {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  header {
    padding: 12px 16px;
  }

  .logo {
    width: 100%;
    justify-content: center;
  }

  nav {
    width: 100%;
    justify-content: center;
  }

  .cart-button {
    width: 100%;
  }

  .hero {
    padding: 34px 16px 28px;
  }

  .hero-text h1 {
    font-size: 31px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-image img {
    max-width: 220px;
  }

  .products,
  .features,
  .controls,
  .shop-top {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact {
    padding: 48px 16px;
  }
}