/* ===== sudi. : gaya website (elegan, minimalis, soft pink & putih) ===== */
:root {
  --white: #FFFFFF;
  --blush-50: #FFF8F9;
  --blush-100: #FDEFF2;
  --blush-200: #F9DDE3;
  --blush-300: #F2C4CE;
  --rose: #C27A8B;
  --rose-deep: #A85F71;
  --ink: #3A2E31;
  --ink-soft: #7D6D71;
  --line: #F0DCE1;
  --ok: #5E8F6E;
  --danger: #B4544F;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(168, 95, 113, .22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --script: 'Great Vibes', cursive;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.65 var(--sans); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.ico { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-sm { max-width: 760px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* ---- Tipografi ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.01em; }
.display { font-size: clamp(2.5rem, 6.5vw, 4.4rem); }
.h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.h3 { font-size: 1.6rem; }
.script { font-family: var(--script); font-weight: 400; color: var(--rose); letter-spacing: 0; line-height: .9; }
.display { line-height: 1.3; }
.display .script { font-size: 1.22em; padding: 0 .05em; line-height: 1; }
.h2 .script { font-size: 1.25em; }
.eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); margin-bottom: 12px; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 36em; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.center { text-align: center; }
.mt { margin-top: 24px; }
.mb { margin-bottom: 24px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--blush-300); margin: 14px auto; max-width: 220px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: currentColor; }

/* ---- Header ---- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { font-family: var(--script); font-size: 2.3rem; line-height: 1; text-decoration: none; color: var(--ink); display: inline-flex; align-items: baseline; }
.logo i { font-style: normal; color: var(--rose); font-family: var(--serif); font-size: 2.6rem; margin-left: 1px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .93rem; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--rose-deep); }
@media (max-width: 760px) { .nav .hide-m { display: none; } .nav { gap: 12px; } }

/* ---- Butang ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 .95rem var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  color: #fff; background: var(--rose); border: 1px solid var(--rose); border-radius: 999px;
  padding: .82em 1.6em; transition: background .2s, transform .2s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.ghost { background: transparent; color: var(--rose-deep); border-color: var(--blush-300); }
.btn.ghost:hover { background: var(--blush-50); box-shadow: none; }
.btn.soft { background: var(--blush-100); color: var(--rose-deep); border-color: var(--blush-100); }
.btn.soft:hover { background: var(--blush-200); box-shadow: none; }
.btn.wa { background: #4E9D6A; border-color: #4E9D6A; }
.btn.wa:hover { background: #3F8458; }
.btn.danger { background: transparent; color: var(--danger); border-color: #EBC7C4; }
.btn.sm { font-size: .84rem; padding: .55em 1.1em; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---- Kad / panel ---- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.panel.tint { background: var(--blush-50); }
.panel.raised { box-shadow: var(--shadow); }
@media (max-width: 520px) { .panel { padding: 20px 18px; } }

/* ---- Notis & lencana ---- */
.flash { display: flex; gap: .6em; align-items: flex-start; background: #F1F8F3; border: 1px solid #D4E8DA; color: #2F5E3F; border-radius: 14px; padding: 12px 16px; margin: 18px 0; font-weight: 500; }
.flash.warn { background: #FFF8E8; border-color: #F3E3B8; color: #7A5A12; }
.flash.bad { background: #FDF1F0; border-color: #F2CFCB; color: #8E3B36; }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .04em; padding: .3em .85em; border-radius: 999px; background: var(--blush-100); color: var(--rose-deep); white-space: nowrap; }
.badge.active { background: #E7F3EA; color: #2F6A44; }
.badge.pending_verification { background: #FFF3D6; color: #7A5A12; }
.badge.rejected { background: #FBE3E1; color: #8E3B36; }

/* ---- Borang ---- */
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.hint { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-soft); margin-top: 2px; }
.field { margin-bottom: 18px; }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=time],
input[type=number], input[type=password], input[type=url], select, textarea {
  width: 100%; font: 1rem var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #E6D3D8; border-radius: 12px; padding: .78em .95em; outline: none;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--rose) 50%), linear-gradient(135deg, var(--rose) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4em; }
textarea { resize: vertical; min-height: 92px; }
input:focus, select:focus, textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(194,122,139,.14); }
input[type=file] { font: .9rem var(--sans); width: 100%; padding: 14px; border: 1.5px dashed var(--blush-300); border-radius: 14px; background: var(--blush-50); cursor: pointer; }
.check { display: flex; gap: .65em; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 1.15em; height: 1.15em; margin-top: .22em; accent-color: var(--rose); flex-shrink: 0; }
.err { color: var(--danger); font-size: .84rem; font-weight: 500; margin-top: 5px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.form-sec { padding: 26px 0; border-top: 1px solid var(--line); }
.form-sec:first-of-type { border-top: 0; padding-top: 4px; }
.form-sec-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.form-sec-head .n { font-family: var(--serif); font-size: 1.1rem; color: var(--rose); font-style: italic; }
.form-sec-head h2 { font-size: 1.65rem; margin: 0; }
.form-sec-head .opt { font-size: .8rem; color: var(--ink-soft); }

/* Pilihan bahasa / toggle kad */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid #E6D3D8; border-radius: 14px; cursor: pointer; font-weight: 600; transition: all .15s; }
.seg label small { font-weight: 400; color: var(--ink-soft); font-size: .8rem; }
.seg input:checked + label { border-color: var(--rose); background: var(--blush-50); box-shadow: inset 0 0 0 1px var(--rose); }
.seg input:focus-visible + label { outline: 2px solid var(--rose); outline-offset: 2px; }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-bottom: 12px; }
.thumb-item { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--blush-100); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.thumb-item label { position: absolute; inset: auto 6px 6px 6px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 4px; background: rgba(255,255,255,.92); border-radius: 8px; font-size: .74rem; font-weight: 600; padding: 4px; cursor: pointer; }
.thumb-item label input { accent-color: var(--danger); margin: 0; }
.thumb-item.removing img { opacity: .3; }
.thumb-item.new { outline: 2px solid var(--rose); outline-offset: -2px; }
.collapse[hidden] { display: none; }

/* ---- Laman utama ---- */
.hero { padding: 64px 0 72px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--blush-100), var(--blush-200) 70%); }
.hero-art::after { content: ""; position: absolute; width: 104%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--blush-200); }
.phone { position: relative; z-index: 1; width: 248px; height: 500px; background: #fff; border-radius: 38px; padding: 9px; box-shadow: 0 30px 60px -20px rgba(168,95,113,.45), 0 0 0 1px var(--line); }
.phone-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; position: relative; background: var(--blush-50); }
.phone-screen iframe { width: 375px; height: 724px; border: 0; transform: scale(.6133); transform-origin: 0 0; pointer-events: none; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; color: var(--ink-soft); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { color: var(--rose); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 40px 0 56px; gap: 40px; }
  .hero .lead { margin: 0 auto; }
  .hero-cta, .trust { justify-content: center; }
}

.section { padding: 84px 0; }
.section.tint { background: var(--blush-50); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
@media (max-width: 640px) { .section { padding: 60px 0; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--blush-300); }
.step h3 { font-size: 1.4rem; margin: 10px 0 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.tpl { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.tpl:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tpl-thumb { height: 300px; background: var(--blush-50); overflow: hidden; position: relative; }
.tpl-thumb iframe { width: 375px; height: 600px; border: 0; transform: scale(.75); transform-origin: 0 0; pointer-events: none; position: absolute; left: 50%; margin-left: -140px; }
.tpl-body { padding: 18px 20px 20px; }
.tpl-body h3 { font-size: 1.55rem; margin: 0 0 2px; }
.swatch { display: flex; gap: 6px; margin: 10px 0 12px; }
.swatch span { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.tpl.soon .tpl-thumb { display: grid; place-items: center; }
.tpl.soon .tpl-thumb span { font-family: var(--script); font-size: 2.4rem; color: var(--rose); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .fi { width: 42px; height: 42px; border-radius: 12px; background: var(--blush-100); color: var(--rose-deep); display: grid; place-items: center; margin-bottom: 12px; }
.feature .fi svg { width: 21px; height: 21px; }
.feature h3 { font-family: var(--sans); font-weight: 700; font-size: 1rem; margin: 0 0 4px; letter-spacing: 0; }
.feature p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

.price-card { max-width: 440px; margin: 0 auto; text-align: center; padding: 36px 30px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.price { font-family: var(--serif); font-size: 4.2rem; line-height: 1; margin: 8px 0 2px; }
.price small { font-size: 1.4rem; vertical-align: top; color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 22px 0 26px; text-align: left; }
.ticks li { display: flex; gap: 10px; padding: 7px 0; font-size: .94rem; border-bottom: 1px dashed var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks svg { color: var(--rose); margin-top: 3px; }

.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rose); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }

.site-foot { border-top: 1px solid var(--line); padding: 36px 0; text-align: center; font-size: .86rem; color: var(--ink-soft); }
.site-foot .logo { font-size: 2rem; }

/* ---- Halaman urus ---- */
.page-head { padding: 36px 0 8px; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.stepper { display: flex; gap: 0; margin: 18px 0 26px; counter-reset: st; }
.stepper .s { flex: 1; position: relative; text-align: center; font-size: .78rem; font-weight: 600; color: var(--ink-soft); padding-top: 34px; }
.stepper .s::before { counter-increment: st; content: counter(st); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--blush-300); font-size: .78rem; z-index: 1; }
.stepper .s::after { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 1px; background: var(--blush-300); }
.stepper .s:first-child::after { display: none; }
.stepper .s.done { color: var(--ink); }
.stepper .s.done::before { content: "✓"; background: var(--rose); border-color: var(--rose); color: #fff; }
.stepper .s.now { color: var(--rose-deep); }
.stepper .s.now::before { border-color: var(--rose); color: var(--rose-deep); box-shadow: 0 0 0 4px var(--blush-100); }

.linkbox { display: flex; gap: 8px; }
.linkbox input { flex: 1; min-width: 0; font-family: ui-monospace, Menlo, monospace; font-size: .85rem; background: var(--blush-50); }
@media (max-width: 480px) { .linkbox { flex-direction: column; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 12px; text-align: center; }
.stat .v { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--rose-deep); }
.stat .l { font-size: .78rem; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
table.tbl th { text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; border-bottom: 1px solid var(--line); padding: 10px 8px; }
table.tbl td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--danger); font-weight: 700; }

/* Senarai RSVP versi telefon */
.rsvp-cards { display: none; }
@media (max-width: 640px) {
  .rsvp-table { display: none; }
  .rsvp-cards { display: grid; gap: 10px; }
  .rsvp-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
  .rsvp-card .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
}

.pay-grid { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.qr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.qr img { width: 100%; height: auto; }
.ref { font-family: ui-monospace, monospace; background: var(--blush-100); color: var(--rose-deep); padding: .1em .45em; border-radius: 6px; font-weight: 700; }
@media (max-width: 640px) { .pay-grid { grid-template-columns: 1fr; } .qr { max-width: 240px; margin: 0 auto; } }

/* ---- Admin ---- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs a { text-decoration: none; font-size: .88rem; font-weight: 600; padding: .5em 1.1em; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }
.tabs a.on { background: var(--rose); border-color: var(--rose); color: #fff; }
.adm-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; margin-bottom: 14px; }
.receipt-thumb { width: 120px; height: 160px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--blush-50); }
@media (max-width: 640px) { .adm-card { grid-template-columns: 1fr; } }

/* ---- Tarikh & masa di telefon ----
   iPhone memaparkan kotak tarikh kosong sebagai bar kosong: tambah ketinggian, ikon kalendar & teks petunjuk */
input[type=date], input[type=time] {
  min-height: 50px; text-align: left; padding-right: 2.8em; cursor: pointer;
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C27A8B' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");
}
input[type=time] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C27A8B' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");
}
input[type=date]::-webkit-date-and-time-value, input[type=time]::-webkit-date-and-time-value { text-align: left; }
/* Ikon asal pelayar disembunyikan tetapi masih boleh ditekan (ikon kita di tempat yang sama) */
input[type=date]::-webkit-calendar-picker-indicator, input[type=time]::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }
/* iPhone: teks petunjuk bila kotak tarikh masih kosong */
.ios input[type=date].is-empty::before { content: attr(placeholder); color: #A8959A; }
.ios input[type=date].is-empty:focus::before { content: none; }

/* ---- Butang WhatsApp terapung (hubungi pemilik sudi.) ---- */
.wa-float {
  position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 50;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  background: #25D366; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem;
  border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(18,140,75,.6); transition: transform .2s, box-shadow .2s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(18,140,75,.7); }
@media (max-width: 480px) { .wa-float span { display: none; } .wa-float { padding: 13px; } }
/* Elak butang terapung menutup bahagian bawah halaman */
.site-foot { padding-bottom: 90px; }

/* ---- Kotak pautan lokasi (Google Maps / Waze) dalam borang ---- */
.map-box { margin: 4px 0 22px; padding: 16px 16px 14px; border: 1px dashed var(--line, #EBD3D9); border-radius: 16px; background: #FFF9FA; }
.map-box label .rec { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #E7F6EC; color: #1F7A45; font-size: .72rem; font-weight: 700; vertical-align: 1px; }
.map-box label .opt { margin-left: 6px; font-size: .8rem; font-weight: 400; color: var(--ink-soft); }

/* ---- Admin: senarai reka bentuk (papar / sembunyi) ---- */
.dz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.dz { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: start; }
.dz-thumb { width: 92px; height: 164px; object-fit: cover; border-radius: 12px; box-shadow: 0 6px 16px -10px rgba(0,0,0,.4); }
.dz.is-hidden .dz-thumb { filter: grayscale(.85); opacity: .55; }
.dz.is-hidden { background: #FBF8F8; }

/* ---- Tambahan galeri tetamu dalam borang & halaman galeri sahaja ---- */
.gg-addon { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; padding: 16px; border-radius: 16px; background: #FFF9FA; border: 1px dashed var(--line, #EBD3D9); }
.gg-addon img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: #fff; padding: 5px 5px 16px; box-shadow: 0 8px 16px -10px rgba(0,0,0,.45); transform: rotate(-3deg); }
@media (max-width: 480px) { .gg-addon { grid-template-columns: 1fr; } .gg-addon img { width: 110px; } }
.design-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.design-pick label { position: relative; cursor: pointer; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: #fff; text-align: center; font-weight: 700; font-size: .82rem; padding-bottom: 6px; }
.design-pick input { position: absolute; opacity: 0; pointer-events: none; }
.design-pick img { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; display: block; margin-bottom: 4px; }
.design-pick input:checked + span { position: absolute; inset: 0; border: 3px solid var(--rose); border-radius: 12px; }
.design-pick label:has(input:checked) { border-color: var(--rose); }
.gg-wall-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 420px; margin: 0 auto; }
.gg-wall-demo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #fff; padding: 5px 5px 18px; box-shadow: 0 10px 18px -12px rgba(0,0,0,.5); transform: rotate(-2deg); }
.gg-wall-demo img:nth-child(2n) { transform: rotate(2.5deg); }
.gg-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gg-admin-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.gg-admin-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.gg-admin-item form { margin-top: auto; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; max-width: 920px; margin: 0 auto; align-items: start; }
.price-grid .price-card { max-width: none; margin: 0; }
