/**
 * UrbanThrifter Thrift Crawl — Frontend Styles
 * Version: 1.2.0
 */

/* ═══════════════════════════════════════════════
   CSS Variables
   ═══════════════════════════════════════════════ */
:root {
    /* Fallback values when GeoDirectory/AyeCode UI is not active */
    --utc-primary: #667eea;
    --utc-primary-rgb: 102, 126, 234;
    --utc-accent: #e37400;
    --utc-text: #333;
    --utc-text-light: #666;
    --utc-text-muted: #888;
    --utc-border: #e0e0e0;
    --utc-bg: #f9f9fb;
    --utc-bg-white: #fff;
    --utc-radius: 8px;
    --utc-radius-sm: 6px;
    --utc-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --utc-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Override primary when GeoDirectory/AyeCode UI sets --bs-primary on body */
body {
    --utc-primary: var(--bs-primary, #667eea);
    --utc-primary-rgb: var(--bs-primary-rgb, 102, 126, 234);
}

/* Strip WordPress block padding from our template pages (list + single) */
main.container > .wp-block-post-content {
    padding: 0;
    margin: 0;
}
main.container > .wp-block-post-content > * {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* ═══════════════════════════════════════════════
   Single Crawl Display
   ═══════════════════════════════════════════════ */
.utc-crawl-single {
    width: 100%;
    padding: 0 0 20px;
}

.utc-crawl-header {
    margin-bottom: 24px;
}

/* Title: inherits ALL styles (font, size, weight, color) from theme defaults — no overrides */
.utc-crawl-header h1 {
    margin: 0;
}

.utc-crawl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
    font-size: 14px;
    color: var(--utc-text-light);
    margin-top: 4px;
}

.utc-crawl-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.utc-crawl-meta-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--utc-primary);
}

.utc-crawl-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--utc-text-light);
    margin: 12px 0 20px 0;
}

/* ═══════════════════════════════════════════════
   Rating Widget — matches GeoDirectory star rendering
   Uses foreground/background overlay technique:
   background = 5 gray stars, foreground = 5 orange stars
   with position:absolute + overflow:hidden + width percentage
   ═══════════════════════════════════════════════ */
.utc-crawl-rating-widget {
    margin: 12px 0 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

/* Star wrapper: foreground/background overlay */
.utc-rating-wrap,
.utc-rating-stars-input {
    display: inline-flex;
    position: relative;
    vertical-align: middle;
    line-height: 1;
}

.utc-rating-foreground {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ff9900;
}

.utc-rating-background {
    white-space: nowrap;
    overflow: hidden;
    color: #afafaf;
}

.utc-rating-wrap i,
.utc-rating-stars-input i {
    margin: 0 1px;
}

/* Average display text */
.utc-rating-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.utc-rating-display .utc-rating-text {
    font-size: 14px;
    color: var(--utc-text-muted, #6b7280);
}

.utc-rating-count {
    color: var(--utc-text-muted, #999);
    font-size: 13px;
}

/* Input section */
.utc-rating-input {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.utc-rating-input-label {
    font-size: 14px;
    color: var(--utc-text-muted, #6b7280);
}

.utc-rating-stars-input {
    cursor: pointer;
}

/* Locked rating (already submitted — read-only) */
.utc-rating-locked .utc-rating-wrap {
    cursor: default;
}

.utc-rating-notice {
    margin-top: 4px;
}

.utc-rating-input-text {
    font-size: 13px;
    color: var(--utc-text-muted, #999);
    min-width: 60px;
}

/* Login prompt */
.utc-rating-login-prompt {
    font-size: 14px;
}

.utc-rating-login-prompt a {
    color: var(--utc-primary, #667eea);
    text-decoration: none;
}

.utc-rating-login-prompt a:hover {
    text-decoration: underline;
}

/* Compact card rating (archive) */
.utc-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
}

.utc-card-rating .fa-star {
    font-size: 11px;
}

.utc-card-rating-count {
    color: var(--utc-text-muted, #999);
    font-weight: 400;
}

/* ── GD Review Bridge: Crawl badge on store reviews ── */
.utc-crawl-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: opacity 0.15s;
}
.utc-crawl-review-badge:hover {
    opacity: 0.85;
}
.utc-crawl-review-badge a.text-white:hover {
    text-decoration: underline;
}

/* Map */
.utc-crawl-map-wrap {
    border-radius: var(--utc-radius);
    overflow: hidden;
    border: 1px solid var(--utc-border);
    margin-bottom: 24px;
    box-shadow: var(--utc-shadow);
}

.utc-crawl-map {
    width: 100%;
    height: 450px;
}

/* Route Stats Bar */
.utc-route-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 16px 20px;
    background: var(--utc-bg);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    margin-bottom: 24px;
}

.utc-route-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.utc-route-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--utc-primary);
    line-height: 1.2;
}

.utc-route-stat-label {
    font-size: 12px;
    color: var(--utc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════
   Stop Cards
   ═══════════════════════════════════════════════ */
.utc-stops-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--utc-text);
    margin: 0 0 16px 0;
}

.utc-stop-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.utc-stop-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    transition: box-shadow 0.2s;
}

.utc-stop-card:hover {
    box-shadow: var(--utc-shadow);
}

.utc-stop-card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--utc-primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
}

.utc-stop-card-body {
    flex: 1;
    min-width: 0;
}

.utc-stop-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--utc-text);
    margin: 0 0 4px 0;
}

.utc-stop-card-name a {
    color: inherit;
    text-decoration: none;
}

.utc-stop-card-name a:hover {
    color: var(--utc-primary);
}

.utc-stop-card-address {
    font-size: 13px;
    color: var(--utc-text-muted);
    margin-bottom: 6px;
}

.utc-stop-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--utc-text-light);
}

.utc-stop-card-detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.utc-stop-card-note {
    margin-top: 8px;
    padding: 8px 12px;
    background: #fffbf0;
    border-left: 3px solid var(--utc-accent);
    border-radius: 0 var(--utc-radius-sm) var(--utc-radius-sm) 0;
    font-size: 13px;
    color: var(--utc-text-light);
    font-style: italic;
}

.utc-stop-card-hours {
    margin-top: 8px;
}

.utc-stop-card-hours summary {
    cursor: pointer;
    font-size: 13px;
    color: var(--utc-primary);
    font-weight: 500;
}

.utc-hours-table {
    margin-top: 6px;
    font-size: 12px;
}

.utc-hours-table td {
    padding: 2px 12px 2px 0;
}

.utc-hours-table td:first-child {
    font-weight: 600;
    color: var(--utc-text);
}

/* Leg info between stops */
.utc-stop-leg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0 6px 50px;
    font-size: 12px;
    color: var(--utc-text-muted);
}

.utc-stop-leg-line {
    width: 2px;
    height: 16px;
    background: var(--utc-border);
}

/* ═══════════════════════════════════════════════
   Share / Action Bar
   ═══════════════════════════════════════════════ */
.utc-share-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 16px 20px;
    margin-top: 24px;
    background: var(--utc-bg);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
}

.utc-share-bar-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--utc-text);
}

/* ═══════════════════════════════════════════════
   Breadcrumb
   ═══════════════════════════════════════════════ */
/* Breadcrumb: links inherit default link color from theme/Bootstrap */
.utc-breadcrumb .breadcrumb-item a {
    text-decoration: none;
}
.utc-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   Title Row + Header Actions
   ═══════════════════════════════════════════════ */
.utc-crawl-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.utc-crawl-title-row h1 {
    flex: 1;
    min-width: 0;
}

.utc-crawl-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding-top: 4px;
}

.utc-header-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    color: var(--utc-text-light);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
}

.utc-header-action-btn:hover {
    color: var(--utc-text);
    border-color: var(--utc-text-light);
    background: var(--utc-bg);
    text-decoration: none;
}

/* Favorite heart in single page metadata row — just a heart, no button chrome */
.utc-meta-fav.utc-bookmark-btn {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    line-height: 1;
    font-size: inherit;
    color: inherit;
}

.utc-meta-fav.utc-bookmark-btn .fa-heart {
    color: #ccc;
    transition: color 0.15s;
}

.utc-meta-fav.utc-bookmark-btn:hover .fa-heart {
    color: #e84739;
}

.utc-meta-fav.utc-bookmark-btn.bookmarked {
    background: none;
    border: none;
    color: inherit;
}

.utc-meta-fav.utc-bookmark-btn.bookmarked .fa-heart {
    color: #e84739;
}

.utc-meta-fav.utc-bookmark-btn:hover {
    background: none;
}

/* Share dropdown in header */
.utc-crawl-header-actions .dropdown-toggle::after {
    display: none;
}

.utc-crawl-header-actions .dropdown-menu {
    min-width: 180px;
    box-shadow: var(--utc-shadow-lg);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
}

.utc-crawl-header-actions .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--utc-text);
}

.utc-crawl-header-actions .dropdown-item:hover {
    background: var(--utc-bg);
    color: var(--utc-primary);
}

/* ═══════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════ */
.utc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--utc-radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s, box-shadow 0.15s;
    line-height: 1.4;
}

.utc-btn-primary {
    background: var(--utc-primary);
    color: #fff;
    border-color: var(--utc-primary);
}

.utc-btn-primary:hover {
    background: rgba(var(--utc-primary-rgb), 0.85);
    color: #fff;
}

.utc-btn-secondary {
    background: var(--utc-bg-white);
    color: var(--utc-text);
    border-color: var(--utc-border);
}

.utc-btn-secondary:hover {
    background: var(--utc-bg);
    color: var(--utc-text);
}

.utc-btn-accent {
    background: var(--utc-accent);
    color: #fff;
    border-color: var(--utc-accent);
}

.utc-btn-accent:hover {
    background: #d06800;
    color: #fff;
}

.utc-btn-small {
    padding: 5px 10px;
    font-size: 12px;
}

.utc-btn-danger {
    background: #fce8e6;
    color: #c5221f;
    border-color: #f5c6c2;
}

.utc-btn-danger:hover {
    background: #f5c6c2;
    color: #c5221f;
}

.utc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.utc-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════════
   Difficulty Badges (frontend)
   ═══════════════════════════════════════════════ */
.utc-difficulty-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Difficulty colors are now applied inline from admin settings.
   Legacy classes kept for backward compatibility */
.utc-difficulty-easy { background: #e6f4ea; color: #137333; }
.utc-difficulty-moderate { background: #fef3e2; color: #e37400; }
.utc-difficulty-epic { background: #f3e8fd; color: #7c3aed; }

/* Auto-calculated difficulty badge container */
.utc-difficulty-auto-badge {
    display: inline-block;
    vertical-align: middle;
}

/* ═══════════════════════════════════════════════
   Crawl Grid (Archive / List)
   ═══════════════════════════════════════════════ */
.utc-crawl-archive {
    width: 100%;
}

.utc-archive-header {
    margin-bottom: 20px;
}

.utc-archive-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--utc-text);
    margin: 0 0 12px 0;
}

.utc-archive-toolbar {
    margin-bottom: 20px;
}

.utc-archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.utc-archive-select,
.utc-archive-filters select {
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    font-size: 14px;
    color: var(--utc-text);
    background: var(--utc-bg-white);
    cursor: pointer;
    min-width: 0;
}

.utc-archive-search-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.utc-archive-search-icon {
    position: absolute;
    left: 10px;
    color: var(--utc-text-muted);
    font-size: 13px;
    pointer-events: none;
}

.utc-archive-search {
    height: 36px;
    padding: 0 12px 0 32px;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    font-size: 14px;
    color: var(--utc-text);
    background: var(--utc-bg-white);
    width: 200px;
    max-width: 100%;
}

.utc-archive-search:focus {
    outline: none;
    border-color: var(--utc-primary);
    box-shadow: 0 0 0 2px rgba(var(--utc-primary-rgb), 0.15);
}

.utc-near-me-btn {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.utc-near-me--active {
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb, 102, 126, 234), 0.35);
}

.utc-archive-intro {
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Device-based filter visibility (controlled from admin Settings > Display & PWA) */
@media (min-width: 769px) {
    [data-hide-desktop="1"] { display: none !important; }
}
@media (max-width: 768px) {
    [data-hide-mobile="1"] { display: none !important; }
}

.utc-archive-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.utc-archive-count {
    font-size: 13px;
    color: var(--utc-text-muted);
}

/* ── Crawl Card Grid ── */
.utc-crawl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Crawl Card — text-only, matches store card pattern */
.utc-crawl-card {
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.utc-crawl-card:hover {
    border-color: var(--utc-primary);
    box-shadow: var(--utc-shadow);
}

/* Full clickable card link */
.utc-crawl-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
    padding: 20px;
}

.utc-crawl-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.utc-crawl-card-link:hover .utc-crawl-card-title {
    color: var(--utc-primary);
}

/* Title — single line, ellipsis */
.utc-crawl-card-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    transition: color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Meta row — matches .utc-store-card-meta */
.utc-crawl-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

/* Difficulty dot + text */
.utc-crawl-meta-difficulty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.utc-difficulty-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Distance — same as store */
.utc-crawl-meta-distance {
    color: var(--utc-primary);
    font-weight: 500;
}

/* Rating — star + number */
.utc-crawl-meta-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.utc-crawl-meta-rating .fa-star {
    color: #ff9900;
    font-size: 0.75rem;
}

.utc-crawl-meta-rating-count {
    color: var(--utc-text-muted);
}

/* Stops count */
.utc-crawl-meta-stops {
    color: var(--utc-text-muted);
}

/* Bookmark heart — inline, pushed right */
.utc-crawl-card .utc-bookmark-btn {
    cursor: pointer;
    margin-left: auto;
    line-height: 1;
    position: static;
    background: none;
    border: none;
    padding: 0;
}

.utc-crawl-card .utc-bookmark-btn .fa-heart {
    color: grey;
    transition: color 0.15s;
}

.utc-crawl-card .utc-bookmark-btn:hover .fa-heart,
.utc-crawl-card .utc-bookmark-btn.bookmarked .fa-heart {
    color: #fc0000;
}

/* Detail row (location) — matches .utc-store-card-detail */
.utc-crawl-card-detail {
    display: flex;
    align-items: start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--utc-text-light);
    margin-bottom: 4px;
}

.utc-crawl-card-detail svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--utc-primary);
}

/* Excerpt — matches .utc-store-card-excerpt, pushed to bottom */
.utc-crawl-card-excerpt {
    font-size: 0.85rem;
    color: var(--utc-text-muted);
    margin-top: auto;
    padding-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Featured badge — small tag, top-right */
.utc-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--utc-accent);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* ── Archive Pagination ── */
.utc-archive-pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding-bottom: 20px;
}

/* ── Archive Loading Overlay ── */
.utc-archive--loading {
    position: relative;
}

.utc-archive-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    min-height: 200px;
}

.utc-spinner {
    color: var(--utc-primary);
}

/* ── Archive Empty State ── */
.utc-archive-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.utc-archive-empty-icon {
    font-size: 48px;
    color: var(--utc-text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}

.utc-archive-empty h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--utc-text);
    margin: 0 0 8px 0;
}

.utc-archive-empty p {
    font-size: 15px;
    color: var(--utc-text-light);
    max-width: 500px;
    margin: 0 auto 20px auto;
    line-height: 1.5;
}

.utc-archive-empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.utc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 20px;
    background: var(--utc-primary);
    color: #fff;
    border: none;
    border-radius: var(--utc-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.utc-btn-primary:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

.utc-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 20px;
    background: transparent;
    color: var(--utc-text);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.utc-btn-outline:hover {
    border-color: var(--utc-text-muted);
    color: var(--utc-text);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════
   User Builder (Frontend)
   ═══════════════════════════════════════════════ */
.utc-user-builder {
    width: 100%;
}

.utc-builder-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--utc-text);
    margin: 0 0 16px 0;
}

.utc-builder-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
}

.utc-builder-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.utc-builder-form label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--utc-text);
    margin-bottom: 4px;
}

.utc-builder-form input[type="text"],
.utc-builder-form textarea,
.utc-builder-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    font-size: 14px;
    margin-bottom: 12px;
}

.utc-builder-form textarea {
    resize: vertical;
}

.utc-builder-sidebar label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--utc-text);
    margin-bottom: 4px;
}

.utc-builder-sidebar select {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    font-size: 14px;
}

.utc-builder-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    font-size: 14px;
}

.utc-builder-map-panel {
    border-radius: var(--utc-radius);
    overflow: hidden;
    border: 1px solid var(--utc-border);
    box-shadow: var(--utc-shadow);
    align-self: start;
    position: sticky;
    top: 20px;
}

/* Reuse stop item and sortable styles */
.utc-user-builder .utc-sortable {
    min-height: 60px;
}

.utc-user-builder .utc-stop-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-left: 4px solid var(--utc-border);
    border-radius: var(--utc-radius);
    margin-bottom: 8px;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.utc-user-builder .utc-stop-item:hover {
    box-shadow: var(--utc-shadow);
}

/* ── Grip Handle (drag-to-reorder) ── */
.utc-user-builder .utc-stop-grip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    color: var(--utc-text-muted);
    cursor: grab;
    font-size: 16px;
    padding: 4px 0;
    opacity: 0.4;
    transition: opacity 0.15s;
    align-self: center;
}

.utc-user-builder .utc-stop-grip:hover {
    opacity: 0.8;
}

.utc-user-builder .utc-stop-item.ui-sortable-helper .utc-stop-grip {
    cursor: grabbing;
    opacity: 1;
}

.utc-user-builder .utc-stop-item.ui-sortable-helper {
    box-shadow: var(--utc-shadow-lg);
}

/* ── Sortable Placeholder ── */
.utc-user-builder .utc-stop-placeholder {
    border: 2px dashed rgba(var(--utc-primary-rgb), 0.3);
    border-radius: var(--utc-radius-sm);
    margin-bottom: 8px;
    min-height: 50px;
    background: rgba(var(--utc-primary-rgb), 0.03);
}

.utc-user-builder .utc-stop-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--utc-primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
}

.utc-user-builder .utc-stop-info {
    flex: 1;
    min-width: 0;
}

.utc-user-builder .utc-stop-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--utc-text);
}

.utc-user-builder .utc-stop-address {
    font-size: 12px;
    color: var(--utc-text-muted);
    margin-top: 2px;
}

.utc-user-builder .utc-stop-address:empty {
    display: none;
}

.utc-user-builder .utc-stop-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    font-size: 18px;
    padding: 0;
    line-height: 1;
}

.utc-user-builder .utc-stop-remove:hover {
    color: #c5221f;
}

/* ── Builder Meeting Place ── */
.utc-user-builder .utc-stop-item.utc-stop-meeting {
    border-left-color: #28a745;
    background: rgba(40, 167, 69, 0.03);
}

.utc-user-builder .utc-stop-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.utc-builder-meeting-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    font-size: 14px;
    padding: 2px 4px;
    border-radius: 3px;
    transition: color 0.15s, background 0.15s;
}

.utc-builder-meeting-btn:hover {
    color: #28a745;
    background: rgba(40, 167, 69, 0.08);
}

/* Stop time row */
.utc-stop-time-row {
    margin-top: 4px;
    font-size: 12px;
    color: var(--utc-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.utc-stop-time-row label {
    font-weight: 500;
    color: var(--utc-text-light);
}

.utc-stop-time-row input {
    padding: 2px 4px;
    border: 1px solid var(--utc-border);
    border-radius: 3px;
    font-size: 12px;
    text-align: center;
    width: 55px;
}

/* Search results in builder */
.utc-user-builder .utc-search-results {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    display: none;
    margin-top: 4px;
    background: var(--utc-bg-white);
    box-shadow: var(--utc-shadow);
}

.utc-user-builder .utc-search-results.has-results {
    display: block;
}

.utc-user-builder .utc-search-result-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    transition: background 0.1s;
}

.utc-user-builder .utc-search-result-item:hover {
    background: rgba(var(--utc-primary-rgb), 0.06);
}

.utc-user-builder .utc-search-result-item .store-city {
    font-size: 11px;
    color: var(--utc-text-muted);
}

/* Route stats in builder */
.utc-user-builder .utc-route-stats {
    margin-top: 16px;
    padding: 12px;
    background: var(--utc-bg);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    font-size: 13px;
}

.utc-user-builder .utc-route-stats div {
    padding: 3px 0;
}

/* Builder actions */
.utc-builder-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   My Crawls Page
   ═══════════════════════════════════════════════ */
.utc-my-crawls {
    width: 100%;
}

.utc-my-crawls h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--utc-text);
    margin: 0 0 16px 0;
    padding-top: 16px;
}

.utc-my-crawls h2:first-child {
    padding-top: 0;
}

/* Login Prompt */
.utc-login-prompt {
    text-align: center;
    padding: 40px 20px;
    background: var(--utc-bg);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
}

.utc-login-prompt p {
    font-size: 16px;
    color: var(--utc-text-light);
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════
   Error States
   ═══════════════════════════════════════════════ */
.utc-error {
    padding: 16px;
    background: #fce8e6;
    border: 1px solid #f5c6c2;
    border-radius: var(--utc-radius-sm);
    color: #c5221f;
    font-size: 14px;
}

.utc-notice {
    padding: 12px 16px;
    border-radius: var(--utc-radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
}

.utc-notice-success {
    background: #e6f4ea;
    border: 1px solid #b7e1cd;
    color: #137333;
}

.utc-notice-info {
    background: #e8f0fe;
    border: 1px solid #b6d4fe;
    color: #1a73e8;
}

/* Toast Notification */
.utc-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 12px 24px;
    background: #333;
    color: #fff;
    border-radius: var(--utc-radius-sm);
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
}

.utc-toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ═══════════════════════════════════════════════
   Cover Image
   ═══════════════════════════════════════════════ */
.utc-crawl-cover {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--utc-radius);
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════
   Author Info
   ═══════════════════════════════════════════════ */
.utc-crawl-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--utc-text-light);
}

.utc-crawl-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* ═══════════════════════════════════════════════
   Bookmark Button
   ═══════════════════════════════════════════════ */
.utc-bookmark-btn {
    background: none;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--utc-text-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s, color 0.15s;
}

.utc-bookmark-btn:hover {
    background: var(--utc-bg);
}

.utc-bookmark-btn.bookmarked {
    background: #fef3e2;
    border-color: #fdd28e;
    color: var(--utc-accent);
}

.utc-bookmark-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════════
   Crawl Favorites Badges (Frontend / Listings)
   ═══════════════════════════════════════════════ */
.utc-crawl-favorite-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.4;
    vertical-align: middle;
}

.utc-badge-crawl-pick {
    background: linear-gradient(135deg, #fef0e0, #fde4c8);
    color: #8B5E3C;
    border: 1px solid #e8c9a0;
}

.utc-badge-crawl-favorite {
    background: linear-gradient(135deg, #f0f0f5, #e2e2ea);
    color: #555;
    border: 1px solid #c8c8d0;
}

.utc-badge-crawl-legend {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    color: #8B6914;
    border: 1px solid #f0d780;
}

.utc-fav-count {
    font-weight: 400;
    font-size: 11px;
    opacity: 0.8;
    margin-left: 2px;
}

/* Badge on GeoDirectory listing cards */
.geodir-post-meta .utc-crawl-favorite-badge {
    margin-top: 6px;
}

/* Badge on listing detail page */
.geodir-single-detail .utc-crawl-favorite-badge,
.gd-detail-page .utc-crawl-favorite-badge {
    margin: 8px 0;
}

/* ═══════════════════════════════════════════════
   Event Single Page
   ═══════════════════════════════════════════════ */
.utc-event-single {
    width: 100%;
    padding: 0 0 20px;
}

.utc-event-single .utc-crawl-cover {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: var(--utc-radius);
    margin-bottom: 20px;
}

.utc-event-single .utc-crawl-header {
    margin-bottom: 20px;
}

/* Event title: inherits ALL styles from theme defaults — no overrides */
.utc-event-single .utc-crawl-header h1 {
    margin: 0;
}

/* Event Status Badges (frontend) */
.utc-badge-event-draft     { background: #e8f0fe; color: #1a73e8; }
.utc-badge-event-pending   { background: #fef3e2; color: #e37400; }
.utc-badge-event-approved  { background: #e6f4ea; color: #137333; }
.utc-badge-event-live      { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.utc-badge-event-active    { background: #cce5ff; color: #004085; border: 1px solid #b8daff; }
.utc-badge-event-completed { background: #f1f3f4; color: #5f6368; }
.utc-badge-event-cancelled { background: #fce8e6; color: #c5221f; }
.utc-badge-event-rejected  { background: #fce8e6; color: #c5221f; }

/* RSVP Section */
.utc-event-rsvp-section {
    margin: 24px 0;
}

.utc-btn-large {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--utc-radius);
}

.utc-btn-large .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

.utc-rsvp-btn {
    background: linear-gradient(135deg, var(--utc-primary) 0%, rgba(var(--utc-primary-rgb), 0.7) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(var(--utc-primary-rgb), 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.utc-rsvp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--utc-primary-rgb), 0.45);
    color: #fff;
}

.utc-cancel-rsvp {
    margin-left: 8px;
}

/* Event Map */
.utc-event-single .utc-crawl-map-wrap {
    margin-bottom: 24px;
}

.utc-event-single .utc-crawl-map {
    width: 100%;
    height: 400px;
}

/* Event Stop Cards */
.utc-event-single .utc-stops-section {
    margin-bottom: 24px;
}

.utc-event-single .utc-stops-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--utc-text);
    margin: 0 0 16px 0;
}

.utc-event-single .utc-stop-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    margin-bottom: 12px;
    transition: box-shadow 0.2s;
}

.utc-event-single .utc-stop-card:hover {
    box-shadow: var(--utc-shadow);
}

.utc-event-single .utc-stop-card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--utc-primary), rgba(var(--utc-primary-rgb), 0.7));
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
}

.utc-event-single .utc-stop-card-body {
    flex: 1;
    min-width: 0;
}

.utc-event-single .utc-stop-card-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--utc-text);
    margin: 0 0 4px 0;
}

.utc-event-single .utc-stop-card-address {
    font-size: 13px;
    color: var(--utc-text-muted);
    margin-bottom: 8px;
}

.utc-event-single .utc-stop-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--utc-text-light);
}

.utc-event-single .utc-stop-card-detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.utc-event-single .utc-stop-card-detail .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--utc-primary);
}

.utc-event-single .utc-stop-card-detail a {
    color: var(--utc-primary);
    text-decoration: none;
}

.utc-event-single .utc-stop-card-detail a:hover {
    text-decoration: underline;
}

.utc-event-single .utc-stop-card-note {
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(var(--utc-primary-rgb), 0.06);
    border-left: 3px solid rgba(var(--utc-primary-rgb), 0.5);
    border-radius: 0 var(--utc-radius-sm) var(--utc-radius-sm) 0;
    font-size: 13px;
    color: var(--utc-text-light);
    font-style: italic;
}

/* ═══════════════════════════════════════════════
   Event Listing Grid (frontend)
   ═══════════════════════════════════════════════ */
.utc-events-archive {
    width: 100%;
}

.utc-events-archive h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--utc-text);
    margin: 0 0 20px 0;
}

.utc-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.utc-event-card {
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    overflow: hidden;
}

.utc-event-card-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.utc-event-card-cover-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--utc-primary) 0%, rgba(var(--utc-primary-rgb), 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.utc-event-card-body {
    padding: 16px;
}

.utc-event-card-body h3 {
    margin: 0 0 8px 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.utc-event-card-body h3 a {
    color: var(--utc-text);
    text-decoration: none;
}

.utc-event-card-body h3 a:hover {
    color: var(--utc-primary);
}

.utc-event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: var(--utc-text-muted);
    margin-bottom: 8px;
}

.utc-event-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.utc-event-card-meta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--utc-primary);
}

.utc-event-card-host {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--utc-text-light);
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
}

.utc-event-card-host img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.utc-event-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* ═══════════════════════════════════════════════
   Host Dashboard (frontend)
   ═══════════════════════════════════════════════ */
.utc-host-dashboard {
    width: 100%;
}

.utc-host-dashboard h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--utc-text);
    margin: 0 0 20px 0;
}

.utc-host-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.utc-host-stat {
    text-align: center;
    padding: 16px;
    background: var(--utc-bg);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
}

.utc-host-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--utc-primary);
    line-height: 1.2;
}

.utc-host-stat-label {
    font-size: 12px;
    color: var(--utc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.utc-host-events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.utc-host-event-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    transition: box-shadow 0.2s;
}

.utc-host-event-row:hover {
    box-shadow: var(--utc-shadow);
}

.utc-host-event-info {
    flex: 1;
    min-width: 0;
}

.utc-host-event-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--utc-text);
    margin-bottom: 4px;
}

.utc-host-event-meta {
    font-size: 12px;
    color: var(--utc-text-muted);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.utc-host-event-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   Host Event Form — BS5 / GeoDirectory Style
   ═══════════════════════════════════════════════ */

/* ── Page Container ── */
.utc-host-event-page {
    width: 100%;
    padding: 0 0 40px;
}

/* ── Validation states (used by JS) ── */
.utc-event-form .is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12) !important;
}

.utc-event-form .invalid-feedback {
    font-size: 12px;
    color: #dc3545;
    margin-top: 4px;
    display: block;
}

/* ── Cover Image Upload ── */
.utc-hf-cover-upload {
    overflow: hidden;
    transition: border-color 0.2s;
}

.utc-hf-cover-upload:hover {
    border-color: var(--utc-primary) !important;
}

.utc-hf-cover-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    cursor: pointer;
    text-align: center;
    color: var(--utc-text-muted);
    transition: background 0.2s;
}

.utc-hf-cover-dropzone:hover {
    background: rgba(var(--utc-primary-rgb), 0.03);
}

.utc-hf-cover-dropzone i {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--utc-primary);
    opacity: 0.6;
}

.utc-hf-cover-dropzone span {
    font-size: 14px;
    font-weight: 500;
}

.utc-hf-cover-preview {
    position: relative;
}

.utc-hf-cover-preview img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.utc-hf-cover-preview img:active {
    cursor: grabbing;
}

/* Drag-to-reposition hint overlay */
.utc-cover-drag-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    pointer-events: none;
    z-index: 3;
    white-space: nowrap;
}

.utc-cover-drag-hint i {
    margin-right: 6px;
}

.utc-hf-cover-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s;
}

.utc-hf-cover-remove:hover {
    background: #dc3545;
}

/* ── Fee Notice (additional styling on BS5 alert) ── */
.utc-event-fee-amount {
    font-weight: 700;
}

/* ── City Autocomplete (gated mode) ── */
.utc-city-autocomplete {
    position: relative;
}

.utc-city-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--utc-bg-white, #fff);
    border: 1px solid var(--utc-border, #dee2e6);
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 260px;
    overflow-y: auto;
    display: none;
}

.utc-city-results.has-results {
    display: block;
}

.utc-city-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.1s;
    font-size: 14px;
}

.utc-city-result-item:last-child {
    border-bottom: none;
}

.utc-city-result-item:hover {
    background: rgba(var(--utc-primary-rgb, 102,126,234), 0.05);
}

.utc-city-result-item .city-name {
    font-weight: 600;
    color: var(--utc-text, #333);
}

.utc-city-result-item .city-region {
    color: var(--utc-text-muted, #888);
    font-size: 13px;
}

.utc-city-result-item .city-meta {
    font-size: 12px;
    color: var(--utc-text-muted, #888);
    text-align: right;
    white-space: nowrap;
}

.utc-city-result-item .city-fee {
    font-size: 12px;
    color: var(--utc-warning, #cc7a00);
    font-weight: 600;
    white-space: nowrap;
}

.utc-city-no-results {
    padding: 14px;
    text-align: center;
    color: var(--utc-text-muted, #888);
    font-size: 13px;
}

#utc-event-city-search:disabled {
    background-color: var(--utc-bg-muted, #f8f9fa);
    cursor: not-allowed;
}

/* ── Store Search ── */
.utc-hf-search-wrap {
    position: relative;
}

.utc-hf-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-top: none;
    border-radius: 0 0 var(--utc-radius-sm) var(--utc-radius-sm);
    box-shadow: var(--utc-shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.utc-hf-search-results.has-results {
    display: block;
}

.utc-hf-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.1s;
}

.utc-hf-search-result:last-child {
    border-bottom: none;
}

.utc-hf-search-result:hover {
    background: rgba(var(--utc-primary-rgb), 0.05);
}

.utc-hf-search-result-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--utc-radius-sm);
    background: var(--utc-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--utc-primary);
    font-size: 14px;
}

.utc-hf-search-result-info {
    flex: 1;
    min-width: 0;
}

.utc-hf-search-result-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--utc-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.utc-hf-search-result-meta {
    font-size: 12px;
    color: var(--utc-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.utc-hf-search-result-add {
    color: var(--utc-primary);
    font-size: 18px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s;
}

.utc-hf-search-result:hover .utc-hf-search-result-add {
    opacity: 1;
}

.utc-hf-search-no-results {
    padding: 16px;
    text-align: center;
    color: var(--utc-text-muted);
    font-size: 13px;
}

/* ── Confirmation Screen ── */
.utc-hf-confirmation {
    min-height: 400px;
}
.utc-hf-confirmation #utc-confirm-cover img {
    max-width: 400px;
    max-height: 200px;
    border-radius: var(--utc-radius, 8px);
    object-fit: cover;
}

/* ── Map Directions Box ── */
.utc-hf-map-directions {
    max-height: 400px;
    overflow-y: auto;
    position: relative;
}
.utc-hf-map-directions.utc-directions-expanded {
    max-height: none;
    overflow-y: visible;
}
.utc-directions-expand {
    display: block;
    width: 100%;
    padding: 8px 0 0;
    margin-top: 10px;
    border: none;
    border-top: 1px solid var(--utc-border, #dee2e6);
    background: transparent;
    color: var(--utc-primary, #667eea);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}
.utc-directions-expand:hover {
    opacity: 0.8;
}

/* ── Stop List ── */
.utc-hf-stop-list {
    min-height: 10px;
}

.utc-hf-stop-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-left: 4px solid var(--utc-border);
    border-radius: var(--utc-radius);
    margin-bottom: 10px;
    transition: box-shadow 0.15s, border-color 0.15s;
}

/* Meeting place (first stop) — green highlight */
.utc-hf-stop-card.utc-hf-stop-meeting {
    border-left-color: #28a745;
    background: rgba(40, 167, 69, 0.03);
}

.utc-hf-stop-card:hover {
    box-shadow: var(--utc-shadow);
    border-color: rgba(var(--utc-primary-rgb), 0.3);
}

.utc-hf-stop-card.ui-sortable-helper {
    box-shadow: var(--utc-shadow-lg);
}

.utc-hf-stop-card .utc-stop-number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--utc-primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.utc-hf-stop-body {
    flex: 1;
    min-width: 0;
}

.utc-hf-stop-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.utc-hf-stop-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--utc-text);
}

.utc-hf-stop-address {
    font-size: 13px;
    color: var(--utc-text-muted);
    margin-bottom: 10px;
}

.utc-hf-stop-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.utc-hf-stop-field label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--utc-text-light);
    margin-bottom: 3px;
}

.utc-hf-stop-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    border: 1px solid var(--utc-border);
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.15s;
}

.utc-hf-stop-field input:focus {
    border-color: var(--utc-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--utc-primary-rgb), 0.1);
}

.utc-hf-stop-note-wrap {
    margin-top: 8px;
    grid-column: 1 / -1;
}

.utc-hf-stop-note-wrap input {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    border: 1px solid var(--utc-border);
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.15s;
}

.utc-hf-stop-note-wrap input:focus {
    border-color: var(--utc-primary);
    outline: none;
}

.utc-hf-stop-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--utc-text-muted);
    font-size: 16px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.15s;
    flex-shrink: 0;
}

.utc-hf-stop-remove:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
}

/* ── Grip Handle (drag-to-reorder) ── */
.utc-hf-stop-grip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    color: var(--utc-text-muted);
    cursor: grab;
    font-size: 16px;
    padding: 4px 0;
    opacity: 0.4;
    transition: opacity 0.15s;
    align-self: center;
}

.utc-hf-stop-grip:hover {
    opacity: 0.8;
}

.utc-hf-stop-card.ui-sortable-helper .utc-hf-stop-grip {
    cursor: grabbing;
    opacity: 1;
}

/* ── Stop Actions (meeting + remove buttons) ── */
.utc-hf-stop-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* ── Meeting Place Badge ── */
.utc-meeting-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
}

.utc-meeting-badge i {
    margin-right: 3px;
    font-size: 10px;
}

/* ── Set as Meeting Place Button ── */
.utc-hf-stop-meeting-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--utc-text-muted);
    font-size: 14px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.15s;
    flex-shrink: 0;
}

.utc-hf-stop-meeting-btn:hover {
    color: #28a745;
    background: rgba(40, 167, 69, 0.08);
}

/* ── Empty Stops State ── */
.utc-hf-empty-stops {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--utc-text-muted);
}

.utc-hf-empty-stops i {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.utc-hf-empty-stops p {
    font-size: 15px;
    font-weight: 600;
    color: var(--utc-text-light);
    margin: 0 0 4px;
}

.utc-hf-empty-stops span {
    font-size: 13px;
}

/* Placeholder for sortable */
.utc-hf-stop-placeholder {
    border: 2px dashed rgba(var(--utc-primary-rgb), 0.3);
    border-radius: var(--utc-radius);
    margin-bottom: 10px;
    min-height: 60px;
    background: rgba(var(--utc-primary-rgb), 0.03);
}

/* ── Step 2 Two-Column Layout ── */
.utc-hf-step2-map-wrap {
    position: relative;
}

/* ── Map ── */
.utc-hf-map {
    width: 100%;
    height: 500px;
    min-height: 350px;
    background: var(--utc-bg);
}

/* Map legend */
.utc-hf-map-legend {
    font-size: 12px;
    line-height: 1.5;
}

.utc-hf-map-empty {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--utc-bg);
    color: var(--utc-text-muted);
    text-align: center;
}

.utc-hf-map-empty i {
    font-size: 36px;
    margin-bottom: 10px;
    opacity: 0.3;
}

.utc-hf-map-empty p {
    font-size: 14px;
    margin: 0;
}

/* ── Review Summary ── */
.utc-hf-review {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.utc-hf-review-section {
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.utc-hf-review-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.utc-hf-review-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--utc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
}

.utc-hf-review-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
    padding: 4px 0;
}

.utc-hf-review-label {
    font-weight: 500;
    color: var(--utc-text-light);
}

.utc-hf-review-value {
    color: var(--utc-text);
}

.utc-hf-review-stops {
    list-style: none;
    padding: 0;
    margin: 0;
}

.utc-hf-review-stops li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--utc-text);
}

.utc-hf-review-stops li .utc-stop-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 12px;
}

/* ═══════════════════════════════════════════════
   Print Styles
   ═══════════════════════════════════════════════ */
@media print {
    .utc-share-bar,
    .utc-bookmark-btn,
    .utc-builder-actions,
    .utc-archive-filters,
    .utc-crawl-card-actions,
    .utc-event-card-actions,
    .utc-host-event-actions,
    .utc-event-rsvp-section,
    .utc-event-form-actions,
    .utc-toast {
        display: none !important;
    }

    .utc-crawl-single {
        max-width: 100%;
        padding: 0;
    }

    .utc-crawl-map-wrap {
        box-shadow: none;
        page-break-inside: avoid;
    }

    .utc-crawl-map {
        height: 300px;
    }

    .utc-stop-card {
        page-break-inside: avoid;
        border-color: #ccc;
        box-shadow: none;
    }

    .utc-crawl-card {
        box-shadow: none;
    }

    .utc-route-summary {
        border-color: #ccc;
        background: #f5f5f5;
    }

    body {
        font-size: 12pt;
    }
}

/* ═══════════════════════════════════════════════
   City Selector Bar (Builder Gating)
   ═══════════════════════════════════════════════ */
/* Builder intro message (admin-configurable, above cascade) */
.utc-builder-intro {
    padding: 16px 24px 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--utc-text, #333);
}

.utc-builder-intro p:last-child {
    margin-bottom: 0;
}

.utc-builder-intro img {
    max-width: 100%;
    height: auto;
    border-radius: var(--utc-radius, 8px);
}

.utc-city-selector {
    padding: 24px 16px;
}

.utc-city-selector-bar {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    box-shadow: var(--utc-shadow);
    padding: 20px 24px;
}

.utc-city-selector-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Country dropdown — fixed width */
.utc-city-selector-field:nth-child(1) {
    flex: 0 0 200px;
}

/* State dropdown — fixed width */
.utc-city-selector-field:nth-child(2) {
    flex: 0 0 200px;
}

/* City input — grows to fill */
.utc-city-selector-field--grow {
    flex: 1;
}

/* Button — auto width, aligned to bottom */
.utc-city-selector-field--action {
    flex: 0 0 auto;
}

/* Labels */
.utc-city-selector-label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--utc-text, #333);
    margin-bottom: 6px;
}

/* Controls: uniform 42px height for horizontal alignment */
.utc-city-selector-bar select,
.utc-city-selector-bar input[type="text"],
.utc-city-selector-bar .utc-btn {
    height: 42px;
    padding: 0 14px;
    font-size: 15px;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    box-sizing: border-box;
}

.utc-city-selector-bar select {
    width: 100%;
    background: var(--utc-bg-white);
    color: var(--utc-text);
    cursor: pointer;
    appearance: auto;
}

.utc-city-selector-bar select:focus,
.utc-city-selector-bar input[type="text"]:focus {
    outline: none;
    border-color: var(--utc-primary);
    box-shadow: 0 0 0 2px rgba(var(--utc-primary-rgb), 0.15);
}

.utc-city-selector-bar .utc-btn {
    white-space: nowrap;
    width: auto;
}

.utc-city-selector-bar input:disabled,
.utc-city-selector-bar select:disabled,
.utc-city-selector-bar .utc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.utc-city-selector-bar input[type="text"]:disabled {
    background: var(--utc-bg-light, #f8f9fa);
}

/* Autocomplete stays relative to city field */
.utc-city-selector-bar .utc-city-autocomplete {
    position: relative;
}

.utc-city-selector-bar input[type="text"] {
    width: 100%;
}

/* Mobile: stack vertically below 600px */
@media (max-width: 600px) {
    .utc-city-selector-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .utc-city-selector-field:nth-child(1),
    .utc-city-selector-field:nth-child(2) {
        flex: 0 0 auto;
    }
    .utc-city-selector-bar .utc-btn {
        width: 100%;
    }
    .utc-suggest-form-fields {
        flex-direction: column;
    }
    .utc-suggest-form-fields input {
        flex: 0 0 auto;
    }
}

/* ───────────────────────────────────────────────
   "Don't see your location?" Suggest Panel
   ─────────────────────────────────────────────── */
.utc-location-suggest {
    text-align: center;
    padding: 12px 24px 0;
}

#utc-suggest-location-toggle {
    color: var(--utc-text-light, #6c757d);
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

#utc-suggest-location-toggle:hover {
    color: var(--utc-primary, #667eea);
}

.utc-suggest-panel {
    background: var(--utc-bg-white, #fff);
    border: 1px solid var(--utc-border, #dee2e6);
    border-radius: var(--utc-radius, 8px);
    padding: 20px 24px;
    margin-top: 12px;
    text-align: left;
}

.utc-suggest-message {
    margin: 0 0 16px;
    color: var(--utc-text, #333);
    font-size: 14px;
    line-height: 1.6;
}

.utc-suggest-message p:last-child {
    margin-bottom: 0;
}

.utc-suggest-panel > p {
    margin: 0 0 16px;
    color: var(--utc-text, #333);
    font-size: 14px;
}

.utc-suggest-form-fields {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
    width: 100%;
}

.utc-suggest-field-wrap {
    flex: 1 1 140px;
    min-width: 120px;
}

.utc-suggest-field-wrap input {
    width: 100%;
}

.utc-suggest-form-fields input {
    flex: 1 1 140px;
    min-width: 120px;
    height: 42px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid var(--utc-border, #dee2e6);
    border-radius: var(--utc-radius-sm, 4px);
    box-sizing: border-box;
    transition: opacity 0.2s, background 0.2s;
}

.utc-suggest-form-fields input:disabled {
    opacity: 0.45;
    background: var(--utc-bg-light, #f8f9fa);
    cursor: not-allowed;
}

.utc-suggest-form-fields input:focus {
    outline: none;
    border-color: var(--utc-primary, #667eea);
    box-shadow: 0 0 0 2px rgba(var(--utc-primary-rgb), 0.15);
}

.utc-suggest-form-fields .utc-btn-sm {
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.utc-suggest-form-fields .utc-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.utc-suggest-alt {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--utc-text-light, #6c757d);
}

.utc-suggest-alt a {
    color: var(--utc-primary, #667eea);
    text-decoration: underline;
}

.utc-suggest-result {
    width: 100%;
    margin-top: 8px;
}

.utc-suggest-success {
    color: var(--utc-success, #28a745);
    font-size: 14px;
    margin: 0;
}

.utc-suggest-error {
    color: var(--utc-danger, #dc3545);
    font-size: 14px;
    margin: 0;
}

/* ───────────────────────────────────────────────
   Notify Me Signup Card
   ─────────────────────────────────────────────── */
.utc-notify-signup {
    display: flex;
    justify-content: center;
    padding: 60px 16px;
}

.utc-notify-card {
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    box-shadow: var(--utc-shadow);
    padding: 40px 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.utc-notify-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 12px;
}

.utc-notify-card h2 {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--utc-text);
}

.utc-notify-card p {
    color: var(--utc-text-light);
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.6;
}

.utc-notify-form {
    display: flex;
    gap: 8px;
}

.utc-notify-form input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    background: var(--utc-bg-white);
    color: var(--utc-text);
    min-width: 0;
}

.utc-notify-form input[type="email"]:focus {
    outline: none;
    border-color: var(--utc-primary);
    box-shadow: 0 0 0 2px rgba(var(--utc-primary-rgb), 0.15);
}

.utc-notify-form .utc-btn {
    white-space: nowrap;
    padding: 10px 20px;
    font-size: 15px;
}

.utc-notify-form .utc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.utc-notify-result {
    margin-top: 16px;
}

.utc-notify-result .utc-notice {
    text-align: center;
}

.utc-notice-error {
    background: #fce8e6;
    border: 1px solid #f5c6cb;
    color: #c5221f;
    padding: 12px 16px;
    border-radius: var(--utc-radius-sm);
    font-size: 14px;
}

@media (max-width: 480px) {
    .utc-notify-form {
        flex-direction: column;
    }

    .utc-notify-form .utc-btn {
        width: 100%;
    }

    .utc-notify-card {
        padding: 32px 20px;
    }
}

/* ═══════════════════════════════════════════════
   Newsletter Signup Block
   ═══════════════════════════════════════════════ */

.utc-newsletter-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.utc-newsletter-card {
    transition: box-shadow 0.2s ease;
}

.utc-newsletter-email:focus,
.utc-newsletter-name:focus,
.utc-newsletter-city:focus {
    border-color: var(--utc-primary, #f59e0b) !important;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.utc-newsletter-btn {
    transition: background 0.15s ease, transform 0.1s ease;
}

.utc-newsletter-btn:active {
    transform: scale(0.98);
}

.utc-newsletter-result .utc-notice-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
}

.utc-newsletter-result .utc-notice-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 480px) {
    .utc-newsletter-card {
        padding: 24px 18px !important;
    }

    .utc-newsletter-heading {
        font-size: 19px !important;
    }

    .utc-newsletter-btn {
        font-size: 15px !important;
        padding: 11px 20px !important;
    }
}

/* ── Inline (Compact) Layout ── */
.utc-newsletter--inline {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.utc-newsletter-inline-heading {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #111827;
}

.utc-newsletter-inline-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 10px;
    line-height: 1.4;
}

.utc-newsletter-inline-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.utc-newsletter-inline-row .utc-newsletter-email {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
}

.utc-newsletter-inline-row .utc-newsletter-name {
    flex: 0 0 120px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
}

.utc-newsletter-inline-row .utc-newsletter-btn {
    flex: 0 0 auto;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.utc-newsletter-inline-row .utc-newsletter-email:focus,
.utc-newsletter-inline-row .utc-newsletter-name:focus {
    border-color: var(--utc-primary, #f59e0b);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

@media (max-width: 520px) {
    .utc-newsletter-inline-row {
        flex-direction: column;
    }

    .utc-newsletter-inline-row .utc-newsletter-name {
        flex: 1;
    }

    .utc-newsletter-inline-row .utc-newsletter-btn {
        padding: 10px 20px;
    }
}

/* ═══════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .utc-builder-layout {
        grid-template-columns: 1fr;
    }

    .utc-builder-map-panel {
        position: static;
    }

    .utc-builder-map-panel #utc-user-map {
        height: 400px !important;
        min-height: 300px !important;
    }

    .utc-crawl-map {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .utc-archive-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .utc-archive-search-wrap {
        width: 100%;
    }

    .utc-archive-search {
        width: 100%;
    }

    .utc-archive-select,
    .utc-archive-filters select {
        width: 100%;
    }

    .utc-near-me-btn {
        width: 100%;
        justify-content: center;
    }

    .utc-archive-pages {
        gap: 2px;
    }

    .utc-page-link {
        min-width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .utc-crawl-grid,
    .utc-event-grid {
        grid-template-columns: 1fr;
    }

    .utc-route-summary {
        gap: 12px;
        padding: 12px;
    }

    .utc-route-stat-value {
        font-size: 18px;
    }

    .utc-stop-card {
        flex-direction: column;
        gap: 8px;
    }

    .utc-stop-card-number {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 13px;
    }

    .utc-share-bar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .utc-crawl-title-row {
        flex-direction: column;
        gap: 8px;
    }

    .utc-crawl-header-actions {
        align-self: flex-start;
    }

    .utc-crawl-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .utc-host-event-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .utc-host-event-actions {
        width: 100%;
    }

    .utc-event-single .utc-stop-card {
        flex-direction: column;
    }

    .utc-event-single .utc-stop-card-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 14px;
    }

    /* Host Event Form responsive */
    .utc-hf-stop-fields {
        grid-template-columns: 1fr;
    }

    .utc-hf-review-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .utc-hf-cover-dropzone {
        padding: 30px 16px;
    }

    .utc-hf-map {
        height: 300px;
        min-height: 250px;
    }

    .utc-hf-step2-columns {
        flex-direction: column-reverse;
    }

    .utc-hf-map-legend {
        font-size: 11px;
    }
}

/* ── Day Tabs (Scrollable) ────────────────────── */
.utc-hf-day-tabs-scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}
.utc-hf-day-tabs-scroll::-webkit-scrollbar {
    height: 4px;
}
.utc-hf-day-tabs-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.utc-hf-day-tabs-scroll::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 2px;
}
.utc-hf-day-tabs-scroll label.btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 13px;
}
.utc-hf-day-tabs-scroll .btn-check:checked + .btn {
    font-weight: 600;
}

/* ── Day Headers ──────────────────────────────── */
.utc-hf-day-header {
    padding: 8px 12px;
    margin: 12px 0 6px;
    background: var(--utc-surface, #f8f9fa);
    border-left: 3px solid var(--utc-accent, #6f42c1);
    border-radius: 4px;
    font-size: 14px;
    color: var(--utc-accent, #6f42c1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.utc-hf-day-header:first-child {
    margin-top: 0;
}
.utc-hf-day-stats {
    font-size: 12px;
    font-weight: 400;
    color: var(--utc-text-muted, #6c757d);
    white-space: nowrap;
}

/* ── Custom Stop Type Badge ───────────────────── */
.utc-stop-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    margin-right: 6px;
    flex-shrink: 0;
}

/* ── Public Event Day Tabs ────────────────────── */
.utc-public-day-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 8px;
    margin-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.utc-public-day-tabs::-webkit-scrollbar { height: 4px; }
.utc-public-day-tabs::-webkit-scrollbar-track { background: transparent; }
.utc-public-day-tabs::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }
.utc-public-day-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--utc-border, #dee2e6);
    border-radius: 20px;
    background: var(--utc-surface, #f8f9fa);
    color: var(--utc-text, #333);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    line-height: 1.3;
}
.utc-public-day-tab:hover {
    border-color: var(--utc-accent, #6f42c1);
    color: var(--utc-accent, #6f42c1);
}
.utc-public-day-tab.active {
    background: var(--utc-accent, #6f42c1);
    border-color: var(--utc-accent, #6f42c1);
    color: #fff;
}
.utc-public-day-tab-date {
    font-size: 11px;
    opacity: 0.7;
    font-weight: 400;
}
.utc-public-day-tab.active .utc-public-day-tab-date {
    opacity: 0.85;
}

/* ── Public Event Day Group Header ────────────── */
.utc-day-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
    color: var(--utc-accent, #6f42c1);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--utc-accent, #6f42c1);
}
.utc-day-group-stats {
    font-size: 13px;
    font-weight: 400;
    color: var(--utc-text-muted, #6c757d);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   Membership Tier — Upgrade Prompts & Gating
   ═══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   Global Premium Gate (frontend pages)
   Same design as dashboard gates.
   ══════════════════════════════════════════════ */
.utc-gate { position: relative; border-radius: 12px; overflow: hidden; margin-top: 16px; isolation: isolate; }
.utc-gate-preview { filter: blur(1.5px); opacity: 0.8; pointer-events: none; user-select: none; -webkit-user-select: none; padding: 16px 20px; }
.utc-gate-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.4); backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); display: flex; align-items: center; justify-content: center; z-index: 2; padding: 16px; }
.utc-gate-card { text-align: center; padding: 18px 24px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,0.1); max-width: 90%; width: auto; min-width: 240px; }
.utc-gate-card-icon { display: none; }
.utc-gate-card-title { font-weight: 700; font-size: 0.95rem; color: #1f2937; margin-bottom: 4px; }
.utc-gate-card-desc { font-size: 0.82rem; color: #6b7280; line-height: 1.4; margin-bottom: 14px; }
.utc-gate-card-btn { display: inline-block; padding: 9px 24px; background: #9966ff; color: #fff !important; border-radius: 8px; font-weight: 600; font-size: 0.85rem; text-decoration: none !important; transition: background 0.2s, transform 0.2s; }
.utc-gate-card-btn:hover { background: #8855ee; transform: translateY(-1px); }

/* ── Compact gate (small inline features — crawl builder, event form) ── */
.utc-gate-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: rgba(249, 250, 251, 0.7);
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
    transition: background 0.15s;
}
.utc-gate-compact * { text-decoration: none !important; }
.utc-gate-compact:hover { background: rgba(243, 244, 246, 0.9); }
.utc-gate-compact-lock { color: #d1d5db; font-size: 0.6rem; flex-shrink: 0; }
.utc-gate-compact-text { flex: 1; font-size: 0.72rem; color: #9ca3af; line-height: 1.2; }
.utc-gate-compact-text strong { color: #6b7280; font-weight: 600; font-size: 0.72rem; }
.utc-gate-compact-arrow { color: #d1d5db; font-size: 0.55rem; flex-shrink: 0; }

/* ── Inline gate (crawl builder, event form) — mini version of overlay card ── */
.utc-gate-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    font-size: 0.84rem;
    color: #374151;
    box-shadow: 0 2px 8px rgba(153, 102, 255, 0.08);
}
.utc-gate-inline i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
    border-radius: 8px;
    color: #9966ff;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.utc-gate-inline a {
    display: inline-block;
    padding: 6px 16px;
    background: #9966ff;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-left: auto;
    white-space: nowrap;
    transition: background 0.2s;
}
.utc-gate-inline a:hover { background: #8855ee; }

/* ── Map Gate Overlays (usage metering) ── */
.utc-map-gate-inner { text-align: center; padding: 24px; }
.utc-map-gate-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 24px;
    background: #ff9f40;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none !important;
    transition: background 0.2s;
}
.utc-map-gate-cta:hover { background: #e88e30; }

/* Inline upgrade prompt (activities, multi-day) */
.utc-membership-upgrade-prompt {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border: 1px solid #ffc107;
    border-radius: var(--utc-radius-sm, 6px);
    font-size: 13px;
    color: #856404;
    line-height: 1.4;
}
.utc-membership-upgrade-prompt .fa-lock {
    color: #d4a017;
    font-size: 14px;
    flex-shrink: 0;
}
.utc-upgrade-link {
    color: var(--utc-primary, #667eea) !important;
    font-weight: 600;
    text-decoration: none;
    margin-left: auto;
    white-space: nowrap;
}
.utc-upgrade-link:hover {
    text-decoration: underline;
}

/* Builder stop counter */
.utc-builder-stop-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: var(--utc-bg-light, #f8f9fa);
    border-radius: var(--utc-radius-sm, 6px);
    font-size: 13px;
}
.utc-stop-counter-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--utc-text, #333);
}
.utc-stop-counter-badge .fa-map-marker-alt {
    color: var(--utc-primary, #667eea);
}
.utc-builder-stop-counter .utc-membership-upgrade-prompt {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 12px;
}

/* Builder Activity Dropdown */
.utc-builder-activity-bar {
    margin-bottom: 4px;
}
.utc-builder-activity-dropdown {
    position: relative;
    display: inline-block;
}
.utc-builder-activity-dropdown.utc-locked {
    opacity: 0.5;
    cursor: not-allowed;
}
.utc-builder-activity-dropdown.utc-locked button {
    pointer-events: none;
}
.utc-builder-activity-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm, 6px);
    box-shadow: var(--utc-shadow);
    min-width: 180px;
    padding: 4px 0;
    margin-top: 4px;
}
.utc-builder-activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--utc-text);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.1s;
}
.utc-builder-activity-item:hover {
    background: var(--utc-bg-light, #f8f9fa);
    color: var(--utc-text);
}

/* Builder Custom Stop Form */
.utc-builder-custom-stop-form {
    background: var(--utc-bg-light, #f8f9fa);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm, 6px);
    padding: 12px;
    margin-bottom: 8px;
}
.utc-builder-custom-stop-form label {
    display: block;
    font-weight: 600;
    font-size: 12px;
    margin: 8px 0 4px;
    color: var(--utc-text);
}
.utc-builder-custom-stop-form label:first-child {
    margin-top: 0;
}
.utc-builder-custom-stop-form input[type="text"],
.utc-builder-custom-stop-form input[type="number"] {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm, 6px);
    font-size: 13px;
}

/* Activity stop badge in stop list */
.utc-stop-activity {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Active crawl limit overlay */
.utc-membership-limit-overlay {
    position: relative;
    z-index: 10;
    padding: 30px 20px;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, #fff8e1 0%, #ffeeba 100%);
    border: 2px solid #ffc107;
    border-radius: var(--utc-radius, 8px);
}
.utc-membership-limit-box {
    max-width: 500px;
    margin: 0 auto;
}
.utc-membership-limit-box .fa-lock {
    color: #d4a017;
}
.utc-membership-limit-box h5 {
    font-size: 18px;
    font-weight: 700;
    color: #856404;
    margin: 8px 0 6px;
}
.utc-membership-limit-box p {
    font-size: 14px;
    color: #6b5300;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ═══ Membership Upgrade Page — Modern SaaS Pricing ═══ */
.utc-upgrade {
    max-width: 1060px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Status bar ── */
.utc-upgrade-status {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    margin-bottom: 32px;
}

/* ── Header ── */
.utc-upgrade-header {
    text-align: center;
    margin-bottom: 12px;
}
.utc-upgrade-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.utc-upgrade-header p {
    font-size: 1.05rem;
    color: #6b7280;
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ── Toggle ── */
.utc-upgrade-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.utc-upgrade-toggle {
    display: inline-flex;
    background: #f3f4f6;
    border-radius: var(--utc-radius);
    padding: 4px;
    gap: 0;
    border: 1px solid #e5e7eb;
}
.utc-upgrade-toggle-btn {
    border: none;
    background: transparent;
    padding: 10px 28px;
    border-radius: var(--utc-radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    line-height: 1;
}
.utc-upgrade-toggle-btn--active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}
.utc-upgrade-save-badge {
    background: #dcfce7;
    color: #166534;
    font-size: 0.68rem;
    padding: 3px 8px;
    border-radius: var(--utc-radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ── Cards grid ── */
.utc-upgrade-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 48px;
    align-items: stretch;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Card ── */
.utc-upgrade-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 36px 28px 32px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}
.utc-upgrade-card:first-child {
    border-radius: 16px 0 0 16px;
    border-right: none;
}
.utc-upgrade-card:last-child {
    border-radius: 0 16px 16px 0;
    border-left: none;
}
.utc-upgrade-card:not(:first-child):not(:last-child) {
    border-radius: 0;
}
.utc-upgrade-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* Current */
.utc-upgrade-card--current {
    background: #fafffe;
    border-color: #7bc043;
}

/* Recommended — elevated, stands out */
.utc-upgrade-card--recommended {
    background: #fff;
    border: 2px solid #ff9f40;
    border-radius: 20px !important;
    z-index: 2;
    margin: -12px -1px;
    padding: 48px 28px 36px;
    box-shadow: 0 20px 60px rgba(255,159,64,0.12), 0 4px 12px rgba(0,0,0,0.04);
}
.utc-upgrade-card--recommended:hover {
    box-shadow: 0 24px 64px rgba(255,159,64,0.18), 0 8px 24px rgba(0,0,0,0.06);
}

/* ── Card badge ── */
.utc-upgrade-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: var(--utc-radius-sm, 6px);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-transform: uppercase;
}
.utc-upgrade-card-badge--current {
    background: #7bc043;
    color: #fff;
}
.utc-upgrade-card-badge--recommended {
    background: linear-gradient(135deg, #ff9f40, #f59e0b);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,159,64,0.3);
}

/* ── Card name + price ── */
.utc-upgrade-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #374151;
    margin: 14px 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
}
.utc-upgrade-card-price {
    margin-bottom: 4px;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.utc-upgrade-price-dollar {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    position: relative;
    top: -0.6em;
}
.utc-upgrade-price-value {
    font-size: 3.2rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.03em;
    line-height: 1;
}
.utc-upgrade-price-period {
    font-size: 0.88rem;
    color: #9ca3af;
    font-weight: 400;
    margin-left: 2px;
}
.utc-upgrade-card-savings {
    font-size: 0.78rem;
    color: #4a8c1c;
    font-weight: 600;
    margin: 4px 0 0;
    background: rgba(123, 192, 67, 0.15);
    display: inline-block;
    padding: 2px 10px;
    border-radius: var(--utc-radius-sm, 6px);
}

/* ── Feature list ── */
.utc-upgrade-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 24px;
    text-align: left;
    flex: 1;
}
.utc-upgrade-features li {
    padding: 7px 0;
    font-size: 0.88rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}
.utc-upgrade-features li i {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}
.utc-upgrade-features-divider {
    border-top: 1px solid #f3f4f6;
    margin-top: 10px !important;
    padding-top: 14px !important;
}
.utc-upgrade-features-divider span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ff9f40;
}

/* ── Expandable feature descriptions ── */
.utc-upgrade-feature-expandable {
    display: block !important;
    cursor: pointer;
    border-radius: 6px;
    padding: 7px 6px !important;
    margin: 0 -6px;
    transition: background 0.15s;
}
.utc-upgrade-feature-expandable:hover {
    background: #f9fafb;
}
.utc-upgrade-feature-main {
    display: flex;
    align-items: center;
    gap: 10px;
}
.utc-upgrade-feature-main i:first-child {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}
.utc-upgrade-feature-chevron {
    font-size: 0.55rem;
    color: #d1d5db;
    margin-left: auto;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.utc-upgrade-feature-expandable.utc-feature-open .utc-upgrade-feature-chevron {
    transform: rotate(180deg);
}
.utc-upgrade-feature-desc {
    display: none;
    width: 100%;
    font-size: 0.75rem;
    color: #9ca3af;
    padding: 4px 0 2px 26px;
    line-height: 1.4;
}
.utc-upgrade-feature-expandable.utc-feature-open .utc-upgrade-feature-desc {
    display: block;
}

/* ── CTA buttons ── */
.utc-upgrade-card-cta {
    margin-top: auto;
    padding-top: 4px;
}
.utc-upgrade-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
    background: #3993d5;
    color: #fff;
}
.utc-upgrade-btn:hover {
    background: #2d7ab8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(57,147,213,0.3);
}
.utc-upgrade-btn--recommended {
    background: #ff9f40;
    color: #fff;
    box-shadow: 0 4px 14px rgba(255,159,64,0.3);
}
.utc-upgrade-btn--recommended:hover {
    background: #e8903a;
    box-shadow: 0 6px 20px rgba(255,159,64,0.4);
    transform: translateY(-1px);
}
.utc-upgrade-btn--current {
    background: #edf7e5;
    border: 1px solid #7bc043;
    color: #7bc043;
    cursor: default;
    font-weight: 600;
    transition: all 0.25s ease;
}
.utc-upgrade-btn--current:hover {
    background: #7bc043;
    color: #fff;
    border-color: #7bc043;
    transform: none;
    box-shadow: none;
}
.utc-upgrade-btn--included {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #9ca3af;
    cursor: default;
    transition: all 0.25s ease;
}
.utc-upgrade-btn--included:hover {
    background: #3993d5;
    color: #fff;
    border-color: #3993d5;
    transform: none;
    box-shadow: none;
}

/* ── Compare toggle ── */
.utc-upgrade-compare-wrap {
    text-align: center;
    margin-bottom: 48px;
}
.utc-upgrade-compare-toggle {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: var(--utc-radius);
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}
.utc-upgrade-compare-toggle:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.utc-upgrade-compare-chevron {
    transition: transform 0.25s;
    font-size: 0.65rem;
}
.utc-upgrade-compare-chevron--open {
    transform: rotate(180deg);
}

/* ── Comparison table ── */
.utc-upgrade-compare-table {
    margin-top: 20px;
    overflow-x: auto;
    text-align: left;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.utc-upgrade-compare-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    table-layout: fixed;
}
.utc-upgrade-compare-table thead th {
    padding: 16px 20px;
    font-weight: 700;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.utc-upgrade-compare-table thead th:first-child {
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.88rem;
    width: 40%;
}
.utc-upgrade-compare-table tbody td {
    padding: 12px 20px;
    border-bottom: 1px solid #f3f4f6;
    text-align: center;
    color: #374151;
}
.utc-upgrade-compare-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: #374151;
}
.utc-upgrade-compare-table tbody tr:last-child td {
    border-bottom: none;
}
.utc-upgrade-col-current {
    background: #fffbeb !important;
}
/* Collapsed state — hide all body rows, keep header visible */
.utc-upgrade-compare-table.utc-compare-collapsed tbody {
    display: none;
}
.utc-upgrade-compare-table.utc-compare-collapsed {
    border-radius: 16px;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .utc-upgrade { padding: 24px 16px 40px; }
    .utc-upgrade-cards { grid-template-columns: 1fr; gap: 16px; }
    .utc-upgrade-card { border-radius: 16px !important; border: 1px solid #e5e7eb !important; }
    .utc-upgrade-card--current { border-color: #7bc043 !important; }
    .utc-upgrade-card--recommended { margin: 0; border: 2px solid #ff9f40 !important; order: -1; }
    .utc-upgrade-header h2 { font-size: 1.6rem; }
    .utc-upgrade-price-value { font-size: 2.6rem; }
    .utc-upgrade-toggle-btn { padding: 10px 20px; font-size: 0.82rem; }
    /* Compare table mobile fixes */
    .utc-upgrade-compare-table { border-radius: 10px; }
    .utc-upgrade-compare-table table { table-layout: auto; font-size: 0.78rem; }
    .utc-upgrade-compare-table thead th { padding: 12px 8px; font-size: 0.7rem; letter-spacing: 0.02em; }
    .utc-upgrade-compare-table thead th:first-child { width: auto; }
    .utc-upgrade-compare-table tbody td { padding: 8px; font-size: 0.75rem; }
    .utc-upgrade-compare-table tbody td:first-child { padding-left: 12px; }
}

/* ═══════════════════════════════════════════════
   Get Started Page — [utc_get_started]
   ═══════════════════════════════════════════════ */
.utc-get-started {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0;
}
.utc-gs-heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--utc-text, #333);
}
.utc-gs-subheading {
    font-size: 16px;
    max-width: 600px;
    margin: 8px auto 0;
    line-height: 1.6;
}
.utc-gs-card {
    border-radius: var(--utc-radius, 8px);
    border: 1px solid var(--utc-border, #e0e0e0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.utc-gs-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--utc-shadow-lg, 0 4px 20px rgba(0, 0, 0, 0.12));
}

/* Icon circles */
.utc-gs-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 28px;
}

/* Card-specific icon colors */
.utc-gs-card-thrifter .utc-gs-icon {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
}
.utc-gs-card-store .utc-gs-icon {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
}
.utc-gs-card-host .utc-gs-icon {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
}

/* Type label (Personal / Business) */
.utc-gs-type-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--utc-text-muted, #888);
    padding: 2px 10px;
    background: var(--utc-bg, #f9f9fb);
    border-radius: 20px;
}

/* Feature lists */
.utc-gs-features li {
    padding: 5px 0;
    font-size: 14px;
    color: var(--utc-text, #333);
    line-height: 1.5;
}
.utc-gs-features li .fa-check {
    font-size: 12px;
}

/* Upgrade note inside thrifter card */
.utc-gs-upgrade-note {
    padding: 8px 12px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffeeba 100%);
    border-radius: var(--utc-radius-sm, 6px);
    line-height: 1.4;
}
.utc-gs-upgrade-note a {
    color: var(--utc-primary, #667eea);
    text-decoration: none;
    font-weight: 600;
}
.utc-gs-upgrade-note a:hover {
    text-decoration: underline;
}

/* Footer tagline */
.utc-gs-footer {
    font-size: 13px;
    margin-top: 16px;
}

/* Responsive — stack cards on mobile */
@media (max-width: 767.98px) {
    .utc-gs-heading {
        font-size: 22px;
    }
    .utc-gs-card {
        margin-bottom: 12px;
    }
}

/* ═══════════════════════════════════════════════
   Google Maps Error & Places Autocomplete Cleanup
   ═══════════════════════════════════════════════ */

/* Hide the grey error overlay / watermark Google injects on billing issues */
.gm-err-container,
.gm-err-content,
.gm-err-message,
.gm-err-title,
.dismissButton {
    display: none !important;
}

/* Prevent the Google Maps auth-failure overlay from blocking the map */
div[style*="background-color: rgb(229, 227, 223)"] > div.gm-err-container {
    display: none !important;
}

/* Ensure pac-container (Places Autocomplete dropdown) doesn't leave
   visible artifacts / line breaks when empty or orphaned */
.pac-container {
    z-index: 100000 !important;
}
.pac-container:empty,
.pac-container[style*="display: none"] {
    border: none !important;
    box-shadow: none !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ═══════════════════════════════════════════════
   Flatpickr — Theme Overrides
   ═══════════════════════════════════════════════ */

/* Match the alt input (visible field) to Bootstrap form-control styling */
.utc-event-form .flatpickr-input.form-control + .form-control {
    background: #fff !important;
    cursor: pointer !important;
}

/* Calendar popup — use site primary color for selected dates */
.flatpickr-calendar {
    border-radius: var(--utc-radius, 8px);
    box-shadow: var(--utc-shadow-lg, 0 4px 20px rgba(0, 0, 0, 0.12));
    font-family: inherit;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--utc-primary, #667eea);
    border-color: var(--utc-primary, #667eea);
}
.flatpickr-day.today {
    border-color: var(--utc-primary, #667eea);
}
.flatpickr-day.today:hover {
    background: var(--utc-primary, #667eea);
    border-color: var(--utc-primary, #667eea);
    color: #fff;
}

/* Time picker — clean up spacing */
.flatpickr-time {
    border-top: 1px solid #e6e6e6;
}
.flatpickr-time input {
    font-size: 15px !important;
}

/* Ensure the flatpickr alt input inherits max-width from the original input */
.utc-event-form input.flatpickr-input[type="hidden"] + input {
    max-width: inherit;
}

/* ═══════════════════════════════════════════════
   Start Crawl / Navigation Actions (Phase 1)
   ═══════════════════════════════════════════════ */
.utc-crawl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--utc-border, #dee2e6);
    border-bottom: 1px solid var(--utc-border, #dee2e6);
}

.utc-btn-start-crawl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--utc-radius-sm, 6px);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: #28a745;
    color: #fff;
    transition: background 0.15s, box-shadow 0.15s;
}
.utc-btn-start-crawl:hover {
    background: #218838;
    color: #fff;
    text-decoration: none;
}
.utc-btn-start-crawl i {
    font-size: 18px;
}

/* Resume wrap + Start Fresh link */
.utc-resume-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.utc-start-fresh-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #6c757d;
    text-decoration: none;
    cursor: pointer;
    padding: 2px 0;
    transition: color 0.15s;
}
.utc-start-fresh-link:hover {
    color: #dc3545;
    text-decoration: underline;
}
.utc-start-fresh-link i {
    font-size: 11px;
}

/* Cooldown button (yellow/amber when user is in repeat-crawl cooldown) */
.utc-btn-cooldown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--utc-radius-sm, 6px);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: not-allowed;
    border: none;
    background: #ffc107;
    color: #856404;
    opacity: 0.9;
}
.utc-btn-cooldown i {
    font-size: 18px;
}
.utc-cooldown-timer {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #856404;
    font-weight: 500;
}

.utc-btn-gmaps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--utc-radius-sm, 6px);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid #4285f4;
    background: #fff;
    color: #4285f4;
    transition: background 0.15s, color 0.15s;
}
.utc-btn-gmaps:hover {
    background: #4285f4;
    color: #fff;
    text-decoration: none;
}
.utc-btn-gmaps i {
    font-size: 18px;
}

.utc-crawl-send-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.utc-btn-qr,
.utc-btn-sms {
    font-size: 13px;
    padding: 8px 14px;
}

/* QR Code Modal */
.utc-qr-code-container {
    padding: 10px;
}
.utc-qr-code-container img {
    display: block;
    margin: 0 auto;
}

/* ── .utc-btn-sm (small variant for share buttons) ── */
.utc-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    gap: 5px;
}

/* ═══════════════════════════════════════════════
   Post-Save Modal
   ═══════════════════════════════════════════════ */
.utc-postsave-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.utc-postsave-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--utc-radius-sm, 6px);
    text-align: center;
}

.utc-postsave-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.utc-postsave-qr-container img {
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

/* ═══════════════════════════════════════════════
   Mobile responsive for crawl actions
   ═══════════════════════════════════════════════ */
@media (max-width: 767px) {
    .utc-crawl-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .utc-btn-start-crawl,
    .utc-btn-gmaps,
    .utc-btn-cooldown {
        justify-content: center;
        width: 100%;
    }
    .utc-cooldown-timer {
        text-align: center;
    }

    .utc-crawl-send-actions {
        margin-left: 0;
        justify-content: center;
    }
}


/* =============================================================================
 * LOCATION BROWSE — Stats, Cards, Letter Nav, City Chips
 * ============================================================================= */

.utc-mb-lg {
    margin-bottom: 32px;
}

/* ---------- Stats Bar ---------- */
.utc-stats-bar {
    display: flex;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    background: var(--utc-bg-white);
    overflow: hidden;
}

.utc-stat-item {
    flex: 1;
    text-align: center;
    padding: 24px 16px;
}

.utc-stat-item + .utc-stat-item {
    border-left: 1px solid var(--utc-border);
}

.utc-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--utc-primary);
    line-height: 1.2;
}

.utc-stat-number.utc-stat-open { color: #1e7e34; }
.utc-stat-number.utc-stat-fav { color: #e84739; }
.utc-stat-number.utc-stat-rated { color: #ff9900; }

.utc-stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--utc-text-muted);
    margin-top: 4px;
}

/* Bar style: Dividers only — no outer border/background */
.utc-stats-bar.utc-stats-dividers {
    border: none;
    border-radius: 0;
    background: transparent;
}

/* Bar style: Minimal — no borders at all */
.utc-stats-bar.utc-stats-minimal {
    border: none;
    border-radius: 0;
    background: transparent;
}
.utc-stats-bar.utc-stats-minimal .utc-stat-item + .utc-stat-item {
    border-left: none;
}

/* ---------- Browse Grid ---------- */
.utc-browse-grid {
    display: grid;
    gap: 16px;
}

.utc-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.utc-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.utc-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.utc-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

/* ---------- Browse Card ---------- */
.utc-browse-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.utc-browse-card:hover {
    box-shadow: var(--utc-shadow);
    border-color: var(--utc-primary);
    text-decoration: none;
    color: inherit;
}

.utc-browse-card-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--utc-primary);
    line-height: 1;
    min-width: 32px;
}

/* Background badge mode — square with rounded corners, scales with icon size */
.utc-browse-card-icon.utc-icon-has-bg {
    padding: 7px;
    min-width: 34px;
    min-height: 34px;
    aspect-ratio: 1;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    background: var(--utc-primary);
}

/* Flag emoji — use native emoji font stack, ensure adequate size */
.utc-browse-card-icon.utc-icon-flag-emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    min-width: 1.5em;
    min-height: 1.2em;
}

/* Font Awesome + Dashicon sizing — inherit from parent font-size */
.utc-browse-card-icon .dashicons {
    font-size: inherit;
    width: auto;
    height: auto;
    line-height: inherit;
}
.utc-browse-card-icon i[class*="fa-"] {
    font-size: inherit;
    line-height: inherit;
}
.utc-browse-card-icon img {
    display: block;
    object-fit: contain;
}

/* ── Load More Button (unified across crawl list + browse pages) ── */
.utc-load-more-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 24px auto 0;
    height: 42px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    background: transparent;
    color: var(--utc-text);
    transition: all 0.2s;
}
.utc-load-more-btn:hover {
    background: var(--utc-primary);
    border-color: var(--utc-primary);
    color: #fff;
}
.utc-load-more-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.utc-browse-card-body {
    flex: 1;
    min-width: 0;
}

.utc-browse-card-title {
    display: block;
    font-weight: 600;
    color: var(--utc-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.utc-browse-card-meta {
    display: block;
    font-size: 0.85rem;
    color: var(--utc-text-muted);
    margin-top: 2px;
}

.utc-browse-card-chevron {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--utc-text-muted);
    margin-left: 12px;
    line-height: 1;
}

/* ---------- Letter Navigation ---------- */
.utc-letter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.utc-letter-nav-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--utc-border);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--utc-text);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.utc-letter-nav-item:hover {
    background: var(--utc-primary);
    color: #fff;
    border-color: var(--utc-primary);
    text-decoration: none;
}

.utc-letter-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--utc-border);
}

/* ---------- Section Titles ---------- */
.utc-browse-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 20px;
}

.utc-city-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 24px;
}

.utc-city-highlight {
    color: var(--utc-primary);
}

/* ---------- Browse Content Templates ---------- */
.utc-browse-title {
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}
.utc-browse-highlight {
    /* Colored inline span from {color}…{/color} — color set via inline style */
}
.utc-browse-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px;
}
.utc-browse-description a {
    color: var(--bs-primary, #0d6efd);
    text-decoration: none;
}
.utc-browse-description a:hover {
    text-decoration: underline;
}

/* ---------- City Map ---------- */
.utc-city-map {
    /* height set via inline style from block setting */
    border-radius: var(--utc-radius);
    margin-bottom: 32px;
    border: 1px solid var(--utc-border);
    overflow: hidden;
}
@media (max-width: 600px) {
    .utc-city-map {
        max-height: 300px;
        margin-bottom: 24px;
    }
}

/* ---------- Breadcrumb ---------- */
.utc-browse-breadcrumb {
    font-size: 0.85rem;
    color: var(--utc-text-muted);
    margin-bottom: 24px;
}

.utc-browse-breadcrumb a {
    color: var(--utc-text-light);
    text-decoration: none;
}

.utc-browse-breadcrumb a:hover {
    color: var(--utc-primary);
    text-decoration: underline;
}

.utc-bc-sep {
    margin: 0 8px;
    color: var(--utc-text-muted);
}

/* ---------- UT > Breadcrumb Block ---------- */
.utc-breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}
.utc-breadcrumb-item {
    display: inline-flex;
    align-items: center;
}
.utc-breadcrumb-item i {
    margin-right: 4px;
}
li.utc-breadcrumb-sep {
    list-style: none;
    margin: 0 8px;
    opacity: 0.5;
}
.utc-breadcrumb a {
    color: var(--utc-bc-link, inherit);
    text-decoration: none;
}
.utc-breadcrumb a:hover {
    color: var(--utc-bc-hover, var(--utc-bc-link, inherit));
    text-decoration: underline;
}
.utc-breadcrumb .utc-bc-active {
    color: var(--utc-bc-active, inherit);
    opacity: 0.7;
}

/* ---------- City Chips ---------- */
.utc-city-chip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius-sm);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.utc-city-chip:hover {
    background: var(--utc-bg);
    text-decoration: none;
    color: inherit;
}

.utc-city-chip-name {
    font-weight: 500;
}

.utc-city-chip-count {
    color: var(--utc-text-muted);
    font-size: 0.85rem;
}

/* ---------- Store Cards ---------- */
.utc-store-card {
    background: var(--utc-bg-white);
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius);
    padding: 0; /* padding moved to inner link for full clickable area */
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.utc-store-card:hover {
    border-color: var(--utc-primary);
    box-shadow: var(--utc-shadow);
}

/* Full clickable card link */
.utc-store-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
}

.utc-store-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.utc-store-card-link:hover .utc-store-card-title {
    color: var(--utc-primary);
}

.utc-store-card-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    transition: color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.utc-store-card-detail {
    display: flex;
    align-items: start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--utc-text-light);
    margin-bottom: 4px;
}

.utc-store-card-detail svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--utc-primary);
}

.utc-store-card-excerpt {
    font-size: 0.85rem;
    color: var(--utc-text-muted);
    margin-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Store Card Meta Row ---------- */

.utc-store-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

/* Distance — blue text, no pill */
.utc-store-meta-distance {
    color: var(--utc-primary);
    font-weight: 500;
}

/* Open/Closed — dot + colored text */
.utc-store-meta-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.utc-status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.utc-meta-open {
    color: #1e7e34;
}

.utc-meta-open .utc-status-dot {
    background: #1e7e34;
}

.utc-meta-closed {
    color: #c62828;
}

.utc-meta-closed .utc-status-dot {
    background: #c62828;
}

/* Star rating — small inline */
.utc-store-meta-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
    color: inherit;
}

.utc-store-meta-rating .fa-star {
    font-size: 11px;
    color: #ff9900;
}

.utc-store-meta-rating-count {
    color: var(--utc-text-muted);
    font-weight: 400;
}

/* Google Rating — store cards + single listing */
.utc-store-meta-google,
.utc-sl-google-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    cursor: help;
}
.utc-store-meta-google svg,
.utc-sl-google-rating svg {
    flex-shrink: 0;
}
.utc-store-meta-google {
    font-weight: 500;
    color: inherit;
}
.utc-sl-google-rating {
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1;
}
.utc-sl-google-rating * {
    font-weight: 400 !important;
}
.utc-sl-google-rating svg {
    width: 14px;
    height: 14px;
}
.utc-sl-google-count {
    color: var(--utc-text-muted, #6c757d);
    font-weight: 400;
}

/* Favorite heart — pushed to right */
.utc-store-fav-btn {
    cursor: pointer;
    margin-left: auto;
    line-height: 1;
}

.utc-store-fav-btn .fa-heart {
    color: #ccc;
    transition: color 0.15s;
    font-size: 14px;
}

.utc-store-fav-btn:hover .fa-heart,
.utc-store-fav-btn.favorited .fa-heart {
    color: #e84739;
}

/* Sort-by-distance indicator */
.utc-sort-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--utc-text-muted);
    margin-bottom: 12px;
}

.utc-sort-indicator svg {
    color: var(--utc-primary);
    flex-shrink: 0;
}

/* ---------- More Section (listing page) ---------- */
.utc-more-section {
    margin: 48px 0;
}

.utc-more-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.utc-more-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.utc-view-all {
    color: var(--utc-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.utc-view-all:hover {
    text-decoration: underline;
}

/* ---------- Store Carousel ---------- */
.utc-carousel-wrap {
    position: relative;
}
.utc-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
}
.utc-carousel-track::-webkit-scrollbar {
    display: none;
}
.utc-carousel-card {
    flex: 0 0 calc((100% - 32px) / 3);
    scroll-snap-align: start;
    min-width: 0;
}
.utc-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
    transition: box-shadow .2s;
}
.utc-carousel-btn:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.utc-carousel-prev {
    left: -18px;
}
.utc-carousel-next {
    right: -18px;
}
@media (max-width: 991px) {
    .utc-carousel-card {
        flex: 0 0 calc((100% - 16px) / 2);
    }
}
@media (max-width: 992px) {
    .utc-more-section,
    .utc-sl-similar,
    .utc-more-stores-wrap,
    .utc-block-more-stores,
    .wp-block-blockstrap-widget-utc-more-stores,
    [class*="utc_more_stores"],
    [class*="utc-more-stores"],
    [class*="utc-block-more-stores"] {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ---------- Empty State ---------- */
.utc-browse-empty {
    color: var(--utc-text-muted);
    text-align: center;
    padding: 40px 20px;
}

/* ---------- Popular Cities ---------- */
.utc-popular-cities-grid {
    display: grid;
    gap: 12px;
}
.utc-popular-city-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--utc-border);
    border-radius: var(--utc-radius, 8px);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.utc-popular-city-card:hover {
    border-color: var(--utc-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
}
/* Local/scoped city highlight — subtle tinted background */
.utc-popular-city-local {
    background: #eef6ff;
    border-color: #c8ddf5;
}
.utc-popular-city-local:hover {
    border-color: var(--utc-primary);
}
.utc-popular-city-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.utc-popular-city-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--utc-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.utc-popular-city-count {
    font-size: 0.85rem;
    color: var(--utc-text-muted);
    font-weight: 600;
    flex-shrink: 0;
}
.utc-popular-city-distance {
    font-size: 0.75rem;
    color: var(--utc-primary);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
/* Near Me button */
.utc-near-me-wrap {
    text-align: center;
    margin-top: 16px;
}
.utc-near-me-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
    background: transparent;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--utc-primary);
    transition: opacity 0.2s;
}
.utc-near-me-btn:hover {
    opacity: 0.7;
}
.utc-near-me-btn:disabled {
    opacity: 0.6;
    cursor: default;
}
.utc-near-me-status {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--utc-text-muted);
    margin-top: 4px;
}

/* ══════════════════════════════════════
   Near Me CTA Block (UT > Near Me)
   All visual props are inline-styled from
   block settings. CSS handles resets,
   transitions, states, icon layout only.
   ══════════════════════════════════════ */
.utc-nm-btn {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    line-height: 1.3;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s, filter 0.2s;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    box-sizing: border-box;
}
.utc-nm-btn:hover { filter: brightness(0.92); }
.utc-nm-btn:active { transform: scale(0.98); }
.utc-nm-btn:disabled { opacity: 0.7; cursor: wait; }

/* Icon container — absolute-positioned, floats to edge of button */
.utc-nm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex-grow: 0;
    overflow: hidden;
    box-sizing: border-box;
}
.utc-nm-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.utc-nm-icon i { line-height: 1; }
.utc-nm-emoji { line-height: 1; }
.utc-nm-smiley {
    display: block;
    width: 70%;
    height: 70%;
    max-width: 100%;
    max-height: 100%;
}
.utc-nm-text { white-space: nowrap; }

/* ══════════════════════════════════════
   Featured Crawls Block (Home Page)
   ══════════════════════════════════════ */

/* Header: title + View All on same row */
.utc-fc-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
}
/* Title margin handled via inline styles so typography classes work */
.utc-fc-subtitle {
    margin: 4px 0 0;
    /* font-size and color managed via inline styles in render method
       so Bootstrap typography classes can override them */
}
.utc-fc-view-all {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--utc-primary);
    text-decoration: none;
    white-space: nowrap;
}
.utc-fc-view-all:hover {
    text-decoration: underline;
    color: var(--utc-primary);
}

/* Grid — reuses .utc-grid-N column system */
.utc-featured-crawls-grid {
    display: grid;
    gap: 16px;
}

/* Card wrapper — zero-impact, card IS the grid item */
.utc-fc-card-wrap {
    display: contents;
}

/* Card min-height override via CSS custom property */
.utc-featured-crawls-grid .utc-crawl-card {
    min-height: var(--utc-fc-card-min-height, 180px);
}

/* ── Card Visibility Toggles ──
   Applied as classes on the .utc-featured-crawls-grid wrapper.
   Controls which sub-elements inside render_archive_card() are visible. */
.utc-fc-hide-excerpt .utc-crawl-card-excerpt { display: none !important; }
.utc-fc-hide-rating .utc-crawl-meta-rating { display: none !important; }
.utc-fc-hide-stops .utc-crawl-meta-stops { display: none !important; }
.utc-fc-hide-location .utc-crawl-card-detail { display: none !important; }
.utc-fc-hide-difficulty .utc-crawl-meta-difficulty { display: none !important; }
.utc-fc-hide-bookmark .utc-bookmark-btn { display: none !important; }
.utc-fc-hide-featured .utc-featured-badge { display: none !important; }

/* Compact cards: when excerpt is hidden, drop min-height and tighten padding */
.utc-fc-hide-excerpt .utc-crawl-card {
    min-height: auto !important;
}
.utc-fc-hide-excerpt .utc-crawl-card-link {
    padding: 14px 18px;
}

/* View All bottom link (when no title header) */
.utc-fc-view-all-wrap {
    text-align: center;
    margin-top: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .utc-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .utc-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .utc-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    /* Popular Cities: 2 cols on tablet */
    .utc-popular-cities-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .utc-grid-2 {
        grid-template-columns: 1fr;
    }
    .utc-grid-3 {
        grid-template-columns: 1fr;
    }
    .utc-grid-4 {
        grid-template-columns: 1fr;
    }
    .utc-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Popular Cities: admin-controlled mobile columns */
    .utc-popular-cities-grid.utc-mobile-cols-1 {
        grid-template-columns: 1fr !important;
    }
    .utc-popular-cities-grid.utc-mobile-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* Hide excess cities on mobile */
    .utc-popular-city-mobile-hide {
        display: none !important;
    }
    /* Featured Crawls: mobile column override */
    .utc-featured-crawls-grid.utc-mobile-cols-1 {
        grid-template-columns: 1fr !important;
    }
    .utc-featured-crawls-grid.utc-mobile-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* Hide excess crawl cards on mobile */
    .utc-fc-mobile-hide {
        display: none !important;
    }
    /* Stack header on mobile */
    .utc-fc-header {
        flex-direction: column;
        gap: 8px;
    }
    .utc-stats-bar {
        flex-wrap: wrap;
    }
    .utc-stat-item {
        flex: 1 1 50%;
        padding: 16px 12px;
    }
    .utc-stat-item:nth-child(2) {
        border-left: 1px solid var(--utc-border);
    }
    .utc-stat-item:nth-child(n+3) {
        border-top: 1px solid var(--utc-border);
    }
    .utc-stat-item:nth-child(3) {
        border-left: 0;
    }
    .utc-stat-number {
        font-size: 1.5rem;
    }
    .utc-more-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .utc-store-card-meta {
        gap: 6px;
        font-size: 0.75rem;
    }
}

/* ──────────────────────────────────────────────
   Location Sitemap Block (SEO Card Index)
   ────────────────────────────────────────────── */
.utc-location-sitemap {
    margin-top: 16px;
}

/* Section labels: "States & Regions" / "Cities" */
.utc-sitemap-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--utc-text-muted, #6c757d);
    margin: 28px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--utc-primary, #667eea);
}
.utc-location-sitemap .utc-sitemap-section-label:first-child {
    margin-top: 0;
}

/* Country / State group headings */
.utc-sitemap-group-heading {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--utc-text, #333);
    margin: 20px 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--utc-border, #eee);
}

/* Card grid */
.utc-sitemap-grid {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}
.utc-sitemap-grid.utc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.utc-sitemap-grid.utc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.utc-sitemap-grid.utc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.utc-sitemap-grid.utc-grid-5 { grid-template-columns: repeat(5, 1fr); }

/* Individual card — matches Popular Cities card pattern */
.utc-sitemap-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--utc-border, #eee);
    border-radius: var(--utc-radius, 8px);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.utc-sitemap-card:hover {
    border-color: var(--utc-primary, #667eea);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
}

/* Card icon */
.utc-sitemap-card-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--utc-primary, #667eea);
    font-size: 1rem;
}

/* Card name */
.utc-sitemap-card-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--utc-text, #333);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card count */
.utc-sitemap-card-count {
    font-size: 0.85rem;
    color: var(--utc-text-muted, #999);
    font-weight: 600;
    flex-shrink: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .utc-sitemap-grid.utc-mobile-cols-1 {
        grid-template-columns: 1fr !important;
    }
    .utc-sitemap-grid.utc-mobile-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .utc-sitemap-section-label {
        margin: 20px 0 10px;
    }
    .utc-sitemap-group-heading {
        margin: 14px 0 6px;
    }
    .utc-sitemap-card {
        padding: 8px 12px;
    }
}

/* ══════════════════════════════════════════════════════════
   Store Search Block — Unified bar design (GD Search style)
   ══════════════════════════════════════════════════════════ */

/* Search form wrapper */
.utc-search-form {
    margin-bottom: 8px;
}

/* Unified search bar — single bordered container.
   border-radius is set via inline style (admin 4-corner control). */
.utc-search-bar {
    display: flex;
    align-items: center;
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.utc-search-bar:focus-within {
    border-color: var(--utc-primary, #667eea);
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.15);
}

/* Field sections inside the bar */
.utc-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    flex-shrink: 0;
}

.utc-search-field-main {
    flex: 1;
    min-width: 0;
}

.utc-search-field-cat {
    flex: 0 1 auto;
    max-width: 200px;
}

.utc-search-field-loc {
    flex: 0 1 auto;
    max-width: 180px;
}

/* Field icons */
.utc-search-field-icon {
    color: #aaa;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Vertical divider between fields */
.utc-search-divider {
    width: 1px;
    height: 24px;
    background: #ddd;
    flex-shrink: 0;
}

/* Inputs inside the unified bar — no borders */
.utc-search-input,
.utc-search-cat,
.utc-search-loc {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: #333;
    width: 100%;
    padding: 14px 0;
    -webkit-appearance: none;
}

.utc-search-input::placeholder,
.utc-search-loc::placeholder {
    color: #aaa;
}

/* Category dropdown — custom reset */
.utc-search-cat {
    cursor: pointer;
    padding-right: 8px;
    min-width: 120px;
}

/* Search submit button — always a circle */
.utc-search-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: opacity 0.2s, transform 0.15s;
    margin: 4px;
    flex-shrink: 0;
}

.utc-search-btn:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.utc-search-btn:active {
    transform: scale(0.95);
}

/* Button color presets */
.utc-search-btn-primary   { background: var(--utc-primary, #667eea); color: #fff; }
.utc-search-btn-secondary { background: #6c757d; color: #fff; }
.utc-search-btn-success   { background: #28a745; color: #fff; }
.utc-search-btn-danger    { background: #dc3545; color: #fff; }
.utc-search-btn-dark      { background: #343a40; color: #fff; }

/* Custom image button */
.utc-search-btn-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
    pointer-events: none;
}

/* Emoji button — emoji fills the button; overflow:hidden is in inline style */
.utc-search-btn:has(.utc-search-btn-emoji) {
    padding: 0;
}
.utc-search-btn-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    pointer-events: none;
}
.utc-search-btn-emoji img,
.utc-search-btn-emoji svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* ── Input sizes ── */
.utc-search-sm .utc-search-input,
.utc-search-sm .utc-search-cat,
.utc-search-sm .utc-search-loc {
    padding: 10px 0;
    font-size: 0.85rem;
}
.utc-search-sm .utc-search-field {
    padding: 0 12px;
    gap: 6px;
}
.utc-search-sm .utc-search-field-icon {
    font-size: 0.8rem;
}
.utc-search-sm .utc-search-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.85rem;
}
.utc-search-sm .utc-search-divider {
    height: 18px;
}

.utc-search-lg .utc-search-input,
.utc-search-lg .utc-search-cat,
.utc-search-lg .utc-search-loc {
    padding: 18px 0;
    font-size: 1.1rem;
}
.utc-search-lg .utc-search-field {
    padding: 0 20px;
    gap: 10px;
}
.utc-search-lg .utc-search-field-icon {
    font-size: 1rem;
}
.utc-search-lg .utc-search-btn {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 1.15rem;
    margin: 5px;
}
.utc-search-lg .utc-search-divider {
    height: 30px;
}

/* ── Results area ── */
.utc-search-results {
    margin-top: 24px;
}

.utc-search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.utc-search-results-count {
    font-size: 0.85rem;
    color: var(--utc-text-muted, #999);
    font-weight: 500;
}

/* Geo-sort status indicator (auto — shown when location detected) */
.utc-search-geo-status {
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 500;
}
.utc-search-geo-status i {
    margin-right: 3px;
}

/* City fallback notice — "No stores in X. Showing closest results." */
.utc-search-fallback-notice {
    width: 100%;
    margin: 8px 0 4px;
    padding: 10px 14px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #795548;
    line-height: 1.4;
}
.utc-search-fallback-notice i {
    color: #ffa000;
    margin-right: 4px;
}

/* ── Radius filter links (inline in results header) ── */
.utc-radius-filter {
    font-size: 0.82rem;
    color: var(--utc-text-muted, #999);
    margin-left: 12px;
}
.utc-radius-label {
    font-weight: 500;
    margin-right: 6px;
    color: var(--utc-text-muted, #888);
}
.utc-radius-label i {
    margin-right: 3px;
    font-size: 0.75rem;
}
.utc-radius-link {
    color: var(--utc-text-muted, #888);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.15s;
}
.utc-radius-link:hover {
    color: var(--utc-primary, #667eea);
    text-decoration: underline;
}
.utc-radius-link.utc-radius-active {
    color: var(--utc-primary, #667eea);
    font-weight: 600;
}
.utc-radius-sep {
    color: #ccc;
}
.utc-radius-expand-link {
    color: var(--utc-primary, #667eea);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

/* Results grid reuses .utc-grid-* pattern */
.utc-search-results-grid {
    display: grid;
    gap: 16px;
}

.utc-search-results-grid.utc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.utc-search-results-grid.utc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.utc-search-results-grid.utc-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Load More button wrapper */
.utc-search-load-more-wrap {
    text-align: center;
    margin-top: 20px;
}

/* Empty / Loading states */
.utc-search-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--utc-text-muted, #999);
    font-size: 0.95rem;
}

.utc-search-empty i {
    display: block;
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.utc-search-loading {
    text-align: center;
    padding: 30px;
    color: var(--utc-text-muted, #999);
    font-size: 0.95rem;
}

.utc-search-loading i {
    margin-right: 8px;
}

/* Card visibility toggles (store cards in search results) */
.utc-ss-hide-excerpt .utc-store-card-excerpt { display: none !important; }
.utc-ss-hide-rating .utc-store-meta-rating { display: none !important; }
.utc-ss-hide-phone .utc-store-card-detail:last-of-type { display: none !important; }
.utc-ss-hide-address .utc-store-card-detail:first-of-type { display: none !important; }
.utc-ss-hide-status .utc-store-meta-status { display: none !important; }
.utc-ss-hide-favorites .utc-store-fav-btn { display: none !important; }

/* ── Mobile responsive ── */
@media (max-width: 768px) {
    .utc-search-bar {
        flex-wrap: nowrap;
        padding: 4px;
    }
    .utc-search-field {
        padding: 0 8px;
        min-width: 0; /* allow flex shrink */
    }

    .utc-search-field-main {
        flex: 1 1 auto;
    }

    .utc-search-divider {
        display: none;
    }

    /* Location/category shrink to fit on one line */
    .utc-search-field-cat,
    .utc-search-field-loc {
        flex: 0 1 auto;
        max-width: none;
    }

    .utc-search-field-loc .utc-search-loc,
    .utc-search-field-cat .utc-search-cat {
        width: 60px;
    }

    .utc-search-input {
        min-width: 0;
    }

    .utc-search-btn {
        margin: 4px;
    }

    .utc-search-results-grid.utc-mobile-cols-1 {
        grid-template-columns: 1fr !important;
    }
    .utc-search-results-grid.utc-mobile-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Results header: count + geo-status on row 1, radius on row 2 */
    .utc-search-results-header {
        flex-wrap: wrap;
        align-items: center;
        gap: 2px 0;
        margin-bottom: 10px;
    }
    .utc-search-results-count {
        order: 1;
    }
    .utc-search-geo-status {
        order: 2;
        margin-left: auto;
    }
    .utc-radius-filter {
        order: 3;
        flex: 0 0 100%;
        margin-left: 0;
        margin-top: 2px;
    }
}


/* ═══════════════════════════════════════════════
   GD Single Listing Redesign — Card-Based Layout
   ═══════════════════════════════════════════════ */

/* ── Page-Level Overrides ──
   body.utc-gd-single is added by gd-single-page.php.
   No forced background color — inherits the site's actual background
   (set via Global Styles / Customizer), same as browse pages.
   Zero out .wp-site-blocks root padding — theme adds side padding that
   creates gaps between content and viewport edge.
*/
body.utc-gd-single .wp-site-blocks {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ── Content Container ──
   Uses Bootstrap .container class (added in HTML) for responsive max-widths
   that match the browse pages exactly (1140px xl, 1320px xxl).
   padding-top accounts for the fixed/sticky header nav bar (same 100px
   that browse pages get via build_spacing_css()).
*/
.utc-single-listing {
    padding-top: 100px;
    padding-bottom: 40px;
}

/* ── Breadcrumb ── */
.utc-sl-breadcrumb {
    margin-bottom: 16px;
}
.utc-sl-breadcrumb nav {
    font-size: 0.85rem;
}

/* ── Card Base ── */
.utc-sl-card {
    background: var(--utc-bg-white, #fff);
    border: 1px solid var(--utc-border, #e5e7eb);
    border-radius: var(--utc-radius, 8px);
    padding: 24px;
    margin-bottom: 20px;
}
.utc-sl-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--utc-text, #1a1a1a);
}
.utc-sl-card-title i {
    color: #3993d5;
    background: #EDEDEDAB;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

/* ── Header Card ── */
.utc-sl-header {
    padding: 28px 28px 24px;
}
.utc-sl-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.utc-sl-header-info {
    flex: 1;
    min-width: 0;
}
.utc-sl-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--utc-text, #1a1a1a);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

/* ── Unified meta row: badge + crawl count + ratings + status ── */
.utc-sl-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1;
}
.utc-sl-meta-row .utc-crawl-favorite-badge {
    font-size: 14px;
    padding: 0;
    border-radius: 0;
    background: none;
    border: none;
    font-weight: 400;
    color: #6b7280;
}
.utc-sl-meta-sep {
    width: 1px;
    height: 14px;
    background: #d1d5db;
    flex-shrink: 0;
}
.utc-sl-crawl-count {
    font-size: 13px;
    color: #6b7280;
}
.utc-sl-crawl-count i {
    color: #3993d5;
    font-size: 12px;
    margin-right: 3px;
}

/* Listing card award icons — icon-only display on archive cards */
.utc-card-award-icons {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    margin-left: 2px;
}
.utc-card-award-icons i {
    font-size: 13px !important;
    cursor: default;
    line-height: 1;
}

/* Store Awards Box — clean, no decorative borders */
.utc-sl-awards .utc-sl-card-title {
    margin-bottom: 12px;
}
.utc-sl-award {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}
.utc-sl-award + .utc-sl-award {
    border-top: 1px solid #f0f0f0;
}
.utc-sl-award-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}
.utc-sl-award-icon i {
    font-size: 18px !important;
    color: #374151 !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}
.utc-sl-award-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.utc-sl-award-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}
.utc-sl-award-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.3;
}
/* Clickable crawl award link */
a.utc-sl-award--link {
    text-decoration: none !important;
    cursor: pointer;
    border-radius: 6px;
    margin: 0 -8px;
    padding: 8px !important;
    transition: background 0.15s;
}
a.utc-sl-award--link:hover {
    background: rgba(57, 147, 213, 0.06);
}
a.utc-sl-award--link .utc-sl-award-name,
a.utc-sl-award--link .utc-sl-award-desc {
    color: inherit;
}
.utc-sl-award-arrow {
    flex-shrink: 0;
    margin-left: auto;
    color: #9ca3af;
    font-size: 11px;
    transition: color 0.15s;
}
a.utc-sl-award--link:hover .utc-sl-award-arrow {
    color: #3993d5;
}

/* "Build Your Own Crawl" footer link in awards box */
.utc-sl-awards-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    text-align: right;
}
.utc-sl-awards-build-link {
    font-size: 12px;
    color: #3993d5;
    text-decoration: none !important;
    font-weight: 500;
}
.utc-sl-awards-build-link:hover {
    text-decoration: underline !important;
}
.utc-sl-awards-build-link i {
    margin-right: 3px;
    font-size: 11px;
}

/* Archive: store filter heading */
.utc-archive-store-filter {
    font-size: 14px;
    color: #6b7280;
    margin: 4px 0 0 0;
}
.utc-archive-store-filter a {
    color: #3993d5;
    font-weight: 500;
}

/* Awards empty state */
.utc-sl-awards--empty {
    opacity: 0.7;
}
.utc-sl-awards--empty:hover {
    opacity: 1;
}
.utc-sl-awards--empty .utc-sl-card-title i {
    color: #9ca3af !important;
}
.utc-sl-awards-empty-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 10px;
}
.utc-sl-awards-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

/* Awards header — title + "What is this?" */
.utc-sl-awards-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}
.utc-sl-awards-header .utc-sl-card-title {
    margin-bottom: 0;
}
.utc-sl-awards-legend-link {
    font-size: 12px;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
}
.utc-sl-awards-legend-link:hover {
    color: #3993d5;
    text-decoration: underline;
}

/* Awards Legend Popup Overlay */
.utc-awards-legend-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.utc-awards-legend-overlay.is-open {
    display: flex;
}
.utc-awards-legend {
    background: #fff;
    border-radius: 12px;
    max-width: 420px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}
.utc-awards-legend-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.utc-awards-legend-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.utc-awards-legend-header h3 i {
    color: #3993d5;
}
.utc-awards-legend-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.utc-awards-legend-close:hover {
    background: #f3f4f6;
    color: #374151;
}
.utc-awards-legend-intro {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 16px;
}
.utc-awards-legend-section {
    margin-bottom: 16px;
}
.utc-awards-legend-section:last-child {
    margin-bottom: 0;
}
.utc-awards-legend-section h4 {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}
.utc-awards-legend-desc {
    font-size: 12px;
    color: #9ca3af;
    margin: 0 0 10px;
    line-height: 1.4;
}
.utc-awards-legend-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}
.utc-awards-legend-row + .utc-awards-legend-row {
    border-top: 1px solid #f3f4f6;
}
.utc-awards-legend-icon {
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}
.utc-awards-legend-icon i {
    font-size: 18px !important;
}
.utc-awards-legend-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.utc-awards-legend-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}
.utc-awards-legend-threshold {
    font-size: 12px;
    color: #6b7280;
}

/* Hide GD rating when 0 reviews — archive cards, search results, anywhere GD renders it */
.geodir_post_meta.gd-rating-info-wrap[data-rating="0"],
.geodir_post_meta.gd-rating-info-wrap[data-rating="0.0"] {
    display: none !important;
}

/* GD rating shortcode normalization inside meta row */
.utc-sl-meta-row .geodir-post-rating,
.utc-sl-meta-row .geodir-i-rating {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 14px !important;
}
.utc-sl-meta-row .geodir-post-rating *,
.utc-sl-meta-row .geodir-i-rating * {
    font-size: 14px !important;
    font-weight: 400 !important;
}
.utc-sl-meta-row .geodir-post-rating .fa-star,
.utc-sl-meta-row .geodir-i-rating .fa-star {
    font-size: 14px !important;
    width: auto !important;
    height: auto !important;
}
.utc-sl-meta-row .geodir_post_meta,
.utc-sl-meta-row .gd-rating-info-wrap,
.utc-sl-meta-row .gd-list-rating-stars {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px;
    margin: 0 !important;
    padding: 0 !important;
}

/* Open/Closed status — dot + text (matches browse card style) */
.utc-sl-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}
.utc-sl-status--open {
    color: #16a34a;
}
.utc-sl-status--closed {
    color: #ef4444;
}
.utc-sl-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.utc-sl-status--open .utc-sl-status-dot {
    background: #16a34a;
}
.utc-sl-status--closed .utc-sl-status-dot {
    background: #ef4444;
}

/* Address row */
.utc-sl-address-row {
    font-size: 14px;
    color: var(--utc-text-light, #6b7280);
    display: flex;
    align-items: center;
    gap: 6px;
}
.utc-sl-address-row > i {
    color: #9ca3af;
    font-size: 13px;
    flex-shrink: 0;
}
.utc-sl-address-row .geodir-i-address {
    margin: 0 !important;
}

/* Header action buttons — all icons 14px to match rating row */
.utc-sl-header-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-shrink: 0;
    padding-top: 4px;
}
.utc-sl-header-actions .fas,
.utc-sl-header-actions .far,
.utc-sl-header-actions .fa-solid,
.utc-sl-header-actions .fa-regular {
    font-size: 14px !important;
}
.utc-sl-header-actions .geodir_bookmark_icon,
.utc-sl-header-actions .geodir-i-fav {
    cursor: pointer;
    color: var(--utc-text-muted, #9ca3af);
    transition: color 0.15s ease;
}
.utc-sl-header-actions .geodir_bookmark_icon:hover,
.utc-sl-header-actions .geodir-i-fav:hover {
    color: #e53935;
}
.utc-sl-header-actions .geodir-i-fav.geodir-i-fav-active {
    color: #e53935;
}
.utc-sl-header-actions .utc-sl-share-btn,
.utc-sl-header-actions .bs-share-wrap {
    color: var(--utc-text-muted, #9ca3af);
    cursor: pointer;
    transition: color 0.15s ease;
}
.utc-sl-header-actions .utc-sl-share-btn:hover,
.utc-sl-header-actions .bs-share-wrap:hover {
    color: #3993d5;
}

/* (removed: old "Build a Crawl" CTA button styles — replaced by review CTA) */

/* ── Photo Mosaic Gallery ── */
.utc-sl-gallery {
    margin-bottom: 24px;
}

/* Base mosaic grid */
.utc-mosaic {
    display: grid;
    gap: 8px;
    height: 350px;
}
.utc-mosaic-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--utc-radius, 8px);
}
.utc-mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
/* Hover: darken + magnifying glass */
.utc-mosaic-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transition: background 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.utc-mosaic-tile:hover .utc-mosaic-overlay {
    background: rgba(0, 0, 0, 0.35);
    opacity: 1;
}
.utc-mosaic-tile:hover img {
    transform: scale(1.03);
}
.utc-mosaic-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    pointer-events: none;
}

/* ── UTC Lightbox ── */
.utc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.80);
    display: none;
    align-items: center;
    justify-content: center;
}
.utc-lightbox.utc-lb-open {
    display: flex;
}
.utc-lb-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    user-select: none;
}
.utc-lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    opacity: 0.8;
    line-height: 1;
    z-index: 2;
}
.utc-lb-close:hover { opacity: 1; }
.utc-lb-prev,
.utc-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 1.3rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
    z-index: 2;
}
.utc-lb-prev:hover,
.utc-lb-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.25);
}
.utc-lb-prev { left: 16px; }
.utc-lb-next { right: 16px; }
.utc-lb-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ── 1 photo: full-width hero ── */
.utc-mosaic-1 {
    grid-template-columns: 1fr;
}

/* ── 2 photos: side by side (4 variants) ── */
/* Var 0: 50/50 equal split */
.utc-mosaic-2 {
    grid-template-columns: 1fr 1fr;
}
/* Var 1: 75/25 hero LEFT */
.utc-mosaic-2.utc-mosaic-var-1 {
    grid-template-columns: 3fr 1fr;
}
/* Var 2: 25/75 hero RIGHT */
.utc-mosaic-2.utc-mosaic-var-2 {
    grid-template-columns: 1fr 3fr;
}
/* Var 3: 50/50 equal split (same as var 0) */
.utc-mosaic-2.utc-mosaic-var-3 {
    grid-template-columns: 1fr 1fr;
}

/* ── 3 photos: hero + 2 stacked (4 variants) ── */
/* Var 0: hero LEFT (60%), equal rows */
.utc-mosaic-3 {
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr;
}
.utc-mosaic-3 .utc-mosaic-tile-0 { grid-row: 1 / -1; }

/* Var 1: hero RIGHT (60%), equal rows */
.utc-mosaic-3.utc-mosaic-var-1 {
    grid-template-columns: 2fr 3fr;
}
.utc-mosaic-3.utc-mosaic-var-1 .utc-mosaic-tile-0 { grid-column: 2; grid-row: 1 / -1; }
.utc-mosaic-3.utc-mosaic-var-1 .utc-mosaic-tile-1 { grid-column: 1; grid-row: 1; }
.utc-mosaic-3.utc-mosaic-var-1 .utc-mosaic-tile-2 { grid-column: 1; grid-row: 2; }

/* Var 2: hero LEFT (65%), top-right shorter, bottom-right taller */
.utc-mosaic-3.utc-mosaic-var-2 {
    grid-template-columns: 5fr 3fr;
    grid-template-rows: 2fr 3fr;
}
.utc-mosaic-3.utc-mosaic-var-2 .utc-mosaic-tile-0 { grid-row: 1 / -1; }

/* Var 3: hero RIGHT (65%), top-left taller, bottom-left shorter */
.utc-mosaic-3.utc-mosaic-var-3 {
    grid-template-columns: 3fr 5fr;
    grid-template-rows: 3fr 2fr;
}
.utc-mosaic-3.utc-mosaic-var-3 .utc-mosaic-tile-0 { grid-column: 2; grid-row: 1 / -1; }
.utc-mosaic-3.utc-mosaic-var-3 .utc-mosaic-tile-1 { grid-column: 1; grid-row: 1; }
.utc-mosaic-3.utc-mosaic-var-3 .utc-mosaic-tile-2 { grid-column: 1; grid-row: 2; }

/* ── 4 photos (4 variants) ── */
/* Var 0: hero LEFT + 3 stacked right */
.utc-mosaic-4 {
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.utc-mosaic-4 .utc-mosaic-tile-0 { grid-row: 1 / -1; }

/* Var 1: hero RIGHT + 3 stacked left */
.utc-mosaic-4.utc-mosaic-var-1 {
    grid-template-columns: 2fr 3fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.utc-mosaic-4.utc-mosaic-var-1 .utc-mosaic-tile-0 { grid-column: 2; grid-row: 1 / -1; }
.utc-mosaic-4.utc-mosaic-var-1 .utc-mosaic-tile-1 { grid-column: 1; grid-row: 1; }
.utc-mosaic-4.utc-mosaic-var-1 .utc-mosaic-tile-2 { grid-column: 1; grid-row: 2; }
.utc-mosaic-4.utc-mosaic-var-1 .utc-mosaic-tile-3 { grid-column: 1; grid-row: 3; }

/* Var 2: hero TOP full-width + 3 equal below */
.utc-mosaic-4.utc-mosaic-var-2 {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 2fr 1fr;
}
.utc-mosaic-4.utc-mosaic-var-2 .utc-mosaic-tile-0 { grid-column: 1 / -1; grid-row: 1; }
.utc-mosaic-4.utc-mosaic-var-2 .utc-mosaic-tile-1 { grid-column: 1; grid-row: 2; }
.utc-mosaic-4.utc-mosaic-var-2 .utc-mosaic-tile-2 { grid-column: 2; grid-row: 2; }
.utc-mosaic-4.utc-mosaic-var-2 .utc-mosaic-tile-3 { grid-column: 3; grid-row: 2; }

/* Var 3: 2×2 grid, top-left larger */
.utc-mosaic-4.utc-mosaic-var-3 {
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 3fr 2fr;
}
.utc-mosaic-4.utc-mosaic-var-3 .utc-mosaic-tile-0 { grid-column: 1; grid-row: 1; }
.utc-mosaic-4.utc-mosaic-var-3 .utc-mosaic-tile-1 { grid-column: 2; grid-row: 1; }
.utc-mosaic-4.utc-mosaic-var-3 .utc-mosaic-tile-2 { grid-column: 1; grid-row: 2; }
.utc-mosaic-4.utc-mosaic-var-3 .utc-mosaic-tile-3 { grid-column: 2; grid-row: 2; }

/* ── 5 photos: Airbnb-style (4 variants) ── */
/* Var 0: hero LEFT + 2×2 right */
.utc-mosaic-5 {
    grid-template-columns: 3fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.utc-mosaic-5 .utc-mosaic-tile-0 { grid-column: 1; grid-row: 1 / -1; }
.utc-mosaic-5 .utc-mosaic-tile-1 { grid-column: 2; grid-row: 1; }
.utc-mosaic-5 .utc-mosaic-tile-2 { grid-column: 3; grid-row: 1; }
.utc-mosaic-5 .utc-mosaic-tile-3 { grid-column: 2; grid-row: 2; }
.utc-mosaic-5 .utc-mosaic-tile-4 { grid-column: 3; grid-row: 2; }

/* Var 1: hero RIGHT + 2×2 left */
.utc-mosaic-5.utc-mosaic-var-1 {
    grid-template-columns: 1fr 1fr 3fr;
}
.utc-mosaic-5.utc-mosaic-var-1 .utc-mosaic-tile-0 { grid-column: 3; grid-row: 1 / -1; }
.utc-mosaic-5.utc-mosaic-var-1 .utc-mosaic-tile-1 { grid-column: 1; grid-row: 1; }
.utc-mosaic-5.utc-mosaic-var-1 .utc-mosaic-tile-2 { grid-column: 2; grid-row: 1; }
.utc-mosaic-5.utc-mosaic-var-1 .utc-mosaic-tile-3 { grid-column: 1; grid-row: 2; }
.utc-mosaic-5.utc-mosaic-var-1 .utc-mosaic-tile-4 { grid-column: 2; grid-row: 2; }

/* Var 2: wide hero TOP (spans 2 cols) + 2 mid + 2 bottom */
.utc-mosaic-5.utc-mosaic-var-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 1fr 1fr;
}
.utc-mosaic-5.utc-mosaic-var-2 .utc-mosaic-tile-0 { grid-column: 1 / -1; grid-row: 1; }
.utc-mosaic-5.utc-mosaic-var-2 .utc-mosaic-tile-1 { grid-column: 1; grid-row: 2; }
.utc-mosaic-5.utc-mosaic-var-2 .utc-mosaic-tile-2 { grid-column: 2; grid-row: 2; }
.utc-mosaic-5.utc-mosaic-var-2 .utc-mosaic-tile-3 { grid-column: 1; grid-row: 3; }
.utc-mosaic-5.utc-mosaic-var-2 .utc-mosaic-tile-4 { grid-column: 2; grid-row: 3; }

/* Var 3: 3 across top + wide hero bottom-left + 1 bottom-right */
.utc-mosaic-5.utc-mosaic-var-3 {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 2fr 3fr;
}
.utc-mosaic-5.utc-mosaic-var-3 .utc-mosaic-tile-0 { grid-column: 1; grid-row: 1; }
.utc-mosaic-5.utc-mosaic-var-3 .utc-mosaic-tile-1 { grid-column: 2; grid-row: 1; }
.utc-mosaic-5.utc-mosaic-var-3 .utc-mosaic-tile-2 { grid-column: 3; grid-row: 1; }
.utc-mosaic-5.utc-mosaic-var-3 .utc-mosaic-tile-3 { grid-column: 1 / 3; grid-row: 2; }
.utc-mosaic-5.utc-mosaic-var-3 .utc-mosaic-tile-4 { grid-column: 3; grid-row: 2; }

/* ── Two-Column Layout ── */
/* Hours card + Call Now + Check In: ALWAYS hidden — only shown inside mobile media query */
.utc-sl-hours--mobile,
.utc-sl-call-now--mobile,
.utc-qc-trigger--mobile {
    display: none !important;
}

.utc-sl-columns {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    gap: 24px !important;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}
.utc-sl-main {
    min-width: 0; /* prevent grid blowout */
    width: 100%;
}

/* ── Sidebar (sticky) ── */
.utc-sl-sidebar {
    position: sticky;
    top: 100px;
}

/* ── About Card ── */
.utc-sl-about-content {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--utc-text, #1a1a1a);
    margin-bottom: 16px;
    transition: max-height 0.5s ease;
    overflow: hidden;
}
.utc-sl-about-collapsed {
    max-height: 200px;
    position: relative;
}
.utc-sl-about-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}
.utc-sl-about-content:not(.utc-sl-about-collapsed) {
    max-height: 2000px;
}
.utc-sl-read-more {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #3993d5;
    text-decoration: none;
    margin-bottom: 16px;
    cursor: pointer;
}
.utc-sl-read-more:hover {
    text-decoration: underline;
}
.utc-sl-about-content p:last-child {
    margin-bottom: 0;
}
.utc-sl-about-meta {
    border-top: 1px solid var(--utc-border, #e5e7eb);
    padding-top: 16px;
}
.utc-sl-meta-row {
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--utc-text-light, #6b7280);
}
.utc-sl-meta-row:last-child {
    margin-bottom: 0;
}
.utc-sl-meta-row strong {
    color: var(--utc-text, #1a1a1a);
    margin-right: 4px;
}
/* GD category/tag links */
.utc-sl-categories .geodir-category-list a,
.utc-sl-tags a {
    color: #3993d5;
    text-decoration: none;
}
.utc-sl-categories .geodir-category-list a:hover,
.utc-sl-tags a:hover {
    text-decoration: underline;
}

/* ── Special Offers Card (Pro claimed listings) ── */
.utc-sl-special-offers-content {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--utc-text, #1a1a1a);
}
.utc-sl-special-offers-content p {
    margin: 0 0 8px 0;
}
.utc-sl-special-offers-content p:last-child {
    margin-bottom: 0;
}

/* ── Reviews Card ── */
.utc-sl-reviews-summary {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--utc-border, #e5e7eb);
}
.utc-sl-reviews-summary .geodir-i-rating {
    margin: 0 !important;
}

/* Clean up GD review form inside our card */
.utc-sl-reviews .geodir-comments-area {
    margin: 0;
    padding: 0;
}
/* Normalize GD native review text to 14px */
.utc-sl-reviews .geodir-comments-area,
.utc-sl-reviews .geodir-comments-area .geodir-review-body,
.utc-sl-reviews .geodir-comments-area .comment-content,
.utc-sl-reviews .geodir-comments-area .comment-content p,
.utc-sl-reviews .geodir-comments-area .geodir-review-content,
.utc-sl-reviews .geodir-comments-area .geodir_comment_info {
    font-size: 0.875rem;
}

/* ── Logo Card (sidebar, Pro claimed listings) ── */
.utc-sl-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px !important;
}
.utc-sl-logo img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

/* ── Hours Card — Custom Table (ThriftShopFinder style) ── */
.utc-sl-hours .utc-sl-card-title {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}
.utc-sl-hours-table {
    display: flex;
    flex-direction: column;
}
.utc-sl-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    font-size: 0.88rem;
    border-radius: 6px;
    color: var(--utc-text, #1a1a1a);
}
.utc-sl-hours-row + .utc-sl-hours-row {
    margin-top: 1px;
}
/* Today's row — base (bold text) */
.utc-sl-hours-today {
    font-weight: 600;
}
/* Today + currently OPEN — transparent green background, green dot */
.utc-sl-hours-now-open {
    background: rgba(34, 170, 68, 0.10);
}
.utc-sl-hours-now-open .utc-sl-hours-day {
    color: #15803d;
}
.utc-sl-hours-now-open .utc-sl-hours-today-dot {
    background: #15803d;
}
/* Today + currently CLOSED — transparent burnt yellow background, red dot */
.utc-sl-hours-now-closed {
    background: rgba(217, 160, 40, 0.12);
}
.utc-sl-hours-now-closed .utc-sl-hours-day {
    color: #92600a;
}
.utc-sl-hours-now-closed .utc-sl-hours-today-dot {
    background: #dc2626;
}
/* Dot next to today's day name */
.utc-sl-hours-today-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}
/* Day name */
.utc-sl-hours-day {
    font-weight: 500;
    display: flex;
    align-items: center;
}
/* Time value */
.utc-sl-hours-time {
    color: var(--utc-text-light, #6b7280);
    text-align: right;
    white-space: nowrap;
}
.utc-sl-hours-today .utc-sl-hours-time {
    color: var(--utc-text, #1a1a1a);
}
/* Closed days — muted */
.utc-sl-hours-closed .utc-sl-hours-time {
    color: var(--utc-text-muted, #9ca3af);
    font-style: italic;
}
/* Local time display — "It's 1:30AM in Adelaide right now" */
.utc-sl-hours-local-time {
    margin-top: 10px;
    padding: 7px 10px;
    font-size: 0.8rem;
    color: var(--utc-text-light, #6b7280);
    border-top: 1px solid var(--utc-border, #e5e7eb);
    display: flex;
    align-items: center;
    gap: 6px;
}
.utc-sl-hours-local-time i {
    color: var(--utc-text-muted, #9ca3af);
    font-size: 0.75rem;
}
.utc-sl-hours-local-time strong {
    color: var(--utc-text, #1a1a1a);
}

/* No-data state */
.utc-sl-no-data {
    font-size: 0.9rem;
    color: var(--utc-text-light, #6b7280);
    margin: 0 0 4px;
}
.utc-sl-no-data strong {
    color: var(--utc-text, #1a1a1a);
}
.utc-sl-no-data-hint {
    margin: 0;
    font-size: 0.82rem;
    color: var(--utc-text-muted, #9ca3af);
}
.utc-sl-no-data-hint a {
    color: #3993d5;
    text-decoration: none;
}
.utc-sl-no-data-hint a:hover {
    text-decoration: underline;
}

/* ── Contact Card — REMOVED (merged into Store Details) ── */

/* ── Quick Actions Card ── */
.utc-sl-actions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.utc-sl-actions-list .btn,
.utc-sl-actions-list a.btn,
.utc-sl-actions-list button.btn,
.utc-sl-action-btn {
    width: 100%;
    text-align: center;
    border-radius: 6px;
}
/* Directions button — primary full-width */
.utc-sl-actions-list .geodir-i-directions a,
.utc-sl-actions-list .gd-directions-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    background: #3993d5;
    color: #fff;
    transition: opacity 0.15s ease;
}
.utc-sl-actions-list .geodir-i-directions a:hover,
.utc-sl-actions-list .gd-directions-btn:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}
/* Claim button */
.utc-sl-actions-list .geodir-claim-btn,
.utc-sl-actions-list .gd-claim-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
}
/* Report link */
.utc-sl-actions-list .geodir-report-link,
.utc-sl-actions-list .gd-report-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--utc-text-muted, #9ca3af);
}
.utc-sl-actions-list .geodir-report-link:hover,
.utc-sl-actions-list .gd-report-link:hover {
    color: var(--utc-text, #1a1a1a);
}

/* ── Location / Map Card ── */
.utc-sl-map.utc-sl-card {
    padding-bottom: 12px;
}
.utc-sl-map-container {
    border-radius: 6px;
    margin-bottom: 0;
    min-height: 300px;
}
/* Tighten GD directions wrap spacing */
.utc-sl-map .geodir-map-directions-wrap {
    margin-top: 12px !important;
    padding: 0 4px;
}
/* Only clip the actual map canvas, not the directions UI below it */
.utc-sl-map-container .geodir-map-wrap,
.utc-sl-map-container .geodir_map_container {
    border-radius: 6px;
    overflow: hidden;
}
.utc-sl-map-address {
    font-size: 0.875rem;
    color: var(--utc-text-light, #6b7280);
    line-height: 1.4;
    padding: 2px 0;
}
/* ── Directions Form — polished layout ── */
.utc-sl-map .gd-get-directions {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.utc-sl-map .gd-directions-left {
    flex: 1;
    min-width: 0;
}
.utc-sl-map .gd-directions-left .gd-input-group {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.utc-sl-map .gd-directions-left .gd-form-control {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 10px 12px;
    font-size: 14px;
    background: transparent;
}
.utc-sl-map .gd-directions-left .gd-map-mylocation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    background: #f3f4f6;
    border: none;
    border-left: 1px solid #e5e7eb;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.15s, background 0.15s;
}
.utc-sl-map .gd-directions-left .gd-map-mylocation:hover {
    color: #3993d5;
    background: rgba(57, 147, 213, 0.1);
}
.utc-sl-map .gd-map-get-directions {
    background: #3993d5 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.utc-sl-map .gd-map-get-directions:hover {
    background: #2e7dba !important;
}
/* Directions options (Driving/Miles dropdowns) */
.utc-sl-map #directions-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.utc-sl-map #directions-options select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    appearance: auto;
    cursor: pointer;
}
.utc-sl-map #directions-options select:focus {
    border-color: #3993d5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(57, 147, 213, 0.15);
}
/* Directions result panel */
.utc-sl-map [id$="_directionsPanel"] {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}
/* "Open in Maps" button — full width, standardized */
.utc-sl-open-maps {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 10px;
    margin-top: 8px;
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}
.utc-sl-open-maps i {
    margin-right: 4px;
}
.utc-sl-maps-hint {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 6px;
}
.utc-sl-maps-hint i {
    margin-right: 3px;
}

/* ── "Leave a Review" CTA Card ── */
.utc-sl-review-cta {
    display: block;
    background: linear-gradient(135deg, rgba(57, 147, 213, 0.06) 0%, rgba(57, 147, 213, 0.04) 100%);
    border: 1px solid rgba(57, 147, 213, 0.2);
    text-decoration: none !important;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.utc-sl-review-cta:hover {
    border-color: #3993d5;
    box-shadow: 0 2px 8px rgba(30,115,190,0.12);
}
.utc-sl-review-cta-content {
    display: flex;
    gap: 16px;
    align-items: center;
}
.utc-sl-review-cta-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #3993d5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.utc-sl-review-cta-icon i {
    font-size: 1.25rem;
    color: #fff;
}
.utc-sl-review-cta-text {
    flex: 1;
    min-width: 0;
}
.utc-sl-review-cta-heading {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--utc-text, #1a1a1a);
}
.utc-sl-review-cta-desc {
    font-size: 0.85rem;
    color: var(--utc-text-light, #6b7280);
    margin: 0;
    line-height: 1.5;
}
.utc-sl-review-cta-arrow {
    flex-shrink: 0;
    color: #3993d5;
    font-size: 1rem;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
}
.utc-sl-review-cta:hover .utc-sl-review-cta-arrow {
    opacity: 1;
    transform: translateY(3px);
}

/* ── See Something Wrong Card ── */
.utc-sl-feedback-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0 0 16px;
    line-height: 1.45;
}
/* "Suggest an Edit" button — solid blue, full width */
.utc-sl-feedback .utc-sl-feedback-btn,
.utc-sl-feedback .utc-sl-feedback-btn .btn,
.utc-sl-feedback .utc-sl-feedback-btn a.btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #3993d5 !important;
    color: #fff !important;
    border-color: #3993d5 !important;
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 16px;
}
.utc-sl-feedback .utc-sl-feedback-btn .btn:hover,
.utc-sl-feedback .utc-sl-feedback-btn a.btn:hover {
    background: #2e7dba !important;
    border-color: #2e7dba !important;
    color: #fff !important;
}
.utc-sl-feedback .utc-sl-feedback-btn {
    margin-bottom: 10px;
}
/* "Claim This Store" button — solid green (same green the site already used) */
.utc-sl-feedback .utc-sl-action-btn,
.utc-sl-feedback button.btn-outline-success {
    background: #44c553 !important;
    color: #fff !important;
    border-color: #44c553 !important;
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 16px;
}
.utc-sl-feedback .utc-sl-action-btn:hover,
.utc-sl-feedback button.btn-outline-success:hover {
    background: #3ab348 !important;
    border-color: #3ab348 !important;
    color: #fff !important;
}
/* "Report Listing" secondary link */
.utc-sl-feedback .utc-sl-feedback-report,
.utc-sl-feedback .utc-sl-feedback-report a {
    font-size: 0.82rem;
    color: #adb5bd !important;
    text-decoration: none;
}
.utc-sl-feedback .utc-sl-feedback-report a:hover {
    color: #dc3545 !important;
}

/* ── Business Status Warning Banner ── */
.utc-sl-status-banner {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.utc-sl-status-banner i {
    font-size: 1.1rem;
}
.utc-sl-status-banner--temp {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}
.utc-sl-status-banner--perm {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ── Google Summary (inline G icon + text) ── */
.utc-sl-google-summary {
    margin: 0 0 16px 0;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #333;
}
.utc-sl-google-summary svg {
    vertical-align: -2px;
    margin-right: 2px;
}

/* ── Store Details Card (merged Contact + Amenities) ── */
.utc-sl-details {
    /* Uses standard .utc-sl-card base */
}

/* Contact rows (phone, website, email, social, price) */
.utc-sl-detail-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.utc-sl-detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    line-height: 1.5;
    word-break: break-word;
}
.utc-sl-detail-row > i:first-child {
    width: 16px;
    text-align: center;
    color: var(--utc-text, #333);
    font-size: 0.82rem;
    flex-shrink: 0;
}
.utc-sl-detail-row a,
.utc-sl-detail-row span {
    color: var(--utc-text, #333);
    text-decoration: none;
}
.utc-sl-detail-row a:hover {
    text-decoration: underline;
}
.utc-sl-detail-extlink,
.utc-sl-detail-callicon {
    font-size: 0.6rem;
    margin-left: 3px;
    opacity: 0.5;
}

/* Divider between contact & amenity sections */
.utc-sl-detail-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 12px 0;
}

/* Amenity sections (Accessibility, Parking, Payment) */
.utc-sl-detail-section {
    margin-bottom: 10px;
}
.utc-sl-detail-section:last-child {
    margin-bottom: 0;
}

/* Inline icon + checkmark items */
.utc-sl-detail-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
}
.utc-sl-detail-icon {
    color: var(--utc-text, #333);
    font-size: 0.82rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.utc-sl-detail-item {
    font-size: 0.875rem;
    color: var(--utc-text, #333);
    white-space: nowrap;
    line-height: 1.6;
}
.utc-sl-detail-item::first-letter {
    color: #4caf50;
}

/* ── Google Reviews Section (inside Reviews card) ── */
.utc-sl-google-reviews-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--utc-border, #e5e7eb);
}
.utc-sl-google-reviews-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--utc-text, #1a1a1a);
    margin: 0 0 16px 0;
}
.utc-sl-google-review {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.utc-sl-google-review:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.utc-sl-google-review-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}
.utc-sl-google-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.utc-sl-google-review-avatar--default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    color: #999;
    font-size: 1rem;
}
.utc-sl-google-review-meta {
    flex: 1;
    min-width: 0;
}
.utc-sl-google-review-author {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}
.utc-sl-google-review-badge {
    display: inline-flex;
    opacity: 0.7;
}
.utc-sl-google-review-stars {
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.utc-sl-star--filled {
    color: #fbbc04;
}
.utc-sl-star--empty {
    color: #dadce0;
}
.utc-sl-google-review-time {
    font-size: 0.78rem;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}
.utc-sl-google-review-text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #444;
    margin: 0;
}

/* ── Similar Stores ── */
.utc-sl-similar {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 40px 0;
    border-top: 1px solid var(--utc-border, #e5e7eb);
}
.utc-sl-similar-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--utc-text, #1a1a1a);
    margin-bottom: 24px;
}

/* ── GD Shortcode Output Cleanup ── */
/* Remove GD default margins/paddings that conflict with card layout */
.utc-single-listing .geodir-field-post_category,
.utc-single-listing .geodir-field-post_tags {
    margin: 0 !important;
    padding: 0 !important;
}

/* Make GD post_meta output inline-friendly */
.utc-single-listing .geodir-output-location {
    margin: 0 !important;
}

/* Contact Card label-hide — REMOVED (card merged into Store Details) */

/* ── Responsive: Tablet ── */
@media (max-width: 992px) {
    /* Show mobile Hours + Call Now (between photo and content), hide desktop Hours (in sidebar) */
    .utc-sl-hours--mobile {
        display: block !important;
    }
    .utc-sl-call-now--mobile {
        display: block !important;
        text-align: center;
        padding: 14px 20px;
        margin-bottom: 16px;
        border-radius: 10px;
        background: #ffcc4d;
        border: none;
        color: #1a1a1a !important;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none !important;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .utc-sl-call-now--mobile:hover,
    .utc-sl-call-now--mobile:active {
        background: #f0be3a;
        color: #1a1a1a !important;
        text-decoration: none !important;
    }
    .utc-qc-trigger--mobile {
        display: block !important;
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        margin-bottom: 16px;
        border-radius: 10px;
        background: #3993d5;
        border: none;
        color: #fff !important;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .utc-qc-trigger--mobile:hover,
    .utc-qc-trigger--mobile:active {
        background: #2d7ab8;
        color: #fff !important;
    }
    .utc-qc-trigger--mobile i {
        margin-right: 6px;
    }
    .utc-qc-trigger--desktop {
        display: none !important;
    }
    .utc-sl-hours--desktop {
        display: none !important;
    }
    .utc-sl-columns,
    .utc-sl-columns[style] {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
    }
    .utc-sl-sidebar,
    .utc-sl-sidebar[style] {
        position: static !important;
    }
    .utc-sl-main {
        order: 1;
    }
    .utc-sl-sidebar {
        order: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .utc-sl-sidebar .utc-sl-card {
        margin-bottom: 0;
    }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
    .utc-single-listing {
        padding-top: 80px;
        padding-bottom: 24px;
    }
    .utc-sl-card {
        padding: 16px;
        margin-bottom: 14px;
    }
    .utc-sl-header {
        padding: 20px 16px 16px;
    }
    .utc-sl-title {
        font-size: 1.4rem;
    }
    .utc-sl-header-top {
        flex-direction: column;
        gap: 12px;
    }
    .utc-sl-header-actions {
        align-self: flex-start;
    }
    .utc-sl-card-title {
        font-size: 1rem;
    }
    /* Sidebar goes single column on mobile */
    .utc-sl-sidebar,
    .utc-sl-sidebar[style] {
        grid-template-columns: 1fr !important;
    }
    .utc-sl-similar {
        display: none !important;
    }
    .utc-sl-meta-row {
        gap: 8px;
    }
    .utc-sl-review-cta-content {
        gap: 12px;
    }
    .utc-sl-review-cta-icon {
        width: 40px;
        height: 40px;
    }

    /* Directions form — stack vertically on mobile */
    .utc-sl-map .gd-get-directions {
        flex-direction: column;
        gap: 10px;
    }
    .utc-sl-map .gd-map-get-directions {
        width: 100% !important;
        padding: 12px 18px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
    }
    .utc-sl-map .utc-sl-open-maps {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 18px;
        font-size: 15px;
        border-radius: 10px;
    }
    .utc-sl-map #directions-options {
        flex-direction: column;
        gap: 8px;
    }
    .utc-sl-map #directions-options select {
        width: 100%;
        padding: 10px 12px;
    }
    .utc-sl-maps-hint {
        text-align: center;
    }

    /* Mosaic: convert to horizontal swipe carousel on mobile */
    .utc-mosaic {
        display: flex !important;
        gap: 0 !important;
        height: auto !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .utc-mosaic::-webkit-scrollbar {
        display: none;
    }
    .utc-mosaic .utc-mosaic-tile {
        flex: 0 0 100% !important;
        grid-column: auto !important;
        grid-row: auto !important;
        scroll-snap-align: start;
        border-radius: 0;
    }
    .utc-mosaic .utc-mosaic-tile img {
        height: 250px;
        width: 100%;
        object-fit: cover;
    }
    .utc-sl-gallery {
        margin-left: -24px;
        margin-right: -24px;
    }
}

/* ═══════════════════════════════════════════════
   Claim Listing Popup — Font & Spacing Standardization
   14px body, 13px help/info, 16px+ titles
   ═══════════════════════════════════════════════ */

/* Modal Title */
.modal .modal-title,
.modal-header .modal-title {
    font-size: 18px;
    font-weight: 600;
}

/* Form Base */
.geodir-post-claim-form {
    font-size: 14px;
    color: var(--utc-text, #333);
}

/* Intro text */
.geodir-post-claim-form .text-muted,
.geodir-post-claim-form p.text-muted {
    font-size: 13px;
    line-height: 1.5;
}

/* Labels */
.geodir-post-claim-form label,
.geodir-post-claim-form .form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--utc-text, #333);
    margin-bottom: 4px;
}

/* Form Inputs */
.geodir-post-claim-form .form-control,
.geodir-post-claim-form input[type="text"],
.geodir-post-claim-form input[type="email"],
.geodir-post-claim-form input[type="password"],
.geodir-post-claim-form input[type="tel"],
.geodir-post-claim-form input[type="number"],
.geodir-post-claim-form textarea,
.geodir-post-claim-form select {
    font-size: 14px;
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius-sm, 6px);
    padding: 8px 12px;
    transition: border-color 0.2s;
}
.geodir-post-claim-form .form-control:focus,
.geodir-post-claim-form input:focus,
.geodir-post-claim-form textarea:focus,
.geodir-post-claim-form select:focus {
    border-color: var(--utc-primary, #667eea);
    box-shadow: 0 0 0 3px rgba(var(--utc-primary-rgb, 102, 126, 234), 0.12);
}

/* Help Text / Descriptions */
.geodir-post-claim-form .form-text,
.geodir-post-claim-form small.text-muted,
.geodir-post-claim-form small {
    font-size: 13px;
}

/* Section Titles (Business Verification heading) */
.geodir-post-claim-form .geodir-claim-field-header h5 {
    font-size: 14px;
    font-weight: 600;
}
.geodir-claim-verify-fields > p.text-muted strong {
    font-size: 14px;
}

/* Verification Panel Labels + Help */
.utc-verify-panel .form-text,
.utc-verify-panel small {
    font-size: 13px;
    line-height: 1.5;
}
.utc-verify-panel label,
.utc-verify-panel .form-label {
    font-size: 14px;
}

/* Password Checklist */
.geodir-post-claim-form .utc-pw-checklist,
.geodir-post-claim-form .utc-pw-checklist li {
    font-size: 13px;
}

/* Submit Button */
.geodir-post-claim-form .geodir-post-claim-button,
.geodir-post-claim-form .btn-primary {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--utc-radius-sm, 6px);
}

/* Success / Error Messages inside popup */
.geodir-claim-form-fields .alert {
    font-size: 14px;
    border-radius: var(--utc-radius-sm, 6px);
}
.geodir-claim-form-fields .alert p {
    font-size: 14px;
    line-height: 1.5;
}
.geodir-claim-form-fields .utc-claim-success-info {
    font-size: 14px;
}
.geodir-claim-form-fields .utc-claim-success-info p {
    font-size: 14px;
    line-height: 1.6;
}

/* ── Claim Modal: Mobile Responsive ── */
@media (max-width: 576px) {
    .lity-container {
        max-width: calc(100vw - 32px) !important;
        margin: 0 16px;
    }
    .geodir-claim-lity-content {
        padding: 12px !important;
    }
    .geodir-claim-form-fields .alert {
        padding: 12px;
    }
}

/* ── Claim Form: Verification Panel Slide ── */
@keyframes utcSlideDown {
    from { opacity: 0; max-height: 0; transform: translateY(-8px); }
    to   { opacity: 1; max-height: 300px; transform: translateY(0); }
}
.utc-verify-panel {
    overflow: hidden;
}

/* ═══════════════════════════════════════════════
   GetPaid Checkout Page — Two-Column Layout
   Left: billing fields | Right: cart + Stripe + Pay Now + trust
   JS restructures the form's .row into two columns at runtime.
   ═══════════════════════════════════════════════ */

/* ── Outer Wrapper — inherits page container width (matches listing page) ── */
.utc-checkout-wrap {
    padding: 20px 0 40px;
}

/* ── Two-Column Split (JS adds .utc-checkout-split to the .row) ── */
/* Matches listing page: 1fr + 380px sidebar, 24px gap */
.utc-checkout-split {
    display: grid !important;
    grid-template-columns: 1fr 494px;
    gap: 10px;
    align-items: start;
}
/* Reset Bootstrap .row > * gutter on all grid children */
.utc-checkout-split > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.utc-form-col-left {
    min-width: 0;
    background: var(--utc-bg-white, #fff);
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius, 8px);
    padding: 24px !important;
}
.utc-form-col-left .utc-sl-card-title {
    margin-bottom: 20px !important;
}
.utc-form-col-right {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 100px;
    grid-column: 2;
    grid-row: 1 / span 2;
}

/* ── Payment Card (cart + Stripe + Pay Now) ── */
.utc-checkout-payment-card {
    background: var(--utc-bg, #f9f9fb);
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius, 8px);
    padding: 20px;
}

/* ── Trust Panel (direct grid child, positioned under left column on desktop) ── */
.utc-checkout-trust {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    grid-column: 1 !important;
    width: 100% !important;
    justify-self: stretch !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* ── Order Summary (top of right column, after JS) ── */
.utc-checkout-order-summary {
    margin: 0;
}

/* ── Sidebar Cards ── */
.utc-checkout-trust-card {
    background: var(--utc-bg-white, #fff);
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius, 8px);
    padding: 18px 20px;
}
.utc-checkout-trust-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--utc-text, #333);
}
.utc-checkout-trust-card p {
    font-size: 13px;
    color: var(--utc-text-light, #666);
    margin: 0;
    line-height: 1.5;
}
.utc-checkout-trust-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.utc-checkout-trust-card ul li {
    font-size: 13px;
    color: var(--utc-text-light, #666);
    padding: 4px 0;
    line-height: 1.5;
}
.utc-checkout-trust-card ul li::before {
    content: "\2713";
    color: #44c553;
    font-weight: 700;
    margin-right: 8px;
}
.utc-checkout-trust-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--utc-text-light, #666);
    padding: 5px 0;
}
.utc-checkout-trust-icons .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #44c553;
}
.utc-checkout-badge-row {
    padding: 10px 0 6px;
}
.utc-checkout-cards {
    display: flex;
    gap: 10px;
    padding-top: 8px;
}
.utc-checkout-cards .fab {
    font-size: 28px;
    color: #555;
}
.utc-checkout-cards .fa-cc-visa { color: #1a1f71; }
.utc-checkout-cards .fa-cc-mastercard { color: #eb001b; }
.utc-checkout-cards .fa-cc-amex { color: #006fcf; }
.utc-checkout-cards .fa-cc-discover { color: #ff6000; }
.utc-checkout-badge-row .fab {
    font-size: 32px;
    color: #635bff;
    opacity: 0.7;
}
.utc-checkout-trust-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff8e1;
    border-color: #ffe082;
}
.utc-checkout-trust-note .dashicons {
    color: #e37400;
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}
.utc-checkout-trust-note span:last-child {
    font-size: 13px;
    color: #6d4c00;
    line-height: 1.5;
}

/* ── Order Summary Card ── */
.utc-checkout-summary-card {
    background: var(--utc-bg, #f9f9fb);
}
.utc-checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: var(--utc-text, #333);
    border-bottom: 1px solid var(--utc-border, #e0e0e0);
}
.utc-checkout-summary-row strong {
    font-size: 16px;
    font-weight: 700;
}
.utc-checkout-summary-store {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--utc-text-light, #666);
}
.utc-checkout-summary-store .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--utc-text-muted, #888);
}
.utc-checkout-summary-note {
    margin-top: 10px !important;
    font-size: 13px !important;
    color: var(--utc-text-muted, #888) !important;
}

/* ── Payment Form — Base Typography ── */
.getpaid-payment-form {
    font-size: 14px;
    color: var(--utc-text, #333);
}

/* ── Labels ── */
.getpaid-payment-form label,
.getpaid-payment-form .form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--utc-text, #333);
    margin-bottom: 4px;
}

/* ── Form Inputs ── */
.getpaid-payment-form .form-control,
.getpaid-payment-form input[type="text"],
.getpaid-payment-form input[type="email"],
.getpaid-payment-form input[type="tel"],
.getpaid-payment-form input[type="number"],
.getpaid-payment-form select {
    font-size: 14px;
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius-sm, 6px);
    padding: 8px 12px;
    transition: border-color 0.2s;
}
.getpaid-payment-form .form-control:focus,
.getpaid-payment-form input:focus,
.getpaid-payment-form select:focus {
    border-color: var(--utc-primary, #667eea);
    box-shadow: 0 0 0 3px rgba(var(--utc-primary-rgb, 102, 126, 234), 0.12);
}

/* ── Help / Muted Text ── */
.getpaid-payment-form .form-text,
.getpaid-payment-form small.text-muted {
    font-size: 13px;
}

/* ── Section Titles (Billing Address, Payment Method) ── */
.getpaid-billing-address-title,
.getpaid-shipping-address-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--utc-text, #333);
    margin-bottom: 16px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--utc-border, #e0e0e0);
}

/* ── Cart / Order Summary Table ── */
.getpaid-payment-form-items-cart {
    border: 1px solid var(--utc-border, #e0e0e0) !important;
    border-radius: var(--utc-radius, 8px) !important;
    overflow: hidden;
}
/* Cart header */
.getpaid-payment-form-items-cart-header {
    background: var(--utc-bg, #f9f9fb) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--utc-text-light, #666) !important;
    padding: 10px 16px !important;
}
.getpaid-payment-form-items-cart-header span {
    font-size: 13px !important;
}
/* Cart item row */
.getpaid-payment-form-items-cart-item {
    padding: 14px 16px !important;
    font-size: 14px;
}
.getpaid-payment-form-items-cart-item .font-weight-bold,
.getpaid-payment-form-items-cart-item .fw-bold {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--utc-text, #333);
}
/* Truncate item description to 2 lines */
.getpaid-form-cart-item-name .form-text.text-muted {
    font-size: 13px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    max-height: 2.8em;
}
/* Price / subtotal / qty columns */
.getpaid-form-cart-item-price,
.getpaid-form-cart-item-subtotal {
    font-size: 14px;
    font-weight: 600;
    color: var(--utc-text, #333);
}
.getpaid-form-cart-item-quantity {
    font-size: 14px;
}
/* Cart totals */
.getpaid-payment-form-items-cart-totals {
    font-size: 14px;
}
.getpaid-form-cart-totals-col {
    padding: 10px 16px !important;
}
.getpaid-form-cart-totals-col.bg-light {
    background: var(--utc-bg, #f9f9fb) !important;
}
.getpaid-form-cart-totals-total {
    font-size: 15px !important;
    font-weight: 700 !important;
}
.getpaid-payment-form-line-totals-label {
    font-size: 14px;
}
.getpaid-payment-form-line-totals-value {
    font-size: 14px;
    font-weight: 600;
}

/* ── Gateway Selection ── */
.getpaid-gateways {
    margin-top: 20px !important;
    margin-bottom: 16px !important;
}
.getpaid-select-gateway-title-div h6 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--utc-text, #333);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--utc-border, #e0e0e0);
    margin-bottom: 12px !important;
}
.getpaid-gateway-radio {
    font-size: 14px !important;
    padding: 8px 0;
}
.getpaid-gateway-description {
    border-radius: var(--utc-radius-sm, 6px) !important;
    font-size: 13px;
}

/* ── Pay Button — matches Claim This Store (btn-outline-success) ── */
.getpaid-payment-form-submit {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 14px 24px !important;
    border-radius: 6px !important;
    background: #44c553 !important;
    color: #fff !important;
    border: none !important;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.2s, box-shadow 0.2s;
}
.getpaid-payment-form-submit:hover,
.getpaid-payment-form-submit:focus {
    background: #3ab348 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3) !important;
}

/* ── Loading Overlay ── */
.getpaid-payment-form .loading_div {
    border-radius: var(--utc-radius, 8px);
}

/* ── Error Messages ── */
.getpaid-payment-form-errors {
    font-size: 14px;
    border-radius: var(--utc-radius-sm, 6px) !important;
}

/* ── "Edit this form" admin link — less intrusive ── */
.getpaid-payment-form > small.form-text {
    font-size: 12px;
    opacity: 0.6;
}

/* ── Responsive: Stack to single column ── */
/* Mobile flow: 1) Billing form → 2) Your Order + Payment → 3) Trust info */
@media (max-width: 991px) {
    .utc-checkout-wrap {
        padding: 10px 0;
    }
    .utc-checkout-split {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .utc-form-col-left { order: 1; }
    .utc-form-col-right {
        order: 2;
        position: static;
        grid-column: 1;
        grid-row: auto;
    }
    .utc-checkout-trust { order: 3; }
}


/* ══════════════════════════════════════════════════
   Terms & Conditions — Full-Width, Left-Aligned
   ══════════════════════════════════════════════════ */

/* ── Container — card wrapper matching site pattern ── */
.utc-terms-wrap {
    width: 100%;
    color: var(--utc-text, #333);
    line-height: 1.75;
    font-size: 0.95rem;
    background: var(--utc-bg-white, #fff);
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius, 8px);
    padding: 28px;
    margin-bottom: 20px;
}

/* ── Header — left-aligned like all other templates ── */
.utc-terms-header {
    margin-bottom: 24px;
}
.utc-terms-title {
    margin: 0;
    /* Inherits font-size, weight, color from theme — no overrides */
}
.utc-terms-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
    font-size: 14px;
    color: var(--utc-text-muted, #888);
    margin: 8px 0 16px;
}
.utc-terms-meta-item i { margin-right: 4px; }
.utc-terms-meta-sep {
    color: var(--utc-border, #e0e0e0);
}
.utc-terms-intro {
    font-size: 0.95rem;
    color: var(--utc-text-light, #666);
    line-height: 1.7;
    margin: 0 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--utc-border, #e0e0e0);
}
.utc-terms-intro a {
    color: var(--utc-primary, #667eea);
    text-decoration: none;
}
.utc-terms-intro a:hover { text-decoration: underline; }

/* ── Table of Contents ── */
.utc-terms-toc {
    background: var(--utc-bg, #f9f9fb);
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius, 8px);
    padding: 20px 24px;
    margin-bottom: 32px;
}
.utc-terms-toc-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--utc-text, #333);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.utc-terms-toc-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--utc-radius-sm, 6px);
    background: #EDEDEDAB;
    color: var(--utc-primary, #667eea);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.utc-terms-toc-list {
    columns: 2;
    column-gap: 32px;
    margin: 0;
    padding: 0;
    list-style-position: inside;
}
.utc-terms-toc-list li {
    padding: 3px 0;
    font-size: 0.85rem;
    break-inside: avoid;
    color: var(--utc-text-light, #666);
}
.utc-terms-toc-list li a {
    color: var(--utc-text-light, #666);
    text-decoration: none;
    transition: color 0.15s;
}
.utc-terms-toc-list li a:hover {
    color: var(--utc-primary, #667eea);
    text-decoration: underline;
}

/* ── Sections ── */
.utc-terms-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--utc-border, #e0e0e0);
    scroll-margin-top: 80px;
}
.utc-terms-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.utc-terms-section-heading {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--utc-text, #333);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}
.utc-terms-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: var(--utc-radius-sm, 6px);
    background: #EDEDEDAB;
    color: var(--utc-primary, #667eea);
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Section body typography ── */
.utc-terms-section-body p {
    margin: 0 0 12px;
    color: var(--utc-text-light, #666);
}
.utc-terms-section-body p:last-child { margin-bottom: 0; }

.utc-terms-section-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--utc-text, #333);
    margin: 20px 0 8px;
}
.utc-terms-section-body h4:first-child { margin-top: 0; }

.utc-terms-section-body a {
    color: var(--utc-primary, #667eea);
    text-decoration: none;
}
.utc-terms-section-body a:hover { text-decoration: underline; }

.utc-terms-section-body ul,
.utc-terms-section-body ol {
    margin: 8px 0 12px;
    padding-left: 24px;
    color: var(--utc-text-light, #666);
}
.utc-terms-section-body li {
    margin-bottom: 4px;
    line-height: 1.65;
}
.utc-terms-section-body li strong {
    color: var(--utc-text, #333);
}

/* ── Definitions list ── */
.utc-terms-defs {
    list-style: none;
    padding-left: 0;
}
.utc-terms-defs li {
    padding: 6px 12px 6px 14px;
    border-left: 3px solid var(--utc-border, #e0e0e0);
    margin-bottom: 8px;
    background: var(--utc-bg, #f9f9fb);
    border-radius: 0 var(--utc-radius-sm, 6px) var(--utc-radius-sm, 6px) 0;
}

/* ── Legal emphasis boxes (ALL CAPS sections) ── */
.utc-terms-legal-box {
    background: #fffbeb;
    border: 1px solid #f6e05e;
    border-left: 4px solid #ecc94b;
    border-radius: 0 var(--utc-radius-sm, 6px) var(--utc-radius-sm, 6px) 0;
    padding: 16px 20px;
    margin: 10px 0 14px;
    font-size: 0.82rem;
    line-height: 1.7;
}
.utc-terms-legal-box p {
    color: #744210 !important;
    font-weight: 500;
}
.utc-terms-legal-box ul,
.utc-terms-legal-box ol {
    color: #744210;
}

/* ── Contact card ── */
.utc-terms-contact-card {
    background: var(--utc-bg, #f9f9fb);
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius, 8px);
    padding: 20px 24px;
    margin: 14px 0;
}
.utc-terms-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 0.9rem;
}
.utc-terms-contact-row + .utc-terms-contact-row {
    border-top: 1px solid var(--utc-border, #e0e0e0);
}
.utc-terms-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: var(--utc-radius-sm, 6px);
    background: #EDEDEDAB;
    color: var(--utc-primary, #667eea);
    font-size: 14px;
    flex-shrink: 0;
}

/* ── Closing ── */
.utc-terms-closing {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--utc-text, #333) !important;
    margin-top: 20px !important;
    padding-top: 12px;
}

/* ── Print styles ── */
@media print {
    .utc-terms-toc { break-after: page; }
    .utc-terms-section { break-inside: avoid; }
    .utc-terms-wrap { font-size: 11pt; }
    .utc-terms-legal-box { border-color: #000; background: #f5f5f5; }
}

/* ── Responsive: single-column TOC on mobile ── */
@media (max-width: 640px) {
    .utc-terms-wrap { padding: 20px; }
    .utc-terms-toc-list { columns: 1; }
    .utc-terms-toc { padding: 16px; }
    .utc-terms-section-heading { font-size: 1.05rem; }
    .utc-terms-legal-box { padding: 12px 14px; }
    .utc-terms-contact-card { padding: 14px 16px; }
    .utc-terms-meta-sep { display: none; }
    .utc-terms-meta-item { display: block; }
}


/* ═══════════════════════════════════════════════
   UT > Legal Links Block
   ═══════════════════════════════════════════════ */
.utc-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}
.utc-legal-links--center { justify-content: center; }
.utc-legal-links--left   { justify-content: flex-start; }
.utc-legal-links--right  { justify-content: flex-end; }

.utc-ll-link { white-space: nowrap; }
.utc-ll-sep  { display: inline-block; user-select: none; opacity: 0.6; }
.utc-ll-manage-cookies { cursor: pointer; }

@media print {
    .utc-ll-manage-cookies { display: none !important; }
    .utc-ll-manage-cookies + .utc-ll-sep { display: none !important; }
    .utc-ll-link { color: #333 !important; }
}


/* ═══════════════════════════════════════════════
   Complianz Document Restyling
   Match Terms & Conditions block design system
   ═══════════════════════════════════════════════ */

/* ── Wrapper — card style matching .utc-terms-wrap ── */
#cmplz-document {
    width: 100%;
    max-width: none !important;
    color: var(--utc-text, #333);
    line-height: 1.75;
    font-size: 0.95rem !important;
    background: var(--utc-bg-white, #fff);
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius, 8px);
    padding: 28px;
    text-justify: auto !important;
}

/* ── Injected header for Complianz pages (matches .utc-terms-header) ── */
.utc-cmplz-header {
    margin-bottom: 24px;
}
.utc-cmplz-header h1 {
    margin: 0;
}
.utc-cmplz-header .utc-terms-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
    font-size: 14px;
    color: var(--utc-text-muted, #888);
    margin: 8px 0 16px;
}
.utc-cmplz-header .utc-terms-meta-item i { margin-right: 4px; }
.utc-cmplz-header .utc-terms-meta-sep { color: var(--utc-border, #e0e0e0); }
.utc-cmplz-header .utc-cmplz-intro {
    font-size: 0.95rem;
    color: var(--utc-text-light, #666);
    line-height: 1.7;
    margin: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--utc-border, #e0e0e0);
}

/* ── Remove Complianz external-link icon (ugly data:uri PNG) ── */
#cmplz-document a[target=_blank]::after {
    content: none !important;
    display: none !important;
}

/* ── Links — use site accent color ── */
#cmplz-document a {
    color: var(--utc-primary, #667eea);
    text-decoration: none;
    transition: color 0.15s;
}
#cmplz-document a:hover {
    text-decoration: underline;
}
#cmplz-document a:focus {
    border: none;
    padding: 0;
    outline: 2px solid var(--utc-primary, #667eea);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ── Section headings (h2) — numbered badge style ── */
#cmplz-document h2 {
    font-size: 1.15rem !important;
    font-weight: 600;
    color: var(--utc-text, #333);
    margin: 28px 0 12px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid var(--utc-border, #e0e0e0);
    line-height: 1.3;
    text-transform: none;
}
#cmplz-document h2:first-of-type {
    margin-top: 0 !important;
}

/* ── Sub-headings (h3) ── */
#cmplz-document h3 {
    font-size: 1rem !important;
    font-weight: 600;
    color: var(--utc-text, #333);
    margin: 20px 0 8px !important;
    padding: 0 !important;
    border-bottom: none;
    line-height: 1.4;
}

/* ── h4, h5 headings ── */
#cmplz-document h4 {
    font-size: 0.95rem !important;
    font-weight: 600;
    color: var(--utc-text, #333);
    margin: 16px 0 6px !important;
}
#cmplz-document h5 {
    font-size: 0.9rem !important;
    font-weight: 600;
    color: var(--utc-text, #333);
    margin: 12px 0 4px !important;
}

/* ── Body text ── */
#cmplz-document p,
#cmplz-document li,
#cmplz-document td {
    font-size: 0.95rem !important;
    color: var(--utc-text-light, #666);
    line-height: 1.75;
}
#cmplz-document p {
    margin: 0 0 12px;
}

/* ── Subtitles (numbered subsections) ── */
#cmplz-document .cmplz-subtitle {
    font-weight: 600;
    color: var(--utc-text, #333);
    margin-top: 20px;
    font-size: 0.95rem !important;
}

/* ── Indented content ── */
#cmplz-document .cmplz-indent {
    margin-left: 24px;
    padding-left: 16px;
    border-left: 3px solid var(--utc-border, #e0e0e0);
}

/* ── Lists ── */
#cmplz-document ul {
    margin: 8px 0 12px !important;
    padding-left: 24px;
    list-style: disc;
}
#cmplz-document ol {
    margin: 8px 0 12px;
    padding-left: 24px;
}
#cmplz-document li {
    margin-bottom: 4px;
    line-height: 1.65;
}
#cmplz-document li strong {
    color: var(--utc-text, #333);
}

/* ── Dropdown / Collapsible sections — card style ── */
#cmplz-document .cmplz-dropdown {
    background: var(--utc-bg, #f9f9fb) !important;
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius, 8px);
    margin: 12px 0;
    overflow: hidden;
}
#cmplz-document .cmplz-dropdown summary {
    background: var(--utc-bg, #f9f9fb) !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--utc-border, #e0e0e0);
    transition: background 0.15s;
}
#cmplz-document .cmplz-dropdown summary:hover {
    background: #f0f0f4 !important;
}
#cmplz-document .cmplz-dropdown summary h3 {
    font-size: 0.95rem !important;
    font-weight: 600;
    color: var(--utc-text, #333);
    margin: 0 !important;
    padding: 0 5px !important;
    border-bottom: none !important;
}
#cmplz-document .cmplz-dropdown summary div:after {
    background: none !important;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome;
    font-weight: 900;
    font-size: 14px;
    color: var(--utc-text-muted, #888);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #EDEDEDAB !important;
    border-radius: var(--utc-radius-sm, 6px);
    transition: transform 0.3s ease, color 0.15s;
}
#cmplz-document .cmplz-dropdown[open] summary div:after {
    transform: rotate(180deg);
    color: var(--utc-primary, #667eea);
}
#cmplz-document .cmplz-dropdown[open] summary {
    border-bottom: 1px solid var(--utc-border, #e0e0e0);
}

/* Dropdown inner content */
#cmplz-document .cmplz-dropdown p,
#cmplz-document .cmplz-dropdown h4 {
    padding: 0 16px !important;
}
#cmplz-document .cmplz-dropdown ul {
    padding: 0 16px 0 40px !important;
}
#cmplz-document .cmplz-dropdown p:first-of-type {
    padding-top: 12px !important;
}
#cmplz-document .cmplz-dropdown p:last-of-type {
    padding-bottom: 12px !important;
}

/* Cookie table inside dropdowns */
#cmplz-document .cmplz-dropdown .cookies-per-purpose {
    border: 1px solid var(--utc-border, #e0e0e0) !important;
    border-radius: var(--utc-radius-sm, 6px);
    background: #fff !important;
    margin: 8px 16px 12px !important;
    overflow: hidden;
}
#cmplz-document .cmplz-dropdown .cookies-per-purpose div {
    background: #fff;
    padding: 10px 14px;
    font-size: 0.85rem;
}
#cmplz-document .cmplz-dropdown .cookies-per-purpose .name-header,
#cmplz-document .cmplz-dropdown .cookies-per-purpose .retention-header,
#cmplz-document .cmplz-dropdown .cookies-per-purpose .function-header {
    background: var(--utc-bg, #f9f9fb) !important;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--utc-text, #333);
}
#cmplz-document .cmplz-dropdown .cookies-per-purpose .purpose {
    font-weight: 600;
    color: var(--utc-text, #333);
    background: var(--utc-bg, #f9f9fb) !important;
}

/* ── Data Request Form — styled as contact card ── */
#cmplz-document #cmplz-datarequest-form,
#cmplz-document .cmplz-datarequest-form,
#cmplz-document form[id*="datarequest"],
#cmplz-document form[id*="dnsmpd"] {
    background: var(--utc-bg, #f9f9fb);
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius, 8px);
    padding: 20px 24px;
    margin: 24px 0 8px;
}
#cmplz-document #cmplz-datarequest-form label,
#cmplz-document form[id*="dnsmpd"] label,
#cmplz-document form[id*="datarequest"] label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--utc-text, #333);
    display: block;
    margin-bottom: 4px;
}
#cmplz-document #cmplz-datarequest-form input[type="text"],
#cmplz-document #cmplz-datarequest-form input[type="email"],
#cmplz-document form[id*="dnsmpd"] input[type="text"],
#cmplz-document form[id*="dnsmpd"] input[type="email"],
#cmplz-document form[id*="datarequest"] input[type="text"],
#cmplz-document form[id*="datarequest"] input[type="email"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius-sm, 6px);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: border-color 0.15s;
}
#cmplz-document #cmplz-datarequest-form input[type="text"]:focus,
#cmplz-document #cmplz-datarequest-form input[type="email"]:focus,
#cmplz-document form[id*="dnsmpd"] input[type="text"]:focus,
#cmplz-document form[id*="dnsmpd"] input[type="email"]:focus {
    border-color: var(--utc-primary, #667eea);
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* Checkboxes in data request form */
#cmplz-document .cmplz_datarequest {
    padding: 8px 0;
}
#cmplz-document .cmplz_datarequest label {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400 !important;
    color: var(--utc-text-light, #666) !important;
    line-height: 1.5;
    cursor: pointer;
}
#cmplz-document .cmplz_datarequest input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--utc-primary, #667eea);
}

/* Submit button */
#cmplz-document #cmplz-datarequest-submit,
#cmplz-document input[type="button"],
#cmplz-document input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: var(--utc-primary, #667eea);
    color: #fff;
    border: none;
    border-radius: var(--utc-radius-sm, 6px);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    margin-top: 8px;
}
#cmplz-document #cmplz-datarequest-submit:hover,
#cmplz-document input[type="button"]:hover,
#cmplz-document input[type="submit"]:hover {
    background: var(--utc-primary-dark, #5567d5);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

/* Alert messages */
#cmplz-document .cmplz-datarequest.cmplz-alert {
    border-radius: var(--utc-radius-sm, 6px);
    padding: 12px 16px;
    font-size: 0.9rem;
}
#cmplz-document .cmplz-datarequest.cmplz-alert.cmplz-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
#cmplz-document .cmplz-datarequest.cmplz-alert.cmplz-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ── Manage Consent container on policy pages ── */
#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category {
    background: var(--utc-bg, #f9f9fb) !important;
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius, 8px);
    margin-bottom: 8px !important;
    overflow: hidden;
}
#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header {
    background: var(--utc-bg, #f9f9fb) !important;
    padding: 10px 16px !important;
}
#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2 {
    font-size: 0.95rem !important;
    font-weight: 600;
    color: var(--utc-text, #333);
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: none !important;
}
#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description {
    padding: 12px 16px !important;
    color: var(--utc-text-light, #666);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── Print ── */
@media print {
    #cmplz-document { font-size: 11pt !important; border: none; }
    #cmplz-document .cmplz-dropdown { break-inside: avoid; }
    #cmplz-document #cmplz-datarequest-form,
    #cmplz-document form[id*="dnsmpd"],
    #cmplz-document form[id*="datarequest"] { display: none !important; }
}

/* ── Responsive ── */
@media (max-width: 640px) {
    #cmplz-document { padding: 20px; }
    #cmplz-document h2 { font-size: 1.05rem !important; }
    #cmplz-document .cmplz-dropdown summary { padding: 10px 12px !important; }
    #cmplz-document #cmplz-datarequest-form,
    #cmplz-document form[id*="dnsmpd"] { padding: 14px 16px; }
}

/* ── Vendor branding removal ─────────────────── */
a[href*="wpgeodirectory.com"],
a[data-id*="wpgeodirectory.com"] { display: none !important; }

/* ── Complianz "Manage consent" floating tab — HIDDEN everywhere ── */
#cmplz-manage-consent,
#cmplz-manage-consent .cmplz-manage-consent,
#cmplz-manage-consent .cmplz-manage-consent.cmplz-show,
.cmplz-manage-consent.cmplz-show {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* ═══════════════════════════════════════════════
   Newsletter Archive (Public)
   Branded with CSS custom properties set by the
   UT > Newsletter Archive block via inline style.
   Fallback values ensure backward compat.
   ═══════════════════════════════════════════════ */
.utc-newsletter-archive-header {
    margin-bottom: 32px;
}
.utc-newsletter-archive-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--utc-nl-text, var(--utc-text, #333));
}
.utc-newsletter-archive-intro {
    color: var(--utc-text-muted, #888);
    font-size: 1rem;
    margin: 0;
}

/* Grid — columns controlled by --utc-nl-cols variable */
.utc-newsletter-grid {
    display: grid;
    grid-template-columns: repeat(var(--utc-nl-cols, 3), 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

/* Card — colors + height controlled by block CSS vars */
.utc-newsletter-card {
    border: 1px solid var(--utc-nl-card-border, var(--utc-border, #e0e0e0));
    border-radius: var(--utc-radius, 8px);
    background: var(--utc-nl-card-bg, var(--utc-bg-white, #fff));
    padding: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
    min-height: var(--utc-nl-card-height, auto);
}
.utc-newsletter-card:hover {
    border-color: var(--utc-nl-accent, var(--utc-nl-header, var(--utc-primary, #3993d5)));
    box-shadow: var(--utc-shadow, 0 2px 8px rgba(0,0,0,0.08));
}

/* Colored top border (toggled via wrapper class) */
.utc-newsletter-archive--border-top .utc-newsletter-card {
    border-top: 3px solid var(--utc-nl-accent, var(--utc-nl-header, #3993d5));
}

.utc-newsletter-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.utc-newsletter-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Badge — plain text, uses block accent color */
.utc-newsletter-card-badge {
    display: inline-block;
    color: var(--utc-nl-accent, var(--utc-nl-header, #3993d5));
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* Title */
.utc-newsletter-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--utc-nl-text, var(--utc-text, #333));
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.utc-newsletter-card-meta {
    display: flex;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--utc-text-muted, #888);
    margin-bottom: 6px;
}

/* Excerpt — flex-grow pushes the "Read" link to the bottom when min-height is set */
.utc-newsletter-card-excerpt {
    font-size: 0.8rem;
    color: var(--utc-text-light, #666);
    line-height: 1.4;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Read arrow */
.utc-newsletter-card-read {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--utc-nl-accent, var(--utc-nl-header, #3993d5));
    margin-top: auto;
}

/* Empty state */
.utc-newsletter-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--utc-text-muted, #888);
}
.utc-newsletter-empty .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto 12px;
    color: var(--utc-nl-header, #3993d5);
    opacity: 0.3;
}

/* Pagination */
.utc-newsletter-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}
.utc-newsletter-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--utc-nl-text, var(--utc-text, #333));
    border: 1px solid var(--utc-border, #e0e0e0);
    transition: all 0.2s;
}
.utc-newsletter-page-link:hover {
    border-color: var(--utc-nl-accent, var(--utc-nl-header, #3993d5));
    color: var(--utc-nl-accent, var(--utc-nl-header, #3993d5));
}
.utc-newsletter-page-link--current {
    background: var(--utc-nl-accent, var(--utc-nl-header, #3993d5));
    color: #fff;
    border-color: var(--utc-nl-accent, var(--utc-nl-header, #3993d5));
}

/* ── Single Newsletter ── */
.utc-newsletter-single {
    max-width: 100%;
}

/* Header */
.utc-newsletter-single-header {
    margin-bottom: 24px;
}
.utc-newsletter-single-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
    color: var(--utc-nl-text, var(--utc-text, #333));
}

/* Meta row — date, subscribers, badge inline */
.utc-newsletter-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--utc-text-muted, #888);
}
.utc-newsletter-single-badge {
    color: var(--utc-nl-header, #3993d5);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 4px;
}

/* ── Newsletter Share Bar ── */
.utc-newsletter-share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0;
    padding-top: 12px;
    border-top: 1px solid var(--utc-border, #e0e0e0);
}
.utc-newsletter-share-label {
    font-size: 0.85rem;
    color: var(--utc-text-muted, #888);
    font-weight: 500;
}
.utc-newsletter-share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.utc-nl-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: 6px;
    background: #fff;
    color: var(--utc-text, #333);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    font-family: inherit;
    line-height: 1.4;
}
.utc-nl-share-btn:hover {
    border-color: var(--utc-nl-header, #3993d5);
    color: var(--utc-nl-header, #3993d5);
    background: rgba(57, 147, 213, 0.04);
}
.utc-nl-share-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.utc-nl-share-btn i {
    font-size: 0.85rem;
}
/* Per-button hover colors */
.utc-nl-share-email:hover { border-color: #667eea; color: #667eea; background: rgba(102,126,234,0.04); }
.utc-nl-share-image:hover { border-color: #e67e22; color: #e67e22; background: rgba(230,126,34,0.04); }
.utc-nl-share-fb:hover    { border-color: #1877f2; color: #1877f2; background: rgba(24,119,242,0.04); }
.utc-nl-share-x:hover     { border-color: #000;    color: #000;    background: rgba(0,0,0,0.03); }
.utc-nl-share-copy:hover  { border-color: #28a745; color: #28a745; background: rgba(40,167,69,0.04); }

/* ── Newsletter Email Share Modal ── */
.utc-nl-share-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.utc-nl-share-modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
}
.utc-nl-share-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    margin: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.utc-nl-share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.utc-nl-share-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}
.utc-nl-share-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    padding: 0;
    line-height: 1;
}
.utc-nl-share-modal-close:hover {
    color: #333;
}
.utc-nl-share-modal-body {
    padding: 20px;
}
.utc-nl-share-modal-desc {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 16px;
    line-height: 1.5;
}
.utc-nl-share-field {
    margin-bottom: 12px;
}
.utc-nl-share-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 4px;
}
.utc-nl-share-field label span {
    color: #e74c3c;
}
.utc-nl-share-field input[type="email"],
.utc-nl-share-field input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    box-sizing: border-box;
}
.utc-nl-share-field input:focus {
    border-color: var(--utc-nl-header, #3993d5);
    outline: none;
    box-shadow: 0 0 0 2px rgba(57,147,213,0.15);
}
.utc-nl-share-modal-footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 12px 20px;
    border-top: 1px solid #eee;
}
.utc-nl-share-send-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--utc-nl-header, #3993d5);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
}
.utc-nl-share-send-btn:hover { opacity: 0.9; }
.utc-nl-share-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.utc-nl-share-cancel-btn {
    padding: 8px 16px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}
.utc-nl-share-cancel-btn:hover {
    border-color: #bbb;
    color: #333;
}
.utc-nl-share-modal-status {
    padding: 8px 20px 12px;
    font-size: 0.8rem;
    text-align: center;
}
.utc-nl-share-modal-status.success { color: #28a745; }
.utc-nl-share-modal-status.error   { color: #dc3545; }

/* Body — bordered container, same bg as email content */
.utc-newsletter-single-body {
    background: #fff;
    border: 1px solid var(--utc-border, #e0e0e0);
    border-radius: var(--utc-radius, 8px);
    overflow: hidden;
}
.utc-newsletter-single-body iframe {
    display: block;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .utc-newsletter-grid {
        grid-template-columns: repeat(var(--utc-nl-cols-mobile, 1), 1fr);
    }
    .utc-newsletter-single-header h1 {
        font-size: 1.3rem;
    }
    .utc-newsletter-share-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .utc-nl-share-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    .utc-nl-share-modal-content {
        margin: 8px;
    }
}


/* ==========================================================================
   Blog Archive + Single Post
   ========================================================================== */

/* ── Archive Wrapper ── */
.utc-blog-archive {
    margin: 0 auto;
}

.utc-blog-archive-header {
    margin-bottom: 20px;
}
.utc-blog-archive-heading {
    margin: 0 0 6px;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}
.utc-blog-archive-subheading {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* ── Blog Search ── */
.utc-blog-search {
    display: flex;
    align-items: center;
    max-width: var(--utc-search-mw, 480px);
    margin: 0 auto 20px;
    border: 1px solid var(--utc-search-border, #ddd);
    border-radius: var(--utc-search-r-tl, 24px) var(--utc-search-r-tr, 24px) var(--utc-search-r-br, 24px) var(--utc-search-r-bl, 24px);
    background: var(--utc-search-bg, #fff);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
    position: relative;
}
.utc-blog-search:focus-within {
    border-color: var(--utc-search-focus, var(--utc-blog-accent, #3993d5));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--utc-search-focus, var(--utc-blog-accent, #3993d5)) 12%, transparent);
}
.utc-blog-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 14px;
    color: var(--utc-blog-accent, #666);
    pointer-events: none;
    line-height: 0;
    flex-shrink: 0;
}
.utc-blog-search-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    font-size: 0.9rem;
    border: none;
    outline: none;
    background: transparent;
    box-sizing: border-box;
}
.utc-blog-search--no-left-icon .utc-blog-search-input {
    padding-left: 16px;
}
.utc-blog-search-clear {
    display: flex;
    align-items: center;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 2px 6px;
    flex-shrink: 0;
}
.utc-blog-search-clear:hover {
    color: #333;
}
/* Emoji button on the right — circular, matches store search pattern */
.utc-blog-search-emoji-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--utc-search-emoji-size, 38px);
    height: var(--utc-search-emoji-size, 38px);
    min-width: var(--utc-search-emoji-size, 38px);
    border-radius: 50%;
    background: var(--utc-search-emoji-bg, var(--utc-blog-accent, #3993d5));
    color: var(--utc-search-emoji-color, #fff);
    margin: 3px;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.15s;
    cursor: default;
    overflow: hidden;
}
.utc-blog-search-emoji-btn:hover {
    opacity: 0.85;
    transform: scale(1.05);
}
.utc-blog-search-emoji-btn svg {
    width: 60%;
    height: 60%;
}
.utc-blog-search--has-emoji .utc-blog-search-clear {
    padding-right: 2px;
}
.utc-blog-search-count {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 6px;
}
[data-utc-blog-card].utc-blog-card--search-hidden {
    display: none !important;
}

/* ── Category Tabs (base) ── */
.utc-blog-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.utc-blog-tab {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: var(--utc-blog-tab-fw, 600);
    text-decoration: none;
    color: var(--utc-blog-tab-color, #666);
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.utc-blog-tab:hover {
    text-decoration: none;
    color: var(--utc-blog-tab-active, var(--utc-blog-accent, #3993d5));
}

/* Underline style (default) */
.utc-blog-tabs--underline {
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
}
.utc-blog-tabs--underline .utc-blog-tab {
    border-radius: 0;
    background: none;
    margin-bottom: -2px;
    border-bottom: 2px solid transparent;
}
.utc-blog-tabs--underline .utc-blog-tab--active,
.utc-blog-tabs--underline .utc-blog-tab--active:hover {
    color: var(--utc-blog-tab-active, var(--utc-blog-accent, #3993d5));
    border-bottom-color: var(--utc-blog-tab-active, var(--utc-blog-accent, #3993d5));
    background: none;
}

/* Pill style */
.utc-blog-tabs--pill {
    gap: 8px;
}
.utc-blog-tabs--pill .utc-blog-tab {
    border-radius: 20px;
    background: #f0f0f0;
    padding: 7px 16px;
    font-size: 0.8rem;
}
.utc-blog-tabs--pill .utc-blog-tab:hover {
    background: #e0e0e0;
    color: #333;
}
.utc-blog-tabs--pill .utc-blog-tab--active,
.utc-blog-tabs--pill .utc-blog-tab--active:hover {
    background: var(--utc-blog-tab-active, var(--utc-blog-accent, #3993d5));
    color: #fff;
}

/* Text-only style */
.utc-blog-tabs--text {
    gap: 4px;
}
.utc-blog-tabs--text .utc-blog-tab {
    background: none;
    border-radius: 0;
}
.utc-blog-tabs--text .utc-blog-tab--active,
.utc-blog-tabs--text .utc-blog-tab--active:hover {
    color: var(--utc-blog-tab-active, var(--utc-blog-accent, #3993d5));
    background: none;
}

/* ── Category Badges ── */
.utc-blog-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--utc-blog-accent, #3993d5);
}
.utc-blog-badge--support {
    color: #7c3aed;
}
.utc-blog-badge--update {
    color: var(--utc-blog-accent, #3993d5);
}

/* ── Hero Card ── */
.utc-blog-hero {
    margin-bottom: 24px;
}
.utc-blog-hero-link {
    display: block;
    background: var(--utc-blog-card-bg, #fff);
    border: 1px solid var(--utc-blog-card-border, #e0e0e0);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.utc-blog-hero-link:hover {
    text-decoration: none;
    color: inherit;
    border-color: var(--utc-blog-accent, #3993d5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.utc-blog-archive--border-top .utc-blog-hero-link {
    border-top: 3px solid var(--utc-blog-accent, #3993d5);
}
.utc-blog-hero-image {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
}
.utc-blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.utc-blog-hero-body {
    padding: 20px 24px;
}
.utc-blog-hero-body .utc-blog-badge {
    margin-bottom: 6px;
}
.utc-blog-hero-meta {
    display: block;
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 6px;
}
.utc-blog-hero-title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--utc-blog-text, #333);
    line-height: 1.3;
}
.utc-blog-hero-link:hover .utc-blog-hero-title {
    color: var(--utc-blog-accent, #3993d5);
}
.utc-blog-hero-excerpt {
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.utc-blog-hero-read {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--utc-blog-accent, #3993d5);
}

/* ── Card Grid ── */
.utc-blog-grid {
    display: grid;
    grid-template-columns: repeat(var(--utc-blog-cols, 3), 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.utc-blog-card {
    background: var(--utc-blog-card-bg, #fff);
    border: 1px solid var(--utc-blog-card-border, #e0e0e0);
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
}
.utc-blog-card:hover {
    border-color: var(--utc-blog-accent, #3993d5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.utc-blog-archive--border-top .utc-blog-card {
    border-top: 3px solid var(--utc-blog-accent, #3993d5);
}
.utc-blog-card-link {
    display: block;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.utc-blog-card-link:hover {
    text-decoration: none;
    color: inherit;
}
.utc-blog-card-body .utc-blog-badge {
    margin-bottom: 4px;
}
.utc-blog-card-meta {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 6px;
}
.utc-blog-card-title {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--utc-blog-text, #333);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.utc-blog-card-link:hover .utc-blog-card-title {
    color: var(--utc-blog-accent, #3993d5);
}
.utc-blog-card-excerpt {
    margin: 0;
    font-size: 0.82rem;
    color: #666;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Blog Empty State ── */
.utc-blog-empty {
    text-align: center;
    padding: 48px 20px;
    color: #888;
}
.utc-blog-empty p {
    margin: 12px 0 0;
    font-size: 0.95rem;
}

/* ── Blog Load More ── */
.utc-blog-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
.utc-blog-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--utc-blog-accent, #3993d5);
    border-radius: 8px;
    background: transparent;
    color: var(--utc-blog-accent, #3993d5);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.utc-blog-load-more:hover {
    background: var(--utc-blog-accent, #3993d5);
    color: #fff;
}
.utc-blog-load-more.utc-loading {
    opacity: 0.6;
    cursor: wait;
}

/* ── Blog Single Post ── */
.utc-blog-single-wrap {
    max-width: 800px; /* default; overridden by inline style from single_card_width */
    margin: 0 auto;
}
.utc-blog-single {
    background: var(--utc-blog-card-bg, #fff);
    border: 1px solid var(--utc-blog-card-border, #e0e0e0);
    border-radius: 8px;
    padding: 32px 40px;
}
.utc-blog-single-header {
    max-width: var(--utc-blog-single-cw, 640px);
    margin: 0 auto 20px;
}
.utc-blog-single-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.utc-blog-single-meta {
    display: block;
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 8px;
}
.utc-blog-single-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: #222;
}
.utc-blog-single-cover {
    max-width: var(--utc-blog-single-cw, 640px);
    margin: 0 auto 24px;
    border-radius: 8px;
    overflow: hidden;
}
.utc-blog-single-cover img {
    width: 100%;
    height: auto;
    display: block;
}
.utc-blog-single-content {
    max-width: var(--utc-blog-single-cw, 640px);
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}
.utc-blog-single-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 28px 0 12px;
    color: #222;
}
.utc-blog-single-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: #333;
}
.utc-blog-single-content p {
    margin: 0 0 16px;
}
.utc-blog-single-content ul,
.utc-blog-single-content ol {
    margin: 0 0 16px 20px;
    padding: 0;
}
.utc-blog-single-content li {
    margin-bottom: 6px;
}
.utc-blog-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 12px 0;
}
.utc-blog-single-content blockquote {
    margin: 16px 0;
    padding: 12px 20px;
    border-left: 4px solid var(--utc-blog-accent, #3993d5);
    background: #f8f9fa;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #555;
}
.utc-blog-single-content a {
    color: var(--utc-blog-accent, #3993d5);
    text-decoration: underline;
}
.utc-blog-single-content a:hover {
    text-decoration: none;
}

/* ── Blog Responsive ── */
@media (max-width: 768px) {
    .utc-blog-grid {
        grid-template-columns: repeat(var(--utc-blog-cols-mobile, 1), 1fr);
    }
    .utc-blog-hero-body {
        padding: 16px;
    }
    .utc-blog-hero-title {
        font-size: 1.15rem;
    }
    .utc-blog-single {
        padding: 20px 20px;
    }
    .utc-blog-single-title {
        font-size: 1.35rem;
    }
    .utc-blog-tab {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
    .utc-blog-tabs--pill {
        gap: 6px;
    }
}


/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.utc-faq-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.utc-faq-header {
    margin-bottom: 24px;
}
.utc-faq-header h2 {
    margin: 0 0 8px;
    line-height: 1.2;
}
.utc-faq-subheading {
    margin: 0;
    font-size: 1rem;
    color: #888;
    line-height: 1.5;
}

/* ── FAQ Search ── */
.utc-faq-search {
    display: flex;
    align-items: center;
    max-width: var(--utc-search-mw, 480px);
    margin: 0 auto 24px;
    border: 1px solid var(--utc-search-border, #ddd);
    border-radius: var(--utc-search-r-tl, 24px) var(--utc-search-r-tr, 24px) var(--utc-search-r-br, 24px) var(--utc-search-r-bl, 24px);
    background: var(--utc-search-bg, #fff);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
    position: relative;
}
.utc-faq-search:focus-within {
    border-color: var(--utc-search-focus, var(--utc-faq-accent, #3993d5));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--utc-search-focus, var(--utc-faq-accent, #3993d5)) 12%, transparent);
}
.utc-faq-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 14px;
    color: var(--utc-faq-accent, #666);
    pointer-events: none;
    line-height: 0;
    flex-shrink: 0;
}
.utc-faq-search-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    font-size: 0.9rem;
    border: none;
    outline: none;
    background: transparent;
    box-sizing: border-box;
}
.utc-faq-search--no-left-icon .utc-faq-search-input {
    padding-left: 16px;
}
.utc-faq-search-clear {
    display: flex;
    align-items: center;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 2px 6px;
    flex-shrink: 0;
}
.utc-faq-search-clear:hover {
    color: #333;
}
/* Emoji button on the right — circular, matches store search pattern */
.utc-faq-search-emoji-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--utc-search-emoji-size, 38px);
    height: var(--utc-search-emoji-size, 38px);
    min-width: var(--utc-search-emoji-size, 38px);
    border-radius: 50%;
    background: var(--utc-search-emoji-bg, var(--utc-faq-accent, #3993d5));
    color: var(--utc-search-emoji-color, #fff);
    margin: 3px;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.15s;
    cursor: default;
    overflow: hidden;
}
.utc-faq-search-emoji-btn:hover {
    opacity: 0.85;
    transform: scale(1.05);
}
.utc-faq-search-emoji-btn svg {
    width: 60%;
    height: 60%;
}
.utc-faq-search--has-emoji .utc-faq-search-clear {
    padding-right: 2px;
}
.utc-faq-search-count {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 6px;
}
.utc-faq-card--search-hidden {
    display: none !important;
}
.utc-faq-group--search-hidden {
    display: none !important;
}

/* ── FAQ Groups ── */
.utc-faq-group + .utc-faq-group {
    margin-top: 32px;
}
.utc-faq-group-heading {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--utc-faq-text, #333);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--utc-faq-accent, #3993d5);
}
.utc-faq-group-note {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: -4px 0 14px;
    padding: 10px 14px;
    background: #f8f9fb;
    border-left: 3px solid var(--utc-faq-accent, #3993d5);
    border-radius: 0 6px 6px 0;
}
.utc-faq-group-note p {
    margin: 0 0 6px;
}
.utc-faq-group-note p:last-child {
    margin-bottom: 0;
}

/* ── FAQ Grid ── */
.utc-faq-grid {
    display: grid;
    grid-template-columns: repeat(var(--utc-faq-cols, 1), 1fr);
    gap: 10px;
}

/* ── FAQ Card ── */
.utc-faq-card {
    background: var(--utc-faq-card-bg, #fff);
    border: 1px solid var(--utc-faq-card-border, #e0e0e0);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.utc-faq-card:hover {
    border-color: var(--utc-faq-accent, #3993d5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ── Question Button ── */
.utc-faq-card-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--utc-faq-text, #333);
    text-align: left;
    line-height: 1.4;
    gap: 12px;
}
.utc-faq-card-question:hover {
    color: var(--utc-faq-accent, #3993d5);
}
.utc-faq-card-question:focus {
    outline: 2px solid var(--utc-faq-accent, #3993d5);
    outline-offset: -2px;
    border-radius: 6px;
}
.utc-faq-card-question-text {
    flex: 1;
}

/* ── Expand/Collapse Icon ── */
.utc-faq-card-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--utc-faq-accent, #3993d5);
    transition: transform 0.25s ease;
}
.utc-faq-card--expanded .utc-faq-card-icon {
    transform: rotate(180deg);
}

/* ── Answer Area ── */
.utc-faq-card-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.utc-faq-card--expanded .utc-faq-card-answer {
    max-height: 2000px;
}
.utc-faq-card-answer[aria-hidden="false"] {
    max-height: 2000px;
}
.utc-faq-card-answer-inner {
    padding: 0 18px 16px;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--utc-faq-text, #333);
    background: var(--utc-faq-expanded-bg, #f8f9fa);
    border-top: 1px solid var(--utc-faq-card-border, #e0e0e0);
    padding-top: 14px;
}
.utc-faq-card-answer-inner p {
    margin: 0 0 10px;
}
.utc-faq-card-answer-inner p:last-child {
    margin-bottom: 0;
}
.utc-faq-card-answer-inner a {
    color: var(--utc-faq-accent, #3993d5);
    text-decoration: underline;
}
.utc-faq-card-answer-inner a:hover {
    text-decoration: none;
}
.utc-faq-card-answer-inner ul,
.utc-faq-card-answer-inner ol {
    margin: 0 0 10px 18px;
    padding: 0;
}

/* ── FAQ Responsive ── */
@media (max-width: 768px) {
    .utc-faq-grid {
        grid-template-columns: repeat(var(--utc-faq-cols-mobile, 1), 1fr);
    }
    .utc-faq-card-question {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    .utc-faq-card-answer-inner {
        padding: 12px 14px 14px;
        font-size: 0.85rem;
    }
}

/* ══════════════════════════════════════════════════
   NEWSLETTER SIGNUP OVERLAY (?newsletter=1)
   ══════════════════════════════════════════════════ */
.utc-nl-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.utc-nl-overlay__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.utc-nl-overlay__card {
    position: relative;
    max-width: 520px;
    margin: 60px auto;
    background: linear-gradient(135deg, #3993d5 0%, #2a75b0 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: utcOverlaySlideIn 0.3s ease-out;
}
@keyframes utcOverlaySlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.utc-nl-overlay__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    color: #333;
    z-index: 2;
    transition: background 0.2s;
}
.utc-nl-overlay__close:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Header */
.utc-nl-overlay__header {
    padding: 32px 28px 24px;
    color: #fff;
}
.utc-nl-overlay__badge {
    display: inline-block;
    background: rgba(255, 191, 32, 0.9);
    color: #333;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.utc-nl-overlay__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #fff;
}
.utc-nl-overlay__preheader {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

/* Teaser content */
.utc-nl-overlay__teaser {
    padding: 20px 28px;
    border-bottom: 1px solid #eee;
    background: #fff;
}
.utc-nl-overlay__section {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}
.utc-nl-overlay__section + .utc-nl-overlay__section {
    border-top: 1px solid #f0f0f0;
}
.utc-nl-overlay__icon {
    font-size: 18px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

/* Signup form */
.utc-nl-overlay__signup {
    padding: 24px 28px 28px;
    text-align: center;
    background: #fff;
    border-radius: 0 0 16px 16px;
}
.utc-nl-overlay__signup h3 {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px;
}
.utc-nl-overlay__fields {
    display: flex;
    gap: 8px;
}
.utc-nl-overlay__input {
    flex: 1;
    padding: 12px 14px;
    font-size: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}
.utc-nl-overlay__input:focus {
    border-color: #3993d5;
}
.utc-nl-overlay__btn {
    background: #3993d5;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.utc-nl-overlay__btn:hover {
    background: #2a75b0;
}
.utc-nl-overlay__btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.utc-nl-overlay__fine-print {
    font-size: 12px;
    color: #999;
    margin: 12px 0 0;
}

/* Mobile */
@media (max-width: 600px) {
    .utc-nl-overlay__card {
        margin: 20px 12px;
        border-radius: 12px;
    }
    .utc-nl-overlay__header {
        padding: 24px 20px 20px;
    }
    .utc-nl-overlay__title {
        font-size: 19px;
    }
    .utc-nl-overlay__teaser {
        padding: 16px 20px;
    }
    .utc-nl-overlay__signup {
        padding: 20px;
        border-radius: 0 0 12px 12px;
    }
    .utc-nl-overlay__fields {
        flex-direction: column;
    }
    .utc-nl-overlay__btn {
        width: 100%;
    }
}

/* ══════════════════════════════════════════════════
   Quick Check-In — Modal Popup (Module 20)
   ══════════════════════════════════════════════════ */

/* ── Trigger: Desktop — icon-only, matches heart/share/dots in header actions ── */
.utc-qc-trigger--desktop {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--utc-text-muted, #9ca3af);
    transition: color 0.15s ease;
    font-size: 14px;
    line-height: 1;
}
.utc-qc-trigger--desktop:hover {
    color: #3993d5;
}

/* ── Overlay + Backdrop ── */
.utc-qc-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.utc-qc-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    animation: utcQcFadeIn .2s ease;
}

/* ── Modal Panel ── */
.utc-qc-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,.15);
    animation: utcQcSlideUp .25s ease;
    padding-bottom: 20px;
}
@media (min-width: 600px) {
    .utc-qc-overlay {
        align-items: center;
    }
    .utc-qc-modal {
        border-radius: 16px;
        max-height: 90vh;
    }
}

@keyframes utcQcFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes utcQcSlideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* ── Modal Header ── */
.utc-qc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    z-index: 1;
}
.utc-qc-modal-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.utc-qc-modal-title i {
    color: #3993d5;
    margin-right: 6px;
}
.utc-qc-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.utc-qc-close:hover {
    background: #e5e7eb;
    color: #374151;
}

/* ── Store Name ── */
.utc-qc-store-name {
    padding: 10px 20px 0;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

/* ── Form Sections ── */
.utc-qc-section {
    padding: 0 20px;
    margin-top: 16px;
}
.utc-qc-section:first-child {
    margin-top: 12px;
}

.utc-qc-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.utc-qc-optional {
    font-weight: 400;
    color: #9ca3af;
}

/* ── GPS Status ── */
.utc-qc-gps-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 20px 0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    background: #f3f4f6;
    color: #6b7280;
}
.utc-qc-gps--ok {
    background: #ecfdf5;
    color: #059669;
}
.utc-qc-gps--warn {
    background: #fffbeb;
    color: #d97706;
}
.utc-qc-gps--fail {
    background: #fef2f2;
    color: #dc2626;
}

/* ── Stars ── */
.utc-qc-stars {
    display: flex;
    gap: 4px;
}
.utc-qc-star {
    font-size: 28px;
    cursor: pointer;
    color: #d1d5db;
    transition: color .1s, transform .1s;
    line-height: 1;
}
.utc-qc-star i.fas { color: #f59e0b; }
.utc-qc-star:hover { transform: scale(1.15); }

@keyframes utcQcShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}
.utc-qc-stars--shake {
    animation: utcQcShake .4s ease;
}

/* ── Photo Upload ── */
.utc-qc-photo-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.utc-qc-photo-zone:hover {
    border-color: #3993d5;
    background: rgba(57,147,213,0.06);
    color: #3993d5;
}
.utc-qc-photo-zone i { font-size: 22px; }

.utc-qc-photo-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.utc-qc-photo-thumb {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}
.utc-qc-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.utc-qc-photo-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    color: #fff;
    border: none;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.utc-qc-photo-remove:hover { background: #dc2626; }

/* ── Note Textarea ── */
.utc-qc-note {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    transition: border-color .15s;
    box-sizing: border-box;
}
.utc-qc-note:focus {
    outline: none;
    border-color: #3993d5;
    box-shadow: 0 0 0 3px rgba(57,147,213,.15);
}
.utc-qc-word-count {
    font-size: 12px;
    color: #9ca3af;
    text-align: right;
    margin-top: 4px;
}

/* ── Store Code Input ── */
.utc-qc-store-code {
    width: 120px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    letter-spacing: 6px;
    text-align: center;
    transition: border-color .15s;
}
.utc-qc-store-code:focus {
    outline: none;
    border-color: #3993d5;
    box-shadow: 0 0 0 3px rgba(57,147,213,.15);
}

/* ── Submit Button ── */
.utc-qc-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 40px);
    margin: 20px 20px 0;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    background: #ffcc4d;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s, transform .1s;
}
.utc-qc-submit:hover { background: #f0be3a; }
.utc-qc-submit:active { transform: scale(.98); }
.utc-qc-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ── Success State ── */
.utc-qc-success {
    padding: 24px 20px;
    text-align: center;
}
.utc-qc-success-icon {
    font-size: 40px;
    color: #44c553;
    margin-bottom: 8px;
}
.utc-qc-success-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}
.utc-qc-pts-total {
    font-size: 24px;
    font-weight: 800;
    color: #44c553;
    margin-bottom: 6px;
}
.utc-qc-pts-breakdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.utc-qc-pts-line {
    font-size: 13px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── Perks Earned ── */
.utc-qc-perks-header {
    font-size: 15px;
    font-weight: 700;
    color: #d97706;
    margin: 16px 0 8px;
}
.utc-qc-perk-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 6px;
    text-align: left;
}
.utc-qc-perk-title {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
}
.utc-qc-perk-value {
    font-size: 13px;
    color: #059669;
    font-weight: 600;
}
.utc-qc-perk-code {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}
.utc-qc-perk-code strong {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #374151;
    letter-spacing: 1px;
}

/* ── Cooldown State ── */
.utc-qc-cooldown {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px;
    font-size: 14px;
    color: #6b7280;
}
.utc-qc-cooldown i {
    color: #9ca3af;
}
