@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --green: #2f6538;
  --dark-green: #1f3d29;
  --pink: #ed5f8a;
  --soft-pink: #fff0f5;
  --cream: #fbf7ef;
  --text: #243128;
  --muted: #666;
  --shadow: 0 12px 30px rgba(0,0,0,.12);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.topbar {
  height: 40px;
  background: #f3f6ee;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
  font-size: 14px;
}

.header {
  height: 96px;
  padding: 0 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,.04);
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  line-height: .8;
}

.logo span {
  display: block;
  color: var(--pink);
}

.logo strong {
  display: block;
  color: var(--dark-green);
}

.nav {
  display: flex;
  gap: 38px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}


.btn-whatsapp,
.btn-green,
.btn-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.btn-whatsapp,
.btn-green {
  background: var(--green);
  color: white;
}

.btn-pink {
  background: var(--pink);
  color: white;
}

.hero {
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 80px 14%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.85) 35%, rgba(255,255,255,.2) 55%),
    url('https://images.unsplash.com/photo-1562690868-60bbe7293e94?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.tag {
  color: var(--green);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 58px;
  line-height: 1.05;
  max-width: 500px;
  color: var(--dark-green);
}

.hero h1 span {
  color: var(--pink);
}

.hero-text {
  font-size: 20px;
  line-height: 1.6;
  max-width: 420px;
  margin: 25px 0;
}

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

.benefits {
  padding: 28px 10%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: var(--cream);
}

.benefits div {
  border-right: 1px solid #ddd5c7;
  font-size: 30px;
}

.benefits div:last-child {
  border-right: 0;
}

.benefits strong {
  display: block;
  font-size: 14px;
  margin: 6px 0;
  text-transform: uppercase;
}

.benefits small {
  color: var(--muted);
}

.categories,
.products {
  padding: 55px 10%;
  text-align: center;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  color: var(--dark-green);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
}

.category-grid article {
  cursor: pointer;
}

.circle {
  width: 145px;
  height: 145px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f1f0ea;
  display: grid;
  place-items: center;
  font-size: 60px;
  transition: .25s;
}

.category-grid article:hover .circle {
  transform: translateY(-8px);
  background: var(--soft-pink);
}

.category-grid p {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}

.products {
  background: linear-gradient(180deg, #fff5f8, #fff);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .35s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.product-card:hover .product-img {
  background: var(--soft-pink);
}

.product-img {
  height: 230px;
  background: #f3f3f3;
  display: grid;
  place-items: center;
  font-size: 72px;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 10px;
}

.price {
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 18px;
}

.product-info .btn-green {
  width: 100%;
  padding: 12px;
}

.instagram {
  padding: 55px 10%;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(90deg, #fff8f6, #f7f9f1);
}

.instagram h2 {
  text-align: left;
  text-transform: none;
}

.instagram p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mini-gallery div {
  height: 130px;
  border-radius: 12px;
  background: white;
  display: grid;
  place-items: center;
  font-size: 55px;
  box-shadow: var(--shadow);
}

.footer {
  padding: 55px 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  background: #eef5e9;
  line-height: 1.8;
}

.footer h3 {
  margin-bottom: 16px;
  text-transform: uppercase;
}

.map-box {
  height: 140px;
  background: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.floating-wsp {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 66px;
  height: 66px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: var(--shadow);
  z-index: 30;
}

@media (max-width: 950px) {
  .topbar {
    display: none;
  }

  .header {
    height: auto;
    padding: 20px;
    flex-direction: column;
    gap: 20px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .hero {
    padding: 60px 24px;
    background:
      linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.65)),
      url('https://images.unsplash.com/photo-1562690868-60bbe7293e94?auto=format&fit=crop&w=1600&q=80') center/cover;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .benefits,
  .category-grid,
  .product-grid,
  .instagram,
  .footer {
    grid-template-columns: 1fr;
  }

  .benefits div {
    border-right: 0;
    border-bottom: 1px solid #ddd5c7;
    padding-bottom: 18px;
  }
}
.nav a.active{
  color:#d63384;
  font-weight:700;
  border-bottom:3px solid #d63384;
  padding-bottom:5px;
}

.page-title{
  padding:70px 20px;
  background:#fff8fb;
  text-align:center;
}

.page-title h1{
  font-size:48px;
  color:#d63384;
  margin-bottom:10px;
}

.page-title p{
  font-size:18px;
  color:#666;
}

.catalog-toolbar{
    max-width:1200px;
    margin:40px auto;
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:0 20px;
}

.search-box{
    flex:1;
    padding:14px 18px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
}

.category-filter{
    width:260px;
    padding:14px;
    border-radius:10px;
    border:1px solid #ddd;
    font-size:16px;
    cursor:pointer;
}
/* Imágenes reales en el catálogo */
.product-img {
  overflow: hidden;
  background: #f7f1ee;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.product-card:hover .product-img {
  background: #f7f1ee;
}

.product-card:hover .product-img img {
  transform: scale(1.07);
}

.product-category {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--soft-pink);
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-description {
  min-height: 44px;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.empty-products {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 18px;
  color: #666;
  padding: 30px;
}

/* ==============================
   Versión premium inicio v5
============================== */
body {
  background: #fffdfb;
}

.header {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
}

.nav a {
  position: relative;
  transition: color .25s ease;
}

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

.btn-whatsapp,
.btn-green,
.btn-pink {
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.btn-whatsapp:hover,
.btn-green:hover,
.btn-pink:hover {
  transform: translateY(-3px);
  filter: brightness(1.03);
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
}

.hero-home {
  min-height: 650px;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(237,95,138,.22), transparent 30%),
    linear-gradient(135deg, #fff7f2 0%, #fff 42%, #eef6eb 100%);
}

.hero-home::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -130px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: rgba(47,101,56,.11);
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 26px 60px rgba(31,61,41,.18);
  border-radius: 34px;
  padding: 18px;
  transform: rotate(2deg);
}

.hero-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}

.hero-card div {
  padding: 18px 10px 6px;
}

.hero-card small {
  color: var(--pink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-card strong {
  display: block;
  margin-top: 6px;
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  color: var(--dark-green);
}

.section-kicker {
  color: var(--pink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  margin-bottom: 10px;
}

.benefits {
  margin: -48px 10% 0;
  position: relative;
  z-index: 5;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(31,61,41,.12);
}

.benefits div {
  border-right: 1px solid #eee4dc;
  padding: 8px 18px;
}

.benefits span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--soft-pink);
  margin-bottom: 8px;
}

.category-photo-grid {
  grid-template-columns: repeat(3, 1fr);
}

.category-card {
  position: relative;
  min-height: 260px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0,0,0,.16);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(31,61,41,.72), rgba(31,61,41,.06));
}

.category-card div {
  position: relative;
  z-index: 2;
  color: white;
  padding: 24px;
}

.category-card strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 31px;
  margin-bottom: 5px;
}

.category-card span {
  font-size: 14px;
  opacity: .9;
}

.product-card {
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}

.product-img {
  position: relative;
  height: 260px;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  text-align: left;
}

.product-info h3 {
  min-height: 52px;
}

.product-description {
  flex: 1;
}

.center-button {
  margin-top: 34px;
}

.mini-gallery-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}

.mini-gallery-img img:hover {
  transform: translateY(-6px) scale(1.02);
}

.footer {
  background: linear-gradient(135deg, #1f3d29, #2f6538);
  color: white;
}

.footer p {
  color: rgba(255,255,255,.82);
}

.floating-wsp {
  animation: pulseWsp 1.8s infinite;
}

@keyframes pulseWsp {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.35), var(--shadow); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0), var(--shadow); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), var(--shadow); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 950px) {
  .hero-home {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 55px;
  }

  .hero-card {
    transform: none;
  }

  .hero-card img {
    height: 310px;
  }

  .benefits {
    margin: 20px;
  }

  .category-photo-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 230px;
  }

  .mini-gallery-img {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-toolbar {
    flex-direction: column;
  }

  .category-filter {
    width: 100%;
  }
}

/* ==============================
   Versión 6: carrusel, galería y experiencia premium
============================== */
.hero-slider {
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 12%;
  color: white;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31,61,41,.82) 0%, rgba(31,61,41,.56) 42%, rgba(31,61,41,.14) 100%),
    linear-gradient(0deg, rgba(0,0,0,.18), transparent 45%);
}

.hero-slider-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
}

.hero-slider-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 66px;
  line-height: 1.02;
  margin-bottom: 20px;
}

.hero-slider-content .tag {
  color: #ffe1ea;
}

.hero-slider-content .hero-text {
  color: rgba(255,255,255,.9);
  font-size: 20px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: var(--dark-green);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: white;
}

.slider-btn.prev { left: 28px; }
.slider-btn.next { right: 28px; }

.slider-dots {
  position: absolute;
  left: 12%;
  bottom: 42px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.slider-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.slider-dots button.active {
  width: 32px;
  border-radius: 999px;
  background: white;
}

.gallery-section {
  padding: 65px 10%;
  text-align: center;
  background: #fffdfb;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-grid img:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 24px 44px rgba(0,0,0,.18);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(960px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 32px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--dark-green);
  font-size: 34px;
  cursor: pointer;
}

.occasion {
  padding: 60px 10%;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
  background: linear-gradient(135deg, #fff0f5, #f4faef);
}

.occasion h2 {
  text-align: left;
  text-transform: none;
  margin-bottom: 16px;
}

.occasion p {
  line-height: 1.7;
  color: var(--muted);
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.occasion-card {
  padding: 28px;
  border-radius: 22px;
  background: white;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.occasion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(0,0,0,.14);
}

.floating-wsp {
  width: auto;
  min-width: 66px;
  padding: 0 20px;
  gap: 8px;
  border-radius: 999px;
  font-size: 28px;
}

.floating-wsp span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 950px) {
  .hero-slider {
    min-height: 620px;
    padding: 70px 24px;
  }

  .hero-slider-content h1 {
    font-size: 44px;
  }

  .slider-btn {
    display: none;
  }

  .slider-dots {
    left: 24px;
  }

  .gallery-grid,
  .occasion,
  .occasion-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 230px;
  }

  .floating-wsp span {
    display: none;
  }

  .floating-wsp {
    width: 66px;
    padding: 0;
    border-radius: 50%;
  }
}


/* Fase 2: carrito real */
.nav .cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.product-info .add-cart {
  border: 0;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 80px);
  background: var(--dark-green);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: .3s ease;
}

.cart-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cart-hero {
  background: linear-gradient(135deg, var(--soft-pink), #f7fff4);
}

.cart-page {
  width: min(1180px, 92%);
  margin: 70px auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid #f0e7df;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.07);
}

.cart-item img {
  width: 110px;
  height: 100px;
  border-radius: 16px;
  object-fit: cover;
}

.cart-item-info span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-item-info h3 {
  font-family: 'Playfair Display', serif;
  color: var(--dark-green);
  font-size: 24px;
  margin-bottom: 6px;
}

.cart-item-info p {
  color: var(--muted);
  font-weight: 700;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f7f7f2;
  border-radius: 999px;
  padding: 7px;
}

.quantity-controls button,
.remove-item {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
}

.quantity-controls button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

.cart-line-total {
  color: var(--dark-green);
  white-space: nowrap;
}

.remove-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft-pink);
  color: var(--pink);
  font-size: 22px;
}

.cart-summary {
  position: sticky;
  top: 120px;
  background: #fff;
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid #f0e7df;
}

.cart-summary h2 {
  font-family: 'Playfair Display', serif;
  color: var(--dark-green);
  font-size: 34px;
  margin-bottom: 20px;
}

.summary-row,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.muted-row small {
  color: var(--muted);
  text-align: right;
}

.summary-total {
  border-bottom: 0;
  font-size: 20px;
}

.summary-total strong {
  color: var(--pink);
}

.checkout-btn {
  width: 100%;
  margin-top: 16px;
}

.checkout-btn.disabled {
  opacity: .5;
  pointer-events: none;
}

.clear-cart {
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #efd5df;
  border-radius: 12px;
  background: #fff;
  color: var(--pink);
  font-weight: 800;
  cursor: pointer;
}

.summary-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.cart-empty {
  text-align: center;
  background: #fff;
  border-radius: 26px;
  padding: 70px 24px;
  box-shadow: var(--shadow);
}

.cart-empty h3 {
  font-family: 'Playfair Display', serif;
  color: var(--dark-green);
  font-size: 36px;
  margin-bottom: 12px;
}

.cart-empty p {
  color: var(--muted);
  margin-bottom: 24px;
}

@media (max-width: 950px) {
  .cart-page {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .cart-item {
    grid-template-columns: 90px 1fr;
  }

  .cart-item img {
    width: 90px;
    height: 90px;
  }

  .quantity-controls,
  .cart-line-total,
  .remove-item {
    grid-column: 2;
    justify-self: start;
  }
}

/* Contacto premium */
.contact-hero {
  min-height: 520px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,61,41,.88), rgba(31,61,41,.35), rgba(237,95,138,.38));
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  padding: 0 24px;
  color: #fff;
}

.contact-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(46px, 7vw, 82px);
  margin: 12px 0 16px;
}

.contact-hero-content p:not(.tag) {
  font-size: 19px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 28px;
}

.contact-page {
  background: linear-gradient(180deg, #fff, #fff8fb 45%, #fff);
}

.contact-layout {
  width: min(1180px, 90%);
  margin: 90px auto;
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 34px;
  align-items: start;
}

.contact-form-card,
.contact-info-panel,
.map-section,
.faq-section,
.contact-cta {
  border-radius: 30px;
}

.contact-form-card {
  background: #fff;
  padding: 42px;
  box-shadow: var(--shadow);
  border: 1px solid #f1e4e8;
}

.contact-form-card h2,
.map-section h2,
.faq-section h2,
.contact-cta h2 {
  font-family: 'Playfair Display', serif;
  color: var(--dark-green);
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 14px;
}

.contact-intro {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--dark-green);
  font-weight: 800;
  font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #eadfe2;
  background: #fffafc;
  border-radius: 14px;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: .25s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(237,95,138,.12);
  background: #fff;
}

.full-field,
.contact-submit,
.contact-feedback {
  grid-column: 1 / -1;
}

.contact-submit {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
  font-size: 16px;
}

.contact-feedback {
  min-height: 22px;
  color: var(--green);
  font-weight: 700;
}

.contact-info-panel {
  display: grid;
  gap: 18px;
}

.info-card {
  background: #fff;
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  border: 1px solid #f1e4e8;
  transition: .25s;
}

.info-card:hover {
  transform: translateY(-6px);
}

.info-card span {
  font-size: 34px;
}

.info-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--dark-green);
  font-size: 25px;
  margin: 10px 0 8px;
}

.info-card p {
  color: var(--muted);
  line-height: 1.6;
}

.social-links,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a,
.footer-socials a {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--soft-pink);
  color: var(--pink);
  font-weight: 800;
  font-size: 13px;
}

.map-section {
  width: min(1180px, 90%);
  margin: 0 auto 90px;
  background: var(--cream);
  padding: 38px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: center;
}

.map-section p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.map-section iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.faq-section {
  width: min(950px, 90%);
  margin: 0 auto 90px;
  text-align: center;
}

.faq-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  text-align: left;
}

.faq-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.07);
  overflow: hidden;
  border: 1px solid #f1e4e8;
}

.faq-item button {
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  color: var(--dark-green);
  cursor: pointer;
}

.faq-item p {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.open p {
  display: block;
}

.faq-item.open button span {
  transform: rotate(45deg);
}

.contact-cta {
  width: min(1180px, 90%);
  margin: 0 auto 90px;
  padding: 70px 28px;
  text-align: center;
  background: linear-gradient(135deg, var(--dark-green), var(--green));
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-cta p {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 900;
  color: #ffd6e3;
  margin-bottom: 12px;
}

.contact-cta h2 {
  color: #fff;
}

@media (max-width: 900px) {
  .contact-layout,
  .map-section {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px;
  }
}


/* =========================
   NOSOTROS PREMIUM
========================= */
.about-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-image: url('../img/productos/ef42dd3d-cc86-44c1-9c08-92d619114a74.jpeg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 42%, rgba(31,61,41,.28) 100%);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 90%);
  margin: 0 auto;
  max-width: 680px;
  margin-left: max(5%, calc((100vw - 1180px) / 2));
}

.about-hero-content h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: .95;
  color: var(--dark-green);
  margin-bottom: 22px;
}

.about-hero-content p:not(.tag) {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 28px;
}

.about-story {
  width: min(1180px, 90%);
  margin: 90px auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.about-story-img {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 460px;
}

.about-story-img img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  transition: transform .5s ease;
}

.about-story-img:hover img {
  transform: scale(1.06);
}

.about-story-text h2,
.values-section h2,
.why-about h2,
.about-gallery h2,
.about-cta h2 {
  color: var(--dark-green);
}

.about-story-text p {
  color: var(--muted);
  line-height: 1.8;
  margin: 16px 0;
}

.about-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.about-mini-stats div {
  background: var(--soft-pink);
  border-radius: 20px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

.about-mini-stats strong {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
}

.about-mini-stats span {
  font-size: 13px;
  font-weight: 800;
  color: var(--dark-green);
}

.mission-vision {
  width: min(1180px, 90%);
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mission-vision article,
.value-card {
  background: #fff;
  padding: 32px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid #f3e4e9;
  transition: transform .25s ease, box-shadow .25s ease;
}

.mission-vision article:hover,
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,.12);
}

.mission-vision span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--soft-pink);
  color: var(--pink);
  font-weight: 900;
  margin-bottom: 18px;
}

.mission-vision h3,
.value-card h3 {
  color: var(--dark-green);
  margin-bottom: 12px;
}

.mission-vision p,
.value-card p,
.why-about p {
  color: var(--muted);
  line-height: 1.7;
}

.values-section,
.about-gallery {
  width: min(1180px, 90%);
  margin: 0 auto 90px;
  text-align: center;
}

.values-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card span {
  display: inline-flex;
  font-size: 34px;
  margin-bottom: 14px;
}

.why-about {
  width: min(1180px, 90%);
  margin: 0 auto 90px;
  padding: 56px;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff7fa, #f4fff5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-list div {
  background: #fff;
  padding: 18px 20px;
  border-radius: 18px;
  font-weight: 800;
  color: var(--dark-green);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

.about-cta {
  width: min(1180px, 90%);
  margin: 0 auto 90px;
  padding: 72px 28px;
  text-align: center;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(31,61,41,.94), rgba(47,101,56,.92)), url('../img/productos/28067617-d89f-475c-bb0d-7804fae4f893.jpeg');
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: var(--shadow);
}

.about-cta p {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ffd6e3;
  font-weight: 900;
  margin-bottom: 14px;
}

.about-cta h2 {
  color: #fff;
  max-width: 760px;
  margin: 0 auto 28px;
}

@media (max-width: 950px) {
  .about-story,
  .why-about {
    grid-template-columns: 1fr;
  }

  .mission-vision,
  .values-grid,
  .about-mini-stats {
    grid-template-columns: 1fr;
  }

  .about-hero {
    min-height: 64vh;
  }

  .why-about {
    padding: 34px 24px;
  }
}

/* =========================
   HISTORIA DE LIDIA
========================= */
.founder-story {
  position: relative;
}

.founder-photo-card {
  position: relative;
  min-height: 520px;
  border: 10px solid #fff;
  background: #fff;
}

.founder-photo-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 24px;
  z-index: 2;
  pointer-events: none;
}

.founder-photo-card img {
  min-height: 520px;
  object-position: center;
}

.founder-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  backdrop-filter: blur(8px);
}

.founder-caption strong {
  display: block;
  color: var(--dark-green);
  font-size: 24px;
  font-family: 'Playfair Display', serif;
}

.founder-caption span {
  color: var(--pink);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.founder-story-text {
  padding: 10px 0;
}

.founder-story-text blockquote {
  margin: 28px 0 8px;
  padding: 24px 26px;
  border-left: 5px solid var(--pink);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff0f5, #fffafc);
  color: var(--dark-green);
  font-weight: 800;
  line-height: 1.7;
  box-shadow: 0 12px 26px rgba(237,95,138,.12);
}

@media (max-width: 950px) {
  .founder-photo-card,
  .founder-photo-card img {
    min-height: 430px;
  }
}

/* =========================
   V11 - NOSOTROS REFINADO
========================= */
.about-hero-v11 {
  isolation: isolate;
}

.about-hero-v11::before,
.about-hero-v11::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: 1;
  pointer-events: none;
}

.about-hero-v11::before {
  width: 320px;
  height: 320px;
  right: -90px;
  top: 70px;
  background: rgba(237, 95, 138, .18);
  filter: blur(2px);
}

.about-hero-v11::after {
  width: 220px;
  height: 220px;
  left: 6%;
  bottom: -80px;
  background: rgba(47, 101, 56, .16);
}

.about-hero-v11 .tag,
.section-kicker {
  letter-spacing: 3px;
}

.about-hero-card {
  position: absolute;
  right: max(6%, calc((100vw - 1180px) / 2));
  bottom: 56px;
  width: min(330px, 34vw);
  z-index: 3;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(31,61,41,.18);
  border: 1px solid rgba(255,255,255,.72);
}

.about-hero-card span {
  font-size: 34px;
}

.about-hero-card strong {
  display: block;
  margin: 10px 0 8px;
  font-family: 'Playfair Display', serif;
  color: var(--dark-green);
  font-size: 25px;
}

.about-hero-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.founder-story::before {
  content: "Nuestra inspiración";
  position: absolute;
  top: -28px;
  right: 0;
  color: rgba(237,95,138,.11);
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1;
  z-index: -1;
  white-space: nowrap;
}

.founder-photo-card {
  transform: rotate(-1.2deg);
}

.founder-story-text {
  background: linear-gradient(135deg, #ffffff, #fff8fb);
  padding: 38px;
  border-radius: 34px;
  border: 1px solid #f6e4eb;
  box-shadow: 0 14px 36px rgba(31,61,41,.08);
}

.mission-vision article:nth-child(2) {
  transform: translateY(-18px);
  background: linear-gradient(135deg, #ffffff, #f7fff8);
}

.mission-vision article:nth-child(2):hover {
  transform: translateY(-24px);
}

.value-card {
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(237,95,138,.08);
}

.why-list div {
  display: flex;
  gap: 14px;
  align-items: center;
}

.why-list span,
.journey-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--dark-green);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.journey-section {
  width: min(1180px, 90%);
  margin: 0 auto 90px;
  text-align: center;
}

.journey-section h2 {
  color: var(--dark-green);
}

.journey-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.journey-grid article {
  text-align: left;
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid #f3e4e9;
}

.journey-grid h3 {
  color: var(--dark-green);
  margin: 16px 0 10px;
}

.journey-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.gallery-grid img {
  transition: transform .35s ease, box-shadow .35s ease;
}

.gallery-grid img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 38px rgba(31,61,41,.16);
}

.footer-socials-v11 {
  margin-top: 14px;
}

.footer-socials-v11 a {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}

@media (max-width: 950px) {
  .about-hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(90%, 440px);
    margin: -40px auto 34px;
  }

  .founder-story::before {
    display: none;
  }

  .founder-photo-card {
    transform: none;
  }

  .founder-story-text {
    padding: 28px;
  }

  .mission-vision article:nth-child(2),
  .mission-vision article:nth-child(2):hover {
    transform: none;
  }

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

@media (max-width: 620px) {
  .about-hero-content h1 {
    font-size: 40px;
  }

  .about-hero-content p:not(.tag) {
    font-size: 16px;
  }

  .about-mini-stats div,
  .mission-vision article,
  .value-card,
  .journey-grid article {
    padding: 24px;
  }

  .about-cta {
    padding: 54px 22px;
  }
}

/* Fase 3: carrito, cupones y medios de pago */
.coupon-box,
.payment-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff8fb, #f8fff7);
  border: 1px solid #f3dce6;
}

.coupon-box label,
.payment-box label {
  display: block;
  margin-bottom: 10px;
  color: var(--dark-green);
  font-weight: 900;
  font-size: 14px;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.coupon-row input,
.payment-box select {
  width: 100%;
  border: 1px solid #e8d9df;
  border-radius: 14px;
  padding: 13px 14px;
  font-family: inherit;
  outline: none;
  background: #fff;
  color: var(--dark-green);
  font-weight: 700;
}

.coupon-row input:focus,
.payment-box select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(237,95,138,.12);
}

.coupon-row button {
  border: 0;
  border-radius: 14px;
  padding: 0 16px;
  background: var(--dark-green);
  color: #fff;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.coupon-message {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.discount-row {
  display: none;
}

.discount-row.show {
  display: flex;
}

.discount-row strong {
  color: var(--green);
}

.cart-summary {
  overflow: hidden;
}

.cart-summary::before {
  content: "Pedido seguro";
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft-pink);
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cart-item {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cart-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(31,61,41,.12);
  border-color: #f5ccd9;
}

.payment-box select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--pink) 50%), linear-gradient(135deg, var(--pink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

@media (max-width: 620px) {
  .coupon-row {
    grid-template-columns: 1fr;
  }

  .coupon-row button {
    padding: 13px 16px;
  }
}


/* Fase 4: cupones discretos y catálogo ampliable */
.coupon-box.collapsed {
  padding: 0;
  background: transparent;
  border: 0;
}

.coupon-toggle {
  width: 100%;
  border: 1px dashed #e2bdc9;
  background: #fff;
  color: var(--dark-green);
  border-radius: 16px;
  padding: 14px 16px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
  transition: .25s ease;
}

.coupon-toggle:hover {
  border-color: var(--pink);
  background: #fff8fb;
  transform: translateY(-1px);
}

.coupon-panel {
  margin-top: 14px;
}

.coupon-panel[hidden] {
  display: none;
}

.category-photo-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.catalog-toolbar {
  align-items: center;
}

.category-filter,
.search-box {
  background: #fff;
}

@media (max-width: 720px) {
  .catalog-toolbar {
    flex-direction: column;
    margin: 26px auto;
  }

  .category-filter {
    width: 100%;
  }

  .coupon-row {
    grid-template-columns: 1fr;
  }

  .coupon-row button {
    min-height: 44px;
  }
}

/* Fase 5: catálogo flexible para plantas, manualidades y regalos */
.catalog-toolbar .sort-filter,
.catalog-toolbar .category-filter {
  width: 230px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 16px;
  cursor: pointer;
  background: #fff;
}

.product-card.is-out {
  opacity: .72;
}

.product-card.is-out .product-img img {
  filter: grayscale(.25);
}

.product-info .stock {
  margin: 8px 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.product-info .stock.ok {
  color: var(--green);
}

.product-info .stock.low {
  color: #b7791f;
}

.product-info .stock.out {
  color: #9b2c2c;
}

.product-info .price {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.product-info .price small {
  color: #999;
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 700;
}

.product-info .add-cart:disabled {
  opacity: .55;
  cursor: not-allowed;
  background: #777;
}

.admin-link {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
}

.admin-page {
  max-width: 1200px;
  margin: 44px auto 70px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 26px;
}

.admin-card {
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(237, 95, 138, .15);
  padding: 24px;
}

.admin-card h2 {
  color: var(--dark-green);
  margin-bottom: 16px;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  color: var(--dark-green);
  font-size: 14px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid #e8d9df;
  border-radius: 14px;
  padding: 12px 13px;
  font-family: inherit;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.admin-actions button,
.admin-table button {
  border: 0;
  border-radius: 14px;
  padding: 12px 15px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
}

.admin-actions .primary,
.admin-table .edit {
  background: var(--green);
  color: #fff;
}

.admin-actions .secondary,
.admin-table .toggle {
  background: var(--soft-pink);
  color: var(--pink);
}

.admin-actions .danger,
.admin-table .delete {
  background: #fee2e2;
  color: #991b1b;
}

.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #f0e3e8;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--dark-green);
  background: #fff8fb;
}

.admin-product-img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
}

.admin-note {
  margin-top: 14px;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 850px) {
  .catalog-toolbar {
    flex-direction: column;
  }

  .catalog-toolbar .sort-filter,
  .catalog-toolbar .category-filter {
    width: 100%;
  }

  .admin-page {
    grid-template-columns: 1fr;
  }
}


/* Admin login */
.admin-login-screen {
  display: none;
  position: relative;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 247, 250, .92), rgba(239, 250, 242, .92)),
    url('../img/productos/28067617-d89f-475c-bb0d-7804fae4f893.jpeg');
  background-size: cover;
  background-position: center;
}

.admin-login-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  background:
    radial-gradient(circle at 18% 18%, rgba(237, 95, 138, .22), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(47, 101, 56, .18), transparent 34%);
}

.admin-login-bg-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .55;
  animation: floatGlow 7s ease-in-out infinite;
}

.glow-one {
  top: 10%;
  left: 12%;
  background: rgba(237, 95, 138, .22);
}

.glow-two {
  right: 12%;
  bottom: 10%;
  background: rgba(47, 101, 56, .20);
  animation-delay: -2.5s;
}

.admin-locked {
  display: block;
}

.admin-locked .admin-login-screen {
  display: flex;
}

.admin-locked .admin-sidebar,
.admin-locked .admin-main {
  display: none;
}

.admin-login-card {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(31, 61, 41, .22);
  padding: 38px;
  text-align: center;
  backdrop-filter: blur(18px);
  animation: loginFadeUp .55s ease both;
}

.admin-login-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0f5, #effaf2);
  box-shadow: 0 12px 28px rgba(31, 61, 41, .10);
  font-size: 28px;
}

.admin-login-brand {
  display: inline-grid;
  text-decoration: none;
  line-height: 1;
  margin-bottom: 18px;
}

.admin-login-brand span,
.admin-login-brand strong {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
}

.admin-login-brand span { color: var(--dark-green); }
.admin-login-brand strong { color: var(--pink); }

.admin-login-card h1 {
  color: var(--dark-green);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.02;
  margin-bottom: 10px;
}

.admin-login-card > p:not(.section-kicker) {
  color: #607064;
  margin-bottom: 24px;
  line-height: 1.55;
}

.admin-login-form {
  display: grid;
  gap: 15px;
  text-align: left;
}

.admin-login-form label {
  display: grid;
  gap: 8px;
  color: var(--dark-green);
  font-weight: 900;
}

.admin-login-form input,
.password-field {
  width: 100%;
}

.admin-login-form input {
  border: 1px solid rgba(47, 101, 56, .18);
  border-radius: 17px;
  padding: 15px 16px;
  font-family: inherit;
  outline: none;
  background: rgba(255, 255, 255, .88);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 52px;
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff0f5;
  cursor: pointer;
}

.admin-login-form input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(237, 95, 138, .12);
}

.admin-login-form .primary,
.admin-top-actions .logout {
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
}

.admin-login-form .primary {
  background: linear-gradient(135deg, var(--green), var(--dark-green));
  color: #fff;
  margin-top: 4px;
  box-shadow: 0 12px 22px rgba(31, 61, 41, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.admin-login-form .primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(31, 61, 41, .23);
}

.admin-top-actions .logout {
  background: #fff0f0;
  color: #c93939;
}

.admin-login-error {
  min-height: 22px;
  color: #c93939;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.admin-login-back {
  display: inline-block;
  margin-top: 12px;
  color: var(--pink);
  font-weight: 900;
  text-decoration: none;
}

.login-shake {
  animation: shakeLogin .32s ease, loginFadeUp .55s ease both;
}

@keyframes loginFadeUp {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatGlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes shakeLogin {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

@media (max-width: 560px) {
  .admin-login-screen {
    padding: 18px;
  }

  .admin-login-card {
    padding: 28px 22px;
    border-radius: 28px;
  }
}

/* Admin v16 */
.admin-shell-body {
  background: #fff7fa;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(180deg, var(--dark-green), #284c34);
  color: #fff;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-brand {
  color: #fff;
  text-decoration: none;
  display: grid;
  line-height: 1;
}

.admin-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
}

.admin-brand strong {
  color: var(--pink);
  font-family: 'Playfair Display', serif;
  font-size: 30px;
}

.admin-brand small {
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-weight: 700;
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  padding: 13px 14px;
  border-radius: 16px;
  font-weight: 800;
  transition: .2s ease;
}

.admin-menu a:hover,
.admin-menu a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
  transform: translateX(3px);
}

.admin-sidebar-note {
  margin-top: auto;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  padding: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.admin-main {
  padding: 28px;
  overflow: hidden;
}

.admin-topbar-v16 {
  background: #fff;
  border: 1px solid rgba(237, 95, 138, .14);
  box-shadow: 0 16px 45px rgba(31, 61, 41, .08);
  border-radius: 28px;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
}

.admin-topbar-v16 h1 {
  color: var(--dark-green);
  font-size: clamp(28px, 4vw, 42px);
}

.admin-top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-top-actions a,
.admin-form button,
.quick-actions button {
  border: 0;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
}

.admin-top-actions .primary,
.admin-form .primary,
.quick-actions button {
  background: var(--green);
  color: #fff;
}

.admin-top-actions .secondary,
.admin-form .secondary {
  background: var(--soft-pink);
  color: var(--pink);
}

.admin-tab {
  display: none;
}

.admin-tab.active {
  display: block;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.admin-stats div,
.admin-card-v16 {
  background: #fff;
  border: 1px solid rgba(237, 95, 138, .13);
  box-shadow: 0 16px 45px rgba(31, 61, 41, .08);
  border-radius: 24px;
}

.admin-stats div {
  padding: 20px;
}

.admin-stats strong {
  display: block;
  color: var(--dark-green);
  font-size: 32px;
}

.admin-stats span {
  font-weight: 800;
  color: #6a6a6a;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: minmax(320px, 430px) 1fr;
  gap: 22px;
}

.admin-card-v16 {
  padding: 24px;
}

.admin-card-v16 h2 {
  color: var(--dark-green);
  margin-bottom: 16px;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-mini-search {
  border: 1px solid #edd7df;
  border-radius: 999px;
  padding: 12px 15px;
  min-width: 220px;
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-summary-list {
  display: grid;
  gap: 10px;
  color: #555;
  font-weight: 700;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.on {
  background: #dcfce7;
  color: #166534;
}

.status-pill.off {
  background: #fee2e2;
  color: #991b1b;
}

.admin-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  background: var(--soft-pink);
  color: var(--dark-green);
  border-radius: 999px;
  font-weight: 900;
}

.admin-pill button {
  border: 0;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
  background: #fff;
  color: #991b1b;
  font-weight: 900;
}

.order-empty {
  border: 2px dashed #efd0da;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  font-weight: 900;
  color: #777;
  background: #fff8fb;
}

.config-form {
  max-width: 720px;
}

@media (max-width: 1100px) {
  .admin-shell-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .admin-menu {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .admin-main {
    padding: 16px;
  }

  .admin-topbar-v16,
  .admin-card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-menu,
  .admin-stats,
  .admin-form-row {
    grid-template-columns: 1fr;
  }

  .admin-mini-search {
    min-width: 0;
    width: 100%;
  }
}


/* Mejoras panel v17 */
.admin-image-preview {
  display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed rgba(47,101,56,.25); border-radius: 18px; background: #fffaf5;
}
.admin-image-preview img { width: 84px; height: 84px; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 22px rgba(31,61,41,.12); }
.admin-image-preview span { color: #6f7f72; font-weight: 700; }
.order-actions { margin-bottom: 18px; }
.import-label { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.status-pill.warn { background: #fff4d8; color: #9a6a00; }
.admin-table td.order-empty { text-align: center; padding: 28px; color: #78907d; }

/* Mejoras v18 panel admin */
.admin-product-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.admin-product-tools .admin-mini-search {
  min-width: 180px;
}
.admin-dropzone {
  border: 2px dashed rgba(47, 101, 56, 0.28);
  border-radius: 18px;
  padding: 16px;
  background: #fbfff8;
  color: #4f6b55;
  font-weight: 700;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.admin-dropzone.is-over {
  transform: translateY(-2px);
  border-color: var(--green);
  background: #f0faee;
}
.admin-form input:invalid,
.admin-form select:invalid {
  border-color: rgba(237, 95, 138, .45);
}
@media (max-width: 720px) {
  .admin-product-tools,
  .admin-product-tools .admin-mini-search {
    width: 100%;
  }
}

/* =========================
   ADMIN V19 - LOGIN Y DASHBOARD PRO
   Ajuste completo: login centrado real + panel más moderno
========================= */
.admin-shell-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(237, 95, 138, .13), transparent 32%),
    radial-gradient(circle at bottom right, rgba(47, 101, 56, .13), transparent 34%),
    #fff8fb;
  grid-template-columns: 302px minmax(0, 1fr);
}

.admin-locked {
  overflow: hidden;
}

.admin-login-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  min-height: 100vh;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 42px);
  overflow: auto;
  background:
    linear-gradient(135deg, rgba(255, 248, 251, .80), rgba(238, 249, 241, .76)),
    url('../img/productos/ef42dd3d-cc86-44c1-9c08-92d619114a74.jpeg');
  background-size: cover;
  background-position: center;
}

.admin-login-screen::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,240,246,.38)),
    radial-gradient(circle at 10% 12%, rgba(237,95,138,.27), transparent 32%),
    radial-gradient(circle at 88% 78%, rgba(47,101,56,.25), transparent 36%);
  backdrop-filter: blur(9px);
  pointer-events: none;
}

.admin-login-bg-glow,
.admin-login-orb {
  position: fixed;
  pointer-events: none;
}

.admin-login-bg-glow {
  width: 330px;
  height: 330px;
  border-radius: 50%;
  filter: blur(16px);
  opacity: .65;
  animation: floatGlow 8s ease-in-out infinite;
}

.glow-one {
  top: 8%;
  left: 8%;
  background: rgba(237, 95, 138, .24);
}

.glow-two {
  right: 8%;
  bottom: 8%;
  background: rgba(47, 101, 56, .24);
  animation-delay: -3s;
}

.admin-login-orb {
  width: 86px;
  height: 86px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .38);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 28px 65px rgba(31,61,41,.16);
  transform: rotate(18deg);
}

.orb-one { top: 16%; right: 14%; }
.orb-two { left: 12%; bottom: 14%; transform: rotate(-18deg); }

.admin-locked .admin-login-screen {
  display: flex;
}

.admin-locked .admin-sidebar,
.admin-locked .admin-main {
  display: none !important;
}

.admin-login-shell {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: minmax(320px, 1.12fr) minmax(340px, 470px);
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
  animation: loginFadeUp .62s ease both;
}

.admin-login-showcase,
.admin-login-card {
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: 0 34px 95px rgba(31, 61, 41, .20);
  backdrop-filter: blur(20px);
}

.admin-login-showcase {
  min-height: 590px;
  border-radius: 42px;
  padding: clamp(32px, 5vw, 54px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(31,61,41,.10) 0%, rgba(31,61,41,.55) 52%, rgba(31,61,41,.88) 100%),
    url('../img/productos/28067617-d89f-475c-bb0d-7804fae4f893.jpeg');
  background-size: cover;
  background-position: center;
}

.admin-login-showcase::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 32px;
  pointer-events: none;
}

.showcase-badge {
  width: fit-content;
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.30);
  font-weight: 900;
  margin-bottom: 22px;
}

.admin-login-showcase h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 66px);
  line-height: .96;
  max-width: 620px;
  margin-bottom: 18px;
}

.admin-login-showcase p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,.86);
  margin-bottom: 28px;
}

.showcase-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}

.showcase-metrics span {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  padding: 16px;
}

.showcase-metrics strong,
.showcase-metrics small {
  display: block;
}

.showcase-metrics strong {
  font-size: 15px;
  margin-bottom: 5px;
}

.showcase-metrics small {
  color: rgba(255,255,255,.74);
  line-height: 1.35;
}

.admin-login-card {
  width: 100%;
  min-height: 590px;
  border-radius: 42px;
  background: rgba(255, 255, 255, .78);
  padding: clamp(30px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  animation: none;
}

.admin-login-icon {
  width: 62px;
  height: 62px;
  margin: 0 0 18px;
  background: linear-gradient(135deg, #fff, #fff0f5 45%, #ecf8ef);
  box-shadow: 0 14px 35px rgba(31,61,41,.13);
}

.admin-login-brand {
  margin-bottom: 18px;
}

.admin-login-brand span,
.admin-login-brand strong {
  font-size: 38px;
}

.admin-login-card h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -.03em;
  max-width: 390px;
}

.admin-login-card > p:not(.section-kicker) {
  color: #66746a;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 26px;
}

.admin-login-form {
  gap: 16px;
}

.admin-login-form label {
  gap: 9px;
  font-size: 14px;
}

.login-input-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid rgba(47,101,56,.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .90);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.login-input-wrap:focus-within {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(237,95,138,.13);
  background: #fff;
}

.admin-login-form .login-input-wrap input,
.password-field.login-input-wrap input {
  flex: 1;
  min-width: 0;
  height: 54px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.admin-login-form .login-input-wrap input:focus {
  box-shadow: none;
}

.password-field.login-input-wrap {
  position: relative;
}

.password-field.login-input-wrap button {
  position: static;
  transform: none;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: #fff0f5;
  color: var(--pink);
  transition: transform .18s ease, background .18s ease;
}

.password-field.login-input-wrap button:hover {
  transform: scale(1.05);
  background: #ffe3ee;
}

.admin-login-form .primary {
  min-height: 54px;
  font-size: 15px;
  letter-spacing: .01em;
  background: linear-gradient(135deg, var(--green), var(--dark-green));
}

.admin-login-error {
  text-align: left;
  margin-top: -3px;
}

.admin-login-back {
  width: fit-content;
  margin-top: 16px;
}

.login-shake {
  animation: shakeLogin .32s ease;
}

/* Panel interior más profesional */
.admin-sidebar {
  background:
    linear-gradient(180deg, rgba(31,61,41,.97), rgba(35,76,48,.97)),
    radial-gradient(circle at 20% 10%, rgba(237,95,138,.20), transparent 38%);
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.10);
  box-shadow: 18px 0 60px rgba(31,61,41,.12);
}

.admin-brand {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

.admin-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid transparent;
}

.admin-menu a:hover,
.admin-menu a.active {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.12);
  box-shadow: inset 4px 0 0 var(--pink);
}

.admin-sidebar-note {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.16);
}

.admin-main {
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
}

.admin-topbar-v16 {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.65);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,240,246,.88)),
    radial-gradient(circle at 86% 20%, rgba(237,95,138,.18), transparent 30%);
  box-shadow: 0 22px 60px rgba(31,61,41,.10);
}

.admin-topbar-v16::after {
  content: "🌸";
  position: absolute;
  right: 32px;
  bottom: -28px;
  font-size: 120px;
  opacity: .10;
  pointer-events: none;
}

.admin-topbar-v16 h1 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -.02em;
}

.admin-top-actions {
  position: relative;
  z-index: 1;
}

.admin-top-actions a,
.admin-top-actions .logout,
.admin-form button,
.quick-actions button,
.import-label {
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.admin-top-actions a:hover,
.admin-top-actions .logout:hover,
.admin-form button:hover,
.quick-actions button:hover,
.import-label:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.admin-top-actions .logout,
.admin-form .danger {
  background: #fff0f0;
  color: #c93939;
}

.admin-stats {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.admin-stats div {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.70);
}

.admin-stats div::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(237,95,138,.09);
}

.admin-stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  line-height: 1;
}

.admin-card-v16 {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 18px 55px rgba(31,61,41,.09);
}

.admin-card-v16 h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(25px, 3vw, 34px);
}

.admin-summary-list p {
  padding: 13px 14px;
  border-radius: 16px;
  background: #fff8fb;
  border: 1px solid #f5dce5;
}

.quick-actions button,
.admin-form .primary,
.admin-top-actions .primary {
  background: linear-gradient(135deg, var(--green), var(--dark-green));
  box-shadow: 0 10px 22px rgba(31,61,41,.15);
}

.admin-form .secondary,
.admin-top-actions .secondary,
.import-label.secondary {
  background: #fff0f5;
  color: var(--pink);
}

.admin-table-wrapper {
  border-radius: 22px;
  border: 1px solid #f1e4e8;
  overflow: auto;
  background: #fff;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff6fa;
  color: var(--dark-green);
  white-space: nowrap;
}

.admin-table td {
  background: rgba(255,255,255,.88);
}

.admin-table tr:hover td {
  background: #fffafc;
}

.admin-table button {
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  margin: 3px;
  cursor: pointer;
  font-weight: 900;
}

.admin-table .edit { background: #eaf7ee; color: var(--green); }
.admin-table .toggle { background: #fff4d8; color: #9a6a00; }
.admin-table .delete { background: #fee2e2; color: #991b1b; }

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-mini-search {
  border-color: #eadce2;
  background: #fffdfd;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.admin-mini-search:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(237,95,138,.11);
  outline: none;
}

.admin-image-preview,
.admin-dropzone {
  background: #fffafc;
  border-color: rgba(237,95,138,.24);
}

@media (max-width: 980px) {
  .admin-login-shell {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .admin-login-showcase {
    display: none;
  }

  .admin-login-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .admin-login-screen {
    align-items: flex-start;
  }

  .admin-login-card {
    border-radius: 30px;
    padding: 30px 22px;
  }

  .admin-login-brand span,
  .admin-login-brand strong {
    font-size: 32px;
  }

  .admin-login-card h1 {
    font-size: 38px;
  }

  .admin-topbar-v16::after {
    display: none;
  }
}
