:root {
    --wa-accent: #ff4448;
    --wa-accent-dark: #e92f35;
    --wa-trust: #11966f;
    --wa-blue: #2388e8;
    --wa-ink: #17171a;
    --wa-muted: #70747d;
    --wa-line: #e5e7ea;
    --wa-soft: #f7f8f9;
    --wa-white: #fff;
    --wa-sidebar: 280px;
    --wa-left-rail: 242px;
    --wa-gap: 24px;
    --wa-radius: 8px;
    --wa-shadow: 0 3px 14px rgba(24, 28, 33, .055);
}

* {
    box-sizing: border-box;
    letter-spacing: 0 !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--wa-ink);
    background: var(--wa-white);
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}

.wa-app-shell {
    min-height: 100vh;
}

.wa-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: 60;
    width: var(--wa-sidebar);
    display: flex;
    flex-direction: column;
    padding: 22px 18px 16px;
    background: var(--wa-white);
    border-inline-start: 1px solid var(--wa-line);
}

.wa-brand {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #111;
    text-decoration: none;
}

.wa-brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    border-radius: 50%;
    color: #fff;
    background: var(--wa-accent);
    font-family: "Vazirmatn", Tahoma, sans-serif;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
}

.wa-brand-name {
    font-family: inherit;
    font-size: 21px;
    font-weight: 800;
}

.wa-brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}

.wa-brand-copy small {
    margin-top: 3px;
    color: #858991;
    font-size: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.wa-nav {
    display: grid;
    gap: 8px;
    margin-top: 43px;
}

.wa-nav-link {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 11px 18px;
    border-radius: var(--wa-radius);
    color: #18181b;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: background-color .18s ease, color .18s ease;
}

.wa-nav-link svg {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    stroke-width: 1.8;
}

.wa-nav-link:hover {
    background: #fafafa;
}

.wa-nav-link.is-active {
    color: var(--wa-accent);
    background: #fafafa;
}

.wa-sidebar-bottom {
    margin-top: auto;
}

.wa-sidebar-promo {
    margin: 0 0 20px;
    padding: 22px 16px;
    border: 1px solid var(--wa-line);
    border-radius: var(--wa-radius);
    background: #fafafa;
    text-align: center;
}

.wa-promo-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border: 1px solid #a7abb2;
    border-radius: 7px;
    color: #4e535b;
}

.wa-promo-icon svg {
    width: 29px;
    height: 29px;
}

.wa-sidebar-promo p {
    margin: 0 0 14px;
    color: #494d55;
    font-size: 11px;
    line-height: 1.9;
}

.wa-sidebar-promo a {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #fff;
    background: var(--wa-trust);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.wa-sidebar-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 18px;
    white-space: nowrap;
}

.wa-sidebar-links a {
    color: #686c73;
    text-decoration: none;
    font-size: 9px;
}

.wa-language {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--wa-line);
    border-radius: var(--wa-radius);
    color: #4d5158;
    background: #fff;
    cursor: pointer;
    font-size: 11px;
}

.wa-language svg {
    width: 15px;
}

.wa-language svg:last-child {
    margin-inline-start: auto;
}

.wa-workspace {
    min-width: 0;
    margin-inline-end: var(--wa-sidebar);
}

.wa-topbar {
    position: sticky;
    inset-block-start: 0;
    z-index: 45;
    height: 78px;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--wa-line);
    backdrop-filter: blur(12px);
}

.wa-topbar-inner {
    height: 100%;
    display: grid;
    direction: ltr;
    grid-template-columns: var(--wa-left-rail) minmax(0, 1fr);
    grid-template-areas: "user search";
    align-items: center;
    gap: var(--wa-gap);
    padding: 0 18px;
}

.wa-top-user {
    grid-area: user;
    direction: rtl;
    display: flex;
    align-items: center;
    gap: 17px;
}

.wa-profile-pill {
    min-width: 146px;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 8px 4px 10px;
    border: 1px solid var(--wa-line);
    border-radius: 8px;
    color: #25262a;
    background: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.wa-profile-pill > svg {
    width: 15px;
    margin-inline-start: auto;
    color: var(--wa-accent);
}

.wa-user-avatar,
.wa-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 50%;
    color: #111;
    background: #edf0f4;
    font-weight: 900;
}

.wa-user-avatar {
    width: 34px;
    height: 34px;
    border: 1px solid #dfe3e8;
}

.wa-user-avatar svg {
    width: 20px;
}

.wa-top-divider {
    width: 1px;
    height: 32px;
    background: var(--wa-line);
}

.wa-notification {
    position: relative;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    color: #202126;
    background: transparent;
    cursor: pointer;
}

.wa-notification svg {
    width: 22px;
}

.wa-notification span {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    min-width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: var(--wa-accent);
    font-size: 8px;
    font-weight: 800;
}

.wa-top-search {
    grid-area: search;
    direction: rtl;
    display: flex;
    justify-content: flex-start;
}

.wa-search {
    position: relative;
    width: min(466px, 58%);
    margin-inline-start: auto;
}

.wa-search input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 46px;
    border: 1px solid #d7dade;
    border-radius: 8px;
    outline: 0;
    color: #292b30;
    background: #fff;
    font-size: 12px;
    text-align: right;
}

.wa-search input::placeholder {
    color: #8a8e96;
}

.wa-search input:focus {
    border-color: #aeb4bc;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, .04);
}

.wa-search button {
    position: absolute;
    inset-inline-start: 4px;
    inset-block-start: 4px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    color: #757a82;
    background: transparent;
    cursor: pointer;
}

.wa-search button svg {
    width: 20px;
}

.wa-menu-button {
    display: none;
}

.wa-page {
    width: 100%;
    padding: 14px 18px 30px;
}

.wa-alert {
    margin-bottom: 14px;
    padding: 10px 13px;
    border: 1px solid #b6dfd3;
    border-radius: var(--wa-radius);
    color: #07624e;
    background: #effaf6;
    font-size: 12px;
}

.wa-home-grid {
    display: grid;
    direction: ltr;
    grid-template-columns: var(--wa-left-rail) minmax(0, 1fr);
    grid-template-areas: "rail feed";
    gap: var(--wa-gap);
    align-items: start;
}

.wa-left-rail {
    grid-area: rail;
    direction: rtl;
    display: grid;
    gap: 12px;
}

.wa-feed {
    grid-area: feed;
    direction: rtl;
    min-width: 0;
}

.wa-rail-panel,
.wa-mobile-companion {
    overflow: hidden;
    border: 1px solid var(--wa-line);
    border-radius: var(--wa-radius);
    background: #fff;
    box-shadow: var(--wa-shadow);
}

.wa-rail-panel {
    padding: 14px 13px 12px;
}

.wa-rail-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.wa-rail-title h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 900;
}

.wa-rail-title svg {
    width: 19px;
    color: var(--wa-accent);
}

.wa-nearby-list {
    display: grid;
}

.wa-nearby-item {
    min-height: 70px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    color: inherit;
    text-decoration: none;
}

.wa-nearby-item img {
    width: 46px;
    height: 46px;
    display: block;
    border-radius: 7px;
    object-fit: cover;
}

.wa-nearby-copy {
    min-width: 0;
}

.wa-nearby-copy strong,
.wa-nearby-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-nearby-copy strong {
    font-size: 11px;
    font-weight: 800;
}

.wa-nearby-copy strong svg {
    width: 13px;
    height: 13px;
    color: var(--wa-blue);
    vertical-align: middle;
}

.wa-nearby-copy small {
    margin-top: 2px;
    color: var(--wa-muted);
    font-size: 9px;
}

.wa-distance {
    max-width: 58px;
    overflow: hidden;
    color: #8a8d94;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-rail-more {
    display: inline-block;
    margin-top: 7px;
    color: var(--wa-accent);
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}

.wa-rail-empty {
    margin: 12px 0;
    color: var(--wa-muted);
    font-size: 10px;
    line-height: 1.9;
}

.wa-ranking-list {
    display: grid;
    gap: 2px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.wa-ranking-list li {
    min-height: 47px;
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
}

.wa-rank-number {
    color: var(--wa-accent);
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.wa-ranking-list a {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.wa-ranking-list strong,
.wa-ranking-list small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-ranking-list strong {
    font-size: 11px;
}

.wa-ranking-list small {
    color: var(--wa-muted);
    font-size: 9px;
}

.wa-mobile-companion {
    padding: 11px 9px 9px;
    background: #fafafa;
}

.wa-mobile-companion > p {
    margin: 0 0 10px;
    color: #666b73;
    text-align: center;
    font-size: 9px;
}

.wa-mini-mobile-nav {
    height: 55px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 4px;
    border: 1px solid var(--wa-line);
    border-radius: 7px;
    background: #fff;
}

.wa-mini-mobile-nav span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: #656971;
}

.wa-mini-mobile-nav svg {
    width: 15px;
    height: 15px;
}

.wa-mini-mobile-nav small {
    font-size: 7px;
}

.wa-mini-mobile-nav .is-active {
    color: var(--wa-accent);
}

.wa-mini-mobile-nav .is-main {
    width: 34px;
    height: 34px;
    justify-self: center;
    border-radius: 7px;
    color: #fff;
    background: var(--wa-accent);
}

.wa-category-rail {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 11px;
}

.wa-category {
    min-width: 0;
    height: 132px;
    display: flex;
    flex-direction: column;
    padding: 8px 7px 0;
    overflow: hidden;
    border: 1px solid var(--wa-line);
    border-radius: var(--wa-radius);
    color: #25272b;
    background: #fff;
    text-decoration: none;
    text-align: center;
    box-shadow: inset 0 -3px 0 var(--category-color);
}

.wa-category-photo {
    width: 100%;
    min-height: 84px;
    overflow: hidden;
    border-radius: 7px;
    background: #edf0f2;
}

.wa-category-photo img {
    width: 100%;
    height: 84px;
    display: block;
    object-fit: cover;
}

.wa-category > span:last-child {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.35;
}

.wa-category:hover,
.wa-category.is-active {
    border-color: color-mix(in srgb, var(--category-color) 62%, #e5e7ea);
    transform: translateY(-1px);
}

.wa-section {
    margin-top: 23px;
}

.wa-section-head {
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.wa-section-head h1,
.wa-section-head h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.wa-title-with-icon {
    display: flex;
    align-items: center;
    gap: 7px;
}

.wa-title-with-icon svg {
    width: 19px;
    color: var(--wa-accent);
}

.wa-text-link {
    color: var(--wa-accent);
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}

.wa-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.wa-profile-card,
.wa-post {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--wa-line);
    border-radius: var(--wa-radius);
    background: #fff;
    box-shadow: var(--wa-shadow);
}

.wa-profile-media,
.wa-post-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e6e8eb;
}

.wa-profile-media {
    aspect-ratio: 1.15 / 1;
}

.wa-profile-media img,
.wa-post-media img,
.wa-post-media video,
.wa-business-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.wa-profile-media img {
    transition: transform .25s ease;
}

.wa-profile-card:hover .wa-profile-media img {
    transform: scale(1.025);
}

.wa-media-count {
    position: absolute;
    inset-block-start: 8px;
    inset-inline-start: 8px;
    min-width: 28px;
    height: 22px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    color: #fff;
    background: rgba(20, 20, 23, .82);
    font-size: 9px;
}

.wa-profile-body {
    padding: 12px 10px 10px;
}

.wa-business-line {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--wa-line);
    background: #2a2b30;
    color: #fff;
    font-size: 13px;
}

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

.wa-business-copy {
    min-width: 0;
    flex: 1;
}

.wa-business-name {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    overflow: hidden;
    font-size: 11px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-verified {
    width: 14px;
    height: 14px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 14px;
    border-radius: 50%;
    color: #fff;
    background: var(--wa-blue);
}

.wa-verified svg {
    width: 9px;
    height: 9px;
    stroke-width: 3;
}

.wa-business-meta,
.wa-business-location {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    color: var(--wa-muted);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-business-location svg {
    width: 10px;
    height: 10px;
    margin-inline-end: 2px;
    vertical-align: middle;
}

.wa-profile-summary {
    min-height: 43px;
    display: -webkit-box;
    margin: 11px 0 5px;
    overflow: hidden;
    color: #44474e;
    font-size: 10px;
    line-height: 2.05;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wa-profile-tools,
.wa-post-tools {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.wa-profile-tools form {
    display: contents;
}

.wa-tool-button {
    min-width: 36px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 5px;
    border: 0;
    border-radius: 6px;
    color: #303238;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    font-size: 9px;
}

.wa-tool-button:hover {
    background: var(--wa-soft);
}

.wa-tool-button.is-active {
    color: var(--wa-accent);
}

.wa-tool-button svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.8;
}

.wa-save-tool {
    margin-inline-start: auto;
}

.wa-primary-button,
.wa-outline-button,
.wa-external-button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 11px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: var(--wa-accent);
    text-decoration: none;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
}

.wa-primary-button:hover {
    background: var(--wa-accent-dark);
}

.wa-profile-cta {
    width: 100%;
    margin-top: 4px;
}

.wa-outline-button {
    color: var(--wa-ink);
    border: 1px solid var(--wa-line);
    background: #fff;
}

.wa-outline-button.is-active {
    color: var(--wa-accent);
    border-color: #ffc2c4;
    background: #fff5f5;
}

.wa-external-button {
    background: var(--wa-trust);
}

.wa-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 30px;
}

.wa-carousel-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d2d4d8;
}

.wa-carousel-dots .is-active {
    background: var(--wa-accent);
}

.wa-explore-section {
    margin-top: 1px;
}

.wa-explore-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.wa-explore-card {
    position: relative;
    aspect-ratio: 1 / .86;
    overflow: hidden;
    border-radius: 7px;
    color: #fff;
    background: #25262a;
    text-decoration: none;
}

.wa-explore-card > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .25s ease;
}

.wa-explore-card:hover > img {
    transform: scale(1.035);
}

.wa-explore-caption {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    min-height: 49px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 9px 7px;
    background: linear-gradient(to top, rgba(18, 18, 20, .94), rgba(18, 18, 20, 0));
}

.wa-explore-caption strong,
.wa-explore-caption small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-explore-caption strong {
    font-size: 10px;
}

.wa-explore-caption strong svg {
    width: 11px;
    color: #41a3ff;
    vertical-align: middle;
}

.wa-explore-caption small {
    margin-top: 2px;
    color: #e6e7e9;
    font-size: 8px;
}

.wa-trust-strip {
    min-height: 74px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
    border: 1px solid var(--wa-line);
    border-radius: var(--wa-radius);
    background: #fff;
}

.wa-trust-strip > div {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 12px 14px;
    border-inline-start: 1px solid var(--wa-line);
}

.wa-trust-strip > div:last-child {
    border-inline-start: 0;
}

.wa-trust-strip > div > svg {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    color: #727780;
    stroke-width: 1.5;
}

.wa-trust-strip > div:last-child > svg {
    color: var(--wa-accent);
}

.wa-trust-strip span,
.wa-trust-strip strong,
.wa-trust-strip small {
    min-width: 0;
    display: block;
}

.wa-trust-strip strong {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-trust-strip small {
    margin-top: 2px;
    overflow: hidden;
    color: var(--wa-muted);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-empty {
    min-height: 200px;
    display: grid;
    place-items: center;
    padding: 28px;
    border: 1px dashed #d2d5da;
    border-radius: var(--wa-radius);
    color: var(--wa-muted);
    background: #fff;
    text-align: center;
}

.wa-empty strong {
    display: block;
    margin-bottom: 4px;
    color: var(--wa-ink);
}

/* Post and business detail surfaces */
.wa-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.wa-post-head {
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
}

.wa-post-media {
    aspect-ratio: 4 / 3;
}

.wa-post-body {
    padding: 10px 12px 12px;
}

.wa-post-tools form:last-of-type {
    margin-inline-start: auto;
}

.wa-post-caption {
    min-height: 43px;
    display: -webkit-box;
    margin: 8px 0 10px;
    overflow: hidden;
    color: #3f4248;
    font-size: 10px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wa-post-cta {
    width: 100%;
}

.wa-comments {
    margin: 0 0 10px;
    padding: 8px 0;
    border-top: 1px solid var(--wa-line);
}

.wa-comments summary {
    color: var(--wa-muted);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}

.wa-comment {
    margin-top: 8px;
    padding: 7px 8px;
    border-radius: 6px;
    background: var(--wa-soft);
    font-size: 9px;
}

.wa-comment strong,
.wa-comment span {
    display: block;
}

.wa-comment-form {
    display: grid;
    grid-template-columns: 1fr 34px;
    gap: 6px;
    margin-top: 8px;
}

.wa-comment-form input {
    min-width: 0;
    height: 34px;
    padding: 0 9px;
    border: 1px solid #d7dbe0;
    border-radius: 6px;
    outline: 0;
}

.wa-comment-form button {
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: var(--wa-accent);
}

.wa-business-hero {
    overflow: hidden;
    border: 1px solid var(--wa-line);
    border-radius: var(--wa-radius);
    background: #fff;
}

.wa-business-cover {
    height: clamp(220px, 32vw, 390px);
    background: #e5e7eb;
}

.wa-business-info {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 20px;
}

.wa-business-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wa-business-heading .wa-avatar {
    width: 72px;
    height: 72px;
    font-size: 22px;
}

.wa-business-heading h1 {
    margin: 0;
    font-size: 23px;
}

.wa-business-heading p {
    max-width: 680px;
    margin: 5px 0 0;
    color: var(--wa-muted);
    font-size: 12px;
}

.wa-business-hero-actions {
    display: flex;
    gap: 8px;
}

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

/* Authentication surfaces */
.wa-auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #f5f6f7;
}

.wa-auth {
    width: min(920px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--wa-line);
    border-radius: var(--wa-radius);
    background: #fff;
    box-shadow: 0 18px 50px rgba(24, 24, 27, .1);
}

.wa-auth-media {
    min-height: 620px;
    position: relative;
    overflow: hidden;
}

.wa-auth-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa-auth-media-copy {
    position: absolute;
    inset-inline: 20px;
    inset-block-end: 20px;
    padding: 14px;
    border-radius: 7px;
    color: #fff;
    background: rgba(20, 20, 23, .86);
}

.wa-auth-media-copy strong,
.wa-auth-media-copy span {
    display: block;
}

.wa-auth-form {
    padding: clamp(28px, 5vw, 54px);
}

.wa-auth-form h1 {
    margin: 30px 0 8px;
    font-size: 24px;
}

.wa-auth-form > p,
.wa-auth-foot {
    color: var(--wa-muted);
    font-size: 12px;
}

.wa-field {
    margin-bottom: 14px;
}

.wa-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 700;
}

.wa-field input,
.wa-field textarea,
.wa-field select {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #d4d7dc;
    border-radius: 7px;
    outline: 0;
    background: #fff;
}

.wa-field-error {
    margin-top: 4px;
    color: #c4262e;
    font-size: 11px;
}

.wa-auth-submit {
    width: 100%;
    margin-top: 8px;
}

.wa-check {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--wa-muted);
    font-size: 12px;
}

.wa-check input {
    width: 17px;
    height: 17px;
    accent-color: var(--wa-accent);
}

.wa-auth-foot {
    margin-top: 20px;
    text-align: center;
}

.wa-auth-foot a {
    color: var(--wa-accent);
    font-weight: 800;
}

@media (max-width: 1240px) {
    :root {
        --wa-sidebar: 248px;
    }

    .wa-left-rail {
        display: none;
    }

    .wa-home-grid {
        display: block;
    }

    .wa-topbar-inner {
        grid-template-columns: 242px minmax(0, 1fr);
    }

    .wa-category-rail {
        gap: 8px;
    }
}

@media (max-width: 940px) {
    .wa-workspace {
        margin-inline-end: 0;
    }

    .wa-sidebar {
        width: min(280px, 88vw);
        transform: translateX(180%);
        box-shadow: -18px 0 42px rgba(24, 24, 27, .14);
        transition: transform .22s ease;
    }

    body.wa-menu-open .wa-sidebar {
        transform: translateX(0);
    }

    .wa-topbar-inner {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-areas: "menu search";
        gap: 10px;
        padding: 0 14px;
    }

    .wa-top-user {
        display: none;
    }

    .wa-top-search {
        grid-area: search;
    }

    .wa-search {
        width: 100%;
    }

    .wa-menu-button {
        grid-area: menu;
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border: 1px solid var(--wa-line);
        border-radius: 7px;
        color: var(--wa-ink);
        background: #fff;
    }

    .wa-page {
        padding: 14px 14px 88px;
    }

    .wa-category-rail {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 108px;
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

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

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

    .wa-explore-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wa-trust-strip {
        grid-template-columns: 1fr;
    }

    .wa-trust-strip > div,
    .wa-trust-strip > div:last-child {
        justify-content: flex-start;
        border-inline-start: 0;
        border-bottom: 1px solid var(--wa-line);
    }

    .wa-trust-strip > div:last-child {
        border-bottom: 0;
    }

    .wa-business-info {
        grid-template-columns: 1fr;
    }

    .wa-mobile-nav {
        position: fixed;
        inset-inline: 0;
        inset-block-end: 0;
        z-index: 55;
        height: 66px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding: 5px 8px max(5px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--wa-line);
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(12px);
    }

    .wa-mobile-nav a {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #71757d;
        text-decoration: none;
        font-size: 8px;
    }

    .wa-mobile-nav a.is-active {
        color: var(--wa-accent);
    }

    .wa-mobile-nav svg {
        width: 19px;
        height: 19px;
    }

    .wa-mobile-nav .wa-mobile-create {
        width: 42px;
        height: 42px;
        align-self: center;
        justify-self: center;
        border-radius: 8px;
        color: #fff;
        background: var(--wa-accent);
    }

    .wa-mobile-nav .wa-mobile-create span {
        display: none;
    }
}

@media (max-width: 620px) {
    .wa-topbar {
        height: 66px;
    }

    .wa-profile-grid,
    .wa-post-grid {
        grid-template-columns: 1fr;
    }

    .wa-profile-media {
        aspect-ratio: 4 / 3;
    }

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

    .wa-section-head h1,
    .wa-section-head h2 {
        font-size: 17px;
    }

    .wa-business-heading {
        align-items: flex-start;
    }

    .wa-business-heading .wa-avatar {
        width: 58px;
        height: 58px;
    }

    .wa-business-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .wa-auth-shell {
        padding: 0;
    }

    .wa-auth {
        min-height: 100vh;
        grid-template-columns: 1fr;
        border: 0;
        border-radius: 0;
    }

    .wa-auth-media {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Modern app interactions and resilient media */
html,
body {
    max-width: 100%;
}

.wa-sidebar {
    right: 0;
    left: auto;
    border-inline-start: 0;
    border-left: 1px solid var(--wa-line);
}

.wa-workspace {
    margin-inline-end: 0;
    margin-right: var(--wa-sidebar);
}

body.wa-overlay-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.wa-sidebar-close,
.wa-menu-backdrop {
    display: none;
}

.wa-search {
    z-index: 4;
}

.wa-search-suggestions {
    position: absolute;
    inset-inline: 0;
    inset-block-start: calc(100% + 9px);
    z-index: 70;
    padding: 12px;
    border: 1px solid var(--wa-line);
    border-radius: var(--wa-radius);
    background: #fff;
    box-shadow: 0 14px 34px rgba(24, 28, 33, .12);
}

.wa-search-suggestions[hidden] {
    display: none;
}

.wa-search-suggestions > span {
    display: block;
    margin-bottom: 8px;
    color: var(--wa-muted);
    font-size: 10px;
    font-weight: 700;
}

.wa-search-suggestions > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.wa-search-suggestions a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #eceef1;
    border-radius: 7px;
    color: #464a52;
    background: #fafbfc;
    text-decoration: none;
    font-size: 10px;
}

.wa-search-suggestions a:hover {
    color: var(--wa-accent);
    border-color: #ffd0d2;
    background: #fff7f7;
}

.wa-search-suggestions svg {
    width: 14px;
    height: 14px;
}

.wa-quick-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    overflow-x: auto;
    padding: 1px 1px 5px;
    scrollbar-width: none;
    scroll-snap-type: inline proximity;
}

.wa-quick-filters::-webkit-scrollbar,
.wa-category-rail::-webkit-scrollbar {
    display: none;
}

.wa-quick-filters a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid #e3e5e8;
    border-radius: 999px;
    color: #5a5e66;
    background: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    scroll-snap-align: start;
}

.wa-quick-filters a:hover,
.wa-quick-filters a.is-active {
    color: #d82d33;
    border-color: #ffb8bb;
    background: #fff5f5;
}

.wa-quick-filters svg {
    width: 15px;
    height: 15px;
}

.wa-quick-filters .wa-filter-clear {
    color: #656a73;
    border-style: dashed;
    background: #f8f9fa;
}

[data-image-shell] {
    position: relative;
    isolation: isolate;
}

.wa-nearby-thumb {
    width: 46px;
    height: 46px;
    display: block;
    overflow: hidden;
    border-radius: 7px;
    background: #eef0f3;
}

.wa-nearby-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.wa-image-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    padding: 8px;
    overflow: hidden;
    color: #666b73;
    background: linear-gradient(145deg, #f6f7f8, #e6e9ed);
    text-align: center;
}

.wa-image-placeholder svg {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    stroke-width: 1.6;
}

.wa-image-placeholder span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-avatar .wa-image-placeholder {
    gap: 0;
    padding: 0;
    color: #fff;
    background: #454951;
}

.wa-avatar .wa-image-placeholder svg {
    width: 18px;
    height: 18px;
}

.wa-avatar .wa-image-placeholder span {
    display: none;
}

.wa-nearby-thumb .wa-image-placeholder {
    gap: 0;
    padding: 0;
}

.wa-nearby-thumb .wa-image-placeholder svg {
    width: 18px;
    height: 18px;
}

.wa-nearby-thumb .wa-image-placeholder span {
    display: none;
}

.wa-profile-card:focus-visible {
    outline: 3px solid rgba(255, 68, 72, .2);
    outline-offset: 2px;
}

.wa-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-style: solid;
    border-color: #e3e5e8;
    background: #fbfbfc;
}

.wa-empty-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid #e1e4e8;
    border-radius: 50%;
    color: #737780;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 28, 33, .06);
}

.wa-empty-icon svg {
    width: 27px;
    height: 27px;
    stroke-width: 1.6;
}

.wa-empty > div span {
    display: block;
    max-width: 360px;
    font-size: 11px;
}

.wa-empty .wa-outline-button,
.wa-empty .wa-external-button {
    min-height: 40px;
}

.wa-action-sheet {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    pointer-events: none;
    transition: visibility .24s ease;
}

.wa-action-sheet[hidden] {
    display: none;
}

.wa-action-sheet.is-open {
    visibility: visible;
    pointer-events: auto;
}

.wa-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    opacity: 0;
    background: rgba(17, 18, 20, .46);
    cursor: default;
    transition: opacity .22s ease;
}

.wa-action-sheet.is-open .wa-sheet-backdrop {
    opacity: 1;
}

.wa-sheet-panel {
    position: relative;
    z-index: 1;
    width: min(470px, 100%);
    max-height: min(720px, calc(100dvh - 40px));
    overflow-y: auto;
    padding: 11px 18px 20px;
    border: 1px solid #e0e3e7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 17, 20, .22);
    transform: translateY(calc(100% + 34px));
    transition: transform .24s cubic-bezier(.2, .7, .3, 1);
}

.wa-action-sheet.is-open .wa-sheet-panel {
    transform: translateY(0);
}

.wa-sheet-handle {
    width: 42px;
    height: 4px;
    display: block;
    margin: 0 auto 13px;
    border-radius: 999px;
    background: #d7dade;
}

.wa-sheet-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 13px;
}

.wa-sheet-head h2 {
    margin: 0;
    color: #202126;
    font-size: 17px;
    line-height: 1.5;
}

.wa-sheet-head p {
    margin: 3px 0 0;
    color: var(--wa-muted);
    font-size: 10px;
}

.wa-sheet-head > button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border: 1px solid var(--wa-line);
    border-radius: 50%;
    color: #555961;
    background: #fff;
    cursor: pointer;
}

.wa-sheet-head > button svg {
    width: 19px;
}

.wa-sheet-head > button:focus-visible,
.wa-sidebar-close:focus-visible,
.wa-menu-button:focus-visible,
.wa-mobile-create:focus-visible {
    outline: 3px solid rgba(255, 68, 72, .24);
    outline-offset: 2px;
}

.wa-sheet-actions {
    display: grid;
    gap: 7px;
}

.wa-sheet-actions > a {
    min-height: 72px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 11px;
    padding: 9px 10px;
    border: 1px solid #e8eaed;
    border-radius: var(--wa-radius);
    color: #292b30;
    background: #fff;
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.wa-sheet-actions > a:hover {
    border-color: #d8dbe0;
    background: #fafbfc;
    transform: translateY(-1px);
}

.wa-sheet-actions > a > svg {
    width: 18px;
    color: #969aa2;
}

.wa-sheet-actions strong,
.wa-sheet-actions small {
    display: block;
}

.wa-sheet-actions strong {
    font-size: 12px;
}

.wa-sheet-actions small {
    margin-top: 2px;
    color: var(--wa-muted);
    font-size: 9px;
}

.wa-sheet-action-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #555b64;
    background: #f0f2f4;
}

.wa-sheet-action-icon svg {
    width: 21px;
    height: 21px;
}

.wa-sheet-action-icon.is-green {
    color: #07805e;
    background: #e9f8f3;
}

.wa-sheet-action-icon.is-blue {
    color: #2479c8;
    background: #ebf4fd;
}

.wa-sheet-action-icon.is-red {
    color: #dc3439;
    background: #fff0f0;
}

.wa-sheet-action-icon.is-violet {
    color: #7656bd;
    background: #f3effc;
}

.wa-live-region {
    position: fixed;
    inset-inline-start: 18px;
    inset-block-end: 18px;
    z-index: 120;
    max-width: min(340px, calc(100vw - 36px));
    padding: 10px 13px;
    border: 1px solid #dce0e4;
    border-radius: var(--wa-radius);
    opacity: 0;
    color: #31343a;
    background: #fff;
    box-shadow: 0 12px 34px rgba(20, 23, 27, .14);
    font-size: 11px;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.wa-live-region:empty {
    display: none;
}

.wa-live-region.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.wa-skeleton {
    position: relative;
    overflow: hidden;
    border-radius: var(--wa-radius);
    background: #f1f2f4;
}

.wa-skeleton::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .76), transparent);
    transform: translateX(-100%);
    animation: wa-skeleton-shimmer 1.35s infinite;
}

.wa-skeleton > span {
    display: block;
    height: 10px;
    margin: 10px;
    border-radius: 5px;
    background: #e0e3e7;
}

.wa-skeleton .wa-skeleton-media {
    height: 170px;
    margin: 0;
    border-radius: 0;
}

.wa-skeleton-category {
    width: 94px;
    height: 118px;
}

.wa-skeleton-card,
.wa-skeleton-explore {
    min-height: 250px;
}

@keyframes wa-skeleton-shimmer {
    to {
        transform: translateX(100%);
    }
}

@media (max-width: 940px) {
    .wa-workspace {
        margin-right: 0;
    }

    .wa-sidebar {
        z-index: 92;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(110%, 0, 0);
    }

    body.wa-menu-open .wa-sidebar {
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
    }

    .wa-sidebar-close {
        position: absolute;
        inset-block-start: 12px;
        inset-inline-start: 12px;
        width: 38px;
        height: 38px;
        z-index: 2;
        display: grid;
        place-items: center;
        border: 1px solid var(--wa-line);
        border-radius: 50%;
        color: #545860;
        background: #fff;
        cursor: pointer;
    }

    .wa-sidebar-close svg {
        width: 19px;
    }

    .wa-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 90;
        display: block;
        visibility: hidden;
        border: 0;
        opacity: 0;
        background: rgba(17, 18, 20, .42);
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }

    body.wa-menu-open .wa-menu-backdrop {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .wa-page {
        min-width: 0;
        padding: 12px 12px 112px;
    }

    .wa-feed,
    .wa-section,
    .wa-profile-grid,
    .wa-post-grid,
    .wa-explore-grid {
        min-width: 0;
        max-width: 100%;
    }

    .wa-category-rail {
        grid-auto-columns: 84px;
        gap: 9px;
        margin-inline: -12px;
        padding: 2px 12px 8px;
        scroll-padding-inline: 12px;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
    }

    .wa-category {
        height: 114px;
        padding: 4px 2px 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        scroll-snap-align: start;
    }

    .wa-category-photo {
        width: 76px;
        min-height: 76px;
        height: 76px;
        align-self: center;
        overflow: hidden;
        border: 2px solid #e4e6e9;
        border-radius: 50%;
        background: #eef0f3;
        box-shadow: 0 4px 12px rgba(28, 31, 35, .06);
    }

    .wa-category-photo img {
        height: 100%;
    }

    .wa-category > span:last-child {
        min-height: 31px;
        padding-top: 5px;
        font-size: 9px;
    }

    .wa-category:hover,
    .wa-category.is-active {
        transform: none;
    }

    .wa-category.is-active .wa-category-photo {
        border-color: var(--wa-accent);
        box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(255, 68, 72, .18);
    }

    .wa-quick-filters {
        margin-inline: -12px;
        margin-top: 8px;
        padding: 4px 12px 5px;
        scroll-padding-inline: 12px;
    }

    .wa-quick-filters a {
        min-height: 38px;
        padding-inline: 12px;
        font-size: 10px;
    }

    .wa-mobile-nav {
        inset-inline: 12px;
        inset-block-end: max(10px, env(safe-area-inset-bottom));
        z-index: 80;
        height: 68px;
        padding: 7px 9px;
        border: 1px solid rgba(220, 223, 227, .92);
        border-radius: 18px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 12px 34px rgba(20, 23, 27, .16);
    }

    .wa-mobile-nav a,
    .wa-mobile-nav button {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border: 0;
        color: #747880;
        background: transparent;
        text-decoration: none;
        font-size: 8px;
        font-weight: 700;
        cursor: pointer;
    }

    .wa-mobile-nav a.is-active {
        color: var(--wa-accent);
    }

    .wa-mobile-nav svg {
        width: 20px;
        height: 20px;
        stroke-width: 1.9;
    }

    .wa-mobile-nav .wa-mobile-create {
        width: 52px;
        height: 52px;
        align-self: center;
        justify-self: center;
        border: 4px solid #fff;
        border-radius: 50%;
        color: #fff;
        background: var(--wa-accent);
        box-shadow: 0 8px 18px rgba(255, 68, 72, .3);
        transform: translateY(-13px);
    }

    .wa-mobile-nav .wa-mobile-create svg {
        width: 25px;
        height: 25px;
    }

    .wa-mobile-nav .wa-mobile-create span {
        display: none;
    }

    .wa-live-region {
        inset-inline: 12px;
        inset-block-end: 94px;
        max-width: none;
    }

    .wa-sheet-panel {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 620px) {
    .wa-topbar-inner {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 8px;
        padding-inline: 12px;
    }

    .wa-menu-button {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .wa-search input {
        height: 42px;
        padding-inline-end: 12px;
        font-size: 11px;
    }

    .wa-search-suggestions {
        position: fixed;
        inset-inline: 12px;
        inset-block-start: 61px;
        width: auto;
    }

    .wa-profile-card {
        cursor: pointer;
        box-shadow: 0 3px 14px rgba(24, 28, 33, .06);
    }

    .wa-profile-media {
        aspect-ratio: 16 / 10;
    }

    .wa-profile-body {
        padding: 12px;
    }

    .wa-business-name {
        font-size: 12px;
    }

    .wa-business-meta,
    .wa-business-location {
        font-size: 9px;
    }

    .wa-profile-summary {
        min-height: 42px;
        margin-block: 10px 4px;
        font-size: 10px;
        -webkit-line-clamp: 2;
    }

    .wa-profile-tools {
        min-height: 44px;
    }

    .wa-tool-button {
        min-width: 44px;
        height: 44px;
        padding-inline: 8px;
    }

    .wa-tool-button svg {
        width: 21px;
        height: 21px;
    }

    .wa-profile-cta {
        display: none;
    }

    .wa-explore-grid {
        gap: 8px;
    }

    .wa-explore-card {
        aspect-ratio: 1 / 1.03;
    }

    .wa-explore-caption {
        min-height: 58px;
        padding: 22px 8px 8px;
    }

    .wa-trust-strip {
        margin-bottom: 8px;
    }

    .wa-action-sheet {
        padding: 0;
    }

    .wa-sheet-panel {
        width: 100%;
        max-height: min(86dvh, 720px);
        padding: 10px 14px max(18px, env(safe-area-inset-bottom));
        border-inline: 0;
        border-block-end: 0;
        border-radius: 18px 18px 0 0;
    }

    .wa-sheet-actions > a {
        min-height: 70px;
    }

    .wa-business-info {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-action-sheet,
    .wa-sheet-backdrop,
    .wa-sheet-panel,
    .wa-menu-backdrop,
    .wa-sidebar,
    .wa-live-region,
    .wa-sheet-actions > a {
        transition: none !important;
    }

    .wa-skeleton::after {
        animation: none;
    }
}

/* Nazdikoo discovery experience */
.wa-brand-large {
    min-height: 86px;
    justify-content: flex-start;
    padding: 8px 10px;
    border-bottom: 1px solid var(--wa-line);
}

.wa-brand-logo {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    object-fit: contain;
}

.wa-brand-large .wa-brand-name {
    font-size: 25px;
    line-height: 1.15;
}

.wa-brand-large .wa-brand-copy small {
    margin-top: 6px;
    color: #6b7078;
    font-size: 10px;
}

.wa-mobile-brand {
    display: none;
}

.wa-sidebar .wa-nav {
    margin-top: 24px;
}

.wa-sidebar .wa-nav-link {
    min-height: 48px;
    font-size: 14px;
}

.wa-owner-side-cta {
    padding: 16px;
    border: 1px solid #dcece5;
    border-radius: 8px;
    background: #f5fbf8;
}

.wa-owner-side-cta .wa-owner-cta-icon {
    width: 42px;
    height: 42px;
}

.wa-owner-side-cta h2 {
    margin: 11px 0 4px;
    font-size: 14px;
}

.wa-owner-side-cta p,
.wa-sidebar-message {
    margin: 0;
    color: #646a72;
    font-size: 10px;
    line-height: 1.9;
}

.wa-owner-side-cta .wa-primary-button {
    width: 100%;
    margin-top: 12px;
}

.wa-sidebar-message {
    margin: 14px 2px 10px;
}

.wa-topbar {
    height: 84px;
}

.wa-topbar-inner {
    direction: ltr;
    grid-template-columns: 210px minmax(320px, 680px) 1fr;
    grid-template-areas: "user search menu";
    justify-content: space-between;
    gap: 24px;
    padding: 0 24px;
}

.wa-top-user {
    gap: 9px;
}

.wa-top-search {
    width: 100%;
    justify-content: center;
}

.wa-search {
    width: 100%;
    max-width: 680px;
    margin: 0;
}

.wa-search input {
    height: 50px;
    padding-inline: 47px 48px;
    border-color: #dfe2e7;
    border-radius: 8px;
    background: #fbfbfc;
    font-size: 13px;
}

.wa-search-leading {
    position: absolute;
    inset-inline-start: auto;
    inset-inline-end: 16px;
    inset-block-start: 15px;
    z-index: 2;
    width: 20px;
    color: #8a8f98;
    pointer-events: none;
}

.wa-search button {
    inset-inline-start: 6px;
    inset-block-start: 6px;
    width: 38px;
    height: 38px;
    border-radius: 7px;
    color: #fff;
    background: var(--wa-accent);
}

.wa-notification {
    border: 1px solid var(--wa-line);
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
}

.wa-page {
    max-width: 1600px;
    margin-inline: auto;
    padding: 18px 24px 36px;
}

.wa-alert-error {
    border-color: #efc2c4;
    color: #a5272b;
    background: #fff4f4;
}

.wa-owner-cta {
    min-height: 92px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 15px 18px;
    border: 1px solid #dcece5;
    border-radius: 8px;
    background: #f5fbf8;
}

.wa-owner-cta-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--wa-trust);
}

.wa-owner-cta-icon svg {
    width: 25px;
    height: 25px;
}

.wa-owner-cta > div:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.wa-owner-cta strong {
    font-size: 15px;
}

.wa-owner-cta span {
    color: #647069;
    font-size: 11px;
}

.wa-owner-cta-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-owner-cta-actions .wa-primary-button,
.wa-owner-cta-actions .wa-outline-button {
    white-space: nowrap;
}

.wa-categories-modern {
    margin-bottom: 14px;
}

.wa-categories-modern .wa-category-rail {
    grid-template-columns: repeat(7, minmax(110px, 1fr));
    gap: 10px;
}

.wa-categories-modern .wa-category {
    min-width: 0;
}

.wa-categories-modern .wa-category-photo {
    position: relative;
}

.wa-categories-modern .wa-category-photo > svg {
    position: absolute;
    inset-inline-end: 8px;
    inset-block-end: 8px;
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 6px;
    color: #fff;
    background: color-mix(in srgb, var(--category-color) 88%, #111);
    box-sizing: content-box;
}

.wa-subcategory-rail {
    display: flex;
    gap: 7px;
    margin-top: 10px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.wa-subcategory-rail a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 7px 13px;
    border: 1px solid var(--wa-line);
    border-radius: 999px;
    color: #52575f;
    background: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

.wa-subcategory-rail a.is-active {
    border-color: var(--wa-accent);
    color: var(--wa-accent);
    background: #fff6f6;
}

.wa-discovery-layout {
    display: grid;
    direction: ltr;
    grid-template-columns: var(--wa-left-rail) minmax(0, 1fr);
    gap: var(--wa-gap);
    align-items: start;
}

.wa-discovery-layout.is-wide {
    grid-template-columns: minmax(0, 1fr);
}

.wa-discovery-layout > * {
    direction: rtl;
}

.wa-section {
    border-radius: 8px;
}

.wa-title-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-title-with-icon > div {
    display: grid;
    gap: 2px;
}

.wa-title-with-icon h1,
.wa-title-with-icon h2 {
    margin: 0;
}

.wa-title-with-icon p,
.wa-section-head p {
    margin: 0;
    color: var(--wa-muted);
    font-size: 10px;
}

.wa-section-symbol {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    border: 1px solid #ffd0d2;
    border-radius: 8px;
    color: var(--wa-accent);
    background: #fff7f7;
}

.wa-section-symbol svg {
    width: 21px;
    height: 21px;
}

.wa-reels-feed {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.wa-reels-feed.is-preview,
.wa-reels-feed.is-notifications {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wa-reel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e0e3e7;
    border-radius: 8px;
    background: #111;
    box-shadow: 0 5px 18px rgba(22, 24, 28, .08);
}

.wa-reel-media {
    position: relative;
    aspect-ratio: 4 / 5;
    min-height: 420px;
    overflow: hidden;
    background: #101113;
}

.wa-reel-media > img,
.wa-reel-media > video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.wa-reel-media::after {
    content: "";
    position: absolute;
    inset: 44% 0 0;
    z-index: 1;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .84));
    pointer-events: none;
}

.wa-reel-play,
.wa-reel-mute {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(8, 9, 11, .62);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.wa-reel-play {
    inset: 50% auto auto 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
    transition: opacity .18s ease;
}

.wa-reel.is-playing .wa-reel-play {
    opacity: 0;
}

.wa-reel:hover .wa-reel-play,
.wa-reel:focus-within .wa-reel-play {
    opacity: 1;
}

.wa-reel-mute {
    inset-block-start: 12px;
    inset-inline-start: 12px;
    width: 38px;
    height: 38px;
}

.wa-reel-play svg {
    width: 25px;
}

.wa-reel-mute svg {
    width: 18px;
}

.wa-video-progress {
    position: absolute;
    inset-inline: 10px;
    inset-block-end: 3px;
    z-index: 5;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(255, 255, 255, .32);
}

.wa-video-progress > span {
    width: 0;
    height: 100%;
    display: block;
    background: #fff;
}

.wa-reel-overlay {
    position: absolute;
    inset-inline: 16px 58px;
    inset-block-end: 18px;
    z-index: 3;
    color: #fff;
}

.wa-reel-business {
    display: flex;
    align-items: center;
    gap: 9px;
}

.wa-reel-business .wa-avatar {
    width: 38px;
    height: 38px;
    border: 2px solid #fff;
}

.wa-reel-business > span:nth-child(2) {
    min-width: 0;
    display: grid;
    flex: 1;
}

.wa-reel-business a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.wa-reel-business small {
    overflow: hidden;
    color: rgba(255, 255, 255, .78);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-follow-mini {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 6px;
    color: #fff;
    background: rgba(0, 0, 0, .22);
    text-decoration: none;
    font-size: 8px;
    font-weight: 800;
    cursor: pointer;
}

.wa-follow-mini.is-active {
    border-color: #fff;
    color: #202226;
    background: #fff;
}

.wa-reel-overlay > p {
    display: -webkit-box;
    margin: 11px 0 0;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wa-reel-actions {
    position: absolute;
    inset-inline-start: 11px;
    inset-block-end: 18px;
    z-index: 4;
    display: grid;
    gap: 8px;
}

.wa-reel-actions form {
    display: contents;
}

.wa-reel-actions button,
.wa-reel-actions > a {
    width: 38px;
    min-height: 38px;
    display: grid;
    place-items: center;
    gap: 1px;
    padding: 5px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(10, 11, 13, .52);
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.wa-reel-actions button.is-active {
    color: #ff5c63;
    background: #fff;
}

.wa-reel-actions svg {
    width: 19px;
    height: 19px;
}

.wa-reel-actions span {
    font-size: 7px;
    font-weight: 800;
}

.wa-content-preview {
    margin-top: 16px;
}

.wa-search-results {
    margin-bottom: 16px;
}

.wa-business-title-line {
    display: flex;
    align-items: center;
    gap: 7px;
}

.wa-business-title-line h1 {
    margin: 0;
}

.wa-business-avatar {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
    border: 4px solid #fff;
    box-shadow: 0 4px 14px rgba(20, 22, 26, .12);
}

.wa-business-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.wa-business-primary-actions form {
    display: contents;
}

.wa-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--wa-line);
}

.wa-social-links a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid var(--wa-line);
    border-radius: 7px;
    color: #4c525a;
    background: #fff;
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
}

.wa-social-links a:hover {
    border-color: var(--wa-accent);
    color: var(--wa-accent);
}

.wa-social-links svg {
    width: 17px;
}

.wa-module-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wa-module-list span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border: 1px solid #dcece5;
    border-radius: 7px;
    color: #17634f;
    background: #f5fbf8;
    font-size: 10px;
    font-weight: 700;
}

.wa-module-list svg {
    width: 15px;
}

.wa-business-address {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    padding: 15px;
    border: 1px solid var(--wa-line);
    border-radius: 8px;
    background: #fff;
}

.wa-business-address > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--wa-accent);
    background: #fff3f3;
}

.wa-business-address p {
    margin: 3px 0 0;
    color: var(--wa-muted);
    font-size: 11px;
}

.wa-business-address > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--wa-accent);
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}

.wa-account-layout {
    max-width: 1050px;
    margin-inline: auto;
}

.wa-account-hero {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--wa-line);
    border-radius: 8px;
    background: #fff;
}

.wa-account-avatar {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--wa-accent);
    font-size: 27px;
    font-weight: 900;
}

.wa-account-hero h1 {
    margin: 2px 0;
    font-size: 22px;
}

.wa-account-hero p,
.wa-account-hero > div > span {
    margin: 0;
    color: var(--wa-muted);
    font-size: 10px;
}

.wa-account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 12px 0 16px;
    border: 1px solid var(--wa-line);
    border-radius: 8px;
    background: #fff;
}

.wa-account-stats a {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-inline-start: 1px solid var(--wa-line);
    text-decoration: none;
}

.wa-account-stats a:last-child {
    border: 0;
}

.wa-account-stats strong {
    font-size: 20px;
}

.wa-account-stats span {
    color: var(--wa-muted);
    font-size: 10px;
}

.wa-account-form {
    max-width: 620px;
}

.wa-account-form label,
.wa-join-form-card label {
    display: grid;
    gap: 6px;
    color: #4a4f57;
    font-size: 10px;
    font-weight: 700;
}

.wa-account-form > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.wa-account-form input,
.wa-join-form-card input,
.wa-join-form-card select,
.wa-join-form-card textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #dfe2e6;
    border-radius: 7px;
    outline: 0;
    background: #fff;
}

.wa-account-form input:focus,
.wa-join-form-card input:focus,
.wa-join-form-card select:focus,
.wa-join-form-card textarea:focus {
    border-color: var(--wa-accent);
    box-shadow: 0 0 0 3px rgba(255, 68, 72, .09);
}

.wa-account-businesses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.wa-account-businesses > a {
    min-width: 0;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 9px;
    padding: 8px;
    border: 1px solid var(--wa-line);
    border-radius: 7px;
    text-decoration: none;
}

.wa-account-businesses > a > span:first-child {
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 6px;
}

.wa-account-businesses img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa-account-businesses > a > span:nth-child(2) {
    min-width: 0;
    display: grid;
}

.wa-account-businesses small {
    overflow: hidden;
    color: var(--wa-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-join-layout {
    max-width: 1120px;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(500px, 1.18fr);
    gap: 22px;
    margin-inline: auto;
    align-items: stretch;
}

.wa-join-intro,
.wa-join-form-card {
    padding: 28px;
    border: 1px solid var(--wa-line);
    border-radius: 8px;
}

.wa-join-intro {
    color: #fff;
    background: #17191d;
}

.wa-join-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--wa-accent);
}

.wa-eyebrow {
    display: block;
    margin-top: 18px;
    color: var(--wa-accent);
    font-size: 10px;
    font-weight: 800;
}

.wa-join-intro h1 {
    margin: 8px 0 12px;
    font-size: 28px;
    line-height: 1.6;
}

.wa-join-intro > p {
    color: #b9bec7;
    font-size: 12px;
    line-height: 2;
}

.wa-join-benefits {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.wa-join-benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

.wa-join-benefits svg {
    width: 18px;
    color: #69d5b5;
}

.wa-support-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px !important;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.wa-support-line a {
    color: #fff;
    font-weight: 800;
}

.wa-join-form-card {
    background: #fff;
}

.wa-join-form-card h2 {
    margin: 5px 0;
    font-size: 23px;
}

.wa-join-form-card > div > p {
    margin: 0;
    color: var(--wa-muted);
    font-size: 10px;
}

.wa-join-form-card form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 22px;
}

.wa-join-form-card textarea {
    min-height: 90px;
    resize: vertical;
}

.wa-join-form-card .full {
    grid-column: 1 / -1;
}

.wa-notifications-page {
    max-width: 1120px;
    margin-inline: auto;
}

@media (max-width: 1180px) {
    .wa-categories-modern .wa-category-rail {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 122px;
        grid-template-columns: none;
        overflow-x: auto;
    }

    .wa-reels-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wa-reels-feed.is-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 940px) {
    .wa-topbar {
        height: 126px;
    }

    .wa-topbar-inner {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        grid-template-rows: 50px 52px;
        grid-template-areas:
            "menu brand user"
            "search search search";
        gap: 7px 10px;
        padding: 7px 12px 10px;
    }

    .wa-menu-button {
        grid-area: menu;
        display: grid;
    }

    .wa-mobile-brand {
        grid-area: brand;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 7px;
        color: #17181b;
        text-decoration: none;
    }

    .wa-mobile-brand img {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .wa-mobile-brand span {
        min-width: 0;
        display: grid;
        line-height: 1.2;
    }

    .wa-mobile-brand strong {
        font-size: 16px;
    }

    .wa-mobile-brand small {
        color: #777c84;
        font-size: 7px;
    }

    .wa-top-user {
        grid-area: user;
        direction: rtl;
    }

    .wa-profile-pill {
        min-width: 42px;
        width: 42px;
        height: 42px;
        padding: 3px;
        border-radius: 50%;
    }

    .wa-profile-pill > span:not(.wa-user-avatar),
    .wa-profile-pill > svg {
        display: none;
    }

    .wa-user-avatar {
        width: 34px;
        height: 34px;
    }

    .wa-top-search {
        grid-area: search;
    }

    .wa-search {
        max-width: none;
    }

    .wa-search input {
        height: 48px;
        padding-inline: 44px 47px;
        font-size: 11px;
    }

    .wa-search-leading {
        inset-block-start: 14px;
    }

    .wa-search button {
        inset-block-start: 5px;
    }

    .wa-page {
        padding: 12px 12px 104px;
    }

    .wa-owner-cta {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .wa-owner-cta-icon {
        width: 44px;
        height: 44px;
    }

    .wa-owner-cta-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .wa-owner-cta-actions > * {
        width: 100%;
    }

    .wa-owner-cta strong {
        font-size: 13px;
    }

    .wa-owner-cta span {
        font-size: 9px;
    }

    .wa-discovery-layout {
        display: block;
    }

    .wa-discovery-layout .wa-left-rail {
        display: none;
    }

    .wa-categories-modern .wa-category-rail {
        grid-auto-columns: 88px;
    }

    .wa-categories-modern .wa-category-photo > svg {
        inset-inline-end: 3px;
        inset-block-end: 3px;
        width: 16px;
        height: 16px;
    }

    .wa-subcategory-rail {
        margin-inline: -12px;
        padding-inline: 12px;
    }

    .wa-mobile-nav {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .wa-mobile-nav a,
    .wa-mobile-nav button {
        font-size: 7px;
    }

    .wa-mobile-nav a.is-active,
    .wa-mobile-nav button.is-active {
        color: var(--wa-accent);
    }

    .wa-reels-feed,
    .wa-reels-feed.is-preview,
    .wa-reels-feed.is-notifications {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wa-reel-media {
        min-height: 0;
    }

    .wa-join-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .wa-topbar-inner {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        grid-template-rows: 50px 52px;
        grid-template-areas:
            "menu brand user"
            "search search search";
    }

    .wa-search-suggestions {
        inset-block-start: 116px;
    }

    .wa-owner-cta-actions .wa-primary-button,
    .wa-owner-cta-actions .wa-outline-button {
        min-height: 42px;
        padding-inline: 8px;
        font-size: 9px;
    }

    .wa-section {
        padding: 12px;
    }

    .wa-section-head {
        align-items: flex-start;
    }

    .wa-section-head .wa-text-link {
        font-size: 9px;
    }

    .wa-title-with-icon h1,
    .wa-title-with-icon h2 {
        font-size: 15px;
    }

    .wa-section-symbol {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .wa-profile-grid {
        grid-template-columns: 1fr;
    }

    .wa-reels-section {
        margin-inline: -12px;
        padding-inline: 12px;
        border-inline: 0;
        border-radius: 0;
    }

    .wa-reels-feed,
    .wa-reels-feed.is-preview,
    .wa-reels-feed.is-notifications {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        scroll-snap-type: y proximity;
    }

    .wa-reel {
        scroll-snap-align: start;
    }

    .wa-reel-media {
        aspect-ratio: 4 / 5;
        max-height: 70dvh;
    }

    .wa-reel-overlay {
        inset-inline-end: 52px;
        inset-inline-start: 12px;
        inset-block-end: 14px;
    }

    .wa-reel-business {
        gap: 7px;
    }

    .wa-reel-business .wa-avatar {
        width: 34px;
        height: 34px;
    }

    .wa-follow-mini {
        padding-inline: 7px;
    }

    .wa-reel-actions {
        inset-inline-start: 8px;
        inset-block-end: 13px;
    }

    .wa-business-cover {
        aspect-ratio: 16 / 10;
    }

    .wa-business-info {
        padding: 14px;
    }

    .wa-business-heading {
        align-items: flex-start;
    }

    .wa-business-avatar {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .wa-business-heading h1 {
        font-size: 18px;
    }

    .wa-business-primary-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wa-business-primary-actions > *,
    .wa-business-primary-actions form > * {
        width: 100%;
    }

    .wa-social-links {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .wa-social-links a {
        min-width: 0;
        flex-direction: column;
        gap: 2px;
        padding-inline: 4px;
        font-size: 7px;
    }

    .wa-business-address {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .wa-business-address > a {
        grid-column: 2;
    }

    .wa-account-hero {
        grid-template-columns: 60px minmax(0, 1fr);
        padding: 15px;
    }

    .wa-account-avatar {
        width: 56px;
        height: 56px;
    }

    .wa-account-hero h1 {
        font-size: 17px;
    }

    .wa-account-hero > .wa-outline-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .wa-account-stats a {
        min-height: 60px;
        flex-direction: column;
        gap: 1px;
    }

    .wa-account-form > div,
    .wa-account-businesses {
        grid-template-columns: 1fr;
    }

    .wa-join-layout {
        gap: 12px;
    }

    .wa-join-intro,
    .wa-join-form-card {
        padding: 20px 16px;
    }

    .wa-join-intro h1 {
        font-size: 22px;
    }

    .wa-join-form-card form {
        grid-template-columns: 1fr;
    }

    .wa-join-form-card .full {
        grid-column: auto;
    }
}

/* Layout repair and Instagram-style explore slider */
.wa-discovery-layout > .wa-left-rail,
.wa-discovery-layout > .wa-feed {
    grid-area: auto;
}

.wa-discovery-layout > .wa-feed {
    width: 100%;
}

.wa-profile-grid {
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.wa-reels-section {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.wa-reels-section > .wa-section-head {
    width: min(100%, 560px);
    margin-inline: auto;
    padding-inline: 2px;
}

.wa-reels-section .wa-reels-feed {
    width: min(100%, 560px);
    height: min(760px, calc(100dvh - 120px));
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-inline: auto;
    padding: 0 8px 2px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
}

.wa-reels-section .wa-reels-feed::-webkit-scrollbar {
    display: none;
}

.wa-reels-section .wa-reel {
    width: 100%;
    height: 100%;
    min-height: 100%;
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.wa-reels-section .wa-reel-media {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
}

.wa-reel-fullscreen {
    position: absolute;
    inset-block-start: 58px;
    inset-inline-start: 12px;
    z-index: 5;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(8, 9, 11, .62);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.wa-reel-fullscreen svg {
    width: 18px;
    height: 18px;
}

.wa-reel-media:fullscreen,
.wa-reel-media.is-native-fullscreen {
    width: 100vw;
    height: 100vh;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    background: #000;
}

.wa-reel-media:fullscreen > video,
.wa-reel-media.is-native-fullscreen > video {
    object-fit: contain;
}

.wa-reel-media:fullscreen::after {
    inset-block-start: 58%;
}

@media (max-width: 940px) {
    .wa-mobile-nav {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .wa-reels-section .wa-reels-feed {
        height: calc(100dvh - 214px);
        min-height: 480px;
        padding-inline: 0;
    }
}

@media (max-width: 620px) {
    .wa-reels-section {
        margin-inline: -12px;
        padding: 0;
    }

    .wa-reels-section > .wa-section-head {
        padding-inline: 12px;
    }

    .wa-reels-section .wa-reels-feed {
        width: 100%;
        height: calc(100dvh - 214px);
        min-height: 430px;
        gap: 8px;
    }

    .wa-reels-section .wa-reel {
        border-inline: 0;
        border-radius: 0;
    }

    .wa-reels-section .wa-reel-media {
        max-height: none;
    }

    .wa-reel-fullscreen {
        inset-block-start: 54px;
        inset-inline-start: 9px;
    }
}
