/**
 * Стили для плагина Israel Business Directory - Tusovka Theme
 * 
 * Современный дизайн с градиентами, анимациями и красивой типографикой
 */

/* ============================================
   CSS Variables - Tusovka Theme Colors
   ============================================ */
:root {
    --ibd-primary: #f5820a;
    /* Оранжевый как ЦВЕТ ТЕКСТА: #f5820a на белом даёт 2.60:1 при норме 4.5:1.
       Заливки кнопок остаются фирменными, читаемым делаем только текст. */
    --ibd-primary-text: #b45309;
    --ibd-primary-dark: #dc7000;
    --ibd-primary-light: #fba94d;
    --ibd-secondary: #e8785b;
    --ibd-accent: #f59e0b;
    --ibd-success: #10b981;
    --ibd-text: #1f2937;
    /* Приглушённый текст. #6b7280 достаточен на белом (4.83:1), но фон страниц
       проекта голубоватый (#eaf4fb), и там он падает до 4.34:1 при норме 4.5.
       #4b5563 держит 6.4:1 и на глаз от прежнего неотличим. */
    --ibd-text-light: #4b5563;
    --ibd-bg: #ffffff;
    --ibd-bg-light: #eaf4fb;
    --ibd-bg-dark: #e2edf8;
    --ibd-border: #e5e7eb;
    --ibd-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --ibd-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --ibd-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --ibd-radius: 12px;
    --ibd-radius-sm: 8px;
    --ibd-radius-lg: 16px;
    --ibd-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Base Styles
   ============================================ */
.ibd-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.tusovka-theme {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--ibd-text);
    line-height: 1.6;
}

/* ============================================
   Archive Page Styles
   ============================================ */
.ibd-archive-wrapper {
    padding: 40px 0 80px;
    /* Своего фона нет: градиент уходил в белый, и в отступе перед подвалом (margin-top у footer)
       голубой фон body проступал отдельной полосой. Фон страницы общий, как на остальных. */
    background: none;
    min-height: 100vh;
}

.ibd-archive-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0 40px;
}

.ibd-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.ibd-archive-title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--ibd-primary) 0%, var(--ibd-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 16px;
}

.ibd-title-main {
    display: block;
}

.ibd-title-subtitle {
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    color: var(--ibd-text-light);
    -webkit-text-fill-color: var(--ibd-text-light);
    margin-top: 12px;
}

/* Filter Form */
.ibd-filter-form-wrapper {
    background: var(--ibd-bg);
    padding: 32px;
    border-radius: var(--ibd-radius-lg);
    margin-bottom: 48px;
    box-shadow: var(--ibd-shadow-lg);
    border: 1px solid var(--ibd-border);
}

.ibd-filter-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--ibd-bg-dark);
}

.ibd-filter-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ibd-text);
}

.ibd-icon-filter {
    color: var(--ibd-primary);
}

.ibd-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    align-items: end;
}

.ibd-filter-field {
    display: flex;
    flex-direction: column;
}

.ibd-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--ibd-text);
    font-size: 0.875rem;
}

.ibd-icon {
    color: var(--ibd-primary);
    flex-shrink: 0;
}

.ibd-input,
.ibd-select {
    padding: 14px 16px;
    border: 2px solid var(--ibd-border);
    border-radius: var(--ibd-radius-sm);
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    background: var(--ibd-bg);
    color: var(--ibd-text);
    transition: var(--ibd-transition);
    font-family: inherit;
}

.ibd-input:focus,
.ibd-select:focus {
    outline: none;
    border-color: var(--ibd-primary);
    box-shadow: 0 0 0 3px rgba(245, 130, 10, 0.1);
}

.ibd-select:disabled {
    background-color: var(--ibd-bg-dark);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Buttons */
.ibd-button {
    padding: 14px 24px;
    border: none;
    border-radius: var(--ibd-radius-sm);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: var(--ibd-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    text-decoration: none;
}

.ibd-button-primary {
    background: linear-gradient(135deg, var(--ibd-primary) 0%, var(--ibd-primary-dark) 100%);
    color: white;
    box-shadow: var(--ibd-shadow);
}

/* Текст на оранжевом. Белый на #F5820A даёт 2.6:1, а цвет фирменный и не меняется,
   поэтому текст держит WCAG «крупный текст» (от 18.66px при 700+) и лёгкую тёмную тень.
   .ibd-button-sm остаётся мелкой сознательно: её размер задан с !important ниже. */
.ibd-button-primary {
    font-size: 19px;
    font-weight: 800;
    text-shadow: 0 1px 1px rgba(120, 50, 0, .35);
}
@media (max-width: 480px) {
    /* 19px на узком экране: поля 24px съедали строку («Отправить на модерацию» переносилась).
       Если длинная подпись всё же уходит на две строки - строки по центру. */
    .ibd-button-full { padding-left: 14px; padding-right: 14px; text-align: center; }
}

.ibd-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--ibd-shadow-lg);
}

.ibd-button-secondary {
    background: var(--ibd-bg-dark);
    color: var(--ibd-text);
    border: 2px solid var(--ibd-border);
}

.ibd-button-secondary:hover {
    background: var(--ibd-border);
    transform: translateY(-2px);
}

/* Results Header */
.ibd-results-header {
    margin-bottom: 32px;
}

.ibd-results-count {
    font-size: 1.125rem;
    color: var(--ibd-text-light);
    font-weight: 500;
}

/* Business Grid */
.ibd-businesses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.ibd-business-card {
    background: var(--ibd-bg);
    border-radius: var(--ibd-radius-lg);
    overflow: hidden;
    box-shadow: var(--ibd-shadow);
    transition: var(--ibd-transition);
    border: 1px solid var(--ibd-border);
    display: flex;
    flex-direction: column;
}

.ibd-business-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ibd-shadow-xl);
    border-color: var(--ibd-primary-light);
}

.ibd-business-thumbnail {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ibd-primary-light) 0%, var(--ibd-secondary) 100%);
    position: relative;
}

.ibd-thumbnail-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ibd-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ibd-transition);
}

.ibd-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--ibd-transition);
}
.ibd-view-more {   /* «Подробнее» — пилюля по центру, не прячется за бейджем */
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,.95); color: #1e2a32 !important;
    padding: 9px 18px; border-radius: 999px;
    box-shadow: 0 8px 22px -8px rgba(0,0,0,.4);
}

.ibd-business-card:hover .ibd-thumbnail-overlay {
    opacity: 1;
}

.ibd-business-card:hover .ibd-thumbnail-img {
    transform: scale(1.1);
}

.ibd-view-more {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ibd-no-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ibd-placeholder-icon {
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.5;
}

.ibd-business-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ibd-business-title {
    margin: 0 0 12px 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.ibd-business-title a {
    color: var(--ibd-text);
    text-decoration: none;
    transition: var(--ibd-transition);
}

.ibd-business-title a:hover {
    color: var(--ibd-primary);
}

/* Карточка: компактный заголовок (перебиваем крупный заголовок single-страницы) */
.ibd-business-card .ibd-business-title { font-size: 1.15rem; line-height: 1.3; margin: 0 0 8px; }

/* Чипсы категорий каталога */
.ibd-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 28px; }
.ibd-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border: 1.5px solid #e5e7eb; border-radius: 30px; background: #fff; color: #374151; font-size: .92rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.ibd-chip:hover { border-color: #fba94d; color:#b45309; }
.ibd-chip.is-active { background: #f5820a; border-color: #f5820a; color: #fff; font-weight: 800; text-shadow: 0 1px 1px rgba(120, 50, 0, .35); } /* чип мелкий: размер прежний, только вес и тень */
/* .ibd-chip:hover из ibd-ui.css (чип участника, тот же класс, вес 0,2,0) красил текст активного
   чипа в оранжевый поверх оранжевого фона - «Все» пропадало. Текст на оранжевом держим белым. */
.ibd-chip.is-active:hover, .ibd-chip.is-active:focus-visible { color: #fff; }
.ibd-chip-count { font-size: .72rem; background: rgba(0,0,0,.06); border-radius: 20px; padding: 1px 8px; }
.ibd-chip.is-active .ibd-chip-count { background: rgba(255,255,255,.25); color: #fff; }

.ibd-business-excerpt {
    color: var(--ibd-text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.ibd-business-categories {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ibd-category-tag {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--ibd-primary) 0%, var(--ibd-primary-dark) 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: var(--ibd-transition);
}

.ibd-category-tag.ibd-more {
    background: var(--ibd-bg-dark);
    color: var(--ibd-text);
}

.ibd-business-meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--ibd-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ibd-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--ibd-text-light);
}

.ibd-meta-item svg {
    color: var(--ibd-primary);
    flex-shrink: 0;
}

/* No Results */
.ibd-no-results-wrapper {
    text-align: center;
    padding: 80px 20px;
}

.ibd-no-results-icon {
    color: var(--ibd-text-light);
    margin-bottom: 24px;
    opacity: 0.5;
}

.ibd-no-results {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ibd-text);
    margin-bottom: 12px;
}

.ibd-no-results-subtitle {
    color: var(--ibd-text-light);
    margin-bottom: 32px;
}

/* Loading */
.ibd-loading {
    text-align: center;
    padding: 60px 20px;
}

.ibd-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--ibd-bg-dark);
    border-top-color: var(--ibd-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ibd-loading p {
    color: var(--ibd-text-light);
    font-weight: 500;
}

/* ============================================
   Single Business Page Styles
   ============================================ */
.ibd-single-wrapper {
    padding: 40px 0 80px;
    background: var(--ibd-bg-light);
    min-height: 100vh;
}

.ibd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.ibd-breadcrumb-link {
    color: var(--ibd-primary);
    text-decoration: none;
    transition: var(--ibd-transition);
}

.ibd-breadcrumb-link:hover {
    color: var(--ibd-primary-dark);
    text-decoration: underline;
}

.ibd-breadcrumb-separator {
    color: var(--ibd-text-light);
}

.ibd-breadcrumb-current {
    color: var(--ibd-text);
    font-weight: 500;
}

.ibd-business-single {
    background: var(--ibd-bg);
    border-radius: var(--ibd-radius-lg);
    overflow: hidden;
    box-shadow: var(--ibd-shadow-lg);
}

.ibd-business-header {
    position: relative;
}

.ibd-business-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.ibd-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ibd-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.ibd-business-header-content {
    position: relative;
    padding: 40px;
    background: var(--ibd-bg);
}

.ibd-header-main {
    margin-bottom: 24px;
}

.ibd-business-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 16px 0;
    color: var(--ibd-text);
    line-height: 1.2;
}

.ibd-business-categories-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ibd-category-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--ibd-primary) 0%, var(--ibd-primary-dark) 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--ibd-transition);
}

/* Бейдж мелкий по дизайну: размер прежний, на оранжевом - только вес и тень */
.ibd-category-badge { font-weight: 800; text-shadow: 0 1px 1px rgba(120, 50, 0, .35); }

.ibd-category-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--ibd-shadow);
}

.ibd-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 2px solid var(--ibd-bg-dark);
}

.ibd-quick-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--ibd-bg-light);
    border-radius: var(--ibd-radius-sm);
    text-decoration: none;
    color: var(--ibd-text);
    font-weight: 500;
    transition: var(--ibd-transition);
    border: 2px solid transparent;
}

.ibd-quick-action:hover {
    background: var(--ibd-primary);
    color: white;
    border-color: var(--ibd-primary);
    transform: translateY(-2px);
    box-shadow: var(--ibd-shadow);
}

.ibd-quick-action svg {
    flex-shrink: 0;
}

.ibd-business-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    padding: 40px;
}

.ibd-business-main {
    min-width: 0;
}

.ibd-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: var(--ibd-text);
    padding-bottom: 16px;
    border-bottom: 3px solid var(--ibd-primary);
}

.ibd-business-description {
    line-height: 1.8;
    font-size: 1.0625rem;
    color: var(--ibd-text);
    margin-bottom: 48px;
}

.ibd-business-description p {
    margin-bottom: 1.5em;
}

.ibd-map-section {
    margin-top: 48px;
}

.ibd-map-embed {
    margin-top: 20px;
    border-radius: var(--ibd-radius);
    overflow: hidden;
    box-shadow: var(--ibd-shadow);
}

.ibd-map-embed iframe {
    width: 100%;
    border: none;
    display: block;
}

/* Sidebar - плавающий (smart-sticky, см. data-floating-sidebar в sunday.js).
   `top` ниже стартовый: JS перезаписывает его инлайном на каждом кадре скролла.
   align-self: start обязателен - в grid-родителе рейл иначе растягивается на всю
   высоту контейнера, offsetHeight врёт, и вся математика пина ломается. */
.ibd-business-sidebar {
    position: sticky;
    top: 24px;
    height: fit-content;
    align-self: start;
}

.ibd-business-info-card {
    background: var(--ibd-bg-light);
    padding: 32px;
    border-radius: var(--ibd-radius-lg);
    border: 1px solid var(--ibd-border);
    box-shadow: var(--ibd-shadow);
}

.ibd-info-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ibd-text);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ibd-border);
}

.ibd-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ibd-info-item {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ibd-border);
}

.ibd-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ibd-info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--ibd-text);
    font-size: 0.875rem;
}

.ibd-info-label svg {
    color: var(--ibd-primary);
}

.ibd-info-value {
    color: var(--ibd-text);
    font-size: 1rem;
    line-height: 1.6;
}

.ibd-link {
    color: var(--ibd-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--ibd-transition);
}

.ibd-link:hover {
    color: var(--ibd-primary-dark);
    text-decoration: underline;
}

.ibd-business-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ibd-location-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--ibd-success) 0%, #059669 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--ibd-transition);
}

.ibd-location-badge:hover {
    /* color обязателен: глобальный a:hover темы (0,1,1) иначе красит текст в #dc7000 на зелёном */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--ibd-shadow);
}

/* Navigation */
.ibd-business-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    padding: 32px 40px;
    border-top: 2px solid var(--ibd-bg-dark);
}

.ibd-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--ibd-bg-light);
    border-radius: var(--ibd-radius);
    text-decoration: none;
    color: var(--ibd-text);
    transition: var(--ibd-transition);
    border: 2px solid transparent;
}

.ibd-nav-link:hover {
    background: var(--ibd-primary);
    color: white;
    border-color: var(--ibd-primary);
    transform: translateY(-2px);
    box-shadow: var(--ibd-shadow);
}

.ibd-nav-content {
    flex: 1;
    min-width: 0;
}

.ibd-nav-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 4px;
}

.ibd-nav-title {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ibd-nav-next .ibd-nav-link {
    flex-direction: row-reverse;
    text-align: right;
}

/* ============================================
   Taxonomy Page Styles
   ============================================ */
.ibd-taxonomy-wrapper {
    padding: 40px 0 80px;
    /* Своего фона нет: градиент уходил в белый, и в отступе перед подвалом (margin-top у footer)
       голубой фон body проступал отдельной полосой. Фон страницы общий, как на остальных. */
    background: none;
    min-height: 100vh;
}

.ibd-taxonomy-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0 40px;
}

.ibd-taxonomy-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.ibd-location-badge-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--ibd-primary) 0%, var(--ibd-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--ibd-shadow-lg);
}

.ibd-taxonomy-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 16px 0;
    color: var(--ibd-text);
    line-height: 1.2;
}

.ibd-location-name {
    color: var(--ibd-primary);
}

.ibd-taxonomy-region {
    font-size: 1.125rem;
    color: var(--ibd-text-light);
    margin: 0;
}

.ibd-taxonomy-description {
    max-width: 700px;
    margin: 32px auto 0;
    padding: 24px;
    background: var(--ibd-bg);
    border-radius: var(--ibd-radius);
    box-shadow: var(--ibd-shadow);
    color: var(--ibd-text-light);
    line-height: 1.7;
}

/* ============================================
   Pagination
   ============================================ */
.ibd-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.ibd-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    margin: 0 4px;
    border: 2px solid var(--ibd-border);
    border-radius: var(--ibd-radius-sm);
    text-decoration: none;
    color: var(--ibd-text);
    font-weight: 500;
    transition: var(--ibd-transition);
}

.ibd-pagination .page-numbers:hover,
.ibd-pagination .page-numbers.current {
    background: linear-gradient(135deg, var(--ibd-primary) 0%, var(--ibd-primary-dark) 100%);
    color: white;
    border-color: var(--ibd-primary);
    transform: translateY(-2px);
    box-shadow: var(--ibd-shadow);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .ibd-business-content-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Одна колонка - рейлу липнуть некуда. JS сбрасывает inline top ниже 980px,
       но в полосе 981-1024 он его ещё пишет: на position:static свойство top
       не действует, поэтому расхождение брейкпоинтов здесь безвредно. */
    .ibd-business-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .ibd-container {
        padding: 0 16px;
    }
    
    .ibd-archive-wrapper,
    .ibd-single-wrapper,
    .ibd-taxonomy-wrapper {
        padding: 24px 0 60px;
    }
    
    .ibd-archive-header,
    .ibd-taxonomy-header {
        padding: 40px 0 32px;
        margin-bottom: 40px;
    }
    
    .ibd-filter-form-wrapper {
        padding: 24px;
    }
    
    .ibd-filter-form {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ibd-businesses-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .ibd-business-header-content {
        padding: 24px;
    }
    
    .ibd-business-content-wrapper {
        padding: 24px;
    }
    
    .ibd-quick-info {
        flex-direction: column;
    }
    
    .ibd-quick-action {
        width: 100%;
        justify-content: center;
    }
    
    .ibd-business-navigation {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    
    .ibd-nav-next .ibd-nav-link {
        flex-direction: row;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .ibd-archive-title,
    .ibd-taxonomy-title {
        font-size: 2rem;
    }

    .ibd-business-title {
        font-size: 1.75rem;
    }

    .ibd-filter-form-wrapper {
        padding: 20px;
    }

    .ibd-business-card {
        border-radius: var(--ibd-radius);
    }
}

/* ============================================
   Stars / Rating
   ============================================ */
.ibd-stars { display: inline-flex; gap: 2px; line-height: 1; }
.ibd-stars--sm { font-size: 14px; }
.ibd-stars--md { font-size: 18px; }
.ibd-stars--lg { font-size: 24px; }
.ibd-star--full  { color: var(--ibd-accent); }
.ibd-star--half  { color: var(--ibd-accent); opacity: .6; }
.ibd-star--empty { color: #d1d5db; }

/* ============================================
   Card: new meta row (rating + price)
   ============================================ */
.ibd-card-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.ibd-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}
.ibd-card-rating-value { font-weight: 700; font-size: .9rem; color: var(--ibd-text); }
.ibd-card-review-count { font-size: .8rem; color: var(--ibd-text-light); }
.ibd-card-price {
    background: var(--ibd-primary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}
.ibd-business-tagline {
    font-size: .875rem;
    color: var(--ibd-text-light);
    margin: 4px 0 8px;
    line-height: 1.4;
}

/* Card bookmark button */
.ibd-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
}
/* Кнопка «Поделиться» на карточке (единый стиль с закладкой) */
.ibd-share-btn {
    background: rgba(255,255,255,.92);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color:#b45309;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: var(--ibd-transition);
    padding: 0;
}
.ibd-share-btn:hover { color:#b45309; transform: scale(1.1); }
.ibd-share-btn:focus-visible { outline: 2px solid var(--ibd-primary); outline-offset: 2px; }
.ibd-card-status {   /* «Открыт сейчас» — верх-лево, чтобы не перекрывать «Подробнее» */
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}
.ibd-business-thumbnail { position: relative; }

/* ============================================
   Open / Closed badges
   ============================================ */
.ibd-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}
.ibd-status-open   { background: #10b981; color: #fff; box-shadow: 0 2px 6px rgba(16,185,129,.45); }
.ibd-status-closed { background: #ef4444; color: #fff; box-shadow: 0 2px 6px rgba(239,68,68,.45); }

/* ============================================
   Bookmark button
   ============================================ */
.ibd-bookmark-btn {
    background: rgba(255,255,255,.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: #9ca3af;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: var(--ibd-transition);
    text-decoration: none;
}
.ibd-bookmark-btn:hover,
.ibd-bookmark-btn.ibd-bookmarked { color: #ef4444; transform: scale(1.1); }

/* ============================================
   Single page: header enhancements
   ============================================ */
.ibd-business-logo { margin-bottom: 12px; }
.ibd-logo-img      { width: 80px; height: 80px; object-fit: contain; border-radius: var(--ibd-radius-sm); background: #fff; box-shadow: var(--ibd-shadow); }
.ibd-business-title-area { flex: 1; }
.ibd-header-main   { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.ibd-header-actions { flex-shrink: 0; }
.ibd-header-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.ibd-rating-row  { display: flex; align-items: center; gap: 6px; }
.ibd-rating-value { font-weight: 700; font-size: 1.1rem; }
.ibd-rating-count { font-size: .85rem; color: var(--ibd-primary); text-decoration: underline; cursor: pointer; }
.ibd-price-badge { background: var(--ibd-primary); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }

/* WhatsApp button */
.ibd-quick-whatsapp { background: #25d366 !important; color: #fff !important; }
.ibd-quick-directions { background: #2e86c1 !important; color: #fff !important; }

/* Gallery grid */
.ibd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 12px;
}
.ibd-gallery-item img,
.ibd-gallery-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--ibd-radius-sm);
    transition: var(--ibd-transition);
}
.ibd-gallery-item:hover img { transform: scale(1.03); }
.ibd-gallery-item { display: block; overflow: hidden; border-radius: var(--ibd-radius-sm); }

/* Sidebar cards */
.ibd-sidebar-card {
    background: #fff;
    border: 1px solid var(--ibd-border);
    border-radius: var(--ibd-radius);
    padding: 20px;
    margin-top: 16px;
}
.ibd-sidebar-card-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--ibd-text);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Badges row (languages, payment) */
.ibd-badges-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ibd-badge {
    font-size: .75rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}
.ibd-badge--lang    { background: rgba(245, 130, 10,.1); color: var(--ibd-primary); }
.ibd-badge--payment { background: rgba(245,158,11,.1); color: #d97706; }

/* Social links */
.ibd-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ibd-social-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--ibd-bg-light);
    color: var(--ibd-text);
    border: 1px solid var(--ibd-border);
    transition: var(--ibd-transition);
}
.ibd-social-link:hover { background: var(--ibd-primary); color: #fff; border-color: var(--ibd-primary); }

/* Tags */
.ibd-tags-section { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.ibd-tag {
    background: var(--ibd-bg-light);
    color: var(--ibd-text-light);
    font-size: .8rem;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--ibd-border);
    text-decoration: none;
    transition: var(--ibd-transition);
}
.ibd-tag:hover { background: var(--ibd-primary); color: #fff; border-color: var(--ibd-primary); }

/* Claim banner */
.ibd-claim-banner {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: var(--ibd-radius);
    padding: 16px;
    text-align: center;
    margin-top: 16px;
}
.ibd-claim-banner p { margin: 0 0 10px; font-weight: 600; }
.ibd-claimed-badge {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 1px solid #10b981;
    border-radius: var(--ibd-radius);
    padding: 12px 16px;
    text-align: center;
    color: #065f46;
    font-weight: 600;
    margin-top: 16px;
    font-size: .9rem;
}

/* Business hours display table */
.ibd-hours-display-table { width: 100%; border-collapse: collapse; }
.ibd-hours-display-table tr { border-bottom: 1px solid var(--ibd-border); }
.ibd-hours-display-table td { padding: 8px 4px; font-size: .9rem; }
.ibd-hours-name  { font-weight: 500; color: var(--ibd-text); width: 50%; }
.ibd-hours-time  { color: var(--ibd-text-light); }
.ibd-hours-closed { color: #ef4444; }
.ibd-hours-allday { color: var(--ibd-success); font-weight: 600; }
.ibd-hours-today td { font-weight: 700; color: var(--ibd-primary) !important; }
.ibd-today-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ibd-primary); margin-left: 4px; vertical-align: middle; }

/* ============================================
   Reviews
   ============================================ */
.ibd-reviews-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--ibd-bg-light);
    border-radius: var(--ibd-radius);
    margin-bottom: 24px;
}
.ibd-reviews-avg { font-size: 3rem; font-weight: 800; color: var(--ibd-text); line-height: 1; }
.ibd-reviews-total { color: var(--ibd-text-light); font-size: .9rem; }
.ibd-reviews-count { font-size: 1rem; color: var(--ibd-text-light); font-weight: 400; margin-left: 6px; }

.ibd-review-card {
    background: #fff;
    border: 1px solid var(--ibd-border);
    border-radius: var(--ibd-radius);
    padding: 20px;
    margin-bottom: 16px;
}
.ibd-review-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ibd-review-avatar { flex-shrink: 0; }
.ibd-review-avatar img { border-radius: 50%; }
.ibd-review-meta { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ibd-review-author { font-weight: 700; color: var(--ibd-text); }
.ibd-review-date, .ibd-review-visit { font-size: .8rem; color: var(--ibd-text-light); }
.ibd-review-rating { flex-shrink: 0; }
.ibd-review-title  { font-size: 1rem; font-weight: 600; margin: 0 0 8px; }
.ibd-review-content { color: var(--ibd-text); line-height: 1.7; margin-bottom: 12px; }
.ibd-review-subratings { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.ibd-review-subrating  { display: flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--ibd-text-light); }
.ibd-review-footer { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--ibd-border); }
.ibd-helpful-label { font-size: .85rem; color: var(--ibd-text-light); }
.ibd-helpful-btn, .ibd-flag-btn {
    background: none;
    border: 1px solid var(--ibd-border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: .8rem;
    cursor: pointer;
    transition: var(--ibd-transition);
    display: flex;
    align-items: center;
    gap: 4px;
}
.ibd-helpful-btn:hover { background: var(--ibd-bg-light); }
.ibd-flag-btn { margin-left: auto; color: var(--ibd-text-light); }
.ibd-flag-btn:hover { color: #ef4444; border-color: #ef4444; }

.ibd-owner-response {
    background: var(--ibd-bg-light);
    border-left: 3px solid var(--ibd-primary);
    border-radius: 0 var(--ibd-radius-sm) var(--ibd-radius-sm) 0;
    padding: 12px 16px;
    margin-top: 12px;
}
.ibd-owner-response-label { font-weight: 700; font-size: .85rem; display: block; margin-bottom: 6px; }
.ibd-owner-response-text  { font-size: .9rem; line-height: 1.6; }
.ibd-owner-response-date  { font-size: .8rem; color: var(--ibd-text-light); display: block; margin-top: 6px; }

.ibd-owner-respond { margin-top: 12px; }
.ibd-owner-response-input { width: 100%; padding: 10px; border: 1px solid var(--ibd-border); border-radius: var(--ibd-radius-sm); font-size: .9rem; resize: vertical; margin-bottom: 8px; }

.ibd-reviews-empty { color: var(--ibd-text-light); text-align: center; padding: 32px; }

/* ============================================
   Review Form
   ============================================ */
.ibd-review-form-wrapper {
    background: var(--ibd-bg-light);
    border: 1px solid var(--ibd-border);
    border-radius: var(--ibd-radius);
    padding: 24px;
    margin-top: 24px;
}
.ibd-review-rating-main { margin-bottom: 16px; }
.ibd-review-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--ibd-text); }
.ibd-review-subratings { margin-bottom: 16px; }
.ibd-review-subrating-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ibd-review-field { margin-bottom: 16px; }
.ibd-review-input, .ibd-review-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--ibd-border);
    border-radius: var(--ibd-radius-sm);
    font-size: .95rem;
    transition: var(--ibd-transition);
    background: #fff;
    box-sizing: border-box;
}
.ibd-review-input:focus, .ibd-review-textarea:focus {
    outline: none;
    border-color: var(--ibd-primary);
    box-shadow: 0 0 0 3px rgba(245, 130, 10,.1);
}
.ibd-review-textarea { resize: vertical; line-height: 1.6; }
.ibd-review-submit { display: flex; align-items: center; gap: 12px; }
/* Кнопка отзыва не сжимается в две строки (19px): подпись «* Обязательные поля» уходит ниже */
.ibd-review-submit { flex-wrap: wrap; }
.ibd-review-submit .ibd-button { flex: none; }
.ibd-review-note { font-size: .8rem; color: var(--ibd-text-light); }
.ibd-review-message { padding: 12px 16px; border-radius: var(--ibd-radius-sm); font-size: .9rem; margin-top: 12px; }
.ibd-review-message.ibd-success { background: #d1fae5; color: #065f46; }
.ibd-review-message.ibd-error   { background: #fee2e2; color: #991b1b; }

/* Star input (interactive) */
.ibd-star-input { display: flex; align-items: center; gap: 8px; flex-direction: row-reverse; justify-content: flex-end; }
.ibd-star-input-label { font-size: .85rem; color: var(--ibd-text-light); white-space: nowrap; order: 10; }
.ibd-star-label { font-size: 24px; color: #d1d5db; cursor: pointer; transition: color .1s;
    /* Звёзды теперь <button role="radio"> (клавиатура) - снимаем вид кнопки. */
    background: none; border: 0; padding: 0 1px; line-height: 1; font-family: inherit; }
.ibd-star-label:focus-visible { outline: 2px solid #dc7000; outline-offset: 2px; border-radius: 4px; }
.ibd-star-label:hover,
.ibd-star-label:hover ~ .ibd-star-label { color: var(--ibd-accent); }
.ibd-star-input.ibd-rated .ibd-star-label { color: var(--ibd-accent); }

.ibd-review-login-prompt, .ibd-review-already {
    text-align: center;
    padding: 24px;
    background: var(--ibd-bg-light);
    border-radius: var(--ibd-radius);
    border: 1px dashed var(--ibd-border);
    margin-top: 24px;
}
.ibd-review-login-prompt a { color: var(--ibd-primary); font-weight: 600; }

/* ============================================
   Auth Forms
   ============================================ */
.ibd-auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
    min-height: 60vh;
}
.ibd-auth-card {
    background: #fff;
    border: 1px solid var(--ibd-border);
    border-radius: var(--ibd-radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--ibd-shadow-xl);
}
.ibd-auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ibd-text);
    margin: 0 0 28px;
    text-align: center;
}
.ibd-auth-field { margin-bottom: 20px; }
.ibd-auth-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.ibd-auth-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--ibd-border);
    border-radius: var(--ibd-radius-sm);
    font-size: .95rem;
    transition: var(--ibd-transition);
    box-sizing: border-box;
}
.ibd-auth-field input:focus { outline: none; border-color: var(--ibd-primary); box-shadow: 0 0 0 3px rgba(245, 130, 10,.1); }
.ibd-password-wrap { position: relative; }
.ibd-password-wrap input { padding-right: 44px; }
.ibd-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--ibd-text-light);
    padding: 0;
}
.ibd-auth-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ibd-remember-label { display: flex; align-items: center; gap: 6px; font-size: .9rem; cursor: pointer; }
.ibd-remember-label input {
    -webkit-appearance: none; appearance: none; margin: 0; flex: none; cursor: pointer;
    width: 17px; height: 17px; border: 1.5px solid var(--ibd-border); border-radius: 5px;
    background: #fff; position: relative; transition: background .15s ease, border-color .15s ease;
}
.ibd-remember-label input:hover { border-color: #d8b48c; }
.ibd-remember-label input:checked { background: var(--ibd-primary); border-color: var(--ibd-primary); }
.ibd-remember-label input:checked::after {
    content: ""; position: absolute; left: 30%; top: 10%; width: 25%; height: 50%;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ibd-forgot-link { font-size: .85rem; color: var(--ibd-primary-text); text-decoration: none; }
.ibd-forgot-link:hover { text-decoration: underline; }
.ibd-auth-message { padding: 12px 16px; border-radius: var(--ibd-radius-sm); font-size: .9rem; margin-bottom: 16px; }
.ibd-auth-message.error   { background: #fee2e2; color: #991b1b; }
.ibd-auth-message.success { background: #d1fae5; color: #065f46; }
.ibd-auth-switch { text-align: center; color: var(--ibd-text-light); font-size: .9rem; margin-top: 20px; }
.ibd-auth-switch a { color: var(--ibd-primary-text); font-weight: 600; text-decoration: none; }
.ibd-field-hint { font-size: .8rem; color: var(--ibd-text-light); margin-top: 4px; }

/* Role tabs */
.ibd-role-tabs { display: flex; gap: 0; margin-bottom: 24px; border: 1px solid var(--ibd-border); border-radius: var(--ibd-radius-sm); overflow: hidden; }
.ibd-role-tab {
    flex: 1;
    padding: 10px;
    background: var(--ibd-bg-light);
    border: none;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ibd-transition);
    color: var(--ibd-text-light);
}
.ibd-role-tab.active { background: var(--ibd-primary); color: #fff; }

/* ============================================
   Dashboard
   ============================================ */
.ibd-dashboard-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 16px;
}
/* Внутри каркаса кабинета ширину и вертикальный ритм задаёт .pf-shell.
   Без сброса контент владельца бизнеса сжимался бы до 1000px в колонке,
   которая и так уже, и получал бы двойные отступы. */
.pf-main .ibd-dashboard-wrapper { max-width: none; margin: 0; padding: 0; }
.ibd-dashboard-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ibd-border);
}
.ibd-dashboard-title { font-size: 2rem; font-weight: 800; margin: 0 0 6px; }
.ibd-dashboard-user  { color: var(--ibd-text-light); font-size: .95rem; margin: 0; }
.ibd-logout-link { color: #ef4444; text-decoration: none; font-size: .9rem; }
.ibd-dashboard-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--ibd-border);
    margin-bottom: 32px;
}
.ibd-dashboard-nav-link {
    padding: 12px 20px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--ibd-text-light);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--ibd-transition);
}
.ibd-dashboard-nav-link:hover,
.ibd-dashboard-nav-link.ibd-nav-active {
    color: var(--ibd-primary);
    border-bottom-color: var(--ibd-primary);
}

/* Stats grid */
.ibd-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.ibd-stat-card {
    background: #fff;
    border: 1px solid var(--ibd-border);
    border-radius: var(--ibd-radius);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.ibd-stat-icon  { font-size: 2rem; }
.ibd-stat-value { font-size: 1.75rem; font-weight: 800; color: var(--ibd-text); }
.ibd-stat-label { font-size: .85rem; color: var(--ibd-text-light); }

.ibd-business-info-panel {
    background: #fff;
    border: 1px solid var(--ibd-border);
    border-radius: var(--ibd-radius);
    padding: 24px;
}
.ibd-business-info-panel h2 { margin: 0 0 12px; }
.ibd-dashboard-links { display: flex; gap: 10px; margin-top: 16px; }

/* Dashboard form */
.ibd-dashboard-form { background: #fff; border: 1px solid var(--ibd-border); border-radius: var(--ibd-radius); padding: 28px; }
.ibd-dashboard-form h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ibd-border); }
.ibd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.ibd-form-field--full { grid-column: 1 / -1; }
.ibd-form-field { display: flex; flex-direction: column; gap: 6px; }
.ibd-form-field label { font-weight: 600; font-size: .9rem; }
.ibd-form-field input, .ibd-form-field textarea, .ibd-form-field select {
    padding: 10px 14px;
    border: 1px solid var(--ibd-border);
    border-radius: var(--ibd-radius-sm);
    font-size: .95rem;
    transition: var(--ibd-transition);
    width: 100%;
    box-sizing: border-box;
}
.ibd-form-field input:focus, .ibd-form-field textarea:focus { outline: none; border-color: var(--ibd-primary); box-shadow: 0 0 0 3px rgba(245, 130, 10,.1); }
.ibd-form-actions { display: flex; gap: 12px; margin-top: 8px; }

.ibd-dashboard-no-listing { text-align: center; padding: 40px; }
.ibd-notice { padding: 14px 18px; border-radius: var(--ibd-radius-sm); margin-bottom: 20px; font-weight: 600; }
.ibd-notice--success { background: #d1fae5; color: #065f46; }
.ibd-notice--error   { background: #fee2e2; color: #991b1b; }

/* Buttons: sm size */
.ibd-button-sm   { padding: 6px 14px !important; font-size: .85rem !important; }
.ibd-button-full { width: 100%; justify-content: center; }

/* Фильтр архива комьюнити (чипы по городу) */
.ibd-cm-chip {
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .2s ease;
}
.ibd-cm-chip:hover { border-color: #f8dcc1; color:#b45309; }
.ibd-cm-chip.is-active {
    background: #F5820A;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px -10px rgba(245, 130, 10, .6);
}
.ibd-cm-chip:focus-visible { outline: 2px solid var(--ibd-primary); outline-offset: 2px; }

/* Favorites */
.ibd-favorites-wrapper { padding: 20px 0; }
.ibd-favorites-title  { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }
.ibd-favorites-empty  { text-align: center; padding: 40px; }

/* Вкладки избранного (бизнесы / встречи) */
.ibd-fav-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    margin-bottom: 26px;
    background: #f1f2f7;
    border-radius: 14px;
}
.ibd-fav-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, box-shadow .2s ease;
}
.ibd-fav-tab:hover { color:#b45309; }
.ibd-fav-tab.is-active {
    background: #fff;
    color:#b45309;
    box-shadow: 0 3px 10px -4px rgba(17,24,39,.22);
}
.ibd-fav-tab-count {
    min-width: 22px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(245, 130, 10,.14);
    color:#b45309;
}
.ibd-fav-tab.is-active .ibd-fav-tab-count { background: #eaf1f6; }
.ibd-fav-tab:focus-visible { outline: 2px solid var(--ibd-primary); outline-offset: 2px; }

/* Page wrapper (dashboard/auth pages with no special template) */
.ibd-page-wrapper { padding: 40px 0; }

/* ============================================
   Admin hours table (metaboxes)
   ============================================ */
.ibd-hours-table { border-collapse: collapse; }
.ibd-hours-table th, .ibd-hours-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--ibd-border); }
.ibd-hours-table th { background: var(--ibd-bg-light); font-weight: 700; }
.ibd-time-input { padding: 4px 8px; border: 1px solid var(--ibd-border); border-radius: 4px; }
.ibd-metabox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.ibd-field-row { display: flex; flex-direction: column; gap: 4px; }
.ibd-field-label { font-weight: 600; font-size: .85rem; }
.ibd-field-input { padding: 7px 10px; border: 1px solid #ddd; border-radius: 4px; width: 100%; box-sizing: border-box; }
.ibd-field-row--checkboxes { grid-column: 1 / -1; }
.ibd-checkboxes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ibd-checkbox-label { display: flex; align-items: center; gap: 4px; font-size: .85rem; cursor: pointer; }
.ibd-image-picker { display: flex; flex-direction: column; gap: 8px; }
.ibd-image-preview img { max-width: 120px; border-radius: 4px; }
.ibd-gallery-picker { display: flex; flex-direction: column; gap: 8px; }
.ibd-gallery-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.ibd-gallery-item { position: relative; }
.ibd-gallery-remove { position: absolute; top: -6px; right: -6px; background: #ef4444; color: #fff; border: none; border-radius: 50%; width: 20px; height: 20px; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ============================================
   Responsive overrides for new components
   ============================================ */
@media (max-width: 768px) {
    .ibd-review-subrating-grid { grid-template-columns: 1fr; }
    .ibd-auth-card { padding: 24px; }
    .ibd-stats-grid { grid-template-columns: repeat(3, 1fr); }
    .ibd-form-grid { grid-template-columns: 1fr; }
    .ibd-metabox-grid { grid-template-columns: 1fr; }
    .ibd-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .ibd-dashboard-nav-link { padding: 10px 14px; font-size: .85rem; }
}
@media (max-width: 480px) {
    .ibd-stats-grid { grid-template-columns: 1fr; }
    .ibd-form-actions, .ibd-dashboard-links { flex-direction: column; }
    .ibd-review-subrating-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ПОЛИШ-ПАСС (аудит вёрстки/UX) — правки поверх базовых стилей
   ============================================================ */

/* Карточка: читаемый плейсхолдер «нет фото» — строго по центру обложки, не под бейджем */
.ibd-business-thumbnail.ibd-no-thumbnail { background: linear-gradient(135deg,#eaf1f6 0%,#fff7ec 100%); }
.ibd-no-thumbnail .ibd-placeholder-icon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--ibd-primary); opacity: .4; pointer-events: none; }
.ibd-placeholder-label { font-size: .75rem; font-weight: 700; letter-spacing: .02em; }

/* Карточка: мягкий hover, ровная высота, контакты */
.ibd-business-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; min-width: 0; }
.ibd-business-card:hover { transform: translateY(-4px); }
.ibd-business-card:hover .ibd-thumbnail-img { transform: scale(1.05); }
.ibd-business-card .ibd-business-title { font-size: 1.15rem; line-height: 1.35; margin: 0 0 10px; font-weight: 700; }
.ibd-business-card .ibd-business-tagline, .ibd-business-card .ibd-business-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.ibd-meta-item { align-items: flex-start; }
.ibd-meta-item svg { margin-top: 2px; flex: none; }
.ibd-meta-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Карточка: статус-бейдж не вылазит за край */
.ibd-card-status { max-width: calc(100% - 20px); }
.ibd-card-status .ibd-status-badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Карточка: цена — янтарь, теги категорий — тихие метки */
.ibd-card-price { background: rgba(245,158,11,.16); color: #9a4708; }
.ibd-category-tag { background: rgba(245, 130, 10,.08); color: var(--ibd-primary); font-weight: 600; }
.ibd-category-tag.ibd-more { background: var(--ibd-bg-dark); color: var(--ibd-text-light); }

/* Грид: колонки тянутся на всю ширину контейнера (как хедер/фильтры); auto-fill
   сохраняет пустые треки, поэтому одиночная карточка НЕ растягивается на весь ряд. */
.ibd-businesses-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px,100%), 1fr)); gap: 26px; grid-auto-rows: 1fr; margin-top: 20px; }
.ibd-results-header { margin-bottom: 20px; }

/* Чипсы: контраст счётчика + фокус с клавиатуры */
.ibd-chip-count { min-width: 18px; text-align: center; background: rgba(245, 130, 10,.12); color: var(--ibd-primary); font-weight: 700; }
.ibd-chip.is-active .ibd-chip-count { background: rgba(255,255,255,.35); color: #fff; }
.ibd-chip:focus-visible, .ibd-bookmark-btn:focus-visible, .ibd-thumbnail-link:focus-visible, .ibd-business-title a:focus-visible { outline: 2px solid var(--ibd-primary); outline-offset: 2px; border-radius: 8px; }

/* AJAX-загрузка: без схлопывания layout */
.ibd-results.is-loading { position: relative; opacity: .5; pointer-events: none; transition: opacity .2s; }

/* Шапка секции каталога: убрать лишнюю пустоту */
.ibd-archive-header { padding: 32px 0 24px; margin-bottom: 24px; }

/* Single: размер заголовка и единый вертикальный ритм секций */
.ibd-business-title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 750; line-height: 1.15; letter-spacing: -.02em; }
.ibd-content-section { margin-bottom: 40px; }
.ibd-content-section:last-child { margin-bottom: 0; }

/* Single: section-title деликатнее (акцент-маркер вместо жирной линии) */
.ibd-section-title { font-size: 1.5rem; font-weight: 700; padding-bottom: 0; border-bottom: none; display: flex; align-items: center; gap: 12px; }
.ibd-section-title::before { content: ''; width: 4px; height: 1.05em; border-radius: 4px; background: linear-gradient(180deg, var(--ibd-primary), var(--ibd-secondary)); flex: none; }

/* Single: быстрые кнопки — единый hover + фирменные цвета */
.ibd-quick-whatsapp { background:#25d366 !important; color:#fff !important; border-color:#25d366 !important; }
.ibd-quick-whatsapp:hover { background:#1ebe5d !important; border-color:#1ebe5d !important; transform: translateY(-2px); }
.ibd-quick-directions { background:#2e86c1 !important; color:#fff !important; border-color:#2e86c1 !important; }
.ibd-quick-directions:hover { background:#1666cf !important; border-color:#1666cf !important; transform: translateY(-2px); }
.ibd-quick-phone { background: var(--ibd-primary); color:#fff; border-color: var(--ibd-primary); font-size: 19px; font-weight: 800; text-shadow: 0 1px 1px rgba(120, 50, 0, .35); } /* текст на оранжевом: крупный и жирный */
.ibd-quick-phone:hover { background: var(--ibd-primary-dark); border-color: var(--ibd-primary-dark); color:#fff; }
.ibd-quick-address { cursor: default; }
.ibd-quick-address:hover { transform: none; box-shadow: none; }

/* Single: галерея и карта */
.ibd-gallery-item { cursor: zoom-in; position: relative; }
.ibd-gallery-item img, .ibd-gallery-thumb { height: auto; aspect-ratio: 4/3; }
.ibd-gallery-item::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,0); transition: background .25s; }
.ibd-gallery-item:hover::after { background: rgba(0,0,0,.12); }
.ibd-map-embed iframe { min-height: 340px; max-width: 100%; }

/* Кнопки плагина: единый радиус с темой + состояния disabled/loading */
.ibd-button { border-radius: 12px; }
.ibd-button:disabled, .ibd-button[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }
.ibd-button.is-loading { position: relative; color: transparent !important; text-shadow: none !important; } /* без тени: иначе сквозь прозрачный текст видна тень букв */
.ibd-button.is-loading::after { content:''; position:absolute; top:50%; left:50%; width:18px; height:18px; margin:-9px 0 0 -9px; border:2px solid rgba(255,255,255,.55); border-top-color:#fff; border-radius:50%; animation: ibd-spin .6s linear infinite; }
@keyframes ibd-spin { to { transform: rotate(360deg); } }

/* Auth: фирменный акцент карточки + вертикальный центр */
.ibd-auth-card { position: relative; overflow: hidden; }
.ibd-auth-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background: linear-gradient(90deg, var(--ibd-primary), var(--ibd-secondary)); }
.ibd-auth-title { background: linear-gradient(135deg, var(--ibd-primary), var(--ibd-secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ibd-auth-wrapper { display: flex; justify-content: center; align-items: center; padding: 48px 16px; min-height: calc(100vh - 200px); }

/* Auth: роль-табы как мягкий сегмент-контрол */
.ibd-role-tabs { display: flex; gap: 4px; padding: 4px; background: var(--ibd-bg-light); border: 1px solid var(--ibd-border); border-radius: var(--ibd-radius); }
.ibd-role-tab { flex: 1; padding: 10px; border: none; background: transparent; font-weight: 600; cursor: pointer; color: var(--ibd-text-light); border-radius: var(--ibd-radius-sm); transition: var(--ibd-transition); }
.ibd-role-tab.active { background: linear-gradient(135deg, var(--ibd-primary), var(--ibd-primary-dark)); color: #fff; box-shadow: var(--ibd-shadow); }

/* Кабинет: статистика auto-fit, навигация со скроллом, «Выйти» как пилюля */
.ibd-stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ibd-dashboard-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ibd-dashboard-nav::-webkit-scrollbar { display: none; }
.ibd-dashboard-nav-link { white-space: nowrap; }
.ibd-logout-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--ibd-border); border-radius: 999px; color: #ef4444; font-weight: 600; font-size: .85rem; text-decoration: none; }
.ibd-logout-link:hover { background: #fef2f2; border-color: #fecaca; }

/* Мобилка */
@media (max-width: 768px) {
    .ibd-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ibd-map-embed iframe { min-height: 280px; height: 280px; }
    .ibd-chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; }
    .ibd-chip { flex: 0 0 auto; }
    .ibd-business-hero { height: 240px; }
}
@media (max-width: 480px) {
    .ibd-businesses-grid { gap: 16px; }
    .ibd-chip { padding: 7px 14px; font-size: .82rem; }
    .ibd-archive-title, .ibd-taxonomy-title { font-size: 1.6rem; }
    .ibd-business-hero { height: 180px; }
    .ibd-map-embed iframe { min-height: 220px; height: 220px; }
    .ibd-reviews-avg { font-size: 2.25rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   v1.2.0 — поиск-фильтры, подача бизнеса, claim, карта, верификация
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Доп-фильтры поиска (переключатели) ── */
.ibd-filter-toggles { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.ibd-check { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ibd-text); cursor: pointer; }
.ibd-check input {
    -webkit-appearance: none; appearance: none; margin: 0; cursor: pointer;
    width: 17px; height: 17px; border: 1.5px solid var(--ibd-border); border-radius: 5px;
    background: #fff; position: relative; transition: background .15s ease, border-color .15s ease;
}
.ibd-check input:hover { border-color: #d8b48c; }
.ibd-check input:checked { background: var(--ibd-primary); border-color: var(--ibd-primary); }
.ibd-check input:checked::after {
    content: ""; position: absolute; left: 30%; top: 10%; width: 25%; height: 50%;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ── Переключатель Список / Карта ── */
.ibd-view-toggles { display: inline-flex; gap: 4px; background: var(--ibd-bg-light); border: 1px solid var(--ibd-border); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.ibd-view-toggle { display: inline-flex; align-items: center; gap: 7px; border: none; background: transparent; color: var(--ibd-text-light); font-weight: 600; font-size: .92rem; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.ibd-view-toggle.is-active { background: linear-gradient(135deg, var(--ibd-primary), var(--ibd-primary-dark)); color: #fff; box-shadow: 0 4px 10px rgba(245, 130, 10,.3); font-weight: 800; text-shadow: 0 1px 1px rgba(120, 50, 0, .35); } /* тогл мелкий: размер прежний, только вес и тень */
.ibd-map { display: none; width: 100%; height: 520px; border-radius: var(--ibd-radius); overflow: hidden; border: 1px solid var(--ibd-border); margin-bottom: 24px; }
.ibd-map.is-visible { display: block; margin-bottom: 0; } /* в виде «Карта» она последняя: зазор до подвала как у списка */
.ibd-map-iw { font-size: .9rem; line-height: 1.4; padding: 2px 4px; }
.ibd-map-iw a { color: var(--ibd-primary); font-weight: 600; }

/* ── Форма подачи бизнеса ── */
.ibd-submit-wrapper { max-width: 820px; margin: 40px auto; padding: 0 16px; }
.ibd-submit-card { background: var(--ibd-bg); border: 1px solid var(--ibd-border); border-radius: var(--ibd-radius-lg, 16px); padding: 38px 40px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.ibd-submit-title { font-size: 1.7rem; font-weight: 800; margin: 0 0 6px; }
.ibd-submit-sub { color: var(--ibd-text-light); margin: 0 0 28px; }
.ibd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.ibd-form-field { display: flex; flex-direction: column; gap: 7px; }
.ibd-form-field.ibd-col-2 { grid-column: 1 / -1; }
.ibd-form-field label { font-weight: 600; font-size: .9rem; color: var(--ibd-text); }
.ibd-form-field textarea.ibd-input { resize: vertical; min-height: 110px; font-family: inherit; }
.ibd-input-file { font-size: .9rem; padding: 9px 0; }
.ibd-submit-form .ibd-button-full { margin-top: 26px; }

/* ── Claim «Это ваш бизнес?» ── */
.ibd-claim-box { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 16px 0; padding: 14px 18px; background: linear-gradient(135deg, rgba(245, 130, 10,.07), rgba(232, 120, 91,.06)); border: 1px solid rgba(245, 130, 10,.22); border-radius: var(--ibd-radius); }
.ibd-claim-text { font-weight: 600; color: var(--ibd-text); }
.ibd-claim-pending { color: var(--ibd-text-light); font-weight: 500; justify-content: center; }
.ibd-button-sm { padding: 9px 18px !important; font-size: .88rem !important; }

/* Баннер верификации email: стили и логика теперь инлайном в ibd_verification_notice()
   (auth.php) - баннер глобальный (wp_footer на всех страницах), а этот style.css
   подключается постранично, поэтому самодостаточный инлайн вместо этих правил. */

@media (max-width: 600px) {
    .ibd-form-grid { grid-template-columns: 1fr; }
    .ibd-submit-card { padding: 26px 22px; }
    .ibd-map { height: 380px; }
}

/* ── Фидбек-правки (07.07.2026): страница комьюнити ── */
@media (max-width: 780px) {
    /* Одинаковый небольшой отступ по краям, чтобы влезало больше контента */
    .cmpx { padding-left: 10px !important; padding-right: 10px !important; }
    /* Поиск встреч на всю ширину */
    [data-cm-search-wrap] { flex: 1 1 100% !important; }
    [data-cm-search] { width: 100% !important; }
}

/* ── Фотогалерея бизнеса ──────────────────────────────────────────────────
   Трек со scroll-snap; стрелки - общий компонент темы .tus-cnav-btn, чтобы
   навигация выглядела так же, как в каруселях на главной. */
.ibd-gal {
    position: relative;
}

.ibd-gal-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Полосу прокрутки прячем: листают стрелками, свайпом или колесом. */
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.ibd-gal-track::-webkit-scrollbar { display: none; }

.ibd-gal-slide {
    flex: 0 0 auto;
    width: min(78%, 460px);
    scroll-snap-align: start;
    border-radius: var(--ibd-radius-lg, 18px);
    overflow: hidden;
    background: #eef2f7;
    display: block;
    aspect-ratio: 4 / 3;
}

.ibd-gal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.ibd-gal-slide:hover .ibd-gal-img { transform: scale(1.03); }

/* Стрелки поверх трека, по вертикали - по центру кадра. */
.ibd-gal-prev,
.ibd-gal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.ibd-gal-prev { left: -18px; }
.ibd-gal-next { right: -18px; }

/* Наведение у .tus-cnav-btn поднимает кнопку на 3px - без сохранения нашего
   центрирования она бы прыгала вбок и вниз. */
.ibd-gal-prev:hover,
.ibd-gal-next:hover { transform: translateY(-50%) translateY(-3px); }

.ibd-gal-prev[disabled],
.ibd-gal-next[disabled] { opacity: 0; pointer-events: none; }

@media (max-width: 1200px) {
    .ibd-gal-prev { left: 6px; }
    .ibd-gal-next { right: 6px; }
}

@media (max-width: 640px) {
    .ibd-gal-slide { width: 88%; }
}

@media (prefers-reduced-motion: reduce) {
    .ibd-gal-track { scroll-behavior: auto; }
    .ibd-gal-img { transition: none; }
    .ibd-gal-slide:hover .ibd-gal-img { transform: none; }
}

/* /business/: «Добавить бизнес» в шапке каталога (решение 16.10.2026). Кнопка - <a>:
   цвет текста задаём и в :hover, иначе глобальный a:hover темы (#dc7000) красит его
   под цвет фона (CLAUDE.md, раздел SEO). */
.ibd-hero-add {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px;
    margin: 20px auto 0; max-width: 720px;
}
.ibd-hero-add-text { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ibd-text-light); }
.ibd-hero-add-btn {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    padding: 12px 22px; border-radius: 999px; text-decoration: none;
    font-weight: 800; font-size: 15px; line-height: 1.2;
    background: var(--ibd-primary-text, #b45309); color: #fff; /* белый на #b45309 - 4.7:1, на #f5820a было бы 2.6:1 */
    box-shadow: 0 10px 24px -10px rgba(220, 112, 0, .6);
    transition: background .15s, transform .15s;
}
.ibd-hero-add-btn:hover, .ibd-hero-add-btn:focus-visible { background: #92400e; color: #fff; text-decoration: none; }
.ibd-hero-add-btn:focus-visible { outline: 3px solid rgba(245, 130, 10, .45); outline-offset: 2px; }
@media (max-width: 640px) {
    .ibd-hero-add { flex-direction: column; }
    .ibd-hero-add-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ibd-hero-add-btn { transition: none; } }
