:root {
    /* Finckart Unified Blue Palette (Updated) */
    --primary: #135ccf;
    --primary-glow: rgba(19, 92, 207, 0.2);
    --primary-light: #eef4ff;
    --primary-gradient: linear-gradient(135deg, #135ccf 0%, #448aff 100%);
    --secondary: #282c3f;
    --accent: #60b246;
    --bg: #ffffff;
    --bg-alt: #f1f1f6;
    --surface: #ffffff;
    --surface-bright: #ffffff;
    --border: #e9e9eb;
    --text: #282c3f;
    --text-dim: #686b78;
    --glass: blur(20px);
    --max-width: 1200px;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.cms-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* Bootstrap Theme Overrides */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary-subtle {
    background-color: var(--primary-light) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

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

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

.btn-outline-primary {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

.spinner-border.text-primary {
    color: var(--primary) !important;
}

.link-primary {
    color: var(--primary) !important;
}

.link-primary:hover {
    color: var(--primary) !important;
}

/* Base Components */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--bg);
}

/* Navbar */
#navbar,
.navbar-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: all 0.4s var(--transition);
}

.navbar-main {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
}

#navbar.scrolled {
    position: fixed;
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.pt-navbar {
    padding-top: 120px !important;
}

/* Ensure navbar is white on partner and profile pages */
.partner-page #navbar,
.business-profile-page #navbar {
    background: #ffffff !important;
    backdrop-filter: none !important;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

/* Dark Hero Transparent State */
body.dark-hero #navbar:not(.scrolled) .nav-links a {
    color: #ffffff;
}

body.dark-hero #navbar:not(.scrolled) .logo-box {
    color: #ffffff;
}

body.dark-hero #navbar:not(.scrolled) a.btn-log-in {
    color: #ffffff;
}

body.dark-hero #navbar:not(.scrolled) .hamburger {
    color: #ffffff;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -1.5px;
}

.main-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s var(--transition);
}

.main-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-right: auto;
    margin-left: 60px;
}

.nav-links a {
    text-decoration: none;
    color: #3d4152;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-log-in {
    color: #3d4152;
    text-decoration: none;
    font-weight: 700;
}

.btn-log-in:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -400px;
    width: 380px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    transition: all 0.4s var(--transition);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3);
    color: #111;
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    background: #232f3e;
    color: #fff;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.sidebar-item {
    padding: 12px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.95rem;
    color: #111;
    text-decoration: none;
}

.sidebar-item:hover {
    background: var(--bg-alt);
}

.sidebar-title {
    padding: 15px 35px 5px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #111;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-sidebar {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar.active+.close-sidebar {
    opacity: 1;
}

/* Cards & Components */
.biz-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--transition);
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.biz-card-premium:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.biz-thumb-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.biz-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.biz-card-premium:hover .biz-thumb-wrap img {
    transform: scale(1.05);
}

.biz-badge-feature {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 10;
}

.biz-price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

/* Buttons */
.btn-fin {
    padding: 12px 28px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-p {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px var(--primary-glow);
    border: none;
}

.btn-p:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--primary-glow);
    color: #fff;
}

.btn-s {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: var(--glass);
}

.btn-s:hover {
    background: var(--surface-bright);
    border-color: hsla(0, 0%, 100%, 0.2);
    transform: translateY(-3px);
}

.btn-magnetic {
    position: relative;
    display: inline-flex;
    transition: transform 0.3s var(--transition);
    z-index: 1;
}

.btn-magnetic span {
    display: inline-block;
    pointer-events: none;
}

/* Search Hub */
.search-hub {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #bebfc5;
    border-radius: 0;
    display: flex;
    align-items: center;
    max-width: none;
    width: 100%;
    box-shadow: none;
    overflow: visible;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    flex-grow: 1;
    border-right: 1px solid #bebfc5;
    position: relative;
}

.search-input-group i {
    color: var(--primary);
    font-size: 1.2rem;
}

.search-hub input {
    background: transparent;
    border: none;
    color: var(--secondary);
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
}

.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    height: 100%;
    padding: 20px 40px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-search:hover {
    background: var(--primary);
}

/* Footer */
footer {
    padding: 60px 8% 30px;
    background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.05));
    border-top: 1px solid var(--border);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 80px;
    margin-bottom: 40px;
}

.f-col h4 {
    color: #1a1c23;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.f-col a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 16px;
    transition: all 0.3s;
    font-weight: 500;
}

.f-col a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Utilities & Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.smallest {
    font-size: 0.7rem;
}

.uppercase {
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
        margin-left: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .search-hub {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        gap: 12px;
    }

    .search-input-group {
        background: white;
        border-radius: 10px;
        border: 1px solid #eee;
        width: 100%;
        border-right: none;
    }

    .btn-search {
        width: 100%;
        border-radius: 10px;
        padding: 18px;
    }
}

/* ==========================================
   CONSOLIDATED MODULE STYLES
   ========================================== */

/* ---- Landing Page ---- */
.post-snippet {
    background: rgba(var(--p-h), var(--p-s), var(--p-l), 0.05);
    padding: 15px;
    border-radius: 16px;
    border-left: 3px solid var(--primary);
}

/* Frosted Glass Bento Enhancements */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 100px;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-tile {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 40px;
    overflow: hidden;
    transition: all 0.5s var(--transition);
}

.bento-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://grain-y.com/assets/images/noise.png');
    opacity: 0.03;
    pointer-events: none;
}

.bento-tile:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

/* Border Beam Effect */
.bento-tile:hover::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(var(--angle, 0deg), transparent, var(--primary), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: rotateBeam 4s linear infinite;
}

.tile-glass-glare {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 300px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.08), transparent 80%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 10;
}

.bento-tile:hover .tile-glass-glare {
    opacity: 1;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBeam {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}

.hero-listeo {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    background: var(--bg);
    padding: 160px 0 80px;
    overflow: hidden;
    text-align: left;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
}

.hero-listeo h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
    color: var(--secondary);
    line-height: 1.2;
}

.hero-listeo p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.locate-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0 10px;
}

.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    height: 100%;
    padding: 20px 40px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.popular-cities {
    margin-top: 30px;
    color: #a9abb2;
    font-size: 0.95rem;
}

.popular-cities span {
    color: #686b78;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-right: 15px;
    letter-spacing: 1px;
}

.city-link {
    color: #93959f;
    text-decoration: none;
    margin-right: 12px;
    font-weight: 500;
    transition: color 0.2s;
}

.hero-main-img {
    width: 110%;
    object-fit: contain;
    transform: scale(1.1);
}



.mind-section {
    padding: 40px 0 80px;
    background: #fff;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.mind-carousel {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 10px 5px 30px;
    scrollbar-width: none;
}

.mind-carousel::-webkit-scrollbar {
    display: none;
}

.mind-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s;
}

.mind-img-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
}

.mind-label {
    font-weight: 700;
    color: #3d4152;
}

.stories-row {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    padding: 20px 10px 48px;
    scrollbar-width: none;
}

.stories-row::-webkit-scrollbar {
    display: none;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
    cursor: pointer;
}

.story-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 28px;
    padding: 3px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    overflow: hidden;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticker-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

/* ---- Marketplace ---- */
.market-hero {
    padding: 160px 8% 60px;
    text-align: center;
}

/* Swiggy-inspired Hero Transformation */
.hero-listeo {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    background: var(--bg);
    padding: 160px 0 80px;
    overflow: hidden;
    text-align: left;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
}

.hero-listeo h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
    color: var(--secondary);
    line-height: 1.2;
}

.hero-listeo p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.popular-cities {
    margin-top: 30px;
    color: #a9abb2;
    font-size: 0.95rem;
}

.popular-cities span {
    color: #686b78;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-right: 15px;
    letter-spacing: 1px;
}

.city-link {
    color: #93959f;
    text-decoration: none;
    margin-right: 12px;
    font-weight: 500;
    transition: color 0.2s;
}

.city-link:hover {
    color: var(--secondary);
}

/* Hero Image Container */
.hero-img-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-main-img {
    width: 110%;
    max-width: none;
    object-fit: contain;
    transform: scale(1.1);
}

.biz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

/* ---- Products ---- */

/* Navbar (Same as Landing) */
.navbar {
    background: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--light);
}

.navbar-brand span {
    color: var(--primary);
}

.nav-link {
    color: #8E8E93;
    font-weight: 500;
    margin-left: 20px;
    transition: 0.3s;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
}

/* Hero / Filter Section */
.filter-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.search-input {
    background: var(--gray);
    border: 1px solid var(--border);
    color: var(--light);
    padding: 12px 20px;
    border-radius: 12px;
    width: 100%;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.2);
}

/* Product Grid */
.product-card {
    background: var(--gray);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.product-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    background: #2C2C2E;
}

.product-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-store {
    font-size: 14px;
    color: #8E8E93;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-store img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--light);
    margin-top: auto;
}

.view-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 500;
    transition: 0.2s;
    text-decoration: none;
    display: block;
    text-align: center;
}

.view-btn:hover {
    background: var(--light);
    color: var(--dark);
}

/* Pagination */
.pagination .page-link {
    background: #fff;
    border-color: var(--border);
    color: var(--text);
    padding: 12px 20px;
    font-weight: 600;
}

.pagination .page-link:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.pagination .page-item.disabled .page-link {
    background: var(--bg-alt);
    color: var(--text-dim);
    opacity: 0.6;
}

.empty-state {
    text-align: center;
    padding: 80px 0;
    color: #8E8E93;
}

.empty-state i {
    display: block;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* ---- Community ---- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* Background Effects */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--bg);
    overflow: hidden;
}

.bg-mesh::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1), transparent 70%);
    pointer-events: none;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.3;
    animation: meshFloat 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    bottom: -50px;
    right: -50px;
}

@keyframes meshFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(10%, 10%) rotate(180deg);
    }
}

nav {
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.community-header {
    padding: 180px 8% 60px;
    text-align: center;
}

/* Social Feed Styles */
.feed-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.post-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 32px;
    margin-bottom: 32px;
    color: var(--text);
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.post-avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.post-header h4 {
    font-size: 1.15rem;
    margin: 0;
    font-weight: 700;
    color: var(--text);
}

.post-time {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text);
}

.post-interactions {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    gap: 24px;
}

.action-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 12px;
}

.action-btn:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.action-liked {
    color: var(--accent) !important;
}

/* Stories Row & Items */
.stories-row {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    padding: 20px 10px 48px;
    margin-bottom: 40px;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, black 85%, transparent);
}

.stories-row::-webkit-scrollbar {
    display: none;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    cursor: pointer;
    width: 90px;
    transition: transform 0.3s;
}

.story-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 28px;
    padding: 3px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    transition: all 0.4s var(--transition);
    position: relative;
}

.story-avatar {
    width: 100%;
    height: 100%;
    background: var(--bg);
    border: 2px solid var(--bg);
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.6rem;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dim);
}

.story-item.live .story-avatar-wrap::after {
    content: 'LIVE';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 20px;
    border: 2px solid var(--bg);
}

.btn-fin {
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-p {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px var(--primary-glow);
    border: none;
}

.btn-p:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--primary-glow);
    color: #fff;
}

footer {
    padding: 100px 8% 40px;
    background: #fff;
    border-top: 1px solid var(--border);
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
}

.f-col h4 {
    color: var(--text);
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.f-col a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s;
}

.f-col a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Partner Hub ---- */

/* Navbar */
nav {
    padding: 20px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary);
    text-decoration: none;
}

.logo div {
    display: none;
}

/* Views */
#landing-view,
#onboarding-view {
    transition: opacity 0.5s var(--transition), transform 0.5s var(--transition);
}

.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 550px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1552566626-52f8b828add9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    color: #fff;
    max-width: 600px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* CTA Card */
.cta-card {
    background: #fff;
    width: 400px;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.cta-card p {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 30px;
}

.btn-cta {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(19, 92, 207, 0.3);
}

/* Onboarding Flow Styles */
.onboarding-outer {
    min-height: calc(100vh - 80px);
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.onboarding-container {
    max-width: 1000px;
    width: 100%;
    background: var(--bg);
    border-radius: 32px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    min-height: 650px;
}

.onboarding-sidebar {
    width: 300px;
    background: var(--secondary);
    padding: 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.stepper {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.4;
    transition: all 0.3s;
}

.step-item.active {
    opacity: 1;
}

.step-item.completed {
    opacity: 0.8;
    color: var(--accent);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.step-item.completed .step-number {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.step-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.onboarding-main {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
}

.onboarding-step {
    display: none;
    animation: slideIn 0.5s var(--transition) forwards;
}

.onboarding-step.active {
    display: flex;
    flex-direction: column;
    height: 100%;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.onboarding-main h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.onboarding-main .subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

/* Form Elements */
.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.selection-card {
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.selection-card:hover,
.selection-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.selection-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 10px 0 5px;
}

.selection-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin: 0;
}

.form-control {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 15px;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(19, 92, 207, 0.1);
}

.btn-fin {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.3s;
}

.btn-p {
    background: var(--primary);
    color: #fff;
}

.btn-p:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-s {
    background: var(--bg-alt);
    color: var(--secondary);
}

.onboarding-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
}

/* Success Animation */
.success-circle {
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
    animation: bounceIn 0.6s var(--transition);
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .onboarding-container {
        flex-direction: column;
    }

    .onboarding-sidebar {
        width: 100%;
        padding: 20px;
    }

    .stepper {
        display: none;
    }

    .onboarding-main {
        padding: 30px;
    }

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

/* ---- Marketplace Partial ---- */
.marketplace-wrapper {
    background: var(--bg);
    color: var(--text);
}

/* Swiggy-inspired Hero Transformation */
.hero-listeo {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    background: var(--bg);
    padding: 160px 0 80px;
    overflow: hidden;
    text-align: left;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
}

.hero-listeo h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
    color: var(--secondary);
    line-height: 1.2;
}

.hero-listeo p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

/* Hero Image Container */
.hero-img-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-main-img {
    width: 110%;
    max-width: none;
    object-fit: contain;
    transform: scale(1.1);
}

/* Swiggy Search Hub */
.search-hub {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #bebfc5;
    border-radius: 0;
    display: flex;
    align-items: center;
    max-width: 800px;
    width: 100%;
    box-shadow: none;
    overflow: visible;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    flex-grow: 1;
    border-right: 1px solid #bebfc5;
    position: relative;
}

.search-input-group.location-group {
    flex-grow: 0.8;
}

.search-input-group i {
    color: var(--primary);
    font-size: 1.2rem;
}

.search-hub input {
    background: transparent;
    border: none;
    color: var(--secondary);
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
}

.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    height: 100%;
    padding: 20px 40px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-search:hover {
    background: var(--primary);
}

.popular-cities {
    margin-top: 30px;
    color: #a9abb2;
    font-size: 0.95rem;
}

.popular-cities span {
    color: #686b78;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-right: 15px;
    letter-spacing: 1px;
}

.city-link {
    color: #93959f;
    text-decoration: none;
    margin-right: 12px;
    font-weight: 500;
    transition: color 0.2s;
}

.city-link:hover {
    color: var(--secondary);
}

.biz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.biz-card-premium {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--transition);
    cursor: pointer;
    position: relative;
}

.biz-card-premium:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.biz-thumb-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.biz-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.biz-card-premium:hover .biz-thumb-wrap img {
    transform: scale(1.05);
}

.biz-badge-feature {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 10;
}

.biz-price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

.btn-primary-market {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.4s var(--transition);
}

.btn-primary-market:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ---- Product Details ---- */
.product-gallery-card {
    background: var(--gray);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.main-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 16px;
    background: var(--bg-alt);
}

.thumbnail-list {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s var(--transition);
}

.thumb:hover,
.thumb.active {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.product-info-card {
    padding: 10px;
}

.badge-stock {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.badge-out {
    background: rgba(255, 59, 48, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.product-price-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin: 24px 0;
}

.business-card-mini {
    background: var(--bg-alt);
    border-radius: 20px;
    padding: 20px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--border);
}

.business-logo-mini {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-buy-now {
    background: var(--primary);
    color: white;
    border: none;
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 30px;
    transition: all 0.3s var(--transition);
}

.btn-buy-now:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(19, 92, 207, 0.2);
}

/* ---- Premium Products Page ---- */
.product-grid-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.filter-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

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

.filter-link .count {
    background: var(--bg-alt);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.product-card-premium {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card-premium:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.product-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg-alt);
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.product-card-premium:hover .product-img-wrap img {
    transform: scale(1.05);
}

.price-tag-premium {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 800;
    color: var(--secondary);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

.product-content-premium {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.product-title-premium {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.store-info-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.store-logo-mini {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.store-name-mini {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.store-name-mini:hover {
    color: var(--primary);
}

@media (max-width: 991px) {
    .product-grid-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
    }
}

/* ---- Premium Product Details ---- */
.product-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 50px;
    box-shadow: var(--shadow);
    height: 100%;
}

.badge-stock {
    background: #e6f7ed;
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.product-price-large {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.qty-input-group {
    display: flex;
    align-items: center;
    background: var(--bg-alt);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--secondary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--primary);
    color: #fff;
}

.qty-val {
    width: 50px;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.btn-buy-now {
    width: 100%;
    padding: 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 18px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 15px 30px rgba(96, 178, 70, 0.2);
}

.btn-buy-now:hover {
    background: #529d3c;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(96, 178, 70, 0.3);
}

.trust-badges {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
}

.trust-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.business-card-mini {
    margin-top: 40px;
    background: var(--bg-alt);
    padding: 25px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--border);
}

.business-logo-mini {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    object-fit: cover;
}

.thumbnail-list {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumb {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumb.active,
.thumb:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.section-title-premium {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* ---- Premium Business Profile ---- */
.cover-section {
    height: 450px;
    width: 100%;
    position: relative;
    background: #000;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.cover-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.profile-header-outer {
    background: #fff;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.profile-header-container {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    padding-bottom: 30px;
    position: relative;
}

.profile-avatar-wrap {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    background: #fff;
    padding: 6px;
    margin-top: -90px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    object-fit: cover;
    border: 2px solid var(--border);
}

.profile-info-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-bio {
    font-size: 1.1rem;
    color: var(--text-dim);
    font-weight: 500;
    max-width: 600px;
}

.profile-actions {
    display: flex;
    gap: 15px;
}

.page-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.intro-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.intro-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-dim);
    font-weight: 600;
}

.intro-item i {
    width: 24px;
    color: var(--primary);
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .page-grid {
        grid-template-columns: 1fr;
    }

    .profile-header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-info-content {
        flex-direction: column;
        align-items: center;
    }
}

/* ---- Premium Community Hub ---- */
.community-header {
    padding: 180px 8% 80px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.stories-row {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 10px 10px 40px;
    margin-bottom: 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stories-row::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex: 0 0 auto;
    width: 85px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s var(--transition);
}

.story-item:hover {
    transform: translateY(-5px);
}

.story-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 30px;
    padding: 3px;
    background: linear-gradient(135deg, var(--border), var(--border));
    margin-bottom: 12px;
    transition: all 0.4s var(--transition);
    position: relative;
}

.story-item.live .story-avatar-wrap {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 3px;
}

.story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 27px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    overflow: hidden;
    border: 2px solid #fff;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Premium Post Cards */
.post-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s var(--transition);
}

.post-card:hover {
    background: #fff;
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.post-avatar {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
    overflow: hidden;
}

.post-header h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.post-content {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--secondary);
    margin-bottom: 25px;
}

.post-image {
    border-radius: 24px;
    margin-bottom: 25px;
    border: 1px solid var(--border);
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

/* Spotlight Sidebar */
.spotlight-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 30px;
    position: sticky;
    top: 120px;
    box-shadow: var(--shadow);
}

.spotlight-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.spotlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.spotlight-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.spotlight-item:hover {
    transform: translateX(5px);
}

.spotlight-thumb {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    overflow: hidden;
}

.spotlight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-info h5 {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 700;
}

.spotlight-info span {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .community-grid {
        grid-template-columns: 1fr;
    }

    .spotlight-card {
        position: static;
        margin-top: 40px;
    }
}