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

/* ── Tokens ────────────────────────────────────────────── */
:root {
  --mint:      #b4dfd0;
  --teal:      #7ab8c4;
  --teal-dark: #5a9aaa;
  --sage:      #a8cbb8;
  --white:     #ffffff;
  --card-bg:   rgba(255,255,255,0.82);
  --text:      #3a5a60;
  --text-soft: #6a8f96;
  --accent:    #8fc4b0;
  --shadow:    rgba(90,154,170,0.18);
  --radius:    20px;
}

/* ── Body / background ─────────────────────────────────── */
body {
  font-family: 'Nunito', sans-serif;
  min-height: 100vh;
  background: linear-gradient(145deg, #c8e8de 0%, #9ecdd8 55%, #7ab8c4 100%);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Doodle pattern ────────────────────────────────────── */
.bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4' opacity='0.22'%3E%3Ccircle cx='30' cy='44' r='12'/%3E%3Cellipse cx='25' cy='28' rx='4' ry='10'/%3E%3Cellipse cx='35' cy='28' rx='4' ry='10'/%3E%3Cpath d='M110 10 L140 40 L135 45 L105 15 Z'/%3E%3Cline x1='105' y1='45' x2='95' y2='55'/%3E%3Crect x='92' y='52' width='8' height='5' rx='1' transform='rotate(-45 96 54)'/%3E%3Ccircle cx='155' cy='80' r='9'/%3E%3Cellipse cx='150' cy='67' rx='3' ry='8'/%3E%3Cellipse cx='160' cy='67' rx='3' ry='8'/%3E%3Cpath d='M20 110 L50 140 L45 145 L15 115 Z'/%3E%3Cline x1='15' y1='145' x2='5' y2='155'/%3E%3Ccircle cx='145' cy='145' r='14'/%3E%3Cellipse cx='138' cy='127' rx='4.5' ry='11'/%3E%3Cellipse cx='152' cy='127' rx='4.5' ry='11'/%3E%3Cellipse cx='145' cy='158' rx='14' ry='10'/%3E%3Cpath d='M70 70 L88 88 L85 91 L67 73 Z'/%3E%3Cline x1='67' y1='91' x2='60' y2='98'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── Language toggle ───────────────────────────────────── */
.lang-toggle {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  padding: 6px 14px;
  box-shadow: 0 4px 16px var(--shadow);
}

.lang-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  transition: color 0.2s;
  user-select: none;
}

.lang-label.active {
  color: var(--teal-dark);
}

.lang-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  cursor: pointer;
}

.lang-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.lang-track {
  position: absolute;
  inset: 0;
  background: var(--mint);
  border-radius: 50px;
  transition: background 0.25s;
}

.lang-switch input:checked ~ .lang-track {
  background: var(--teal);
}

.lang-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  transition: transform 0.25s;
}

.lang-switch input:checked ~ .lang-track .lang-thumb {
  transform: translateX(16px);
}

/* ── Page layout ───────────────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: 0 8px 32px var(--shadow);
  border: 1.5px solid rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

.mascot {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px var(--shadow);
  flex-shrink: 0;
}

.shop-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.hero-text h1 {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}

.hero-text h1 span {
  color: var(--teal-dark);
}

.subtitle {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* ── Tabs ──────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 4px;
  padding: 0 2px;
  align-items: flex-end;
}

.tab {
  padding: 10px 22px 12px;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, padding-bottom 0.15s;
  white-space: nowrap;
}

.tab:hover:not(.active) {
  background: rgba(255,255,255,0.62);
  color: var(--text);
}

.tab.active {
  background: var(--card-bg);
  color: var(--teal-dark);
  border-color: rgba(255,255,255,0.6);
  padding-bottom: 14px;
}

/* ── Content card ──────────────────────────────────────── */
.content-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 36px;
  box-shadow: 0 8px 32px var(--shadow);
  border: 1.5px solid rgba(255,255,255,0.6);
  border-top: none;
  margin-bottom: 28px;
  min-height: 300px;
}

.content-card.tab-1 {
  border-radius: var(--radius);
}

.content-card.tab-2 {
  border-radius: var(--radius);
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

/* ── Content formatting ────────────────────────────────── */
.c-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(180,223,208,0.4);
}

.c-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.c-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(122,184,196,0.3);
}

.c-sub {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin: 14px 0 6px;
}

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

.c-section p:last-child {
  margin-bottom: 0;
}

.c-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 8px 0;
}

.c-list li {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.c-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 800;
}

.c-note {
  background: linear-gradient(135deg, rgba(180,223,208,0.25), rgba(180,223,208,0.1));
  border-left: 3px solid var(--mint);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  margin: 10px 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ── Prices section ────────────────────────────────────── */
.price-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 12px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(180,223,208,0.4);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 14px;
  font-size: 0.875rem;
  gap: 12px;
}

.price-row:nth-child(even) {
  background: rgba(180,223,208,0.12);
}

.price-row:nth-child(odd) {
  background: rgba(255,255,255,0.4);
}

.price-name {
  color: var(--text);
  font-weight: 600;
  flex: 1;
}

.price-val {
  color: var(--teal-dark);
  font-weight: 800;
  white-space: nowrap;
}

.price-sub {
  padding-left: 24px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(58,90,96,0.75);
  line-height: 1.6;
  padding: 8px 0 0;
}

.footer-sig {
  margin-top: 4px;
  font-weight: 700;
  color: var(--teal-dark);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 540px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .hero-text h1 { font-size: 1.5rem; }
  .content-card { padding: 24px 18px; }
  .tab { padding: 8px 14px 10px; font-size: 0.82rem; }
  .tab.active { padding-bottom: 12px; }
  .lang-toggle { top: 12px; right: 12px; }
  .page { padding-top: 36px; }
}
