/* ===========================================================
   The Pinkery — styles
   You normally won't need to touch this file. To change products,
   edit products.js instead.
   =========================================================== */

:root {
  --pink:        #ff4f9a;   /* main pink */
  --pink-deep:   #d61f72;   /* darker accent pink */
  --pink-soft:   #ffe1ee;   /* soft background pink */
  --pink-bg:     #fff5fa;   /* page background */
  --ink:         #4a2a3a;   /* text color */
  --card:        #ffffff;
  --shadow:      0 8px 24px rgba(214, 31, 114, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: var(--pink-bg);
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Baloo 2', cursive; margin: 0; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, var(--pink-soft) 0%, #ffd0e4 100%);
  text-align: center;
  padding: 56px 20px 48px;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.logo { width: 340px; max-width: 78vw; height: auto; filter: drop-shadow(0 6px 14px rgba(214, 31, 114, 0.18)); }
.logo-text {
  font-size: clamp(2.6rem, 8vw, 4rem);
  color: var(--pink-deep);
  letter-spacing: 0.5px;
}
.tagline {
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  font-weight: 700;
  color: var(--pink-deep);
  margin: 14px 0 6px;
}
.tagline strong { color: var(--pink); }
.subtagline { font-size: 1.05rem; color: var(--ink); opacity: 0.8; margin: 0; }

/* ===== CATEGORY TABS ===== */
.tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 245, 250, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--pink-soft);
}
.tab {
  border: 2px solid var(--pink);
  background: var(--card);
  color: var(--pink-deep);
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab:hover { background: var(--pink-soft); }
.tab.active { background: var(--pink); color: #fff; }

/* ===== PRODUCT GRID ===== */
main { max-width: 1100px; margin: 0 auto; padding: 28px 20px 10px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-4px); }

.card-media { position: relative; aspect-ratio: 1 / 1; width: 100%; }
.card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}
.card-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--pink-soft), #ffc7de);
}
.card-ph-emoji { font-size: 2.8rem; line-height: 1; }
.card-ph-name {
  font-family: 'Baloo 2', cursive;
  color: var(--pink-deep);
  font-size: 1rem;
  line-height: 1.2;
}
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card-store {
  align-self: flex-start;
  font-family: 'Baloo 2', cursive;
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--pink-deep);
  background: var(--pink-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.card-name { font-size: 1.15rem; color: var(--pink-deep); margin-bottom: 4px; }
.card-desc { font-size: 0.95rem; opacity: 0.85; margin: 0 0 14px; flex: 1; }
.card-price { font-weight: 700; color: var(--pink); margin-bottom: 10px; }

.shop-btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  background: var(--pink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.shop-btn:hover { background: var(--pink-deep); }
.shop-btn.disabled {
  background: #f3c6da;
  color: #fff;
  cursor: default;
  pointer-events: none;
}

.empty { text-align: center; font-size: 1.2rem; padding: 40px 0; }

/* ===== MEET THE FOUNDER ===== */
.founder { padding: 40px 20px; }
.founder-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.founder-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--pink-soft);
}
.founder-text { flex: 1; min-width: 240px; }
.founder-text h2 { color: var(--pink-deep); margin-bottom: 8px; }
.founder-sign { font-weight: 700; color: var(--pink); }

/* ===== FOOTER ===== */
.footer {
  background: var(--pink-soft);
  padding: 28px 20px;
  text-align: center;
}
.disclosure {
  max-width: 720px;
  margin: 0 auto 12px;
  font-size: 0.9rem;
  opacity: 0.85;
}
.copyright { font-size: 0.85rem; opacity: 0.7; margin: 0; }
.footer-links { margin: 0 0 8px; }
.footer-links a { color: var(--pink-deep); font-weight: 700; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Disclosure bar near the top of the page */
.top-disclosure {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--pink-deep);
  background: var(--pink-soft);
  padding: 10px 16px;
}

/* Simple legal pages (privacy policy) */
.legal { max-width: 760px; margin: 0 auto; padding: 36px 20px 60px; }
.legal .back { display: inline-block; margin-bottom: 18px; color: var(--pink-deep); font-weight: 700; text-decoration: none; }
.legal h1 { color: var(--pink-deep); margin-bottom: 6px; }
.legal h2 { color: var(--pink-deep); font-size: 1.2rem; margin: 26px 0 6px; }
.legal a { color: var(--pink-deep); font-weight: 700; }
.legal .updated { opacity: 0.7; font-size: 0.9rem; margin-top: 0; }
