:root {
    /* Brand Colors */
    --primary-color: #7F543D; /* Earthy Bronze */
    --primary-dark: #5e3d2b;
    --primary-light: #fdf8f6;
    --secondary-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --border-color: #e5e7eb;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}


body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

/* Top Notification Bar */
.top-bar {
    background-color: var(--primary-color); /* Updated */
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Navigation - Kept consistent with main.css */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-link {
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icons .btn-icon {
    border: none;
    background: none;
    font-size: 1.5rem; /* Matched main.css size */
    color: var(--text-dark);
    padding: 5px;
    transition: color 0.3s;
}

.nav-icons .btn-icon:hover {
    color: var(--primary-color);
}

/* User Info Block - Exact match to main.css */
.nav-user-block {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    text-align: left;
    transition: all 0.3s;
}

.nav-user-block:hover {
    color: var(--primary-color);
}

.nav-user-block:hover .nav-user-sub {
    color: var(--primary-color) !important;
}

.nav-user-block i {
    font-size: 1.5rem;
}

.nav-user-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-user-title {
    font-weight: 700;
    font-size: 0.85rem;
}

.nav-user-sub {
    font-size: 0.75rem;
    color: #777;
    font-weight: 400;
    transition: color 0.3s;
}

/* SELLER HERO SECTION (Legacy support) */
.seller-hero {
    background-color: var(--secondary-color); /* Updated to Green/Grey */
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.seller-hero-content {
    z-index: 2;
    position: relative;
}

.hero-tag {
    display: inline-block;
    background: rgba(127, 84, 61, 0.1); /* Brown tint */
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px; /* Pill shape */
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.seller-hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.seller-hero-img-container {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.seller-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 150px 150px 0 0;
    /*box-shadow: 0 20px 40px rgba(0,0,0,0.08);*/
}

/* Value Prop Bar */
.value-prop-bar {
    background: white;
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}

.value-prop-item {
    text-align: center;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.value-prop-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.value-prop-text {
    text-align: left;
}

.value-prop-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2px;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.value-prop-desc {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* How It Works */
.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #eee; /* Very subtle number */
    font-weight: 700;
    position: absolute;
    top: -20px;
    left: 20px;
    z-index: 0;
}

.step-card {
    position: relative;
    background: white;
    padding: 40px 30px 30px;
    border: 1px solid #eee; /* Clean border */
    border-radius: 12px; /* Matches dropdown roundedness */
    margin-top: 20px;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.step-card h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
}

.step-card p {
    position: relative;
    z-index: 2;
    color: #666;
}

/* AUTH CONTAINER (Login/Register) */
.auth-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    /* Updated shadow to match Checkout Modal style */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    margin-top: 0;
    position: relative;
    z-index: 10;
    border-top: 5px solid var(--primary-color);
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    color: #999;
    transition: 0.3s;
    letter-spacing: 0.5px;
}

.auth-tab.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: -2px;
    background-color: transparent;
}

/* Form Inputs - Matches Search & Checkout Styles */
.form-control, .form-select, .input-group-text {
    padding: 12px 15px;
    border-radius: 8px; /* Softer corners */
    border: 1px solid #e0e0e0;
    height: 50px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    background-color: #fcfcfc; /* Light grey bg */
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.input-group-text {
    background-color: #f2f2f2;
    border-right: 0;
    color: #555;
    font-weight: 600;
}

.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    /* Soft bronze glow */
    box-shadow: 0 0 0 4px rgba(127, 84, 61, 0.1);
    z-index: 3;
}

/* Buttons - Matches Main Theme (Pill Shape) */
.btn-register {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border: none;
    border-radius: 50px; /* Pill shape */
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(127, 84, 61, 0.2);
}

.btn-register:hover {
    background-color: #654330; /* Darker brown */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(127, 84, 61, 0.35);
}

.btn-register:disabled {
    cursor: not-allowed;
    background-color: #654330;
}

.hidden { display: none; }

/* Footer - Exact match to Main.css */
footer {
    background-color: #222;
    color: #fff;
    padding: 50px 0 20px;
}

footer h5 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Newsletter Input in Footer */
.newsletter-input {
    border: none;
    border-bottom: 2px solid #fff;
    background: transparent;
    padding: 10px;
    color: white;
    width: 100%;
    max-width: 300px;
    outline: none;
    margin-bottom: 10px;
}

.newsletter-input::placeholder {
    color: #999;
}

/* Legacy Responsive */
@media (max-width: 991px) {
    .nav-user-block { display: none; }
    .seller-hero-title { font-size: 2.5rem; }
    .seller-hero-img { height: 300px; margin-top: 30px; }
    .value-prop-item { flex-direction: column; margin-bottom: 20px; }
    .value-prop-text { text-align: center; }
    /* Remove vertical borders on mobile */
    .col-md-4.border-start.border-end { border: none !important; }
}


/* --- NEW Hero Section Styles --- */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #fff 0%, #fdf8f6 100%);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.stat-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    font-family: var(--font-heading);
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-img-main {
    border-radius: 12px;
    /*box-shadow: 0 20px 40px rgba(0,0,0,0.08);*/
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Floating Cards in Hero */
.floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.fc-1 { bottom: 40px; left: -20px; z-index: 2; }
.fc-2 { top: 60px; right: -10px; z-index: 2; animation-delay: 2s; }


.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #654330 !important; /* Darker Bronze */
    border-color: #654330 !important;
    box-shadow: 0 4px 12px rgba(127, 84, 61, 0.3) !important;
}


.btn-theme {
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid var(--primary-color);
}

.btn-theme:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

.btn-outline-theme {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline-theme:hover {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(127, 84, 61, 0.2);
}


/* =====================================
   RESPONSIVE HERO FIXES (NEW ADDITION)
   =====================================
*/

@media (max-width: 991px) {
    /* Center align content on tablets and mobile */
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem; /* Smaller heading */
        margin-top: 10px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px; /* Prevent lines getting too long */
    }

    /* Center the buttons area */
    .hero-section .d-flex.gap-3 {
        justify-content: center;
    }

    /* Stats adjustments */
    .hero-stats {
        justify-content: center;
        margin-top: 30px;
        gap: 20px; /* Reduced gap from 40px */
        flex-wrap: wrap; /* Allow wrapping on narrow screens */
    }

    .stat-item {
        min-width: 120px;
        margin-bottom: 10px;
    }

    /* Image area margin & overflow fix */
    .hero-image-wrapper {
        margin-top: 50px;
        /* Padding ensures floating cards hanging off the side don't get cut off */
        padding: 0 15px;
    }

    .hero-img-main {
        height: 350px; /* Reduce height from 500px for mobile */
    }

    /* Floating cards: Reset negative positioning to prevent horizontal scroll */
    .fc-1 {
        left: 0;
        bottom: 20px;
    }

    .fc-2 {
        right: 0;
        top: 30px;
    }
}

@media (max-width: 576px) {
    /* Mobile Phone Adjustments */
    .hero-title {
        font-size: 2rem;
    }

    .hero-img-main {
        height: 280px;
    }

    /* Simplify floating cards on very small screens */
    .floating-card {
        padding: 8px 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }

    .floating-card strong {
        font-size: 0.9rem;
    }

    .floating-card small {
        font-size: 0.65rem !important;
    }

    /* Ensure they don't overlap too much */
    .fc-1 { bottom: 10px; }
    .fc-2 { top: 10px; }
}


/* --- FAQ Accordion --- */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    background: transparent;
}

.accordion-button {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px !important;
    font-weight: 600;
    color: var(--text-dark);
    padding: 20px;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.accordion-body {
    background: white;
    border: 1px solid #eee;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    color: var(--text-muted);
    padding: 20px;
}
