
:root {
    --sb-logo-main: #1E293B;
    --sb-logo-deep: #0F172A;
    --sb-logo-muted: #64748B;
    --sb-logo-accent: #C9972B;

    --spb-bg: #F6F7F9;
    --spb-card: #FFFFFF;
    --spb-card-soft: #FBFCFD;
    --spb-text: var(--sb-logo-deep);
    --spb-text-soft: var(--sb-logo-main);
    --spb-muted: var(--sb-logo-muted);
    --spb-muted-light: #94A3B8;
    --spb-border: #E2E8F0;
    --spb-border-soft: rgba(15, 23, 42, 0.08);
    --spb-primary: var(--sb-logo-main);
    --spb-primary-deep: var(--sb-logo-deep);
    --spb-primary-soft: rgba(30, 41, 59, 0.08);
    --spb-accent: var(--sb-logo-accent);
    --spb-accent-soft: rgba(201, 151, 43, 0.14);
    --spb-red: var(--sb-logo-main);
    --spb-red-deep: var(--sb-logo-deep);
    --spb-red-soft: rgba(30, 41, 59, 0.08);
    --spb-green: var(--sb-logo-main);
    --spb-green-soft: rgba(30, 41, 59, 0.08);
    --spb-blue: #334155;
    --spb-amber: var(--sb-logo-accent);
    --spb-shadow: 0 10px 28px rgba(15, 23, 42, 0.065);
    --spb-shadow-hover: 0 16px 38px rgba(15, 23, 42, 0.095);
    --spb-radius: 18px;
    --spb-radius-sm: 12px;
    --spb-container: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    direction: rtl;
    background: var(--spb-bg);
}

body {
    margin: 0;
    background: var(--spb-bg);
    color: var(--spb-text);
    font-family: Vazir, Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a,
button,
input,
select,
textarea,
[role="button"],
[tabindex] {
    -webkit-tap-highlight-color: transparent;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[role="button"]:focus,
[tabindex]:focus {
    outline: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}

.spb-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.spb-main {
    flex: 1;
    padding-bottom: 84px;
}

.spb-container {
    width: min(var(--spb-container), calc(100% - 32px));
    margin-inline: auto;
}

.is-hidden {
    display: none !important;
}

/* Header */
.spb-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
    backdrop-filter: blur(12px);
}

.spb-header-inner {
    width: min(var(--spb-container), calc(100% - 32px));
    min-height: 66px;
    margin-inline: auto;
    padding: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.spb-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.spb-brand img {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    object-fit: contain;
}

.spb-top-search,
.spb-main-search {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    height: 48px;
    margin: 0 !important;
    overflow: visible;
    background: #f8fafc;
    border: 1px solid #929292;
    border-radius: 10px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.spb-top-search:focus-within,
.spb-main-search:focus-within {
    background: #ffffff;
    border-color: rgba(201, 151, 43, 0.34);
    box-shadow: 0 0 0 4px rgba(201, 151, 43, 0.10);
}

.spb-top-search input,
.spb-main-search input {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 14px !important;
    color: var(--spb-text);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 13px;
}

.spb-top-search button,
.spb-main-search button {
    display: none !important;
}

.spb-search-location {
    height: 100%;
    max-width: 170px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    padding: 0 10px;
    color: #374151;
    background: #ffffff;
    border-left: 1px solid #e5e7eb;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-search-location span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-location-icon {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    display: inline-block;
    object-fit: contain;
    opacity: 0.72;
}

.spb-search-hint-icon {
    display: none !important;
}

.spb-location:not(.spb-search-location) {
    display: none;
}


/* Page loader */
.spb-page-logo-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: #ffffff;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.spb-page-logo-loader.is-hidden,
.spb-page-logo-loader[hidden] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.spb-page-logo-loader-box {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    animation: spbLoaderPulse 1.55s ease-in-out infinite;
}

.spb-page-logo-loader-box img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    animation: spbLoaderLogoPulse 1.55s ease-in-out infinite;
    transform-origin: center;
}

@keyframes spbLoaderPulse {
    0% {
        transform: scale(0.96);
        filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.08));
    }

    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 16px 30px rgba(201, 151, 43, 0.26));
    }

    100% {
        transform: scale(0.96);
        filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.08));
    }
}

@keyframes spbLoaderLogoPulse {
    0% {
        opacity: 0.86;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.86;
    }
}

/* Compatibility containers: the new row classes are the source of truth. */
.spb-business-grid,
.spb-product-grid,
.spb-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

/* Live search */
.spb-live-search-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 80;
    max-height: min(480px, calc(100vh - 110px));
    overflow-y: auto;
    padding: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.spb-live-search-panel[hidden] {
    display: none !important;
}

.spb-live-search-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 14px;
    color: var(--spb-text);
}

.spb-live-search-item:hover {
    background: #f8fafc;
}

.spb-live-search-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    background: #f3f4f6;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.spb-live-search-content {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.spb-live-search-content strong {
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-live-search-content span,
.spb-live-search-status,
.spb-live-search-more {
    color: var(--spb-muted);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.7;
}

.spb-live-search-more,
.spb-live-search-status {
    display: block;
    padding: 9px 10px;
    text-align: center;
}

/* Page and sections */
.spb-section {
    margin-top: 24px;
}

.spb-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.075);
}

.spb-section-head h2 {
    margin: 0;
    color: #111827;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.8;
}

.spb-section-head a,
.spb-section-head span {
    color: var(--spb-red);
    font-size: 12px;
    font-weight: 900;
}

.spb-page-head {
    padding-top: 26px;
}

.spb-page-head h1 {
    margin: 0 0 8px;
    color: var(--spb-text);
    font-size: 18px;
    font-weight: 950;
    line-height: 1.7;
}

.spb-page-head p,
.spb-current-scope {
    margin: 0 0 12px;
    color: var(--spb-muted);
    font-size: 13px;
}

.spb-empty {
    width: 100%;
    padding: 22px;
    text-align: center;
    color: var(--spb-muted);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
}

.spb-empty-large {
    padding: 50px 22px;
}

.spb-primary-link,
.spb-clear-scope {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--spb-red);
    border: 1px solid var(--spb-red);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 900;
}

/* Promo slider */
.spb-home-banners {
    padding-top: 15px;
}

.spb-home-slider {
    position: relative;
    height: 405px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.075);
}

.spb-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.spb-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.018);
    transition: opacity 420ms ease, visibility 420ms ease, transform 520ms ease;
}

.spb-slide:first-child,
.spb-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.spb-slider-track.is-initialized .spb-slide:first-child:not(.is-active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.018);
}

.spb-promo-slide {
    display: flex;
    align-items: center;
    padding: 32px;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.30), transparent 30%),
        radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.18), transparent 36%),
        linear-gradient(135deg, #FFB703 0%, #FB8500 46%, #D00000 100%);
}

.spb-promo-slide-2 {
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.28), transparent 32%),
        radial-gradient(circle at 16% 82%, rgba(255, 255, 255, 0.14), transparent 38%),
        linear-gradient(135deg, #00B4D8 0%, #0077B6 48%, #03045E 100%);
}

.spb-promo-slide-3 {
    background:
        radial-gradient(circle at 18% 76%, rgba(255, 255, 255, 0.28), transparent 34%),
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.12), transparent 38%),
        linear-gradient(135deg, #80ED99 0%, #00B894 44%, #006466 100%);
}

.spb-promo-slide-4 {
    background:
        radial-gradient(circle at 84% 76%, rgba(255, 255, 255, 0.28), transparent 34%),
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.14), transparent 38%),
        linear-gradient(135deg, #FF4D6D 0%, #C9184A 48%, #590D22 100%);
}

.spb-promo-slide-content {
    max-width: 620px;
    display: grid;
    gap: 8px;
}

.spb-promo-kicker {
    width: fit-content;
    padding: 4px 11px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 11px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.spb-promo-slide strong {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(15, 23, 42, 0.26);
    font-size: 21px;
    font-weight: 950;
    line-height: 1.65;
}

.spb-promo-slide p {
    max-width: 540px;
    margin: 0;
    color: rgba(255, 255, 255, 0.90);
    text-shadow: 0 1px 9px rgba(15, 23, 42, 0.22);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 2;
}

.spb-promo-dots {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 18px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.spb-promo-dots button {
    width: 23px;
    height: 23px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: rgba(15, 23, 42, 0.74);
    cursor: pointer;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 7px 16px rgba(15, 23, 42, 0.14);
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.spb-promo-dots button:hover {
    transform: translateY(-1px);
}

.spb-promo-dots button.is-active {
    background: #0F172A;
    color: #C9972B;
}

@media (max-width: 960px) {
    .spb-home-banners.spb-container {
        width: 100vw;
        max-width: none;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding-top: 0px;
    }

    .spb-home-slider {
        height: 345px;
        border-radius: 0;
        border-right: 0;
        border-left: 0;
        box-shadow: none;
    }

    .spb-promo-slide {
        padding: 24px 26px;
    }
}

@media (max-width: 560px) {
    .spb-home-banners.spb-container {
        padding-top: 0px;
    }

    .spb-home-slider {
        height: 292px;
    }

    .spb-promo-slide {
        align-items: center;
        padding: 20px;
    }

    .spb-promo-slide strong {
        font-size: 18px;
    }

    .spb-promo-slide p {
        font-size: 12.5px;
    }
}

/* Categories and areas */
.spb-category-mini-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
}

.spb-category-mini-item {
    min-width: 0;
}

.spb-category-mini {
    min-height: 90px;
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 10px 8px;
    text-align: center;
    color: #3f3f46;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.spb-category-mini:hover {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.spb-category-mini-icon,
.spb-category-mini img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-inline: auto;
}

.spb-category-mini strong {
    max-width: 100%;
    color: #64748B;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-category-mini small {
    color: var(--spb-muted);
    font-size: 10px;
}

.spb-category-result-list,
.spb-area-list,
.spb-home-city-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.spb-category-result-card,
.spb-area-item,
.spb-home-city-card {
    position: relative;
    min-height: 88px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 14px 15px;
    overflow: hidden;
    color: var(--spb-text);
    background:
        radial-gradient(circle at 12% 16%, rgba(30, 41, 59, 0.07), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--spb-border-soft);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.spb-category-result-card::before,
.spb-area-item::before,
.spb-home-city-card::before {
    content: "";
    position: absolute;
    inset-block: 13px;
    right: 0;
    width: 3px;
    border-radius: 999px 0 0 999px;
    background: linear-gradient(180deg, rgba(201, 151, 43, 0.72), rgba(201, 151, 43, 0.20));
}

.spb-category-result-card > span,
.spb-area-type,
.spb-home-city-card > span {
    width: fit-content;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.045);
    color: #6b7280;
    font-size: 11px;
    font-weight: 900;
}

.spb-category-result-card strong,
.spb-area-item strong,
.spb-home-city-card strong {
    color: var(--spb-text);
    font-size: 13px;
    font-weight: 950;
    line-height: 1.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-category-result-card small,
.spb-area-item small,
.spb-home-city-card small {
    color: var(--spb-muted);
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Select city */
.spb-select-city-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
    align-items: end;
    gap: 18px;
}

.spb-select-city-title-box {
    min-width: 0;
}

.spb-select-city-tools {
    min-width: 0;
    display: grid;
    gap: 9px;
    padding: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.075);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.spb-select-city-action-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.spb-select-city-search {
    width: 100%;
    max-width: none;
    height: 40px;
    padding: 0 13px !important;
    color: var(--spb-text);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 13px;
    outline: 0;
    font-size: 12.5px;
    font-weight: 750;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.spb-select-city-search:focus {
    border-color: rgba(201, 151, 43, 0.72);
    box-shadow: 0 0 0 4px rgba(201, 151, 43, 0.12);
}

.spb-current-scope {
    margin: 0;
    color: var(--spb-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.8;
}

.spb-current-scope strong {
    color: var(--spb-primary-deep);
    font-weight: 950;
}

.spb-clear-scope {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: var(--spb-primary-deep);
    background: linear-gradient(135deg, rgba(201, 151, 43, 0.16), rgba(201, 151, 43, 0.08));
    border: 1px solid rgba(201, 151, 43, 0.34);
    border-radius: 13px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.spb-clear-scope:hover {
    background: var(--spb-primary-deep);
    border-color: var(--spb-primary-deep);
    color: #ffffff;
}

.spb-area-grid,
.spb-city-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 8px;
}

.spb-area-card,
.spb-city-row-card {
    min-width: 0;
    min-height: 50px;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    color: var(--spb-primary-deep);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    border: 1px solid rgba(15, 23, 42, 0.075);
    border-radius: 13px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.032);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.spb-area-card:hover,
.spb-city-row-card:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 151, 43, 0.34);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.spb-city-row-icon {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    color: transparent;
    border-radius: 8px;
    background: radial-gradient(circle at center, var(--spb-accent) 0 3px, transparent 4px), rgba(201, 151, 43, 0.12);
    border: 1px solid rgba(201, 151, 43, 0.24);
}

.spb-city-row-body {
    min-width: 0;
    display: grid;
    gap: 0;
}

.spb-area-card strong,
.spb-city-row-card strong {
    min-width: 0;
    color: var(--spb-primary-deep);
    font-size: 12.5px;
    font-weight: 950;
    line-height: 1.55;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-area-card span,
.spb-city-row-card small {
    min-width: 0;
    color: var(--spb-muted);
    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-province-chip-list {
    gap: 7px;
}

.spb-province-chip {
    min-height: 30px;
    padding: 5px 11px;
    color: var(--spb-primary-deep);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 11.5px;
}

/* Unified row cards */
.spb-business-row-list,
.spb-product-row-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
}

.spb-business-row-card,
.spb-product-row-card {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 112px;
    padding: 12px;
    overflow: hidden;
    color: var(--spb-text);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
    border: 1px solid rgba(15, 23, 42, 0.085);
    border-radius: 18px;
    box-shadow: 0 9px 24px rgba(15, 23, 42, 0.052);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.spb-business-row-card::after,
.spb-product-row-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(201, 151, 43, 0.34), rgba(30, 41, 59, 0.16), rgba(100, 116, 139, 0.12));
    pointer-events: none;
}

.spb-business-row-card:hover,
.spb-product-row-card:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 151, 43, 0.28);
    box-shadow: var(--spb-shadow-hover);
}

.spb-business-row-image,
.spb-product-row-image {
    position: relative;
    width: 86px;
    height: 86px;
    min-width: 86px;
    overflow: hidden;
    border-radius: 18px;
    background: #f3f4f6;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.065);
}

.spb-business-row-image img,
.spb-product-row-image img,
.spb-business-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.spb-business-row-body,
.spb-product-row-body {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 5px;
}

.spb-business-row-title,
.spb-product-row-title {
    min-width: 0;
    display: block;
    color: #101827;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.65;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-row-chip-line {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.spb-row-chip {
    max-width: 100%;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-row-chip-category {
    color: #5F4308;
    background: #F4D48A;
    border: 1px solid #C9972B;
}

.spb-row-chip-city {
    color: #7A5A14;
    background: transparent;
    border: 1px solid #C9972B;
}

.spb-business-row-summary,
.spb-business-row-address {
    min-width: 0;
    display: block;
    color: #5f6672;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.75;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-business-row-address {
    color: #7b8190;
    padding-top: 3px;
    border-top: 1px dashed rgba(15, 23, 42, 0.075);
}

/* Product price and badges */
.spb-product-badge-row {
    position: absolute;
    top: 8px;
    right: 8px;
    left: 8px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    pointer-events: none;
}

.spb-product-discount-badge,
.spb-product-unavailable-badge {
    max-width: 100%;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1.45;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.spb-product-discount-badge {
    background: #D32F2F;
    color: #fff;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.spb-product-unavailable-badge {
    background: #1E293B;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: none;
}

.spb-product-discount-inline {
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border-radius: 999px;
    color: #ffffff;
    background: #D32F2F;
    border: 1px solid #D32F2F;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.35;
    white-space: nowrap;
}

.spb-product-price-box {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding-top: 4px;
    text-align: left;
    justify-items: end;
}

.spb-product-price-line {
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 7px;
    line-height: 1.65;
    text-align: left;
}

.spb-product-price-label {
    color: #8b9099;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.spb-product-price-original {
    color: #b6bbc4;
    font-size: 11.5px;
    font-weight: 750;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: #aeb4bf;
    white-space: nowrap;
}

.spb-product-price-final {
    color: #C9972B;
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
}

.spb-product-price-empty {
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
}

.spb-price {
    color: #C9972B;
    font-size: 14px;
    font-weight: 950;
}

/* Search tabs and form */
.spb-search-page-form {
    max-width: 760px;
}

.spb-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 14px;
    padding-bottom: 4px;
}

.spb-tabs a,
.spb-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 13px;
    background: #ffffff;
    border: 1px solid var(--spb-border);
    border-radius: 999px;
    color: #374151;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.spb-tabs a.is-active {
    color: #ffffff;
    background: var(--spb-red);
    border-color: var(--spb-red);
}

.spb-search-highlight {
    display: inline;
    padding: 0 0.14em;
    border-radius: 5px;
    background: rgba(201, 151, 43, 0.20);
    color: inherit;
    font-weight: inherit;
}

/* Business profile */
.spb-profile-hero {
    padding: 26px 0 0;
    background: transparent;
}

.spb-profile-hero-inner {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    background: #e2e8f0;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.spb-profile-cover {
    width: 100%;
    height: 550px;
    object-fit: cover;
    background: #e2e8f0;
}

.spb-profile-head-section {
    margin-top: 18px;
}

.spb-profile-head-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.spb-profile-logo {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    object-fit: cover;
    background: #ffffff;
    border: 4px solid rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.13);
}

.spb-profile-title-box {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.spb-profile-title-box h1 {
    margin: 0;
    color: var(--spb-primary-deep);
    font-size: 18px;
    font-weight: 950;
    line-height: 1.65;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.spb-profile-meta span {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 10px;
    color: var(--spb-primary-deep);
    background: rgba(201, 151, 43, 0.12);
    border: 1px solid rgba(201, 151, 43, 0.26);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spb-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 16px;
    align-items: start;
}

.spb-profile-main,
.spb-profile-side {
    min-width: 0;
}

.spb-panel {
    margin-bottom: 16px;
    padding: 15px;
    background: #F7ECE0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
}

.spb-panel h2 {
    margin: 0 0 11px;
    color: var(--spb-primary-deep);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.8;
}

.spb-panel p,
.spb-profile-description-text {
    margin: 0;
    color: #334155;
    font-size: 13px;
    line-height: 2;
    white-space: pre-line;
}

.spb-profile-description-panel {
    position: relative;
    padding-right: 18px;
    border-color: rgba(15, 23, 42, 0.075);
}

.spb-profile-description-panel::before {
    content: "";
    position: absolute;
    top: 16px;
    right: 0;
    width: 3px;
    height: calc(100% - 32px);
    min-height: 34px;
    border-radius: 999px 0 0 999px;
    background: linear-gradient(180deg, var(--spb-accent), rgba(201, 151, 43, 0.18));
}

.spb-contact-list {
    display: grid;
    gap: 0;
    overflow: hidden;
    background: #FDFEFE;
    border: 1px solid rgba(15, 23, 42, 0.075);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.spb-service-list,
.spb-online-service-list {
    display: grid;
    gap: 10px;
}

.spb-contact-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--spb-text);
    background: #ffffff;
    border-bottom: 2px solid #F7ECE0;
    transition: background-color 0.16s ease;
}

.spb-contact-row:last-child {
    border-bottom: 0;
}

.spb-contact-row:hover {
    background: #FAFBFC;
}

.spb-contact-row-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

}

.spb-contact-row-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.spb-contact-row-text {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.spb-contact-row-label {
    display: block;
    color: #000;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.65;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: hide;
}

.spb-contact-row-value {
    display: block;
    min-width: 0;
    color: var(--spb-primary-deep);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.spb-online-service-list a,
.spb-online-service-list .spb-online-service-button {
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 15px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
}

.spb-online-service-list a::after,
.spb-online-service-list .spb-online-service-button::after {
    content: "";
    position: absolute;
    top: -70%;
    right: -35%;
    width: 26%;
    height: 240%;
    transform: rotate(26deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.48), transparent);
    animation: spbServiceShine 3.6s ease-in-out infinite;
    pointer-events: none;
}

.spb-online-service-button strong {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 950;
    line-height: 1.8;
    text-align: center;
}

.spb-online-service-button.is-speedymarket {
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.18), transparent 32%),
        linear-gradient(135deg, #0F172A 0%, #1E293B 42%, #B88924 76%, #E5B84B 100%);
}

.spb-online-service-button.is-speedycard {
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.16), transparent 32%),
        linear-gradient(135deg, #0B1220 0%, #1E3A5F 46%, #3B5F8A 72%, #C9972B 100%);
}

.spb-online-service-button.is-customer-club {
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.16), transparent 32%),
        linear-gradient(135deg, #0B2530 0%, #0F4C5C 48%, #4F6F52 76%, #C9972B 100%);
}

.spb-online-service-button.is-consultation {
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.16), transparent 32%),
        linear-gradient(135deg, #1E293B 0%, #4B5563 55%, #9A741F 100%);
}

.spb-online-service-button.is-online-service {
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.16), transparent 32%),
        linear-gradient(135deg, #0F172A 0%, #334155 58%, #7C5F25 100%);
}

.spb-online-service-button.is-disabled {
    opacity: 0.68;
}

@keyframes spbServiceShine {
    0% { right: -40%; opacity: 0; }
    18% { opacity: 0; }
    42% { opacity: 1; }
    72% { right: 118%; opacity: 0; }
    100% { right: 118%; opacity: 0; }
}

.spb-profile-products-panel .spb-section-head {
    margin-bottom: 12px;
}

.spb-profile-products-panel .spb-section-head a {
    color: var(--spb-primary-deep);
    background: rgba(201, 151, 43, 0.12);
    border: 1px solid rgba(201, 151, 43, 0.25);
    border-radius: 999px;
    padding: 4px 10px;
}

.spb-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.spb-media-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
}

/* Product profile */
.spb-product-profile {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.spb-product-image,
.spb-product-info-box {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.spb-product-image {
    position: relative;
    padding: 12px;
}

.spb-product-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #f3f4f6;
}

.spb-product-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    object-fit: cover;
}

.spb-product-profile-badge-row {
    top: 10px;
    right: 10px;
    left: 10px;
}

.spb-product-profile-badge-row .spb-product-discount-badge,
.spb-product-profile-badge-row .spb-product-unavailable-badge {
    min-height: 28px;
    padding: 4px 11px;
    font-size: 11px;
}

.spb-product-info {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.spb-product-info-box {
    min-width: 0;
    padding: 14px;
}

.spb-product-main-box {
    display: grid;
    gap: 9px;
}

.spb-product-info h1 {
    margin: 0;
    color: #111827;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.75;
}

.spb-product-supplier {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #334155;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.8;
}

.spb-product-supplier span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    color: #5F4308;
    border: solid 1px #5F4308;
    font-size: 10.5px;
    font-weight: 900;
}

.spb-product-profile-price-box {
    padding-top: 2px;
    justify-items: end;
}

.spb-product-description p,
.spb-product-info p {
    margin: 0;
    color: #334155;
    font-size: 13px;
    line-height: 2;
    white-space: pre-line;
}

.spb-product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.spb-product-action-business,
.spb-product-action-buy {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 950;
    line-height: 1.7;
    text-align: center;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.13);
}

.spb-product-action-business {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.spb-product-action-buy {
    background: linear-gradient(135deg, #C9972B 0%, #A77818 100%);
    border: 1px solid rgba(95, 67, 8, 0.18);
}

.spb-product-action-business:hover,
.spb-product-action-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.17);
}

/* Footer and mobile navigation */
.spb-footer {
    margin-top: 40px;
    background: #ffffff;
    border-top: 1px solid var(--spb-border);
}

.spb-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 0;
}

.spb-footer p {
    margin: 4px 0 0;
    color: var(--spb-muted);
    font-size: 12px;
}

.spb-footer nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: #0F172A;
    font-size: 12.5px;
    font-weight: 900;
}

.spb-mobile-nav {
    display: none;
}

.spb-mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #64748B;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: color 0.16s ease, transform 0.16s ease;
}

.spb-mobile-nav a:hover,
.spb-mobile-nav a:active,
.spb-mobile-nav a:focus {
    background: transparent;
    outline: 0;
}

.spb-mobile-nav a.is-active {
    color: #C9972B;
}

.spb-mobile-nav a.is-active .spb-mobile-nav-icon {
    opacity: 1;
}

.spb-mobile-nav-icon {
    width: 21px;
    height: 21px;
    display: block;
    background: currentColor;
    opacity: 0.72;
    -webkit-mask: var(--spb-mobile-nav-icon-url) center / contain no-repeat;
    mask: var(--spb-mobile-nav-icon-url) center / contain no-repeat;
}

.spb-mobile-nav-title {
    display: block;
}

/* PWA install */
.spb-pwa-install-box {
    position: fixed;
    inset: auto 16px 84px 16px;
    z-index: 70;
    max-width: 430px;
    margin-inline: auto;
    padding: 15px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.28), transparent 30%),
        radial-gradient(circle at 88% 82%, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, #5F4308 0%, #9A741F 34%, #C9972B 68%, #E6BE5A 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.30), 0 0 0 1px rgba(95, 67, 8, 0.18) inset;
    isolation: isolate;
}

.spb-pwa-install-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.28), transparent 38%),
        linear-gradient(315deg, rgba(255, 255, 255, 0.16), transparent 48%);
    pointer-events: none;
}

.spb-pwa-install-box::after {
    content: "";
    position: absolute;
    top: -90%;
    right: -44%;
    z-index: -1;
    width: 30%;
    height: 280%;
    transform: rotate(25deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
    animation: spbPwaInstallShine 3.8s ease-in-out infinite;
    pointer-events: none;
}

.spb-pwa-install-text {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 3px;
    color: #000;
    font-size: 12.5px;
    font-weight: 750;
    line-height: 1.85;
    text-shadow: 0 1px 10px rgba(15, 23, 42, 0.28);
}

.spb-pwa-install-text strong,
.spb-pwa-install-text b {
    color: #000;
    font-size: 14px;
    font-weight: 950;
}

.spb-pwa-install-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 9px;
    margin-top: 12px;
}

.spb-pwa-install-actions button {
    flex: 1;
    min-height: 40px;
    padding: 8px 12px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.6;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.spb-pwa-install-actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24);
}

.spb-pwa-install-actions button:active {
    transform: translateY(0);
    filter: brightness(0.96);
}

.spb-pwa-install-actions button:first-child {
    color: #ffffff;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 54%, #334155 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.spb-pwa-install-actions button:last-child {
    color: #5F4308;
    background: linear-gradient(135deg, #FFF7D6 0%, #FFE8A3 46%, #F4D48A 100%);
    border: 1px solid rgba(95, 67, 8, 0.16);
}

@keyframes spbPwaInstallShine {
    0% {
        right: -46%;
        opacity: 0;
    }

    18% {
        opacity: 0;
    }

    43% {
        opacity: 1;
    }

    72% {
        right: 118%;
        opacity: 0;
    }

    100% {
        right: 118%;
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .spb-pwa-install-box {
        inset: auto 10px 70px 10px;
        max-width: none;
        padding: 13px;
        border-radius: 18px;
    }

    .spb-pwa-install-actions {
        gap: 7px;
    }

    .spb-pwa-install-actions button {
        min-height: 38px;
        padding: 7px 9px;
        border-radius: 12px;
        font-size: 11.5px;
    }
}

/* Direction helpers */
.spb-auto-dir.is-rtl,
.spb-business-match.is-rtl,
.spb-business-address.is-rtl {
    direction: rtl;
    text-align: right;
    unicode-bidi: plaintext;
}

.spb-auto-dir.is-ltr,
.spb-business-match.is-ltr,
.spb-business-address.is-ltr {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
}

img[data-spb-lazy-image] {
    opacity: 0;
    transition: opacity 220ms ease;
}

img[data-spb-lazy-image].is-loaded,
img[data-spb-lazy-image].is-error {
    opacity: 1;
}

/* Responsive */
@media (max-width: 960px) {
    .spb-header {
        padding: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
        backdrop-filter: blur(12px);
    }

    .spb-header-inner {
        width: calc(100% - 20px);
        min-height: 62px;
        padding: 0;
        gap: 10px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .spb-brand span {
        display: none;
    }

    .spb-search-location {
        max-width: 116px;
        padding: 0 8px;
        font-size: 11.5px;
    }


    .spb-category-mini-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .spb-select-city-head,
    .spb-profile-layout,
    .spb-product-profile {
        grid-template-columns: 1fr;
    }

    .spb-profile-hero {
        padding-top: 0;
        margin-right: 0;
        margin-left: 0;
    }

    .spb-profile-hero > .spb-container.spb-profile-hero-inner {
        width: 100vw;
        max-width: none;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .spb-profile-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 0;
        object-fit: cover;
    }

    .spb-footer {
        display: none;
    }

    .spb-mobile-nav {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 40;
        height: 55px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: #ffffff;
        border-top: 1px solid var(--spb-border);
        box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.05);
    }
}

@media (max-width: 640px) {
    .spb-container {
        width: calc(100% - 20px);
    }

    .spb-main {
        padding-bottom: 78px;
    }

    .spb-top-search,
    .spb-main-search {
        height: 45px;
        border-radius: 10px !important;
    }

    .spb-top-search input,
    .spb-main-search input {
        padding: 0 10px !important;
        font-size: 12.5px;
    }

    .spb-search-location {
        max-width: 92px;
        gap: 3px;
    }

    .spb-category-mini-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .spb-category-mini {
        min-height: 76px;
        padding: 8px 6px;
    }

    .spb-category-mini-icon,
    .spb-category-mini img {
        width: 42px;
        height: 42px;
    }

    .spb-category-result-list,
    .spb-area-list,
    .spb-home-city-list,
    .spb-area-grid {
        grid-template-columns: 1fr;
    }

    .spb-select-city-head {
        gap: 12px;
    }

    .spb-select-city-tools {
        padding: 10px;
        border-radius: 16px;
    }

    .spb-select-city-action-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .spb-clear-scope,
    .spb-select-city-search {
        min-height: 38px;
        height: 38px;
    }

    .spb-city-row-card {
        min-height: 46px;
        padding: 7px 9px;
        border-radius: 12px;
    }

    .spb-city-row-icon {
        width: 18px;
        height: 18px;
        border-radius: 7px;
    }

    .spb-business-row-card,
    .spb-product-row-card {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 10px;
        min-height: 96px;
        padding: 10px;
        border-radius: 16px;
    }

    .spb-business-row-image,
    .spb-product-row-image {
        width: 74px;
        height: 74px;
        min-width: 74px;
        border-radius: 15px;
    }

    .spb-business-row-title,
    .spb-product-row-title {
        font-size: 13.5px;
    }

    .spb-product-price-final {
        font-size: 14px;
    }

    .spb-business-row-summary,
    .spb-business-row-address {
        font-size: 11.5px;
    }

    .spb-row-chip {
        min-height: 20px;
        padding: 1px 7px;
        font-size: 10.5px;
    }

    .spb-product-price-line {
        gap: 5px;
    }

    .spb-profile-head-section {
        margin-top: 14px;
    }

    .spb-profile-head-card {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 11px;
    }

    .spb-profile-logo {
        width: 78px;
        height: 78px;
        border-radius: 19px;
    }

    .spb-profile-title-box h1 {
        font-size: 16px;
    }

    .spb-product-info h1 {
        font-size: 14px;
    }

    .spb-product-actions {
        grid-template-columns: 1fr;
    }

    .spb-profile-meta span {
        min-height: 23px;
        padding: 2px 9px;
        font-size: 11px;
    }

    .spb-media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
