/* Inicio (index) — modo día pulido. Solo con body.is-home */

html[data-theme="day"] body.is-home {
  background: #ececef;
}

/* —— Hero —— */
html[data-theme="day"] body.is-home .hero {
  margin-top: -92px;
  background: linear-gradient(180deg, #e4e4e8 0%, #f0f0f4 46%, #e8e8ec 100%) !important;
  color: var(--theme-heading);
}

html[data-theme="day"] body.is-home .hero::before {
  display: block;
  background:
    linear-gradient(145deg, #dedee2 0%, #ececf0 38%, #f4f4f7 55%, #e8e8ec 100%),
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(255, 162, 0, 0.11) 0%, transparent 58%);
}

html[data-theme="day"] body.is-home .hero::after {
  background:
    radial-gradient(ellipse 78% 58% at 50% 42%, rgba(240, 240, 244, 0) 0%, rgba(228, 228, 234, 0.5) 70%, rgba(216, 216, 222, 0.82) 100%),
    radial-gradient(ellipse 48% 36% at 18% 24%, rgba(255, 162, 0, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 44% 34% at 84% 26%, rgba(255, 162, 0, 0.05) 0%, transparent 52%);
}

html[data-theme="day"] body.is-home .hero-vanta.hero-vanta--visible {
  opacity: 1;
}

html[data-theme="day"] body.is-home .hero-title-line--lead {
  color: #14141a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Arcoíris día: saturado (azul / morado), sin apagar — solo degradado */
html[data-theme="day"] body.is-home .hero .hero-title-line--rainbow.text-rainbow {
  background-image: linear-gradient(
    90deg,
    #ff1744 0%,
    #ff9100 11%,
    #ffc400 22%,
    #22c55e 33%,
    #00b4d8 44%,
    #3b82f6 55%,
    #6366f1 66%,
    #a855f7 77%,
    #e879f9 88%,
    #ff1744 100%
  );
}

html[data-theme="day"] body.is-home .hero-title-line--rainbow.is-rainbow-enter-done {
  filter: drop-shadow(0 6px 20px rgba(255, 138, 0, 0.24));
}

html[data-theme="day"] body.is-home .hero-lead {
  color: #52525e;
  max-width: 42ch;
}

html[data-theme="day"] body.is-home .btn-hero-cta {
  box-shadow:
    0 10px 28px rgba(255, 138, 0, 0.22),
    0 3px 0 #d97a2e,
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

html[data-theme="day"] body.is-home .btn-hero-cta--purple {
  box-shadow:
    0 10px 28px rgba(147, 51, 234, 0.16),
    0 3px 0 #7e22ce,
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

html[data-theme="day"] body.is-home .btn-cta.btn-hero-cta:hover,
html[data-theme="day"] body.is-home .btn-cta.btn-hero-cta:focus-visible {
  box-shadow:
    0 14px 34px rgba(255, 138, 0, 0.26),
    0 4px 0 #d97a2e,
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 0 28px rgba(255, 162, 0, 0.18);
}

html[data-theme="day"] body.is-home .btn-cta.btn-hero-cta--purple:hover,
html[data-theme="day"] body.is-home .btn-cta.btn-hero-cta--purple:focus-visible {
  box-shadow:
    0 14px 34px rgba(147, 51, 234, 0.22),
    0 4px 0 #7e22ce,
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 28px rgba(168, 85, 247, 0.16);
}

/* —— Entrega y pago —— */
html[data-theme="day"] body.is-home .home-order-info {
  position: relative;
  isolation: isolate;
  background-color: #eef0f5;
  background-image:
    radial-gradient(rgba(62, 62, 78, 0.16) 1px, transparent 1px),
    radial-gradient(circle at 18% 8%, rgba(255, 166, 26, 0.09) 0%, transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(56, 189, 248, 0.07) 0%, transparent 38%),
    linear-gradient(180deg, #f0f1f6 0%, #fafafc 100%);
  background-size: 26px 26px, 100% 100%, 100% 100%, 100% 100%;
  background-position: 0 0, 0 0, 0 0, 0 0;
  padding: 64px 0 72px;
}

html[data-theme="day"] body.is-home .home-order-info .section-title span {
  color: #c2410c;
}

html[data-theme="day"] body.is-home .home-order-info .section-lead {
  color: #3a3a46;
  font-weight: 500;
}

html[data-theme="day"] body.is-home .home-order-info__card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fafafd 100%);
  box-shadow: 0 16px 36px rgba(15, 15, 22, 0.07);
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme="day"] body.is-home .home-order-info__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(15, 15, 22, 0.1);
  }
}

html[data-theme="day"] body.is-home .home-order-info__detail--bullets li {
  color: #35353f;
  font-weight: 500;
}

html[data-theme="day"] body.is-home .home-order-info__note-icon {
  background: rgba(21, 128, 61, 0.1);
  border-color: rgba(21, 128, 61, 0.28);
  color: #15803d;
}

html[data-theme="day"] body.is-home .home-order-info__hint {
  color: #9a3412;
}

html[data-theme="day"] body.is-home .home-order-info__meta {
  color: #121218;
}

html[data-theme="day"] body.is-home .home-order-info__detail {
  color: #35353f;
}

html[data-theme="day"] body.is-home .home-order-info__schedule {
  color: #166534;
}

html[data-theme="day"] body.is-home .home-order-info__note--open {
  color: #14532d;
}

html[data-theme="day"] body.is-home .home-order-info__note--closed {
  color: #b91c1c;
}

/* —— Convocatoria artistas —— */
html[data-theme="day"] body.is-home .home-convocatorias-section {
  background: linear-gradient(180deg, #fafafc 0%, #f5f1fb 50%, #f0f1f6 100%);
}

html[data-theme="day"] body.is-home .home-convocatorias__card {
  border: 1px solid rgba(168, 85, 247, 0.16);
  box-shadow:
    0 24px 56px rgba(88, 28, 135, 0.07),
    0 10px 28px rgba(15, 15, 22, 0.06);
}

html[data-theme="day"] body.is-home .home-convocatorias__title {
  text-shadow: none;
}

html[data-theme="day"] body.is-home .home-convocatorias__text {
  color: #3f3f4a;
}

html[data-theme="day"] body.is-home .home-convocatorias__icon {
  background: rgba(168, 85, 247, 0.12);
  color: #7c3aed;
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.22),
    0 14px 36px rgba(147, 51, 234, 0.12);
  animation: none;
}

html[data-theme="day"] body.is-home .home-convocatorias__shine {
  opacity: 0.35;
}

html[data-theme="day"] body.is-home .home-convocatorias__cta {
  box-shadow: 0 4px 0 #c98a00, 0 12px 28px rgba(255, 162, 0, 0.22);
}

html[data-theme="day"] body.is-home .home-convocatorias__cta:hover,
html[data-theme="day"] body.is-home .home-convocatorias__cta:focus-visible {
  box-shadow: 0 5px 0 #c98a00, 0 16px 34px rgba(255, 162, 0, 0.28);
}

/* —— Destacados —— */
html[data-theme="day"] body.is-home .destacados,
html[data-theme="day"] body.is-home .destacados.destacados--after-convocatorias {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 162, 0, 0.08), transparent 58%),
    linear-gradient(180deg, #f4f4f8 0%, #ececf2 100%);
  padding-bottom: 88px;
}

html[data-theme="day"] body.is-home .destacados .section-title span {
  color: var(--orange);
}

html[data-theme="day"] body.is-home .destacados .producto-card {
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 14px 32px rgba(15, 15, 22, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme="day"] body.is-home .destacados .producto-card:hover {
    box-shadow: 0 20px 40px rgba(15, 15, 22, 0.12);
  }
}

html[data-theme="day"] body.is-home .btn-catalog-all {
  box-shadow: 0 4px 0 #c98a00, 0 14px 32px rgba(255, 162, 0, 0.22);
}

/* —— Galería —— */
html[data-theme="day"] body.is-home .home-gallery,
html[data-theme="day"] body.is-home .home-gallery--grand {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(34, 211, 238, 0.06), transparent 55%),
    linear-gradient(180deg, #e8e9ef 0%, #f2f2f6 100%);
}

html[data-theme="day"] body.is-home .home-gallery__orb {
  opacity: 0.32;
}

html[data-theme="day"] body.is-home .home-gallery__grid-lines {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(26, 26, 31, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 31, 0.07) 1px, transparent 1px);
}

html[data-theme="day"] body.is-home .home-gallery__title {
  color: var(--theme-heading);
}

html[data-theme="day"] body.is-home .home-gallery__lead {
  color: var(--theme-text-muted);
}

html[data-theme="day"] body.is-home .home-gallery__frame {
  background: #ffffff;
  box-shadow:
    0 18px 42px rgba(15, 15, 22, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

@media (max-width: 820px) {
  html[data-theme="day"] body.is-home .hero {
    margin-top: 0;
    padding-top: 100px;
  }
}
