/**
 * brands.css - Consolidated styles for all brand pages
 * Enterprise-grade styling with design tokens
 *
 * Covers:
 * - brand_list.html
 * - brand_detail.html
 * - brand_reviews.html
 * - brand_search_results.html
 * - claim_brand.html
 * - claim_brand_formfill.html
 */

/* ============================================
   BRAND LIST PAGE
   ============================================ */

/* Page Header */
.brands-page-header {
    background: var(--primary, #C7F9F1);
    color: var(--secondary, #111111);
    padding: var(--space-6, 24px) 0;
    margin-bottom: var(--space-6, 24px);
}
.brands-page-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6, 24px);
}
.brands-page-header h1 {
    font-size: var(--text-3xl, 24px);
    font-weight: var(--font-extrabold, 800);
    margin: 0 0 2px;
    color: var(--secondary, #111111);
    letter-spacing: var(--tracking-tight, -0.3px);
}
.brands-page-header p {
    font-size: var(--text-sm, 14px);
    margin: 0;
    color: var(--secondary, #111111);
    opacity: 0.7;
}

/* Header Stats */
.brands-header-stats {
    display: flex;
    gap: var(--space-6, 24px);
}
.brands-header-stat {
    text-align: center;
}
.brands-header-stat__value {
    display: block;
    font-size: var(--text-xl, 20px);
    font-weight: var(--font-extrabold, 800);
    line-height: 1.2;
}
.brands-header-stat__label {
    font-size: var(--text-xs, 11px);
    opacity: 0.6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Brand Type Filter Chips */
.brands-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2, 8px);
    margin-bottom: var(--space-4, 16px);
}
.brands-type-chips .jc-badge {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}
.brands-type-chips .jc-badge:hover {
    transform: translateY(-1px);
}

/* Active Filters Bar */
.brands-active-filters {
    display: flex;
    align-items: center;
    gap: var(--space-2, 8px);
    margin-bottom: var(--space-4, 16px);
    font-size: var(--text-sm, 13px);
    flex-wrap: wrap;
}
.brands-active-filters__label {
    color: var(--text-muted);
    font-weight: 500;
}
.brands-active-filters .jc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.brands-active-filters__remove {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    margin-left: 2px;
}
.brands-active-filters__remove:hover {
    color: var(--text);
}
.brands-active-filters__clear {
    color: var(--text-muted);
    text-decoration: underline;
    font-size: var(--text-sm, 13px);
    margin-left: var(--space-2, 8px);
}
.brands-active-filters__clear:hover {
    color: var(--text);
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4, 16px);
    margin-bottom: var(--space-8, 32px);
}

/* Brand Card */
.brand-card {
    background: var(--bg, #fff);
    border-radius: var(--radius-xl, 12px);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}
.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.brand-card:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.brand-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}
.brand-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.35;
}
.brand-verified-badge {
    position: absolute;
    bottom: var(--space-2, 8px);
    left: var(--space-2, 8px);
}
.brand-card-content {
    padding: var(--space-3, 12px);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-size: var(--text-sm, 13px);
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand-type {
    display: inline-block;
    background: var(--surface);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 6px;
    width: fit-content;
}
.brand-description {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.brand-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    margin-top: auto;
}
.brand-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text);
    font-weight: 600;
}
.brand-rating .review-count {
    color: var(--text-muted);
    font-weight: 400;
}
.brand-location {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
}

/* Empty State */
.brands-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-16, 64px) var(--space-6, 24px);
    background: var(--surface);
    border-radius: var(--radius-xl, 12px);
    border: 1px dashed var(--border);
}
.brands-empty-state svg {
    margin-bottom: var(--space-4, 16px);
    opacity: 0.5;
}
.brands-empty-state h3 {
    font-size: var(--text-lg, 18px);
    margin: 0 0 var(--space-2, 8px);
    color: var(--text);
}
.brands-empty-state p {
    color: var(--text-muted);
    margin: 0 0 var(--space-4, 16px);
    font-size: var(--text-sm, 14px);
}

/* Responsive */
@media (max-width: 1280px) {
    .brands-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
    .brands-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .brands-page-header__inner { flex-direction: column; align-items: flex-start; }
    .brands-header-stats { gap: var(--space-4, 16px); }
}
@media (max-width: 480px) {
    .brands-grid { grid-template-columns: 1fr; }
}


/* ============================================
   BRAND DETAIL PAGE
   ============================================ */

/* Brand Hero - Enterprise hero section */
.brand-hero {
    background: var(--primary, #C7F9F1);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
}
.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.logo-placeholder {
    font-size: 24px;
}
.brand-info {
    flex: 1;
}
.brand-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}
.brand-title-row h1 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}
.brand-badges {
    display: flex;
    gap: 8px;
}
.badge {
    padding: 4px 10px;
    border-radius: var(--radius-sm, 6px);
    font-size: 12px;
    font-weight: var(--font-semibold, 600);
}
.badge-type {
    background: var(--surface);
    color: var(--secondary, #111111);
}
.badge-verified {
    background: var(--badge-verified-bg, #C7F9F1);
    color: var(--badge-verified, #111111);
}
.badge-checkmark {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
}
.badge-checkmark svg {
    width: 14px;
    height: 14px;
}
.brand-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.meta-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text);
}
.meta-rating .star {
    color: var(--warning);
    font-size: 14px;
}
.meta-rating .rating-value {
    font-weight: 700;
    font-size: 13px;
}
.meta-rating .review-count {
    color: var(--text);
    font-size: 13px;
}
.meta-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-size: 14px;
}
.brand-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.brand-actions .btn {
    padding: 6px 16px;
    font-size: 13px;
}
.btn-favorite.active {
    background: var(--error-light, #fee2e2);
    border-color: var(--error-light, #fee2e2);
    color: var(--error);
}

/* Brand Nav */
.brand-nav {
    background: var(--bg, #fff);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 64px;
    z-index: 100;
}
.nav-tabs {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-tabs a {
    display: block;
    padding: 16px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.nav-tabs a:hover,
.nav-tabs a.active {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

/* Content Layout */
.brand-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    padding: 32px 0;
}
.content-section {
    background: var(--bg, #fff);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.content-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.section-header h2 {
    margin-bottom: 0;
}
.view-all-link {
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin: -8px 0 16px;
}

/* Rating Summary */
.rating-summary {
    display: flex;
    gap: 32px;
    padding: 20px;
    background: var(--surface);
    border-radius: 12px;
    margin-bottom: 20px;
}
.rating-big {
    text-align: center;
}
.rating-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.rating-stars {
    margin: 8px 0;
}
.rating-stars .star {
    font-size: 20px;
    color: var(--text-light);
}
.rating-stars .star.filled {
    color: var(--warning);
}
.rating-count {
    font-size: 14px;
    color: var(--text-muted);
}
.experience-breakdown {
    flex: 1;
}
.experience-breakdown h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
}
.experience-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.exp-name {
    width: 100px;
    font-size: 13px;
    color: var(--text);
}
.exp-progress {
    flex: 1;
    height: 8px;
    background: var(--tertiary);
    border-radius: 4px;
    overflow: hidden;
}
.exp-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}
.exp-percent {
    width: 40px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: right;
}

/* Review Form */
.write-review-btn {
    margin-bottom: 16px;
}
.review-form-section {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.review-form-section.hidden {
    display: none;
}
.review-form-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
}
.review-form-section fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.review-form-section legend {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.star-rating-input input {
    display: none;
}
.star-rating-input label {
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
    margin-bottom: 0;
}
.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: var(--warning);
}
.login-prompt {
    color: var(--text-muted);
    font-size: 14px;
}
.login-prompt a {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Reviews List */
.reviews-list .review-card {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.reviews-list .review-card:last-child {
    border-bottom: none;
}
.review-card {
    background: var(--bg, #fff);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.reviewer-info {
    display: flex;
    gap: 12px;
}
.reviewer-avatar {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}
.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.reviewer-name {
    font-weight: 600;
    font-size: 15px;
}
.verified-badge {
    font-size: 11px;
    color: var(--primary-dark);
    font-weight: 500;
    margin-left: 8px;
}
.review-date {
    font-size: 12px;
    color: var(--text-muted);
}
.review-rating .star {
    color: var(--text-light);
    font-size: 16px;
}
.review-rating .star.filled {
    color: var(--warning);
}
.review-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}
.review-content {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    margin: 0 0 12px;
}
.review-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-muted);
}
.review-tag,
.review-experience {
    background: var(--surface);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-muted);
}
.review-quality {
    font-size: 12px;
    color: var(--text-muted);
}
.quality-badge {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}
.quality-badge.quality-5 {
    background: var(--primary);
    color: var(--primary-dark);
}
.quality-badge.quality-4 {
    background: var(--info-light, #e0f2fe);
    color: var(--cyan, #0284c7);
}
.quality-badge.quality-3 {
    background: var(--warning-light, #fef3c7);
    color: var(--warning, #f59e0b);
}
.quality-badge.quality-2,
.quality-badge.quality-1 {
    background: var(--error-light, #fee2e2);
    color: var(--error);
}
.helpful-count {
    font-size: 12px;
    color: var(--text-muted);
}
.no-reviews {
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
}

/* Map */
.dispensary-map {
    height: 300px;
    border-radius: 12px;
    margin-bottom: 16px;
    background: var(--surface);
}

/* Dispensary List */
.dispensary-list {
    display: grid;
    gap: 12px;
}
.dispensary-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--surface);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
    align-items: center;
}
.dispensary-item:hover,
.dispensary-item--highlighted {
    background: var(--tertiary);
    transform: translateX(4px);
}
.disp-logo {
    width: 56px;
    height: 56px;
    background: var(--bg, #fff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
}
.disp-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.disp-info {
    flex: 1;
    min-width: 0;
}
.disp-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.disp-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 4px;
}
.disp-type {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg, #fff);
    padding: 2px 8px;
    border-radius: 4px;
}
.disp-rating {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}
.disp-rating .star {
    color: var(--warning);
}
.disp-address {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.disp-action {
    flex-shrink: 0;
}
.btn-view {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
}

/* Specials */
.specials-grid {
    display: grid;
    gap: 16px;
}
.special-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--surface);
    border-radius: 12px;
}
.special-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}
.special-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}
.special-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 8px;
}
.special-expires {
    font-size: 12px;
    color: var(--error);
}

/* Sidebar */
.brand-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sidebar-card {
    background: var(--bg, #fff);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.sidebar-card h3,
.sidebar-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}
.contact-item a {
    color: var(--primary-dark);
    text-decoration: none;
}
.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.social-link {
    padding: 10px 14px;
    background: var(--surface);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: background 0.2s;
}
.social-link:hover {
    background: var(--tertiary);
}
.parent-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.parent-brand img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    background: var(--surface);
}
.parent-brand span {
    font-weight: 600;
}

/* Gallery */
.gallery-section {
    margin-top: 24px;
}
.gallery-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============================================
   BRAND REVIEWS PAGE
   ============================================ */

/* Reviews Page */
.reviews-page {
    padding-top: 24px;
    padding-bottom: 24px;
}
.reviews-main {
    max-width: 800px;
    margin: 0 auto;
}

/* Reviews Header */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.reviews-count {
    font-size: 16px;
    font-weight: 600;
}
.sort-options {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sort-options label {
    font-size: 14px;
    color: var(--text-muted);
}
.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--bg, #fff);
}

/* Reviews Page Login Prompt */
.reviews-page .login-prompt {
    background: var(--surface);
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

/* Reviews Page Star Rating */
.reviews-page .star-rating-input label {
    font-size: 32px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg, #fff);
    border-radius: 12px;
}
.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.empty-state h3 {
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--text);
}
.empty-state p {
    color: var(--text-muted);
    margin: 0;
}


/* ============================================
   BRAND SEARCH RESULTS PAGE
   ============================================ */

/* Brand Mobile Header */
.brand-mobile-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-header-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: var(--bg, #fff);
    padding: 4px;
}
.mobile-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

/* Brand Info Banner */
.brand-info-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
    border-bottom: 1px solid var(--border);
    gap: 12px;
}
.brand-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-banner-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
    background: var(--bg, #fff);
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.brand-banner-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--bg, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.brand-banner-info h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
}
.brand-type-badge {
    display: inline-block;
    font-size: 11px;
    background: var(--primary);
    color: var(--text);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.brand-profile-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
    flex-shrink: 0;
}
.brand-profile-link:hover {
    text-decoration: underline;
}

/* Brand Selector */
.brand-selector-section {
    padding: 16px;
    background: var(--gray-50, #f9fafb);
    border-bottom: 1px solid var(--border);
}
.brand-selector-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.brand-selector-wrapper {
    position: relative;
}
.brand-selector {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--bg, #fff);
    color: var(--text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.2s;
}
.brand-selector:hover {
    border-color: var(--primary-dark);
}
.brand-selector:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.brand-selector-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
}


/* ============================================
   CLAIM BRAND PAGES
   ============================================ */

/* Claim Hero */
.claim-hero {
    background: var(--primary);
    color: var(--text);
    padding: 48px 0;
    text-align: center;
}
.claim-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--text);
}
.claim-hero p {
    font-size: 18px;
    margin: 0;
    color: var(--text);
}

/* Claim Hero - Form Fill Variant */
.claim-hero.claim-hero-formfill {
    padding: 32px 0;
    text-align: left;
}
.claim-hero.claim-hero-formfill h1 {
    font-size: 32px;
    margin: 0 0 8px;
}
.claim-hero.claim-hero-formfill p {
    font-size: 16px;
}

/* Breadcrumb Container (detail page) */
.breadcrumb-container {
    padding-top: var(--space-5, 20px);
}
.breadcrumb {
    display: flex;
    gap: var(--space-2, 8px);
    font-size: var(--text-base, 14px);
    color: var(--text-muted, #666);
    flex-wrap: wrap;
    align-items: center;
}
.breadcrumb a,
.breadcrumb .breadcrumb-item:not(.breadcrumb-current) {
    color: var(--secondary, #111111);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.breadcrumb-sep {
    color: var(--text-muted, #999);
    user-select: none;
}
.breadcrumb-current {
    color: var(--text-muted, #666);
}

[data-theme="dark"] .breadcrumb {
    color: var(--text);
}
[data-theme="dark"] .breadcrumb a {
    color: var(--text);
}
[data-theme="dark"] .breadcrumb a:hover {
    color: var(--primary-dark);
}

/* Breadcrumb Nav (legacy) */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 12px;
}
.breadcrumb-nav a {
    color: var(--text);
    text-decoration: none;
}
.breadcrumb-nav a:hover {
    text-decoration: underline;
}
.breadcrumb-nav svg {
    opacity: 0.7;
}

/* Claim Container */
.claim-container {
    padding: 48px 0;
}
.claim-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Benefits */
.claim-benefits {
    margin-bottom: 48px;
}
.claim-benefits h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px;
    text-align: center;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.benefit-card {
    background: var(--bg, #fff);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
}
.benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--surface);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-dark);
}
.benefit-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}
.benefit-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Search Section */
.claim-search-section {
    background: var(--bg, #fff);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 48px;
}
.claim-search-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    text-align: center;
}
.claim-search-section > p {
    text-align: center;
    color: var(--text-muted);
    margin: 0 0 24px;
}
.brand-search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}
.search-input-wrapper {
    position: relative;
}
.search-input-wrapper .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.search-input-wrapper .form-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s;
}
.search-input-wrapper .form-input:focus {
    outline: none;
    border-color: var(--primary-dark);
}
.brand-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg, #fff);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}
.brand-search-results.active {
    display: block;
}
.brand-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s;
}
.brand-result-item:hover {
    background: var(--surface);
}
.brand-result-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
}
.brand-result-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.brand-result-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-result-logo .placeholder {
    font-size: 20px;
}
.brand-result-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px;
}
.brand-result-info span {
    font-size: 12px;
    color: var(--text-muted);
}
.brand-result-arrow {
    margin-left: auto;
    color: var(--text-muted);
}
.search-no-results {
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
}
.search-help {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}
.search-help a {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Steps */
.claim-steps {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px;
}
.claim-steps h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px;
    text-align: center;
}
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg, #fff);
    border-radius: 12px;
    padding: 20px;
}
.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}
.step-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
}
.step-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}


/* ============================================
   CLAIM BRAND FORM FILL PAGE
   ============================================ */

/* Claim Form Container */
.claim-form-container {
    padding: 32px 0 64px;
}
.claim-form-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

/* Brand Preview Card */
.brand-preview-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg, #fff);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}
.brand-preview-logo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.brand-preview-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}
.brand-preview-logo .logo-placeholder {
    font-size: 32px;
}
.brand-preview-info h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
}
.brand-preview-info .brand-type-badge {
    display: inline-block;
    background: var(--surface);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}
.brand-preview-info .brand-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Claim Form Section */
.claim-form-section {
    background: var(--bg, #fff);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.claim-form-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}
.form-intro {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.5;
}

/* Form Errors */
.form-errors {
    background: var(--error-light, #fee2e2);
    border: 1px solid var(--error-light, #fee2e2);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}
.error-message {
    color: var(--error);
    font-size: 14px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.required {
    color: var(--error);
}
.form-input,
.form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(199, 249, 241, 0.1);
}
.form-input.error,
.form-select.error {
    border-color: var(--error);
}
.field-error {
    display: block;
    color: var(--error);
    font-size: 13px;
    margin-top: 6px;
}
.field-help {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 6px;
}

/* Checkbox Groups */
.form-checkbox-group {
    margin-top: 24px;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.form-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 2px;
}
.form-checkbox:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary-dark);
}
.form-checkbox:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--bg, #fff);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}
.form-checkbox:focus + .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(199, 249, 241, 0.1);
}
.checkbox-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}
.checkbox-text a {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.btn-submit {
    padding: 14px 32px;
    font-size: 16px;
}

/* Claim Form Sidebar */
.claim-form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.claim-form-sidebar .sidebar-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--text);
    text-transform: none;
    letter-spacing: normal;
}
.sidebar-note {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 8px;
}
.next-steps-list,
.tips-list,
.related-brands-list {
    margin: 0;
    padding-left: 20px;
}
.next-steps-list li,
.tips-list li,
.related-brands-list li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.5;
}
.next-steps-list li:last-child,
.tips-list li:last-child,
.related-brands-list li:last-child {
    margin-bottom: 0;
}
.related-brands-list {
    list-style: none;
    padding-left: 0;
}
.related-brands-list li a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
}
.related-brands-list li a:hover {
    text-decoration: underline;
}
.sidebar-help p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 12px;
    line-height: 1.5;
}
.btn-outline {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
}
.btn-outline:hover {
    background: var(--surface);
}
.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}


/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Medium screens */
@media (max-width: 992px) {
    .brand-content {
        grid-template-columns: 1fr;
    }
    .brand-sidebar {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .brand-sidebar .sidebar-card {
        flex: 1;
        min-width: 200px;
    }
    .claim-form-layout {
        grid-template-columns: 1fr;
    }
    .claim-form-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .claim-form-sidebar .sidebar-card {
        flex: 1;
        min-width: 250px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .brand-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .brand-title-row {
        justify-content: center;
    }
    .brand-meta-row {
        justify-content: center;
    }
    .brand-actions {
        width: 100%;
        justify-content: center;
    }
    .brand-title-row h1 {
        font-size: 24px;
    }
    .rating-summary {
        flex-direction: column;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-header-mini {
        flex-direction: column;
        text-align: center;
    }
    .review-header {
        flex-direction: column;
        gap: 12px;
    }
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .claim-hero {
        padding: 36px 0;
    }
    .claim-hero h1 {
        font-size: 28px;
    }
    .claim-hero p {
        font-size: 16px;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .claim-search-section,
    .claim-steps {
        padding: 24px;
    }
    .claim-hero.claim-hero-formfill {
        padding: 24px 0;
    }
    .claim-hero.claim-hero-formfill h1 {
        font-size: 26px;
    }
    .brand-preview-card {
        flex-direction: column;
        text-align: center;
    }
    .claim-form-section {
        padding: 20px;
    }
    .form-actions {
        flex-direction: column;
    }
    .form-actions .btn {
        width: 100%;
    }
    .claim-form-sidebar {
        flex-direction: column;
    }
    .claim-form-sidebar .sidebar-card {
        min-width: auto;
    }
    .brand-info-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .brand-profile-link {
        margin-top: 8px;
    }
    .brand-selector-section {
        padding: 12px;
    }
}

/* Mobile */
@media (max-width: 480px) {
}


/* ============================================
   BRAND MENU PAGE
   ============================================ */

.brand-menu-page {
    padding: 24px 0 48px;
}

.brand-menu-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

/* Dispensary Selector Sidebar */
.brand-menu-sidebar {
    position: sticky;
    top: 128px;
}

.dispensary-selector-card {
    background: var(--bg, #fff);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.selector-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
}

.selector-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.dispensary-selector-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 400px;
    overflow-y: auto;
}

.dispensary-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.15s;
    border: 1px solid transparent;
}

.dispensary-option:hover {
    background: var(--surface);
}

.dispensary-option.active {
    background: var(--primary);
    border-color: var(--primary-dark, #111);
    font-weight: 600;
}

.dispensary-option-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
    overflow: hidden;
}

.dispensary-option.active .dispensary-option-icon {
    background: var(--bg, #fff);
}

.dispensary-option-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.dispensary-option-info {
    flex: 1;
    min-width: 0;
}

.dispensary-option-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dispensary-option-location {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.dispensary-option.active .dispensary-option-location {
    color: var(--text, #111111);
    opacity: 0.7;
}

.dispensary-option-check {
    flex-shrink: 0;
    color: var(--text, #111111);
}

/* Menu Header */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.menu-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.menu-item-count {
    font-size: 14px;
    color: var(--text-muted);
    margin: 4px 0 0;
}

.menu-header .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Category Chips */
.menu-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.category-chip {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg, #fff);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    color: var(--text);
}

.category-chip:hover {
    border-color: var(--primary);
    background: var(--surface);
}

.category-chip.active {
    background: var(--secondary, #111111);
    color: var(--bg, #fff);
    border-color: var(--secondary, #111111);
}

/* Empty State */
.menu-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg, #fff);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    color: var(--text-muted);
}

.menu-empty-state svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

.menu-empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text);
}

.menu-empty-state p {
    margin: 0 0 16px;
    font-size: 14px;
}

.menu-empty-full {
    margin-top: 32px;
}

/* Compact product cards for brand menu - fit more in viewport */
.brand-menu-main .menu-view-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-3, 12px);
}

.brand-menu-main .menu-view-grid .card-image-wrapper {
    padding-top: 75%; /* 4:3 aspect ratio instead of 1:1 */
}

.brand-menu-main .menu-view-grid .card-details {
    padding: var(--space-2, 8px);
}

.brand-menu-main .menu-view-grid .card-brand {
    font-size: 10px;
    margin-bottom: 2px;
}

.brand-menu-main .menu-view-grid .card-title {
    font-size: var(--text-sm, 14px);
    -webkit-line-clamp: 1;
}

.brand-menu-main .menu-view-grid .size-single {
    padding: 4px 8px;
    font-size: 11px;
}

.brand-menu-main .menu-view-grid .card-footer {
    padding: var(--space-2, 8px);
}

.brand-menu-main .menu-view-grid .card-price {
    font-size: var(--text-sm, 14px);
}

.brand-menu-main .menu-view-grid .quick-add-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
}

/* ============================================
   BRAND REVIEWS PAGE - BEM Classes
   ============================================ */

/* Hero compact variant */
.brand-reviews__hero {
    padding: 24px 0;
}

.brand-reviews__header {
    gap: 16px;
}

.brand-reviews__logo {
    width: 64px;
    height: 64px;
}

.brand-reviews__title {
    font-size: 24px;
}

/* Main container */
.brand-reviews__container {
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 800px;
}

.brand-reviews__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.brand-reviews__toolbar-title {
    margin: 0;
}

/* Rating summary card */
.brand-reviews__summary {
    display: flex;
    gap: 40px;
    padding: 24px;
    background: var(--surface);
    border-radius: 16px;
    margin-bottom: 32px;
    align-items: center;
}

.brand-reviews__summary-score {
    text-align: center;
    min-width: 120px;
}

.brand-reviews__summary-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.brand-reviews__summary-stars {
    display: flex;
    justify-content: center;
    margin: 8px 0;
}

.brand-reviews__summary-count {
    font-size: 14px;
    color: var(--text-muted);
}

.brand-reviews__summary-bars {
    flex: 1;
}

.brand-reviews__bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.brand-reviews__bar-label {
    font-size: 13px;
    color: var(--text-muted);
    min-width: 50px;
}

.brand-reviews__bar-track {
    flex: 1;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.brand-reviews__bar-fill {
    height: 100%;
    background: var(--rating-gold, #FFB800);
}

.brand-reviews__bar-count {
    font-size: 12px;
    color: var(--text-muted);
    min-width: 30px;
    text-align: right;
}

/* Reviews list */
.brand-reviews__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Review card */
.brand-reviews__card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg, #fff);
}

.brand-reviews__card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.brand-reviews__card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-reviews__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text, #111111);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.brand-reviews__author-name {
    font-weight: 700;
    font-size: 16px;
    display: block;
}

.brand-reviews__author-date {
    font-size: 12px;
    color: var(--text-muted);
}

.brand-reviews__card-stars {
    color: var(--rating-gold, #FFB800);
    font-weight: 800;
}

.brand-reviews__card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.brand-reviews__card-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
}

.brand-reviews__card-text--empty {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
    font-style: italic;
}

/* Review actions */
.brand-reviews__actions {
    margin-top: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.brand-reviews__action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.brand-reviews__experience-tag {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--surface);
    padding: 4px 10px;
    border-radius: 999px;
}

.brand-reviews__quality-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Empty state */
.brand-reviews__empty {
    text-align: center;
    padding: 60px;
    background: var(--surface);
    border-radius: 24px;
    border: 2px dashed var(--border);
}

.brand-reviews__empty-icon {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.brand-reviews__empty-text {
    color: var(--text-muted);
}

/* Pagination */
.brand-reviews__pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.brand-reviews__page-info {
    font-size: 14px;
    color: var(--text-muted);
}

/* Modal */
.brand-reviews__modal-content {
    max-width: 600px;
}

.brand-reviews__star-input {
    display: flex;
    gap: 8px;
    font-size: 32px;
    cursor: pointer;
}

.brand-reviews__star {
    color: var(--tertiary, #B5B5B5);
    transition: color 0.2s;
}

.brand-reviews__textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.brand-reviews__select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
}

.brand-reviews__submit-spinner {
    margin-right: 8px;
}

/* Brand Menu Responsive */
@media (max-width: 768px) {
    .brand-menu-layout {
        grid-template-columns: 1fr;
    }

    .brand-menu-sidebar {
        position: static;
    }

    .dispensary-selector-list {
        max-height: 200px;
    }

    .menu-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .category-chip {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Brand Reviews - action hover & responsive */
.review-action-btn:hover,
.brand-reviews__action-btn:hover {
    color: var(--primary-dark);
}
.review-action-btn:hover svg,
.brand-reviews__action-btn:hover svg {
    stroke: var(--primary);
}

@media (max-width: 640px) {
    .brand-reviews__summary {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .brand-reviews__summary > div:first-child {
        border-bottom: 1px solid var(--border);
        padding-bottom: 20px;
    }
    .brand-reviews__card {
        padding: 16px;
    }
}

/* ==========================================================================
   Dark Mode
   ========================================================================== */

[data-theme="dark"] .brands-page-header {
    background: var(--primary);
    color: var(--text);
}

[data-theme="dark"] .brands-page-header h1,
[data-theme="dark"] .brands-page-header p {
    color: var(--text);
}

[data-theme="dark"] .brand-card {
    background: var(--bg);
    border-color: var(--border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

[data-theme="dark"] .brand-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

[data-theme="dark"] .brand-card-img {
    background: var(--surface);
}

[data-theme="dark"] .brand-type {
    background: var(--surface);
    color: var(--text-muted);
}

[data-theme="dark"] .brands-empty-state {
    background: var(--surface);
    border-color: var(--border);
}

[data-theme="dark"] .brand-hero {
    background: var(--primary);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .brand-logo {
    background: var(--surface);
    border-color: var(--border);
}

[data-theme="dark"] .badge-type {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

[data-theme="dark"] .brand-nav {
    background: var(--bg);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .content-section {
    background: var(--bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .rating-summary {
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

[data-theme="dark"] .rating-stars .star {
    color: var(--text-muted);
}

[data-theme="dark"] .review-form-section {
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

[data-theme="dark"] .review-card {
    background: var(--bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .review-card__stats {
    background: var(--surface);
}

[data-theme="dark"] .dispensary-map {
    background: var(--surface);
}

[data-theme="dark"] .dispensary-item {
    background: var(--surface);
    color: var(--text);
}

[data-theme="dark"] .dispensary-item:hover {
    background: rgba(0,0,0,0.2);
}

[data-theme="dark"] .disp-logo {
    background: var(--bg);
    color: var(--text-muted);
}

[data-theme="dark"] .disp-type {
    background: var(--bg);
    color: var(--text-muted);
}

[data-theme="dark"] .special-card {
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

[data-theme="dark"] .sidebar-card {
    background: var(--bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .social-link {
    background: var(--surface);
    color: var(--text);
}

[data-theme="dark"] .social-link:hover {
    background: rgba(0,0,0,0.2);
}

[data-theme="dark"] .parent-brand img {
    background: var(--surface);
}

[data-theme="dark"] .empty-state {
    background: var(--bg);
    color: var(--text-muted);
}

[data-theme="dark"] .empty-state h3 {
    color: var(--text);
}

[data-theme="dark"] .brand-info-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

[data-theme="dark"] .brand-banner-logo,
[data-theme="dark"] .brand-banner-logo-placeholder {
    background: var(--bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

[data-theme="dark"] .brand-selector-section {
    background: var(--surface);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .brand-selector {
    background: var(--bg);
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .brand-selector:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(199,249,241,0.15);
}

[data-theme="dark"] .claim-hero {
    background: var(--primary);
}

[data-theme="dark"] .claim-hero h1,
[data-theme="dark"] .claim-hero p {
    color: var(--text);
}

[data-theme="dark"] .benefit-card {
    background: var(--bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .benefit-icon {
    background: var(--surface);
}

[data-theme="dark"] .claim-search-section {
    background: var(--bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

[data-theme="dark"] .brand-search-results {
    background: var(--bg);
    border-color: var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

[data-theme="dark"] .brand-result-item:hover {
    background: var(--surface);
}

[data-theme="dark"] .brand-result-logo {
    background: var(--surface);
}

[data-theme="dark"] .claim-steps {
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

[data-theme="dark"] .step-item {
    background: var(--bg);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

[data-theme="dark"] .step-number {
    background: var(--primary);
    color: var(--text);
}

[data-theme="dark"] .brand-preview-card {
    background: var(--bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .brand-preview-logo {
    background: var(--surface);
}

[data-theme="dark"] .claim-form-section {
    background: var(--bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .form-errors {
    background: rgba(239,68,68,0.1);
    border-color: var(--error);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(199,249,241,0.15);
}

[data-theme="dark"] .checkbox-custom {
    border-color: var(--border);
    background: var(--surface);
}

[data-theme="dark"] .form-checkbox:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary-dark);
}

[data-theme="dark"] .form-checkbox:checked + .checkbox-custom::after {
    border-color: var(--text);
}

[data-theme="dark"] .btn-outline {
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--surface);
}

[data-theme="dark"] .dispensary-selector-card {
    background: var(--bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .dispensary-option {
    color: var(--text);
    border-color: transparent;
}

[data-theme="dark"] .dispensary-option:hover {
    background: var(--surface);
}

[data-theme="dark"] .dispensary-option.active {
    background: var(--primary);
    border-color: var(--primary-dark);
}

[data-theme="dark"] .dispensary-option-icon {
    background: var(--surface);
    color: var(--text-muted);
}

[data-theme="dark"] .dispensary-option.active .dispensary-option-icon {
    background: var(--bg);
}

[data-theme="dark"] .menu-empty-state {
    background: var(--bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .menu-empty-state h3 {
    color: var(--text);
}

[data-theme="dark"] .category-chip {
    background: var(--bg);
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .category-chip:hover {
    background: var(--surface);
    border-color: var(--primary);
}

[data-theme="dark"] .category-chip.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--bg);
}

[data-theme="dark"] .brand-reviews__summary {
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

[data-theme="dark"] .brand-reviews__card {
    background: var(--bg);
    border-color: var(--border);
}

[data-theme="dark"] .brand-reviews__avatar {
    background: var(--primary);
    color: var(--text);
}

[data-theme="dark"] .brand-reviews__empty {
    background: var(--surface);
    border-color: var(--border);
}

[data-theme="dark"] .brand-reviews__action-btn {
    color: var(--text-muted);
}

[data-theme="dark"] .brand-reviews__action-btn:hover {
    color: var(--primary-dark);
}

[data-theme="dark"] .brand-reviews__experience-tag {
    background: var(--surface);
    color: var(--text-muted);
}

/* =============================================================================
   ALPHABETICAL INDEX NAVIGATION
============================================================================= */
.alpha-index {
    margin-bottom: var(--space-4, 16px);
    padding: var(--space-2, 8px) 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.alpha-index__list {
    display: flex;
    gap: var(--space-1, 4px);
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.alpha-index__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--space-1, 4px);
    border-radius: var(--radius-md, 8px);
    font-size: var(--text-sm, 14px);
    font-weight: 600;
    color: var(--text-muted, #666);
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.alpha-index__link:hover {
    color: var(--text, #111);
    background: var(--surface, #f5f5f5);
    border-color: var(--border, #e5e7eb);
}

.alpha-index__link--active {
    background: var(--secondary, #111111);
    color: #fff;
    border-color: var(--secondary, #111111);
}

.alpha-index__link--active:hover {
    background: var(--secondary, #111111);
    color: #fff;
    opacity: 0.9;
}

.alpha-index__link--all {
    padding: 0 var(--space-3, 12px);
    min-width: auto;
}

@media (max-width: 640px) {
    .alpha-index__list {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    .alpha-index__link {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

[data-theme="dark"] .alpha-index__link {
    color: var(--text-muted, #9ca3af);
}

[data-theme="dark"] .alpha-index__link:hover {
    color: var(--text, #f9fafb);
    background: var(--surface, #374151);
}

[data-theme="dark"] .alpha-index__link--active {
    background: var(--primary, #C7F9F1);
    color: var(--secondary, #111);
    border-color: var(--primary, #C7F9F1);
}

