/* Vendor public shop page */

.vendor-detail-page {
    background: #f8fafc;
    overflow-x: clip;
}

.vendor-detail-page .container {
    max-width: 1240px;
}

.vendor-products-panel {
    min-width: 0;
}

/* Breadcrumb */
.vendor-detail-breadcrumb {
    margin-bottom: 1rem;
    padding-top: 1.25rem;
}

.vendor-detail-breadcrumb .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.vendor-detail-breadcrumb .breadcrumb-item,
.vendor-detail-breadcrumb .breadcrumb-item a {
    color: #667085;
    font-size: 0.84rem;
    font-weight: 600;
}

.vendor-detail-breadcrumb .breadcrumb-item a:hover {
    color: #443297;
}

.vendor-detail-breadcrumb .breadcrumb-item.active {
    color: #101828;
}

/* Hero — professional seller profile bar */
.vendor-detail-hero {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.vendor-detail-hero__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.5rem;
    justify-content: space-between;
    padding: 1.35rem 1.5rem;
}

.vendor-detail-hero__brand {
    align-items: center;
    display: flex;
    flex: 1 1 420px;
    gap: 1.1rem;
    min-width: 0;
}

.vendor-detail-hero__logo {
    align-items: center;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    display: inline-flex;
    flex-shrink: 0;
    height: 76px;
    justify-content: center;
    overflow: hidden;
    width: 76px;
}

.vendor-detail-hero__logo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.vendor-detail-hero__summary {
    min-width: 0;
}

.vendor-detail-hero__title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.75rem;
    margin-bottom: 0.4rem;
}

.vendor-detail-hero__title {
    color: #101828;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin: 0;
}

.vendor-detail-hero__verified {
    align-items: center;
    background: #f6fef9;
    border: 1px solid #abefc6;
    border-radius: 999px;
    color: #067647;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.3rem;
    line-height: 1;
    padding: 0.28rem 0.6rem;
    white-space: nowrap;
}

.vendor-detail-hero__verified i {
    font-size: 0.72rem;
}

.vendor-detail-hero__meta {
    align-items: center;
    color: #667085;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    gap: 0.45rem 0.65rem;
    line-height: 1.4;
}

.vendor-detail-hero__meta-group {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.vendor-detail-hero__meta-group--rating {
    color: #475467;
}

.vendor-detail-hero__meta-divider {
    background: #d0d5dd;
    border-radius: 999px;
    flex-shrink: 0;
    height: 4px;
    width: 4px;
}

.vendor-detail-hero__meta-item {
    color: #667085;
    font-weight: 500;
}

.vendor-detail-hero__stars {
    align-items: center;
    display: inline-flex;
    gap: 0.08rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vendor-detail-hero__stars li {
    color: #f59e0b;
    font-size: 0.78rem;
    line-height: 1;
}

.vendor-detail-hero__stars li.is-empty {
    color: #d0d5dd;
}

.vendor-detail-hero__rating-score {
    color: #344054;
    font-weight: 600;
}

.vendor-detail-hero__rating-count {
    color: #667085;
    font-weight: 500;
}

.vendor-detail-hero__actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.55rem;
}

.vendor-detail-hero__btn {
    align-items: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    color: #344054;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 600;
    justify-content: center;
    min-height: 40px;
    padding: 0 1rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vendor-detail-hero__btn:hover,
.vendor-detail-hero__btn:focus-visible {
    background: #f9fafb;
    border-color: #98a2b3;
    color: #101828;
    outline: none;
}

.vendor-detail-hero__btn--primary {
    background: #443297;
    border-color: #443297;
    color: #fff;
}

.vendor-detail-hero__btn--primary:hover,
.vendor-detail-hero__btn--primary:focus-visible {
    background: #352678;
    border-color: #352678;
    color: #fff;
}

/* Tabs — segmented control */
.vendor-detail-tabs {
    margin-bottom: 0;
}

.vendor-detail-tabs__bar {
    margin-bottom: 1rem;
    max-width: 100%;
}

.vendor-detail-tabs__nav {
    background: #f2f4f7;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    max-width: 100%;
    padding: 0.3rem;
    width: fit-content;
}

.vendor-detail-tabs__nav .nav-item {
    margin: 0;
}

.vendor-detail-tabs__nav .nav-link {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #667085;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 600;
    gap: 0.45rem;
    line-height: 1.2;
    margin: 0;
    min-height: 38px;
    padding: 0.45rem 0.95rem;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.vendor-detail-tabs__nav .nav-link:hover,
.vendor-detail-tabs__nav .nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.55);
    color: #344054;
    outline: none;
}

.vendor-detail-tabs__nav .nav-link.active {
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    color: #101828;
}

.vendor-detail-tabs__count {
    align-items: center;
    background: #eaecf0;
    border-radius: 999px;
    color: #475467;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    min-width: 1.35rem;
    padding: 0.15rem 0.45rem;
    text-align: center;
}

.vendor-detail-tabs__nav .nav-link.active .vendor-detail-tabs__count {
    background: #f4f2ff;
    color: #443297;
}

.vendor-detail-tabs__content {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    overflow-x: clip;
    padding: 1.25rem;
}

.vendor-detail-tabs__content > .tab-pane {
    padding: 0;
}

/* Products panel */
.vendor-products-panel__toolbar {
    align-items: center;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    justify-content: space-between;
    margin: -0.15rem 0 1rem;
    padding-bottom: 1rem;
}

.vendor-products-panel__search {
    align-items: center;
    display: flex;
    flex: 1 1 340px;
    gap: 0.55rem;
    margin: 0;
    min-width: 0;
}

.vendor-products-panel__search-field {
    align-items: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    display: flex;
    flex: 1;
    gap: 0.55rem;
    min-height: 40px;
    min-width: 0;
    padding: 0 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vendor-products-panel__search-field:focus-within {
    border-color: #443297;
    box-shadow: 0 0 0 3px rgba(68, 50, 151, 0.1);
}

.vendor-products-panel__search-icon {
    color: #98a2b3;
    flex-shrink: 0;
    font-size: 0.82rem;
}

.vendor-products-panel__search-input {
    background: transparent;
    border: 0;
    color: #101828;
    flex: 1;
    font-size: 0.875rem;
    min-height: 38px;
    min-width: 0;
    outline: none;
    padding: 0;
}

.vendor-products-panel__search-input::placeholder {
    color: #98a2b3;
}

.vendor-products-panel__search-btn {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    color: #344054;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.84rem;
    font-weight: 600;
    min-height: 40px;
    padding: 0 0.95rem;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.vendor-products-panel__search-btn:hover {
    background: #f9fafb;
    border-color: #98a2b3;
}

.vendor-products-panel__controls {
    align-items: center;
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: flex-end;
}

.vendor-products-panel__results {
    color: #667085;
    font-size: 0.84rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.vendor-products-panel__results strong {
    color: #101828;
    font-weight: 600;
}

.vendor-products-panel__sort {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    margin: 0;
}

.vendor-products-panel__sort-label {
    color: #667085;
    flex-shrink: 0;
    font-size: 0.84rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.vendor-products-panel__select-wrap {
    min-width: 160px;
    position: relative;
}

.vendor-products-panel__select-wrap::after {
    color: #667085;
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-size: 0.65rem;
    font-weight: 900;
    pointer-events: none;
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
}

.vendor-products-panel__select {
    appearance: none;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    color: #344054;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    min-height: 40px;
    padding: 0 1.85rem 0 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.vendor-products-panel__select:focus {
    border-color: #443297;
    box-shadow: 0 0 0 3px rgba(68, 50, 151, 0.1);
    outline: none;
}

.vendor-products-panel__filter-tag {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #eef2f6;
    border-radius: 999px;
    color: #667085;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 0.84rem;
    gap: 0.45rem;
    padding: 0.35rem 0.55rem 0.35rem 0.75rem;
}

.vendor-products-panel__filter-tag strong {
    color: #344054;
}

.vendor-products-panel__filter-tag i:first-child {
    color: #443297;
    font-size: 0.78rem;
}

.vendor-products-panel__active-filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.vendor-products-panel__filter-clear {
    align-items: center;
    border-radius: 999px;
    color: #667085;
    display: inline-flex;
    font-size: 0.78rem;
    height: 1.35rem;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    width: 1.35rem;
}

.vendor-products-panel__filter-clear:hover {
    background: #eef2f6;
    color: #443297;
    text-decoration: none;
}

.vendor-products-panel__filter-clear-all {
    color: #443297;
    font-size: 0.82rem;
    font-weight: 600;
    margin-left: 0.15rem;
    text-decoration: none;
    white-space: nowrap;
}

.vendor-products-panel__filter-clear-all:hover {
    text-decoration: underline;
}

/* Vendor store category filter */
.vendor-store-categories {
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
    border: 1px solid #eef2f6;
    border-radius: 12px;
    margin-bottom: 0.85rem;
    min-width: 0;
    padding: 0.85rem 0.95rem 0.95rem;
}

.vendor-store-categories__head {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.vendor-store-categories__head-copy {
    align-items: flex-start;
    display: flex;
    gap: 0.65rem;
    min-width: 0;
}

.vendor-store-categories__head-icon {
    align-items: center;
    background: #f4f2ff;
    border-radius: 10px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    height: 2.1rem;
    justify-content: center;
    width: 2.1rem;
}

.vendor-store-categories__title {
    color: #101828;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.15rem;
}

.vendor-store-categories__meta {
    color: #667085;
    font-size: 0.8rem;
    line-height: 1.35;
    margin: 0;
}

.vendor-store-categories__reset {
    align-items: center;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 600;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.vendor-store-categories__reset:hover {
    background: #f4f2ff;
    border-color: rgba(68, 50, 151, 0.28);
    color: #443297;
    text-decoration: none;
}

.vendor-store-categories__track,
.vendor-store-categories__subtrack {
    -webkit-overflow-scrolling: touch;
    margin: 0;
    max-width: 100%;
    overflow-x: auto;
    padding: 0.1rem 0 0.25rem;
    scrollbar-width: none;
}

.vendor-store-categories__track::-webkit-scrollbar,
.vendor-store-categories__subtrack::-webkit-scrollbar {
    display: none;
}

.vendor-store-categories__subtrack {
    border-top: 1px dashed #e4e7ec;
    margin-top: 0.55rem;
    padding-top: 0.55rem;
}

.vendor-store-categories__sub-label {
    color: #667085;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 0.45rem 0.15rem;
    text-transform: uppercase;
}

.vendor-store-categories__nav {
    min-width: min-content;
}

.vendor-store-categories__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    min-width: min-content;
    padding: 0;
}

.vendor-store-categories__list--sub {
    gap: 0.4rem;
}

.vendor-store-categories__item {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.vendor-store-categories__link {
    align-items: center;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
    color: #344054;
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 600;
    gap: 0.4rem;
    line-height: 1.2;
    min-height: 38px;
    padding: 0.4rem 0.85rem;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.vendor-store-categories__link--sub {
    background: #f9fafb;
    font-size: 0.8rem;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
}

.vendor-store-categories__link:hover,
.vendor-store-categories__link:focus-visible {
    border-color: rgba(68, 50, 151, 0.28);
    box-shadow: 0 6px 16px rgba(68, 50, 151, 0.1);
    color: #443297;
    text-decoration: none;
    transform: translateY(-1px);
}

.vendor-store-categories__link.is-active {
    background: linear-gradient(135deg, #443297 0%, #5b44b9 100%);
    border-color: #443297;
    box-shadow: 0 8px 20px rgba(68, 50, 151, 0.22);
    color: #fff;
}

.vendor-store-categories__link.is-active:hover,
.vendor-store-categories__link.is-active:focus-visible {
    color: #fff;
    transform: none;
}

.vendor-store-categories__link-icon {
    color: #98a2b3;
    flex-shrink: 0;
    font-size: 0.78rem;
}

.vendor-store-categories__link.is-active .vendor-store-categories__link-icon {
    color: rgba(255, 255, 255, 0.92);
}

.vendor-store-categories__link-img {
    border-radius: 4px;
    flex-shrink: 0;
    height: 18px;
    object-fit: contain;
    width: 18px;
}

.vendor-store-categories__count {
    align-items: center;
    background: rgba(16, 24, 40, 0.06);
    border-radius: 999px;
    color: #667085;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    min-width: 1.35rem;
    padding: 0.2rem 0.45rem;
}

.vendor-store-categories__link.is-active .vendor-store-categories__count {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.vendor-products-panel__grid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0.75rem;
    margin-left: calc(var(--bs-gutter-x) * -0.5);
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    margin-top: 0;
    row-gap: var(--bs-gutter-y);
}

.vendor-products-panel__grid > .product-grid__col {
    margin-bottom: 0;
}

.vendor-products-panel__pagination {
    border-top: 1px solid #eef2f6;
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    text-align: center;
}

.vendor-products-empty {
    align-items: center;
    border: 1px dashed #e4e7ec;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0.25rem auto;
    max-width: 480px;
    padding: 2.5rem 1.25rem;
    text-align: center;
}

.vendor-products-empty__icon {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #eef2f6;
    border-radius: 999px;
    color: #98a2b3;
    display: inline-flex;
    font-size: 1.25rem;
    height: 56px;
    justify-content: center;
    margin-bottom: 0.85rem;
    width: 56px;
}

.vendor-products-empty__title {
    color: #101828;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.vendor-products-empty__text {
    color: #667085;
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0 0 1rem;
    max-width: 360px;
}

.vendor-products-empty__btn {
    min-width: 140px;
}

/* About */
.vendor-about__header {
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
}

.vendor-about__title {
    color: #101828;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.35rem;
}

.vendor-about__subtitle {
    color: #667085;
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
    max-width: 640px;
}

.vendor-about__layout {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

.vendor-about__story {
    border-right: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding-right: 1.25rem;
    padding-top: 0;
    padding-bottom: 0;
}

.vendor-about__story--has-gallery {
    min-height: 0;
}

/* Gallery card */
.vendor-about__gallery-card {
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    border: 1px solid #eaecf0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
    overflow: hidden;
}

.vendor-about__gallery-card-head {
    align-items: center;
    border-bottom: 1px solid #f2f4f7;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: space-between;
    padding: 0.95rem 1.1rem;
}

.vendor-about__gallery-card-intro {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    min-width: 0;
}

.vendor-about__gallery-card-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(68, 50, 151, 0.12) 0%, rgba(245, 195, 75, 0.18) 100%);
    border-radius: 12px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.vendor-about__gallery-card-eyebrow {
    color: #101828;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.15rem;
}

.vendor-about__gallery-card-meta {
    color: #667085;
    font-size: 0.8125rem;
    margin: 0;
}

.vendor-about__gallery-open {
    align-items: center;
    background: #443297;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(68, 50, 151, 0.22);
    color: #fff;
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 600;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.vendor-about__gallery-open:hover {
    background: #36287d;
    box-shadow: 0 8px 20px rgba(68, 50, 151, 0.28);
    color: #fff;
    transform: translateY(-1px);
}

.vendor-about__gallery-open i {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.vendor-about__gallery-open:hover i {
    transform: translateX(2px);
}

/* Bento mosaic */
.vendor-about__gallery-mosaic {
    display: grid;
    gap: 6px;
    padding: 0.65rem 0.65rem 0.75rem;
}

.vendor-about__gallery-item {
    border-radius: 12px;
    cursor: zoom-in;
    display: block;
    min-height: 88px;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vendor-about__gallery-item--extra {
    display: none;
}

.vendor-about__gallery-item img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.vendor-about__gallery-item-overlay {
    align-items: center;
    background: linear-gradient(180deg, rgba(16, 24, 40, 0) 35%, rgba(16, 24, 40, 0.55) 100%);
    color: #fff;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    position: absolute;
    transition: opacity 0.25s ease;
}

.vendor-about__gallery-item-overlay i {
    align-items: center;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.95rem;
    height: 38px;
    justify-content: center;
    transform: translateY(6px);
    transition: transform 0.25s ease;
    width: 38px;
}

.vendor-about__gallery-item:hover {
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14);
    transform: translateY(-2px);
    z-index: 1;
}

.vendor-about__gallery-item:hover img {
    transform: scale(1.04);
}

.vendor-about__gallery-item:hover .vendor-about__gallery-item-overlay {
    opacity: 1;
}

.vendor-about__gallery-item:hover .vendor-about__gallery-item-overlay i {
    transform: translateY(0);
}

.vendor-about__gallery-item-more {
    align-items: center;
    background: rgba(16, 24, 40, 0.62);
    color: #fff;
    display: flex;
    font-size: 1.125rem;
    font-weight: 700;
    inset: 0;
    justify-content: center;
    letter-spacing: 0.02em;
    position: absolute;
    z-index: 2;
}

/* 1 photo */
.vendor-about__gallery-mosaic--1 {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 280px);
}

/* 2 photos */
.vendor-about__gallery-mosaic--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(180px, 220px);
}

/* 3 photos */
.vendor-about__gallery-mosaic--3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, minmax(100px, 120px));
}

.vendor-about__gallery-mosaic--3 .vendor-about__gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 100%;
}

/* 4 photos */
.vendor-about__gallery-mosaic--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(110px, 130px));
}

.vendor-about__gallery-mosaic--5,
.vendor-about__gallery-mosaic--5plus {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(108px, 128px));
}

.vendor-about__gallery-mosaic--5 .vendor-about__gallery-item:nth-child(1),
.vendor-about__gallery-mosaic--5plus .vendor-about__gallery-item:nth-child(1) {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
    min-height: 100%;
}

.vendor-about__gallery-mosaic--5 .vendor-about__gallery-item:nth-child(2),
.vendor-about__gallery-mosaic--5plus .vendor-about__gallery-item:nth-child(2) {
    grid-column: 8 / span 3;
    grid-row: 1;
}

.vendor-about__gallery-mosaic--5 .vendor-about__gallery-item:nth-child(3),
.vendor-about__gallery-mosaic--5plus .vendor-about__gallery-item:nth-child(3) {
    grid-column: 11 / span 2;
    grid-row: 1;
}

.vendor-about__gallery-mosaic--5 .vendor-about__gallery-item:nth-child(4),
.vendor-about__gallery-mosaic--5plus .vendor-about__gallery-item:nth-child(4) {
    grid-column: 8 / span 3;
    grid-row: 2;
}

.vendor-about__gallery-mosaic--5 .vendor-about__gallery-item:nth-child(5),
.vendor-about__gallery-mosaic--5plus .vendor-about__gallery-item:nth-child(5) {
    grid-column: 11 / span 2;
    grid-row: 2;
}


/* Story panel */
.vendor-about__story-panel {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(16, 24, 40, 0.04);
    padding: 1.15rem 1.2rem 1.25rem;
}

.vendor-about__story-panel-head {
    align-items: center;
    border-bottom: 1px solid #f2f4f7;
    display: flex;
    gap: 0.55rem;
    margin-bottom: 0.95rem;
    padding-bottom: 0.75rem;
}

.vendor-about__story-panel-icon {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    color: #667085;
    display: inline-flex;
    font-size: 0.85rem;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.vendor-about__story-panel-head .vendor-about__section-title {
    margin: 0;
}

.vendor-about__section-title {
    color: #344054;
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0 0 0.85rem;
}

.vendor-about__content {
    color: #475467;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.vendor-about__content p:last-child {
    margin-bottom: 0;
}

.vendor-about__empty {
    align-items: center;
    background: #f9fafb;
    border: 1px dashed #e4e7ec;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.25rem;
    text-align: center;
}

.vendor-about__empty-icon {
    align-items: center;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 999px;
    color: #98a2b3;
    display: inline-flex;
    font-size: 1.1rem;
    height: 48px;
    justify-content: center;
    margin-bottom: 0.75rem;
    width: 48px;
}

.vendor-about__empty-title {
    color: #101828;
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
}

.vendor-about__empty-text {
    color: #667085;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    max-width: 320px;
}

.vendor-about__aside {
    padding-left: 1.25rem;
}

.vendor-about__map-card {
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    border: 1px solid #eaecf0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
    padding: 0;
}

.vendor-about__map-card-head {
    align-items: center;
    border-bottom: 1px solid #f2f4f7;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.95rem 1.05rem 0.85rem;
}

.vendor-about__map-card-intro {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    min-width: 0;
}

.vendor-about__map-card-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(68, 50, 151, 0.12) 0%, rgba(18, 183, 106, 0.14) 100%);
    border-radius: 12px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.vendor-about__map-card-copy {
    min-width: 0;
}

.vendor-about__map-card-eyebrow {
    color: #101828;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.12rem;
}

.vendor-about__map-card-meta {
    color: #667085;
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0;
}

.vendor-about__map-frame {
    margin: 0 0.85rem;
    position: relative;
}

.vendor-about__map {
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    height: 240px;
    overflow: hidden;
    width: 100%;
    z-index: 0;
}

.vendor-about__map-overlay {
    background: linear-gradient(180deg, rgba(16, 24, 40, 0) 55%, rgba(16, 24, 40, 0.42) 100%);
    border-radius: 0 0 14px 14px;
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.vendor-about__map-pin-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    bottom: 0.65rem;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.14);
    color: #344054;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.35rem;
    left: 0.65rem;
    max-width: calc(100% - 4.5rem);
    overflow: hidden;
    padding: 0.35rem 0.7rem;
    position: absolute;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
}

.vendor-about__map-pin-badge i {
    color: #443297;
    flex-shrink: 0;
}

.vendor-about__map-card-body {
    padding: 0.85rem 1.05rem 1rem;
}

.vendor-about__map-address {
    color: #475467;
    display: grid;
    font-size: 0.8125rem;
    font-style: normal;
    gap: 0.15rem;
    line-height: 1.5;
    margin: 0 0 0.85rem;
}

.vendor-about__map-actions {
    display: grid;
    gap: 0.45rem;
}

.vendor-about__map-action {
    align-items: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    color: #344054;
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 600;
    gap: 0.45rem;
    justify-content: center;
    min-height: 38px;
    padding: 0.45rem 0.85rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 100%;
}

.vendor-about__map-action:hover {
    background: #f9fafb;
    border-color: #98a2b3;
    color: #101828;
    transform: translateY(-1px);
}

.vendor-about__map-action--primary {
    background: #443297;
    border-color: #443297;
    box-shadow: 0 6px 16px rgba(68, 50, 151, 0.2);
    color: #fff;
}

.vendor-about__map-action--primary:hover {
    background: #36287d;
    border-color: #36287d;
    color: #fff;
}

.vendor-about__map-action--ghost {
    background: #f9fafb;
}

.vendor-about__map-action.is-copied {
    background: #ecfdf3;
    border-color: #abefc6;
    color: #027a48;
}

.vendor-about__map .leaflet-control-zoom {
    border: 0 !important;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.12) !important;
    margin: 0 0.55rem 0.55rem 0 !important;
    overflow: hidden;
}

.vendor-about__map .leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid #eaecf0 !important;
    color: #344054 !important;
    height: 30px !important;
    line-height: 30px !important;
    width: 30px !important;
}

.vendor-about__map .leaflet-control-zoom a:hover {
    background: #fff !important;
    color: #443297 !important;
}

.vendor-about__map .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.82) !important;
    border-radius: 8px 0 0 0;
    color: #667085 !important;
    font-size: 0.62rem !important;
    margin: 0 !important;
    padding: 0.15rem 0.35rem !important;
}

.vendor-about-map-popup-wrap .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.14);
}

.vendor-about-map-popup-wrap .leaflet-popup-content {
    margin: 0.65rem 0.75rem;
}

.vendor-about-map-popup__title {
    color: #101828;
    display: block;
    font-size: 0.8125rem;
    margin-bottom: 0.25rem;
}

.vendor-about-map-popup__address {
    color: #667085;
    font-size: 0.75rem;
    line-height: 1.45;
    margin: 0;
}

/* legacy selectors kept for compatibility */
.vendor-about__map-card-title {
    align-items: center;
    color: #344054;
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 600;
    gap: 0.45rem;
    margin: 0;
}

.vendor-about__map-card-title i {
    color: #443297;
}

.vendor-about__map-card-link {
    align-items: center;
    color: #443297;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.3rem;
    text-decoration: none;
}

.vendor-about__map-card-link:hover {
    color: #36287d;
    text-decoration: underline;
}

.vendor-about__facts,
.vendor-about__channels {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vendor-about__info-card {
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    border: 1px solid #eaecf0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
    padding: 0;
}

.vendor-about__info-card-head {
    align-items: center;
    border-bottom: 1px solid #f2f4f7;
    display: flex;
    gap: 0.75rem;
    padding: 0.95rem 1.05rem 0.85rem;
}

.vendor-about__info-card-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(68, 50, 151, 0.12) 0%, rgba(245, 195, 75, 0.16) 100%);
    border-radius: 12px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.vendor-about__info-card-title {
    color: #101828;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.12rem;
}

.vendor-about__info-card-meta {
    color: #667085;
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0;
}

.vendor-about__facts {
    gap: 0.5rem;
    grid-template-columns: 1fr;
    padding: 0.85rem 1.05rem 0.95rem;
}

.vendor-about__fact {
    align-items: center;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    display: flex;
    gap: 0.7rem;
    min-width: 0;
    padding: 0.7rem 0.8rem;
}

.vendor-about__fact--verified {
    background: linear-gradient(90deg, #f6fef9 0%, #fff 100%);
    border-color: #abefc6;
}

.vendor-about__fact-body {
    flex: 1;
    min-width: 0;
}

.vendor-about__fact-badge {
    align-items: center;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    border-radius: 999px;
    color: #027a48;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.25rem;
    line-height: 1.2;
    padding: 0.2rem 0.55rem;
}

.vendor-about__fact-icon {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    color: #667085;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.vendor-about__fact-icon--verified {
    background: #ecfdf3;
    border-color: #abefc6;
    color: #067647;
}

.vendor-about__channels-wrap {
    border-top: 1px solid #f2f4f7;
    padding: 0.85rem 1.05rem 1rem;
}

.vendor-about__channels-heading {
    color: #667085;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0 0 0.65rem;
    text-transform: uppercase;
}

.vendor-about__channel {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    display: flex;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vendor-about__channel--email,
.vendor-about__channel--phone {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
}

.vendor-about__channel-head {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    min-width: 0;
}

.vendor-about__channel-head .vendor-about__channel-label {
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}

.vendor-about__channel-head .vendor-about__channel-actions {
    margin-left: auto;
}

.vendor-about__channel-value--line {
    display: block;
    font-size: 0.8125rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: normal;
}

.vendor-about__channel--email .vendor-about__channel-value--line,
.vendor-about__channel--phone .vendor-about__channel-value--line {
    background: #f9fafb;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    color: #101828;
    font-weight: 500;
    line-height: 1.35;
    padding: 0.45rem 0.6rem;
    text-decoration: none;
}

.vendor-about__channel--email .vendor-about__channel-value--line:hover,
.vendor-about__channel--phone .vendor-about__channel-value--line:hover {
    background: #fff;
    border-color: #443297;
    color: #443297;
}

.vendor-about__channel:not(.vendor-about__channel--email):not(.vendor-about__channel--phone) {
    align-items: center;
}

.vendor-about__channel:hover {
    border-color: #d0d5dd;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
    transform: translateY(-1px);
}

.vendor-about__channel + .vendor-about__channel {
    margin-top: 0.5rem;
}

.vendor-about__channel-icon {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.vendor-about__channel--email .vendor-about__channel-icon {
    background: rgba(68, 50, 151, 0.1);
    border: 1px solid rgba(68, 50, 151, 0.14);
    color: #443297;
}

.vendor-about__channel--phone .vendor-about__channel-icon {
    background: rgba(18, 183, 106, 0.1);
    border: 1px solid rgba(18, 183, 106, 0.16);
    color: #027a48;
}

.vendor-about__channel--address .vendor-about__channel-icon {
    background: rgba(247, 144, 9, 0.1);
    border: 1px solid rgba(247, 144, 9, 0.18);
    color: #b54708;
}

.vendor-about__channel-body {
    flex: 1;
    min-width: 0;
}

.vendor-about__channel-actions {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    gap: 0.35rem;
}

.vendor-about__channel-action {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    color: #667085;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.75rem;
    height: 32px;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    width: 32px;
}

.vendor-about__channel-action:hover {
    background: #fff;
    border-color: #443297;
    color: #443297;
}

.vendor-about__channel-action.is-copied {
    background: #ecfdf3;
    border-color: #abefc6;
    color: #027a48;
}

.vendor-about__channel-address-meta {
    color: #667085;
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.45;
    margin-top: 0.15rem;
}

.vendor-about__channel-map-link {
    align-items: center;
    color: #443297;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.3rem;
    margin-top: 0.35rem;
    text-decoration: none;
}

.vendor-about__channel-map-link:hover {
    color: #36287d;
    text-decoration: underline;
}

.vendor-about__channel-value--text address,
.vendor-about__channel-value--text {
    display: grid;
    font-style: normal;
    gap: 0.1rem;
}

.vendor-about__fact-label,
.vendor-about__channel-label {
    color: #667085;
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.12rem;
}

.vendor-about__fact-value,
.vendor-about__channel-value {
    color: #101828;
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.vendor-about__channel-value:not(.vendor-about__channel-value--line) {
    word-break: break-word;
}

.vendor-about__channel-value:hover {
    color: #443297;
}

.vendor-about__channel-value--text {
    color: #475467;
    font-weight: 400;
}

.vendor-about__social {
    border-top: 1px solid #eef2f6;
    margin-top: 0.25rem;
    padding-top: 1rem;
}

.vendor-about__social-title {
    color: #344054;
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0 0 0.65rem;
}

.vendor-about__social-list {
    display: grid;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vendor-about__social-link {
    align-items: center;
    color: #344054;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 0.55rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.vendor-about__social-link i {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    color: #667085;
    display: inline-flex;
    font-size: 0.82rem;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.vendor-about__social-link:hover {
    color: #443297;
}

.vendor-about__social-link:hover i {
    border-color: #d0d5dd;
    color: #443297;
}

.vendor-about__cta {
    border-top: 1px solid #eef2f6;
    margin-top: 1rem;
    padding-top: 1rem;
}

.vendor-about__cta-btn {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    color: #344054;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    min-height: 40px;
    padding: 0 1rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    width: 100%;
}

.vendor-about__cta-btn:hover,
.vendor-about__cta-btn:focus-visible {
    background: #443297;
    border-color: #443297;
    color: #fff;
    outline: none;
}

/* Reviews */
.vendor-reviews__header {
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
}

.vendor-reviews__title {
    color: #101828;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.35rem;
}

.vendor-reviews__subtitle {
    color: #667085;
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
    max-width: 640px;
}

.vendor-reviews__layout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
}

.vendor-reviews__aside {
    min-width: 0;
}

.vendor-reviews__summary-card {
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    border: 1px solid #eaecf0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
    overflow: hidden;
    padding: 0;
}

.vendor-reviews__summary-head {
    align-items: center;
    border-bottom: 1px solid #f2f4f7;
    display: flex;
    gap: 0.75rem;
    padding: 0.95rem 1.05rem 0.85rem;
}

.vendor-reviews__summary-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(68, 50, 151, 0.12) 100%);
    border-radius: 12px;
    color: #b54708;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.vendor-reviews__summary-title {
    color: #101828;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.12rem;
}

.vendor-reviews__summary-meta {
    color: #667085;
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0;
}

.vendor-reviews__score-panel {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #f2f4f7;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin: 0 1.05rem;
    padding: 1rem 0 0.95rem;
}

.vendor-reviews__score-main {
    align-items: center;
    display: flex;
    gap: 0.85rem;
    min-width: 0;
}

.vendor-reviews__score-value-wrap {
    align-items: flex-start;
    display: inline-flex;
    flex-shrink: 0;
    gap: 0.1rem;
    line-height: 1;
}

.vendor-reviews__score-value {
    color: #101828;
    font-size: 2.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.vendor-reviews__score-max {
    color: #98a2b3;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.35rem;
}

.vendor-reviews__score-meta {
    min-width: 0;
}

.vendor-reviews__score-stars {
    display: inline-flex;
    gap: 0.12rem;
    list-style: none;
    margin: 0 0 0.25rem;
    padding: 0;
}

.vendor-reviews__score-stars li {
    color: #f59e0b;
    font-size: 0.88rem;
}

.vendor-reviews__score-stars li.is-empty {
    color: #e4e7ec;
}

.vendor-reviews__score-label {
    color: #443297;
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0;
}

.vendor-reviews__score-badge {
    background: #f9fafb;
    border: 1px solid #eaecf0;
    border-radius: 999px;
    color: #475467;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.35rem 0.65rem;
    text-align: center;
    white-space: nowrap;
}

.vendor-reviews__distribution {
    padding: 0.95rem 1.05rem 0.85rem;
}

.vendor-reviews__distribution-title {
    color: #667085;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.vendor-reviews__bar {
    align-items: center;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: 38px 1fr auto;
    margin-bottom: 0.45rem;
}

.vendor-reviews__bar:last-child {
    margin-bottom: 0;
}

.vendor-reviews__bar-label {
    align-items: center;
    color: #667085;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.15rem;
}

.vendor-reviews__bar-label i {
    color: #f59e0b;
    font-size: 0.62rem;
}

.vendor-reviews__bar-track {
    background: #eef2f6;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.vendor-reviews__bar-fill {
    background: linear-gradient(90deg, #f59e0b 0%, #443297 100%);
    border-radius: inherit;
    height: 100%;
    min-width: 0;
    transition: width 0.35s ease;
}

.vendor-reviews__bar--active .vendor-reviews__bar-label {
    color: #344054;
}

.vendor-reviews__bar-count {
    color: #667085;
    font-size: 0.72rem;
    font-weight: 600;
    min-width: 3.2rem;
    text-align: right;
    white-space: nowrap;
}

.vendor-reviews__bar--active .vendor-reviews__bar-count {
    color: #344054;
}

.vendor-reviews__bar-percent {
    color: #98a2b3;
    font-weight: 500;
}

.vendor-reviews__write-link {
    align-items: center;
    background: #443297;
    border: 0;
    border-radius: 0;
    border-top: 1px solid #f2f4f7;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 0.8125rem;
    font-weight: 600;
    gap: 0.45rem;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    transition: background 0.2s ease;
    width: 100%;
}

.vendor-reviews__write-link:hover {
    background: #36287d;
    color: #fff;
}

.vendor-reviews__owner-notice {
    align-items: flex-start;
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    border: 1px solid #eaecf0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
    display: flex;
    gap: 0.85rem;
    padding: 1.15rem;
}

.vendor-reviews__owner-notice-icon {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    color: #667085;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.vendor-reviews__owner-notice-title {
    color: #101828;
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.vendor-reviews__owner-notice-text {
    color: #667085;
    font-size: 0.8125rem;
    line-height: 1.55;
    margin: 0;
}

.vendor-reviews__main {
    display: grid;
    gap: 1rem;
    min-width: 0;
    padding-left: 0;
}

.vendor-reviews__list-card,
.vendor-reviews__form-card {
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    border: 1px solid #eaecf0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
    overflow: hidden;
    padding: 0;
}

.vendor-reviews__list-head {
    align-items: center;
    border-bottom: 1px solid #f2f4f7;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.95rem 1.15rem 0.85rem;
}

.vendor-reviews__list-title,
.vendor-reviews__form-card-title {
    color: #101828;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.12rem;
}

.vendor-reviews__list-meta,
.vendor-reviews__form-card-meta {
    color: #667085;
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0;
}

.vendor-reviews__list-count {
    align-items: center;
    background: #443297;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    min-width: 34px;
    padding: 0 0.55rem;
}

.vendor-reviews__list-items {
    display: grid;
    gap: 0.75rem;
    padding: 0.95rem 1.15rem 1.15rem;
}

.vendor-review__inner {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vendor-review:hover .vendor-review__inner {
    border-color: #d0d5dd;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
}

.vendor-review__head {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.vendor-review__avatar {
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 0 0 1px #eaecf0;
    flex-shrink: 0;
    height: 44px;
    object-fit: cover;
    width: 44px;
}

.vendor-review__avatar--fallback {
    align-items: center;
    background: linear-gradient(135deg, #f9fafb 0%, #eef2f6 100%);
    color: #443297;
    display: inline-flex;
    font-size: 0.9375rem;
    font-weight: 700;
    justify-content: center;
}

.vendor-review__meta {
    flex: 1;
    min-width: 0;
}

.vendor-review__topline {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    margin-bottom: 0.25rem;
}

.vendor-review__author {
    color: #101828;
    font-size: 0.9375rem;
    font-weight: 600;
}

.vendor-review__date {
    color: #98a2b3;
    font-size: 0.75rem;
    font-weight: 500;
}

.vendor-review__stars {
    display: inline-flex;
    gap: 0.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vendor-review__stars li {
    color: #f59e0b;
    font-size: 0.78rem;
}

.vendor-review__stars li.is-empty {
    color: #e4e7ec;
}

.vendor-review__title {
    color: #344054;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0.35rem 0 0;
}

.vendor-review__rating-badge {
    background: #fffaeb;
    border: 1px solid #fedf89;
    border-radius: 999px;
    color: #b54708;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.35rem 0.55rem;
}

.vendor-review__body {
    border-top: 1px solid #f2f4f7;
    padding-top: 0.75rem;
}

.vendor-review__comment {
    color: #475467;
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

.vendor-reviews__empty {
    align-items: center;
    background: #f9fafb;
    border: 1px dashed #e4e7ec;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.25rem;
    text-align: center;
}

.vendor-reviews__empty-icon {
    align-items: center;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 999px;
    color: #98a2b3;
    display: inline-flex;
    font-size: 1.1rem;
    height: 48px;
    justify-content: center;
    margin-bottom: 0.75rem;
    width: 48px;
}

.vendor-reviews__empty-title {
    color: #101828;
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
}

.vendor-reviews__empty-text {
    color: #667085;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    max-width: 320px;
}

.vendor-reviews__form-card-head {
    align-items: center;
    border-bottom: 1px solid #f2f4f7;
    display: flex;
    gap: 0.75rem;
    padding: 0.95rem 1.15rem 0.85rem;
}

.vendor-reviews__form-card-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(68, 50, 151, 0.12) 0%, rgba(245, 195, 75, 0.16) 100%);
    border-radius: 12px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.vendor-reviews-form {
    padding: 1rem 1.15rem 1.15rem;
}

.vendor-reviews-form__feedback {
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 1.15rem 1rem;
    padding: 0.75rem 0.95rem;
}

.vendor-reviews-form__section {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 14px;
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem 1rem;
}

.vendor-reviews-form__section-head {
    align-items: flex-start;
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.vendor-reviews-form__section-icon {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    color: #667085;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.vendor-reviews-form__section-title {
    color: #344054;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.vendor-reviews-form__section-hint {
    color: #667085;
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0.2rem 0 0;
}

.vendor-reviews-form__rating-box {
    background: linear-gradient(180deg, #fffdf5 0%, #fff 100%);
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
}

.vendor-reviews-form__grid {
    align-items: start;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vendor-reviews-form__grid > .vendor-review-field {
    margin-top: 0;
}

.vendor-reviews-form__grid > .vendor-review-field + .vendor-review-field {
    margin-top: 0;
}

.vendor-reviews-form__stars {
    display: inline-flex;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vendor-reviews-form__star-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    color: #d0d5dd;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.15rem;
    height: 42px;
    justify-content: center;
    padding: 0;
    transition: color 0.15s ease, transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    width: 42px;
}

.vendor-reviews-form__star-btn:hover,
.vendor-reviews-form__star-btn.is-active {
    background: #fffaeb;
    border-color: #fedf89;
    color: #f59e0b;
}

.vendor-reviews-form__star-btn:hover {
    transform: translateY(-1px);
}

.vendor-reviews-form #id_rating {
    display: none;
}

.vendor-review-field {
    min-width: 0;
}

.vendor-review-field + .vendor-review-field {
    margin-top: 0.85rem;
}

.vendor-review-field__label {
    color: #344054;
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.vendor-review-field__required {
    color: #d92d20;
}

.vendor-review-field__optional {
    color: #98a2b3;
    font-size: 0.75rem;
    font-weight: 500;
}

.vendor-review-field .form-control {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    box-shadow: none;
    color: #101828;
    font-size: 0.875rem;
    min-height: 44px;
    padding: 0.55rem 0.8rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.vendor-review-field textarea.form-control {
    line-height: 1.55;
    min-height: 140px;
    padding-top: 0.7rem;
    resize: vertical;
}

.vendor-review-field .form-control:hover {
    border-color: #98a2b3;
}

.vendor-review-field .form-control:focus {
    border-color: #443297;
    box-shadow: 0 0 0 3px rgba(68, 50, 151, 0.1);
    outline: none;
}

.vendor-review-field--error .form-control {
    border-color: #fda29b;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.08);
}

.vendor-review-field__error {
    color: #d92d20;
    font-size: 0.78rem;
    margin: 0.35rem 0 0;
}

.vendor-reviews-form__footer {
    align-items: center;
    background: linear-gradient(90deg, #fafbff 0%, #fff 100%);
    border: 1px solid #eaecf0;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    justify-content: space-between;
    margin-top: 0.15rem;
    padding: 0.85rem 0.95rem;
}

.vendor-reviews-form__privacy {
    align-items: center;
    color: #667085;
    display: flex;
    flex: 1 1 auto;
    font-size: 0.8125rem;
    gap: 0.55rem;
    line-height: 1.45;
    margin: 0;
    min-width: 0;
}

.vendor-reviews-form__privacy > span:not(.vendor-reviews-form__privacy-icon) {
    flex: 1;
    min-width: 0;
}

.vendor-reviews-form__privacy-icon {
    align-items: center;
    background: #ecfdf3;
    border-radius: 8px;
    color: #027a48;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.78rem;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.vendor-reviews-form__submit {
    align-items: center;
    background: #443297;
    border: 1px solid #443297;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(68, 50, 151, 0.22);
    color: #fff;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 600;
    gap: 0.45rem;
    justify-content: center;
    min-height: 44px;
    min-width: 160px;
    padding: 0 1.25rem;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vendor-reviews-form__submit:hover,
.vendor-reviews-form__submit:focus,
.vendor-reviews-form__submit:focus-visible {
    background: #36287d;
    border-color: #36287d;
    box-shadow: 0 8px 20px rgba(68, 50, 151, 0.28);
    color: #fff;
    transform: translateY(-1px);
}

.vendor-reviews-form__feedback.is-success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}

.vendor-reviews-form__feedback.is-error {
    background: #fef3f2;
    border: 1px solid #fecdca;
    color: #b42318;
}

.vendor-review--pending .vendor-review__inner {
    background: #fffaeb;
    border-color: #fedf89;
}

.vendor-review__badge {
    background: #fffaeb;
    border: 1px solid #fedf89;
    border-radius: 999px;
    color: #b54708;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.28rem 0.55rem;
}

.vendor-review__preview-note {
    color: #b54708;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 0.15rem 0 0.35rem;
}

.vendor-review-field .form-control.is-invalid {
    border-color: #f04438;
}

.vendor-review-field .form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.12);
}

/* Contact */
.vendor-contact__header {
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
}

.vendor-contact__title {
    color: #101828;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.35rem;
}

.vendor-contact__subtitle {
    color: #667085;
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
    max-width: 640px;
}

.vendor-contact__layout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
}

.vendor-contact__aside {
    min-width: 0;
}

.vendor-contact__info-card {
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    border: 1px solid #eaecf0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
    overflow: hidden;
    padding: 0;
}

.vendor-contact__info-card-head {
    align-items: center;
    border-bottom: 1px solid #f2f4f7;
    display: flex;
    gap: 0.75rem;
    padding: 0.95rem 1.05rem 0.85rem;
}

.vendor-contact__info-card-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(68, 50, 151, 0.12) 0%, rgba(59, 130, 246, 0.14) 100%);
    border-radius: 12px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.vendor-contact__info-card-title {
    color: #101828;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.12rem;
}

.vendor-contact__info-card-meta {
    color: #667085;
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0;
}

.vendor-contact__channels {
    display: grid;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0.85rem 1.05rem 0.95rem;
}

.vendor-contact__channel {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    display: flex;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vendor-contact__channel:hover {
    border-color: #d0d5dd;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
}

.vendor-contact__channel--email,
.vendor-contact__channel--phone,
.vendor-contact__channel--location {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
}

.vendor-contact__channel-head {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    min-width: 0;
}

.vendor-contact__channel-head .vendor-contact__channel-label {
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}

.vendor-contact__channel-head .vendor-contact__channel-actions {
    margin-left: auto;
}

.vendor-contact__channel-icon {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.vendor-contact__channel--email .vendor-contact__channel-icon {
    background: rgba(68, 50, 151, 0.1);
    border: 1px solid rgba(68, 50, 151, 0.14);
    color: #443297;
}

.vendor-contact__channel--phone .vendor-contact__channel-icon {
    background: rgba(18, 183, 106, 0.1);
    border: 1px solid rgba(18, 183, 106, 0.16);
    color: #027a48;
}

.vendor-contact__channel--location .vendor-contact__channel-icon {
    background: rgba(247, 144, 9, 0.1);
    border: 1px solid rgba(247, 144, 9, 0.18);
    color: #b54708;
}

.vendor-contact__channel-label {
    color: #667085;
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.12rem;
    text-transform: uppercase;
}

.vendor-contact__channel-actions {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    gap: 0.35rem;
}

.vendor-contact__channel-action {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    color: #667085;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.75rem;
    height: 32px;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    width: 32px;
}

.vendor-contact__channel-action:hover {
    background: #fff;
    border-color: #443297;
    color: #443297;
}

.vendor-contact__channel-action.is-copied {
    background: #ecfdf3;
    border-color: #abefc6;
    color: #027a48;
}

.vendor-contact__channel-value {
    color: #101828;
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.vendor-contact__channel-value--line {
    background: #f9fafb;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    max-width: 100%;
    overflow: hidden;
    padding: 0.45rem 0.6rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: normal;
}

.vendor-contact__channel-value--line:hover {
    background: #fff;
    border-color: #443297;
    color: #443297;
}

.vendor-contact__channel-value--text {
    color: #475467;
    display: grid;
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 400;
    gap: 0.12rem;
    line-height: 1.45;
}

.vendor-contact__channel-map-link {
    align-items: center;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 999px;
    color: #443297;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 600;
    gap: 0.3rem;
    margin-left: auto;
    padding: 0.25rem 0.55rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.vendor-contact__channel-map-link:hover {
    background: #fafbff;
    border-color: #443297;
    color: #36287d;
}

.vendor-contact__aside-empty {
    align-items: center;
    background: #f9fafb;
    border: 1px dashed #e4e7ec;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    margin: 0.85rem 1.05rem 0.95rem;
    padding: 1.25rem 1rem;
    text-align: center;
}

.vendor-contact__aside-empty-icon {
    align-items: center;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 999px;
    color: #98a2b3;
    display: inline-flex;
    font-size: 1rem;
    height: 44px;
    justify-content: center;
    margin-bottom: 0.65rem;
    width: 44px;
}

.vendor-contact__aside-empty-text {
    color: #667085;
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
}

.vendor-contact__aside-note {
    align-items: flex-start;
    background: linear-gradient(90deg, #fafbff 0%, #fff 100%);
    border-top: 1px solid #f2f4f7;
    color: #667085;
    display: flex;
    font-size: 0.8125rem;
    gap: 0.65rem;
    line-height: 1.45;
    padding: 0.85rem 1.05rem 1rem;
}

.vendor-contact__aside-note-icon {
    align-items: center;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.vendor-contact__aside-note-body {
    display: grid;
    gap: 0.15rem;
}

.vendor-contact__aside-note-body strong {
    color: #344054;
    font-size: 0.8125rem;
    font-weight: 600;
}

.vendor-contact__aside-note-body span {
    color: #667085;
    font-size: 0.8125rem;
}

.vendor-contact__form-panel {
    min-width: 0;
    padding-left: 0;
}

.vendor-contact__form-card {
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    border: 1px solid #eaecf0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
    overflow: hidden;
    padding: 0;
}

.vendor-contact__form-card-head {
    align-items: center;
    border-bottom: 1px solid #f2f4f7;
    display: flex;
    gap: 0.75rem;
    padding: 0.95rem 1.15rem 0.85rem;
}

.vendor-contact__form-card-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(68, 50, 151, 0.12) 0%, rgba(245, 195, 75, 0.16) 100%);
    border-radius: 12px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.vendor-contact__form-card-title {
    color: #101828;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.12rem;
}

.vendor-contact__form-card-meta {
    color: #667085;
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0;
}

.vendor-contact-form {
    padding: 1rem 1.15rem 1.15rem;
}

.vendor-contact-form__alert {
    align-items: flex-start;
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 12px;
    color: #b42318;
    display: flex;
    font-size: 0.875rem;
    gap: 0.5rem;
    line-height: 1.45;
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
}

.vendor-contact-form__alert i {
    margin-top: 0.1rem;
}

.vendor-contact-form__section {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 14px;
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem 1rem;
}

.vendor-contact-form__section-head {
    align-items: flex-start;
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.vendor-contact-form__section-icon {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    color: #667085;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.vendor-contact-form__section-copy {
    min-width: 0;
}

.vendor-contact-form__section-title {
    color: #344054;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.vendor-contact-form__section-hint {
    color: #667085;
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0.2rem 0 0;
}

.vendor-contact-form__grid {
    display: grid;
    gap: 0.85rem;
}

.vendor-contact-form__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vendor-contact-field {
    min-width: 0;
}

.vendor-contact-field__label {
    color: #344054;
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.vendor-contact-field__required {
    color: #d92d20;
}

.vendor-contact-field__optional {
    color: #98a2b3;
    font-size: 0.75rem;
    font-weight: 500;
}

.vendor-contact-field .form-control {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    box-shadow: none;
    color: #101828;
    font-size: 0.875rem;
    min-height: 44px;
    padding: 0.55rem 0.8rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    width: 100%;
}

.vendor-contact-field textarea.form-control {
    line-height: 1.55;
    min-height: 156px;
    padding-top: 0.7rem;
    resize: vertical;
}

.vendor-contact-field .form-control:hover {
    border-color: #98a2b3;
}

.vendor-contact-field .form-control:focus {
    background: #fff;
    border-color: #443297;
    box-shadow: 0 0 0 3px rgba(68, 50, 151, 0.1);
    outline: none;
}

.vendor-contact-field .form-control::placeholder {
    color: #98a2b3;
}

.vendor-contact-field--error .form-control {
    border-color: #fda29b;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.08);
}

.vendor-contact-field__error {
    color: #d92d20;
    font-size: 0.78rem;
    margin: 0.35rem 0 0;
}

.vendor-contact-form__footer {
    align-items: center;
    background: linear-gradient(90deg, #fafbff 0%, #fff 100%);
    border: 1px solid #eaecf0;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: space-between;
    margin-top: 0.15rem;
    padding: 0.85rem 0.95rem;
}

.vendor-contact-form__privacy {
    align-items: center;
    color: #667085;
    display: flex;
    flex: 1 1 auto;
    font-size: 0.8125rem;
    gap: 0.55rem;
    line-height: 1.45;
    margin: 0;
    min-width: 0;
}

.vendor-contact-form__privacy > span:not(.vendor-contact-form__privacy-icon) {
    flex: 1;
    min-width: 0;
}

.vendor-contact-form__privacy-icon {
    align-items: center;
    background: #ecfdf3;
    border-radius: 8px;
    color: #027a48;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.78rem;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.vendor-contact-form__submit {
    align-items: center;
    background: #443297;
    border: 1px solid #443297;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(68, 50, 151, 0.22);
    color: #fff;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 600;
    gap: 0.45rem;
    justify-content: center;
    min-height: 44px;
    min-width: 160px;
    padding: 0 1.25rem;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vendor-contact-form__submit:hover,
.vendor-contact-form__submit:focus,
.vendor-contact-form__submit:focus-visible {
    background: #36287d;
    border-color: #36287d;
    box-shadow: 0 8px 20px rgba(68, 50, 151, 0.28);
    color: #fff;
    transform: translateY(-1px);
}

/* Pagination reuse */
.vendor-detail-page .mbp_pagination {
    margin-top: 1.5rem;
}

.vendor-detail-page .page_navigation .page-link {
    border-radius: 10px;
}

.vendor-detail-page .pagination_page_count {
    color: #667085;
    font-size: 0.84rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .vendor-detail-page.pb80 {
        padding-bottom: 3rem;
    }

    .vendor-detail-page .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .vendor-detail-breadcrumb {
        margin-bottom: 0.75rem;
        padding-top: 0.85rem;
    }

    .vendor-detail-hero {
        margin-bottom: 0.85rem;
    }

    .vendor-detail-hero__inner {
        gap: 1rem;
        padding: 1.1rem 1.15rem;
    }

    .vendor-detail-tabs__bar {
        margin-bottom: 0.75rem;
        width: 100%;
    }

    .vendor-detail-tabs__nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        width: 100%;
    }

    .vendor-detail-tabs__nav::-webkit-scrollbar {
        display: none;
    }

    .vendor-detail-tabs__nav .nav-link {
        flex: 1 0 auto;
    }

    .vendor-detail-tabs__content {
        padding: 0.9rem;
    }

    .vendor-products-panel__toolbar {
        gap: 0.65rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .vendor-products-panel__search {
        flex: 1 1 100%;
    }

    .vendor-products-panel__controls {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .vendor-products-panel__results {
        white-space: normal;
    }

    .vendor-products-panel__sort {
        flex: 1 1 auto;
        justify-content: flex-end;
        min-width: 0;
    }

    .vendor-products-panel__select-wrap {
        min-width: 0;
        width: min(100%, 220px);
    }

    .vendor-store-categories {
        margin-bottom: 0.75rem;
        padding: 0.7rem 0.75rem 0.8rem;
    }

    .vendor-store-categories__head {
        gap: 0.5rem;
        margin-bottom: 0.6rem;
    }

    .vendor-store-categories__track,
    .vendor-store-categories__subtrack {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .vendor-products-panel__active-filters {
        margin-bottom: 0.75rem;
    }

    .vendor-products-panel__grid {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.65rem;
    }

    .vendor-about__layout {
        grid-template-columns: 1fr;
    }

    .vendor-about__story {
        border-bottom: 1px solid #eef2f6;
        border-right: 0;
        margin-bottom: 1.15rem;
        padding-bottom: 1.15rem;
        padding-right: 0;
    }

    .vendor-about__gallery-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .vendor-about__gallery-open {
        width: 100%;
        justify-content: center;
    }

    .vendor-about__gallery-mosaic--5,
    .vendor-about__gallery-mosaic--5plus {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(100px, 120px));
    }

    .vendor-about__gallery-mosaic--5 .vendor-about__gallery-item:nth-child(1),
    .vendor-about__gallery-mosaic--5plus .vendor-about__gallery-item:nth-child(1) {
        grid-column: 1 / span 2;
        grid-row: 1;
    }

    .vendor-about__gallery-mosaic--5 .vendor-about__gallery-item:nth-child(n+2),
    .vendor-about__gallery-mosaic--5plus .vendor-about__gallery-item:nth-child(n+2) {
        grid-column: auto;
        grid-row: auto;
    }

    .vendor-about__aside {
        padding-left: 0;
    }

    .vendor-about__facts {
        grid-template-columns: 1fr;
    }

    .vendor-about__map {
        height: 260px;
    }

    .vendor-about__map-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vendor-about__map-action--primary {
        grid-column: 1 / -1;
    }

    .vendor-reviews__layout {
        grid-template-columns: 1fr;
    }

    .vendor-reviews__aside {
        margin-bottom: 0;
        padding-bottom: 0;
        padding-right: 0;
    }

    .vendor-reviews__main {
        padding-left: 0;
    }

    .vendor-reviews-form__grid {
        grid-template-columns: 1fr;
    }

    .vendor-review__comment {
        padding-left: 0;
    }

    .vendor-contact__layout {
        grid-template-columns: 1fr;
    }

    .vendor-contact__aside {
        margin-bottom: 1.15rem;
        padding-bottom: 0;
        padding-right: 0;
    }

    .vendor-contact__form-panel {
        padding-left: 0;
    }

    .vendor-contact-form__grid--2 {
        grid-template-columns: 1fr;
    }

    .vendor-contact-form {
        padding: 0.85rem 0.9rem 0.95rem;
    }

    .vendor-contact-form__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 0.65rem;
        padding: 0.75rem 0.85rem;
    }

    .vendor-contact-form__privacy {
        flex: none;
        width: 100%;
    }

    .vendor-contact-form__submit {
        min-width: 0;
        width: 100%;
    }

    .vendor-reviews-form__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 0.65rem;
    }

    .vendor-reviews-form__privacy {
        flex: none;
        width: 100%;
    }

    .vendor-reviews-form__submit {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .vendor-detail-page.pb80 {
        padding-bottom: 2.5rem;
    }

    .vendor-detail-page .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .vendor-detail-hero__inner {
        align-items: stretch;
        flex-direction: column;
        padding: 1rem;
    }

    .vendor-detail-hero__brand {
        align-items: flex-start;
        flex: 1 1 auto;
    }

    .vendor-detail-hero__logo {
        height: 64px;
        width: 64px;
    }

    .vendor-detail-hero__title {
        font-size: 1.25rem;
    }

    .vendor-detail-hero__meta-divider {
        display: none;
    }

    .vendor-detail-hero__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .vendor-detail-hero__actions {
        width: 100%;
    }

    .vendor-detail-hero__btn {
        flex: 1;
        min-width: 0;
    }

    .vendor-detail-tabs__content {
        padding: 0.75rem;
    }

    .vendor-products-panel__toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .vendor-products-panel__search {
        flex-direction: column;
        width: 100%;
    }

    .vendor-products-panel__search-btn {
        width: 100%;
    }

    .vendor-products-panel__controls {
        align-items: stretch;
        flex-direction: column;
        gap: 0.55rem;
        width: 100%;
    }

    .vendor-products-panel__sort {
        justify-content: flex-start;
        width: 100%;
    }

    .vendor-products-panel__select-wrap {
        flex: 1;
        min-width: 0;
        width: 100%;
    }

    .vendor-store-categories {
        padding: 0.65rem 0.65rem 0.75rem;
    }

    .vendor-store-categories__head {
        align-items: stretch;
        flex-direction: column;
    }

    .vendor-store-categories__meta {
        display: none;
    }

    .vendor-store-categories__reset {
        align-self: flex-start;
    }

    .vendor-store-categories__track,
    .vendor-store-categories__subtrack {
        margin-left: -0.65rem;
        margin-right: -0.65rem;
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .vendor-store-categories__list {
        gap: 0.4rem;
        scroll-snap-type: x proximity;
    }

    .vendor-store-categories__link {
        font-size: 0.8rem;
        min-height: 36px;
        padding: 0.38rem 0.75rem;
    }

    .vendor-products-panel__active-filters {
        gap: 0.45rem;
    }

    .vendor-products-panel__grid {
        --bs-gutter-x: 0.65rem;
        --bs-gutter-y: 0.55rem;
    }

    .vendor-products-empty {
        padding: 2rem 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .vendor-store-categories__link {
        min-height: 38px;
        padding: 0.42rem 0.9rem;
    }

    .vendor-contact-form__footer,
    .vendor-reviews-form__footer {
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .vendor-contact-form__privacy,
    .vendor-reviews-form__privacy {
        flex: 1 1 0;
        min-width: 0;
    }

    .vendor-contact-form__submit,
    .vendor-reviews-form__submit {
        flex-shrink: 0;
        min-width: 148px;
        width: auto;
    }

    .vendor-contact-form {
        padding: 0.95rem 1rem 1.05rem;
    }
}

@media (min-width: 992px) {
    .vendor-store-categories__track,
    .vendor-store-categories__subtrack {
        overflow-x: visible;
    }

    .vendor-store-categories__list {
        flex-wrap: wrap;
        gap: 0.55rem;
    }
}
