/* PD Kreations — site styles
   Warm, handcrafted, artisan. Navy + gold to match the logo. */
:root {
  --navy: #1e3a5f;
  --navy-2: #274b73;
  --gold: #c9a24b;
  --gold-2: #b8923f;
  --ink: #24282e;
  --muted: #5b636e;
  --paper: #fbf9f4;
  --card: #ffffff;
  --line: #e7e2d8;
  --shadow: 0 10px 30px rgba(30, 42, 62, .10);
  --radius: 14px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Georgia", "Iowan Old Style", "Palatino", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .ui {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  line-height: 1.15;
  margin: 0 0 .4em;
  letter-spacing: .2px;
  color: var(--navy);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--gold-2); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-family: system-ui, sans-serif;
  text-transform: uppercase; letter-spacing: 2.5px;
  font-size: .72rem; color: var(--gold-2); font-weight: 700;
  margin-bottom: .6rem;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 249, 244, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; }
.brand .name { font-family: system-ui, sans-serif; font-weight: 800; color: var(--navy); font-size: 1.05rem; line-height: 1; }
.brand .tag { font-size: .72rem; color: var(--muted); letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  font-family: system-ui, sans-serif; font-weight: 600; font-size: .92rem;
  padding: 8px 12px; border-radius: 8px; color: var(--navy-2);
}
.nav-links a:hover { background: rgba(30, 58, 95, .06); color: var(--navy); }
.nav-links a.active { background: rgba(30, 58, 95, .06); color: var(--navy); }
.nav-links a.cta {
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 10px;
}
.nav-links a.cta:hover { background: var(--navy-2); color: #fff; }
.nav-links a.cta.active { background: var(--navy-2); color: #fff; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-media .frame {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); aspect-ratio: 4 / 3; background: #fff;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: system-ui, sans-serif; font-weight: 700; font-size: .98rem;
  padding: 13px 22px; border-radius: 11px; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-gold { background: var(--gold); color: #241c07; }
.btn-gold:hover { background: var(--gold-2); color: #1c1605; }
.btn-ghost { background: #fff; color: var(--navy-2); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-2); }
.btn-sm { padding: 9px 14px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* Sections */
.section { padding: 56px 0; }
.section.tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 30px; }
.section-head p { color: var(--muted); }

/* Story split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split .imgcard { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.split .imgcard img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

/* Cards / product grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 4px 14px rgba(30,42,62,.05);
  display: flex; flex-direction: column; transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 1 / 1; background: linear-gradient(135deg, #f3efe6, #e9e2d2); position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb .placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 2.4rem;
}
.card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .cat { font-family: system-ui, sans-serif; font-size: .7rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-2); font-weight: 700; }
.card h3 { margin: 0; font-size: 1.12rem; }
.card .desc { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.card .price { font-family: system-ui, sans-serif; font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.badge {
  display: inline-block; font-family: system-ui, sans-serif; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; padding: 4px 8px; border-radius: 999px;
  background: rgba(201, 162, 75, .16); color: var(--gold-2);
}

/* Filter chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  font-family: system-ui, sans-serif; font-weight: 600; font-size: .9rem;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--navy-2); cursor: pointer;
}
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Form */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: system-ui, sans-serif; font-weight: 600; font-size: .9rem; color: var(--navy-2); }
.field .hint { font-size: .8rem; color: var(--muted); }
input, select, textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(30,58,95,.12); }
textarea { resize: vertical; min-height: 110px; }
.notice { padding: 12px 14px; border-radius: 10px; font-family: system-ui, sans-serif; font-size: .92rem; margin-bottom: 14px; }
.notice.ok { background: #eef6ec; color: #1f5b2e; border: 1px solid #c9e4c9; }
.notice.err { background: #fbeaea; color: #7a2020; border: 1px solid #ecc9c9; }

/* Custom request layout */
.custom-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.steps { display: grid; gap: 14px; margin: 18px 0; }
.step { display: flex; gap: 12px; }
.step .n {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 999px; background: var(--navy);
  color: #fff; display: flex; align-items: center; justify-content: center; font-family: system-ui; font-weight: 800;
}
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Testimonials */
.quotes { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.quote .who { margin-top: 12px; font-family: system-ui; font-weight: 700; color: var(--navy); font-size: .92rem; }
.quote .where { color: var(--muted); font-size: .82rem; font-weight: 500; }

/* Footer */
.footer { background: var(--navy); color: #d7e0ec; margin-top: 40px; }
.footer a { color: #fff; }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer h4 { font-family: system-ui; color: #fff; margin: 0 0 10px; font-size: .95rem; }
.footer .brand img { background: #fff; }
.footer .tag { color: #a9bcd2; }
.footer p { color: #c2d0e0; font-size: .92rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.foot-bottom .wrap { display: flex; justify-content: space-between; padding: 16px 20px; font-size: .82rem; color: #9fb3c9; font-family: system-ui; }
.foot-bottom .admin { font-size: .78rem; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .split, .custom-grid { grid-template-columns: 1fr; }
  .grid-3, .quotes { grid-template-columns: repeat(2, 1fr); }
  .foot-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .quotes { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}

/* ---- Admin panel ---- */
.admin-page { min-height: 100vh; background: #eef1f5; }
.admin-shell { max-width: 1000px; margin: 0 auto; padding: 24px 16px 60px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.admin-top .brand img { width: 38px; height: 38px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 14px rgba(30,42,62,.05); }
.admin-login { max-width: 380px; margin: 12vh auto; padding: 28px; }
.admin-login h1 { font-size: 1.5rem; }
.admin-login .field { margin-bottom: 14px; }
.admin-grid { display: grid; gap: 24px; }
.admin-products { display: grid; gap: 14px; }
.prow { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.prow img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #f0ece2; }
.prow .meta .nm { font-family: system-ui; font-weight: 700; color: var(--navy); }
.prow .meta .sub { font-size: .82rem; color: var(--muted); font-family: system-ui; }
.prow .actions { display: flex; gap: 6px; }
.prow .price { font-family: system-ui; font-weight: 800; color: var(--navy); }
.admin-edit { padding: 20px; display: grid; gap: 14px; }
.admin-edit .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.thumb-preview { width: 120px; height: 120px; border: 1px dashed var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f0ece2; color: var(--muted); font-size: .8rem; text-align: center; padding: 8px; }
.thumb-preview img { width: 100%; height: 100%; object-fit: cover; }
.req-list { display: grid; gap: 12px; }
.req { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: #fff; }
.req .head { display: flex; justify-content: space-between; gap: 10px; font-family: system-ui; }
.req .head b { color: var(--navy); }
.req .time { color: var(--muted); font-size: .8rem; }
.req .body { margin-top: 8px; color: var(--ink); white-space: pre-wrap; }
.req .kv { font-size: .88rem; color: var(--muted); font-family: system-ui; }
.muted { color: var(--muted); }
@media (max-width: 640px) { .admin-edit .row2 { grid-template-columns: 1fr; } .prow { grid-template-columns: 48px 1fr; } .prow .actions, .prow .price { grid-column: 1 / -1; } }
