/* Group F — offer page (mobile web). Shared by F1–F8. Token-based; raw hex only for the business-site theme. */
@import url("../components.css");

/* ---------- page chrome ---------- */
.web-head { display: flex; align-items: center; justify-content: space-between; }
.seller-note { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.seller-note .who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* ---------- big site preview ---------- */
.offer-preview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; flex: none; }
.offer-preview .site-preview { height: 236px; padding: 14px 16px 18px; gap: 14px; }
.offer-preview .site-preview .photo { width: 126px; height: 132px; border-radius: 14px; }
.offer-preview .site-preview .biz { font-size: 26px; line-height: 30px; }
.offer-preview .facts { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.offer-preview .facts .meta { gap: 8px; }
.offer-preview .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }

/* ---------- included list ---------- */
.included .list-row { align-items: flex-start; padding: 14px 0; }
.included .icon-box { margin-top: 1px; }
.included .list-row .text { gap: 2px; }

/* ---------- price block ---------- */
.price-card { display: flex; flex-direction: column; gap: 16px; }
.price-card .amount-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price-card .then { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(246, 243, 236, .08); }
.price-card .then .i { --i: 18px; color: var(--live); }
.price-card .pay-methods { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink-subtle); }
.price-card .pay-methods .i { --i: 14px; }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.trust-grid .t { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }

/* ---------- FAQ (details/summary: works with no JS) ---------- */
.faq details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; font: 600 15px/21px var(--font-ui); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { --i: 18px; color: var(--ink-subtle); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding-top: 8px; font: 400 15px/21px var(--font-ui); color: var(--ink-muted); }

/* ---------- footer links ---------- */
.page-foot { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 8px; text-align: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/21px var(--font-ui); color: var(--ink-muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; padding: 10px 0; }
.text-link.live { color: var(--live-strong); text-decoration: none; }
.text-link .i { --i: 16px; }

/* ---------- checkout ---------- */
.field-split { display: flex; gap: 8px; align-items: stretch; }
.field .prefix { color: var(--ink-muted); padding-right: 10px; border-right: 1px solid var(--line); }
.option .opt-title { display: flex; align-items: center; gap: 8px; }
.option .opt-icon { width: 40px; height: 40px; flex: none; border-radius: var(--r-sm); background: var(--paper); display: grid; place-items: center; }
.option.selected .opt-icon { background: var(--live-soft); color: var(--live-strong); }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.summary-thumb { width: 52px; height: 52px; flex: none; border-radius: var(--r-md); background: var(--site-bg); display: grid; place-items: center; }
.summary-thumb span { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--photo-a), var(--photo-b)); }

/* ---------- PIX ---------- */
.qr-card { align-self: center; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); position: relative; }
.qr-card svg { display: block; width: 200px; height: 200px; shape-rendering: crispEdges; }
.qr-card .qr-logo { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; }
.qr-card .qr-logo::after { content: ""; width: 32px; height: 32px; background: var(--logo-mark) center / contain no-repeat; }
.code-field { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: var(--surface); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-muted); font: 400 13px/18px var(--font-ui); letter-spacing: .02em; }
.code-field span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.wait { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; }
.wait .timer { font: 700 17px/22px var(--font-display); letter-spacing: -0.01em; color: var(--amber); font-variant-numeric: tabular-nums; }

/* ---------- celebration ---------- */
.celebrate { position: relative; align-self: center; width: 148px; height: 148px; display: grid; place-items: center; margin-top: 4px; }
.celebrate .ring { position: absolute; border-radius: 50%; }
.celebrate .r1 { inset: 0; background: var(--live-soft); opacity: .5; }
.celebrate .r2 { inset: 18px; background: var(--live-soft); }
.celebrate .core { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--live); color: var(--ink-deep); display: grid; place-items: center; }
.celebrate .core .i { --i: 32px; stroke-width: 2.5; }
.celebrate .dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; }
.celebrate .dot.a { left: 4px; top: 22px; background: var(--amber); }
.celebrate .dot.b { right: 2px; top: 14px; background: var(--live); width: 10px; height: 10px; }
.celebrate .dot.c { right: 12px; bottom: 6px; background: var(--amber); width: 6px; height: 6px; }
.celebrate .dot.d { left: 16px; bottom: 10px; background: var(--ink); width: 6px; height: 6px; }
.celebrate .bar { position: absolute; width: 14px; height: 4px; border-radius: 2px; background: var(--live); }
.celebrate .bar.a { left: -14px; top: 64px; transform: rotate(-20deg); }
.celebrate .bar.b { right: -12px; top: 70px; background: var(--amber); transform: rotate(25deg); }
.live-url { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.live-url .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px var(--live-soft); flex: none; }
.step-num { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--live-soft); color: var(--live-strong); display: grid; place-items: center; font: 600 13px/18px var(--font-ui); }
.steps { display: flex; flex-direction: column; }
.steps .step { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.steps .step .text { display: flex; flex-direction: column; gap: 2px; }

/* ---------- reasons (F7) ---------- */
.reasons { display: flex; flex-direction: column; gap: 8px; }
.textarea-field { padding: 13px 16px; min-height: 104px; background: var(--surface); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); font: 400 15px/21px var(--font-ui); display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.input.focused .textarea-field { box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- unavailable (F8) ---------- */
.void-art { position: relative; align-self: center; width: 148px; height: 148px; display: grid; place-items: center; }
.void-art .ring { position: absolute; border-radius: 50%; }
.void-art .r1 { inset: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.void-art .r2 { inset: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.void-art .core { position: relative; color: var(--ink-muted); }
.void-art .core .i { --i: 36px; }

/* ---------- confirm sheet extras (F6) ---------- */
.sheet .point { display: flex; gap: 12px; align-items: flex-start; }
.sheet .point .text { display: flex; flex-direction: column; gap: 2px; }

/* ---------- Business site (F2): the site itself, in its own brand; TaNoAr only appears in the ribbon ---------- */
.site { --s-ink: #3A2218; --s-bg: #6B3D26; --s-cream: #FBF5EA; --s-soft: #F3E6D0; --s-wheat: #EDC78C; --s-muted: #7A5F4D; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--s-cream); color: var(--s-ink); display: flex; flex-direction: column; }
.site .nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--s-cream); }
.site .nav .name { font: 600 20px/24px var(--font-display); letter-spacing: -0.01em; color: var(--s-bg); }
.site .nav .menu { color: var(--s-bg); }
.site .hero-b { background: var(--s-bg); color: #FBF5EA; padding: 24px 20px 28px; display: flex; align-items: flex-end; gap: 16px; }
.site .hero-b .copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.site .hero-b h1 { font: 700 30px/34px var(--font-display); letter-spacing: -0.02em; }
.site .hero-b p { font: 400 15px/21px var(--font-ui); opacity: .85; }
.site .hero-b .cta { align-self: flex-start; background: var(--s-wheat); color: var(--s-ink); padding: 11px 18px; border-radius: var(--r-full); font: 600 15px/21px var(--font-ui); }
.site .hero-b .photo { width: 124px; height: 150px; flex: none; border-radius: 16px; background: linear-gradient(135deg, #EDC78C, #B57340); }
.site .block { padding: 22px 20px 4px; display: flex; flex-direction: column; gap: 12px; }
.site .block h2 { font: 600 22px/28px var(--font-display); letter-spacing: -0.01em; color: var(--s-bg); }
.site .tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.site .tile { display: flex; flex-direction: column; gap: 8px; }
.site .tile .ph { height: 92px; border-radius: 14px; background: linear-gradient(135deg, var(--a), var(--b)); }
.site .tile span { font: 600 13px/18px var(--font-ui); }
.site .visit { margin: 18px 20px 0; padding: 16px; background: var(--s-soft); border-radius: 16px; display: flex; flex-direction: column; gap: 10px; }
.site .visit .ln { display: flex; gap: 10px; align-items: center; font: 400 15px/21px var(--font-ui); }
.site .visit .ln .i { --i: 18px; color: var(--s-bg); }
.site .wa { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: var(--r-full); background: var(--s-bg); color: #FBF5EA; font: 600 15px/21px var(--font-ui); }
.site .wa .i { --i: 20px; }
.site .visit .stars { color: var(--s-bg); font: 600 15px/21px var(--font-ui); }

/* the TaNoAr ribbon injected by the Sites Worker (preview state) */
.ribbon { flex: none; position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--ink-deep); color: var(--on-ink); box-shadow: var(--shadow-float); }
.ribbon .msg { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ribbon .mark { width: 36px; height: 36px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(246, 243, 236, .24); display: grid; place-items: center; }
.ribbon .mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--live); }
