        :root {
            --primary-blue: #071835;
            --light-highlight: #b5cbf0;
            --dark-navy: #071835;
            --deep-background: #010813;
            --text-main: #01060e;
            --white: #ffffff;
            --black: #000000;
            --gray-bg: #f3f4f6;
            --gray-border: #e5e7eb;
            --text-muted: #6b7280;

            /* Core theme mappings */
            --primary-teal: var(--primary-blue);
            --accent-maroon: var(--dark-navy);
            --text-dark: var(--text-main);
            --bg-glass: rgba(255, 255, 255, 0.9);
            --brand-orange: var(--primary-blue);
            --primary-orange: var(--primary-blue);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--gray-bg);
            margin: 0;
            color: var(--text-dark);
        }

        .container {
            margin: 0 auto;
            padding: 20px;
            margin-left: 20px;
            margin-right: 20px;
        }


        .seller-hero {
            background: var(--brand-orange);
            border-radius: 15px;
            padding: 25px;
            color: var(--white);
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
        }

        .seller-identity {
            display: flex;
            align-items: center;
            gap: 25px;
            margin-left: 34px;
        }

        .seller-logo-large {
            width: 100px;
            height: 100px;
            background: var(--white);
            border-radius: 12px;
            padding: 5px;
            object-fit: contain;
        }

        .seller-title h1 {
            margin: 0;
            font-size: 28px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .verified-badge {
            color: #4ade80;
            font-size: 20px;
        }

        .location-text {
            font-size: 14px;
            opacity: 0.8;
            margin-top: 5px;
        }

        .hero-actions .btn {
            padding: 10px 20px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            transition: 0.3s;
        }

        .btn-message {
            background: var(--white);
            color: var(--primary-teal);
        }

        .btn-follow {
            background: transparent;
            color: var(--white);
            border: 1px solid var(--white) !important;
            margin-left: 10px;
        }

        /* --- Stats Bar --- */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 6px;
            margin-bottom: 30px;
            margin-top: -13px;
        }

        .stat-card {
            background: var(--white);
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .stat-card b {
            display: block;
            font-size: 22px;
            color: var(--light-highlight);
        }

        .stat-card span {
            font-size: 12px;
            color: var(--text-muted);
            text-transform: uppercase;
        }

        /* --- Tab System --- */
        .shop-tabs {
            display: flex;
            gap: 30px;
            margin-bottom: 25px;
            border-bottom: 1px solid var(--gray-border);
            padding-left: 10px;
            margin-top: -31px;
        }

        .tab-item {
            padding: 12px 5px;
            cursor: pointer;
            font-weight: 600;
            color: var(--text-muted);
            position: relative;
            transition: 0.3s;
        }

        .tab-item.active {
            color: var(--brand-orange);
        }

        .tab-item.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--brand-orange);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* --- Main Layout --- */
        .seller-main {
            display: grid;
            grid-template-columns: 320px 1fr;
            gap: 30px;
        }

        .sidebar-card {
            background: var(--white);
            padding: 24px;
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .sidebar-card h3 {
            font-size: 16px;
            margin-bottom: 15px;
            color: var(--primary-teal);
            border-bottom: 1px solid var(--gray-border);
            padding-bottom: 10px;
        }


        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 20px;
            margin-top: -6px;
            margin-left: 1px;
            margin-right: 0px;
        }

        /* Owner Info Styling */
        .owner-info {
            margin-top: 4px;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .owner-label {
            font-size: 13px;
            color: var(--light-highlight);
            font-weight: 400;
        }

        .owner-name {
            font-size: 14px;
            font-weight: 500;
            color: var(--white);
            letter-spacing: 0.3px;
        }

        /* Sidebar Card Content Styling */
        .artisan-description {
            font-size: 14px;
            line-height: 1.6;
            color: var(--text-muted);
            margin-bottom: 20px;
        }

        /* Contact List Styling */
        .artisan-contact-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 20px;
            padding: 15px 0;
            border-top: 1px solid var(--gray-border);
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 13.5px;
            color: var(--text-dark);
        }

        .contact-item i {
            width: 16px;
            color: var(--light-highlight);
            font-size: 14px;
        }

        /* Social Media Styling */
        .social-links-container {
            padding-top: 15px;
            border-top: 1px solid var(--gray-border);
        }

        .social-title {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .social-icons {
            display: flex;
            gap: 10px;
        }

        .social-icon-btn {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: var(--white);
            font-size: 16px;
            transition: transform 0.2s ease, opacity 0.2s ease;
        }

        .social-icon-btn:hover {
            transform: translateY(-3px);
            opacity: 0.9;
        }

        /* Social Media Brands Colors */
        .facebook {
            background-color: #1877F2;
        }

        .instagram {
            background-color: #E4405F;
        }

        .whatsapp {
            background-color: #25D366;
        }

        /* Hero Search Styling */
        .hero-search-container {
            flex: 1;
            max-width: 400px;
            margin: 0 30px;
        }

        .hero-search-form {
            display: flex;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50px;
            padding: 5px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: 0.3s;
        }

        .hero-search-form:focus-within {
            background: var(--white);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .hero-search-input {
            flex: 1;
            background: transparent;
            border: none;
            padding: 10px 20px;
            color: var(--white);
            outline: none;
            font-size: 14px;
        }

        .hero-search-form:focus-within .hero-search-input {
            color: var(--black);
        }

        .hero-search-input::placeholder {
            color: rgba(255, 255, 255, 0.8);
        }

        .hero-search-form:focus-within .hero-search-input::placeholder {
            color: var(--text-muted);
        }

        .hero-search-btn {
            background: var(--white);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            color: var(--brand-orange);
            cursor: pointer;
            transition: 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-search-btn:hover {
            transform: scale(1.05);
            background: var(--gray-bg);
        }

        .backtohome {
            text-decoration: none;
            color: var(--brand-orange);
            font-size: 12px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        /* Review Tab Main Layout */
        .reviews-container {
            display: grid;
            grid-template-columns: 320px 1fr;
            gap: 30px;
        }

        /* Left Side: Rating Card */
        .rating-summary {
            text-align: center;
            padding: 15px 0;
        }

        .rating-number {
            font-size: 52px;
            font-weight: 700;
            color: var(--brand-orange);
            margin: 0;
            line-height: 1;
        }

        .rating-stars {
            color: #ffc107;
            margin: 10px 0 5px 0;
            font-size: 18px;
        }

        .rating-count {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* Rating Progress Bars */
        .rating-bars {
            margin-top: 25px;
        }

        .bar-item {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
            font-size: 13px;
        }

        .bar-bg {
            flex: 1;
            background: var(--gray-border);
            height: 8px;
            border-radius: 10px;
            overflow: hidden;
        }

        .bar-fill {
            background: var(--brand-orange);
            height: 100%;
            border-radius: 10px;
        }

        /* Right Side: Review Cards */
        .review-card {
            background: var(--white);
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 15px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .user-info {
            display: flex;
            gap: 15px;
        }

        .user-avatar {
            width: 48px;
            height: 48px;
            background: var(--gray-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: var(--primary-teal);
            font-size: 14px;
            border: 1px solid var(--gray-border);
        }


        .user-details h4 {
            margin: 0;
            font-size: 15px;
            color: var(--text-dark);
        }

        .review-date {
            font-size: 12px;
            color: var(--text-muted);
        }

        .review-text {
            font-size: 14px;
            line-height: 1.6;
            margin: 15px 0;
            color: var(--text-dark);
        }

        .review-images {
            display: flex;
            gap: 10px;
        }

        .review-img {
            width: 70px;
            height: 70px;
            border-radius: 8px;
            object-fit: cover;
            border: 1px solid var(--gray-border);
            cursor: zoom-in;
            transition: 0.2s;
        }

        .review-img:hover {
            transform: scale(1.05);
        }

        /* View More Button */
        .btn-view-more {
            width: 100%;
            padding: 12px;
            background: var(--white);
            border: 1px solid var(--gray-border);
            border-radius: 8px;
            cursor: pointer;
            color: var(--text-muted);
            font-weight: 600;
            transition: 0.3s;
            margin-top: 10px;
        }

        .btn-view-more:hover {
            background: var(--gray-bg);
            border-color: var(--brand-orange);
            color: var(--brand-orange);
        }

        /* History Timeline Styling */

        .about-section {
            padding: 40px 20px;
            font-family: 'Inter', sans-serif;
        }

        .header-area {
            text-align: center;
            margin-bottom: 50px;
        }

        .header-area h2 {
            font-size: 2.5rem;
            color: var(--text-dark);
            margin-bottom: 10px;
            font-weight: 800;
            margin-top: -48px;
        }

        .header-area .underline {
            width: 60px;
            height: 4px;
            background: var(--primary-orange);
            margin: 0 auto;
            border-radius: 2px;
        }

        .journey-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-bottom: 60px;
        }

        .journey-card {
            background: var(--white);
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            border-bottom: 4px solid transparent;
            transition: all 0.3s ease;
            position: relative;
            margin-top: -35px;
        }

        .journey-card:hover {
            transform: translateY(-10px);
            border-bottom: 4px solid var(--primary-orange);
        }

        .year-badge {
            display: inline-block;
            background: var(--light-highlight);
            color: var(--primary-teal);
            padding: 5px 15px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.85rem;
            margin-bottom: 15px;
        }

        .journey-card h4 {
            margin: 10px 0;
            font-size: 1.25rem;
            color: var(--text-dark);
        }

        /* Core Values Modern Style */
        .values-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
        }

        .value-item {
            background: var(--white);
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 20px 30px;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
            flex: 1;
            min-width: 280px;
        }

        .value-item i {
            font-size: 24px;
            color: var(--primary-teal);
            background: rgba(7, 24, 53, 0.05);
            padding: 15px;
            border-radius: 12px;
        }

        .value-text h5 {
            margin: 0;
            font-size: 1.1rem;
        }

        .value-text p {
            margin: 0;
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        /* Add this CSS inside your existing <style> tag */


        .mission-box {
            background: var(--white);
            border-left: 5px solid var(--primary-orange);
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
            max-width: 1410px;
            margin-top: -47px;
            margin-bottom: 16px;
        }

        .mission-box:hover {
            transform: translateY(-5px);
        }



        .mission-box h4 i {
            color: var(--primary-orange);
        }

        .mission-box h4 {
            color: var(--text-dark) !important;
            font-size: 1.4rem !important;
            margin-bottom: 10px !important;
            margin-left: 0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 10px !important;
            width: 100% !important;
            text-align: center !important;
        }

        .mission-box p {
            color: var(--text-muted) !important;
            line-height: 1.6 !important;
            font-size: 1rem !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            text-align: center !important;
            max-width: 800px !important;
            margin: 0 auto !important;
            display: block !important;
        }

        .pastvideos {
            gap: 8;
            margin-left: 10px;
            margin-right: 10px;
            padding-left: 10px;
            width: 500px;
            height: 500px;


        }


        @media (max-width: 768px) {
            .header-area h2 {
                font-size: 1.8rem;
            }
        }

        /* Mobile responsive settings */
        @media (max-width: 992px) {
            .hero-search-container {
                margin: 20px 0;
                max-width: 100%;
                order: 3;
            }

            .seller-hero {
                flex-direction: column;
            }
        }

        @media (max-width: 768px) {
            .seller-hero {
                text-align: center;
            }

            .seller-identity {
                flex-direction: column;
            }

            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }

            .seller-main {
                grid-template-columns: 1fr;
            }

            .shop-tabs {
                justify-content: center;
                gap: 15px;
            }
        }

        /* For tablets and mobile (820px and below) */
        @media (max-width: 820px) {
            .reviews-container {
                /* Change from 2 columns to 1 column */
                grid-template-columns: 1fr;
                gap: 25px;
            }

            /* Move sidebar (Store Rating) to the top */
            aside {
                order: 1;
            }

            /* Move main reviews below the rating summary */
            main {
                order: 2;
            }

            .rating-summary {
                text-align: center;
                margin-bottom: 20px;
            }

            /* Center the star rating in the summary */
            .rating-stars {
                justify-content: center;
                display: flex;
            }
        }

        /* For small mobile phones (480px and below) */
        @media (max-width: 480px) {
            .review-header {
                /* Stack the user info and date vertically */
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .review-date {
                font-size: 11px;
                align-self: flex-end;
                /* Keep date on the right or set to flex-start for left */
            }

            .rating-number {
                font-size: 36px;
                /* Slightly smaller text for small screens */
            }

            .review-card {
                padding: 15px;
                /* Reduce padding to maximize content space */
            }

            .user-info {
                gap: 10px;
            }

            /* Ensure images in reviews don't overflow */
            .review-img {
                width: 100%;
                max-width: 80px;
                height: 80px;
                object-fit: cover;
            }

            .btn-view-more {
                width: 100%;
                padding: 12px;
            }

            .journey-card {

                margin-top: -18px;
            }
        }

        @media (max-width: 768px) {
            .mission-box {
                padding: 25px 20px;
                text-align: center;
                border-radius: 15px;
            }

            .mission-box h4 {
                justify-content: center;
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .mission-box p {
                font-size: 15px;
                /* Slightly smaller for mobile */
                line-height: 1.6;
                /* Increases readability */
                color: #444;
                /* Slightly darker for better contrast */
                margin: 0 auto;
                max-width: 90%;
                /* Prevents text from touching edges */
                letter-spacing: 0.3px;
            }

            .hero-actions .btn {
            padding: 10px 20px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            transition: 0.3s;
            margin-top: 5px;
        }

        }
        /* =========================
   MODERN IMAGE GALLERY UI
========================= */

.gallery-header {
    text-align: center;
    margin-bottom: 35px;
}

.gallery-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.gallery-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

/* Gallery Card */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    height: 320px;
    cursor: pointer;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
}

.gallery-card:hover {
    transform: translateY(-10px);
}

/* Image */
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.1));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
}

/* Badge */
.gallery-badge {
    background: var(--brand-orange);
    width: fit-content;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* Text */
.gallery-overlay h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.gallery-overlay p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* Large Card */
.large-card {
    grid-column: span 2;
}

/* Responsive */
@media (max-width: 768px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .large-card {
        grid-column: span 1;
    }

    .gallery-card {
        height: 260px;
    }

    .gallery-overlay h3 {
        font-size: 1.1rem;
    }
}