body {
    background: #f5f7fb;
    color: #18212f;
}

.navbar {
    background: linear-gradient(135deg, #102033 0%, #0a1726 100%) !important;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.navbar-brand span {
    font-weight: 700;
    letter-spacing: .2px;
}

.hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(15, 34, 58, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stat-box,
.stat-panel,
.mini-stat {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 34, 58, 0.06);
}

.stat-box strong,
.stat-panel strong,
.mini-stat strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: .4rem;
}

.stat-box span,
.stat-panel span,
.mini-stat span {
    color: #5f6b7a;
    font-size: .92rem;
}

.category-card,
.listing-card,
.related-listing,
.storefront-card,
.admin-quick-link,
.image-manage-card,
.store-card,
.brand-side-panel,
.trust-card,
.login-card-v4 {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    display: block;
    box-shadow: 0 8px 24px rgba(15, 34, 58, 0.06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.category-card:hover,
.listing-card:hover,
.related-listing:hover,
.storefront-card:hover,
.admin-quick-link:hover,
.store-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(15, 34, 58, 0.1);
}

.category-card,
.storefront-card,
.admin-quick-link,
.image-manage-card,
.store-card,
.brand-side-panel,
.trust-card {
    padding: 1.25rem;
}

.category-icon {
    font-size: 1.8rem;
    margin-bottom: .8rem;
}

.listing-image-wrap {
    position: relative;
}

.listing-image,
.detail-hero-image,
.storefront-logo {
    width: 100%;
    object-fit: cover;
    display: block;
}

.listing-image {
    height: 220px;
    border-radius: 20px 20px 0 0;
}

.detail-hero-image {
    height: 460px;
    border-radius: 18px 18px 0 0;
}

.list-thumb-side {
    width: 38%;
    min-width: 220px;
}

.list-thumb-side .listing-image {
    border-radius: 0;
    height: 100%;
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
}

.top-filter-card {
    top: 92px;
}

.thumb-strip {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
}

.thumb-strip-image {
    width: 92px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.detail-description {
    line-height: 1.8;
    white-space: pre-line;
}

.detail-pill-wrap,
.filter-pill-wrap,
.area-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.detail-pill,
.filter-pill,
.area-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(16, 32, 51, 0.12);
    color: #223045;
    padding: .55rem .9rem;
    font-size: .9rem;
    text-decoration: none;
}

.area-chip:hover {
    background: #eef4ff;
}

.related-listing {
    padding: 1rem;
}

.table > :not(caption) > * > * {
    padding-top: .9rem;
    padding-bottom: .9rem;
}

.storefront-logo-wrap {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
}

.storefront-logo {
    height: 100%;
}

.storefront-avatar,
.store-card-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 24px rgba(15, 34, 58, 0.12);
}

.store-card-avatar {
    width: 60px;
    height: 60px;
    border-width: 2px;
}

.store-card-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #102033 0%, #1f4d8e 100%);
    color: #fff;
    font-weight: 700;
}

.storefront-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
}

.image-preview-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    overflow: hidden;
}

.image-preview-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.image-preview-card .form-check {
    padding: .85rem 1rem 1rem 2.3rem;
}

.carousel-item img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.seller-meta-link,
.area-chip {
    text-decoration: none;
}

.admin-quick-link {
    text-decoration: none;
    color: inherit;
}

.brand-side-panel {
    min-height: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #edf4ff 100%);
}

.brand-side-list {
    display: grid;
    gap: .8rem;
}

.brand-side-list > div,
.trust-card span {
    color: #5f6b7a;
}

.trust-card strong {
    display: block;
    margin-bottom: .35rem;
}

.login-card-v4 {
    overflow: hidden;
}

.store-card {
    height: 100%;
}

.trust-strip {
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .brand-logo {
        width: 34px;
        height: 34px;
    }

    .list-thumb-side {
        width: 100%;
        min-width: 100%;
    }

    .listing-card.d-flex {
        flex-direction: column !important;
    }

    .detail-hero-image,
    .carousel-item img {
        height: 280px;
    }

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

@media (max-width: 576px) {
    .storefront-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .detail-pill,
    .filter-pill,
    .area-chip {
        width: 100%;
        justify-content: center;
    }
}

.pulse-card,
.store-snippet,
.quick-chip,
.share-bar {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 34, 58, 0.06);
}

.pulse-card,
.store-snippet {
    display: block;
    padding: 1rem 1.1rem;
    transition: transform .18s ease, box-shadow .18s ease;
}

.pulse-card:hover,
.store-snippet:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(15, 34, 58, 0.1);
}

.quick-chip {
    display: inline-flex;
    align-items: center;
    padding: .5rem .8rem;
    text-decoration: none;
    color: #1a2a3d;
    font-size: .9rem;
}

.quick-chip:hover {
    background: #eef4ff;
}

.category-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.share-bar {
    padding: 1rem;
    background: linear-gradient(135deg, #f9fbff 0%, #ffffff 100%);
}

.sticky-contact-card {
    top: 92px;
    position: sticky;
}

.storefront-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

@media (max-width: 991.98px) {
    .sticky-contact-card,
    .top-filter-card {
        position: static;
        top: auto;
    }
}

.category-card-visual {
    position: relative;
    min-height: 120px;
    border-radius: 18px;
    margin: -0.25rem -0.25rem 1rem;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.category-card-visual::after,
.category-hero-visual::after,
.storefront-cover-hero::after,
.promoted-store-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 24, 39, 0.04), rgba(13, 24, 39, 0.18));
}

.category-card-visual .category-icon {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,.92);
    border-radius: 18px;
    font-size: 1.7rem;
    box-shadow: 0 12px 26px rgba(15, 34, 58, 0.18);
}

.category-hero-visual,
.storefront-cover-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.category-hero-visual > .row,
.storefront-cover-hero > .d-flex {
    position: relative;
    z-index: 1;
}

.promoted-store-banner {
    position: relative;
    display: block;
    min-height: 250px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f1726 0%, #193252 100%);
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 40px rgba(15, 34, 58, 0.14);
}

.promoted-store-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 18, 31, 0.15), rgba(10, 18, 31, 0.72));
}

.promoted-store-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.4rem;
    z-index: 1;
}

.promoted-store-card {
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.10);
}

.compare-table-wrap {
    border-radius: 24px;
}

.compare-table th,
.compare-table td {
    min-width: 220px;
    vertical-align: top;
    background: #fff;
}

.compare-table th:first-child,
.compare-table td:first-child {
    min-width: 160px;
    position: sticky;
    left: 0;
    z-index: 2;
    background: #f8fafc;
}

.compare-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 16px;
}

@media (max-width: 991.98px) {
    .top-filter-card {
        top: 0;
    }
}

@media (max-width: 767.98px) {
    .listing-image {
        height: 190px;
    }

    .list-thumb-side {
        width: 100%;
        min-width: 0;
    }

    .listing-card.d-flex.flex-column.flex-md-row {
        flex-direction: column !important;
    }

    .listing-card .p-3,
    .listing-card .p-4 {
        padding: 1rem !important;
    }

    .detail-hero-image {
        height: 280px;
    }

    .storefront-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promoted-store-banner {
        min-height: 220px;
    }

    .compare-table th:first-child,
    .compare-table td:first-child {
        min-width: 120px;
    }
}


.mini-promo-card {
    background: #fff;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(15, 34, 58, 0.06);
    overflow: hidden;
}

.compact-listing-image {
    height: 180px;
    border-radius: 20px 20px 0 0;
}

.listing-badge-stack {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
    max-width: calc(100% - 24px);
}

.listing-badge {
    display: inline-flex;
    align-items: center;
    padding: .35rem .65rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 8px 20px rgba(15, 34, 58, 0.12);
}

.badge-featured {
    background: rgba(245, 158, 11, 0.95);
    color: #1f2937;
}

.badge-fresh {
    background: rgba(16, 185, 129, 0.95);
    color: #fff;
}

.badge-popular {
    background: rgba(37, 99, 235, 0.95);
    color: #fff;
}

.badge-photos {
    background: rgba(255, 255, 255, 0.95);
    color: #223045;
    border: 1px solid rgba(16, 32, 51, 0.12);
}

.feed-listing-card {
    display: flex;
    flex-direction: row;
    border-radius: 24px;
}

.feed-thumb {
    width: 310px;
    min-width: 310px;
    position: relative;
}

.feed-thumb .listing-image {
    border-radius: 24px 0 0 24px;
    height: 100%;
    min-height: 220px;
}

.feed-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.contact-card-stack {
    display: grid;
    gap: .75rem;
}

.contact-card-item {
    background: #f8fafc;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 16px;
    padding: .9rem 1rem;
}

.contact-card-item span {
    display: block;
    color: #64748b;
    font-size: .8rem;
    margin-bottom: .25rem;
}

.contact-card-item strong {
    display: block;
    color: #0f172a;
    font-size: .95rem;
}

@media (max-width: 767.98px) {
    .feed-listing-card {
        flex-direction: column;
    }

    .feed-thumb {
        width: 100%;
        min-width: 0;
    }

    .feed-thumb .listing-image,
    .compact-listing-image {
        border-radius: 24px 24px 0 0;
        min-height: 200px;
        height: 200px;
    }

    .listing-badge-stack {
        top: 10px;
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
}


.footer-powered a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
}
.footer-powered a:hover {
    text-decoration: underline;
}
.area-visual-card {
    position: relative;
    display: block;
    min-height: 180px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f1726 0%, #1a3a60 100%);
    background-size: cover;
    background-position: center;
    box-shadow: 0 16px 34px rgba(15, 34, 58, 0.12);
}
.area-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 19, 30, 0.18), rgba(11, 19, 30, 0.72));
}
.area-visual-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.1rem 1.2rem;
    color: #fff;
    z-index: 1;
}
.visual-chip-card,
.placement-store-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    padding: .95rem 1rem;
    box-shadow: 0 8px 24px rgba(15, 34, 58, 0.06);
}
.placement-store-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.area-hero-visual::after {
    background: linear-gradient(180deg, rgba(13, 24, 39, 0.06), rgba(13, 24, 39, 0.20));
}
@media (max-width: 768px) {
    .placement-store-card {
        flex-direction: column;
        align-items: flex-start;
    }
}


.form-actions-inline {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.form-actions-sticky {
    position: sticky;
    bottom: 1rem;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 30px rgba(15, 34, 58, 0.12);
    backdrop-filter: blur(8px);
}

@media (max-width: 767.98px) {
    .form-actions-inline,
    .form-actions-sticky {
        flex-direction: column;
        align-items: stretch;
    }
}


.nav-post-btn {
    border-radius: 999px;
    padding-inline: 1rem;
    font-weight: 700;
}
.footer-links a {
    color: inherit;
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}
.trust-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.trust-pill {
    display: inline-flex;
    align-items: center;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
}
.trust-business { background: #eef6ff; }
.trust-promoted { background: #fff7df; }
.trust-established { background: #eef9f1; }
.trust-active { background: #f0f4ff; }
.trust-interest { background: #f7efff; }
.trust-clear { background: #eefbf5; }
.trust-new { background: #f7f7f7; }
.safety-item {
    padding: .9rem 1rem;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 1rem;
    background: #fff;
}
.storefront-filter-bar,
.market-quick-routes {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 1rem;
    padding: .85rem;
    background: #fff;
}
@media (max-width: 991px) {
    .nav-post-btn {
        width: 100%;
        margin-block: .5rem;
    }
}


/* V14 discovery + storefront + promote + SEO */
.listing-card-feed, .listing-card-compact { border-radius: 20px; overflow: hidden; }
.listing-card-title { line-height: 1.3; }
.listing-card-actions .btn { flex: 1 1 auto; }
.seo-link-grid .seo-box { background: #fff; border: 1px solid #e9ecef; border-radius: 20px; padding: 1.1rem; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04); }
.promote-summary-image { width: 180px; height: 120px; object-fit: cover; border-radius: 18px; border: 1px solid #e9ecef; }
.promo-option-card { background: #fff; border: 1px solid #e9ecef; border-radius: 20px; padding: 1.15rem; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04); }
.promo-checklist div { margin-bottom: .35rem; }
.seo-copy-section .card, .seo-box, .promo-option-card { backdrop-filter: blur(2px); }
.storefront-contact-sticky { position: sticky; top: 90px; }
@media (max-width: 767.98px) {
  .navbar .container { padding-left: .85rem; padding-right: .85rem; }
  .listing-card { border-radius: 18px; }
  .listing-image { height: 210px; }
  .compact-listing-image { height: 170px; }
  .listing-card .p-3 { padding: .9rem !important; }
  .listing-card-title, .listing-card h3, .listing-card .h6, .listing-card .h5 { font-size: 1rem !important; margin-bottom: .35rem; }
  .listing-badge-stack { gap: .35rem; }
  .trust-strip .trust-card { min-height: 100%; }
  .promote-summary-image { width: 100%; max-width: 100%; height: 180px; }
}


.seo-landing-card,
.faq-card,
.promo-price-card,
.promo-mini-card,
.seo-mini-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15,34,58,.06);
}
.seo-landing-card,
.faq-card { padding: 1.5rem; }
.seo-mini-grid,
.promo-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
}
.seo-mini-card,
.promo-mini-card {
    display: block;
    text-decoration: none;
    color: #1c2940;
    padding: 1rem;
}
.seo-mini-card strong,
.promo-mini-card strong { display:block; margin-bottom:.3rem; }
.seo-mini-card span,
.promo-mini-card span { color:#627081; font-size:.92rem; }
.promo-price-card { padding: 1.2rem; }
.promo-price-card.featured { border-color: rgba(255,193,7,.55); box-shadow: 0 14px 30px rgba(255,193,7,.12); }
.placement-store-card { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; padding:1rem; border:1px solid rgba(0,0,0,.06); border-radius:18px; background:#fff; }
@media (max-width: 768px) {
    .seo-mini-grid,
    .promo-grid-mini { grid-template-columns: 1fr; }
    .placement-store-card { flex-direction: column; }
}

.buyer-lane {
    background: linear-gradient(180deg, rgba(13,110,253,0.06), rgba(13,110,253,0.02));
    border: 1px solid rgba(13,110,253,0.12);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
}

.buyer-shortcut {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(33,37,41,0.12);
    color: #212529;
    text-decoration: none;
    font-size: .93rem;
    box-shadow: 0 .25rem .8rem rgba(17,24,39,0.05);
}

.buyer-shortcut:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.saved-search-name {
    min-width: 14rem;
    max-width: 22rem;
}

@media (max-width: 767.98px) {
    .saved-search-name {
        min-width: 100%;
        max-width: 100%;
    }
}


.lead-message-box{background:#f8f9fb;border:1px solid #e7ebf3;border-radius:14px;padding:14px;color:#475569}
.seller-power-banner,.seller-power-mini{background:#fff;border:1px solid #e8edf4;border-radius:22px;padding:22px;box-shadow:0 12px 34px rgba(15,23,42,.06)}
.owner-tool-grid,.management-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.admin-quick-link,.pulse-card,.seller-power-banner,.seller-power-mini{transition:transform .18s ease, box-shadow .18s ease}
.admin-quick-link:hover,.pulse-card:hover,.seller-power-banner:hover,.seller-power-mini:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(15,23,42,.08)}
@media (max-width: 767.98px){
  .lead-message-box{font-size:.95rem}
}
