﻿/* Brand public page — static styles. Theme tokens come from inline :root. */
.pub-wrap { text-align: center; position: relative; }
.brand-band {
    display: none;
    height: 6px;
    width: min(100%, 480px);
    margin: 0 auto 1.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}
body.layout-band .brand-band { display: block; }
.avatar {
    width: 84px;
    height: 84px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    font-weight: 800;
    font-size: 1.65rem;
    overflow: hidden;
    border: 3px solid color-mix(in srgb, var(--card) 85%, transparent);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 22%, transparent);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--accent-deep);
    font-size: 0.75rem;
    font-weight: 800;
    vertical-align: middle;
}
body.layout-dark .verified-badge { color: #fff; background: rgba(255,255,255,0.12); }
.handle {
    direction: ltr;
    display: inline-block;
    margin-bottom: 1.35rem;
    color: var(--muted);
    font-size: 0.92rem;
}
.block { margin: 0.75rem 0; text-align: right; }
.block-text {
    background: color-mix(in srgb, var(--card) 88%, transparent);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) - 0.15rem);
    padding: 1rem 1.1rem;
}
.block-text h2 { margin: 0 0 0.4rem; font-size: 1rem; }
.block-text p { margin: 0; color: var(--ink-soft); line-height: 1.7; white-space: pre-wrap; }
a.item, .item-static {
    display: block;
    margin: 0.55rem 0;
    padding: 0.95rem 1.1rem;
    border-radius: var(--radius-btn);
    background: color-mix(in srgb, var(--card) 90%, transparent);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--ink) 4%, transparent);
}
body.layout-cards a.item,
body.layout-cards .item-static {
    border-radius: var(--radius-btn);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--ink) 6%, transparent);
}
body.layout-compact a.item,
body.layout-compact .item-static {
    padding: 0.72rem 0.9rem;
    font-size: 0.92rem;
}
a.item:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 14%, transparent);
}
a.item.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    border-color: transparent;
}
.bio-line {
    margin: 0 auto 1.25rem;
    max-width: 28rem;
    color: var(--ink-soft);
    line-height: 1.75;
    font-size: 0.98rem;
}
.resume-card {
    background: color-mix(in srgb, var(--card) 90%, transparent);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) - 0.15rem);
    padding: 1.1rem 1.15rem;
    text-align: right;
}
.resume-headline {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
}
.resume-summary {
    margin: 0 0 0.85rem;
    color: var(--ink-soft);
    line-height: 1.75;
    white-space: pre-wrap;
}
.resume-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-bottom: 0.85rem;
}
.resume-contact a {
    color: var(--accent-deep);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}
body.layout-dark .resume-contact a { color: var(--accent); }
.resume-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}
.resume-skills span {
    display: inline-flex;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent-deep);
    font-size: 0.78rem;
    font-weight: 700;
}
body.layout-dark .resume-skills span { color: #fff; background: rgba(255,255,255,0.12); }
.resume-entries { display: grid; gap: 0.65rem; }
.resume-entry {
    padding: 0.75rem 0;
    border-top: 1px solid var(--line);
}
.resume-entry:first-child { border-top: 0; padding-top: 0; }
.resume-entry strong { display: block; font-size: 0.95rem; }
.resume-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.82rem;
}
.resume-entry p {
    margin: 0.4rem 0 0;
    color: var(--ink-soft);
    line-height: 1.65;
    font-size: 0.9rem;
    white-space: pre-wrap;
}
.resume-socials { margin-top: 1rem; justify-content: flex-start; }
.faq details {
    background: color-mix(in srgb, var(--card) 90%, transparent);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) - 0.25rem);
    padding: 0.85rem 1rem;
    margin: 0.5rem 0;
    text-align: right;
}
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 0.55rem 0 0; color: var(--ink-soft); line-height: 1.7; }
.socials { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; }
.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: transform .15s ease, background .15s ease;
}
.socials a:hover { transform: translateY(-1px); }
.socials a.social-btn.is-icon-only {
    min-width: 2.85rem;
    width: 2.85rem;
    height: 2.85rem;
    padding: 0;
}
.socials a .tak-icon { font-size: 1.25rem; }
body.layout-dark .socials a { color: #fff; }
.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}
.gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: calc(var(--radius) - 0.25rem);
    border: 1px solid var(--line);
    background: var(--card);
}
.hours-row, .loc-card {
    background: color-mix(in srgb, var(--card) 90%, transparent);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) - 0.15rem);
    padding: 0.95rem 1.1rem;
    text-align: right;
}
.hours-row + .hours-row { margin-top: 0.45rem; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; align-items: flex-start; }
.hours-row span:last-child { color: var(--muted); font-weight: 500; direction: ltr; text-align: left; }
.hours-row.is-closed span:last-child { color: color-mix(in srgb, #b91c1c 70%, var(--muted)); direction: rtl; }
.hours-note {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    font-weight: 500;
    direction: rtl;
    text-align: right;
    color: var(--ink-soft);
}
.loc-card h3 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.loc-card p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.loc-card a { display: inline-block; margin-top: 0.65rem; color: var(--accent-deep); font-weight: 700; text-decoration: none; }
body.layout-dark .loc-card a { color: var(--accent); }
.section { text-align: right; margin-top: 1.35rem; }
.section h2 {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
}
.empty {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 1rem 0;
}
.pub-wrap > * { animation: pub-rise .55s ease both; }
.pub-wrap > *:nth-child(2) { animation-delay: .05s; }
.pub-wrap > *:nth-child(3) { animation-delay: .1s; }
.pub-wrap > *:nth-child(4) { animation-delay: .14s; }
body.layout-dark .pub-foot a { color: var(--muted); }


/* Hub layout — panel shell, resume-first, dock menu */
html:has(body.layout-hub),
body.layout-hub {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
}
body.layout-hub .pub-wrap {
    max-width: 28rem;
    width: min(28rem, 100%);
    height: 100dvh;
    margin: 0 auto;
    padding: 0.75rem 0.85rem 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
body.layout-hub .pub-foot { display: none; }
body.layout-hub .brand-band { display: none; }
[x-cloak] { display: none !important; }
.hub-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
    min-height: 0;
    height: 100%;
}
.hub-stage {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0.1rem 1rem;
}
.hub-panel { text-align: right; }
.hub-brand-bar {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 0.85rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-control);
    background: color-mix(in srgb, var(--card) 90%, transparent);
    text-align: right;
}
.hub-logo-sm {
    width: 2.5rem; height: 2.5rem; flex: 0 0 auto; border-radius: 0.5rem;
    display: grid; place-items: center; overflow: hidden;
    background: #fff; color: #0f1419; font-weight: 900; font-size: 0.85rem;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent);
}
.hub-logo-sm img { width: 100%; height: 100%; object-fit: cover; }
.hub-brand-bar-copy { min-width: 0; flex: 1; }
.hub-brand-bar-copy strong {
    display: block; font-size: 0.92rem; font-weight: 800; color: var(--ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hub-brand-bar-copy span {
    display: block; font-size: 0.72rem; color: var(--muted); direction: ltr; text-align: right;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hub-panel-head {
    display: block;
    margin-bottom: 0.85rem;
}
.hub-panel-head h2 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.hub-empty { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin: 0.5rem 0; }
.hub-hero {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    text-align: right;
    padding: 0.35rem 0 1rem;
}
.hub-logo {
    width: 4rem; height: 4rem; flex: 0 0 auto; margin: 0; border-radius: 1rem;
    display: grid; place-items: center; background: #fff; color: #0f1419; font-weight: 900; font-size: 1.05rem;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent), 0 12px 28px rgba(0,0,0,0.28);
    overflow: hidden;
}
.hub-logo.is-image {
    width: 4.5rem; height: 4.5rem; background: transparent; box-shadow: none;
}
.hub-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hub-hero-text { min-width: 0; flex: 1; text-align: right; }
.hub-hero h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hub-hero .hub-sub { margin: 0; color: var(--muted); font-size: 0.9rem; }
.hub-hero .hub-tagline { margin: 0.35rem 0 0; color: var(--ink-soft); line-height: 1.65; font-size: 0.88rem; }
.hub-hero .hub-phone { display: inline-block; margin-top: 0.45rem; color: var(--accent); font-weight: 700; text-decoration: none; direction: ltr; }
.hub-primary {
    display: block; width: 100%; margin: 1rem 0 0; padding: 0.95rem 1.1rem; border: 0;
    border-radius: var(--radius-control); background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff; font: inherit; font-weight: 800; font-size: 0.95rem; cursor: pointer;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 35%, transparent);
}
.hub-dock {
    position: relative;
    flex: 0 0 auto;
    margin-top: auto;
    width: 100%;
    display: flex;
    gap: 0.25rem;
    padding: 0.7rem 0.35rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--card) 94%, var(--ink));
    border-top: 2px solid color-mix(in srgb, var(--accent) 70%, transparent);
    box-shadow: 0 -12px 32px color-mix(in srgb, var(--ink) 18%, transparent);
    z-index: 50;
    font-family: var(--brand-font, "Arad", "Dana", IRANYekan, Vazir, Tahoma, ui-sans-serif, system-ui, sans-serif);
}
.hub-dock-btn {
    display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; align-items: center; gap: 0.25rem; border: 0; background: transparent;
    color: var(--ink-soft); font: inherit; font-size: 0.74rem; font-weight: 700;
    padding: 0.5rem 0.2rem; cursor: pointer; border-radius: 0.85rem;
}
.hub-dock-btn.is-active {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 18%, transparent);
}
.hub-dock-ico { font-size: 1.15rem; line-height: 1; font-family: inherit; }
body.layout-hub .resume-skills span {
    color: var(--ink);
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
body.layout-hub .socials a {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
}
body.layout-hub .resume-contact a { color: var(--accent); }

.hub-form { text-align: right; margin-top: 0.55rem; }
.hub-field {
    position: relative;
    margin: 0.95rem 0 1.1rem;
    padding: 0.75rem 0.95rem 0.7rem;
    border: 1.5px solid color-mix(in srgb, var(--line) 85%, var(--ink) 15%);
    border-radius: var(--radius-control);
    background: color-mix(in srgb, var(--card) 55%, transparent);
    min-inline-size: 0;
}
.hub-field.is-textarea { padding-top: 0.85rem; }
.hub-field legend {
    position: absolute;
    top: 0;
    inset-inline-start: 0.95rem;
    inset-inline-end: auto;
    transform: translateY(-50%);
    float: none;
    width: auto;
    margin: 0;
    padding: 0 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--muted);
    background: var(--page-bg);
    text-align: right;
}
.hub-field:focus-within {
    border-color: color-mix(in srgb, var(--accent) 70%, var(--line));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.hub-field:focus-within legend {
    color: var(--accent);
}
.hub-field input,
.hub-field textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.15rem 0.1rem 0.05rem;
    border: 0;
    border-radius: 0;
    font: inherit;
    background: transparent;
    color: var(--ink);
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}
.hub-field textarea {
    resize: vertical;
    min-height: 5.5rem;
    line-height: 1.65;
}
.hub-field input:focus,
.hub-field textarea:focus {
    outline: none;
    border: 0;
    box-shadow: none;
}
.hub-form-ok {
    margin: 0 0 0.85rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-control);
    background: color-mix(in srgb, #0f766e 14%, transparent);
    color: #0f766e;
    font-size: 0.9rem;
    font-weight: 600;
}
.hub-form-err {
    margin: 0 0 0.85rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-control);
    background: color-mix(in srgb, #b91c1c 12%, transparent);
    color: #b91c1c;
    font-size: 0.9rem;
    font-weight: 600;
}
a.hub-dock-btn { text-decoration: none; color: inherit; }

/* Simple links layout (shortener-style, no dock) */
body.layout-links .pub-wrap {
    max-width: 26rem;
    width: min(26rem, 100%);
    margin: 0 auto;
    padding: 1.5rem 0.9rem 2.25rem;
    text-align: center;
}
body.layout-links .brand-band { display: none; }
body.layout-links .pub-foot { margin-top: 1.5rem; }
.links-shell { text-align: center; }
.links-hero {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    text-align: right;
}
.links-hero-stack {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.links-avatar {
    width: 4rem;
    height: 4rem;
    flex: 0 0 auto;
    margin: 0;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    font-weight: 900;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--card) 80%, transparent), 0 12px 28px color-mix(in srgb, var(--ink) 12%, transparent);
}
.links-avatar.is-image {
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    box-shadow: none;
    border-radius: 1rem;
}
.links-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.links-hero-text {
    min-width: 0;
    flex: 1;
    text-align: right;
}
.links-hero-stack .links-hero-text {
    width: 100%;
    text-align: center;
}
.links-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.links-name-link {
    color: inherit;
    text-decoration: none;
}
.links-name-link:hover { color: var(--accent); }
.links-hero-stack .links-name {
    white-space: normal;
}
.links-handle {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}
.links-bio {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
    line-height: 1.65;
    font-size: 0.88rem;
}
.links-hero-stack .links-bio {
    margin-inline: auto;
    max-width: 22rem;
}
.links-bio-more {
    display: inline;
    margin-inline-start: 0.25rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent);
    font: inherit;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}
.links-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.links-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: var(--radius-control);
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    border: 0;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 22%, transparent);
    transition: transform .15s ease, box-shadow .15s ease;
}
.links-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 28%, transparent);
}
.links-btn-soft {
    background: color-mix(in srgb, var(--card) 92%, transparent);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}
.links-btn-soft:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--ink) 6%, transparent);
}
.links-empty {
    margin: 0.5rem 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}
.links-socials .socials {
    justify-content: center;
}
.bio-separator {
    display: flex; align-items: center; gap: 0.75rem;
    margin: 1rem 0; color: var(--muted); font-size: 0.82rem; font-weight: 700;
}
.bio-separator::before, .bio-separator::after {
    content: ""; flex: 1; height: 1px; background: var(--line);
}
.bio-image img, .bio-video iframe, .bio-video video {
    width: 100%; border-radius: calc(var(--radius) - 0.15rem);
    border: 1px solid var(--line); background: var(--card);
}
.bio-video iframe { aspect-ratio: 16/9; border: 0; }
.image-link-card {
    display: block; overflow: hidden; border-radius: var(--radius-btn);
    border: 1px solid var(--line); text-decoration: none; color: var(--ink);
    background: color-mix(in srgb, var(--card) 92%, transparent);
}
.image-link-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.image-link-card span { display: block; padding: 0.85rem 1rem; font-weight: 700; text-align: center; }
.contact-card, .social-card, .pay-card, .lead-card, .booking-card, .countdown-card {
    background: color-mix(in srgb, var(--card) 90%, transparent);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) - 0.15rem);
    padding: 1rem 1.1rem;
    text-align: right;
}
.products-card {
    background: transparent;
    border: 0;
    border-radius: calc(var(--radius) - 0.15rem);
    padding: 0;
    text-align: right;
}
.social-card.links-socials {
    background: transparent;
    border: 0;
    padding: 0;
    margin-top: 1.25rem;
}
.contact-card.has-legend-title,
.social-card.has-legend-title,
.social-card.links-socials.has-legend-title,
.products-card.has-legend-title {
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: calc(var(--radius) - 0.15rem);
    margin: 0.65rem 0 0;
    padding: 0.85rem 1rem 0.75rem;
    min-inline-size: 0;
}
.block-section-title,
.contact-title,
.social-title,
.products-title {
    margin: 0 0 0.8rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent);
}
.block-section-title.is-above,
.contact-title.is-above,
.social-title.is-above,
.products-title.is-above {
    margin: 0 0 0.8rem;
    font-size: 1rem;
}
.products-title.is-above {
    color: var(--ink);
    text-align: right;
}
.block-section-title.is-legend,
.contact-title.is-legend,
.social-title.is-legend,
.products-title.is-legend {
    float: none;
    display: table;
    width: auto;
    max-width: calc(100% - 1.2rem);
    margin-inline: auto;
    margin-block: 0;
    padding: 0 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    color: var(--accent);
    background: transparent;
}
.contact-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    gap: 0.55rem;
}
.contact-link {
    display: flex; align-items: center; justify-content: center; min-height: 2.8rem;
    padding: 0.6rem 0.85rem; border: 1px solid transparent; border-radius: var(--radius-control);
    background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.88rem;
    text-align: center; transition: border-color .15s ease, background .15s ease;
}
.contact-link:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 22%, transparent);
}
.pay-card code, .pay-card .pay-line { display: block; direction: ltr; text-align: left; margin: 0.35rem 0; font-weight: 700; }
.countdown-digits {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.55rem;
    width: min(100%, 18rem); margin: 0.85rem auto 0; direction: rtl;
}
.countdown-unit {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem;
    width: 100%; aspect-ratio: 1; box-sizing: border-box; border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
    border-radius: 50%; text-align: center;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.countdown-unit > span {
    color: var(--accent-deep); font-weight: 800; font-size: 1.05rem; line-height: 1.15;
}
.countdown-unit small {
    color: var(--muted); font-size: 0.68rem; line-height: 1.2;
}
.lead-card label, .booking-card label { display: block; margin: 0.55rem 0 0.25rem; font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.lead-card input:not([type="checkbox"]), .booking-card input, .booking-card select, .booking-card textarea {
    width: 100%; box-sizing: border-box; padding: 0.7rem 0.85rem; border-radius: var(--radius-control);
    border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--ink); font: inherit;
}
.lead-card input[type="checkbox"] {
    width: 1rem; height: 1rem; margin: 0; padding: 0; flex: 0 0 auto; accent-color: var(--accent);
}
.lead-card button, .booking-card button {
    width: 100%; margin-top: 0.85rem; padding: 0.85rem 1rem; border: 0; border-radius: var(--radius-btn);
    background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; font: inherit; font-weight: 800; cursor: pointer;
}
.product-grid { display: grid; gap: 0.55rem; }
.product-grid.is-list { grid-template-columns: 1fr; }
.product-grid.is-cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid.is-cols3,
.product-grid.is-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid.is-cols4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid.is-cols6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.product-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.35rem;
}
.product-carousel-nav {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 25%, transparent);
}
.product-carousel-nav:hover { filter: brightness(1.06); }
.product-grid.is-carousel {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.15rem 0.1rem 0.35rem;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
}
.product-grid.is-carousel::-webkit-scrollbar { height: 4px; }
.product-grid.is-carousel::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--accent) 45%, transparent);
    border-radius: 999px;
}
.product-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.75rem;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 0.95rem 1.1rem;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 22%, transparent);
    min-width: 0;
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
a.product-card:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 28%, transparent);
}
.product-card img,
.product-card-placeholder {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
}
.product-card-body { min-width: 0; }
.product-card strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card em {
    color: rgba(255, 255, 255, 0.88);
    font-style: normal;
    font-size: 0.85rem;
}
.product-grid.is-tiles .product-card,
.product-grid.is-cols2 .product-card,
.product-grid.is-cols3 .product-card,
.product-grid.is-cols4 .product-card,
.product-grid.is-cols6 .product-card,
.product-grid.is-grid .product-card,
.product-grid.is-carousel .product-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.85rem 0.5rem;
}
.product-grid.is-tiles .product-card img,
.product-grid.is-tiles .product-card-placeholder,
.product-grid.is-cols2 .product-card img,
.product-grid.is-cols2 .product-card-placeholder,
.product-grid.is-cols3 .product-card img,
.product-grid.is-cols3 .product-card-placeholder,
.product-grid.is-cols4 .product-card img,
.product-grid.is-cols4 .product-card-placeholder,
.product-grid.is-cols6 .product-card img,
.product-grid.is-cols6 .product-card-placeholder,
.product-grid.is-grid .product-card img,
.product-grid.is-grid .product-card-placeholder,
.product-grid.is-carousel .product-card img,
.product-grid.is-carousel .product-card-placeholder {
    width: 56px;
    height: 56px;
}
.product-grid.is-cols4 .product-card img,
.product-grid.is-cols4 .product-card-placeholder,
.product-grid.is-cols6 .product-card img,
.product-grid.is-cols6 .product-card-placeholder {
    width: 44px;
    height: 44px;
}
.product-grid.is-tiles .product-card strong,
.product-grid.is-cols2 .product-card strong,
.product-grid.is-cols3 .product-card strong,
.product-grid.is-cols4 .product-card strong,
.product-grid.is-cols6 .product-card strong,
.product-grid.is-grid .product-card strong,
.product-grid.is-carousel .product-card strong {
    font-size: 0.8rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-grid.is-carousel .product-card {
    flex: 0 0 8.75rem;
    width: 8.75rem;
    max-width: 8.75rem;
    scroll-snap-align: start;
}
.flash-ok {
    margin: 0 0 0.85rem; padding: 0.75rem 0.9rem; border-radius: var(--radius-control);
    background: color-mix(in srgb, #0f766e 14%, transparent); color: #0f766e; font-size: 0.9rem; font-weight: 600;
}

.owner-preview-banner {
    margin: 0 auto 1rem;
    max-width: 28rem;
    padding: 0.65rem 0.9rem;
    border-radius: 0.75rem;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}
.section-align-start { text-align: right; }
.section-heading { margin: 0 0 0.85rem; font-size: 1.05rem; }
.pub-foot-spaced { margin-top: 1.25rem; }
