/* A to Zoom — storefront homepage (candy-boutique restyle, 2026-07) */

html {
  scroll-behavior: smooth;
}

body.home {
  background: #fff;
}

#visit {
  scroll-margin-top: 90px;
}

body.home main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Wide sticky nav (overrides the narrow card-stack nav on this page only) */
body.home .site-nav {
  max-width: none;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--tint-lavender);
  padding: 0.6rem 1.25rem;
  justify-content: center;
  flex-wrap: nowrap;
}

body.home .site-nav .nav-logo {
  flex: 0 0 auto;
}

body.home .site-nav .nav-logo img {
  height: 56px;
}

/* Section scaffolding */
.home-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 3.5rem 1.5rem;
}

.home-section > .inner {
  width: 100%;
  max-width: 1080px;
}

.home-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--brand-purple);
  text-align: center;
  margin-bottom: 0.4rem;
}

.home-section .section-sub {
  text-align: center;
  color: #777;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* Hero — a slim banner (2026-10-06): one tagline line + the hours, so the
   product grid starts inside the first screen, phones included. */
.hero {
  width: 100%;
  background: linear-gradient(135deg, var(--tint-lavender) 0%, var(--tint-pink) 55%, var(--tint-sky) 100%);
  padding: 1.4rem 1rem 1.3rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.4rem, 4.2vw, 2.4rem);
  line-height: 1.15;
  color: var(--brand-purple);
  margin: 0 0 0.25rem;
}

.hero .hero-hours {
  display: inline-block;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: #6b5a80;
}

.hero .hero-hours:hover {
  color: var(--brand-magenta);
}

.btn-hero {
  display: inline-block;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-hero:hover {
  transform: translateY(-2px);
}

.btn-hero.primary {
  background: var(--brand-magenta);
  color: #fff;
  box-shadow: 0 6px 18px rgba(201, 44, 153, 0.35);
}

.btn-hero.primary:hover {
  color: #fff;
  box-shadow: 0 10px 24px rgba(201, 44, 153, 0.45);
}

/* Now Trending */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trend-card {
  background: #fff;
  border: 1px solid var(--tint-lavender);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(77, 0, 141, 0.07);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}

.trend-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(77, 0, 141, 0.13);
}

.trend-card .photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--tint-butter);
  display: block;
}

.trend-card .info {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.trend-card .name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trend-card .meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trend-card .price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand-purple);
}

.trend-card .tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-magenta);
  background: var(--tint-pink);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Preorder cards share the grid — the ones a visitor can act on */
a.trend-card {
  color: inherit;
  position: relative;
}

.trend-card.preorder {
  border-color: var(--brand-magenta);
}

/* Product photos: show the whole product, never crop it. */
.trend-card.preorder .photo {
  object-fit: contain;
  background: #fff;
}

.trend-card .badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-purple);
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
}

.trend-card.preorder .tag {
  color: #fff;
  background: var(--brand-magenta);
}

.trending-more {
  text-align: center;
  margin-top: 1.75rem;
  font-weight: 700;
}

/* Services band */
.services {
  background: var(--tint-butter);
}

.services-grid {
  display: grid;
  /* auto-fit so the cards share one row wide, 1-up narrow */
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.service-card {
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: #fff;
  box-shadow: 0 6px 18px rgba(77, 0, 141, 0.07);
  transition: transform 0.15s, box-shadow 0.15s;
  display: block;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(77, 0, 141, 0.13);
}

.service-card .emoji {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.service-card p {
  color: #666;
  font-size: 1rem;
}

.service-card.pink h3 { color: var(--brand-magenta); }
.service-card.sky h3 { color: var(--brand-cyan); }
.service-card.lavender h3 { color: var(--brand-purple); }
.service-card.mint h3 { color: #0e8a76; }   /* readable teal, same sub as the IG painters */

/* Visit the store */
.visit {
  background: #fff;
}

.visit-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.visit-card {
  background: var(--tint-mint);
  border-radius: 20px;
  padding: 1.75rem;
}

.visit-card h3 {
  color: var(--brand-purple);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.visit-card .hours-list {
  list-style: none;
}

.visit-card .hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 1.05rem;
  color: #444;
  border-bottom: 1px solid rgba(43, 216, 194, 0.25);
}

.visit-card .hours-list li:last-child {
  border-bottom: none;
}

.visit-card p,
.visit-card address {
  font-style: normal;
  color: #444;
  line-height: 1.7;
  font-size: 1.05rem;
}

.visit-card .btn-hero {
  margin-top: 1rem;
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
}

/* Instagram band */
.insta {
  background: linear-gradient(120deg, var(--tint-pink), var(--tint-lavender));
  text-align: center;
}

.insta .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.insta h2 {
  margin-bottom: 0;
}

.insta .handle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  background: #fff;
  color: var(--brand-magenta);
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  box-shadow: 0 4px 14px rgba(201, 44, 153, 0.2);
  transition: transform 0.15s;
}

.insta .handle:hover {
  transform: translateY(-2px);
  color: var(--brand-magenta);
}

.insta .handle svg {
  width: 22px;
  height: 22px;
}

.insta-carousel {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.insta-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem;
  flex: 1;
}

.insta-strip::-webkit-scrollbar {
  display: none;
}

.insta-tile {
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 6px 18px rgba(201, 44, 153, 0.15);
  background: #fff;
  transition: transform 0.15s, box-shadow 0.15s;
}

.insta-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(201, 44, 153, 0.25);
}

.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.insta-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-magenta);
  font-size: 1.6rem;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(201, 44, 153, 0.2);
  transition: transform 0.15s;
}

.insta-arrow:hover {
  transform: scale(1.08);
}

@media (max-width: 640px) {
  .insta-arrow { display: none !important; }
  .insta-tile { width: 160px; }
}

/* Footer */
.home-footer {
  width: 100%;
  background: var(--brand-purple);
  color: #e9defa;
  padding: 3rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-footer .cols {
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.home-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.home-footer a {
  color: #e9defa;
  display: block;
  padding: 0.15rem 0;
}

.home-footer a:hover {
  color: var(--brand-teal);
}

.home-footer p {
  line-height: 1.7;
}

.home-footer .legal {
  font-size: 0.9rem;
  color: #bfa5e6;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .trending-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .visit-cols { grid-template-columns: 1fr; }
  .home-footer .cols { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 640px) {
  .hero .hero-where { display: none; }
  .home-section { padding: 2.5rem 1rem; }
  .trending-grid { gap: 0.9rem; }
}
