* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f7f7f8;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
}

.main-header {
    border-bottom: 1px solid #eee;
}

.navbar {
    min-height: 72px;
}

.navbar-brand {
    font-size: 25px;
}

.hero {
    padding: 90px 0;
    background: #fff;
}

.hero h1 {
    max-width: 850px;
    margin: 0 auto 20px;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 35px;
    color: #666;
    font-size: 20px;
}

.categories {
    padding: 70px 0;
}

.section-title {
    margin-bottom: 35px;
    font-size: 32px;
    font-weight: 700;
}

.category-card {
    display: block;
    height: 100%;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    color: #222;
    text-decoration: none;
    transition: .2s;
}

.category-card:hover {
    color: #222;
    border-color: #bbb;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.category-icon {
    margin-bottom: 15px;
    font-size: 36px;
}

.category-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.how-it-works {
    padding: 70px 0;
    background: #fff;
}

.step-card {
    padding: 25px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin: 0 auto 18px;

    border-radius: 50%;
    background: #222;
    color: #fff;

    font-size: 20px;
    font-weight: 700;
}

.site-footer {
    padding: 45px 0;
    background: #191919;
    color: #aaa;
}

.site-footer strong {
    color: #fff;
    font-size: 20px;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 17px;
    }
}
.auth-section {
    padding: 70px 0;
    min-height: 650px;
}

.auth-box {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.auth-title {
    margin-bottom: 10px;
    font-size: 34px;
    font-weight: 700;
}

.auth-description {
    margin-bottom: 30px;
    color: #777;
}

.auth-box .form-control {
    min-height: 50px;
    border-radius: 10px;
}

.auth-bottom {
    margin-top: 25px;
    text-align: center;
    color: #777;
}

.auth-bottom a {
    color: #222;
    font-weight: 600;
}

.account-section {
    padding: 60px 0 90px;
}

.account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}

.account-header h1 {
    margin-bottom: 5px;
    font-size: 38px;
    font-weight: 700;
}

.dashboard-card {
    height: 100%;
    min-height: 190px;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
}

.dashboard-number {
    margin-bottom: 5px;
    font-size: 45px;
    font-weight: 700;
}

.dashboard-icon {
    margin-bottom: 10px;
    font-size: 38px;
}

.dashboard-label {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.dashboard-link {
    color: #555;
}

.dashboard-create {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 35px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.dashboard-create h2 {
    font-weight: 700;
}

.dashboard-create p {
    margin: 8px 0 0;
    color: #777;
}

@media (max-width: 768px) {
    .auth-box {
        padding: 25px;
    }

    .account-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-create {
        align-items: flex-start;
        flex-direction: column;
    }
}
.event-form-section,
.my-events-section,
.event-builder-section {
    padding: 60px 0 90px;
}

.event-form-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
}

.event-form-box h1 {
    font-size: 40px;
    font-weight: 700;
}

.page-heading,
.event-builder-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
}

.page-heading h1,
.event-builder-header h1 {
    margin: 5px 0;
    font-size: 40px;
    font-weight: 700;
}

.empty-state {
    padding: 70px 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    text-align: center;
}

.empty-state-icon {
    margin-bottom: 15px;
    font-size: 50px;
}

.event-card {
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.event-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.event-card h2 {
    margin: 5px 0 0;
    font-size: 25px;
    font-weight: 700;
}

.event-type {
    color: #777;
    font-size: 14px;
}

.event-date-box {
    padding: 9px 12px;
    background: #f5f5f5;
    border-radius: 10px;
    white-space: nowrap;
}

.event-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 22px;
    color: #666;
}

.event-budget {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.event-budget > div {
    padding: 14px;
    background: #f8f8f8;
    border-radius: 12px;
}

.event-budget small {
    display: block;
    margin-bottom: 5px;
    color: #888;
}

.event-budget strong {
    display: block;
}

.event-builder-meta {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    color: #666;
}

.builder-main,
.budget-sidebar {
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.builder-main h2,
.budget-sidebar h3 {
    font-weight: 700;
}

.builder-category {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 95px;
    padding: 20px;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    color: #222;
    text-decoration: none;
    transition: .2s;
}

.builder-category:hover {
    border-color: #aaa;
    color: #222;
    transform: translateY(-2px);
}

.builder-category.is-selected {
    border-color: #222;
    background: #fafafa;
}

.builder-category-icon {
    font-size: 30px;
}

.builder-category strong {
    display: block;
    margin-bottom: 3px;
    font-size: 17px;
}

.builder-category .small {
    color: #777;
}

.budget-sidebar {
    position: sticky;
    top: 20px;
}

.budget-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
}

.budget-total {
    font-size: 19px;
}

.selected-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.selected-service-row small,
.selected-service-row strong {
    display: block;
}

@media (max-width: 768px) {
    .event-form-box {
        padding: 25px;
    }

    .page-heading,
    .event-builder-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .event-budget {
        grid-template-columns: 1fr;
    }

    .event-card-top {
        flex-direction: column;
    }

    .budget-sidebar {
        position: static;
    }
}
.catalog-section,
.vendor-page {
    padding: 60px 0 90px;
}

.catalog-category-card {
    display: block;
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    color: #222;
    text-decoration: none;
    transition: .2s;
}

.catalog-category-card:hover {
    color: #222;
    border-color: #bbb;
    transform: translateY(-3px);
}

.catalog-category-icon {
    margin-bottom: 15px;
    font-size: 38px;
}

.catalog-category-card h2 {
    margin-bottom: 8px;
    font-size: 19px;
    font-weight: 700;
}

.vendor-card {
    overflow: hidden;
    height: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.vendor-image {
    display: block;
    height: 220px;
    background: #f4f4f4;
}

.vendor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 60px;
}

.vendor-card-body {
    padding: 24px;
}

.vendor-city {
    margin-bottom: 8px;
    color: #777;
    font-size: 14px;
}

.vendor-card h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.vendor-card h2 a {
    color: #222;
    text-decoration: none;
}

.vendor-card p {
    min-height: 70px;
    color: #777;
}

.vendor-price {
    margin-bottom: 18px;
}

.vendor-price strong {
    font-size: 21px;
}

.vendor-detail-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
}

.vendor-detail-image {
    height: 380px;
    background: #f5f5f5;
}

.vendor-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-detail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 100px;
}

.vendor-detail-content {
    padding: 35px;
}

.vendor-detail-content h1 {
    margin: 8px 0 20px;
    font-size: 42px;
    font-weight: 700;
}

.vendor-description {
    color: #666;
    line-height: 1.7;
}

.vendor-contact-row {
    margin-top: 12px;
}

.event-context-box {
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.event-context-box small,
.event-context-box strong {
    display: block;
}

.event-context-box strong {
    margin-top: 5px;
    font-size: 20px;
}

.services-section {
    margin-top: 50px;
}

.services-section > h2 {
    margin-bottom: 25px;
    font-size: 30px;
    font-weight: 700;
}

.service-card {
    height: 100%;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
}

.service-card h3 {
    font-size: 21px;
    font-weight: 700;
}

.service-card p {
    min-height: 55px;
    color: #777;
}

.service-price {
    margin: 20px 0 15px;
}

.service-price strong {
    font-size: 27px;
}

.service-price span {
    color: #777;
}

.service-total {
    margin-bottom: 18px;
    padding: 12px;
    background: #f7f7f7;
    border-radius: 10px;
}

.service-total strong {
    display: block;
    margin-top: 3px;
    font-size: 19px;
}
.selected-items-section {
    margin-top: 25px;
}

.selected-items-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.selected-items-heading h2 {
    margin-bottom: 5px;
    font-size: 28px;
    font-weight: 700;
}

.builder-progress-count {
    padding: 8px 14px;
    background: #f3f3f3;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.builder-category-content {
    min-width: 0;
}

.builder-category-status {
    margin-top: 4px;
    color: #888;
    font-size: 13px;
}

.builder-category-status.selected {
    color: #198754;
    font-weight: 600;
}

.empty-selected-services {
    padding: 50px 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    text-align: center;
}

.empty-selected-icon {
    margin-bottom: 15px;
    font-size: 45px;
}

.empty-selected-services h3 {
    font-weight: 700;
}

.empty-selected-services p {
    margin-bottom: 0;
    color: #777;
}

.selected-vendor-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    overflow: hidden;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 22px;
}

.selected-vendor-image {
    min-height: 100%;
    background: #f5f5f5;
}

.selected-vendor-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.selected-vendor-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 360px;
    font-size: 75px;
}

.selected-vendor-content {
    padding: 28px;
}

.selected-vendor-category {
    margin-bottom: 6px;
    color: #777;
    font-size: 14px;
    font-weight: 600;
}

.selected-vendor-name {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 700;
}

.selected-vendor-location {
    margin-bottom: 18px;
    color: #777;
    font-size: 14px;
}

.selected-vendor-description {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.selected-package {
    margin-bottom: 20px;
    padding: 18px;
    background: #f7f7f7;
    border-radius: 14px;
}

.selected-package-title {
    margin-bottom: 4px;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.selected-package-name {
    font-size: 19px;
    font-weight: 700;
}

.selected-package-description {
    margin-top: 7px;
    color: #666;
    font-size: 14px;
}

.selected-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.selected-price-grid > div {
    padding: 14px;
    border: 1px solid #eee;
    border-radius: 12px;
}

.selected-price-grid small,
.selected-price-grid strong,
.selected-price-grid span {
    display: block;
}

.selected-price-grid small {
    margin-bottom: 5px;
    color: #888;
}

.selected-price-grid strong {
    font-size: 18px;
}

.selected-price-grid span {
    margin-top: 2px;
    color: #888;
    font-size: 12px;
}

.selected-total-price {
    background: #f8f8f8;
}

.selected-total-price strong {
    font-size: 21px;
}

.selected-vendor-contacts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.selected-contact {
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 9px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
}

.selected-contact:hover {
    background: #e9e9e9;
    color: #111;
}

.selected-vendor-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.budget-event-info {
    margin: 18px 0;
    padding: 15px;
    background: #f6f6f6;
    border-radius: 12px;
}

.budget-event-info strong,
.budget-event-info span {
    display: block;
}

.budget-event-info span {
    margin-top: 3px;
    color: #777;
    font-size: 13px;
}

.budget-progress-info {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
    font-size: 13px;
}

.budget-sidebar .progress {
    height: 8px;
}

.budget-sidebar .progress-bar {
    background: #222;
}

.budget-selected-list {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.budget-selected-title {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
}

.budget-selected-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.budget-selected-item span,
.budget-selected-item small {
    display: block;
}

.budget-selected-item span {
    font-size: 13px;
    font-weight: 600;
}

.budget-selected-item small {
    margin-top: 2px;
    color: #888;
}

.budget-selected-item strong {
    white-space: nowrap;
    font-size: 13px;
}

@media (max-width: 991px) {
    .selected-vendor-card {
        grid-template-columns: 200px 1fr;
    }

    .selected-price-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .selected-vendor-card {
        display: block;
    }

    .selected-vendor-image {
        height: 220px;
    }

    .selected-vendor-image img,
    .selected-vendor-placeholder {
        min-height: 220px;
        height: 220px;
    }

    .selected-vendor-content {
        padding: 20px;
    }

    .selected-vendor-name {
        font-size: 23px;
    }

    .selected-price-grid {
        grid-template-columns: 1fr;
    }

    .selected-vendor-actions .btn {
        width: 100%;
    }
}
.builder-category-full {
    align-items: flex-start;
    min-height: 145px;
    padding: 20px;
}

.builder-category-full .builder-category-icon {
    flex: 0 0 38px;
    margin-top: 2px;
    font-size: 30px;
}

.builder-category-full .builder-category-content {
    flex: 1;
    width: 100%;
    min-width: 0;
}

.builder-category-name {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.3;
}

.builder-selected-vendor {
    overflow: hidden;
    margin-bottom: 3px;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.builder-selected-service {
    overflow: hidden;
    margin-bottom: 12px;
    color: #777;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.builder-selected-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.builder-selected-price {
    color: #222;
    font-size: 14px;
    white-space: nowrap;
}

.builder-category-empty {
    margin-top: 8px;
    color: #888;
    font-size: 13px;
}

.builder-category.is-selected {
    background: #f8f8f8;
    border: 1.5px solid #222;
}

.builder-category.is-selected:hover {
    background: #f4f4f4;
}

@media (max-width: 767px) {

    .builder-category-full {
        min-height: 125px;
    }

    .builder-selected-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
.quantity-form {
    display: flex;
    gap: 7px;
    align-items: center;
}

.quantity-form .form-control {
    width: 90px;
    min-height: 38px;
}

.quantity-form .btn {
    min-width: 42px;
    min-height: 38px;
}

.selected-quantity-box > span {
    margin-top: 5px;
}
.vendor-account-section {
    padding: 60px 0 90px;
}

.vendor-form-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
}

.vendor-form-box h1 {
    font-size: 40px;
    font-weight: 700;
}

.vendor-account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.vendor-account-header h1 {
    margin: 5px 0;
    font-size: 40px;
    font-weight: 700;
}

.vendor-status {
    margin-bottom: 25px;
    padding: 16px 20px;
    border-radius: 14px;
    font-weight: 600;
}

.vendor-status-moderation {
    background: #fff8dd;
}

.vendor-status-published {
    background: #e9f8ef;
}

.vendor-status-rejected {
    background: #fdeaea;
}

.vendor-dashboard-card {
    height: 100%;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
}

.vendor-dashboard-card small,
.vendor-dashboard-card strong {
    display: block;
}

.vendor-dashboard-card small {
    margin-bottom: 8px;
    color: #888;
}

.vendor-dashboard-card strong {
    font-size: 21px;
}

.vendor-services-box {
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.vendor-services-box h2 {
    font-weight: 700;
}

.vendor-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.vendor-service-price {
    text-align: right;
    white-space: nowrap;
}

.vendor-service-price strong,
.vendor-service-price span {
    display: block;
}

.vendor-service-price span {
    margin-top: 3px;
    color: #888;
    font-size: 13px;
}

@media (max-width: 767px) {
    .vendor-form-box {
        padding: 25px;
    }

    .vendor-account-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .vendor-service-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .vendor-service-price {
        text-align: left;
    }
}
.dashboard-vendor-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 30px 35px;

    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.dashboard-vendor-box h2 {
    margin: 5px 0 8px;
    font-size: 24px;
    font-weight: 700;
}

.dashboard-vendor-box p {
    max-width: 650px;
    margin: 0;
    color: #777;
}

.dashboard-vendor-icon {
    margin-bottom: 5px;
    font-size: 30px;
}

@media (max-width: 767px) {

    .dashboard-vendor-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px;
    }

    .dashboard-vendor-box .btn {
        width: 100%;
    }

    .dashboard-vendor-box > div:last-child {
        width: 100%;
    }
}
.vendor-service-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.vendor-service-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.vendor-service-row.is-disabled {
    opacity: .55;
}

@media (max-width: 767px) {

    .vendor-service-right {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .vendor-service-actions {
        width: 100%;
    }
}
.vendor-gallery-box {
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.vendor-gallery-box h2 {
    font-weight: 700;
}

.vendor-photo-upload {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 15px;
}

.vendor-photo-upload > div {
    flex: 1;
}

.vendor-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.vendor-gallery-item {
    overflow: hidden;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
}

.vendor-gallery-image {
    position: relative;
    height: 190px;
    background: #f5f5f5;
}

.vendor-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-cover-badge {
    position: absolute;
    top: 10px;
    left: 10px;

    padding: 5px 9px;

    background: #111;
    border-radius: 50px;

    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.vendor-gallery-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    padding: 12px;
}

.vendor-gallery-empty {
    padding: 35px;
    background: #f8f8f8;
    border-radius: 15px;
    color: #777;
    text-align: center;
}

@media (max-width: 991px) {

    .vendor-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 767px) {

    .vendor-photo-upload {
        align-items: stretch;
        flex-direction: column;
    }

    .vendor-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 450px) {

    .vendor-gallery-grid {
        grid-template-columns: 1fr;
    }

}
.vendor-gallery-public {
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
}

.vendor-gallery-main {
    width: 100%;
    height: 500px;
    background: #f4f4f4;
}

.vendor-gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 14px;
    border-top: 1px solid #eee;
}

.vendor-gallery-thumb {
    flex: 0 0 90px;
    width: 90px;
    height: 70px;
    overflow: hidden;
    padding: 0;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
}

.vendor-gallery-thumb.active {
    border-color: #111;
}

.vendor-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-gallery-empty-public {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    background: #f5f5f5;
}

.vendor-gallery-empty-public span {
    font-size: 100px;
}

.vendor-public-info {
    padding: 32px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
}

.vendor-public-category {
    margin-bottom: 6px;
    color: #777;
    font-size: 14px;
    font-weight: 600;
}

.vendor-public-info h1 {
    margin-bottom: 10px;
    font-size: 40px;
    font-weight: 700;
}

.vendor-public-location {
    margin-bottom: 22px;
    color: #777;
}

.vendor-public-description {
    color: #555;
    font-size: 16px;
    line-height: 1.75;
}

.vendor-public-contacts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #eee;
}

.vendor-contact-button {
    padding: 10px 14px;
    background: #f5f5f5;
    border-radius: 10px;
    color: #222;
    text-decoration: none;
    transition: .2s;
}

.vendor-contact-button:hover {
    background: #e9e9e9;
    color: #000;
}

.sticky-vendor-box {
    position: sticky;
    top: 20px;
}

.sticky-vendor-box h3 {
    font-size: 22px;
    font-weight: 700;
}

.vendor-event-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.services-public-heading {
    margin-bottom: 25px;
}

.services-public-heading h2 {
    margin-bottom: 4px;
    font-size: 30px;
    font-weight: 700;
}

.services-public-heading p {
    margin: 0;
    color: #777;
}

.public-service-card {
    position: relative;
}

.service-selected-badge {
    display: inline-block;
    margin-bottom: 15px;
    padding: 6px 10px;
    background: #e9f8ef;
    border-radius: 50px;
    color: #198754;
    font-size: 12px;
    font-weight: 700;
}

.service-calculation {
    margin-bottom: 10px;
    color: #777;
    font-size: 13px;
}

.service-total span,
.service-total strong {
    display: block;
}

.service-total span {
    margin-bottom: 3px;
    color: #777;
    font-size: 12px;
}

.service-total strong {
    font-size: 20px;
}

@media (max-width: 991px) {

    .vendor-gallery-main {
        height: 420px;
    }

    .sticky-vendor-box {
        position: static;
    }
}

@media (max-width: 767px) {

    .vendor-gallery-main {
        height: 300px;
    }

    .vendor-public-info {
        padding: 22px;
    }

    .vendor-public-info h1 {
        font-size: 30px;
    }

    .vendor-gallery-thumb {
        flex-basis: 75px;
        width: 75px;
        height: 60px;
    }
}
.admin-section {
    padding: 60px 0 90px;
}

.admin-stat-card {
    display: block;
    height: 100%;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    color: #222;
    text-decoration: none;
}

.admin-stat-card:hover {
    color: #222;
    border-color: #bbb;
}

.admin-stat-card small,
.admin-stat-card strong {
    display: block;
}

.admin-stat-card small {
    margin-bottom: 8px;
    color: #888;
}

.admin-stat-card strong {
    font-size: 38px;
}

.admin-menu-box,
.admin-table-box,
.admin-vendor-detail,
.admin-moderation-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.admin-menu-box {
    padding: 30px;
}

.admin-menu-box h2 {
    margin-bottom: 20px;
    font-weight: 700;
}

.admin-menu-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-menu-list a {
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: 10px;
    color: #222;
    text-decoration: none;
}

.admin-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-table-box {
    overflow: hidden;
    padding: 10px 20px;
}

.admin-table-box .table {
    margin-bottom: 0;
}

.admin-table-box td,
.admin-table-box th {
    padding-top: 16px;
    padding-bottom: 16px;
}

.admin-vendor-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-vendor-cell img,
.admin-vendor-placeholder {
    width: 55px;
    height: 55px;
    border-radius: 10px;
}

.admin-vendor-cell img {
    object-fit: cover;
}

.admin-vendor-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    font-size: 24px;
}

.admin-vendor-cell strong,
.admin-vendor-cell small {
    display: block;
}

.admin-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.admin-status-moderation {
    background: #fff4ce;
}

.admin-status-published {
    background: #e7f7ed;
    color: #198754;
}

.admin-status-rejected {
    background: #fdeaea;
    color: #b42318;
}

.admin-status-blocked {
    background: #222;
    color: #fff;
}

.admin-vendor-detail {
    overflow: hidden;
}

.admin-vendor-cover {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.admin-vendor-detail-content {
    padding: 30px;
}

.admin-vendor-detail-content h2 {
    margin: 7px 0 20px;
    font-weight: 700;
}

.admin-info-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 10px 0;
}

.admin-service-row {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.admin-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-photo-grid img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
}

.admin-moderation-box {
    position: sticky;
    top: 20px;
    padding: 25px;
}

.admin-moderation-box h3 {
    margin-bottom: 20px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .admin-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-info-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .admin-moderation-box {
        position: static;
    }
}
.admin-current-comment {
    margin-bottom: 20px;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 12px;
}

.admin-current-comment small {
    display: block;
    margin-bottom: 5px;
    color: #888;
}

.admin-current-comment p {
    margin: 0;
}

.moderation-history-item {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.moderation-history-item:last-child {
    border-bottom: 0;
}

.moderation-history-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.moderation-history-top span {
    color: #888;
    font-size: 13px;
}

.moderation-history-admin {
    margin-top: 5px;
    color: #777;
    font-size: 13px;
}

.moderation-history-comment {
    margin-top: 10px;
    padding: 12px;
    background: #f7f7f7;
    border-radius: 10px;
}
.admin-moderation-action {
    padding: 18px 0;
    border-top: 1px solid #eee;
}

.admin-moderation-action:first-of-type {
    border-top: 0;
}

.admin-current-comment {
    margin-bottom: 20px;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 12px;
}

.admin-current-comment small {
    display: block;
    margin-bottom: 5px;
    color: #888;
}

.admin-current-comment p {
    margin: 0;
    line-height: 1.5;
}

.moderation-history-item {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.moderation-history-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.moderation-history-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.moderation-history-top span {
    color: #888;
    font-size: 13px;
    white-space: nowrap;
}

.moderation-history-admin {
    margin-top: 6px;
    color: #777;
    font-size: 13px;
}

.moderation-history-comment {
    margin-top: 10px;
    padding: 12px 15px;
    background: #f7f7f7;
    border-radius: 10px;
    line-height: 1.5;
}
.vendor-rating-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 15px;
}

.vendor-rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.vendor-rating-stars span {
    color: #d5d5d5;
    font-size: 20px;
    line-height: 1;
}

.vendor-rating-stars span.active {
    color: #f5b301;
}

.vendor-rating-summary > strong {
    font-size: 16px;
    font-weight: 700;
}

.vendor-rating-summary a {
    color: #777;
    text-decoration: none;
}

.vendor-rating-summary a:hover {
    color: #111;
    text-decoration: underline;
}
/* =========================================================
   ОТЗЫВЫ
========================================================= */

.vendor-reviews-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.vendor-reviews-heading {
    margin-bottom: 25px;
}

.vendor-reviews-heading h2 {
    margin: 0 0 15px;
    font-size: 30px;
    font-weight: 700;
}

.vendor-big-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vendor-big-rating > strong {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.vendor-big-rating small {
    display: block;
    margin-top: 4px;
    color: #888;
}


/* =========================================================
   ФОРМА ОТЗЫВА
========================================================= */

.review-form-box {
    max-width: 760px;
    margin-bottom: 35px;
    padding: 28px;

    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
}

.review-form-heading {
    margin-bottom: 25px;
}

.review-form-heading h3 {
    margin: 0 0 7px;
    font-size: 23px;
    font-weight: 700;
}

.review-form-heading p {
    margin: 0;
    color: #777;
    line-height: 1.6;
}


/* =========================================================
   ВЫБОР ЗВЁЗД
========================================================= */

.review-stars-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.review-stars-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-stars-input label {
    margin: 0;
    padding: 2px;

    color: #ddd;

    font-size: 38px;
    line-height: 1;

    cursor: pointer;

    transition:
        color .15s ease,
        transform .15s ease;
}

.review-stars-input label:hover {
    transform: scale(1.08);
}

.review-stars-input label:hover,
.review-stars-input label:hover ~ label,
.review-stars-input input:checked ~ label {
    color: #f5b301;
}

.review-rating-text {
    margin-top: 7px;
    color: #888;
    font-size: 13px;
}


/* =========================================================
   ПОДСКАЗКА
========================================================= */

.review-info-box {
    max-width: 760px;
    margin-bottom: 35px;
    padding: 20px 22px;

    background: #f7f7f7;
    border-radius: 15px;
}

.review-info-box strong {
    display: block;
    margin-bottom: 5px;
}

.review-info-box p {
    margin: 0;
    color: #777;
    line-height: 1.6;
}

.review-info-box .btn {
    margin-top: 12px;
}


/* =========================================================
   СПИСОК ОТЗЫВОВ
========================================================= */

.reviews-list {
    display: grid;
    gap: 15px;
}

.review-card {
    padding: 22px;

    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 17px;
}

.review-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    background: #111;
    border-radius: 50%;

    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.review-user strong {
    display: block;
}

.review-user small {
    display: block;
    margin-top: 2px;
    color: #999;
    font-size: 13px;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating span {
    color: #ddd;
    font-size: 18px;
    line-height: 1;
}

.review-rating span.active {
    color: #f5b301;
}

.review-comment {
    margin-top: 18px;

    color: #444;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   ПУСТЫЕ ОТЗЫВЫ
========================================================= */

.reviews-empty {
    padding: 40px 25px;

    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 18px;

    text-align: center;
}

.reviews-empty-icon {
    margin-bottom: 10px;

    color: #bbb;

    font-size: 45px;
    line-height: 1;
}

.reviews-empty h3 {
    margin-bottom: 6px;
    font-size: 20px;
}

.reviews-empty p {
    max-width: 450px;
    margin: 0 auto;

    color: #888;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .vendor-reviews-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .review-form-box {
        padding: 20px;
    }

    .review-card-top {
        flex-direction: column;
        gap: 12px;
    }

    .review-stars-input label {
        font-size: 34px;
    }

}
.admin-reviews-list {
    display: grid;
    gap: 15px;
}

.admin-review-card {
    padding: 22px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 17px;
}

.admin-review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.admin-review-vendor {
    font-size: 18px;
}

.admin-review-user {
    margin-top: 15px;
    font-weight: 600;
}

.admin-review-user small {
    display: block;
    margin-top: 2px;
    color: #888;
    font-weight: 400;
}

.admin-review-comment {
    margin-top: 15px;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 12px;
    line-height: 1.6;
}

.admin-review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
}

.admin-review-footer > small {
    color: #888;
}

@media (max-width: 576px) {

    .admin-review-top,
    .admin-review-footer {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* =========================================================
   ПАНЕЛЬ КАТАЛОГА
========================================================= */

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin: 25px 0;
}

.catalog-results-count {
    color: #777;
    font-size: 14px;
}

.catalog-results-count strong {
    color: #111;
    font-weight: 700;
}

.catalog-toolbar form {
    width: 220px;
}


/* =========================================================
   РЕЙТИНГ В КАРТОЧКЕ
========================================================= */

.vendor-card-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;

    min-height: 22px;
    margin: 7px 0 8px;

    font-size: 13px;
}

.vendor-card-rating-star {
    color: #f5b301;
    font-size: 18px;
    line-height: 1;
}

.vendor-card-rating strong {
    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.vendor-card-reviews {
    color: #888;
}

.vendor-card-no-reviews {
    color: #aaa;
}


/* =========================================================
   ЦЕНЫ
========================================================= */

.vendor-price-empty {
    color: #888;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .catalog-toolbar form {
        width: 100%;
    }

}
.catalog-filter-box {
    margin-bottom: 20px;
    padding: 22px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
}

.catalog-filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.vendor-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vendor-title-row h1 {
    margin-bottom: 0;
}

.vendor-favorite-form {
    margin: 0;
}

.vendor-favorite-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    padding: 0;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50%;

    color: #222;
    font-size: 28px;
    line-height: 1;

    text-decoration: none;
    cursor: pointer;

    transition: .2s ease;
}

.vendor-favorite-button:hover {
    border-color: #111;
    color: #222;
    transform: scale(1.05);
}

.vendor-favorite-button.is-active {
    color: #dc3545;
}

@media (max-width: 576px) {
    .vendor-title-row {
        align-items: flex-start;
    }
}
/* =========================================================
   ИЗБРАННОЕ
========================================================= */

.favorites-section {
    padding: 40px 0 70px;
}

.favorites-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 25px 0;

    color: #777;
}

.favorites-toolbar strong {
    color: #111;
}

.favorite-vendor-card {
    height: 100%;
}

.favorite-image-wrapper {
    position: relative;
}

.favorite-remove-form {
    position: absolute;
    top: 12px;
    right: 12px;

    margin: 0;

    z-index: 5;
}

.favorite-remove-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    background: rgba(255, 255, 255, .95);
    border: 0;
    border-radius: 50%;

    color: #dc3545;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .12);

    transition: .2s ease;
}

.favorite-remove-button:hover {
    transform: scale(1.08);
}

.favorite-category {
    margin-bottom: 5px;

    color: #777;
    font-size: 13px;
    font-weight: 600;
}

.favorite-address {
    margin-bottom: 10px;

    color: #777;
    font-size: 13px;
}
.selected-order-box {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.selected-order-form textarea {
    resize: vertical;
}

.order-status-box {
    padding: 16px;
    background: #f7f7f7;
    border-radius: 12px;
}

.order-status-label {
    margin-bottom: 4px;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
}

.order-status-value {
    display: block;
    font-size: 17px;
}

.order-status-new {
    color: #b77900;
}

.order-status-accepted,
.order-status-completed {
    color: #198754;
}

.order-status-rejected,
.order-status-cancelled {
    color: #dc3545;
}

.order-vendor-comment {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ddd;
}

.order-vendor-comment small {
    display: block;
    margin-bottom: 5px;
    color: #888;
}
.account-orders-section {
    padding: 40px 0 70px;
}

.client-orders-list {
    display: grid;
    gap: 18px;
}

.client-order-card {
    display: grid;
    grid-template-columns: 190px 1fr;

    overflow: hidden;

    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.client-order-vendor {
    min-height: 250px;
    background: #f5f5f5;
}

.client-order-vendor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-order-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    min-height: 250px;

    font-size: 60px;
}

.client-order-content {
    padding: 25px;
}

.client-order-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.client-order-top h2 {
    margin: 3px 0;
    font-size: 23px;
    font-weight: 700;
}

.client-order-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;

    margin-top: 20px;
}

.client-order-info > div {
    padding: 12px;
    background: #f7f7f7;
    border-radius: 10px;
}

.client-order-info small,
.client-order-info strong {
    display: block;
}

.client-order-info small {
    margin-bottom: 3px;
    color: #888;
}

.client-order-response {
    margin-top: 18px;
    padding: 15px;

    background: #f7f7f7;
    border-radius: 12px;
}

.client-order-response small {
    display: block;
    margin-bottom: 5px;
    color: #888;
}

.client-order-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;

    margin-top: 20px;
}

.order-badge {
    display: inline-block;
    padding: 6px 10px;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;
}

.order-badge-new {
    background: #fff4ce;
    color: #9a6700;
}

.order-badge-accepted {
    background: #e7f7ed;
    color: #198754;
}

.order-badge-rejected {
    background: #fdeaea;
    color: #dc3545;
}

.order-badge-completed {
    background: #e7f7ed;
    color: #198754;
}

.order-badge-cancelled {
    background: #eee;
    color: #777;
}

@media (max-width: 991px) {

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

}

@media (max-width: 767px) {

    .client-order-card {
        display: block;
    }

    .client-order-vendor {
        height: 220px;
        min-height: 220px;
    }

    .client-order-top {
        flex-direction: column;
    }

}

@media (max-width: 480px) {

    .client-order-info {
        grid-template-columns: 1fr;
    }

}
.notifications-list {
    display: grid;
    gap: 12px;
}

.notification-card {
    position: relative;

    display: flex;
    gap: 15px;

    padding: 18px 20px;

    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;

    color: #222;
    text-decoration: none;
}

.notification-card:hover {
    color: #222;
    border-color: #ccc;
}

.notification-card.is-unread {
    background: #fffdf4;
}

.notification-icon {
    flex: 0 0 42px;

    font-size: 28px;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
}

.notification-message {
    margin-top: 4px;

    color: #666;
    line-height: 1.5;
}

.notification-date {
    margin-top: 7px;

    color: #999;
    font-size: 12px;
}

.notification-dot {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 9px;
    height: 9px;

    background: #dc3545;
    border-radius: 50%;
}
.header-notifications {
    position: relative;
}

.header-notification-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 50%;

    cursor: pointer;

    transition: .2s ease;
}

.header-notification-button:hover {
    border-color: #111;
}

.header-notification-icon {
    font-size: 20px;
    line-height: 1;
}

.header-notification-count {
    position: absolute;

    top: -5px;
    right: -6px;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    padding: 0 5px;

    background: #dc3545;
    border: 2px solid #fff;
    border-radius: 20px;

    color: #fff;

    font-size: 10px;
    font-weight: 700;
}

.header-notification-dropdown {
    width: 380px;

    padding: 0;

    overflow: hidden;

    border: 1px solid #eee;
    border-radius: 16px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, .12);
}

.header-notification-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;

    border-bottom: 1px solid #eee;
}

.header-notification-heading strong {
    font-size: 16px;
}

.header-notification-heading span {
    color: #888;
    font-size: 12px;
}

.header-notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.header-notification-item {
    position: relative;

    display: flex;
    gap: 12px;

    padding: 14px 18px;

    color: #222;
    text-decoration: none;

    border-bottom: 1px solid #f2f2f2;

    transition: .15s ease;
}

.header-notification-item:hover {
    color: #222;
    background: #f8f8f8;
}

.header-notification-item.is-unread {
    background: #fffdf4;
}

.header-notification-item.is-unread:hover {
    background: #fff9df;
}

.header-notification-item-icon {
    flex: 0 0 34px;

    font-size: 23px;
}

.header-notification-item-content {
    min-width: 0;
    flex: 1;
}

.header-notification-item-content strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;
}

.header-notification-item-content p {
    margin: 0 0 5px;

    color: #666;

    font-size: 12px;
    line-height: 1.4;
}

.header-notification-item-content small {
    color: #aaa;
    font-size: 11px;
}

.header-notification-unread {
    position: absolute;

    top: 17px;
    right: 10px;

    width: 7px;
    height: 7px;

    background: #dc3545;
    border-radius: 50%;
}

.header-notification-empty {
    padding: 30px 20px;

    color: #888;
    text-align: center;
}

.header-notification-footer {
    padding: 12px;

    text-align: center;

    border-top: 1px solid #eee;
}

.header-notification-footer a {
    color: #111;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

@media (max-width: 991px) {

    .header-notifications {
        margin-top: 8px;
        margin-bottom: 8px;
    }

}

@media (max-width: 576px) {

    .header-notification-dropdown {
        width: 310px;
        max-width: calc(100vw - 20px);
    }

}
/* =========================================================
   ДАТА ТОЯ В КАТАЛОГЕ
========================================================= */

.catalog-event-date-info {
    display: flex;
    align-items: center;
    gap: 14px;

    margin: 20px 0;
    padding: 16px 18px;

    background: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 15px;
}

.catalog-event-date-icon {
    font-size: 28px;
}

.catalog-event-date-info strong {
    display: block;
    margin-bottom: 2px;
}

.catalog-event-date-info div div {
    color: #777;
    font-size: 13px;
}


/* =========================================================
   ДОСТУПНОСТЬ ИСПОЛНИТЕЛЯ
========================================================= */

.vendor-image {
    position: relative;
}

.vendor-availability-badge {
    position: absolute;
    top: 12px;
    left: 12px;

    padding: 7px 11px;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .12);
}

.vendor-availability-badge.is-available {
    background: #e8f7ed;
    color: #198754;
}

.vendor-availability-badge.is-busy {
    background: #fdecec;
    color: #dc3545;
}


/* =========================================================
   СТАТУС ПОД ГОРОДОМ
========================================================= */

.vendor-date-status {
    display: flex;
    align-items: center;
    gap: 6px;

    margin: 8px 0;

    font-size: 13px;
}

.vendor-date-status strong {
    font-size: 13px;
}

.vendor-date-status span {
    color: #777;
}

.vendor-date-status.is-available strong {
    color: #198754;
}

.vendor-date-status.is-busy strong {
    color: #dc3545;
}

.vendor-busy-reason {
    margin: -2px 0 8px;

    color: #888;
    font-size: 12px;
}


/* =========================================================
   ЗАНЯТАЯ КАРТОЧКА
========================================================= */

.vendor-card-busy {
    opacity: .85;
}

.vendor-card-busy .vendor-image img {
    filter: grayscale(20%);
}
/* =========================================================
   МОЙ ТОЙ — VISUAL SYSTEM V2
   Только оформление. Бизнес-логика проекта не изменяется.
========================================================= */

:root {
    --toy-bg: #f5f6fa;
    --toy-surface: #ffffff;
    --toy-surface-soft: #fafaff;
    --toy-text: #171a2b;
    --toy-muted: #6f7385;
    --toy-border: #e8e9f2;
    --toy-brand: #6c4cff;
    --toy-brand-dark: #5536e8;
    --toy-brand-soft: #f0edff;
    --toy-accent: #ffb547;
    --toy-success: #20a46b;
    --toy-danger: #e65262;
    --toy-radius-sm: 12px;
    --toy-radius: 18px;
    --toy-radius-lg: 26px;
    --toy-shadow-sm: 0 8px 24px rgba(23, 26, 43, .06);
    --toy-shadow: 0 18px 50px rgba(23, 26, 43, .09);
    --toy-shadow-brand: 0 14px 34px rgba(108, 76, 255, .24);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 0%, rgba(108, 76, 255, .07), transparent 28rem),
        radial-gradient(circle at 92% 18%, rgba(255, 181, 71, .07), transparent 24rem),
        var(--toy-bg);
    color: var(--toy-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

main {
    min-height: calc(100vh - 170px);
}

a {
    color: var(--toy-brand);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--toy-brand-dark);
}

::selection {
    background: rgba(108, 76, 255, .18);
}

/* ---------- HEADER ---------- */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1035;
    border-bottom: 1px solid rgba(232, 233, 242, .82);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.main-header .navbar {
    min-height: 78px;
    padding: 10px 0;
    background: transparent !important;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--toy-text) !important;
    font-size: 23px;
    font-weight: 800 !important;
    letter-spacing: -.6px;
}

.navbar-brand::before {
    content: "Т";
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--toy-brand), #9a65ff);
    color: #fff;
    font-size: 19px;
    line-height: 1;
    box-shadow: 0 9px 22px rgba(108, 76, 255, .25);
}

.main-header .nav-link {
    position: relative;
    padding: 10px 12px !important;
    border-radius: 11px;
    color: #52566a;
    font-size: 14px;
    font-weight: 650;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.main-header .nav-link:hover {
    color: var(--toy-text);
    background: var(--toy-brand-soft);
    transform: translateY(-1px);
}

.navbar-toggler {
    border: 1px solid var(--toy-border);
    border-radius: 12px;
    padding: 8px 10px;
    box-shadow: none !important;
}

/* ---------- BUTTONS ---------- */

.btn {
    --bs-btn-font-weight: 700;
    border-radius: 13px;
    padding: 10px 17px;
    letter-spacing: -.1px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-dark,
.btn-primary {
    border-color: var(--toy-brand) !important;
    background: linear-gradient(135deg, var(--toy-brand), #8b5cff) !important;
    color: #fff !important;
    box-shadow: 0 9px 22px rgba(108, 76, 255, .18);
}

.btn-dark:hover,
.btn-primary:hover {
    border-color: var(--toy-brand-dark) !important;
    background: linear-gradient(135deg, var(--toy-brand-dark), #7448ef) !important;
    box-shadow: var(--toy-shadow-brand);
}

.btn-outline-dark,
.btn-outline-secondary {
    border-color: #d9dbe7;
    background: #fff;
    color: #343749;
}

.btn-outline-dark:hover,
.btn-outline-secondary:hover {
    border-color: #c7c9d8;
    background: #f6f5ff;
    color: var(--toy-text);
}

.btn-outline-danger {
    border-color: #f1c9ce;
    background: #fff;
    color: #c84351;
}

.btn-success {
    border-color: var(--toy-success);
    background: var(--toy-success);
}

.btn-lg {
    min-height: 52px;
    padding: 13px 24px;
    border-radius: 15px;
    font-size: 16px;
}

.btn-sm {
    border-radius: 10px;
    padding: 7px 11px;
}

/* ---------- HOME HERO ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 74px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,247,255,.98));
    border-bottom: 1px solid var(--toy-border);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(2px);
}

.hero::before {
    width: 390px;
    height: 390px;
    top: -210px;
    right: -90px;
    background: radial-gradient(circle, rgba(108, 76, 255, .17), rgba(108, 76, 255, 0) 68%);
}

.hero::after {
    width: 300px;
    height: 300px;
    bottom: -190px;
    left: -80px;
    background: radial-gradient(circle, rgba(255, 181, 71, .16), rgba(255, 181, 71, 0) 68%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    align-items: center;
    gap: 64px;
}

.hero-copy {
    text-align: left;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 12px;
    border: 1px solid #dfdcff;
    border-radius: 999px;
    background: var(--toy-brand-soft);
    color: var(--toy-brand-dark);
    font-size: 13px;
    font-weight: 800;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    color: #151729;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -2.7px;
}

.hero-title-accent {
    color: var(--toy-brand);
}

.hero-description {
    max-width: 650px;
    margin: 0 0 30px;
    color: var(--toy-muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
    color: #777b8c;
    font-size: 13px;
    font-weight: 600;
}

.hero-trust span::before {
    content: "✓";
    display: inline-block;
    margin-right: 6px;
    color: var(--toy-success);
    font-weight: 900;
}

.hero-visual {
    position: relative;
}

.hero-planner-card {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(224, 222, 241, .9);
    border-radius: 28px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 32px 80px rgba(50, 40, 103, .14);
    transform: rotate(1.2deg);
}

.hero-planner-card::before {
    content: "";
    position: absolute;
    inset: -14px 22px auto;
    height: 20px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, rgba(108,76,255,.12), rgba(255,181,71,.12));
    z-index: -1;
}

.hero-planner-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.hero-planner-head strong {
    display: block;
    font-size: 20px;
    letter-spacing: -.4px;
}

.hero-planner-head small {
    color: var(--toy-muted);
}

.hero-planner-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 16px 0 24px;
}

.hero-planner-progress span {
    height: 7px;
    border-radius: 99px;
    background: #eeeef5;
}

.hero-planner-progress span:nth-child(1),
.hero-planner-progress span:nth-child(2) {
    background: linear-gradient(90deg, var(--toy-brand), #9c72ff);
}

.hero-mini-service {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 0;
    border-top: 1px solid #efeff5;
}

.hero-mini-service:first-of-type {
    border-top: 0;
}

.hero-mini-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #f6f4ff;
    font-size: 20px;
}

.hero-mini-service strong {
    display: block;
    font-size: 14px;
}

.hero-mini-service small {
    color: var(--toy-muted);
    font-size: 12px;
}

.hero-mini-price {
    margin-left: auto;
    color: var(--toy-text);
    font-size: 13px;
    font-weight: 800;
}

.hero-budget-pill {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding: 15px 17px;
    border-radius: 16px;
    background: #171a2b;
    color: #fff;
}

.hero-budget-pill span {
    color: #bfc2cf;
    font-size: 12px;
}

.hero-budget-pill strong {
    font-size: 17px;
}

/* ---------- SECTION HEADINGS ---------- */

.categories,
.catalog-section,
.account-section,
.my-events-section,
.event-form-section,
.event-builder-section,
.vendor-account-section,
.admin-section,
.favorites-section,
.account-orders-section,
.services-section,
.vendor-page {
    padding-top: 58px;
    padding-bottom: 78px;
}

.section-title,
.page-heading h1,
.account-header h1,
.vendor-account-header h1,
.event-builder-header h1 {
    color: var(--toy-text);
    font-weight: 830;
    letter-spacing: -1px;
}

.section-title {
    margin-bottom: 34px;
    font-size: clamp(28px, 3vw, 38px);
}

.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.page-heading h1 {
    margin: 3px 0 0;
    font-size: clamp(30px, 4vw, 42px);
}

.text-muted {
    color: var(--toy-muted) !important;
}

/* ---------- CATEGORY CARDS ---------- */

.categories {
    background: transparent;
}

.category-card,
.catalog-category-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 24px 20px;
    border: 1px solid var(--toy-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    color: var(--toy-text);
    box-shadow: var(--toy-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-card::after,
.catalog-category-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    top: -58px;
    right: -58px;
    border-radius: 50%;
    background: rgba(108, 76, 255, .08);
    transition: transform .25s ease;
}

.category-card:hover,
.catalog-category-card:hover {
    color: var(--toy-text);
    border-color: #d8d4ff;
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(36, 31, 74, .11);
}

.category-card:hover::after,
.catalog-category-card:hover::after {
    transform: scale(1.35);
}

.category-icon,
.catalog-category-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 17px;
    background: linear-gradient(145deg, #f5f2ff, #fff7e9);
    font-size: 29px;
}

.category-card h3,
.catalog-category-card h2 {
    color: var(--toy-text);
    font-weight: 760;
    letter-spacing: -.3px;
}

/* ---------- HOW IT WORKS ---------- */

.how-it-works {
    padding: 74px 0;
    border-top: 1px solid var(--toy-border);
    background: rgba(255, 255, 255, .7);
}

.step-card {
    height: 100%;
    padding: 30px 26px;
    border: 1px solid transparent;
    border-radius: 22px;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.step-card:hover {
    border-color: var(--toy-border);
    background: #fff;
    transform: translateY(-3px);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--toy-brand), #9a65ff);
    box-shadow: 0 10px 24px rgba(108, 76, 255, .20);
}

.step-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: 760;
}

/* ---------- FORMS ---------- */

.auth-box,
.event-form-box,
.vendor-form-box,
.review-form-box,
.catalog-filter-box,
.admin-moderation-box,
.budget-sidebar,
.sticky-vendor-box {
    border: 1px solid var(--toy-border);
    border-radius: var(--toy-radius-lg);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--toy-shadow-sm);
}

.auth-box,
.event-form-box,
.vendor-form-box {
    padding: 34px;
}

.auth-title {
    color: var(--toy-text);
    font-weight: 830;
    letter-spacing: -1px;
}

.form-label {
    margin-bottom: 7px;
    color: #34374a;
    font-size: 13px;
    font-weight: 750;
}

.form-control,
.form-select {
    min-height: 48px;
    border: 1px solid #dfe1eb;
    border-radius: 13px;
    background-color: #fff;
    color: var(--toy-text);
    box-shadow: 0 1px 2px rgba(23, 26, 43, .02);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #9e8cff;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(108, 76, 255, .11);
}

textarea.form-control {
    min-height: 115px;
}

.form-text {
    color: #8b8e9d;
}

/* ---------- GENERIC CARDS ---------- */

.dashboard-card,
.event-card,
.vendor-dashboard-card,
.vendor-card,
.favorite-vendor-card,
.client-order-card,
.review-card,
.admin-stat-card,
.admin-review-card,
.vendor-detail-card,
.selected-vendor-card,
.public-service-card,
.service-card,
.builder-category,
.notification-card,
.order-status-box,
.review-info-box,
.event-context-box,
.budget-event-info,
.selected-package,
.vendor-services-box,
.vendor-gallery-box,
.admin-vendor-detail,
.admin-menu-box,
.admin-table-box {
    border-color: var(--toy-border) !important;
    border-radius: var(--toy-radius) !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: var(--toy-shadow-sm);
}

.dashboard-card,
.vendor-dashboard-card,
.admin-stat-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.dashboard-card:hover,
.vendor-dashboard-card:hover,
.admin-stat-card:hover {
    border-color: #dcd8ff !important;
    transform: translateY(-3px);
    box-shadow: var(--toy-shadow);
}

.dashboard-number {
    color: var(--toy-brand);
    font-weight: 850;
    letter-spacing: -1.5px;
}

.dashboard-icon,
.vendor-dashboard-card .dashboard-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--toy-brand-soft);
}

.dashboard-link {
    color: var(--toy-brand);
    font-weight: 700;
    text-decoration: none;
}

.dashboard-create,
.dashboard-vendor-box {
    border: 1px solid #dfdcff;
    border-radius: 24px;
    background:
        radial-gradient(circle at 95% 0%, rgba(108,76,255,.10), transparent 280px),
        #fff;
    box-shadow: var(--toy-shadow-sm);
}

/* ---------- VENDOR / CATALOG ---------- */

.vendor-card {
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--toy-shadow);
}

.vendor-image,
.favorite-image-wrapper,
.client-order-placeholder,
.vendor-detail-image,
.selected-vendor-image {
    overflow: hidden;
    background: linear-gradient(145deg, #eeecf8, #f8f5ef);
}

.vendor-image img,
.favorite-image-wrapper img,
.vendor-detail-image img,
.selected-vendor-image img,
.vendor-gallery-image img,
.vendor-gallery-thumb img {
    transition: transform .35s ease;
}

.vendor-card:hover .vendor-image img,
.favorite-vendor-card:hover .favorite-image-wrapper img {
    transform: scale(1.035);
}

.vendor-price,
.vendor-service-price,
.service-price,
.selected-total-price,
.budget-total {
    color: var(--toy-text);
    font-weight: 850;
    letter-spacing: -.4px;
}

.vendor-card-rating-star,
.vendor-rating-stars,
.review-rating {
    color: #f5a524;
}

.vendor-availability-badge {
    border: 1px solid rgba(255,255,255,.72);
    backdrop-filter: blur(10px);
}

.vendor-availability-badge.is-available {
    background: rgba(232, 247, 237, .94);
}

.vendor-availability-badge.is-busy {
    background: rgba(253, 236, 236, .94);
}

.catalog-toolbar,
.order-filters,
.favorites-toolbar {
    border-radius: 16px;
}

/* ---------- EVENT BUILDER ---------- */

.event-builder-header {
    margin-bottom: 30px;
}

.event-builder-meta,
.catalog-event-date-info {
    border: 1px solid var(--toy-border);
    border-radius: 16px;
    background: rgba(255,255,255,.85);
}

.builder-category {
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.builder-category:hover {
    border-color: #dcd8ff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(23,26,43,.08);
}

.builder-category-icon {
    background: var(--toy-brand-soft);
    border-radius: 14px;
}

.budget-progress-info {
    color: var(--toy-muted);
}

.progress {
    overflow: hidden;
    height: 9px;
    border-radius: 99px;
    background: #ececf3;
}

.progress-bar {
    background: linear-gradient(90deg, var(--toy-brand), #a06dff);
}

/* ---------- STATUS / BADGES ---------- */

.badge,
.order-badge,
.vendor-status,
.admin-status,
.service-selected-badge {
    border-radius: 999px !important;
    font-weight: 750;
}

.order-badge-new,
.order-status-new,
.vendor-status-moderation,
.admin-status-moderation {
    background: #fff6dc !important;
    color: #9b6a00 !important;
}

.order-badge-accepted,
.order-status-accepted,
.vendor-status-published,
.admin-status-published {
    background: #e9f8ef !important;
    color: #18784d !important;
}

.order-badge-rejected,
.order-status-rejected,
.vendor-status-rejected,
.admin-status-rejected,
.admin-status-blocked {
    background: #fdecef !important;
    color: #bd3f4d !important;
}

.order-badge-completed,
.order-status-completed {
    background: #eeeaff !important;
    color: #5a3ed2 !important;
}

.order-badge-cancelled,
.order-status-cancelled {
    background: #f0f1f4 !important;
    color: #666a76 !important;
}

/* ---------- ALERTS ---------- */

.alert {
    border-width: 1px;
    border-radius: 15px;
    padding: 14px 16px;
}

.alert-success {
    border-color: #ccebd9;
    background: #edf9f2;
    color: #17673f;
}

.alert-danger {
    border-color: #f0cfd3;
    background: #fff1f3;
    color: #a93744;
}

.alert-warning {
    border-color: #f0dfad;
    background: #fff9e7;
    color: #86600b;
}

.alert-secondary,
.alert-light {
    border-color: var(--toy-border);
    background: #fafafd;
    color: #626676;
}

/* ---------- TABLES / ADMIN ---------- */

.table {
    --bs-table-bg: transparent;
    --bs-table-border-color: #ececf2;
    margin-bottom: 0;
    color: var(--toy-text);
}

.table > :not(caption) > * > * {
    padding: 14px 16px;
}

.table thead th {
    border-bottom-width: 1px;
    background: #fafafd;
    color: #707485;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .45px;
    text-transform: uppercase;
}

.table tbody tr {
    transition: background .15s ease;
}

.table tbody tr:hover {
    background: #fbfaff;
}

.admin-info-row,
.order-info-row,
.vendor-event-row,
.budget-row {
    border-color: #eeeef4 !important;
}

/* ---------- NOTIFICATIONS ---------- */

.header-notification-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--toy-border);
    border-radius: 13px;
    background: #fff;
    transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.header-notification-button:hover {
    border-color: #d8d4ff;
    background: var(--toy-brand-soft);
    transform: translateY(-1px);
}

.header-notification-count {
    border: 2px solid #fff;
    background: var(--toy-danger);
}

.header-notification-dropdown {
    overflow: hidden;
    margin-top: 10px !important;
    border: 1px solid var(--toy-border);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(23, 26, 43, .15);
}

.header-notification-item.is-unread {
    background: #f9f7ff;
}

.header-notification-item.is-unread:hover {
    background: #f4f1ff;
}

.header-notification-unread,
.notification-dot {
    background: var(--toy-brand);
}

.notification-card {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.notification-card:hover {
    transform: translateY(-2px);
    border-color: #d9d5ff !important;
    box-shadow: 0 14px 34px rgba(23,26,43,.08);
}

/* ---------- EMPTY STATES ---------- */

.empty-state,
.empty-selected-services,
.reviews-empty,
.vendor-gallery-empty,
.vendor-gallery-empty-public {
    border: 1px dashed #d8d9e5;
    border-radius: 20px;
    background: rgba(255,255,255,.65);
}

.empty-state-icon,
.empty-selected-icon,
.reviews-empty-icon {
    filter: saturate(.75);
}

/* ---------- FOOTER ---------- */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 52px 0 34px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: #171927;
    color: #aeb1c0;
}

.site-footer::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -180px;
    top: -240px;
    border-radius: 50%;
    background: rgba(108, 76, 255, .15);
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.footer-brand::before {
    content: "Т";
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--toy-brand), #9662ff);
    font-size: 16px;
}

.footer-description {
    max-width: 460px;
    margin: 14px 0 0;
    color: #9397a8;
    line-height: 1.65;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: #d5d7df;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #777b8c;
    font-size: 13px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 991px) {
    .main-header .navbar-collapse {
        margin-top: 10px;
        padding: 14px;
        border: 1px solid var(--toy-border);
        border-radius: 18px;
        background: rgba(255,255,255,.98);
        box-shadow: var(--toy-shadow);
    }

    .main-header .navbar-nav {
        align-items: stretch !important;
    }

    .main-header .nav-link {
        padding: 11px 12px !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero h1,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        width: min(100%, 560px);
        margin: 0 auto;
    }

    .footer-links {
        justify-content: flex-start;
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 56px 0 54px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 16px;
    }

    .categories,
    .catalog-section,
    .account-section,
    .my-events-section,
    .event-form-section,
    .event-builder-section,
    .vendor-account-section,
    .admin-section,
    .favorites-section,
    .account-orders-section,
    .services-section,
    .vendor-page {
        padding-top: 40px;
        padding-bottom: 58px;
    }

    .page-heading,
    .account-header,
    .vendor-account-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-box,
    .event-form-box,
    .vendor-form-box {
        padding: 24px;
    }

    .dashboard-card {
        min-height: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .main-header .navbar {
        min-height: 68px;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .navbar-brand::before {
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }

    .hero h1 {
        font-size: 37px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        gap: 10px 16px;
    }

    .hero-planner-card {
        padding: 18px;
        border-radius: 22px;
        transform: none;
    }

    .category-card,
    .catalog-category-card {
        padding: 19px 13px;
        border-radius: 17px;
    }

    .category-icon,
    .catalog-category-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 13px;
        border-radius: 14px;
        font-size: 25px;
    }

    .category-card h3,
    .catalog-category-card h2 {
        font-size: 15px;
    }
}

/* ================================================================
   МОЙ ТОЙ — PLATFORM V2
   Planner / trust / chat / legal / stats / monetization foundations
   ================================================================ */

.platform-warning {
    padding: 18px 20px;
    border: 1px solid #f4d38a;
    border-radius: 18px;
    background: #fffaf0;
    color: #694b12;
    line-height: 1.6;
}

.platform-warning.compact {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
}

.platform-warning a {
    color: inherit;
    font-weight: 700;
}

.planner-page,
.chat-page,
.legal-page {
    padding: 46px 0 72px;
}

.planner-heading {
    margin-bottom: 28px;
}

.planner-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.planner-summary-card {
    min-height: 150px;
    padding: 22px;
    border: 1px solid #e9e9ef;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(17, 24, 39, .055);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.planner-summary-card span {
    color: #777b88;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.planner-summary-card strong {
    margin: 7px 0 4px;
    color: #171a22;
    font-size: 28px;
    line-height: 1.1;
}

.planner-summary-card small {
    color: #8a8e99;
}

.planner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.planner-card {
    padding: 26px;
    border: 1px solid #e8e9ee;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 44px rgba(17, 24, 39, .055);
}

.planner-card h2 {
    margin: 0 0 5px;
    font-size: 21px;
}

.planner-card-head p,
.planner-card > p {
    color: #858894;
}

.planner-inline-form,
.planner-expense-form,
.planner-guest-form {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(140px, .8fr) auto;
    gap: 10px;
    margin: 18px 0 22px;
}

.planner-expense-form {
    grid-template-columns: 1.4fr 1fr .8fr .8fr auto;
}

.planner-guest-form {
    grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
}

.planner-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.planner-task,
.planner-expense-row,
.planner-guest-row,
.report-row {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #ececf1;
    border-radius: 16px;
    background: #fbfbfd;
}

.planner-task > div:first-child,
.planner-expense-row > div:first-child,
.planner-guest-row > div:first-child,
.report-row > div:first-child {
    min-width: 0;
    flex: 1;
}

.planner-task strong,
.planner-expense-row strong,
.planner-guest-row strong {
    display: block;
}

.planner-task small,
.planner-expense-row small,
.planner-guest-row small {
    display: block;
    margin-top: 3px;
    color: #8b8e99;
}

.planner-task.is-done {
    opacity: .68;
    background: #f3fbf6;
}

.planner-task.is-done strong {
    text-decoration: line-through;
}

.planner-money {
    display: flex;
    flex-direction: column;
    text-align: right;
    white-space: nowrap;
}

.planner-money span {
    color: #858894;
    font-size: 13px;
}

.planner-guest-status {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.planner-guest-status.status-confirmed {
    background: #e8f8ed;
    color: #19733a;
}

.planner-guest-status.status-declined {
    background: #fff0f0;
    color: #b32d2d;
}

.planner-guest-status.status-invited {
    background: #f0f2f7;
    color: #656978;
}

.planner-empty {
    padding: 22px;
    border: 1px dashed #dcdde4;
    border-radius: 16px;
    color: #8a8d98;
    text-align: center;
    background: #fbfbfc;
}

.planner-note-readonly {
    min-height: 160px;
    padding: 18px;
    border-radius: 16px;
    background: #f8f8fb;
    line-height: 1.7;
}

.shared-event-card {
    display: block;
    height: 100%;
    padding: 22px;
    border: 1px solid #e8e9ef;
    border-radius: 20px;
    background: #fff;
    color: #171a22;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(17, 24, 39, .045);
    transition: .2s ease;
}

.shared-event-card:hover {
    color: #171a22;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(17, 24, 39, .08);
}

.shared-event-card small {
    color: #6c5ce7;
    font-weight: 800;
}

.shared-event-card h2 {
    margin: 8px 0;
    font-size: 20px;
}

/* Chat */
.chat-shell {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e7e8ee;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(17, 24, 39, .06);
}

.chat-messages {
    min-height: 360px;
    max-height: 620px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: #f7f8fb;
}

.chat-message {
    max-width: 72%;
    padding: 12px 14px 9px;
    border-radius: 18px;
    line-height: 1.55;
}

.chat-message.is-mine {
    margin-left: auto;
    border-bottom-right-radius: 5px;
    background: #171a22;
    color: #fff;
}

.chat-message.is-other {
    margin-right: auto;
    border: 1px solid #e4e5eb;
    border-bottom-left-radius: 5px;
    background: #fff;
    color: #252832;
}

.chat-author {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 800;
    opacity: .72;
}

.chat-message small {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    opacity: .62;
}

.chat-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 18px;
    border-top: 1px solid #e8e9ef;
}

/* Trust / verification */
.vendor-trust-badges {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f1f2f5;
    color: #555967;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    vertical-align: middle;
}

.trust-badge.verified {
    background: #e8f8ed;
    color: #14723a;
}

.trust-badge.pro {
    background: #171a22;
    color: #fff;
}

.vendor-terms-card {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #e7e8ee;
    border-radius: 18px;
    background: #fafbfc;
}

.vendor-terms-card h3 {
    margin-bottom: 12px;
    font-size: 17px;
}

.vendor-terms-card > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border-bottom: 1px solid #ececf1;
}

.vendor-terms-card > div span {
    color: #7d818d;
}

.vendor-terms-card p {
    margin: 13px 0 0;
    color: #555966;
}

.vendor-report-box {
    padding: 16px 18px;
    border: 1px solid #ececf1;
    border-radius: 18px;
    background: #fff;
}

.vendor-report-box summary {
    cursor: pointer;
    color: #8b3b3b;
    font-weight: 700;
}

.vendor-review-reply {
    margin-top: 14px;
    padding: 14px 16px;
    border-left: 3px solid #171a22;
    border-radius: 0 14px 14px 0;
    background: #f5f6f8;
}

.vendor-review-reply strong {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

/* Legal */
.legal-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 38px;
    border: 1px solid #e7e8ed;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(17, 24, 39, .055);
}

.legal-card h1 {
    margin: 6px 0 22px;
}

.legal-card h2 {
    margin: 28px 0 9px;
    font-size: 20px;
}

.legal-card p {
    color: #555966;
    line-height: 1.75;
}

.legal-lead {
    padding: 18px;
    border-radius: 18px;
    background: #f7f7fa;
    font-size: 16px;
}

/* Notification settings */
.notification-settings-card {
    max-width: 820px;
}

.settings-toggle {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #ececf1;
}

.settings-toggle input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.settings-toggle strong,
.settings-toggle small {
    display: block;
}

.settings-toggle small {
    margin-top: 3px;
    color: #838792;
}

/* Statistics */
.mini-bars {
    min-height: 170px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding-top: 20px;
    overflow-x: auto;
}

.mini-bar-item {
    min-width: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.mini-bar {
    width: 22px;
    min-height: 8px;
    border-radius: 8px 8px 3px 3px;
    background: #171a22;
}

.mini-bar-item small {
    color: #858995;
    font-size: 11px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pricing-card {
    padding: 30px;
    border: 1px solid #e7e8ee;
    border-radius: 24px;
    background: #fff;
}

.pricing-card.featured {
    background: #171a22;
    color: #fff;
}

.pricing-card > span {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.pricing-card h2 {
    margin: 8px 0 6px;
}

.pricing-card > strong {
    display: block;
    margin-bottom: 18px;
    font-size: 22px;
}

.pricing-card ul {
    margin: 0;
    padding-left: 20px;
    line-height: 2;
}

.report-row p {
    margin: 8px 0 0;
}

.review-management-card {
    margin-bottom: 14px;
}

.catalog-search-input {
    min-width: 190px;
}

@media (max-width: 1199px) {
    .planner-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .planner-expense-form,
    .planner-guest-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .planner-expense-form .btn,
    .planner-guest-form .btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .planner-page,
    .chat-page,
    .legal-page {
        padding-top: 30px;
    }

    .planner-summary-grid,
    .planner-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .planner-card,
    .legal-card {
        padding: 20px;
        border-radius: 20px;
    }

    .planner-inline-form,
    .planner-expense-form,
    .planner-guest-form,
    .chat-form {
        grid-template-columns: 1fr;
    }

    .planner-task,
    .planner-expense-row,
    .planner-guest-row,
    .report-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .planner-money {
        text-align: left;
    }

    .chat-message {
        max-width: 90%;
    }
}

.platform-features {
    padding: 72px 0;
    background: #f7f8fb;
}


/* ============================================================
   CHAT LIST / ACCOUNT MESSAGES
============================================================ */

.chat-list {
    display: grid;
    gap: 12px;
    max-width: 980px;
    margin: 0 auto;
}

.chat-list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #e7e8ee;
    border-radius: 20px;
    background: #fff;
    color: #171a22;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(17, 24, 39, .045);
    transition: .2s ease;
}

.chat-list-item:hover {
    color: #171a22;
    transform: translateY(-2px);
    border-color: #d8d5ff;
    box-shadow: 0 16px 36px rgba(17, 24, 39, .08);
}

.chat-list-item.has-unread {
    border-color: rgba(111, 76, 255, .35);
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #fbfaff 100%
    );
}

.chat-list-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #f2efff;
    font-size: 23px;
}

.chat-list-content {
    min-width: 0;
    flex: 1;
}

.chat-list-top,
.chat-list-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.chat-list-name {
    font-size: 17px;
    font-weight: 900;
}

.chat-list-order {
    margin-left: 7px;
    color: #8b8f9d;
    font-size: 12px;
    font-weight: 700;
}

.chat-list-time {
    flex: 0 0 auto;
    color: #989ba6;
    font-size: 12px;
}

.chat-list-meta {
    margin-top: 4px;
    color: #6d7180;
    font-size: 13px;
}

.chat-list-bottom {
    margin-top: 9px;
}

.chat-list-preview {
    min-width: 0;
    overflow: hidden;
    color: #434754;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-list-badges {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
}

.chat-count-badge,
.chat-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.chat-count-badge {
    background: #f2f3f6;
    color: #666b78;
}

.chat-unread-badge {
    min-width: 26px;
    background: #6f4cff;
    color: #fff;
}

.chat-empty-icon {
    margin-bottom: 10px;
    font-size: 42px;
}

@media (max-width: 767px) {
    .chat-list-item {
        padding: 15px;
        border-radius: 17px;
    }

    .chat-list-avatar {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 13px;
        font-size: 20px;
    }

    .chat-list-top,
    .chat-list-bottom {
        align-items: flex-start;
    }

    .chat-list-time {
        font-size: 11px;
    }

    .chat-list-preview {
        white-space: normal;
    }
}
