/* ===== POLICY PAGES — shared by refund-policy, terms, privacy ===== */

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

:root {
  --pink:       #f4a7b9;
  --pink-light: #ffeef1;
  --pink-dark:  #e7688b;
  --cream:      #fdf5f7;
  --brown:      #5e3c3c;
  --text:       #5e3c3c;
  --muted:      #888888;
  --white:      #ffffff;
  --shadow:     0 4px 18px rgba(0,0,0,0.10);
  --radius:     14px;
  --nav-h:      80px;
  --font:       'Fredoka', sans-serif;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #ffeef1; padding: 0 24px; height: var(--nav-h);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.logo-image { height: 64px; width: auto; flex-shrink: 0; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links li a {
  font-size: 15px; font-weight: 600; color: var(--brown);
  padding: 6px 12px; border-radius: 20px;
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.nav-links li a:hover { background: #ffffff; color: var(--pink-dark); }
.search-bar { position: relative; flex: 1; max-width: 260px; }
.input-wrapper {
  display: flex; align-items: center;
  background: var(--cream); border: 1.5px solid var(--pink);
  border-radius: 24px; padding: 6px 14px; gap: 8px;
}
.search-input { border: none; background: transparent; font-family: var(--font); font-size: 14px; color: var(--text); outline: none; width: 100%; }
.input-wrapper .fa-magnifying-glass { color: var(--pink-dark); font-size: 14px; }
.nav-icons { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cart-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; background: #ffffff;
  border-radius: 50%; color: var(--pink-dark); font-size: 18px;
  transition: background 0.2s, transform 0.2s;
}
.cart-btn:hover { background: var(--pink); transform: scale(1.08); }
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--pink-dark); color: #ffffff;
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 11px; font-weight: 600;
  display: none; align-items: center; justify-content: center;
  pointer-events: none; line-height: 1;
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border: none; background: transparent; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--brown); border-radius: 2px; }

/* ===== POLICY CONTENT ===== */
.policy-container {
  max-width: 800px;
  margin: 48px auto;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.policy-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
}

.policy-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 1rem;
}

.policy-section {
  margin-bottom: 28px;
}

.policy-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--pink-dark);
  margin-bottom: 10px;
}

.policy-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown);
  margin: 14px 0 6px;
}

.policy-section p {
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 8px;
  font-size: 0.97rem;
}

.policy-section ul {
  padding-left: 20px;
  list-style: disc;
  line-height: 1.65;
  color: var(--text);
  font-size: 0.97rem;
  margin-bottom: 8px;
}

.policy-section ul li { margin-bottom: 4px; }

.policy-section a {
  color: var(--pink-dark);
  text-decoration: underline;
}
.policy-section a:hover { color: var(--brown); }

.notice-box {
  background: var(--pink-light);
  border-left: 4px solid var(--pink-dark);
  padding: 14px 16px;
  border-radius: 10px;
  margin: 10px 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.policy-footer {
  text-align: center;
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--pink-light);
  padding-top: 20px;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: #ffeef1; color: var(--text);
  text-align: center; padding: 36px 24px; margin-top: 60px;
}
.footer-content { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-col { min-width: 140px; text-align: left; }
.site-footer h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; color: var(--brown); text-transform: uppercase; letter-spacing: 0.5px; }
.site-footer a { color: var(--pink-dark); transition: color 0.2s; }
.site-footer a:hover { color: var(--brown); }
.site-footer p { margin-bottom: 6px; font-size: 0.9rem; }
.footer-note { margin-top: 4px; font-size: 0.82rem; opacity: 0.7; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .navbar { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 8px; }
  .logo-image { height: 50px; }
  .hamburger { display: flex; order: 3; }
  .nav-links { display: none; flex-direction: column; width: 100%; order: 5; padding-bottom: 10px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 10px 14px; border-radius: 10px; }
  .search-bar { order: 4; max-width: 100%; flex: 1 1 100%; }
  .nav-icons { order: 2; margin-left: auto; }
  .policy-container { margin: 24px 16px; padding: 24px 20px; }
}
