/* ==========================================================================
   ROMA TOP — design tokens
   World: "Selimut Malam" — navy night sky, an ivory quilted panel carrying
   the content, gold thread as the single signal colour.
   ========================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --navy: #003d78;
  --navy-deep: #00284f;
  --navy-night: #001d3b;
  --navy-soft: #17568f;
  --gold: #fdb700;
  --gold-deep: #8f6a00;
  /* large display text only: 3.1:1 on ivory, passes AA for >=24px */
  --gold-display: #b88300;
  --gold-ink: #7d5c00;
  --admin-hint: #5f7185;
  --gold-pale: #ffe3a3;
  --ivory: #fbf7ef;
  --cloth: #f3ecdd;
  --cloth-deep: #e7dcc7;
  --ink: #12212f;
  --ink-soft: #4a5c6d;
  --on-night: rgba(251, 247, 239, 0.74);
  --on-night-strong: rgba(251, 247, 239, 0.92);

  --display: "Bricolage", "Trebuchet MS", sans-serif;
  --body: "Figtree", ui-sans-serif, system-ui, sans-serif;

  --wrap: min(1180px, 100%);
  --pad: clamp(1.15rem, 4.5vw, 3.5rem);
  --radius: 4px;

  --stitch-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M0 12h24' stroke='%23003d78' stroke-width='2.5' stroke-linecap='round' stroke-dasharray='7 5'/%3E%3C/svg%3E");
  --stitch-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M0 12h24' stroke='%23fdb700' stroke-width='2.5' stroke-linecap='round' stroke-dasharray='7 5'/%3E%3C/svg%3E");

  --stitch-run-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='6'%3E%3Cpath d='M0 3h26' stroke='%23fdb700' stroke-width='2.5' stroke-linecap='round' stroke-dasharray='7 6'/%3E%3C/svg%3E");
  --stitch-run-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='6'%3E%3Cpath d='M0 3h26' stroke='%23003d78' stroke-width='2.5' stroke-linecap='round' stroke-dasharray='7 6'/%3E%3C/svg%3E");

  --shadow-quilt: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 40px 90px -46px rgba(0, 0, 0, 0.85);
  --shadow-tag: 0 14px 30px -22px rgba(0, 0, 0, 0.8);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ivory);
  background-color: var(--navy-deep);
  background-image:
    radial-gradient(1000px 560px at 84% -8%, rgba(48, 108, 178, 0.5), transparent 64%),
    radial-gradient(760px 460px at 2% 3%, rgba(8, 56, 104, 0.9), transparent 68%),
    linear-gradient(180deg, #032a52 0%, #00284f 44%, #001d3b 100%);
  background-repeat: no-repeat;
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  min-height: 100vh;
}

::selection {
  background: var(--gold);
  color: var(--navy-night);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-night);
  padding: 0.7rem 1rem;
  font-weight: 700;
  z-index: 100;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- star sky texture (one layer, sits behind everything) ---------- */
.sky {
  position: relative;
}
.sky::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(253, 183, 0, 0.9) 0 1.3px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(253, 183, 0, 0.45) 0 1px, transparent 1.3px);
  background-size: 280px 210px, 190px 150px, 420px 320px;
  background-position: 40px 20px, 100px 70px, 220px 140px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.sky > * {
  position: relative;
  z-index: 1;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--navy-night) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(253, 183, 0, 0.22);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 2.4rem);
  padding-block: 0.85rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark {
  height: 2.15rem;
  width: auto;
  color: var(--gold);
}
.brand-text {
  display: grid;
  line-height: 1;
}
.brand-text b {
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  color: var(--ivory);
  font-weight: 700;
}
.brand-text span {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.3rem;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.8vw, 1.7rem);
  font-size: 0.94rem;
}
.nav-links {
  display: contents;
}
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
}
.main-nav a:not(.btn) {
  text-decoration: none;
  color: var(--on-night-strong);
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.main-nav a:not(.btn):hover {
  color: var(--ivory);
  border-bottom-color: var(--gold);
}
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
  color: var(--ivory);
}
.nav-toggle {
  display: none;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--navy);
  --fg: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  padding: 0.95rem 1.45rem;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 1px 0 rgba(0, 40, 79, 0.35), 0 14px 26px -18px rgba(0, 0, 0, 0.9);
  transition: transform 0.16s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.16s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px dashed color-mix(in srgb, var(--gold) 75%, transparent);
  border-radius: 2px;
  opacity: 0.8;
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(0, 40, 79, 0.35), 0 20px 34px -18px rgba(0, 0, 0, 0.95);
}
.btn:active {
  transform: translateY(0);
}
.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
  flex: 0 0 auto;
}
.btn-gold {
  --bg: var(--gold);
  --fg: var(--navy-night);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 16px 30px -18px rgba(0, 0, 0, 0.85);
}
.btn-gold::after {
  border-color: rgba(0, 40, 79, 0.4);
}
.btn-ghost {
  --bg: transparent;
  --fg: var(--ivory);
  box-shadow: none;
  border: 2px solid rgba(251, 247, 239, 0.55);
}
.btn-ghost::after {
  display: none;
}
.btn-ghost:hover {
  background: rgba(251, 247, 239, 0.08);
  border-color: var(--gold);
  box-shadow: none;
}
.btn-quiet {
  --bg: transparent;
  --fg: var(--navy);
  box-shadow: none;
  border: 2px solid var(--navy);
}
.btn-quiet::after {
  display: none;
}
.btn-quiet:hover {
  background: color-mix(in srgb, var(--navy) 8%, transparent);
  box-shadow: none;
}
.btn-sm {
  padding: 0.62rem 0.95rem;
  font-size: 0.9rem;
}
.btn-block {
  width: 100%;
}

/* ---------- the quilt panel: the world's main carrier ---------- */
.quilt {
  position: relative;
  background-color: var(--ivory);
  color: var(--ink);
  background-image:
    repeating-linear-gradient(45deg, rgba(0, 61, 120, 0.085) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(-45deg, rgba(0, 61, 120, 0.085) 0 1px, transparent 1px 44px);
  border-radius: 3px;
  box-shadow: var(--shadow-quilt);
}
.quilt::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(0, 61, 120, 0.28);
  border-radius: 2px;
  pointer-events: none;
}
.quilt > * {
  position: relative;
  z-index: 1;
}

.quilt-pad {
  padding: clamp(1.5rem, 3.4vw, 3.2rem);
}

/* the gold tag sewn onto a quilt corner */
.tag {
  position: absolute;
  right: clamp(1rem, 3vw, 2.6rem);
  top: -1rem;
  z-index: 3;
  display: grid;
  gap: 0.05rem;
  background: var(--gold);
  color: var(--navy-night);
  padding: 0.8rem 1.05rem 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.8);
  rotate: 1.5deg;
  max-width: 15rem;
}
.tag span {
  font-weight: 500;
  letter-spacing: 0;
  font-size: 0.74rem;
  opacity: 0.78;
}
.tag::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 34px;
  height: 20px;
  border: 2px dashed rgba(253, 183, 0, 0.75);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  translate: -50% 0;
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(1.2rem, 3vw, 2.4rem);
}
.hero-quilt {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  gap: clamp(1.4rem, 3.4vw, 3rem);
  align-items: center;
  padding: clamp(4rem, 5vw, 3.4rem) clamp(1.5rem, 3.4vw, 3.4rem) clamp(1.6rem, 3vw, 2.6rem);
}
.hero-copy {
  display: grid;
  gap: 1.1rem;
  align-content: center;
  padding-top: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.7rem);
  color: var(--navy);
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-display);
  background-image: var(--stitch-gold);
  background-repeat: repeat-x;
  background-size: 18px 6px;
  background-position: 0 96%;
  padding-bottom: 0.06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero .lede {
  color: #33465a;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  max-width: 44ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.3rem;
}
.hero-note {
  font-size: 0.9rem;
  color: #4a5c6d;
}
/* foto suasana di bawah hero; hanya muncul kalau pemilik mengunggahnya */
.hero-photo {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0;
  border: 1px solid rgba(0, 61, 120, 0.18);
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #e9e2d4;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.patch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  align-content: center;
}
.patch {
  background: #fffdf8;
  border: 1.5px solid rgba(0, 61, 120, 0.2);
  padding: 0.9rem 0.9rem 0.85rem;
  text-decoration: none;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.7rem;
  min-height: 118px;
  align-content: stretch;
  box-shadow: 0 12px 22px -20px rgba(0, 40, 79, 0.8);
  outline: 2px dashed rgba(0, 61, 120, 0.13);
  outline-offset: -6px;
  transition: translate 0.18s ease, box-shadow 0.18s ease;
}
.patch:hover {
  translate: 0 -3px;
  box-shadow: 0 22px 30px -22px rgba(0, 40, 79, 0.85);
}
.patch-icon {
  width: 28px;
  height: 28px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.patch > span {
  align-self: end;
}
.patch b {
  font-family: var(--display);
  color: var(--navy);
  font-size: 0.98rem;
  display: block;
}
.patch span {
  font-size: 0.74rem;
  color: var(--ink-soft);
  display: block;
  margin-top: 0.15rem;
}
.patch.is-primary {
  background: var(--navy);
  outline-color: rgba(253, 183, 0, 0.45);
}
.patch.is-primary .patch-icon {
  stroke: var(--gold);
}
.patch.is-primary b {
  color: var(--ivory);
}
.patch.is-primary span {
  color: rgba(251, 247, 239, 0.7);
}

/* ---------- section headings + seam ---------- */
.section {
  padding-block: clamp(3rem, 6vw, 5.2rem);
}
.seam {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(253, 183, 0, 0.65);
  width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.seam::before,
.seam::after {
  content: "";
  flex: 1;
  height: 6px;
  background-image: var(--stitch-run-gold);
  background-size: 26px 6px;
  background-repeat: repeat-x;
  background-position: 0 50%;
  opacity: 0.6;
}
.seam svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--gold);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}
.section-head h1,
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--ivory);
  max-width: 18ch;
}
.section-head p {
  color: var(--on-night);
  max-width: 42ch;
  justify-self: end;
}
.section-head.on-quilt h1,
.section-head.on-quilt h2 {
  color: var(--navy);
}
.section-head.on-quilt p {
  color: #4a5c6d;
}

/* ---------- steps (a real sequence: 1-2-3) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  counter-reset: step;
}
.step {
  border-top: 1px dashed rgba(253, 183, 0, 0.4);
  padding-top: 1.1rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.85rem;
}
.step h3 {
  font-size: 1.16rem;
  color: var(--ivory);
  margin-bottom: 0.4rem;
}
.step p {
  color: var(--on-night);
  font-size: 0.94rem;
}

/* ---------- product cards: sewn cloth tags ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.8rem);
}
.product-card {
  position: relative;
  background: var(--ivory);
  color: var(--ink);
  border-radius: 3px;
  text-decoration: none;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.9);
  transition: translate 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}
.product-card:hover {
  translate: 0 -4px;
  box-shadow: 0 30px 48px -32px rgba(0, 0, 0, 0.95);
}
.swatch {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border-bottom: 2px dashed rgba(0, 61, 120, 0.28);
  background: linear-gradient(140deg, #dfe6ea 0%, #eef1ea 45%, #d9cdb7 100%);
}
.swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 4px);
  opacity: 0.7;
  pointer-events: none;
}
.swatch.is-empty::before {
  content: "foto menyusul";
  position: absolute;
  inset: auto 0.7rem 0.65rem auto;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 40, 79, 0.5);
  font-weight: 700;
  z-index: 2;
}
.tone-linen { background: linear-gradient(140deg, #e8e3d8 0%, #d6cfc2 60%, #c3b9a8 100%); }
.tone-wheat { background: linear-gradient(140deg, #f0e6d2 0%, #ddcba8 60%, #cbb489 100%); }
.tone-mist { background: linear-gradient(140deg, #dfe7ec 0%, #c3d3de 55%, #a7bcc9 100%); }
.tone-slate { background: linear-gradient(140deg, #dfe2e8 0%, #b3bcc9 60%, #8e9aac 100%); }
.tone-sage { background: linear-gradient(140deg, #e3e6dc 0%, #c9cfbc 60%, #aeb7a0 100%); }
.tone-clay { background: linear-gradient(140deg, #e9dcd2 0%, #d8c1ae 60%, #c3a78f 100%); }

.product-body {
  padding: 1rem 1.05rem 1.1rem;
  display: grid;
  gap: 0.4rem;
  align-content: start;
}
.product-name {
  font-family: var(--display);
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.product-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.product-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(0, 61, 120, 0.22);
}
.price {
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}
.price small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.badge {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--navy-night);
  background: var(--gold);
  padding: 0.2rem 0.45rem;
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 3;
  box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.6);
}
.product-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ---------- category chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--on-night-strong);
  padding: 0.5rem 0.95rem;
  border: 1.5px dashed rgba(251, 247, 239, 0.3);
  border-radius: 999px;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.chip:hover {
  border-color: var(--gold);
  color: var(--ivory);
}
.chip[aria-current="page"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-night);
  font-weight: 700;
}
.chip i {
  font-style: normal;
  font-size: 0.72rem;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

/* ---------- catalog: live search ---------- */
.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.catalog-search {
  position: relative;
  flex: 1 1 18rem;
  max-width: 26rem;
}
.catalog-search input {
  width: 100%;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ivory);
  background: rgba(251, 247, 239, 0.07);
  border: 1.5px solid rgba(251, 247, 239, 0.26);
  border-radius: 999px;
  padding: 0.62rem 2.4rem 0.62rem 2.55rem;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.catalog-search input::placeholder {
  color: rgba(251, 247, 239, 0.5);
}
.catalog-search input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: transparent;
  background: rgba(251, 247, 239, 0.12);
}
/* sembunyikan tombol bawaan WebKit; kita punya tombol sendiri */
.catalog-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.catalog-search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  translate: 0 -50%;
  width: 18px;
  height: 18px;
  color: rgba(251, 247, 239, 0.55);
  pointer-events: none;
}
.catalog-search-clear {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  translate: 0 -50%;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.catalog-search-clear:hover {
  background: rgba(253, 183, 0, 0.12);
}
.catalog-search-clear[hidden] {
  display: none;
}
.catalog-count {
  font-size: 0.86rem;
  color: var(--on-night);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.catalog-empty {
  border: 1.5px dashed rgba(251, 247, 239, 0.25);
  border-radius: 3px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  text-align: center;
}
.catalog-empty[hidden] {
  display: none;
}
.catalog-empty p:first-child {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ivory);
}
.catalog-empty .muted {
  color: var(--on-night);
}
/* kartu yang tidak cocok dengan pencarian benar-benar hilang */
.product-card[hidden] {
  display: none;
}

/* ---------- detail page ---------- */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: start;
}
.detail-plate {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: 0 24px 50px -34px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(0, 61, 120, 0.15);
}
.detail-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-plate.is-empty::after {
  content: "Slot foto produk · 4:3";
  position: absolute;
  inset: auto auto 0.8rem 0.9rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 40, 79, 0.55);
  font-weight: 700;
}
.detail-info {
  display: grid;
  gap: 1rem;
}
.detail-info h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  color: var(--navy);
  max-width: 18ch;
}
.detail-summary {
  color: #3d5062;
  max-width: 46ch;
}
.spec-list {
  margin: 0;
  display: grid;
  border-top: 1px dashed rgba(0, 61, 120, 0.24);
}
.spec-list div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(0, 61, 120, 0.24);
}
.spec-list dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
  padding-top: 0.2rem;
}
.spec-list dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.detail-buy {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.6rem;
}
.detail-buy .price {
  font-size: 1.7rem;
}
.detail-buy .price small {
  display: block;
  font-size: 0.72rem;
  margin-top: 0.2rem;
}
.detail-buy p {
  font-size: 0.85rem;
  color: #54687a;
}

/* ---------- prose blocks ---------- */
.prose {
  max-width: 66ch;
  color: #3d5062;
}
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.prose p + p {
  margin-top: 0.85rem;
}
.prose ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.prose li::marker {
  color: var(--gold-deep);
}

/* ---------- closing band: gold owns the conversation ---------- */
.closing {
  background: var(--gold);
  color: var(--navy-night);
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 12px;
  background-image: var(--stitch-run-navy);
  background-size: 26px 6px;
  background-repeat: repeat-x;
  background-position: 0 50%;
  opacity: 0.3;
}
.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
  padding-block: clamp(2.6rem, 5vw, 4rem);
}
.closing h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  max-width: 16ch;
}
.closing p {
  margin-top: 0.8rem;
  max-width: 42ch;
  color: rgba(0, 29, 59, 0.78);
}
.closing-actions {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
}
.closing-actions small {
  font-size: 0.8rem;
  color: rgba(0, 29, 59, 0.85);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid rgba(253, 183, 0, 0.22);
  padding-block: clamp(2rem, 4vw, 3.2rem) 2rem;
  color: var(--on-night);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  color: var(--gold);
}
.footer-brand img {
  height: 2.6rem;
}
.footer-col h3 {
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.footer-col a {
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(253, 183, 0, 0.25);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(251, 247, 239, 0.72);
}

/* ---------- floating whatsapp on phones ---------- */
.wa-float {
  display: none;
}

/* ---------- admin ---------- */
.admin-body {
  background: #f4efe3;
  color: var(--ink);
  background-image: repeating-linear-gradient(0deg, rgba(0, 61, 120, 0.035) 0 1px, transparent 1px 4px);
  min-height: 100vh;
}
.admin-header {
  background: var(--navy);
  color: var(--ivory);
  border-bottom: 3px solid var(--gold);
}
.admin-header .header-inner {
  padding-block: 0.8rem;
}
.admin-header .brand-text b {
  color: var(--ivory);
}
.admin-header .main-nav a {
  color: rgba(251, 247, 239, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
}
.admin-header .main-nav a:hover {
  color: var(--gold);
}
.admin-main {
  width: min(1080px, 100%);
  margin-inline: auto;
  padding: clamp(1.2rem, 3vw, 2.4rem) clamp(1rem, 3vw, 2rem) 4rem;
}
.admin-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.admin-title h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
}
.admin-title p {
  font-size: 0.9rem;
  color: #55677a;
  margin-top: 0.25rem;
}
.panel {
  background: #fffdf8;
  border: 1px solid rgba(0, 61, 120, 0.16);
  border-radius: 3px;
  box-shadow: 0 18px 36px -32px rgba(0, 40, 79, 0.7);
  padding: clamp(0.9rem, 2.4vw, 1.6rem);
}
.panel + .panel {
  margin-top: 1.1rem;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #61748a;
  font-weight: 700;
  padding: 0.55rem 0.6rem;
  border-bottom: 2px solid rgba(0, 61, 120, 0.14);
}
.table td {
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid rgba(0, 61, 120, 0.1);
  vertical-align: middle;
}
.table tr:last-child td {
  border-bottom: 0;
}
.table .name {
  font-weight: 600;
  color: var(--navy);
}
.table .thumb {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0, 61, 120, 0.16);
  background: var(--cloth);
}
.pill {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
}
.pill.published {
  background: #dff0dd;
  color: #1f5d2a;
}
.pill.draft {
  background: #f2e6c9;
  color: #7a5a12;
}
.row-actions {
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.icon-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 61, 120, 0.3);
  padding-bottom: 1px;
}
.icon-link:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}
.field {
  display: grid;
  gap: 0.3rem;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #56697d;
}
.field input,
.field textarea,
.field select {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(0, 61, 120, 0.28);
  border-radius: 2px;
  padding: 0.62rem 0.7rem;
  width: 100%;
}
.field textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.5;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--navy);
}
.field .hint {
  font-size: 0.76rem;
  color: var(--admin-hint);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.form-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(0, 61, 120, 0.2);
}
.notice {
  border: 1.5px dashed rgba(0, 61, 120, 0.3);
  background: #fffdf8;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.notice.ok {
  border-color: #7fae7a;
  background: #f2f8f0;
  color: #23562a;
}
.notice.error {
  border-color: #c98a78;
  background: #fdf1ed;
  color: #7a2f1c;
}
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.login-card {
  width: min(400px, 100%);
  background: #fffdf8;
  border-top: 4px solid var(--gold);
  box-shadow: 0 30px 60px -40px rgba(0, 40, 79, 0.9);
  padding: 1.8rem;
}
.login-card img {
  height: 3rem;
  margin-bottom: 1.2rem;
}
.login-card h1 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.login-card p {
  font-size: 0.9rem;
  color: #5b6d80;
  margin-bottom: 1.2rem;
}
.stack {
  display: grid;
  gap: 0.9rem;
}
.muted {
  color: #55677a;
  font-size: 0.86rem;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-quilt,
  .detail,
  .section-head,
  .closing-inner,
  .footer-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .section-head p {
    justify-self: start;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .detail-plate {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 1rem;
  }
  .wrap {
    --pad: 1.1rem;
  }
  .header-inner {
    padding-block: 0.7rem;
  }
  .site-header {
    position: static;
    backdrop-filter: none;
    background: var(--navy-night);
  }
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.1rem;
    padding-block: 0.62rem 0.55rem;
  }
  .main-nav {
    order: 3;
    flex: 1 0 100%;
    margin-left: 0;
    gap: 1.15rem;
    font-size: 0.84rem;
    padding-top: 0.42rem;
    border-top: 1px dashed rgba(253, 183, 0, 0.22);
  }
  .main-nav a[aria-current="page"] {
    padding-bottom: 0.3rem;
  }
  .header-wa {
    margin-left: auto;
    padding: 0.55rem 0.75rem;
    font-size: 0.84rem;
  }
  .brand-mark {
    height: 1.9rem;
  }
  .brand-text b {
    font-size: 0.98rem;
  }
  .brand-text span {
    font-size: 0.54rem;
    letter-spacing: 0.18em;
  }
  .hero-quilt {
    padding: 4.2rem 1.15rem 1.4rem;
    gap: 1.6rem;
  }
  .patch-grid {
    grid-template-columns: 1fr 1fr;
  }
  .patch {
    min-height: 0;
    padding: 0.8rem;
    gap: 0.9rem;
  }
  .patch span {
    font-size: 0.72rem;
    line-height: 1.4;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .product-body {
    padding: 0.68rem 0.7rem 0.78rem;
    gap: 0.24rem;
  }
  .product-name {
    font-size: 0.93rem;
    line-height: 1.22;
  }
  .product-meta {
    font-size: 0.72rem;
  }
  .product-foot {
    flex-wrap: wrap;
    gap: 0.25rem 0.45rem;
    margin-top: 0.22rem;
    padding-top: 0.5rem;
  }
  .price {
    font-size: 0.86rem;
  }
  .price small {
    font-size: 0.62rem;
  }
  .product-cta {
    font-size: 0.72rem;
  }
  .product-cta svg {
    width: 13px;
    height: 13px;
  }
  .badge {
    top: 0.45rem;
    left: 0.45rem;
    font-size: 0.56rem;
    padding: 0.16rem 0.34rem;
    letter-spacing: 0.08em;
  }
  .catalog-search {
    flex-basis: 100%;
    max-width: none;
  }
  .catalog-count {
    font-size: 0.8rem;
  }
  .section-head h1,
  .section-head h2 {
    max-width: none;
  }
  .tag {
    top: -0.85rem;
    right: 0.9rem;
    max-width: 9.5rem;
    font-size: 0.68rem;
    padding: 0.6rem 0.75rem 0.55rem;
    letter-spacing: 0.06em;
  }
  .tag span {
    font-size: 0.66rem;
    line-height: 1.3;
  }
  .tag::before {
    top: -14px;
    width: 26px;
    height: 16px;
  }
  .closing-actions {
    justify-items: stretch;
  }
  .spec-list div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .wa-float {
    display: inline-flex;
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 60;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--navy-night);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.8rem 1.05rem;
    border-radius: 999px;
    box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transform: translateY(140%);
    transition: opacity 0.2s ease, transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
  }
  .wa-float.is-on {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .wa-float svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
  }
  .site-footer {
    padding-bottom: 5.5rem;
  }
}

@media (max-width: 380px) {
  .patch-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* print: the label still works on paper */
@media print {
  body {
    background: #fff;
    color: #000;
  }
  .site-header,
  .wa-float,
  .closing {
    display: none;
  }
  .quilt {
    box-shadow: none;
    border: 1px solid #999;
  }
}
/* ---------- small bits referenced by templates ---------- */
.hr-stitch {
  height: 6px;
  background-image: var(--stitch-run-navy);
  background-size: 26px 6px;
  background-repeat: repeat-x;
  background-position: 0 50%;
  opacity: 0.4;
}
.mono-label {
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}
.product-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: -3px;
}
.product-cta svg {
  width: 15px;
  height: 15px;
}

/* ---------- admin: compact nav + card table on phones ---------- */
.admin-quick {
  display: none;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.admin-quick a,
.admin-quick button {
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  background: #fffdf8;
  border: 1.5px dashed rgba(0, 61, 120, 0.3);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  cursor: pointer;
}
.admin-quick a[aria-current="page"] {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
  border-style: solid;
}
@media (max-width: 760px) {
  .admin-quick {
    display: flex;
  }
  .admin-header .main-nav a:not(.btn) {
    display: none;
  }
  .admin-title {
    align-items: flex-start;
  }
  .admin-title .btn {
    width: 100%;
  }
  .panel-table {
    padding: 0.4rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
    width: 100%;
  }
  .table thead {
    display: none;
  }
  .table tr {
    background: #fffdf8;
    border: 1px solid rgba(0, 61, 120, 0.16);
    border-radius: 3px;
    margin-bottom: 0.7rem;
    padding: 0.75rem 0.85rem;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      "foto name"
      "foto cat"
      "foto price"
      "stat stat"
      "act act";
    gap: 0.15rem 0.8rem;
    align-items: start;
  }
  .table tr:last-child {
    margin-bottom: 0;
  }
  .table td {
    border: 0;
    padding: 0;
  }
  .table td[data-label="Foto"] {
    grid-area: foto;
  }
  .table td.cell-name {
    grid-area: name;
  }
  .table td.cell-name .slugline {
    display: block;
    font-size: 0.72rem;
    margin-top: 0.1rem;
    word-break: break-all;
  }
  .table td[data-label="Kategori"] {
    grid-area: cat;
    font-size: 0.82rem;
    color: #55677a;
  }
  .table td[data-label="Harga"] {
    grid-area: price;
    font-size: 0.86rem;
    color: #55677a;
  }
  .table td[data-label="Status"] {
    grid-area: stat;
    margin-top: 0.5rem;
  }
  .table td.cell-actions {
    grid-area: act;
    margin-top: 0.5rem;
    padding-top: 0.55rem;
    border-top: 1px dashed rgba(0, 61, 120, 0.16);
  }
  .table td.cell-actions .row-actions {
    justify-content: flex-start;
    gap: 1rem;
  }
  .table .thumb {
    width: 64px;
    height: 52px;
  }
}

/* standalone inline icons */
.icn {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}
.icn-lg {
  width: 2.2rem;
  height: 2.2rem;
  margin-inline: auto;
  color: var(--navy);
  stroke-width: 1.3;
}

/* ---------- admin search ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.admin-search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.admin-search input {
  flex: 1 1 16rem;
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid rgba(0, 61, 120, 0.28);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
}
.admin-search input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--navy);
}
.admin-search .btn {
  --fg: var(--navy);
}

/* admin table: keep the slug on its own line at every width */
.table .cell-name .slugline {
  display: block;
  font-size: 0.78rem;
  color: #6b7d90;
  margin-top: 0.08rem;
  word-break: break-word;
}
.table td[data-label="Status"] {
  white-space: nowrap;
}

/* ---------- home: two-column prose inside the quilt ---------- */
.prose-columns {
  max-width: none;
  columns: 2;
  column-gap: clamp(1.6rem, 3vw, 2.8rem);
  column-rule: 1px dashed rgba(0, 61, 120, 0.2);
}
.prose-columns p {
  margin-top: 0;
  break-inside: avoid;
}
@media (max-width: 720px) {
  .prose-columns {
    columns: 1;
    column-rule: 0;
  }
  .prose-columns p + p {
    margin-top: 0.85rem;
  }
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px dashed rgba(253, 183, 0, 0.35);
  padding: 1.05rem 0;
}
.faq:last-of-type {
  border-bottom: 1px dashed rgba(253, 183, 0, 0.35);
}
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.06rem;
  color: var(--ivory);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--gold-pale);
}
.faq-mark {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.18s ease;
}
.faq-mark::before {
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
}
.faq-mark::after {
  top: 0;
  bottom: 0;
  left: 6px;
  width: 2px;
}
.faq[open] .faq-mark::after {
  transform: scaleY(0);
}
.faq p {
  margin-top: 0.7rem;
  color: var(--on-night);
  max-width: 72ch;
}

/* ---------- admin photo panel ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}
.photo-grid input[type="file"] {
  width: 100%;
  font-family: var(--body);
  font-size: 0.88rem;
  background: #fff;
  border: 1.5px dashed rgba(0, 61, 120, 0.3);
  border-radius: 2px;
  padding: 0.55rem;
}
.photo-grid input[type="file"]::file-selector-button {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy-night);
  background: var(--gold);
  border: 0;
  border-radius: 2px;
  padding: 0.4rem 0.65rem;
  margin-right: 0.6rem;
  cursor: pointer;
}
/* tombol unggah jangan melebar selebar panel */
.photo-grid form .btn {
  justify-self: start;
}
@media (max-width: 700px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-grid > div:first-child img,
  .photo-grid > div:first-child > div {
    max-width: 280px;
  }
}

/* ---------- admin danger zone ---------- */
.danger-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  border-color: rgba(138, 47, 28, 0.35);
  background: #fdf6f3;
}
.danger-panel h2 {
  font-size: 1rem;
  color: #8a2f1c;
  margin-bottom: 0.35rem;
}
.danger-panel p {
  max-width: 62ch;
  margin: 0;
  font-size: 0.88rem;
}
.btn-danger {
  --fg: #8a2f1c;
  --edge: rgba(138, 47, 28, 0.45);
  color: #8a2f1c;
  background: #fff;
  border: 1.5px solid rgba(138, 47, 28, 0.45);
  white-space: nowrap;
}
.btn-danger:hover {
  background: #8a2f1c;
  color: #fff;
  border-color: #8a2f1c;
}
.btn-danger::after {
  display: none;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.4rem, 3vw, 2.8rem);
  align-items: start;
}
@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .contact-grid .spec-list div {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }
}

.map-slot {
  border: 1.5px dashed rgba(0, 61, 120, 0.3);
  background: #fffdf8;
  aspect-ratio: 4 / 3;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 1.2rem;
  gap: 0.15rem;
}
.map-slot .icn-lg {
  margin-bottom: 0.5rem;
  opacity: 0.75;
}
.map-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
}
.map-note {
  font-size: 0.8rem;
  color: var(--admin-hint);
  max-width: 26ch;
}
/* kartu peta / foto showroom */
.map-slot.map-link {
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.map-slot.map-link:hover {
  border-color: var(--navy);
  background: #fff;
}
.map-slot.has-photo {
  position: relative;
  padding: 0;
  border-style: solid;
  overflow: hidden;
  display: block;
}
.map-slot.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.map-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: block;
  padding: 1.8rem 0.85rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, transparent, rgba(0, 29, 59, 0.88));
}
a.map-caption:hover {
  text-decoration: underline;
}

/* foto di halaman tentang */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: start;
}
.about-split > div:only-child {
  grid-column: 1 / -1;
}
.about-photo {
  margin: 0.3rem 0 0;
  border: 1px solid rgba(0, 61, 120, 0.18);
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  box-shadow: 0 22px 40px -32px rgba(0, 40, 79, 0.8);
  background: #e9e2d4;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 760px) {
  .about-split {
    grid-template-columns: 1fr;
  }
  .about-photo {
    aspect-ratio: 4 / 3;
  }
  .hero-photo {
    aspect-ratio: 4 / 3;
  }
}

/* judul kelompok di halaman pengaturan admin */
.settings-group h2 {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #61748a;
  margin-bottom: 0.9rem;
}

/* honeypot: present for bots, invisible to people, never affects layout */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-note {
  margin-top: 1rem;
  max-width: 38ch;
  font-size: 0.9rem;
  color: #4a5c6d;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(253, 183, 0, 0.6);
}

/* admin header keeps its logout on the same row as the brand on phones */
@media (max-width: 760px) {
  .admin-nav {
    order: 1;
    flex: 0 0 auto;
    margin-left: auto;
    padding-top: 0;
    border-top: 0;
  }
  .admin-header .header-inner {
    flex-wrap: nowrap;
  }
  .admin-nav .btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.84rem;
  }
}
