/* ======================================================
   VENDOR MODULE LUXURY UI CSS
====================================================== */

/* ======================================================
   PAGE HERO / BREADCRUMB SECTION
====================================================== */
.vendors-hero-section {
    position: relative;
    padding: 60px 0 80px;
    background: linear-gradient(135deg, var(--dark) 0%, #3d3830 50%, var(--secondary) 100%);
    overflow: hidden;
}

.vendors-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20, 16, 12, 0.85) 0%, rgba(20, 16, 12, 0.6) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><rect width="60" height="60" fill="none"/><path d="M30 5 L55 20 L55 40 L30 55 L5 40 L5 20 Z" fill="none" stroke="rgba(200,155,60,0.05)" stroke-width="1"/></svg>') repeat;
    opacity: 1;
}

.vendors-hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
}

.vendors-hero-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(200, 155, 60, 0.3);
    border-radius: 30px;
    background: rgba(200, 155, 60, 0.08);
}

.vendors-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 18px;
    color: var(--white);
}

.vendors-hero-title em {
    color: var(--primary);
    font-style: italic;
}

.vendors-hero-subtitle {
    font-size: 1.1rem;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 0;
}

.vendors-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding-top: 8px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(200, 155, 60, 0.2) 0%, rgba(200, 155, 60, 0.08) 100%);
    color: var(--primary);
    font-size: 1.2rem;
    border: 1px solid rgba(200, 155, 60, 0.25);
}

.hero-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}

.hero-stat-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    margin-top: 2px;
}

.vendors-hero-deco {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    z-index: 1;
}

.vendors-hero-deco.deco-1 {
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: var(--primary);
}

.vendors-hero-deco.deco-2 {
    bottom: -80px;
    left: 10%;
    width: 260px;
    height: 260px;
    background: var(--secondary);
}

/* ======================================================
   RESULT INFO BAR
====================================================== */
.vendor-list-container {
    padding: 50px 0 80px;
    background: #FFFAF4;
    min-height: 80vh;
}

.vendor-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding: 18px 26px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.vendor-result-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text);
}

.vendor-result-count i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 155, 60, 0.08);
    color: var(--primary);
    border-radius: 10px;
    font-size: 0.95rem;
}

.vendor-result-count strong {
    color: var(--dark);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
}

.vendor-search-mini .mini-search-wrap {
    position: relative;
    width: 240px;
}

.mini-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.82rem;
}

.form-control-mini {
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: #FFFAF4;
    font-size: 0.85rem;
    color: var(--dark);
    outline: none;
    transition: var(--transition);
}

.form-control-mini:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.08);
}

@media (max-width: 600px) {
    .vendor-search-mini .mini-search-wrap {
        width: 100%;
    }

    .vendor-result-bar {
        padding: 16px;
    }
}

/* ======================================================
   GLASSMORPHISM SIDEBAR
====================================================== */
.vendor-filter-sidebar {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 30px 26px;
    position: sticky;
    top: 120px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.vendor-filter-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid rgba(200, 155, 60, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.vendor-filter-title i {
    color: var(--primary);
    font-size: 0.95rem;
}

/* Search Input */
.vendor-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border-light);
    border-radius: 14px;
    overflow: hidden;
    background: #FFFAF4;
    transition: var(--transition);
}

.vendor-search-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.08);
    background: var(--white);
}

.vendor-search-input-wrap>i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.9rem;
    z-index: 2;
}

.vendor-search-input {
    flex: 1;
    padding: 12px 12px 12px 40px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--dark);
    width: 100%;
}

.vendor-search-btn {
    padding: 12px 18px;
    border: none;
    background: var(--gold-gradient);
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.vendor-search-btn:hover {
    filter: brightness(1.05);
}

/* Category Links */
.vendor-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 10px;
    color: var(--text);
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    border-left: 3px solid transparent;
}

.vendor-cat-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vendor-cat-icon-box {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 155, 60, 0.06);
    color: var(--primary);
    border-radius: 9px;
    font-size: 0.85rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.vendor-cat-link:hover,
.vendor-cat-link.active {
    color: var(--dark);
    font-weight: 600;
    background: linear-gradient(90deg, rgba(200, 155, 60, 0.08) 0%, rgba(200, 155, 60, 0.02) 100%);
    border-left-color: var(--primary);
}

.vendor-cat-link:hover .vendor-cat-icon-box,
.vendor-cat-link.active .vendor-cat-icon-box {
    background: var(--gold-gradient);
    color: var(--dark);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(200, 155, 60, 0.25);
}

.vendor-cat-count {
    font-size: 0.72rem;
    background: rgba(200, 155, 60, 0.1);
    color: var(--primary);
    padding: 3px 9px;
    border-radius: 20px;
    font-weight: 700;
    font-family: var(--font-display);
}

.vendor-cat-link.active .vendor-cat-count {
    background: var(--gold-gradient);
    color: var(--dark);
}

/* Sidebar CTA */
.vendor-sidebar-cta {
    margin-top: 10px;
    padding: 22px 18px;
    background: linear-gradient(135deg, rgba(45, 42, 38, 0.95) 0%, rgba(61, 56, 48, 0.95) 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vendor-sidebar-cta::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(200, 155, 60, 0.12);
    filter: blur(25px);
}

.vendor-sidebar-cta-icon {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    color: var(--dark);
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(200, 155, 60, 0.3);
    z-index: 1;
}

.vendor-sidebar-cta h5 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.vendor-sidebar-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 2px;
    position: relative;
    z-index: 1;
}

.vendor-cta-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(200, 155, 60, 0.4);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
}

.vendor-cta-btn:hover {
    background: var(--gold-gradient);
    color: var(--dark);
    border-color: transparent;
    transform: translateY(-1px);
}

/* ======================================================
   GRID + VENDOR CARDS
====================================================== */
.vendor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vendor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(200, 155, 60, 0.35);
}

.vendor-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #F5EAD7 0%, #E8D8C4 100%);
}

.vendor-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vendor-card:hover .vendor-card-img {
    transform: scale(1.08);
}

.vendor-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-gradient);
    color: var(--dark);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.vendor-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--dark);
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vendor-rating i {
    color: #FFB800;
}

.vendor-card-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vendor-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 8px;
}

.vendor-card-title a {
    color: var(--dark);
    transition: var(--transition);
}

.vendor-card-title a:hover {
    color: var(--primary);
}

.vendor-card-loc {
    font-size: 0.82rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.vendor-card-loc i {
    color: var(--primary);
    font-size: 0.85rem;
}

.vendor-card-desc {
    font-size: 0.84rem;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vendor-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.vendor-price-label {
    font-size: 0.66rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 3px;
    opacity: 0.8;
}

.vendor-price-val {
    font-family: var(--font-display);
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
}

/* FIXED: Vendor View Button (proper luxury gold pill) */
.btn-vendor-view {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 16px;
    border-radius: 40px;
    background: linear-gradient(135deg, #C89B3C 0%, #E4B96B 50%, #C89B3C 100%);
    background-size: 200% 100%;
    background-position: left center;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(200, 155, 60, 0.25);
    transition: all 0.4s ease;
    text-transform: uppercase;
    flex-shrink: 0;
}

.btn-vendor-view i {
    font-size: 0.78rem;
    transition: transform 0.3s ease;
}

.btn-vendor-view:hover {
    background-position: right center;
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(200, 155, 60, 0.38);
}

.btn-vendor-view:hover i {
    transform: translateX(3px);
}

/* ======================================================
   NO VENDORS FOUND STATE
====================================================== */
.no-vendor-box {
    padding: 70px 40px;
    background: var(--white);
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-xl);
    max-width: 520px;
    margin: 0 auto;
}

.no-vendor-icon {
    font-size: 3.8rem;
    color: var(--border-light);
    margin-bottom: 20px;
    display: block;
}

.no-vendor-title {
    font-family: var(--font-display);
    color: var(--dark);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.no-vendor-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ======================================================
   VENDOR DETAIL PAGE
====================================================== */

.vendor-hero {
    height: 65vh;
    min-height: 450px;
    position: relative;
    background-color: var(--dark);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.vendor-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0) 80%);
}

.vendor-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-bottom: 50px;
    width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
}

.vendor-hero-category {
    background: var(--gold-gradient);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 20px;
}

.vendor-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    line-height: 1.1;
    color: var(--white) !important;
}

.vendor-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1rem;
    opacity: 0.9;
}

.vendor-hero-meta i {
    color: var(--primary);
    margin-right: 6px;
}

/* Sticky Navigation Tabs */
.vendor-detail-nav {
    position: sticky;
    top: 70px;
    /* Below the navbar */
    background: var(--white);
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--border-light);
}

.v-nav-list {
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow-x: auto;
}

.v-nav-list li a {
    display: block;
    padding: 20px 0;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    position: relative;
}

.v-nav-list li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.v-nav-list li a:hover:after,
.v-nav-list li a.active:after {
    width: 100%;
}

.v-nav-list li a:hover,
.v-nav-list li a.active {
    color: var(--primary);
}

/* Sections */
.v-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.v-section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.v-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 3px;
}

/* Sidebar Contact Form */
.v-contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--primary);
    position: sticky;
    top: 150px;
}

.v-contact-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.v-contact-label {
    font-size: 0.85rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

/* Package Tabs */
.v-package-item {
    background: #FFFAF4;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.v-package-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(200, 155, 60, 0.4);
}

.v-pkg-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.v-pkg-price {
    font-family: var(--font-display);
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 700;
}

/* Masonry */
.v-gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

@media (max-width: 768px) {
    .v-gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .v-gallery-grid {
        column-count: 1;
    }
}

.v-gallery-img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    break-inside: avoid;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.v-gallery-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}