:root {
    --store-orange: #f58220;
    --store-orange-dark: #e06f10;
    --store-blue: #1e4f9b;
    --store-teal: #0d9f8c;
    --store-bg: #f4f7fb;
    --store-card-border: #e8edf3;
}

.vendor-store-page {
    font-family: 'Inter', sans-serif;
    color: #1a1a2e;
    overflow: visible;
    background: var(--store-bg);
}

.vendor-store-topbar {
    background: #f58220;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.35rem 0;
}

.vendor-store-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0.75rem 0;
    overflow: visible;
    position: relative;
    z-index: 50;
}

.vendor-store-header .container {
    overflow: visible;
}


/* Full-width store layout on large screens */
.vendor-store-page .container {
    max-width: 100%;
    padding-left: clamp(12px, 2vw, 32px);
    padding-right: clamp(12px, 2vw, 32px);
}

.vendor-store-header {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.vendor-store-header__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
}

.vendor-store-brand {
    text-decoration: none;
    color: #1b2b44;
}

.vendor-store-brand__text {
    font-size: 1.25rem;
    font-weight: 800;
}

.vendor-store-mobile-toggle {
    border: 1px solid #d7dce3;
    background: #fff;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    color: #334155;
}

.vendor-store-nav {
    align-items: center;
    gap: 0.25rem 1rem;
}

.vendor-store-nav-link {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.45rem 0.15rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.vendor-store-nav-link:hover,
.vendor-store-nav-link.is-active,
.vendor-store-nav-item.is-active-nav > .vendor-store-nav-link {
    color: var(--store-orange-dark);
    border-bottom-color: var(--store-orange);
}

.vendor-store-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    overflow: hidden;
}

.vendor-store-hero .carousel-item {
    min-height: 500px;
}

.vendor-store-hero__image {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: contain;
    object-position: center;
    background: #0f2742;
}


.vendor-store-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    text-transform: uppercase;
}


.vendor-hero-text-section {
    background: #fff;
    color: #1b2b44;
    padding: 1.5rem 0 2rem;
}

.vendor-hero-text-section h1 {
    margin-bottom: 0.75rem;
}

.vendor-store-trust {
    background: #fff3e6;
    padding: 1.5rem 0;
    border-bottom: 1px solid #ffe0c2;
}

.vendor-store-trust .trust-item {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c45a00;
}

.vendor-store-section {
    padding: 3rem 0;
}

.vendor-store-section.alt {
    background: #f8f9fa;
}


.vendor-store-section .content-body [data-grid-image-slot] {
    width: 100%;
    height: 280px !important;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991.98px) {
    .vendor-store-section .content-body [data-grid-image-slot] {
        height: 240px !important;
    }
}

@media (max-width: 575.98px) {
    .vendor-store-section .content-body [data-grid-image-slot] {
        height: 210px !important;
    }
}

.vendor-store-section.has-video-section {
    padding: 1.75rem 0 2.25rem;
}

.vendor-store-section.has-video-section .vendor-section-title-display {
    margin-bottom: 0.85rem;
}

.vendor-store-section.has-video-section .row {
    --bs-gutter-y: 0.75rem;
}

.vendor-store-section.has-video-section .content-body {
    max-width: 980px;
    margin: 0 auto;
}

.vendor-store-section.has-video-section .content-body > p:first-child {
    max-width: 860px;
    margin: 0 auto 0.85rem;
    color: #334155;
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.5;
    text-align: center;
}

.vendor-section-video {
    width: min(100%, 760px);
    margin: 0.85rem auto 0;
    padding: 0.45rem;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: 0 8px 22px rgba(15, 35, 70, 0.09);
}

.vendor-section-video video,
.vendor-section-video iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    border: 0;
    border-radius: 11px;
    background: #0f172a;
}

.vendor-section-video video {
    height: auto !important;
    max-height: 360px;
    object-fit: contain;
}

.vendor-section-video .ratio {
    --bs-aspect-ratio: 52%;
    max-height: 395px;
    overflow: hidden;
    border-radius: 11px;
    background: #0f172a;
}

.vendor-section-content-editor .vendor-section-video {
    width: min(100%, 720px);
    max-height: 410px;
}

@media (max-width: 767.98px) {
    .vendor-store-section.has-video-section {
        padding: 1.25rem 0 1.75rem;
    }

    .vendor-store-section.has-video-section .vendor-section-title-display {
        margin-bottom: 0.65rem;
    }

    .vendor-store-section.has-video-section .content-body > p:first-child {
        margin-bottom: 0.65rem;
        text-align: left;
    }

    .vendor-section-video {
        margin-top: 0.65rem;
        padding: 0.35rem;
        border-radius: 13px;
    }

    .vendor-section-video video {
        max-height: 260px;
    }

    .vendor-section-video .ratio {
        --bs-aspect-ratio: 56.25%;
        max-height: 260px;
    }
}

.vendor-store-section .content-body .row:has([data-card-image-slot]),
.vendor-section-content-editor .row:has([data-card-image-slot]) {
    --vendor-image-text-gap: 14px;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--vendor-image-text-gap) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.vendor-store-section .content-body .row:has([data-card-image-slot]) > [class*="col-"],
.vendor-section-content-editor .row:has([data-card-image-slot]) > [class*="col-"] {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.vendor-image-text-card,
.vendor-store-section .content-body [data-card-image-slot]:is(img),
.vendor-section-content-editor [data-card-image-slot]:is(img) {
    transition: transform .2s ease, box-shadow .2s ease;
}

.vendor-image-text-card,
.vendor-store-section .content-body .row:has([data-card-image-slot]) .card,
.vendor-section-content-editor .row:has([data-card-image-slot]) .card {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    border: 1px solid #d6e0ee !important;
    border-radius: 14px !important;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 72%, #f4f9ff 100%) !important;
    box-shadow: 0 8px 20px rgba(18, 52, 86, 0.08) !important;
}

.vendor-image-text-card:hover,
.vendor-store-section .content-body .row:has([data-card-image-slot]) .card:hover,
.vendor-section-content-editor .row:has([data-card-image-slot]) .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(18, 52, 86, 0.14) !important;
}

.vendor-store-section .content-body [data-card-image-slot]:is(img),
.vendor-section-content-editor [data-card-image-slot]:is(img) {
    display: block;
    width: 100% !important;
    aspect-ratio: 768 / 1080;
    height: auto !important;
    object-fit: cover !important;
    object-position: center;
}

.vendor-image-text-card .prod-card-body,
.vendor-store-section .content-body .row:has([data-card-image-slot]) .card-body,
.vendor-section-content-editor .row:has([data-card-image-slot]) .card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px 13px !important;
}

.vendor-image-text-card .offer-coupon-title,
.vendor-store-section .content-body .recent-ad-card .offer-coupon-title,
.vendor-section-content-editor .recent-ad-card .offer-coupon-title,
.vendor-store-section .content-body .row:has([data-card-image-slot]) .card-title,
.vendor-store-section .content-body .row:has([data-card-image-slot]) .offer-coupon-title,
.vendor-section-content-editor .row:has([data-card-image-slot]) .card-title,
.vendor-section-content-editor .row:has([data-card-image-slot]) .offer-coupon-title {
    margin: 0 0 .25rem;
    color: #1b2b44;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.35;
    min-height: auto !important;
    max-width: 100%;
    overflow: visible !important;
    display: block !important;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.vendor-image-text-card .offer-coupon-title *,
.vendor-store-section .content-body .recent-ad-card .offer-coupon-title *,
.vendor-section-content-editor .recent-ad-card .offer-coupon-title *,
.vendor-store-section .content-body .row:has([data-card-image-slot]) .card-title *,
.vendor-store-section .content-body .row:has([data-card-image-slot]) .offer-coupon-title *,
.vendor-section-content-editor .row:has([data-card-image-slot]) .card-title *,
.vendor-section-content-editor .row:has([data-card-image-slot]) .offer-coupon-title * {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.vendor-image-text-card .recent-ad-meta,
.vendor-store-section .content-body .row:has([data-card-image-slot]) .card-text,
.vendor-section-content-editor .row:has([data-card-image-slot]) .card-text {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.vendor-image-text-card .recent-ad-meta {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.vendor-image-text-card .recent-ad-meta i {
    color: #2f7ed1;
    font-size: 11px;
}

@media (max-width: 1199.98px) {
    .vendor-store-section .content-body .row:has([data-card-image-slot]),
    .vendor-section-content-editor .row:has([data-card-image-slot]) {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        gap: .75rem !important;
    }
}

@media (max-width: 991.98px) {
    .vendor-store-section .content-body .row:has([data-card-image-slot]),
    .vendor-section-content-editor .row:has([data-card-image-slot]) {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .vendor-store-section .content-body .row:has([data-card-image-slot]),
    .vendor-section-content-editor .row:has([data-card-image-slot]) {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: .65rem !important;
    }

    .vendor-image-text-card,
    .vendor-store-section .content-body .row:has([data-card-image-slot]) .card,
    .vendor-section-content-editor .row:has([data-card-image-slot]) .card {
        border-radius: 12px !important;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
    }

    .vendor-image-text-card .prod-card-body,
    .vendor-store-section .content-body .row:has([data-card-image-slot]) .card-body,
    .vendor-section-content-editor .row:has([data-card-image-slot]) .card-body {
        gap: 8px;
        padding: 10px 11px 12px !important;
    }
}

@media (max-width: 479.98px) {
    .vendor-store-section .content-body .row:has([data-card-image-slot]),
    .vendor-section-content-editor .row:has([data-card-image-slot]) {
        grid-template-columns: 1fr;
    }
}

.vendor-section-title-display,
.vendor-section-title-block {
    text-align: center;
    font-weight: 700;
    font-size: clamp(1.35rem, 3vw, 2rem);
    margin-bottom: 2rem;
}

.vendor-store-section-title,
.vendor-store-catalog-head h1 {
    font-weight: 800;
    color: #1b2b44;
}

.vendor-store-catalog-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--store-bg) 100%);
}

.btn-store-primary {
    background: linear-gradient(90deg, var(--store-orange), #ff9f43);
    border: 0;
    color: #fff;
    font-weight: 700;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
}

.btn-store-primary:hover {
    background: linear-gradient(90deg, var(--store-orange-dark), #ff8f2a);
    color: #fff;
}

/* Category sidebar */
.vendor-store-category-sidebar {
    background: #fff;
    border: 1px solid var(--store-card-border);
    border-radius: 14px;
    padding: 1rem 0.5rem;
    box-shadow: 0 8px 24px rgba(30, 79, 155, 0.08);
}

.vendor-store-category-sidebar__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.25rem 0.85rem 0.75rem;
    border-bottom: 1px solid #edf1f6;
    margin-bottom: 0.15rem;
}

.vendor-store-category-sidebar__title {
    font-size: 1rem;
    font-weight: 800;
    color: #1b2b44;
    margin: 0;
}

.vendor-store-category-sidebar__count {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.vendor-store-category-list,
.vendor-store-subcategory-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vendor-store-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem 0;
}

.vendor-store-category-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.vendor-store-category-link,
.vendor-store-subcategory-link {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.2s, color 0.2s;
}

.vendor-store-category-link__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vendor-store-category-link__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.vendor-store-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #eef5ff;
    color: #335d92;
    font-size: 0.72rem;
    font-weight: 700;
}

.vendor-store-category-link:hover,
.vendor-store-subcategory-link:hover {
    background: #fff4e8;
    color: var(--store-orange-dark);
}

.vendor-store-category-link.is-active,
.vendor-store-subcategory-link.is-active {
    background: linear-gradient(90deg, #fff1e3, #ffe8cc);
    color: var(--store-orange-dark);
    box-shadow: inset 3px 0 0 var(--store-orange);
}

.vendor-store-category-link .fa-chevron-right {
    font-size: 0.72rem;
    color: #94a3b8;
}

.vendor-store-subcategory-list {
    margin: 0.15rem 0 0.5rem 0.75rem;
    padding-left: 0.5rem;
    border-left: 2px solid #ffe2c4;
}

.vendor-store-subcategory-link {
    font-size: 0.86rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

.vendor-store-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.vendor-store-breadcrumb a {
    color: var(--store-blue);
    text-decoration: none;
    font-weight: 600;
}

/* Product cards */
.vendor-product-card {
    background: linear-gradient(180deg, #ffffff 0%, #fdfefe 100%);
    border: 1px solid #d8e6f7;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 5px 14px rgba(17, 52, 100, 0.07);
}

.vendor-product-card:hover {
    transform: translateY(-3px);
    border-color: #b8d6fb;
    box-shadow: 0 12px 24px rgba(17, 52, 100, 0.12);
}

.vendor-product-card__image-wrap {
    display: block;
    background: linear-gradient(180deg, #f8fbff, #edf3fb);
}

.vendor-product-card__image-wrap img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.vendor-product-card__body {
    padding: 0.62rem 0.68rem 0.7rem;
}

.vendor-product-card__title {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vendor-product-card__title a {
    color: #1e293b;
    text-decoration: none;
}

.vendor-product-card__title a:hover {
    color: var(--store-blue);
}

.vendor-product-card__brand {
    font-size: 0.7rem;
    color: #64748b;
    margin: 0 0 0.2rem;
}

.vendor-product-card__price {
    color: var(--store-orange-dark);
    font-weight: 800;
    font-size: 0.92rem;
    line-height: 1;
    margin: 0 0 0.22rem;
    background: linear-gradient(90deg, #d96600, #ff8a00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vendor-product-card__meta {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0 0 0.45rem;
}

.vendor-product-card__btn {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    border: 1.5px solid #1e293b;
    color: #1e293b;
    background: #fff;
    border-radius: 8px;
    padding: 0.32rem 0.56rem;
    font-weight: 700;
    font-size: 0.78rem;
    transition: all 0.2s;
}

.vendor-product-card__btn:hover {
    background: linear-gradient(90deg, var(--store-blue), var(--store-teal));
    border-color: transparent;
    color: #fff;
}

.col-xl-2-4 {
    width: 100%;
}

@media (min-width: 1200px) {
    .col-xl-2-4 {
        width: 20%;
    }
}

.vendor-product-card--featured {
    border: 1px solid #e3e7ee;
    border-radius: 4px;
    box-shadow: none;
    background: #fff;
}

.vendor-product-card--featured:hover {
    transform: none;
    border-color: #d5dbe5;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.vendor-product-card--featured .vendor-product-card__image-wrap {
    background: #fff;
    padding: 0.8rem 0.8rem 0;
}

.vendor-product-card--featured .vendor-product-card__image-wrap img {
    height: 250px;
    object-fit: cover;
}

.vendor-product-card--featured .vendor-product-card__body {
    padding: 0.75rem 0.85rem 0.9rem;
}

.vendor-product-card--featured .vendor-product-card__title {
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
    min-height: 2.9em;
    margin-bottom: 0.55rem;
}

.vendor-product-card__btn--featured {
    margin-top: 0.2rem;
    border-color: #0f172a;
    font-size: 0.75rem;
    padding: 0.38rem 0.56rem;
}

.vendor-store-empty-products {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: #64748b;
}

/* Ads right rail */
.vendor-store-ads-rail {
    background: #fff;
    border: 1px solid #e5edf7;
    border-radius: 16px;
    padding: 0.95rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.vendor-store-ads-rail__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--store-teal);
    margin: 0 0 0.65rem;
}

.vendor-store-ads-rail__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.vendor-store-ads-rail__count {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
}

.vendor-store-ads-stack {
    display: grid;
    gap: 0.8rem;
    width: 100%;
}

.vendor-store-ads-carousel,
.vendor-store-ads-carousel .carousel-inner,
.vendor-store-ads-carousel .carousel-item {
    border-radius: 12px;
    overflow: hidden;
}

.vendor-store-ads-carousel .carousel-control-prev,
.vendor-store-ads-carousel .carousel-control-next {
    width: 2rem;
    opacity: 0.9;
}

.vendor-store-ads-carousel .carousel-control-prev-icon,
.vendor-store-ads-carousel .carousel-control-next-icon {
    filter: invert(1);
    background-color: rgba(15, 23, 42, 0.55);
    border-radius: 50%;
    background-size: 65% 65%;
}

.vendor-store-ad-card {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5edf7;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vendor-store-ad-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(30, 79, 155, 0.16);
    border-color: #c8dbf3;
}

.vendor-store-ad-card img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vendor-store-ad-card.is-slider {
    aspect-ratio: var(--ad-ratio, 1.4);
}


.vendor-store-ad-card.is-tall {
    aspect-ratio: var(--ad-ratio, 0.72);
    min-height: 240px;
}

.vendor-store-ad-card.is-standard {
    aspect-ratio: var(--ad-ratio, 1.05);
    min-height: 190px;
}

.vendor-store-ad-card.is-compact {
    aspect-ratio: var(--ad-ratio, 1.45);
    min-height: 150px;
}

.vendor-custom-section img.section-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.vendor-store-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 2.5rem 0 1rem;
}

.vendor-store-footer a {
    color: #f58220;
}

.vendor-share-trigger {
    border: 1px solid rgba(245, 130, 32, 0.35);
    background: rgba(245, 130, 32, 0.1);
    color: var(--store-orange-dark);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 0.9rem;
}

.vendor-store-nav-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-left: 0.25rem;
    border: 0;
    background: linear-gradient(135deg, var(--store-orange), var(--store-orange-dark));
    color: #fff;
    box-shadow: 0 8px 18px rgba(245, 130, 32, 0.28);
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vendor-store-nav-share:hover,
.vendor-store-nav-share:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(245, 130, 32, 0.34);
}

.vendor-share-modal {
    border: 0;
    border-radius: 16px;
}

.vendor-share-qr-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem;
}

.vendor-share-qr {
    width: min(100%, 220px);
    height: auto;
    border-radius: 12px;
}

.vendor-share-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.vendor-share-btn {
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.86rem;
    padding: 0.6rem 0.5rem;
    font-weight: 600;
}

.vendor-share-btn.share-whatsapp { background: #1ba74a; }
.vendor-share-btn.share-facebook { background: #1877f2; }
.vendor-share-btn.share-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af); }

.vendor-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    background: #25d366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(37,211,102,.5);
}

.vendor-preview-banner {
    background: #fff3cd;
    color: #856404;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
}

/* Products mega menu (header) */
.vendor-store-nav-item {
    position: relative;
}

.vendor-store-products-mega .vendor-store-mega-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: min(640px, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 1300;
    overflow: hidden;
}

.vendor-store-products-mega.is-open .vendor-store-mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vendor-store-mega-panel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: linear-gradient(90deg, #fff7ed, #fff);
    border-bottom: 1px solid #fde6c7;
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
}

.vendor-store-mega-panel__head a {
    color: var(--store-orange-dark);
    text-decoration: none;
    font-weight: 700;
}

.vendor-store-mega-panel__body {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 260px;
    max-height: min(70vh, 420px);
}

.vendor-store-mega-categories {
    background: #f8fafc;
    border-right: 1px solid #e8edf3;
    overflow-y: auto;
}

.vendor-store-mega-cat-link {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.72rem 1rem;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s, color 0.15s;
}

.vendor-store-mega-cat-link:hover,
.vendor-store-mega-cat-item.is-highlight .vendor-store-mega-cat-link {
    background: linear-gradient(90deg, #fff3e6, #fff);
    color: var(--store-orange-dark);
}

.vendor-store-mega-cat-link .fa-chevron-right {
    font-size: 0.7rem;
    color: #94a3b8;
}

.vendor-store-mega-subpanels {
    position: relative;
    padding: 1rem 1.1rem;
    overflow-y: auto;
}

.vendor-store-mega-subpanel {
    display: none;
}

.vendor-store-mega-subpanel.is-visible {
    display: block;
}

.vendor-store-mega-subpanel__title {
    font-size: 1rem;
    font-weight: 800;
    color: #1b2b44;
    margin: 0 0 0.75rem;
}

.vendor-store-mega-subpanel ul li {
    margin-bottom: 0.35rem;
}

.vendor-store-mega-subpanel ul a {
    display: block;
    padding: 0.45rem 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
}

.vendor-store-mega-subpanel ul a:hover {
    background: #eef4ff;
    color: var(--store-blue);
}

.vendor-store-mega-subpanel__all {
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--store-orange-dark);
    text-decoration: none;
}

.vendor-store-mega-subpanel--placeholder {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Product listing pages */
.vendor-store-page-hero {
    background: linear-gradient(135deg, #1e4f9b 0%, #2d6eb8 55%, #0d9f8c 100%);
    color: #fff;
    padding: 2rem 0 2.25rem;
}

.vendor-store-page-hero--compact {
    padding: 1.25rem 0 1.5rem;
}

.vendor-store-page-hero .vendor-store-breadcrumb a {
    color: #dbeafe;
}

.vendor-store-page-hero .vendor-store-breadcrumb span {
    color: #e2e8f0;
}

.vendor-store-page-hero__title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    margin: 0;
}

.vendor-store-page-hero__subtitle {
    opacity: 0.92;
    font-size: 1rem;
    margin-top: 0.35rem;
}

.vendor-store-eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--store-orange);
}

.vendor-store-featured {
    background: #fff;
}

.vendor-store-results-bar {
    background: #ffffff;
    border: 1px solid #dbe7f5;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #334155;
    font-weight: 700;
}

.vendor-store-catalog-section {
    background: var(--store-bg);
}

@media (max-width: 991.98px) {
    .vendor-store-mega-panel__body {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .vendor-store-mega-categories {
        border-right: 0;
        border-bottom: 1px solid #e8edf3;
        max-height: 200px;
    }

    .vendor-store-products-mega .vendor-store-mega-panel {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        transform: none;
    }

    .vendor-store-products-mega:not(.is-open) .vendor-store-mega-panel {
        display: none;
    }

    .vendor-store-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 0;
    }

    .vendor-store-nav-share {
        width: 100%;
        margin: 0.35rem 0 0;
        padding: 0.7rem 1rem;
    }

    .vendor-store-nav-item {
        width: 100%;
    }
}

.vendor-about-page-hero {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    border-top: 1px solid #ffe2c2;
    border-bottom: 1px solid #ffe2c2;
    padding: 2.5rem 0;
}

.vendor-about-page-card {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: clamp(1rem, 2.5vw, 2rem);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* Randomized ad-zone slider: keep cards visually compact */
.vendor-store-ads-zone--slider .vendor-store-ads-rail {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.vendor-store-ads-zone--slider .vendor-store-ad-card.is-slider {
    aspect-ratio: 16 / 7;
    max-height: 300px;
}

.vendor-store-ads-zone--slider .vendor-store-ad-card.is-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .vendor-store-ads-zone--slider .vendor-store-ad-card.is-slider {
        aspect-ratio: 16 / 8;
        max-height: 240px;
    }
}

.vendor-store-recent-ads-section {
    padding-top: 1.25rem;
    background: #f5f9ff;
}

.vendor-store-recent-ads-head {
    align-items: center;
    margin-bottom: 1rem;
}

.vendor-store-recent-ads-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.vendor-store-recent-ad-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #d6e0ee;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 72%, #f4f9ff 100%);
    box-shadow: 0 8px 20px rgba(18, 52, 86, 0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.vendor-store-recent-ad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(18, 52, 86, 0.14);
}

.vendor-store-recent-ad-card img {
    width: 100%;
    aspect-ratio: 768 / 1080;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.vendor-store-recent-ad-card .prod-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px 13px;
}

.vendor-store-recent-ad-card .offer-coupon-title {
    color: #1b2b44;
    font-weight: 700;
    line-height: 1.35;
}

.vendor-store-recent-ad-card .recent-ad-meta {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.vendor-store-recent-ad-card .recent-ad-meta i {
    color: #2f7ed1;
    font-size: 11px;
}

.vendor-store-recent-ads-slider .ad-slider-arrows {
    pointer-events: none;
}

.vendor-store-recent-ads-slider .ad-slider-arrow {
    pointer-events: auto;
}

@media (max-width: 1199.98px) {
    .vendor-store-recent-ads-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: .75rem;
    }
}

@media (max-width: 991.98px) {
    .vendor-store-recent-ads-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .vendor-store-recent-ads-section {
        padding-top: 1rem;
    }

    .vendor-store-recent-ads-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .vendor-store-recent-ad-card {
        border-radius: 12px;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    }

    .vendor-store-recent-ad-card .prod-card-body {
        gap: 8px;
        padding: 10px 11px 12px;
    }
}

.vendor-store-similar-vendors-section {
    background: #f5f9ff;
    padding-top: 2.25rem;
}

.vendor-store-similar-vendors-slider {
    min-height: 310px;
}

.vendor-store-similar-vendors-slider .ad-slider-arrows {
    pointer-events: none;
}

.vendor-store-similar-vendors-slider .ad-slider-arrow {
    pointer-events: auto;
}

.vendor-store-similar-vendors-slider .vendor-card {
    background: #fff;
}

@media (max-width: 767.98px) {
    .vendor-store-similar-vendors-section {
        padding-top: 1.5rem;
    }

    .vendor-store-similar-vendors-slider {
        min-height: 285px;
    }
}

/* Consultant service cards and enquiry modals */
.content-body .js-remove-brochure-image,
.content-body .js-remove-brochure-pdf {
    display: none !important;
}

.content-body [data-brochure-image-slot] {
    cursor: zoom-in;
}

.consultant-services-heading {
    align-items: flex-end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.consultant-services-heading__eyebrow,
.consultant-service-detail-modal__eyebrow {
    color: #2276d2;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.consultant-services-heading__copy {
    color: #607188;
    max-width: 480px;
    text-align: right;
}

.consultant-service-card {
    background: #fff;
    border: 1px solid rgba(15, 43, 77, 0.1);
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(15, 43, 77, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.consultant-service-card:hover {
    border-color: rgba(34, 118, 210, 0.24);
    box-shadow: 0 22px 54px rgba(15, 43, 77, 0.14);
    transform: translateY(-4px);
}

.consultant-service-card__image-wrap {
    background: linear-gradient(135deg, #eef6ff, #f4fbf5);
    height: 172px;
    overflow: hidden;
    position: relative;
}

.consultant-service-card__image,
.consultant-service-card__placeholder {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.consultant-service-card__placeholder,
.consultant-service-detail-modal__placeholder {
    align-items: center;
    color: #2276d2;
    display: flex;
    font-size: 44px;
    justify-content: center;
}

.consultant-service-card__type-badge {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 43, 77, 0.08);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(15, 43, 77, 0.12);
    color: #0f2b4d;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 12px;
    position: absolute;
    right: 14px;
    text-transform: uppercase;
    top: 14px;
}

.consultant-service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.consultant-service-card__category {
    color: #2276d2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.consultant-service-card h3 {
    color: #0f2b4d;
    font-size: 21px;
    font-weight: 850;
    line-height: 1.25;
    margin-bottom: 16px;
}

.consultant-service-card__area {
    color: #607188;
    font-size: 14px;
    line-height: 1.45;
    margin-top: auto;
}

.consultant-service-card__area i {
    color: #21833b;
    margin-right: 6px;
}

.consultant-service-card__btn {
    align-items: center;
    align-self: flex-start;
    background: linear-gradient(90deg, #2276d2, #21833b);
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    margin-top: 16px;
    min-width: 132px;
    padding: 10px 18px;
    text-decoration: none;
}

.consultant-service-card__btn:hover,
.consultant-service-detail-modal__contact-btn:hover,
.consultant-login-required-card__btn:hover {
    color: #fff;
    filter: brightness(0.96);
}

.consultant-service-detail-modal .modal-content,
.consultant-service-enquiry-modal .modal-content,
.consultant-login-required-modal .modal-content {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(6, 27, 58, 0.22);
    overflow: hidden;
}

.consultant-service-detail-modal .modal-header,
.consultant-service-detail-modal .modal-footer,
.consultant-service-enquiry-modal .modal-header,
.consultant-service-enquiry-modal .modal-footer {
    border-color: rgba(15, 43, 77, 0.08);
    padding: 20px 24px;
}

.consultant-service-detail-modal .modal-title,
.consultant-service-enquiry-modal .modal-title,
.consultant-login-required-modal .modal-title {
    color: #0f2b4d;
    font-size: 26px;
    font-weight: 850;
}

.consultant-service-detail-modal .modal-body,
.consultant-service-enquiry-modal .modal-body,
.consultant-login-required-modal .modal-body {
    padding: 24px;
}

.consultant-service-detail-modal__media {
    background: linear-gradient(135deg, #eef6ff, #f4fbf5);
    border-radius: 20px;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
}

.consultant-service-detail-modal__media img,
.consultant-service-detail-modal__placeholder {
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    width: 100%;
}

.consultant-service-detail-modal__info-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.consultant-service-detail-modal__info-item {
    background: #f6f9fc;
    border: 1px solid rgba(15, 43, 77, 0.07);
    border-radius: 16px;
    padding: 12px 14px;
}

.consultant-service-detail-modal__info-item span,
.consultant-service-detail-modal__charges-table th {
    color: #607188;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.consultant-service-detail-modal__info-item strong {
    color: #0f2b4d;
    display: block;
    font-size: 16px;
    margin-top: 4px;
}

.consultant-service-detail-modal__section {
    margin-top: 22px;
}

.consultant-service-detail-modal__section h4 {
    color: #0f2b4d;
    font-size: 16px;
    font-weight: 850;
    margin-bottom: 10px;
}

.consultant-service-detail-modal__section p {
    color: #607188;
    line-height: 1.65;
}

.consultant-service-detail-modal__charges-table-wrap {
    border: 1px solid rgba(15, 43, 77, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.consultant-service-detail-modal__charges-table {
    vertical-align: middle;
}

.consultant-service-detail-modal__charges-table th {
    background: #f6f9fc;
    border-bottom: 1px solid rgba(15, 43, 77, 0.08);
    padding: 12px 14px;
}

.consultant-service-detail-modal__charges-table td {
    border-color: rgba(15, 43, 77, 0.06);
    color: #0f2b4d;
    font-weight: 700;
    padding: 12px 14px;
}

.consultant-service-detail-modal__footer {
    gap: 10px;
    justify-content: flex-end;
}

.consultant-service-detail-modal__contact-btn,
.consultant-login-required-card__btn {
    background: linear-gradient(90deg, #2276d2, #21833b);
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    padding: 10px 18px;
    text-decoration: none;
    width: auto;
}

.consultant-service-enquiry-modal .form-label {
    color: #0f2b4d;
    font-weight: 750;
}

.consultant-service-enquiry-modal .form-control {
    border-color: rgba(15, 43, 77, 0.14);
    border-radius: 12px;
    padding: 10px 12px;
}

.consultant-login-required-card {
    align-items: flex-start;
    background: #f7fbff;
    border: 1px solid #cfe0ff;
    border-radius: 16px;
    display: flex;
    gap: 18px;
    padding: 22px;
}

.consultant-login-required-card__icon {
    align-items: center;
    background: #e8f0ff;
    border-radius: 50%;
    color: #2563d8;
    display: flex;
    flex: 0 0 52px;
    font-size: 22px;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.consultant-login-required-card h4 {
    color: #18345f;
    font-size: 24px;
    font-weight: 850;
    margin-bottom: 8px;
}

.consultant-login-required-card p {
    color: #607188;
    font-size: 20px;
    margin-bottom: 18px;
}

.consultant-login-required-card__btn {
    border-radius: 6px;
    font-size: 20px;
    padding: 10px 14px;
}

@media (max-width: 767.98px) {
    .consultant-services-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .consultant-services-heading__copy {
        text-align: left;
    }

    .consultant-service-detail-modal__info-grid {
        grid-template-columns: 1fr;
    }

    .consultant-service-detail-modal__media,
    .consultant-service-detail-modal__media img,
    .consultant-service-detail-modal__placeholder {
        min-height: 260px;
    }
}

.consultant-services-heading__btn {
    align-items: center;
    background: linear-gradient(90deg, #ff7a1a, #ffad4d);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 18px;
    font-weight: 850;
    justify-content: center;
    padding: 14px 30px;
    text-decoration: none;
    white-space: nowrap;
}

.consultant-services-heading__btn:hover {
    color: #fff;
    filter: brightness(0.97);
}

.consultant-service-detail-modal__media--centered {
    height: auto;
    margin: 0 auto;
    max-width: 680px;
    min-height: 0;
}

.consultant-service-detail-modal__media--centered img,
.consultant-service-detail-modal__media--centered .consultant-service-detail-modal__placeholder {
    display: block;
    height: auto;
    max-height: 420px;
    min-height: 280px;
    object-fit: contain;
    width: 100%;
}

@media (max-width: 767.98px) {
    .consultant-services-heading__btn {
        font-size: 16px;
        padding: 12px 22px;
    }

    .consultant-service-detail-modal__media--centered img,
    .consultant-service-detail-modal__media--centered .consultant-service-detail-modal__placeholder {
        max-height: 300px;
        min-height: 220px;
    }
}
