/* Just Blooming Keepsake Jewelry — site styles */
:root {
  --bg: #FBF7F4;
  --blush: #F2E7E3;
  --sage: #4F6A54;
  --sage-bar: #5E7A63;
  --ink: #33292A;
  --muted: #5A4C4D;
  --line: #D9CBC7;
  --accent: #8E4456;
  --accent-dark: #6A2F3E;
  --pink: #F2C6D0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Promo bar */
.promo { background: var(--sage-bar); color: #fff; text-align: center; padding: 10px 20px; font-size: 14px; }
.promo a { color: #fff; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 24px; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.logo b { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; }
.logo small { font-size: 10px; letter-spacing: 4px; margin-top: 4px; color: #6E5D5E; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 500; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: #CDBDB8; color: var(--ink) !important; background: transparent; }
.btn-pink { background: var(--pink); color: var(--ink) !important; font-weight: 600; }
.btn-ghost-light { border-color: #8C7A7B; color: #FBF7F4 !important; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 32px 24px 88px; max-width: 1200px; margin: 0 auto; }
.hero-text { flex: 1 1 420px; }
.hero h1 { font-size: clamp(46px, 7vw, 70px); margin-top: 16px; }
.hero h1 em { color: var(--accent); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 500px; margin: 22px 0 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-photos { flex: 1 1 380px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-photos img { width: 100%; object-fit: cover; border-radius: 22px; height: 220px; }
.hero-photos img.tall { grid-row: span 2; height: 454px; border-radius: 200px 200px 22px 22px; }

.strip { background: var(--blush); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 40px; justify-content: center; padding-top: 22px; padding-bottom: 22px; color: var(--muted); font-size: 15px; }

section.block { padding: 88px 0; }
.section-title { font-size: clamp(38px, 5vw, 50px); }

/* Preserve */
.split { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.split > * { flex: 1 1 380px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips div { background: #fff; border-radius: 18px; padding: 18px 20px; font-size: 17px; font-weight: 500; }

/* Shop */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin-top: 36px; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 12px; }
.card h3 { font-size: 27px; font-weight: 600; }
.price { color: var(--accent); font-weight: 600; font-size: 15px; white-space: nowrap; }
.card p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }

/* Price list */
.prices-bg { background: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 36px; margin-top: 32px; }
.price-grid h3 { font-size: 26px; font-weight: 600; color: var(--accent); padding-bottom: 10px; border-bottom: 1px solid #E6DAD6; margin-bottom: 8px; }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; line-height: 1.4; }
.price-row span:last-child { white-space: nowrap; font-weight: 500; }
.price-row em { font-style: normal; color: #6E5D5E; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; }
.step { background: #fff; border-radius: 22px; padding: 28px; }
.step .num { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--accent); }
.step h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; margin: 8px 0 6px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

.about { background: var(--blush); text-align: center; }
.about .wrap { max-width: 860px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.faq details { background: #fff; border-radius: 18px; padding: 20px 24px; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; }
.faq p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* CTA */
.cta { background: var(--ink); color: #FBF7F4; border-radius: 30px; padding: 56px 40px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(36px, 5vw, 50px); }
.cta p { color: #E4D7D3; margin: 14px 0 0; }

.site-footer { max-width: 1200px; margin: 0 auto; padding: 40px 24px 48px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 14px; color: #6E5D5E; }
.site-footer b { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.site-footer a { color: #6E5D5E; }

/* Order builder */
.order-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin-top: 32px; }
.order-form { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.panel { background: #fff; border-radius: 22px; padding: 26px; border: 0; margin: 0; }
.panel legend, .panel h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; padding: 0; float: left; width: 100%; margin-bottom: 14px; }
.panel > *:not(legend) { clear: both; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; }
.pills input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; margin-top: 16px; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 16px; }
.hidden { display: none !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.summary { flex: 1 1 320px; min-width: 0; background: var(--ink); color: #FBF7F4; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.summary h2 { font-size: 30px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-details { font-size: 14px; color: #D9CBC7; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 18px; border-top: 1px solid #5A4C4D; padding-top: 12px; }
.sum-total b { font-family: var(--serif); font-size: 34px; font-weight: 500; }
.sum-discount { color: #BFD6C2; }
.small { font-size: 13px; color: #CDBDB8; margin: 0; }
.form-status { border-radius: 14px; padding: 16px 18px; font-size: 15px; }
.form-status.ok { background: #E7EEE5; color: #2F4733; }
.form-status.err { background: #F6E1E1; color: #7A2630; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-top: 16px; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; flex: none; }

/* Simple text pages */
.text-page { max-width: 760px; margin: 0 auto; padding: 24px 24px 80px; }
.text-page h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 20px; }
.text-page h2 { font-size: 30px; margin: 32px 0 8px; }

@media (max-width: 700px) {
  .summary { position: static; }
  .cta { padding: 40px 26px; }
  .hero-photos img.tall { height: 380px; }
  .hero-photos img { height: 183px; }
}

/* Category pages */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.tab { padding: 10px 18px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; background: #fff; }
.tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 16px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; }
.designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.design { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.design img, .photo-soon { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.photo-soon { display: flex; align-items: center; justify-content: center; background: var(--blush); color: #7A6667; font-size: 14px; }
.design-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.design h3 { font-size: 26px; font-weight: 600; }
.design-detail { margin: 0; font-size: 14px; color: #6E5D5E; }
.design-prices { margin: 8px 0 14px; font-size: 15px; display: flex; flex-direction: column; gap: 2px; }
.design-prices strong { color: var(--accent); }
.design .btn { margin-top: auto; }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.card a.card-link { text-decoration: none; color: inherit; display: block; }
.card a.card-link:hover h3 { color: var(--accent); }
@media (max-width: 520px) {
  .designs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .design h3 { font-size: 21px; }
  .design-body { padding: 12px 12px 16px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
