/* ============================================================
   ffynd — Pure CSS Design System
   Inspired by the clean shop layout
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: 2.25rem; font-weight: 800; }
h2 { font-size: 1.5rem;  font-weight: 700; }
h3 { font-size: 1rem;    font-weight: 600; }
p  { font-size: 0.875rem; line-height: 1.55; color: #555; }

/* ── Colours ──────────────────────────────────────────────── */
:root {
    --black:   #1a1a1a;
    --white:   #ffffff;
    --gray-50: #f5f5f5;
    --gray-100:#ebebeb;
    --gray-200:#d4d4d4;
    --gray-400:#9e9e9e;
    --gray-600:#555555;
    --accent:  #1a1a1a;      /* dark buttons */
    --star:    #f5a623;      /* orange stars  */
    --badge-home:  #e8f4fd;
    --badge-music: #fdf0e8;
    --badge-other: #f0f0f0;
    --badge-phone: #f0fdf0;
    --red:     #e53e3e;
    --indigo:  #4f46e5;
}

/* ── Layout helpers ───────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center{ align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2  { gap: 8px; }
.gap-3  { gap: 12px; }
.gap-4  { gap: 16px; }
.gap-5  { gap: 20px; }
.gap-6  { gap: 24px; }
.flex-1 { flex: 1; }
.wrap   { flex-wrap: wrap; }
.hidden { display: none; }
.ml-auto { margin-left: auto; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.w-full { width: 100%; }
.text-sm   { font-size: 0.875rem; }
.text-xs   { font-size: 0.75rem; }
.text-lg   { font-size: 1.125rem; }
.text-2xl  { font-size: 1.5rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium   { font-weight: 500; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar-inner {
    display: flex;
    align-items: center;
    gap: 0;
    height: 64px;
}
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.navbar-brand span { color: var(--indigo); }
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: 32px;
}
.navbar-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color .2s;
}
.navbar-nav a:hover,
.navbar-nav a.active { color: var(--black); }
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* ── Nav profile dropdown ─────────────────────────────────── */
.nav-profile {
    position: relative;
}
.nav-profile-btn {
    position: relative;
}
.nav-profile-dot {
    position: absolute;
    top: 6px; right: 6px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    border: 1.5px solid var(--white);
}
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 230px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.10), 0 1px 4px rgba(0,0,0,.06);
    z-index: 200;
    overflow: hidden;
    animation: dropdownIn .15s ease;
}
.nav-dropdown.open { display: block; }
@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown-header {
    padding: 14px 16px 12px;
}
.nav-dropdown-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-dropdown-email {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-dropdown-divider {
    height: 1px;
    background: var(--gray-100);
    margin: 0;
}
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background .12s, color .12s;
    text-decoration: none;
}
.nav-dropdown-item:hover {
    background: var(--gray-50);
    color: var(--black);
}
.nav-dropdown-danger { color: #dc2626; }
.nav-dropdown-danger:hover { background: #fef2f2; color: #b91c1c; }
.nav-icon-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: background .2s, color .2s;
    position: relative;
    font-size: 1.1rem;
}
.nav-icon-btn:hover { background: var(--gray-50); color: var(--black); }
.cart-badge {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--red);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px; height: 16px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px;
}
.nav-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--gray-200);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-600);
}
.btn-nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    padding: 6px 0;
    transition: color .2s;
}
.btn-nav-link:hover { color: var(--black); }

/* ── Hero banner ──────────────────────────────────────────── */
.hero {
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
    height: 260px;
    display: flex;
    align-items: flex-end;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .55;
}
.hero-title {
    position: relative;
    z-index: 1;
    font-size: clamp(5rem, 18vw, 14rem);
    font-weight: 900;
    color: rgba(255,255,255,.9);
    line-height: 0.85;
    letter-spacing: -0.02em;
    padding: 0 24px;
    white-space: nowrap;
}
.hero-search-bar {
    background: var(--white);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero-search-bar h2 {
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
}
.search-group {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    background: var(--gray-50);
}
.search-group svg,
.search-group .search-icon {
    padding: 0 12px;
    color: var(--gray-400);
    pointer-events: none;
}
.search-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 4px;
    font-size: 0.875rem;
    outline: none;
    color: var(--black);
}
.search-group input::placeholder { color: var(--gray-400); }
.btn-search {
    background: var(--black);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}
.btn-search:hover { background: #333; }

/* ── Page layout: sidebar + content ──────────────────────── */
.shop-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px 0;
}

/* ── Sidebar / Category filter ───────────────────────────── */
.sidebar {
    width: 200px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--gray-100);
}
.sidebar-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--gray-400);
    margin-bottom: 12px;
}
.cat-list { display: flex; flex-direction: column; gap: 2px; }
.cat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: background .15s, color .15s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.cat-item:hover { background: var(--gray-50); color: var(--black); }
.cat-item.active {
    background: var(--black);
    color: var(--white);
}
.cat-item .cat-count {
    margin-left: auto;
    font-size: 0.7rem;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 20px;
    padding: 1px 7px;
    font-weight: 600;
}
.cat-item.active .cat-count { background: rgba(255,255,255,.3); color: #111; }
.cat-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; }

.sidebar-divider {
    height: 1px;
    background: var(--gray-100);
    margin: 14px 0;
}
.filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: background .15s;
    border: none;
    background: none;
    width: 100%;
}
.filter-item:hover { background: var(--gray-50); color: var(--black); }
.filter-item .fi-icon { display: inline-flex; align-items: center; margin-right: 8px; }
.filter-chevron { display: inline-flex; align-items: center; color: var(--gray-400); }

/* ── Product / Business grid ─────────────────────────────── */
.products-section { flex: 1; min-width: 0; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ── Card ─────────────────────────────────────────────────── */
.card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
    position: relative;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09); transform: translateY(-2px); }
.card-image-wrap {
    position: relative;
    background: var(--gray-50);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
}
.card-image-wrap img {
    max-height: 120px;
    object-fit: contain;
}
.card-image-link,
.card-name-link {
    color: inherit;
    text-decoration: none;
}
.card-image-link {
    display: block;
}
.card-name-link:hover .card-name {
    text-decoration: underline;
}
.card-badge {
    position: absolute;
    top: 10px; right: 10px;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--gray-100);
    color: var(--gray-600);
}
.card-badge.home  { background: var(--badge-home);  color: #1a6fa3; }
.card-badge.music { background: var(--badge-music); color: #c05c0a; }
.card-badge.other { background: var(--gray-100);   color: var(--gray-600); }
.card-badge.phone { background: var(--badge-phone); color: #276749; }
.card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}
.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--gray-400);
}
.card-rating .star { display: inline-flex; align-items: center; }
.card-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--black);
    white-space: nowrap;
}
.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.btn-outline {
    flex: 1;
    padding: 8px 10px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--black);
    background: var(--white);
    transition: border-color .2s, background .2s;
    text-align: center;
}
.btn-outline:hover { border-color: var(--black); background: var(--gray-50); }
.btn-solid {
    flex: 1;
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white);
    background: var(--black);
    transition: background .2s;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-solid:hover { background: #333; }

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    font-size: 0.875rem;
}
.pagination-pages {
    display: flex;
    align-items: center;
    gap: 4px;
}
.pg-btn {
    min-width: 34px; height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-100);
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    padding: 0 6px;
}
.pg-btn:hover { background: var(--gray-50); color: var(--black); }
.pg-btn.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}
.pg-btn.pg-nav {
    gap: 4px;
    padding: 0 12px;
    color: var(--black);
    font-weight: 600;
}
.pg-btn.pg-nav:disabled { opacity: .4; cursor: default; }

/* ── Recommendations section ──────────────────────────────── */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--black);
}
.scroll-arrows {
    display: flex;
    gap: 8px;
}
.arrow-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--black);
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.arrow-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row .card { min-width: 220px; width: 220px; flex-shrink: 0; }

/* ── CTA / Newsletter section ─────────────────────────────── */
.cta-section {
    background: var(--black);
    border-radius: 16px;
    padding: 44px 48px;
    margin: 48px 0;
    display: flex;
    gap: 48px;
    align-items: flex-start;
}
.cta-left { flex: 1; }
.cta-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}
.email-row {
    display: flex;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    max-width: 380px;
}
.email-row input {
    flex: 1;
    border: none;
    padding: 11px 16px;
    font-size: 0.875rem;
    outline: none;
    color: var(--black);
}
.email-row input::placeholder { color: var(--gray-400); }
.btn-send {
    background: var(--black);
    color: var(--white);
    padding: 11px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background .2s;
    border-left: 1px solid var(--gray-200);
}
.btn-send:hover { background: #333; }
.cta-right { flex: 1; }
.cta-right h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.cta-right p {
    color: rgba(255,255,255,.6);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    padding: 40px 0 20px;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}
.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.footer-col ul li + li { margin-top: 8px; }
.footer-col ul li a {
    font-size: 0.8rem;
    color: var(--gray-400);
    transition: color .2s;
}
.footer-col ul li a:hover { color: var(--black); }
.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    color: var(--gray-600);
    transition: background .2s, border-color .2s, color .2s;
}
.social-btn:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.footer-bottom {
    border-top: 1px solid var(--gray-100);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--gray-400); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 0.75rem; color: var(--gray-400); }
.footer-bottom-links a:hover { color: var(--black); }

/* ── Auth pages ───────────────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f8;
    padding: 24px;
}
.auth-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0,0,0,.09);
}
.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}
.auth-logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.03em;
}
.auth-logo a span { color: var(--indigo); }
.auth-logo p { font-size: 0.8rem; color: var(--gray-400); margin-top: 4px; }
.auth-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 22px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--black);
}
.form-group label .req { color: var(--red); margin-left: 2px; }
.form-control {
    width: 100%;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.875rem;
    outline: none;
    color: var(--black);
    background: var(--white);
    transition: border-color .2s;
}
.form-control:focus { border-color: var(--black); }
.form-control::placeholder { color: var(--gray-400); }
.image-upload {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.image-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.image-upload-dropzone {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px dashed var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.image-upload-dropzone:hover {
    border-color: var(--black);
    background: #f8f8f8;
}
.image-upload-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    flex-shrink: 0;
}
.image-upload-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.image-upload-copy strong {
    font-size: 0.86rem;
    color: var(--black);
}
.image-upload-copy span {
    font-size: 0.78rem;
    color: var(--gray-400);
}
.image-upload-button {
    margin-left: auto;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--black);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.image-upload-hint {
    font-size: 0.78rem;
    color: var(--gray-400);
}
.image-upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}
.image-upload-thumb {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.image-upload-thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--gray-100);
    background: var(--gray-50);
}
.image-upload-thumb figcaption {
    font-size: 0.72rem;
    color: var(--gray-400);
    line-height: 1.35;
    word-break: break-word;
}
.btn-google {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 700;
    transition: border-color .2s, background .2s;
}
.btn-google:hover {
    border-color: var(--black);
    background: #fafafa;
}
.auth-divider {
    position: relative;
    margin: 18px 0;
    text-align: center;
}
.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid var(--gray-100);
}
.auth-divider span {
    position: relative;
    padding: 0 10px;
    background: var(--white);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--gray-400);
}
.btn-primary {
    width: 100%;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    margin-top: 4px;
}
.btn-primary:hover { background: #333; }
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--gray-400);
}
.auth-footer a { color: var(--black); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ── Alert / flash ────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}
.alert-success { background: #ecfdf5; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-hidden  { display: none !important; }

/* ── Dashboard ────────────────────────────────────────────── */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}
.page-header h1 { font-size: 1.6rem; }
.page-header p  { font-size: 0.85rem; color: var(--gray-400); margin-top: 2px; }
.btn-add {
    background: var(--black);
    color: var(--white);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-add:hover { background: #333; }

/* ── Business form (create/edit) ─────────────────────────── */
.form-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    padding: 28px 32px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-grid .col-span-2 { grid-column: span 2; }
textarea.form-control {
    resize: vertical;
    min-height: 90px;
}
.hours-builder {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    background: var(--gray-50);
}
.hours-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: center;
}
.hours-day {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--black);
}
.hours-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}
.hours-input {
    min-width: 0;
}
.hours-separator {
    font-size: 0.82rem;
    color: var(--gray-400);
    font-weight: 600;
}
.hours-closed-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
}
.hours-closed-toggle input {
    margin: 0;
}
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.btn-cancel {
    padding: 10px 20px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    transition: border-color .2s;
}
.btn-cancel:hover { border-color: var(--black); color: var(--black); }
.btn-submit {
    padding: 10px 24px;
    background: var(--black);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.btn-submit:hover { background: #333; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--indigo);
    margin-bottom: 12px;
    font-weight: 500;
}
.back-link:hover { text-decoration: underline; }

/* ── Search results page ─────────────────────────────────── */
.search-page { padding: 32px 0; }
.result-count { color: var(--gray-400); font-size: 0.85rem; margin-top: 4px; }

/* ── Listing detail page ─────────────────────────────────── */
.listing-page {
    padding-top: 28px;
    padding-bottom: 56px;
}
.listing-hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: stretch;
    margin-top: 16px;
}
.listing-hero-media,
.listing-panel,
.listing-gallery-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 18px;
}
.listing-hero-media {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 420px;
}
/* Main image area (clickable → lightbox) */
.listing-media-main {
    flex: 1;
    min-height: 0;
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
}
.listing-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: var(--gray-50);
}
/* Zoom icon that appears on hover */
.listing-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, .42);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}
.listing-media-main:hover .listing-zoom-hint {
    opacity: 1;
}
/* Thumbnail strip */
.listing-thumb-strip {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    overflow-x: auto;
    background: #fafafa;
    border-top: 1px solid var(--gray-100);
    scrollbar-width: thin;
    scrollbar-color: var(--gray-200) transparent;
}
.listing-thumb-strip::-webkit-scrollbar  { height: 4px; }
.listing-thumb-strip::-webkit-scrollbar-track { background: transparent; }
.listing-thumb-strip::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }
.listing-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: var(--gray-50);
    cursor: pointer;
    transition: border-color .15s;
}
.listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.listing-thumb.active,
.listing-thumb:hover {
    border-color: var(--indigo);
}
/* Lightbox overlay */
.listing-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, .88);
    display: flex;
    align-items: center;
    justify-content: center;
}
.listing-lightbox[hidden] { display: none; }
.listing-lightbox-inner {
    position: relative;
    max-width: min(92vw, 1100px);
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.listing-lightbox-img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .6);
}
.listing-lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, .14);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 1;
}
.listing-lightbox-close:hover { background: rgba(255, 255, 255, .28); }
.listing-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .14);
    border: none;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 1;
}
.listing-lightbox-nav:hover { background: rgba(255, 255, 255, .28); }
.listing-lightbox-prev { left: 20px; }
.listing-lightbox-next { right: 20px; }
.listing-hero-copy {
    padding: 28px 30px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    border: 1px solid var(--gray-100);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.listing-kicker-row,
.listing-meta-row,
.listing-cta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.listing-kicker,
.listing-verified,
.listing-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 600;
}
.listing-kicker {
    background: var(--gray-100);
    color: var(--gray-600);
}
.listing-verified {
    background: #ecfdf5;
    color: #166534;
}
.listing-meta-pill {
    background: #f7f7f7;
    color: var(--gray-600);
}
.listing-hero-copy h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.listing-description {
    color: var(--gray-600);
    font-size: 0.96rem;
    line-height: 1.75;
}
.listing-content-grid,
.listing-extra-grid {
    display: grid;
    gap: 18px;
}
.listing-content-grid {
    grid-template-columns: 1.2fr .8fr;
    margin-top: 22px;
}
.listing-panel {
    padding: 24px 26px;
}
.listing-panel-spacious {
    margin-top: 22px;
}
.listing-panel h2 {
    font-size: 1.1rem;
    margin-bottom: 18px;
}
.listing-info-list,
.listing-hours-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.listing-info-item,
.listing-hours-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
}
.listing-info-item:last-child,
.listing-hours-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.listing-info-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
}
.listing-info-value {
    color: var(--black);
    font-weight: 600;
    text-align: right;
    max-width: 70%;
}
.listing-hours-item span {
    color: var(--gray-400);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.listing-hours-item strong {
    color: var(--black);
    font-size: 0.86rem;
}
.listing-extra-grid {
    grid-template-columns: repeat(3, 1fr);
}
.listing-extra-card {
    padding: 16px 18px;
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    background: #fbfbfb;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.listing-extra-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
}
.listing-extra-value {
    color: var(--black);
    font-size: 0.92rem;
}
.listing-empty-copy {
    color: var(--gray-400);
    font-size: 0.86rem;
    line-height: 1.7;
}

/* ── Card 3-dot menu ────────────────────────────────────── */
.card-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.card-menu-wrap {
    position: relative;
    flex-shrink: 0;
}
.card-menu-btn {
    width: 28px; height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    background: none;
    border: none;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.card-menu-btn:hover { background: var(--gray-100); color: var(--black); }
.card-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 170px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.08);
    z-index: 300;
    overflow: hidden;
    animation: dropdownIn .13s ease;
}
.card-menu.open { display: block; }
.card-menu-item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--gray-600);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: background .1s, color .1s;
}
.card-menu-item:hover { background: var(--gray-50); color: var(--black); }
.card-menu-danger { color: #dc2626; }
.card-menu-danger:hover { background: #fef2f2; color: #b91c1c; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE & INTERACTIVE — MOBILE-FIRST ENHANCEMENTS
   ══════════════════════════════════════════════════════════ */

/* ── Mobile hamburger button ──────────────────────────────── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px; height: 40px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: none;
    margin-left: 6px;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s;
}
.nav-hamburger:hover { background: var(--gray-50); }
.nav-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
    pointer-events: none;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav overlay ───────────────────────────────────── */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 198;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    transition: opacity .25s;
}
.mobile-nav-overlay.open { display: block; }

/* ── Mobile nav drawer ────────────────────────────────────── */
.mobile-nav-drawer {
    position: fixed;
    top: 0; right: -320px;
    width: min(300px, 88vw);
    height: 100%;
    background: var(--white);
    z-index: 199;
    display: flex;
    flex-direction: column;
    transition: right .28s cubic-bezier(.4,0,.2,1);
    box-shadow: -6px 0 40px rgba(0,0,0,.14);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mobile-nav-drawer.open { right: 0; }
.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    flex-shrink: 0;
}
.mobile-nav-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--black);
}
.mobile-nav-brand span { color: var(--indigo); }
.mobile-nav-close {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    color: var(--gray-600);
    transition: background .15s, color .15s;
}
.mobile-nav-close:hover { background: var(--gray-100); color: var(--black); }
.mobile-nav-body { padding: 14px 12px; flex: 1; }
.mobile-nav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: .9rem; font-weight: 500;
    color: var(--gray-600);
    transition: background .15s, color .15s;
    text-decoration: none;
    min-height: 44px;
}
.mobile-nav-link:hover,
.mobile-nav-link.active { background: var(--gray-50); color: var(--black); }
.mobile-nav-divider { height: 1px; background: var(--gray-100); margin: 8px 0; }
.mobile-nav-footer { padding: 16px 18px; border-top: 1px solid var(--gray-100); flex-shrink: 0; }
.mobile-nav-user {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--gray-50);
    margin-bottom: 12px;
}
.mobile-nav-user .mnu-name { font-size: .87rem; font-weight: 700; color: var(--black); margin: 0; }
.mobile-nav-user .mnu-email { font-size: .75rem; color: var(--gray-400); margin: 2px 0 0; }
.mobile-nav-auth-btns { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-auth-btns .btn-primary { margin-top: 0; padding: 11px; font-size: .875rem; }
.mobile-nav-auth-btns .btn-google  { padding: 11px; font-size: .875rem; }

/* ── Hero search bar responsive wrapper ───────────────────── */
.hero-search-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* ── Mobile filter bar (shows above grid on mobile) ───────── */
.mobile-filter-bar {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 0 4px;
    flex-wrap: wrap;
}
.mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: .84rem; font-weight: 600;
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    min-height: 40px;
    transition: border-color .15s, background .15s;
    -webkit-tap-highlight-color: transparent;
}
.mobile-filter-btn:hover { border-color: var(--black); background: var(--gray-50); }

/* ── Mobile filter overlay ────────────────────────────────── */
.mobile-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 198;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.mobile-filter-overlay.open { display: block; }

/* ── Sidebar doubles as a mobile drawer ───────────────────── */
.sidebar-close {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--gray-100);
    margin: -20px -20px 16px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--black);
}
.sidebar-close-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    color: var(--gray-600);
    transition: background .15s;
}
.sidebar-close-btn:hover { background: var(--gray-100); }

/* ── Touch-friendly interactive improvements ──────────────── */
.cat-item    { min-height: 40px; }
.nav-icon-btn{ min-width: 40px; }
.pg-btn      { min-height: 40px; min-width: 40px; }
.card        { -webkit-tap-highlight-color: transparent; }
.btn-solid,
.btn-outline,
.btn-primary { min-height: 40px; }

/* ── Smooth skeleton on card images ──────────────────────── */
.card-image-wrap img,
.listing-hero-image {
    transition: opacity .3s;
}

/* ── Breakpoint: 1024px (tablet landscape) ────────────────── */
@media (max-width: 1024px) {
    .products-grid         { grid-template-columns: repeat(2, 1fr); }
    .footer-grid           { grid-template-columns: repeat(2, 1fr); }
    .cta-section           { flex-direction: column; gap: 24px; padding: 32px; }
    .listing-hero          { grid-template-columns: 1fr; }
    .listing-content-grid  { grid-template-columns: 1fr; }
    .listing-extra-grid    { grid-template-columns: repeat(2, 1fr); }
}

/* ── Breakpoint: 768px (tablet portrait / large phone) ───── */
@media (max-width: 768px) {
    /* Container */
    .container { padding: 0 16px; }

    /* Navbar */
    .navbar-nav   { display: none; }
    .nav-hamburger { display: inline-flex; }

    /* Hero */
    .hero { height: 180px; }
    .hero-title { font-size: clamp(3.6rem, 20vw, 8rem); }

    /* Hero search bar — stack vertically */
    .hero-search-bar { padding: 14px 0; }
    .hero-search-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hero-search-inner h2 { font-size: 1rem; }
    .hero-search-inner form {
        display: flex;
        gap: 0;
    }
    .hero-search-inner form .search-group { flex: 1; border-radius: 8px 0 0 8px; }
    /* City separator input on search page */
    .search-city-input {
        width: 110px !important;
        font-size: .82rem !important;
    }

    /* Mobile filter bar shows */
    .mobile-filter-bar { display: flex; }

    /* Sidebar becomes mobile drawer */
    .sidebar {
        position: fixed;
        top: 0; left: -300px;
        width: min(280px, 88vw);
        height: 100%;
        z-index: 199;
        border-radius: 0;
        border: none;
        box-shadow: 4px 0 40px rgba(0,0,0,.14);
        transition: left .28s cubic-bezier(.4,0,.2,1);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 20px;
    }
    .sidebar.mobile-open { left: 0; }
    .sidebar-close { display: flex; }

    /* Shop layout — products go full width */
    .shop-layout { padding: 0 0 24px; gap: 0; }
    .products-section { width: 100%; padding-top: 4px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Form */
    .form-card { padding: 20px 16px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .col-span-2 { grid-column: span 1; }
    .hours-row { grid-template-columns: 1fr; gap: 8px; }
    .hours-fields { grid-template-columns: 1fr auto 1fr auto; gap: 8px; align-items: center; }
    .hours-closed-toggle { grid-column: 1 / -1; }
    .form-actions { flex-wrap: wrap; }
    .btn-submit, .btn-cancel { flex: 1; text-align: center; justify-content: center; }

    /* Listing detail */
    .listing-hero         { grid-template-columns: 1fr; }
    .listing-hero-media   { min-height: 270px; }
    .listing-content-grid { grid-template-columns: 1fr; }
    .listing-extra-grid   { grid-template-columns: repeat(2, 1fr); }
    .listing-hero-copy    { padding: 20px 18px; gap: 12px; }
    .listing-panel        { padding: 18px 16px; }
    .listing-cta-row      { flex-wrap: wrap; }
    .listing-cta-row > *  { flex: 1 1 120px; text-align: center; justify-content: center; }
    .listing-lightbox-prev { left: 8px; }
    .listing-lightbox-next { right: 8px; }

    /* Map */
    .listing-map-embed { height: 300px; }
    .listing-map-controls { flex-direction: column; align-items: flex-start; gap: 10px; }
    .listing-map-actions { margin-left: 0; }

    /* CTA */
    .cta-section { flex-direction: column; gap: 20px; padding: 24px 20px; }
    .cta-title   { font-size: 1.5rem; }

    /* Footer */
    .footer-grid   { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .footer-bottom-links { justify-content: center; }

    /* Dashboard */
    .page-header h1 { font-size: 1.3rem; }
    #dashboard-listings,
    .dash-grid { grid-template-columns: repeat(2, 1fr); }

    /* Auth */
    .auth-card    { padding: 24px 18px; }
    .auth-page    { padding: 16px; }

    /* Image upload dropzone */
    .image-upload-dropzone { flex-wrap: wrap; }
    .image-upload-button   { margin-left: 0; width: 100%; text-align: center; padding: 10px; }

    /* Alerts */
    .alert { padding: 10px 14px; }

    /* Section header */
    .section-header { margin-bottom: 14px; }
}

/* ── Breakpoint: 480px (small phones) ────────────────────── */
@media (max-width: 480px) {
    /* Typography */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }

    /* Container */
    .container { padding: 0 12px; }

    /* Cards — keep 2 columns on small phones */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card-image-wrap { min-height: 110px; padding: 12px; }
    .card-body { padding: 10px 10px 12px; }
    .card-name { font-size: .85rem; }
    .card-actions { gap: 6px; }
    .btn-solid, .btn-outline { font-size: .72rem; padding: 7px 6px; }

    /* Hero */
    .hero       { height: 140px; }
    .hero-title { font-size: clamp(3rem, 22vw, 6rem); }

    /* Navbar */
    .navbar-brand { font-size: 1.1rem; }
    .navbar-inner { height: 56px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }

    /* CTA */
    .cta-section { padding: 22px 16px; }
    .cta-title   { font-size: 1.35rem; }
    .email-row   { flex-direction: column; border-radius: 10px; overflow: hidden; }
    .email-row input { border-radius: 0; padding: 12px 14px; }
    .btn-send    { border-radius: 0; border-left: none; border-top: 1px solid var(--gray-200); width: 100%; }

    /* Listing */
    .listing-hero-media  { min-height: 220px; }
    .listing-extra-grid  { grid-template-columns: 1fr; }
    .listing-hero-copy h1 { font-size: clamp(1.5rem, 7vw, 2.5rem); }

    /* Map */
    .listing-map-embed { height: 240px; }
    .listing-travel-btn { padding: 6px 10px; font-size: .78rem; gap: 4px; }

    /* Form */
    .hours-fields { grid-template-columns: 1fr auto 1fr; }

    /* Scroll arrows — hide on tiny screens */
    .arrow-btn { width: 32px; height: 32px; }
    .scroll-row .card { min-width: 180px; width: 180px; }

    /* Auth */
    .auth-card { padding: 20px 14px; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
