@import url("../estate-portal-prime/style.css");
@import url("../resto-cart/style.css");

/* Shop Portal Bazaar: warm, high-energy multi-vendor bazaar portal. (portal) */
body {
    background: #FFF7ED;
    color: #1C1917;
    font-family: "Figtree", "Segoe UI", system-ui, sans-serif;
}

.ep-header {
    background: var(--theme-primary, #9A3412);
    box-shadow: 0 2px 0 rgba(245, 158, 11, .55);
}
.ep-header-inner { padding: 13px 24px; }
.ep-brand { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.ep-nav a { margin-left: 18px; font-size: 13.5px; font-weight: 700; }
.ep-nav-cta {
    background: var(--theme-accent, #F59E0B);
    color: #1C1917 !important;
    border-radius: 999px;
    padding: 9px 18px;
}
.rf-cart-badge { background: var(--theme-accent, #F59E0B); color: #1C1917; }

.ep-hero {
    background:
        radial-gradient(circle at 12% 110%, rgba(245, 158, 11, .42), transparent 52%),
        radial-gradient(circle at 92% -20%, rgba(220, 38, 38, .35), transparent 48%),
        linear-gradient(160deg, #7C2D12, var(--theme-primary, #9A3412));
    padding: 54px 24px 90px;
}
.ep-hero-kicker {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--theme-accent, #F59E0B);
    opacity: 1;
}
.ep-hero h1 { font-size: clamp(30px, 4.8vw, 46px); letter-spacing: -.03em; margin: 0 0 14px; }
.ep-hero p { font-size: 16px; line-height: 1.55; }
.ep-search-card { border-radius: 18px; box-shadow: 0 22px 44px rgba(124, 45, 18, .3); }
.ep-search-input { border-radius: 999px; padding: 13px 18px; }
.ep-btn {
    border-radius: 999px;
    font-weight: 800;
    background: var(--theme-accent, #F59E0B);
    color: #1C1917;
}
.ep-btn-light { background: #fff; color: var(--theme-primary, #9A3412); }
.ep-btn-ghost {
    background: transparent;
    color: var(--theme-primary, #9A3412);
    border: 1.5px solid rgba(154, 52, 18, .35);
}

.ep-stats { background: #FFEDD5; padding: 26px 24px; }
.ep-stats-grid strong { font-size: 26px; color: var(--theme-primary, #9A3412); }
.ep-stats-grid span { color: #78716C; }

.ep-section { padding: 54px 24px; }
.ep-section h2 { font-size: 28px; letter-spacing: -.02em; }
.ep-section-alt { background: #FFEDD5; }
.ep-section-kicker { color: #C2410C; }
.ep-section-lead, .ep-empty, .ep-card-location { color: #78716C; }

.ep-card { border-radius: 18px; border: 1px solid rgba(124, 45, 18, .1); box-shadow: 0 10px 26px rgba(124, 45, 18, .08); }
.ep-card:hover { box-shadow: 0 20px 42px rgba(124, 45, 18, .18); }
.ep-card-media { height: 205px; background-color: #FFEDD5; }
.ep-badge { border-radius: 999px; background: var(--theme-accent, #F59E0B); color: #1C1917; }
.ep-card-price { color: #C2410C; }

.ep-category-tile { border-radius: 18px; border: 1px solid rgba(124, 45, 18, .12); box-shadow: none; }
.ep-category-tile:hover { border-color: var(--theme-accent, #F59E0B); }

.ep-page-header { background: #FFEDD5; padding: 36px 24px; }
.ep-page-header h1 { font-size: 28px; }

.sp-chip { border-radius: 999px; border-color: rgba(124, 45, 18, .2); }
.sp-chip.is-active { background: var(--theme-primary, #9A3412); border-color: var(--theme-primary, #9A3412); }
.sp-toolbar { border-radius: 18px; border-color: rgba(124, 45, 18, .12); }
.sp-toolbar input, .sp-toolbar select { border-radius: 10px; border-color: rgba(124, 45, 18, .22); }

.ep-cta { background: linear-gradient(120deg, #7C2D12, var(--theme-primary, #9A3412)); }
.ep-footer { background: #431407; }

/* Uploaded logos vary wildly in size; keep them inside the header bar.
   Override estate-portal-prime's max-height: 36px or the lockup stays tiny. */
.ep-brand { display: inline-flex; align-items: center; }
.ep-brand img {
    height: 112px;
    width: auto;
    max-width: 640px;
    max-height: 112px;
    display: block;
    object-fit: contain;
}
.ep-site-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
}
@media (max-width: 720px) {
    .ep-brand img { height: 72px; max-height: 72px; max-width: min(320px, 72vw); }
    .ep-site-logo { width: 72px; height: 72px; }
}
