        /* --- 1. HEADER (Dark Purple) --- */
/* Add/Update this in public/css/vendor-profile.css */

.store-header {
    width: 100%;
    height: 80px;
    background-color: #2c0e38;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 1. Logo (Right) */
.header-logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}
.header-logo img {
    height: 45px;
    width: auto;
}

/* 2. Title (Center) */
.header-title {
    flex: 2;
    text-align: center;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 3. Spacer (Left) */
.header-spacer {
    flex: 1;
}

@media (max-width: 768px) {
    .header-title { font-size: 1.1rem; }
}

        /* --- 2. HERO SECTION --- */
        .vendor-hero {
            position: relative;
            background-color: #fff;
            margin-bottom: 50px;
        }

        .vendor-banner {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            height: 320px;
            background-color: #ddd;
            background-image: url('{{ !empty($store->cover_path) ? asset("storage/" . $store->cover_path) : asset("assets/default_cover.jpg") }}');
            background-size: cover;
            background-position: center;
            border-radius: 0 0 16px 16px;
        }
        .vendor-banner.no-banner {
            background: linear-gradient(135deg, #8f3f99, #5a2a6b);
            background-image: none;
        }

        .vendor-info-bar {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: flex-start;
            position: relative;
            z-index: 2;
            top: -60px;
            margin-bottom: -40px;
        }

        .vendor-logo {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 5px solid #fff;
            background: #fff;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            flex-shrink: 0;
        }
        .vendor-logo img { width: 100%; height: 100%; object-fit: cover; }

        .vendor-text {
            margin-right: 25px;
            margin-left: 25px;
            margin-top: 75px;
            flex: 1;
        }

        html[dir="rtl"] .vendor-text { margin-left: 0; }
        html[dir="ltr"] .vendor-text { margin-right: 0; }

        .vendor-name {
            font-size: 2rem;
            font-weight: 800;
            color: #222;
            margin: 0 0 5px 0;
            line-height: 1.2;
        }

.vendor-rating {
    color: #cccccc; /* Gray */
    font-size: 1.1rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

        /* Location Styling */
        .vendor-location {
            display: inline-flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px;
            font-size: 1rem;
            color: #555;
            font-weight: 600;
        }
        .location-part::after {
            content: "-";
            margin: 0 5px;
            color: #ccc;
        }
        .location-part:last-child::after {
            content: "";
            margin: 0;
        }

        /* --- 3. GRID SYSTEM --- */
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px 20px; }
        .section-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 25px; color: var(--dark); border-right: 5px solid var(--primary); padding-right: 15px; }
        html[dir="ltr"] .section-title { border-right: none; border-left: 5px solid var(--primary); padding-right: 0; padding-left: 15px; }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 25px;
        }

        /* --- 4. PRODUCT CARD --- */
        .product-card {
            background: #fff; border-radius: 16px; overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #eee;
            transition: 0.3s; display: flex; flex-direction: column;
            text-align: right; direction: rtl; height: 100%;
        }
        html[dir="ltr"] .product-card { text-align: left; direction: ltr; }
        .product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
        .product-image-container { position: relative; height: 180px; overflow: hidden; }
        .product-img { width: 100%; height: 100%; object-fit: cover; }
        .product-details { padding: 15px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
        .product-title { margin: 0; font-size: 1.1rem; font-weight: 800; }
        .product-title a { text-decoration: none; color: #333; }
        .product-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.9rem; color: #666; font-weight: 600; margin-top: auto; }
        .meta-item { display: flex; align-items: center; gap: 5px; }

        /* --- 5. DESCRIPTION SECTION --- */
        .vendor-description-section {
            margin-top: 60px;
            background: #fff;
            padding: 40px;
            border-radius: 16px;
            border: 1px solid #eee;
            box-shadow: 0 2px 10px rgba(0,0,0,0.02);
        }
        .description-content {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #444;
        }
        /* Ensure HTML lists inside description look good */
        .description-content ul, .description-content ol { margin-right: 20px; }
        html[dir="ltr"] .description-content ul, html[dir="ltr"] .description-content ol { margin-right: 0; margin-left: 20px; }

        @media (max-width: 768px) {
            .vendor-info-bar { flex-direction: column; align-items: center; text-align: center; top: -50px; }
            .vendor-text { margin-right: 0; margin-left: 0; margin-top: 15px; padding-bottom: 20px;}
            .vendor-banner { height: 180px; border-radius: 0;}
            .vendor-logo { width: 110px; height: 110px; }
            .vendor-name { font-size: 1.6rem; }
        }
