/* Layout: the existing 4KeepSakes Wix look, rebuilt - white header with purple uppercase nav,
   green bokeh banner with wide white capitals, photo/text checkerboard, Futura-style light type.
   Single light look by choice (matches their current site); every colour set explicitly. */
:root {
  --white: #fffffe;
  --grey: #f5f5f5;
  --line: #e4e4e4;
  --text: #383838;
  --muted: #595959;
  --purple: #7a4991;
  --purple-soft: #e4d7ec;
  --green: #80b841;
  --green-dark: #67992f;
  --f-body: "Jost", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --f-display: "Montserrat", "Arial Black", Arial, sans-serif;
  --f-nav: "Raleway", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
img { max-width: 100%; }
p { margin: 0 0 0.6em; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--f-body); font-weight: 300; font-size: 17px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
a { color: var(--purple); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
img { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.small { font-size: 0.88rem; }
.muted { color: var(--muted); }

/* Prototype bar - discreet, for Jan-Hendrik (Afrikaans) */

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
.logo img { height: 74px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav a { font-family: var(--f-nav); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--purple); text-decoration: none; padding: 5px 12px; }
.nav a[aria-current="page"] { background: var(--purple-soft); }
.nav a:hover { background: var(--grey); }
.bag { position: relative; display: inline-flex; width: 40px; height: 44px; color: var(--green); flex: none; }
.bag svg { width: 100%; height: 100%; }
.bag span { position: absolute; left: 0; right: 0; top: 17px; text-align: center; color: #fff; font-family: var(--f-nav); font-weight: 700; font-size: 0.78rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); padding: 6px 12px; font-family: var(--f-nav); font-weight: 700; font-size: 0.75rem; color: var(--purple); text-transform: uppercase; cursor: pointer; }
@media (max-width: 900px) {
  .logo img { height: 56px; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 6px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .site-head .wrap { position: relative; }
}

/* Banner */
.banner { position: relative; background: #9cc59a url("img/hero.jpg") center / cover no-repeat; min-height: clamp(170px, 24vw, 280px); display: grid; place-items: center; overflow: hidden; padding-block: 28px; }
.banner h1, .banner h2, .banner > p { font-family: var(--f-display); font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.17em; text-align: center; line-height: 1.12; font-size: clamp(1.45rem, 4.2vw, 3.05rem); text-shadow: 3px 4px 7px rgba(0, 0, 0, 0.38); padding-inline: 16px; position: relative; z-index: 1; }
.banner .badges { position: absolute; left: -2%; top: 50%; transform: translateY(-50%); height: 40%; width: auto; max-width: none; }
.banner.small { min-height: clamp(130px, 16vw, 190px); }
.banner.small h1, .banner.small h2 { font-size: clamp(1.3rem, 3.2vw, 2.3rem); }
@media (max-width: 1100px) { .banner .badges { position: static; transform: none; height: clamp(50px, 9vw, 84px); margin: 0 auto 10px; } .banner { display: flex; flex-direction: column; justify-content: center; align-items: center; } }

/* Checkerboard */
.checker { display: grid; grid-template-columns: repeat(4, 1fr); }
.ph { background-size: cover; background-position: center; aspect-ratio: 4 / 5; max-width: 100%; }
.tx { aspect-ratio: 4 / 5; max-width: 100%; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 22px 20px; }
.tx.alt { background: var(--grey); }
.tx h3, .tx .h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); color: #111; }
.tx h3 .w, .tx .h3 .w { font-weight: 400; text-transform: uppercase; }
.tx.purple h3, .tx.purple .h3 { color: var(--purple); }
.tx p { font-size: 0.98rem; max-width: 22em; }
.tx .sub { font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; }
.btn-line { display: inline-block; border: 1px solid var(--text); background: transparent; color: var(--text); padding: 7px 34px; text-decoration: none; font-weight: 300; font-size: 0.92rem; cursor: pointer; margin-top: 6px; }
.btn-line:hover { background: var(--text); color: #fff; }
.tx.purple .btn-line { border-color: var(--purple); color: var(--purple); }
.tx.purple .btn-line:hover { background: var(--purple); color: #fff; }
@media (max-width: 900px) { .checker { grid-template-columns: repeat(2, 1fr); } .ph, .tx { aspect-ratio: auto; min-height: 300px; } }
@media (max-width: 520px) { .checker { grid-template-columns: 1fr; } .ph { min-height: 280px; } .tx { min-height: 0; padding: 34px 20px; } }

/* Generic page sections */
.page { padding-block: 44px 64px; }
.title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #111; margin-bottom: 18px; }
.title .w { font-weight: 400; text-transform: uppercase; }
.title.purple { color: var(--purple); }
.lead { font-size: 1.08rem; max-width: 40em; }
.band { background: var(--grey); }
.shop-band { padding-block: 44px; text-align: center; display: grid; gap: 14px; justify-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border: 0; cursor: pointer; text-decoration: none; font-weight: 400; font-size: 1rem; letter-spacing: 0.02em; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-dark { background: #333; color: #fff; }
.btn-block { width: 100%; }

/* Shop */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat { text-decoration: none; color: var(--text); display: grid; gap: 12px; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
.cat .img { aspect-ratio: 1 / 1; background-size: cover; background-position: center; max-width: 100%; transition: opacity 0.2s; }
.cat:hover .img { opacity: 0.9; }
.cat h3 { font-size: 1.3rem; color: #111; }
.cat h3 .w { font-weight: 400; text-transform: uppercase; }
.cat p { font-size: 0.95rem; color: var(--muted); }
@media (max-width: 800px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }
.note { border-left: 3px solid var(--purple); background: var(--grey); padding: 12px 16px; font-size: 0.92rem; }
.note.ok { border-left-color: var(--green); }
.note.warn { border-left-color: #c07a1e; }

/* Product page */
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.gallery-main { aspect-ratio: 1 / 1; background: var(--grey) center / cover no-repeat; max-width: 100%; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs button { aspect-ratio: 1 / 1; border: 1px solid var(--line); background: center / cover no-repeat; cursor: pointer; padding: 0; max-width: 100%; }
.thumbs button[aria-pressed="true"] { outline: 2px solid var(--purple); outline-offset: 1px; }
.pdp h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: #111; }
.pdp h1 .w { font-weight: 400; text-transform: uppercase; }
.price { font-size: 1.35rem; margin-top: 8px; font-weight: 400; }
.opt { margin-top: 22px; display: grid; gap: 8px; }
.opt > label, .opt .lab { font-size: 0.92rem; font-weight: 400; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1px solid #b9b9b9; background: var(--white); padding: 7px 14px; cursor: pointer; font-weight: 300; font-size: 0.92rem; }
.pill[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: #fff; }
.qty { display: inline-flex; border: 1px solid #b9b9b9; width: max-content; }
.qty button { width: 40px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 56px; text-align: center; border: 0; border-inline: 1px solid var(--line); padding: 8px 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fields .full { grid-column: 1 / -1; }
.field { display: grid; gap: 3px; }
.field label { font-size: 0.85rem; font-weight: 400; }
.field input, .field select, .field textarea { border: 1px solid #c9c9c9; padding: 9px 11px; background: var(--white); width: 100%; font-weight: 300; }
.upload { border: 1px dashed #b9b9b9; padding: 14px; display: grid; gap: 6px; }
.upload.has { border-style: solid; border-color: var(--green); }
.sumbox { background: var(--grey); padding: 16px; display: grid; gap: 4px; margin-top: 22px; }
.row { display: flex; justify-content: space-between; gap: 12px; }
.row.total { font-weight: 400; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.icons-img { margin-top: 26px; max-width: min(420px, 100%); }
.pdp > div:first-child { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 28px; } .pdp > div:first-child { position: static; } .fields { grid-template-columns: 1fr; } }

/* Smart card info page */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { width: 100%; height: auto; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 18px; }
.prices div { background: var(--white); padding: 18px; text-align: center; display: grid; gap: 4px; }
.prices strong { font-weight: 400; font-size: 1.4rem; color: var(--purple); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* Gallery */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry figure { margin: 0 0 14px; break-inside: avoid; position: relative; }
.masonry img { width: 100%; height: auto; }
.masonry figcaption { font-size: 0.85rem; color: var(--muted); padding-top: 5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info h3, .info .h3 { font-weight: 400; font-size: 1.05rem; margin-top: 16px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Cart / checkout */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line .thumb { aspect-ratio: 1 / 1; background: var(--grey) center / cover no-repeat; max-width: 100%; }
.cart-line h3 { font-size: 1.05rem; font-weight: 400; }
.cart-line ul { margin: 4px 0 0; padding-left: 18px; font-size: 0.9rem; color: var(--muted); }
.side { background: var(--grey); padding: 20px; display: grid; gap: 8px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); }
.choice { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 13px; border: 1px solid var(--line); cursor: pointer; align-items: start; }
.choice:has(input:checked) { border-color: var(--text); }
.choice input { margin-top: 5px; accent-color: var(--purple); }
.link { background: none; border: 0; padding: 0; color: var(--purple); text-decoration: underline; cursor: pointer; font-weight: 300; }
.steps { display: grid; gap: 14px; margin-top: 20px; }
.steps div { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: #fff; font-weight: 400; }
.steps .done b { background: var(--green); }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } .side { position: static; } }

/* Footer (as on the current site) */
.site-foot { border-top: 1px solid var(--line); padding-block: 30px 36px; text-align: center; display: grid; gap: 10px; }
.socials { display: flex; justify-content: center; gap: 14px; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; color: #333; }
.socials svg { width: 26px; height: 26px; }
.site-foot .pol { font-size: 0.85rem; }
.site-foot .pol a { color: var(--text); }
.site-foot .contact-line { font-size: 1rem; }
.wa { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,0.22); }
.wa svg { width: 30px; height: 30px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); background: #333; color: #fff; padding: 10px 18px; z-index: 70; max-width: calc(100% - 32px); }

/* Shop listing */
.shop-layout { display: grid; grid-template-columns: 210px 1fr; gap: 36px; align-items: start; }
.side-cats { display: grid; gap: 2px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); }
.side-cats a { color: var(--text); text-decoration: none; padding: 4px 0; }
.side-cats a[aria-current="page"] { color: var(--purple); font-weight: 400; }
.side-cats .grp { font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-bottom: 18px; }
.toolbar .search, .toolbar select { border: 1px solid #c9c9c9; padding: 8px 12px; background: var(--white); font-weight: 300; }
.toolbar .search { flex: 1 1 220px; max-width: 340px; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 26px 20px; }
.pcard { text-decoration: none; color: var(--text); display: grid; gap: 6px; align-content: start; }
.pimg { aspect-ratio: 1 / 1; background: #fff center / contain no-repeat; border: 1px solid var(--line); max-width: 100%; transition: border-color 0.2s; }
.pcard:hover .pimg { border-color: #b9b9b9; }
.pcard h3 { font-size: 1rem; font-weight: 400; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.size-cell { border: 1px solid #c9c9c9; padding: 6px; display: grid; gap: 3px; text-align: center; }
.size-cell label { font-weight: 400; font-size: 0.85rem; }
.size-cell input { width: 100%; border: 1px solid var(--line); padding: 5px; text-align: center; }
.size-cell.has { border-color: var(--text); }
.places { display: grid; gap: 8px; }
.place { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); }
.place.on { border-color: var(--text); }
.art-preview { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.art-preview img { height: 70px; width: auto; border: 1px solid var(--line); background: #fff; }
@media (max-width: 860px) { .shop-layout { grid-template-columns: 1fr; } .side-cats { position: static; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .side-cats .grp { grid-column: 1 / -1; } .place { grid-template-columns: 1fr; } }

/* Live site extras */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--purple); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.b { font-weight: 400; }
.info a, .contact-line a { color: inherit; }
img.pimg { width: 100%; height: auto; object-fit: contain; display: block; }
.pmain { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1px solid var(--line); display: block; }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
.related { margin-top: 56px; }
.cat-intro { margin: 0 0 16px; max-width: 46em; }
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.howto div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; background: var(--grey); padding: 14px 16px; }
.howto b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 400; }
@media (max-width: 800px) { .howto { grid-template-columns: 1fr; } }
.faqs { display: grid; gap: 8px; max-width: 820px; }
.faq { border: 1px solid var(--line); padding: 12px 16px; }
.faq summary { cursor: pointer; font-weight: 400; }
.faq p { margin: 8px 0 0; color: var(--muted); }
.seo-text { display: grid; gap: 12px; max-width: 900px; }
.seo-text p { margin: 0; }
.policy { max-width: 860px; }
.policy .title { margin-top: 44px; scroll-margin-top: 110px; }
.policy h3 { font-weight: 400; font-size: 1.1rem; margin: 22px 0 6px; }
.policy h4 { font-weight: 400; margin: 14px 0 4px; }
.policy p { margin: 0 0 8px; }
.policy ul { margin: 0 0 10px; padding-left: 22px; }
.toc { background: var(--grey); padding: 14px 16px; }
.pdp > div { min-width: 0; }
.pill { max-width: 100%; }
input[type=file] { max-width: 100%; }
.opt > *, .upload > * { min-width: 0; }
[hidden] { display: none !important; }
