/* Plan Kit Co — premium stationery studio theme.
   Warm cream paper, deep forest ink, antique gold. Fraunces + Inter. */
:root {
  --paper: #faf6ef;
  --paper-2: #f3ecdd;
  --card: #fffdf8;
  --ink: #1e3027;
  --ink-soft: #5c6861;
  --gold: #a38033;
  --gold-soft: #d8c08a;
  --line: #ddd6c4;
  --claret: #6e2a3c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 48, 39, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-weight: 560; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.eyebrow {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}

/* ---------- header ---------- */
.announce {
  background: var(--ink); color: #f2ead8; text-align: center;
  font-size: .78rem; letter-spacing: .08em; padding: 9px 14px;
}
header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, .96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(6px);
}
.header-in { display: flex; align-items: center; gap: 26px; padding-top: 14px; padding-bottom: 14px; }
.logo { font-family: 'Fraunces', Georgia, serif; font-size: 1.45rem; font-weight: 640; letter-spacing: .01em; margin-right: auto; }
.logo small { display: block; font-family: 'Inter', sans-serif; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 1px; }
nav.main { display: flex; gap: 22px; order: -1; }
nav.main a { font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
nav.main a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 18px; align-items: center; font-size: .9rem; font-weight: 500; }
.bag-link { position: relative; }
.bag-count {
  position: absolute; top: -9px; right: -13px; background: var(--gold); color: #fff;
  border-radius: 50%; width: 19px; height: 19px; display: none; align-items: center; justify-content: center;
  font-size: .66rem; font-weight: 700;
}
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 1.05rem; padding: 5px 11px; cursor: pointer; color: var(--ink); }

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-block; background: var(--ink); color: #f7f2e4; padding: 13px 28px;
  border-radius: 999px; font-size: .92rem; font-weight: 600; letter-spacing: .02em;
  border: 1px solid var(--ink); cursor: pointer; transition: .2s;
}
.btn:hover { background: #2a4636; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #f7f2e4; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.gold:hover { background: #8f6d29; }
input, select, textarea {
  font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
label { font-size: .85rem; font-weight: 600; display: block; margin: 14px 0 6px; }
.form-msg { margin-top: 12px; font-size: .9rem; color: var(--ink-soft); min-height: 1.2em; }
.error-box { display: none; background: #fbeeee; border: 1px solid #e3b7b7; color: #7c2d2d; padding: 12px 16px; border-radius: 10px; margin: 14px 0; font-size: .92rem; }

/* ---------- hero & sections ---------- */
.hero { border-bottom: 1px solid var(--line); background:
  radial-gradient(700px 380px at 85% -60px, #efe4c8 0%, transparent 60%), var(--paper); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 64px 22px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { color: var(--ink-soft); font-size: 1.08rem; margin: 20px 0 28px; max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats div strong { font-family: 'Fraunces', serif; font-size: 1.35rem; display: block; }
.hero-stats div span { font-size: .8rem; color: var(--ink-soft); letter-spacing: .04em; }
.section { padding: 62px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head p { color: var(--ink-soft); margin-top: 10px; }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.tile img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform .5s; }
.tile:hover img { transform: scale(1.04); }
.tile span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 12px; text-align: center;
  font-family: 'Fraunces', serif; font-size: 1.02rem; color: #fff;
  background: linear-gradient(transparent, rgba(20, 32, 25, .78));
}

/* product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: relative; display: flex; flex-direction: column; transition: .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .thumb img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card .cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.card h3 { font-size: 1.13rem; }
.card h3 a:hover { color: var(--gold); }
.card .benefit { color: var(--ink-soft); font-size: .88rem; flex: 1; }
.card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.price { font-family: 'Fraunces', serif; font-size: 1.18rem; font-weight: 640; }
.price .was { color: var(--ink-soft); font-size: .92rem; text-decoration: line-through; margin-right: 7px; font-weight: 400; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: #f2ead8;
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
}
.badge.sale { background: var(--claret); }
.add-btn {
  background: var(--ink); color: #f7f2e4; border: none; border-radius: 999px;
  padding: 9px 16px; font-size: .82rem; font-weight: 600; cursor: pointer;
}
.add-btn:hover { background: var(--gold); }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pillar h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pillar p { color: var(--ink-soft); font-size: .93rem; }
.pillar .mark { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--gold); display: block; margin-bottom: 10px; }

/* story band */
.story { background: var(--ink); color: #efe9da; }
.story-in { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.story img { border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .15); }
.story h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.story p { color: #c9c2ae; margin: 14px 0; }
.story .btn.ghost { border-color: #efe9da; color: #efe9da; }
.story .btn.ghost:hover { background: #efe9da; color: var(--ink); }

/* newsletter */
.newsletter { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.newsletter h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.newsletter p { color: var(--ink-soft); max-width: 36em; margin: 12px auto 24px; }
.news-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.news-form input { flex: 1; }

/* footer */
footer.site { background: var(--ink); color: #cfc8b4; padding: 54px 0 30px; margin-top: 0; }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer-logo { font-family: 'Fraunces', serif; font-size: 1.5rem; color: #f4efe2; line-height: 1.2; }
footer.site h4 { color: #f4efe2; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; font-family: 'Inter', sans-serif; }
footer.site a { display: block; padding: 4px 0; font-size: .92rem; }
footer.site a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 38px; padding-top: 20px; font-size: .82rem; text-align: center; color: #9d9682; }

/* ---------- shop ---------- */
.shop-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 16px;
  font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--ink-soft);
}
.chip.active { background: var(--ink); color: #f7f2e4; border-color: var(--ink); }
.shop-tools .search { flex: 1; min-width: 180px; }
.shop-tools select { width: auto; }
#results-note { color: var(--ink-soft); font-size: .88rem; margin-bottom: 16px; }
.page-head { padding: 46px 0 8px; text-align: center; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-head p { color: var(--ink-soft); margin-top: 10px; }

/* ---------- product ---------- */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 44px 0 60px; }
.product-grid .p-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.p-cat { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.product-grid h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 10px 0; }
.p-benefit { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.15rem; color: var(--ink-soft); }
.p-price { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 640; margin: 16px 0 4px; }
.p-format { color: var(--ink-soft); font-size: .88rem; }
.p-actions { display: flex; gap: 12px; align-items: center; margin: 22px 0; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { background: var(--card); border: none; width: 38px; height: 42px; font-size: 1.05rem; cursor: pointer; }
.qty input { width: 44px; text-align: center; border: none; padding: 0; }
.qty input:focus { outline: none; }
.includes { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 8px; }
.includes h3 { font-size: 1.05rem; margin-bottom: 10px; }
.includes li { margin: 6px 0 6px 18px; color: var(--ink-soft); font-size: .94rem; }
.delivery-note { display: flex; gap: 10px; align-items: flex-start; background: var(--paper-2); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 14px 16px; margin-top: 16px; font-size: .9rem; color: var(--ink-soft); }

/* ---------- cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table th { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper-2); }
.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-item img { width: 58px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.remove-btn { background: none; border: none; color: var(--claret); font-size: .82rem; cursor: pointer; padding: 0; font-weight: 600; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 20px; max-width: 440px; margin-left: auto; }
.summary .line { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; }
.summary .line.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 640; }
.two-col { display: grid; grid-template-columns: 1.25fr .9fr; gap: 34px; padding: 34px 0 60px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h2, .panel h3 { margin-bottom: 8px; }
.radio-row { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; margin-top: 10px; cursor: pointer; }
.radio-row input { width: auto; margin-top: 3px; }
.radio-row small { display: block; color: var(--ink-soft); font-weight: 400; }

/* success / downloads */
.success-hero { text-align: center; padding: 50px 0 10px; }
.success-hero .tick {
  width: 74px; height: 74px; border-radius: 50%; background: var(--ink); color: #f2ead8;
  display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 18px;
}
.dl-list { max-width: 640px; margin: 26px auto 60px; display: grid; gap: 12px; }
.dl-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 16px; }
.dl-item img { width: 44px; height: 55px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.dl-item .meta { flex: 1; }
.dl-item .meta small { color: var(--ink-soft); display: block; }

/* static pages */
.prose { max-width: 760px; margin: 0 auto; padding: 10px 0 60px; }
.prose h2 { margin: 30px 0 10px; font-size: 1.5rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose li { margin: 6px 0 6px 20px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 12px; }
.faq-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.faq-item p { color: var(--ink-soft); font-size: .95rem; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #f4efe2; padding: 13px 22px; border-radius: 999px; font-size: .9rem;
  opacity: 0; pointer-events: none; transition: .3s; z-index: 200; box-shadow: var(--shadow); text-align: center; max-width: 92vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    flex-direction: column; padding: 16px 22px; border-bottom: 1px solid var(--line); gap: 12px;
  }
  nav.main.open { display: flex; }
  .burger { display: block; order: -2; }
  .logo { font-size: 1.25rem; }
  .hero-in { grid-template-columns: 1fr; padding: 40px 22px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .story-in { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 26px; }
  .two-col { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
  .summary { max-width: none; }
  .dl-item { flex-wrap: wrap; }
}
