/* ClipeDeVis — homepage-only sections. Tokens, header, footer, buttons and pricing live in site.css. */
.abnb { overflow-x: clip; }
.abnb a { color: var(--a-ink); }
.a-wrap { max-width: var(--a-max); margin: 0 auto; padding: 0 var(--a-gutter); }

/* ---------- hero ---------- */
.a-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 56px); text-align: center; }
.a-hero h1 { max-width: 18ch; margin: 0 auto 16px; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.abnb .a-lead, .abnb .a-head p, .abnb .a-final p { text-wrap: balance; }
.a-lead { max-width: 58ch; margin: 0 auto 36px; font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.55; color: var(--a-muted); }

.abnb .a-sample { display: inline-block; padding: 6px 12px; border: 1px dashed var(--a-border-strong); border-radius: 8px; font-size: 14px; }

/* ---------- photo placeholders (thumbnails inside the product mockups) ---------- */
.a-ph { position: relative; overflow: hidden; background-color: #2a2230; }
.ph-1 { background:
  radial-gradient(circle at 12% 18%, #FFE7A8 0 1.4%, transparent 2.8%), radial-gradient(circle at 30% 12%, #FFD27A 0 1.2%, transparent 2.6%),
  radial-gradient(circle at 50% 20%, #FFE7A8 0 1.4%, transparent 2.8%), radial-gradient(circle at 70% 13%, #FFD27A 0 1.2%, transparent 2.6%),
  radial-gradient(circle at 88% 19%, #FFE7A8 0 1.4%, transparent 2.8%),
  radial-gradient(60% 40% at 30% 85%, rgba(255, 120, 150, .55), transparent 70%), radial-gradient(50% 50% at 80% 70%, rgba(255, 170, 90, .45), transparent 70%),
  linear-gradient(170deg, #3B2A5C 0%, #8A3C6E 45%, #E0775C 80%, #F4B26B 100%); }
.ph-2 { background: radial-gradient(circle at 30% 35%, rgba(255, 244, 214, .9) 0 9%, transparent 16%), radial-gradient(circle at 70% 60%, rgba(255, 226, 170, .7) 0 11%, transparent 18%), linear-gradient(150deg, #C99A5B 0%, #8C5A3C 55%, #4A2E2A 100%); }
.ph-3 { background: radial-gradient(45% 60% at 25% 20%, rgba(255, 61, 139, .75), transparent 70%), radial-gradient(45% 60% at 80% 30%, rgba(90, 120, 255, .7), transparent 70%), linear-gradient(180deg, #1B1530, #2C1E46); }
.ph-4 { background: radial-gradient(45% 35% at 50% 18%, rgba(255, 250, 230, .9), transparent 70%), linear-gradient(180deg, #F3E3C6 0%, #C8D7A8 55%, #6F9A64 100%); }
.ph-5 { background: radial-gradient(circle at 38% 32%, #FFE7A8 0 4%, transparent 8%), radial-gradient(circle at 62% 32%, #FFE7A8 0 4%, transparent 8%), radial-gradient(36% 22% at 50% 66%, #FCEEF2 0 60%, transparent 62%), linear-gradient(180deg, #5B3348, #2E1C2A); }
.ph-7 { background: radial-gradient(circle at 70% 30%, rgba(255, 244, 214, .85) 0 8%, transparent 14%), linear-gradient(140deg, #E9A27A, #B4536A 60%, #5A2E4E); }

/* ---------- sections ---------- */
.a-section { padding: 64px 0; }
.a-section-line { padding-top: 0; }
.a-section-line > .a-wrap { position: relative; padding-top: 64px; }
.a-section-line > .a-wrap::before { content: ""; position: absolute; top: 0; left: var(--a-gutter); right: var(--a-gutter); height: 1px; background: var(--a-hairline-soft); }
.a-head { max-width: 640px; margin-bottom: 32px; }
.a-head h2, .a-faq-side h2, .a-final h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.2; }
.a-head p { margin: 0; font-size: 16px; color: var(--a-muted); }
.a-note { margin: 32px 0 0; font-size: 14px; color: var(--a-muted); }
.a-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 80px; align-items: start; }
.a-split > .a-head { margin-bottom: 0; }
@media (max-width: 900px) { .a-split { grid-template-columns: 1fr; } }

/* ---------- how it works: four product moments ---------- */
.a-scene { padding-top: 16px; }
.a-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; }
.a-steps h3 { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 4px; font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.a-step-n { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--a-surface-strong); font: 600 12px/1 var(--a-font); translate: 0 -1px; }
.a-steps p { margin: 0; font-size: 14px; line-height: 1.43; color: var(--a-muted); }
.a-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--a-r-md); background: var(--a-surface-soft); }
.a-stage-table { background: #F4EEE6; }
.a-stage-phone { background: #FCEEF3; }
.a-stage-tv { background: #ECEAF2; }
@media (max-width: 1127px) { .a-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .a-steps { grid-template-columns: 1fr; } .a-stage { aspect-ratio: 4 / 3; } }
@media (max-width: 350px) { .a-stage { aspect-ratio: 1 / 1; } }

.m-qr { display: block; width: 56px; height: 56px; color: var(--a-ink); }
.m-qr path { shape-rendering: crispEdges; }
/* Real, scannable codes: 3px per module (25 and 29 modules) keeps them sharp. */
.m-qr-owner { flex: none; width: 75px; height: 75px; }
.m-scan { position: relative; display: block; width: 87px; margin: 8px auto 10px; }
.m-qr-lg { width: 100%; height: auto; aspect-ratio: 1; }

/* 1 — owner card */
.m-owner { width: max(72%, 202px); padding: 18px; border-radius: var(--a-r-md); background: #fff; box-shadow: var(--a-shadow); font-size: 12px; line-height: 1.35; }
.m-owner b { display: block; font-size: 14px; font-weight: 600; }
.m-owner-name { display: block; margin: 2px 0 14px; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-ok { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 10px; border-radius: 50%; background: var(--a-success-soft); color: var(--a-success); }
.m-ok svg { width: 14px; height: 14px; }
.m-owner-row { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--a-hairline-soft); }
.m-owner-row small { display: block; color: var(--a-muted); font-size: 11px; }
.m-pin { display: block; font: 600 17px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; font-variant-numeric: tabular-nums; }

/* 2 — table tent card */
.m-tent { display: flex; flex-direction: column; align-items: center; width: 62%; padding: 18px 14px 14px; border-radius: 6px; background: #fff; text-align: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 18px 24px -14px rgba(60, 40, 20, .35); transform: perspective(500px) rotateX(8deg); }
.m-tent-name { font-size: 10px; letter-spacing: .02em; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.m-tent-title { margin-top: 4px; font-size: 13px; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.m-tent small { font-size: 10px; color: var(--a-muted); }

/* 3 — guest phone */
.m-phone { display: flex; flex-direction: column; gap: 8px; width: 50%; height: 86%; margin-top: 22%; padding: 14px 10px 0; border-radius: 26px 26px 0 0;
  background: #fff; box-shadow: 0 0 0 6px #1d1d1f, var(--a-shadow); }
.m-phone-head { font-size: 10px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-phone-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 10px; border-radius: 8px; background: var(--a-primary); color: #fff; font-size: 10.5px; font-weight: 600; line-height: 1.1; text-align: center; }
.m-phone-btn svg { width: 12px; height: 12px; flex: none; }
.m-phone-progress span { display: grid; font-size: 9px; color: var(--a-muted); }
.m-phone-progress em { grid-area: 1 / 1; font-style: normal; }
.m-phone-progress .m-done { opacity: 0; }
.m-phone-progress i { display: block; height: 4px; margin-top: 3px; border-radius: 4px; background: var(--a-surface-strong); overflow: hidden; }
.m-phone-progress b { display: block; height: 100%; width: 64%; border-radius: 4px; background: var(--a-primary); }
.m-phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.m-phone-grid span { aspect-ratio: 1; border-radius: 3px; }

/* 4 — TV slideshow */
.m-tv { display: flex; flex-direction: column; align-items: center; width: 84%; }
.m-tv-screen { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; box-shadow: 0 0 0 6px #1d1d1f, var(--a-shadow); }
.m-tv-stand { width: 28%; height: 10px; margin-top: 6px; border-radius: 0 0 6px 6px; background: #1d1d1f; }
.m-tv-live { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 99px; background: #fff; font-size: 10px; font-weight: 600; }
.m-tv-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--a-primary); }
@keyframes a-blink { 50% { opacity: .2; } }
.m-tv-prev { position: absolute; inset: 0; opacity: 0; }
.m-tv-qr { position: absolute; right: 8px; bottom: 8px; padding: 4px; border-radius: 4px; background: #fff; }
.m-tv-qr .m-qr { width: 30px; height: 30px; }

/* ---------- how it works: motion ----------
   One story, played once (script in home.php): the photo that arrives last on the phone is the one that fades in on the TV.
   .is-armed = before, .is-play = playing / finished, neither = no JavaScript or reduced motion. --t = when the card starts. */
.m-scan::before, .m-scan::after { content: ""; position: absolute; opacity: 0; pointer-events: none; }
.m-scan::before { inset: -4px; /* viewfinder corners */
  --c: linear-gradient(var(--a-primary) 0 0); background:
  var(--c) 0 0 / 12px 2px, var(--c) 0 0 / 2px 12px, var(--c) 100% 0 / 12px 2px, var(--c) 100% 0 / 2px 12px,
  var(--c) 0 100% / 12px 2px, var(--c) 0 100% / 2px 12px, var(--c) 100% 100% / 12px 2px, var(--c) 100% 100% / 2px 12px; background-repeat: no-repeat; }
.m-scan::after { left: -4px; right: -4px; top: 0; bottom: 0; background: linear-gradient(to top, var(--a-primary) 0 2px, rgba(216, 27, 103, .18) 2px, transparent 38%); clip-path: inset(0); }

.is-armed .m-ok svg { stroke-dasharray: 20; stroke-dashoffset: 20; }
.is-armed .m-phone-progress b { width: 100%; transform: translateX(-100%); }
.is-armed .m-phone-grid span:nth-child(-n+3) { opacity: 0; }
.is-armed .m-tv-prev { opacity: 1; }
.is-armed .m-phone-grid { background: linear-gradient(var(--a-surface-strong) 0 0) 0 0 / 100% calc(50% - 1.5px) no-repeat; border-radius: 3px; }
.is-rearm .m-ok svg, .is-rearm .m-phone-progress b, .is-rearm .m-phone-progress em, .is-rearm .m-phone-grid span, .is-rearm .m-tv-prev { transition: opacity .3s ease, transform .3s ease, stroke-dashoffset .3s ease; }

.is-play .m-ok { animation: m-pop .5s var(--a-ease) var(--t) backwards; }
.is-play .m-ok svg { stroke-dasharray: 20; stroke-dashoffset: 0; animation: m-draw .45s var(--a-ease) calc(var(--t) + .15s) backwards; }
.is-play .m-scan::before { animation: m-frame 1.4s var(--a-ease) var(--t) both; }
.is-play .m-scan::after { animation: m-scan .9s cubic-bezier(.45, 0, .3, 1) calc(var(--t) + .25s) both; }
.is-play .m-phone-btn { animation: m-press .35s ease-out var(--t) both; }
.is-play .m-phone-progress b { width: 100%; animation: m-fill 1.3s cubic-bezier(.4, 0, .2, 1) calc(var(--t) + .3s) both; }
.is-play .m-phone-progress em { opacity: 0; animation: m-out .3s ease calc(var(--t) + 1.65s) backwards; }
.is-play .m-phone-progress .m-done { opacity: 1; animation: m-in .3s ease calc(var(--t) + 1.65s) backwards; }
.is-play .m-phone-grid { background: linear-gradient(var(--a-surface-strong) 0 0) 0 0 / 100% calc(50% - 1.5px) no-repeat; border-radius: 3px; }
.is-play .m-phone-grid span:nth-child(-n+3) { animation: m-photo .5s var(--a-ease) calc(var(--t) + var(--d)) backwards; }
.m-phone-grid span:nth-child(3) { --d: .65s; }
.m-phone-grid span:nth-child(2) { --d: 1.05s; }
.m-phone-grid span:nth-child(1) { --d: 1.45s; }
.is-play .m-tv-prev { animation: m-swap .9s cubic-bezier(.4, 0, .2, 1) var(--t) backwards; }
.is-play .m-tv-live i { animation: a-blink 1.2s ease-in-out calc(var(--t) + .6s) 2; }

@keyframes m-pop { from { transform: scale(.7); } }
@keyframes m-draw { from { stroke-dashoffset: 20; } }
@keyframes m-frame { 0% { opacity: 0; transform: scale(1.2); } 25%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes m-scan { 0% { opacity: 0; clip-path: inset(0); transform: translateY(-100%); } 12% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(0); } }
@keyframes m-press { 45% { transform: scale(.95); } }
@keyframes m-fill { from { transform: translateX(-100%); } }
@keyframes m-out { from { opacity: 1; } }
@keyframes m-in { from { opacity: 0; } }
@keyframes m-photo { from { opacity: 0; transform: scale(.75); } }
@keyframes m-swap { from { opacity: 1; } }

/* ---------- what you get (amenity rows) ---------- */
.a-amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.a-amenities li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--a-hairline-soft); }
.a-amenities li:nth-child(-n+2) { padding-top: 0; }
.a-amenities svg { flex: none; width: 26px; height: 26px; color: var(--a-ink); }
.a-amenities h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.a-amenities p { margin: 0; font-size: 14px; line-height: 1.43; color: var(--a-muted); }
@media (max-width: 640px) { .a-amenities { grid-template-columns: 1fr; } .a-amenities li:nth-child(2) { padding-top: 20px; } }

/* ---------- event types ---------- */
.a-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.abnb .a-events a { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--a-hairline); border-radius: var(--a-r-md); text-decoration: none; transition: box-shadow .2s ease, border-color .2s ease; }
.abnb .a-events a:hover { border-color: transparent; box-shadow: var(--a-shadow); }
.a-events b { font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.a-events span { flex: 1; font-size: 14px; line-height: 1.43; color: var(--a-muted); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.a-events em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-size: 14px; font-weight: 600; text-decoration: underline; }
.a-events em svg { width: 14px; height: 14px; transition: transform .25s var(--a-ease); }
.abnb .a-events a:hover em svg { transform: translateX(3px); }

/* ---------- reviews ---------- */
.a-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 80px; margin-bottom: 40px; }
.a-review { margin: 0; }
.a-review figcaption { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.a-review figcaption b { display: block; font-size: 16px; font-weight: 600; }
.a-review figcaption small { display: block; font-size: 14px; color: var(--a-muted); }
.a-ava { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--a-ink); color: var(--a-on-ink); font: 600 18px/1 var(--a-font); }
.a-review blockquote { margin: 0; max-width: 60ch; font-size: 16px; line-height: 1.5; color: var(--a-body); }
@media (max-width: 743px) { .a-reviews { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- faq ---------- */
.a-faq-side { position: sticky; top: 112px; }
.a-faq-side p { margin: 0 0 24px; color: var(--a-muted); }
.a-faq-side .a-faq-mail { margin: 16px 0 0; font-size: 14px; }
.a-faq details { border-bottom: 1px solid var(--a-hairline-soft); }
.a-faq details:first-child { border-top: 1px solid var(--a-hairline-soft); }
.a-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; line-height: 1.4; }
.a-faq summary::-webkit-details-marker { display: none; }
.a-faq summary svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--a-ease); }
.a-faq details[open] summary svg { transform: rotate(180deg); }
.a-faq summary:hover { text-decoration: underline; }
.a-faq details p { max-width: 65ch; margin: -4px 0 20px; font-size: 16px; line-height: 1.5; color: var(--a-body); }
@media (max-width: 900px) { .a-faq-side { position: static; } }

/* ---------- badges, guestbook ---------- */
.a-badge { display: inline-block; margin-left: 4px; padding: 1px 9px; border-radius: 99px; background: var(--a-surface-strong); color: var(--a-body); font-size: 12px; font-weight: 500; line-height: 1.6; vertical-align: 1px; }
.a-gb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px 80px; align-items: center; }
.a-gb h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.2; }
.a-gb-text > p { margin: 0 0 20px; max-width: 52ch; font-size: 16px; color: var(--a-muted); }
.a-gb ul { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.a-gb li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--a-body); }
.a-gb li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--a-ink); }
.a-gb-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.abnb .a-gb-acts .a-btn { text-decoration: none; }
.a-gb-in { font-size: 14px; color: var(--a-muted); }
.a-stage-gb { aspect-ratio: auto; padding: clamp(24px, 5vw, 48px); background: #F4EEE6; }
html[data-theme="dark"] .a-stage-gb { background: #2C2722; }
.m-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 460px; }
.m-note { align-self: start; padding: 16px; border-radius: var(--a-r-md); background: #fff; box-shadow: var(--a-shadow); font-size: 13px; line-height: 1.45; }
.m-note:nth-child(2) { margin-top: 28px; }
.m-note:nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: 72px 1fr; gap: 2px 14px; align-items: center; }
.m-note p { margin: 0 0 6px; text-wrap: pretty; }
.m-note b { font-weight: 600; }
.m-note-ph { grid-row: span 2; width: 72px; height: 72px; border-radius: 8px; }
.m-voice { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.m-voice i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--a-primary); color: #fff; }
.m-voice i svg { width: 17px; height: 17px; }
.m-voice em { display: flex; flex: 1; align-items: center; gap: 2px; min-width: 0; height: 22px; overflow: hidden; }
.m-voice u { flex: none; width: 2.5px; border-radius: 2px; background: #D8A9BD; }
.m-voice span { font-size: 12px; color: var(--a-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .a-gb { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .m-notes { grid-template-columns: 1fr; } .m-note:nth-child(2) { margin-top: 0; } }

/* ---------- online invitation (same layout as the guestbook, picture on the left) ---------- */
.a-inv { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.a-inv .a-stage { order: -1; }
.a-inv .a-badge { margin: 0 0 12px; }
.a-stage-inv { aspect-ratio: auto; padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px); background: #F4EEE6; }
html[data-theme="dark"] .a-stage-inv { background: #2C2722; }
.m-inv { position: relative; width: 100%; max-width: 440px; display: grid; justify-items: center; padding: 22px 0; }
.m-inv-phone { display: grid; justify-items: center; gap: 6px; width: min(250px, 72%); padding: 48px 18px 44px; border: 6px solid #1F1F1F; border-radius: 30px; background: #FBF6EF; box-shadow: var(--a-shadow); color: #4A3B2A; text-align: center; }
.m-inv-kicker { font: 600 9px/1.3 var(--a-font); letter-spacing: .16em; text-transform: uppercase; color: #9A7B55; }
.m-inv-names { font: italic 500 26px/1.15 Georgia, "Times New Roman", serif; color: #3D2E1E; }
.m-inv-date { font-size: 12px; font-weight: 600; }
.m-inv-line { font-size: 11px; color: #7A6A58; }
.m-inv-rsvp { margin-top: 12px; font-size: 12px; font-weight: 700; color: #3D2E1E; }
.m-inv-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
.m-inv-btns i { padding: 8px 4px; border: 1px solid #D9C9B4; border-radius: 8px; font: 600 10.5px/1.2 var(--a-font); font-style: normal; }
.m-inv-btns i:first-child { border-color: #7B5B30; background: #7B5B30; color: #fff; }
.m-inv-toast, .m-inv-count { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--a-shadow); color: #222; font-size: 12.5px; line-height: 1.3; }
.m-inv-toast { bottom: 0; right: 0; max-width: 210px; }
.m-inv-toast svg { flex: none; width: 16px; height: 16px; color: #04704F; }
.m-inv-count { top: 0; left: 0; flex-direction: column; align-items: flex-start; gap: 0; }
.m-inv-count b { font-size: 22px; font-weight: 700; line-height: 1.1; }
.m-inv-count span { color: #6A6A6A; font-size: 12px; }
@media (max-width: 900px) { .a-inv { grid-template-columns: 1fr; } .a-inv .a-stage { order: 0; } }

/* ---------- build your album ---------- */
.cx-build { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.cx-group { min-width: 0; margin: 0 0 32px; padding: 0; border: 0; }
.cx-group > legend, .cx-legend-h { margin: 0 0 12px; padding: 0; font: 600 18px/1.3 var(--a-font); letter-spacing: -.01em; }
.cx-pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.is-home .cx-pkg { position: relative; display: block; margin: 0; font-weight: 400; cursor: pointer; }
.cx-pkg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cx-pkg > span { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; height: 100%; padding: 14px 16px; border: 1px solid var(--a-hairline); border-radius: var(--a-r-md); background: var(--a-card); }
.cx-pkg b { font-weight: 600; }
.cx-pkg small { font-size: 15px; color: var(--a-ink); }
.cx-pkg em { grid-column: 1 / -1; font-style: normal; font-size: 13px; line-height: 1.4; color: var(--a-muted); }
.cx-pkg:hover > span { border-color: var(--a-border-strong); }
.cx-pkg input:checked + span { border-color: var(--a-ink); box-shadow: inset 0 0 0 1px var(--a-ink); }
.cx-pkg input:focus-visible + span { outline: 2px solid var(--a-ink); outline-offset: 2px; }
.cx-build .theme-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.is-home .theme-opt { position: relative; display: block; margin: 0; border: 1px solid var(--a-hairline); border-radius: var(--a-r-md); background: var(--a-card); overflow: hidden; font-weight: 400; cursor: pointer; }
.is-home .theme-opt[hidden] { display: none; }
.is-home .theme-opt:hover { border-color: var(--a-border-strong); }
.is-home .theme-opt:has(input:checked) { border-color: var(--a-ink); box-shadow: inset 0 0 0 1px var(--a-ink); }
.is-home .theme-opt-body { padding: 8px 10px 10px; }
.is-home .theme-opt-body strong { display: block; font: 600 14px/1.3 var(--a-font); }
.is-home .theme-opt-body .tp { font-size: 13px; color: var(--a-muted); }
.is-home .theme-opt-body .tp.extra { color: var(--a-ink); font-weight: 600; }
.is-home .theme-swatch { display: grid; place-items: center; height: 74px; }
.abnb .theme-opt a.preview-link { color: #222; text-decoration: none; }
.abnb .theme-opt a.preview-link:hover { background: #222; color: #fff; }
.theme-opt .preview-link::after { content: ""; position: absolute; inset: -10px -8px; } /* a bigger target for fingers */
.cx-cart { position: sticky; top: 104px; padding: 24px; border: 1px solid var(--a-hairline); border-radius: var(--a-r-md); background: var(--a-card); box-shadow: var(--a-shadow); }
.cx-cart h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.cx-total { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--a-hairline); font-size: 18px; }
.cx-total b { font-weight: 600; font-variant-numeric: tabular-nums; }
.cx-cart .a-btn { width: 100%; margin-top: 18px; border: 0; cursor: pointer; }
.cx-small { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--a-muted); }
@media (max-width: 980px) { .cx-build { grid-template-columns: 1fr; gap: 0; } .cx-cart { position: static; } }
@media (max-width: 480px) { .cx-build .theme-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cx-pkgs { grid-template-columns: 1fr; } }

/* ---------- final cta ---------- */
.a-final-wrap { padding-bottom: 64px; }
.a-final { padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); border-radius: var(--a-r-lg); background: var(--a-surface-soft); text-align: center; }
.a-final p { max-width: 48ch; margin: 0 auto 28px; font-size: 16px; color: var(--a-muted); }
.a-final-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; }

/* ---------- phone sticky CTA ---------- */
.a-sticky { display: none; }
@media (max-width: 743px) {
  .a-sticky { position: fixed; z-index: 800; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--a-canvas); border-top: 1px solid var(--a-hairline); font-size: 13px; line-height: 1.3; color: var(--a-body);
    transform: translateY(110%); transition: transform .35s var(--a-ease); }
  .a-sticky.is-on { transform: none; }
  .a-sticky span { flex: 1; }
  .a-sticky .a-btn { flex: none; min-height: 44px; padding: 10px 20px; font-size: 15px; }
  .has-sticky-cta .site-footer { padding-bottom: 96px; }
}

/* hero: two buttons */
.a-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* /demo (views/site/demo.php) */
.demo-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.demo-theme { display: block; height: 100%; border: 1px solid var(--a-hairline); border-radius: var(--a-r-md, 14px); overflow: hidden; background: var(--a-card); color: var(--a-ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.demo-theme:hover { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .35); transform: translateY(-2px); }
.demo-theme:focus-visible { outline: 2px solid var(--a-ink); outline-offset: 3px; }
.demo-theme .theme-swatch { height: 120px; padding: 12px; font-size: 1.3rem; }
.demo-theme-body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; }
.demo-theme-body span { color: var(--a-muted); font-size: 14px; white-space: nowrap; }
.demo-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.demo-more li { display: grid; gap: 6px; align-content: start; justify-items: start; padding: 20px; border: 1px solid var(--a-hairline); border-radius: var(--a-r-md, 14px); background: var(--a-card); }
.demo-more span { color: var(--a-muted); margin-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .demo-theme { transition: none; } .demo-theme:hover { transform: none; } }
