/* ============================================================
   Vendor storefront page (resources/views/vendor/index.blade.php)
   ============================================================ */

.vendor-store .breadcrumb-nav {
    margin-bottom: 2rem;
}

/* ===== Hero ===== */
.vendor-hero {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 3rem;
}

.vendor-hero-banner {
    position: relative;
    height: clamp(160px, 26vw, 300px);
    background: linear-gradient(135deg, #eef0f4 0%, #e2e5ec 100%);
}

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

.vendor-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.28) 100%);
    pointer-events: none;
}

.vendor-hero-body {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.6rem 2rem;
    padding: 2.4rem 3rem;
    background: #fff;
}

.vendor-hero-logo {
    flex: 0 0 auto;
    align-self: flex-start;
    width: 11rem;
    height: 11rem;
    margin: -8rem 0 0;
    border-radius: 16px;
    border: 4px solid #fff;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

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

.vendor-hero-info {
    flex: 1 1 24rem;
    padding-bottom: 0.4rem;
}

.vendor-hero-headline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.vendor-hero-name {
    margin: 0;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2b2b2b;
}

.vendor-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    background: rgba(207, 173, 60, 0.16);
    color: #8a6f1c;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
}

.vendor-badge-verified i {
    font-size: 1.4rem;
}

.vendor-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 2rem;
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}

.vendor-hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #767676;
    font-size: 1.4rem;
}

.vendor-hero-meta li i {
    font-size: 1.5rem;
    color: var(--q2u-primary, #cfad3c);
}

.vendor-meta-crypto svg {
    display: block;
}

.vendor-hero-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.2rem;
    padding-bottom: 0.4rem;
}

.vendor-hero-chat.btn {
    padding: 1rem 2.2rem;
    white-space: nowrap;
}

.vendor-hero-social {
    display: flex;
    gap: 0.6rem;
}

/* ===== Stat strip ===== */
.vendor-hero-stats {
    display: flex;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.vendor-stat {
    flex: 1;
    text-align: center;
    padding: 1.6rem 1rem;
}

.vendor-stat + .vendor-stat {
    border-left: 1px solid #f0f0f0;
}

.vendor-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2b2b2b;
    line-height: 1.2;
}

.vendor-stat-value i {
    font-size: 1.6rem;
    color: var(--q2u-primary, #cfad3c);
    margin-left: 0.3rem;
}

.vendor-stat-label {
    display: block;
    margin-top: 0.3rem;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a8a8a;
}

/* ===== Holiday notice ===== */
.vendor-holiday-notice {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.6rem 2rem;
    margin-bottom: 2.4rem;
    background: #fff8e6;
    border: 1px solid #f0e0b0;
    border-radius: 10px;
}

.vendor-holiday-notice i {
    font-size: 2rem;
    color: var(--q2u-primary, #cfad3c);
    line-height: 1.4;
}

.vendor-holiday-notice strong {
    display: block;
    color: #6f5c25;
    font-size: 1.5rem;
}

.vendor-holiday-notice p {
    margin: 0.3rem 0 0;
    color: #7a6a3a;
    font-size: 1.4rem;
}

/* ===== Products tab ===== */
.vendor-store-tabs .nav-link.active {
    color: var(--q2u-primary, #cfad3c);
}

.vendor-products-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0 1.6rem;
}

.vendor-products-head h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2b2b2b;
}

.vendor-products-head span {
    color: #8a8a8a;
    font-size: 1.4rem;
}

/* ===== Empty state ===== */
.vendor-empty {
    text-align: center;
    padding: 5rem 2rem;
    border: 1px dashed #e0e0e0;
    border-radius: 12px;
    color: #8a8a8a;
}

.vendor-empty i {
    display: block;
    margin-bottom: 1.4rem;
    font-size: 4rem;
    color: #d8d8d8;
}

.vendor-empty h3 {
    margin: 0 0 0.6rem;
    font-size: 1.8rem;
    color: #555;
}

.vendor-empty p {
    margin: 0 0 1.8rem;
    font-size: 1.4rem;
}

/* ===== About tab ===== */
.vendor-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28rem;
    gap: 3rem;
    align-items: start;
    padding-top: 2rem;
}

.vendor-about-bio {
    color: #555;
    font-size: 1.5rem;
    line-height: 1.8;
}

.vendor-about-bio > *:first-child {
    margin-top: 0;
}

.vendor-about-bio > *:last-child {
    margin-bottom: 0;
}

.vendor-about-bio h1,
.vendor-about-bio h2,
.vendor-about-bio h3,
.vendor-about-bio h4 {
    color: #2b2b2b;
}

.vendor-about-contact {
    padding: 2rem;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
}

.vendor-about-contact h3 {
    margin: 0 0 1.2rem;
    font-size: 1.6rem;
    color: #2b2b2b;
}

.vendor-about-contact ul {
    margin: 0 0 1.6rem;
    padding: 0;
    list-style: none;
}

.vendor-about-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #ededed;
    font-size: 1.4rem;
    color: #555;
    word-break: break-word;
}

.vendor-about-contact li:last-child {
    border-bottom: 0;
}

.vendor-about-contact li i {
    flex: 0 0 auto;
    margin-top: 0.2rem;
    font-size: 1.6rem;
    color: var(--q2u-primary, #cfad3c);
}

.vendor-about-contact a {
    color: #555;
    transition: color 0.15s ease;
}

.vendor-about-contact a:hover {
    color: var(--q2u-primary, #cfad3c);
}

.vendor-about-chat.btn {
    width: 100%;
    justify-content: center;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .vendor-about {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    /* Stacked, centered hero on tablet + mobile */
    .vendor-hero-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.2rem;
    }

    .vendor-hero-logo {
        align-self: center;
        margin-top: -7rem;
    }

    .vendor-hero-info {
        flex: 0 1 auto;
        width: 100%;
    }

    .vendor-hero-headline {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .vendor-hero-meta {
        justify-content: center;
    }

    .vendor-hero-actions {
        width: 100%;
        max-width: 32rem;
        flex-direction: column;
        align-items: stretch;
    }

    .vendor-hero-social {
        justify-content: center;
    }

    .vendor-hero-chat.btn {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .vendor-hero-body {
        padding: 2rem 1.6rem;
    }

    .vendor-hero-logo {
        width: 8.5rem;
        height: 8.5rem;
        margin-top: -6rem;
        border-radius: 14px;
    }

    .vendor-hero-name {
        font-size: 2.1rem;
    }

    .vendor-hero-stats {
        flex-wrap: wrap;
    }

    .vendor-stat {
        flex: 1 0 33.333%;
    }
}
