/* withMisaki.com — Global Styles
   Palette: sakura pink #F4B8C1, lavender #C9AEED, cream white #FAF5EF
   Accent: dusty rose #D4859A, deep navy #1C1F3A
*/

:root {
  --pink: #F4B8C1;
  --lavender: #C9AEED;
  --cream: #FAF5EF;
  --rose: #D4859A;
  --navy: #1C1F3A;
  --text: #2a2535;
  --text-soft: #6b6480;
  --text-faint: #a899be;
  --card-bg: #fff;
  --card-border: rgba(201, 174, 237, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.2s ease;
  --shadow: 0 4px 20px rgba(44, 37, 53, 0.08);
  --shadow-hover: 0 8px 32px rgba(44, 37, 53, 0.14);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Hero ─────────────────────────────────────────── */

.hero {
  background: linear-gradient(160deg, #fff9fb 0%, var(--cream) 60%, rgba(201, 174, 237, 0.12) 100%);
  padding: 48px 20px 40px;
  text-align: center;
  border-bottom: 1px solid var(--card-border);
}

.hero-inner {
  max-width: 480px;
  margin: 0 auto;
}

.avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.avatar-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--lavender));
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
}

.avatar-placeholder {
  position: absolute;
  font-size: 40px;
  line-height: 1;
}

.avatar:not([style*="display:none"]) + .avatar-placeholder {
  display: none;
}

.hero-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 8px;
}

.hero-bio {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* Social links */

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.01em;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.social-btn:active {
  transform: translateY(0);
}

.social-tiktok {
  background: var(--navy);
  color: #fff;
}

.social-instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.social-x {
  background: #000;
  color: #fff;
}

/* ── Campaign Banner ──────────────────────────────── */

.campaign-banner {
  padding: 32px 0;
}

.campaign-card {
  background: linear-gradient(135deg, rgba(244, 184, 193, 0.3), rgba(201, 174, 237, 0.25));
  border: 1px solid rgba(244, 184, 193, 0.5);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.campaign-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}

.campaign-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}

.campaign-copy {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 20px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ──────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: #fff;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(212, 133, 154, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 133, 154, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ── Products ─────────────────────────────────────── */

.products-section {
  padding: 8px 0 40px;
}

.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  text-align: center;
}

.section-sub {
  font-size: 0.82rem;
  color: var(--text-faint);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

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

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-img-wrap {
  position: relative;
  padding-top: 120%;
  background: linear-gradient(135deg, rgba(244, 184, 193, 0.15), rgba(201, 174, 237, 0.15));
  overflow: hidden;
}

.product-img-wrap.img-missing::after {
  content: '🌸';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chip-halloween { background: rgba(255, 147, 41, 0.9); color: #fff; }
.chip-christmas { background: rgba(40, 130, 65, 0.9); color: #fff; }
.chip-evergreen { background: rgba(201, 174, 237, 0.9); color: var(--navy); }

.product-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}

.product-merchant {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.product-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  margin-top: 2px;
}

.product-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rose);
  margin-top: 4px;
}

.btn-product {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--rose);
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
}

.btn-product:hover {
  color: var(--navy);
}

.products-note {
  text-align: center;
  font-size: 0.83rem;
  color: var(--text-faint);
  margin-top: 20px;
}

/* ── Email capture ────────────────────────────────── */

.email-section {
  padding: 8px 0 40px;
}

.email-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.email-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}

.email-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-soft);
}

.email-copy {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 20px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.beehiiv-embed {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

/* ── Latest posts ─────────────────────────────────── */

.latest-section {
  padding: 8px 0 48px;
}

.latest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.latest-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.latest-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.latest-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.latest-tiktok .latest-icon { background: var(--navy); color: #fff; }
.latest-instagram .latest-icon { background: linear-gradient(135deg, #f09433, #bc1888); color: #fff; }

.latest-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.latest-desc {
  font-size: 0.83rem;
  color: var(--text-soft);
  line-height: 1.45;
  flex: 1;
}

.latest-link {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--rose);
  transition: color var(--transition);
}

.latest-link:hover { color: var(--navy); }

/* ── Footer ──────────────────────────────────────── */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 28px 20px;
  text-align: center;
}

.footer-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-legal {
  font-size: 0.75rem;
  line-height: 1.5;
  max-width: 400px;
  margin: 0 auto 8px;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Responsive ──────────────────────────────────── */

@media (min-width: 480px) {
  .social-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-btn {
    flex: none;
    min-width: 140px;
  }
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .campaign-card {
    padding: 36px 32px;
  }

  .campaign-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 340px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

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