:root {
  --pink: #e6397a;
  --pink-dark: #c2255f;
  --purple: #7b3fa0;
  --yape: #742284;
  --yellow: #ffc83d;
  --cream: #fff7fb;
  --ink: #3b1f33;
  --radius: 22px;
  --shadow: 0 10px 28px rgba(230, 57, 122, .18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; color: var(--ink); background: var(--cream); line-height: 1.55; }
h1, h2, h3, h4 { font-family: 'Baloo 2', sans-serif; line-height: 1.15; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
section { padding: 80px 20px; scroll-margin-top: 70px; }
section.alt { background: #fff0f7; }
.container { max-width: 1100px; margin: 0 auto; }
.center { text-align: center; }
.loading { color: #9a6a8a; grid-column: 1 / -1; }
.section-logo { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 10px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--pink-dark); }
.section-sub { color: var(--purple); font-weight: 600; margin: 6px 0 40px; }

/* Barra admin */
.admin-bar { background: var(--ink); color: #fff; padding: 8px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .9rem; position: sticky; top: 0; z-index: 60; }
.admin-bar button { background: var(--yellow); color: var(--ink); border: 0; border-radius: 999px; padding: 5px 14px; font: 800 .85rem 'Nunito'; cursor: pointer; margin-left: 6px; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(255, 247, 251, .92); backdrop-filter: blur(8px); border-bottom: 2px solid #ffd9e8; }
.nav { max-width: 1100px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Baloo 2'; font-weight: 800; font-size: 1.3rem; color: var(--pink-dark); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
nav ul { display: flex; gap: 20px; list-style: none; font-weight: 700; }
nav a:hover { color: var(--pink); }
.cart-btn { background: var(--pink); color: #fff; border: 0; border-radius: 999px; padding: 9px 18px; font: 700 1rem 'Nunito'; cursor: pointer; }
.cart-btn span { background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 1px 8px; margin-left: 6px; font-size: .85rem; }
@media (max-width: 800px) { nav ul { display: none; } }

/* Hero */
#inicio { background: linear-gradient(135deg, #ffe1ee 0%, #f3dcff 100%); padding-top: 60px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 16px 6px 8px; font-weight: 800; color: var(--pink-dark); box-shadow: var(--shadow); }
.badge img { width: 28px; height: 28px; object-fit: contain; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--pink-dark); margin: 18px 0 14px; }
.hero p { font-size: 1.15rem; max-width: 480px; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.btn { display: inline-block; border: 0; cursor: pointer; border-radius: 999px; padding: 13px 28px; font: 800 1rem 'Nunito'; text-align: center; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: var(--shadow); }
.btn-outline { background: #fff; color: var(--pink-dark); border: 2px solid var(--pink); }
.btn-wa { background: #25d366; color: #fff; font-size: 1.05rem; }
.btn-yape { background: var(--yape); color: #fff; width: 100%; font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { list-style: none; background: #fff; border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: .9rem; }
.hero-img { position: relative; }
.hero-img img.main { border-radius: 32px; box-shadow: var(--shadow); width: 100%; }
.float { position: absolute; background: var(--yellow); border-radius: 999px; padding: 8px 16px; font-weight: 800; box-shadow: var(--shadow); }
.float.a { top: 14px; left: -10px; transform: rotate(-6deg); }
.float.b { bottom: 18px; right: -8px; background: #fff; transform: rotate(5deg); }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; } }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; text-align: left; }
.grid.narrow { max-width: 760px; margin: 0 auto; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card .thumb { position: relative; aspect-ratio: 4/3; background: #ffe1ee; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .emoji { position: absolute; top: 10px; right: 10px; background: #fff; border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.4rem; }
.card .stock-tag { position: absolute; bottom: 10px; left: 10px; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 2px 12px; font-weight: 800; font-size: .8rem; }
.card .stock-tag.out { background: var(--ink); color: #fff; }
.card .body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 1.3rem; color: var(--pink-dark); }
.price { font: 800 1.5rem 'Baloo 2'; color: var(--purple); }
.meta { font-size: .85rem; font-weight: 700; color: #9a6a8a; }
.desc { font-size: .95rem; flex: 1; }
.buy { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.qty { width: 64px; padding: 9px; border: 2px solid #ffd0e3; border-radius: 12px; font: 700 1rem 'Nunito'; text-align: center; }
.buy .btn { flex: 1; padding: 11px 12px; }

/* Bomba / destacado */
.special-alt { margin-top: 40px; text-align: left; }
.bomba { background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; border-radius: 32px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 20px; }
.bomba .txt { padding: 40px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.bomba h2 { font-size: 2.4rem; }
.bomba .tag { align-self: flex-start; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 800; }
.bomba .price { color: var(--yellow); font-size: 2.2rem; }
.bomba .qty { border-color: transparent; }
.bomba img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
@media (max-width: 800px) { .bomba { grid-template-columns: 1fr; } }

/* Secciones varias */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.feature h3 { color: var(--pink-dark); font-size: 1.15rem; margin-bottom: 6px; }
.about { background: linear-gradient(135deg, #f3dcff, #ffe1ee); }
.about p { max-width: 640px; margin: 14px auto; font-size: 1.1rem; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
blockquote { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); font-style: italic; text-align: left; }
blockquote cite { display: block; margin-top: 12px; font-weight: 800; font-style: normal; color: var(--purple); }
.contact { background: var(--pink); color: #fff; }
.contact .section-title, .contact .section-sub { color: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 30px; }
.contact-box { background: rgba(255,255,255,.18); border-radius: var(--radius); padding: 22px; }
.contact-box h4 { color: var(--yellow); font-size: 1.1rem; }
.contact-box p { font-weight: 800; font-size: 1.2rem; }

/* Footer */
footer { background: var(--ink); color: #f5dcea; padding: 50px 20px 24px; }
.foot { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
footer h4 { color: var(--yellow); margin-bottom: 8px; }
footer ul { list-style: none; }
footer a:hover { color: var(--yellow); }
.copy { text-align: center; margin-top: 30px; font-size: .85rem; opacity: .75; }
.copy a { text-decoration: underline; }

/* Carrito */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90; }
.overlay.open { opacity: 1; pointer-events: auto; }
aside.cart { position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 100%); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.2); }
aside.cart.open { transform: translateX(0); }
.cart-head { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #ffe1ee; }
.cart-head h3 { color: var(--pink-dark); font-size: 1.5rem; }
.close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #ffd0e3; }
.cart-row small { color: #9a6a8a; display: block; }
.cart-row button { background: #ffe1ee; border: 0; border-radius: 8px; width: 28px; height: 28px; cursor: pointer; font-weight: 800; }
.cart-foot { padding: 18px 20px; border-top: 2px solid #ffe1ee; }
.total { display: flex; justify-content: space-between; font: 800 1.4rem 'Baloo 2'; margin-bottom: 12px; color: var(--purple); }
.empty { text-align: center; color: #9a6a8a; padding: 40px 0; }

/* Modales */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.55); }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 28px; padding: 28px 24px; width: min(440px, 100%); text-align: center; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,.3); max-height: 95vh; overflow-y: auto; }
.modal-box.wide { width: min(820px, 100%); text-align: left; }
.modal-box .close { position: absolute; top: 12px; right: 16px; }
.modal-box h3 { color: var(--yape); font-size: 1.7rem; margin-bottom: 8px; }
.order-id { color: #6d4a62; }
.order-id strong { color: var(--pink-dark); font-size: 1.1rem; letter-spacing: 1px; }
.pay-amount { font: 800 2.6rem 'Baloo 2'; color: var(--pink-dark); margin: 4px 0 8px; }
.copied-alert { background: #d9f7e3; color: #12683a; border: 2px solid #25a244; border-radius: 14px; padding: 10px; font-weight: 800; margin: 8px 0 12px; animation: pop .3s; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qr-wrap { margin: 14px auto; width: 250px; min-height: 250px; border: 4px solid var(--yape); border-radius: 22px; padding: 10px; display: grid; place-items: center; }
.qr-wrap img { width: 100%; border-radius: 12px; }
.qr-wrap p { font-size: .9rem; color: #9a6a8a; }
.pay-data { background: #f4e6f8; border-radius: 16px; padding: 14px 16px; margin: 14px 0; display: grid; gap: 8px; text-align: left; }
.pay-data div { display: flex; justify-content: space-between; gap: 10px; }
.pay-data span { color: #6d4a62; }
.pay-data strong { color: var(--yape); }
.copy-btn { background: var(--yape); color: #fff; border: 0; border-radius: 12px; padding: 9px; font: 800 .95rem 'Nunito'; cursor: pointer; }
.pay-note { font-size: .85rem; color: #6d4a62; margin-top: 12px; }
#payMobile .btn { margin-top: 6px; }

/* Formularios */
.form { display: grid; gap: 14px; text-align: left; margin-top: 10px; }
.form label { display: grid; gap: 4px; font-weight: 700; font-size: .9rem; }
.form input, .form select, .form textarea { padding: 10px 12px; border: 2px solid #ffd0e3; border-radius: 12px; font: 600 1rem 'Nunito'; width: 100%; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--pink); }
.form-error { color: #b3123b; font-weight: 700; font-size: .9rem; }
.co-total { background: #f4e6f8; border-radius: 14px; padding: 12px; text-align: center; font-size: 1.1rem; }
.grid-form { grid-template-columns: repeat(2, 1fr); }
.grid-form .full { grid-column: 1 / -1; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row .btn { padding: 10px 20px; }
@media (max-width: 600px) { .grid-form { grid-template-columns: 1fr; } }

/* Panel admin */
.tabs { display: flex; gap: 8px; margin: 10px 0 14px; }
.tab { background: #ffe1ee; border: 0; border-radius: 999px; padding: 8px 20px; font: 800 .95rem 'Nunito'; cursor: pointer; color: var(--pink-dark); }
.tab.active { background: var(--pink); color: #fff; }
.admin-list { margin-top: 20px; display: grid; gap: 10px; }
.a-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; background: #fff7fb; border: 2px solid #ffe1ee; border-radius: 16px; padding: 10px 14px; }
.a-row .nm { font-weight: 800; }
.a-row .nm small { display: block; color: #9a6a8a; font-weight: 600; }
.a-row input { width: 84px; padding: 7px; border: 2px solid #ffd0e3; border-radius: 10px; font: 700 .95rem 'Nunito'; }
.a-row label { font-size: .75rem; font-weight: 800; color: #9a6a8a; display: grid; gap: 2px; }
.mini { border: 0; border-radius: 10px; padding: 8px 12px; font: 800 .85rem 'Nunito'; cursor: pointer; background: var(--purple); color: #fff; margin-left: 4px; }
.mini.del { background: #b3123b; }
.mini.ok { background: #25a244; }
.o-row { background: #fff7fb; border: 2px solid #ffe1ee; border-radius: 16px; padding: 12px 14px; font-size: .92rem; }
.o-row header { all: unset; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-weight: 800; margin-bottom: 4px; }
.o-row .estado { padding: 2px 10px; border-radius: 999px; background: var(--yellow); font-size: .8rem; }
.o-row .estado.done { background: #d9f7e3; color: #12683a; }
@media (max-width: 700px) { .a-row { grid-template-columns: 1fr 1fr; } .a-row .nm { grid-column: 1 / -1; } }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200; max-width: 90%; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
/* Reseñas / Testimonios */
/* Reseñas / Testimonios en Carrusel Deslizable */
.quotes {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.5rem;
  scrollbar-width: thin;
}

/* Estilo de cada tarjeta individual */
.quotes blockquote, 
blockquote {
  flex: 0 0 300px; /* Ancho fijo para cada tarjeta de reseña */
  scroll-snap-align: start;
}
blockquote { 
  background: #fff; 
  border-radius: var(--radius); 
  padding: 22px; 
  box-shadow: var(--shadow); 
  font-style: normal; 
  text-align: left; 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between; 
  border-left: 4px solid var(--pink); 
}
blockquote p { 
  font-size: 1rem; 
  color: var(--ink); 
  margin-bottom: 10px; 
}
blockquote cite { 
  display: block; 
  margin-top: 10px; 
  font-weight: 800; 
  font-style: normal; 
  color: var(--purple); 
  font-size: .9rem; 
}
/* Botón de acceso administrador en el header */
.top-admin-btn {
  background: #fff;
  color: #ff4d79;
  border: 2px solid #ff4d79;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-admin-btn:hover {
  background: #ff4d79;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 77, 121, 0.25);
}