/* AV Nails — inicio alineado visualmente con avnailscosmetics.myshopify.com */

.page-home {
  --hero-teal: #5eead4;
  --hero-teal-deep: #2dd4bf;
  --hero-glass: rgba(255, 255, 255, 0.14);
  --hero-glass-border: rgba(255, 255, 255, 0.28);
}

/* ---- Hero suite (nav + hero + ticker) ---- */
.page-home .hero-suite {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

.page-home .header-cluster--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}

.page-home .header-cluster--overlay nav,
.page-home .header-cluster--overlay .nav-cart-pill,
.page-home .header-cluster--overlay .nav-icon-btn,
.page-home .header-cluster--overlay .nav-mobile-toggle,
.page-home .header-cluster--overlay a {
  pointer-events: auto;
}

.page-home .announcement-bar {
  display: none;
}

.page-home .header-cluster--overlay nav {
  margin: 1rem 5% 0;
  padding: 10px 1.25rem 10px 1.5rem;
  background: var(--hero-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--hero-glass-border);
  border-radius: 999px;
  border-bottom: 1px solid var(--hero-glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, margin 0.35s ease;
}

.page-home .header-cluster--overlay.header-cluster--solid nav {
  margin: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-color: var(--border-soft);
  box-shadow: var(--shadow-nav);
}

.page-home .header-cluster--overlay .nav-links a {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 500;
}

.page-home .header-cluster--overlay .nav-links a:hover {
  color: var(--hero-teal);
}

.page-home .header-cluster--overlay.header-cluster--solid .nav-links a {
  color: var(--text-secondary);
}

.page-home .header-cluster--overlay.header-cluster--solid .nav-links a:hover {
  color: var(--brand);
}

.page-home .header-cluster--overlay .site-logo {
  filter: brightness(0) invert(1);
  height: 40px;
  transition: filter 0.35s ease;
}

.page-home .header-cluster--overlay.header-cluster--solid .site-logo {
  filter: none;
}

.page-home .header-cluster--overlay .nav-icon-btn {
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: none;
}

.page-home .header-cluster--overlay.header-cluster--solid .nav-icon-btn {
  color: var(--text-secondary);
}

.page-home .header-cluster--overlay .nav-mobile-toggle-bar {
  background: #fff;
}

.page-home .header-cluster--overlay.header-cluster--solid .nav-mobile-toggle-bar {
  background: var(--text);
}

.page-home .nav-item--mega {
  display: none;
}

.page-home .nav-cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.page-home .nav-cart-pill:hover {
  background: #000;
  transform: translateY(-1px);
}

.page-home .header-cluster--overlay.header-cluster--solid .nav-cart-pill {
  background: #111;
  color: #fff;
}

.page-home .nav-cart-pill svg {
  flex-shrink: 0;
}

/* ---- Hero ---- */
.page-home .hero--shopify {
  flex: 1;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  overflow: hidden;
}

.page-home .hero--shopify .hero-bg {
  background-position: center center;
  background-size: cover;
}

.page-home .hero--shopify .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 7.5rem 5% 2rem;
  min-height: 0;
}

.page-home .hero-glass-card {
  max-width: 506px;
  padding: 2rem 2rem 1.75rem;
  border-radius: 22px;
  background: var(--hero-glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--hero-glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-home .hero-eyebrow--teal {
  color: var(--hero-teal);
  letter-spacing: 0.14em;
  font-size: 11px;
  margin-bottom: 1rem;
  text-shadow: none;
}

.page-home .hero-headline {
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  text-align: left;
  margin-bottom: 1rem;
  line-height: 1.12;
}

.page-home .hero-headline-em {
  font-style: italic;
  color: var(--hero-teal);
  font-weight: 600;
}

.page-home .hero-subtitle {
  text-align: left;
  margin: 0 0 1.5rem;
  max-width: none;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.page-home .hero-cta-row {
  justify-content: flex-start;
  margin-bottom: 1.35rem;
}

.page-home .btn-hero-primary {
  background: var(--hero-teal);
  color: #0f172a;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(94, 234, 212, 0.35);
}

.page-home .btn-hero-primary:hover {
  background: var(--hero-teal-deep);
  color: #0f172a;
}

.page-home .btn-hero-ghost {
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 11px 22px;
}

.page-home .btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.page-home .hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-home .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.page-home .hero-pill-icon {
  color: var(--hero-teal);
  font-size: 13px;
}

/* ---- Hero ticker ---- */
.page-home .hero-ticker {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: 100%;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  isolation: isolate;
}

.page-home .hero-ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem 0;
  width: max-content;
  will-change: transform;
  animation: hero-ticker-scroll 32s linear infinite;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.page-home .hero-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.page-home .hero-ticker-diamond {
  color: var(--hero-teal);
  font-size: 10px;
}

@keyframes hero-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Secciones (tipografía Shopify) ---- */
.page-home .section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.page-home .section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.65rem;
}

.page-home .section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}

.page-home .section-title em {
  font-style: italic;
  color: var(--brand);
}

.page-home .section-intro-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .section-intro-link:hover {
  color: var(--brand);
}

.page-home .section-tiles {
  padding: 4.5rem 5% 3rem;
}

.page-home .section-catalog {
  background: #faf9f7;
}

.page-home .section-catalog .section-header {
  margin-bottom: 1.5rem;
}

.page-home .section-intro--catalog {
  margin-bottom: 0;
}

.page-home .section-catalog .section-eyebrow {
  color: var(--brand-ink);
}

/* Filtros pill (estilo Shopify) */
.page-home .catalog-pill-filters {
  display: flex;
  justify-content: center;
  margin: 0 auto 2.5rem;
  padding: 0 5%;
}

.page-home .catalog-pill-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 8px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.page-home .catalog-pill-btn {
  padding: 11px 22px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #666;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.page-home .catalog-pill-btn:hover {
  color: var(--text);
}

.page-home .catalog-pill-btn.active {
  background: #111;
  color: #fff;
  font-weight: 600;
}

.page-home .home-products-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.page-home .home-catalog-empty {
  text-align: center;
  padding: 2rem 5% 3rem;
  color: var(--text-secondary);
}

.page-home .home-pagination {
  margin-top: 2.5rem;
  padding-bottom: 1rem;
}

/* Hover categorías: botón teal (como Shopify) */
.page-home .tile-card:hover .tile-card-btn {
  background: var(--hero-teal);
  color: #0f172a;
}

/* ---- Por qué AV Nails ---- */
.page-home .section-values {
  padding: 5rem 5%;
  background: var(--bg);
  border-top: none;
}

.page-home .section-values .section-intro {
  margin-bottom: 3rem;
}

.page-home .values-inner {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.page-home .value-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  box-shadow: none;
}

.page-home .value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.page-home .value-card-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--brand);
}

.page-home .value-card-title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* ---- Producto estrella ---- */
.page-home .section-star {
  padding: 4rem 5%;
  background: #faf9f7;
}

.page-home .star-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.1fr;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
}

.page-home .star-media {
  position: relative;
  min-height: 360px;
  background-image: url('../images/cat-geles.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.page-home .star-media-glass {
  margin: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-home .star-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.page-home .star-feat-icon {
  font-size: 1.6rem;
  line-height: 1;
  color: #b8860b;
}

.page-home .star-feat-label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1f2937;
}

.page-home .star-info {
  background: #122722;
  color: #fff;
  padding: 3rem 3rem 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.page-home .star-eyebrow {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hero-teal);
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  align-self: stretch;
}

.page-home .star-title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  color: #fff;
}

.page-home .star-desc {
  font-family: var(--font);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.5rem;
}

.page-home .star-checklist {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-home .star-checklist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.page-home .star-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.18);
  border: 1px solid rgba(94, 234, 212, 0.5);
  color: var(--hero-teal);
  font-size: 12px;
  flex-shrink: 0;
}

.page-home .star-cta {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--hero-teal);
  color: #0f172a;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(94, 234, 212, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-home .star-cta:hover {
  background: var(--hero-teal-deep);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .page-home .star-card {
    grid-template-columns: 1fr;
  }
  .page-home .star-media {
    min-height: 300px;
    justify-content: center;
    align-items: flex-end;
  }
  .page-home .star-media-glass {
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
    margin: 1.25rem;
    padding: 1rem 1.25rem;
  }
  .page-home .star-info {
    padding: 2.25rem 1.75rem;
  }
}

/* ---- Newsletter oscura ---- */
.page-home .section-newsletter {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 4rem 5%;
}

.page-home .newsletter-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-home .newsletter-title em {
  font-style: italic;
  color: var(--hero-teal);
}

.page-home .newsletter-text {
  color: rgba(255, 255, 255, 0.75);
}

.page-home .newsletter-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.page-home .newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.page-home .newsletter-btn {
  background: var(--hero-teal);
  color: #0f172a;
  border-radius: 999px;
  font-weight: 700;
}

.page-home .newsletter-hint {
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Footer ---- */
.page-home .site-footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.75);
  border-top: none;
}

.page-home .footer-col-title,
.page-home .footer-tagline,
.page-home .footer-copy {
  color: rgba(255, 255, 255, 0.55);
}

.page-home .footer-col a {
  color: rgba(255, 255, 255, 0.75);
}

.page-home .footer-col a:hover {
  color: var(--hero-teal);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .page-home .values-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .hero-inner {
    padding-top: 6.5rem;
    align-items: flex-end;
    padding-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .page-home .catalog-pill-bar {
    width: 100%;
    border-radius: 20px;
    padding: 8px;
  }
  .page-home .catalog-pill-btn {
    padding: 10px 14px;
    font-size: 13px;
    flex: 1 1 auto;
    min-width: calc(50% - 6px);
  }
}

@media (max-width: 768px) {
  .page-home .header-cluster--overlay nav {
    margin: 0.75rem 4% 0;
    padding: 8px 12px;
    border-radius: 16px;
  }
  .page-home .nav-links {
    display: none;
  }
  .page-home .nav-cart-label {
    display: none;
  }
  .page-home .nav-cart-pill {
    padding: 10px 12px;
  }
  .page-home .hero-glass-card {
    max-width: none;
    width: 100%;
  }
  .page-home .values-inner {
    grid-template-columns: 1fr;
  }
}
