/*
 * Mithapukur Seba — Custom Frontend
 * Version 1.1
 */

:root {
    --ms-green-900: #123f35;
    --ms-green-800: #175648;
    --ms-green-700: #1b6a57;
    --ms-green-600: #237d65;
    --ms-green-100: #e9f5f0;
    --ms-green-050: #f5faf8;
    --ms-amber: #f2b84b;
    --ms-ink: #14231f;
    --ms-muted: #63736d;
    --ms-line: #dce8e3;
    --ms-white: #ffffff;
    --ms-bg: #f7faf8;
    --ms-shadow: 0 16px 40px rgba(20, 55, 45, .08);
    --ms-shadow-soft: 0 8px 24px rgba(20, 55, 45, .07);
    --ms-radius-xl: 28px;
    --ms-radius-lg: 20px;
    --ms-radius-md: 15px;
    --ms-shell: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ms-bg);
    color: var(--ms-ink);
}

.ms-home,
.ms-home * {
    box-sizing: border-box;
}

.ms-home a {
    text-decoration: none;
}

.ms-shell {
    width: min(calc(100% - 40px), var(--ms-shell));
    margin-inline: auto;
}

/* Remove Astra spacing on the custom front page */
.home .site-content .ast-container {
    max-width: none;
    padding: 0;
}

.home #primary {
    width: 100%;
    margin: 0;
}

.home .entry-header,
.home .entry-title {
    display: none;
}

/* Hero */
.ms-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 46px;
    background:
        radial-gradient(circle at 78% 22%, rgba(242,184,75,.18), transparent 23%),
        radial-gradient(circle at 12% 10%, rgba(255,255,255,.08), transparent 24%),
        linear-gradient(135deg, #103d33 0%, #175a49 55%, #1e705a 100%);
}

.ms-hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -190px auto;
    width: 410px;
    height: 410px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 50%;
}

.ms-hero-inner {
    display: grid;
    grid-template-columns: 1.18fr .82fr;
    align-items: center;
    gap: 54px;
}

.ms-hero-copy {
    position: relative;
    z-index: 2;
}

.ms-eyebrow,
.ms-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
}

.ms-eyebrow {
    color: #d8eee7;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    padding: 8px 12px;
}

.ms-hero h1 {
    margin: 18px 0 14px;
    color: #fff;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.06;
    letter-spacing: -.04em;
    font-weight: 850;
}

.ms-hero h1 span {
    color: #f7cc76;
}

.ms-hero-copy > p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 17px;
    line-height: 1.75;
}

.ms-search {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 4px;
    max-width: 720px;
    margin-top: 28px;
    padding: 7px;
    background: #fff;
    border-radius: 17px;
    box-shadow: 0 18px 45px rgba(4, 25, 19, .22);
}

.ms-search-icon {
    width: 22px;
    height: 22px;
    margin-left: 8px;
    fill: none;
    stroke: #71827b;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.ms-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 8px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ms-ink);
    font-size: 15px;
    box-shadow: none;
}

.ms-search input[type="search"]:focus {
    border: 0;
    box-shadow: none;
}

.ms-search button {
    height: 48px;
    padding: 0 25px;
    border: 0;
    border-radius: 12px;
    background: var(--ms-green-700);
    color: white;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.ms-search button:hover {
    background: var(--ms-green-800);
    transform: translateY(-1px);
}

.ms-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.ms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 0 19px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ms-btn:hover {
    transform: translateY(-2px);
}

.ms-btn-primary {
    background: var(--ms-amber);
    color: #27331d;
    box-shadow: 0 10px 24px rgba(242,184,75,.18);
}

.ms-btn-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
}

.ms-btn-light {
    background: #fff;
    color: var(--ms-green-800);
}

/* Hero visual */
.ms-hero-panel {
    position: relative;
    min-height: 350px;
    display: grid;
    place-items: center;
}

.ms-hero-mark {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 190px;
    height: 190px;
    border-radius: 44px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.17);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 60px rgba(2,25,18,.24);
    backdrop-filter: blur(10px);
    transform: rotate(-4deg);
}

.ms-hero-mark svg {
    width: 102px;
    height: 102px;
    fill: none;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ms-hero-badge {
    position: absolute;
    top: 35px;
    right: 32px;
    z-index: 4;
    padding: 8px 13px;
    border-radius: 999px;
    background: #f7cc76;
    color: #26372f;
    font-size: 13px;
    font-weight: 900;
    box-shadow: var(--ms-shadow-soft);
}

.ms-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
}

.ms-orbit-one {
    width: 310px;
    height: 310px;
}

.ms-orbit-two {
    width: 245px;
    height: 245px;
    border-style: dashed;
}

.ms-mini-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    background: rgba(255,255,255,.94);
    color: var(--ms-ink);
    border-radius: 13px;
    box-shadow: 0 14px 32px rgba(5,27,20,.18);
    font-size: 13px;
}

.ms-mini-card span {
    font-size: 19px;
}

.ms-mini-one {
    left: 12px;
    top: 95px;
}

.ms-mini-two {
    right: 4px;
    bottom: 74px;
}

.ms-mini-three {
    left: 40px;
    bottom: 32px;
}

/* General section */
.ms-section {
    padding: 62px 0;
}

.ms-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

.ms-kicker {
    margin-bottom: 7px;
    color: var(--ms-green-700);
    text-transform: uppercase;
}

.ms-section-head h2,
.ms-cta h2 {
    margin: 0;
    color: var(--ms-ink);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -.02em;
}

.ms-section-head > p {
    max-width: 420px;
    margin: 0;
    color: var(--ms-muted);
    line-height: 1.65;
}

.ms-text-link {
    color: var(--ms-green-700);
    font-weight: 800;
}

/* Categories */
.ms-categories-section {
    padding-top: 44px;
    background: #fff;
}

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

.ms-category-card {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 94px;
    padding: 16px 17px;
    border: 1px solid var(--ms-line);
    border-radius: var(--ms-radius-lg);
    background: #fff;
    color: var(--ms-ink);
    box-shadow: 0 4px 14px rgba(18,63,53,.03);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ms-category-card:hover {
    transform: translateY(-3px);
    border-color: #b8d9cd;
    box-shadow: var(--ms-shadow-soft);
}

.ms-category-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--ms-green-100);
}

.ms-category-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: var(--ms-green-700);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ms-category-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ms-category-copy strong {
    color: var(--ms-ink);
    font-size: 16px;
    line-height: 1.3;
}

.ms-category-copy small {
    margin-top: 4px;
    color: var(--ms-muted);
    font-size: 12px;
}

.ms-card-arrow {
    color: #91a59d;
    font-size: 20px;
    transition: transform .18s ease;
}

.ms-category-card:hover .ms-card-arrow {
    color: var(--ms-green-700);
    transform: translateX(3px);
}

/* Listings */
.ms-latest-section {
    background: var(--ms-bg);
}

.ms-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ms-listing-card {
    overflow: hidden;
    border: 1px solid var(--ms-line);
    border-radius: var(--ms-radius-lg);
    background: #fff;
    box-shadow: 0 5px 18px rgba(25,64,52,.04);
    transition: transform .18s ease, box-shadow .18s ease;
}

.ms-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ms-shadow);
}

.ms-listing-thumb {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9f2ee;
}

.ms-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ms-listing-card:hover .ms-listing-thumb img {
    transform: scale(1.035);
}

.ms-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #edf6f2, #dfece7);
}

.ms-thumb-placeholder svg {
    width: 58px;
    height: 58px;
    fill: none;
    stroke: #83aa9c;
    stroke-width: 2;
    stroke-linejoin: round;
}

.ms-listing-category,
.ms-featured-badge {
    position: absolute;
    top: 12px;
    padding: 6px 9px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 850;
    box-shadow: 0 5px 14px rgba(0,0,0,.08);
}

.ms-listing-category {
    left: 12px;
    background: rgba(255,255,255,.93);
    color: var(--ms-green-800);
}

.ms-featured-badge {
    right: 12px;
    background: #f7cc76;
    color: #473816;
}

.ms-listing-body {
    padding: 16px;
}

.ms-price-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ms-price {
    color: var(--ms-green-700);
    font-size: 16px;
    line-height: 1.3;
}

.ms-verified {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ms-green-700);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.ms-listing-body h3 {
    margin: 9px 0 7px;
    font-size: 16px;
    line-height: 1.45;
}

.ms-listing-body h3 a {
    color: var(--ms-ink);
}

.ms-location {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 20px;
    margin: 0;
    color: var(--ms-muted);
    font-size: 12px;
}

.ms-location svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.ms-listing-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid #edf2ef;
    color: #84928d;
    font-size: 11px;
}

.ms-listing-footer a {
    color: var(--ms-green-700);
    font-weight: 800;
}

.ms-empty-state {
    grid-column: 1 / -1;
    padding: 48px 24px;
    text-align: center;
    border: 1px dashed #bed4cb;
    border-radius: var(--ms-radius-lg);
    background: #fff;
}

.ms-empty-state span {
    font-size: 34px;
}

.ms-empty-state h3 {
    margin: 9px 0 5px;
}

.ms-empty-state p {
    margin: 0;
    color: var(--ms-muted);
}

/* CTA */
.ms-cta-section {
    padding: 0 0 68px;
}

.ms-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 38px 42px;
    border-radius: var(--ms-radius-xl);
    background:
        radial-gradient(circle at 85% 30%, rgba(242,184,75,.18), transparent 28%),
        linear-gradient(135deg, var(--ms-green-900), var(--ms-green-700));
    color: #fff;
    box-shadow: 0 20px 50px rgba(18,63,53,.15);
}

.ms-cta .ms-kicker,
.ms-cta h2 {
    color: #fff;
}

.ms-cta p {
    max-width: 680px;
    margin: 10px 0 0;
    color: rgba(255,255,255,.78);
}

/* Responsive */
@media (max-width: 1024px) {
    .ms-hero-inner {
        grid-template-columns: 1fr .7fr;
        gap: 28px;
    }

    .ms-hero-panel {
        min-height: 310px;
        transform: scale(.9);
    }

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

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

@media (max-width: 820px) {
    .ms-shell {
        width: min(calc(100% - 28px), var(--ms-shell));
    }

    .ms-hero {
        padding: 42px 0 36px;
    }

    .ms-hero-inner {
        grid-template-columns: 1fr;
    }

    .ms-hero-panel {
        display: none;
    }

    .ms-hero h1 {
        font-size: clamp(38px, 9vw, 54px);
    }

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

    .ms-section {
        padding: 48px 0;
    }

    .ms-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .ms-section-head > p {
        max-width: none;
    }

    .ms-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px;
    }
}

@media (max-width: 560px) {
    .ms-shell {
        width: min(calc(100% - 22px), var(--ms-shell));
    }

    .ms-hero {
        padding-top: 30px;
    }

    .ms-eyebrow {
        font-size: 11px;
    }

    .ms-hero h1 {
        margin-top: 14px;
        font-size: 38px;
    }

    .ms-hero-copy > p {
        font-size: 14px;
        line-height: 1.65;
    }

    .ms-search {
        grid-template-columns: 28px 1fr auto;
        margin-top: 21px;
        border-radius: 14px;
    }

    .ms-search input[type="search"] {
        height: 43px;
        font-size: 13px;
    }

    .ms-search button {
        height: 43px;
        padding: 0 15px;
        font-size: 12px;
    }

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

    .ms-btn {
        min-height: 44px;
        padding: 0 12px;
        font-size: 12px;
    }

    .ms-categories-section {
        padding-top: 32px;
    }

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

    .ms-category-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        min-height: 112px;
        padding: 11px 7px;
        text-align: center;
        border-radius: 15px;
    }

    .ms-category-icon {
        width: 47px;
        height: 47px;
        border-radius: 14px;
    }

    .ms-category-icon svg {
        width: 26px;
        height: 26px;
    }

    .ms-category-copy strong {
        font-size: 12px;
        line-height: 1.35;
    }

    .ms-category-copy small,
    .ms-card-arrow {
        display: none;
    }

    .ms-listing-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ms-listing-card {
        display: grid;
        grid-template-columns: 122px 1fr;
        min-height: 132px;
        border-radius: 16px;
    }

    .ms-listing-thumb {
        height: 100%;
        aspect-ratio: auto;
    }

    .ms-listing-category {
        top: 8px;
        left: 8px;
        max-width: 104px;
        padding: 5px 7px;
        font-size: 9px;
    }

    .ms-featured-badge {
        display: none;
    }

    .ms-listing-body {
        padding: 13px;
    }

    .ms-price {
        font-size: 14px;
    }

    .ms-listing-body h3 {
        margin: 6px 0;
        font-size: 14px;
    }

    .ms-listing-footer {
        margin-top: 9px;
        padding-top: 8px;
        font-size: 10px;
    }

    .ms-cta {
        padding: 25px 22px;
        border-radius: 20px;
    }

    .ms-cta-section {
        padding-bottom: 44px;
    }
}


/* =========================================================
   v1.2 — Custom header + compact first screen
   ========================================================= */

.admin-bar .ms-site-header {
    top: 32px;
}

.ms-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e4ece8;
    backdrop-filter: blur(12px);
}

.ms-header-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.ms-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ms-ink);
    min-width: 0;
}

.ms-brand:hover {
    color: var(--ms-ink);
}

.ms-brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    background: var(--ms-green-100);
}

.ms-brand-mark svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--ms-green-700);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ms-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.ms-brand-copy strong {
    color: var(--ms-green-900);
    font-size: 19px;
    font-weight: 900;
}

.ms-brand-copy small {
    margin-top: 4px;
    color: #73827d;
    font-size: 10px;
}

.ms-main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ms-main-nav > a {
    color: #43514c;
    font-size: 13px;
    font-weight: 750;
}

.ms-main-nav > a:hover {
    color: var(--ms-green-700);
}

.ms-main-nav .ms-nav-cta {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 11px;
    background: var(--ms-green-700);
    color: #fff;
    box-shadow: 0 7px 18px rgba(27,106,87,.14);
}

.ms-main-nav .ms-nav-cta:hover {
    color: #fff;
    background: var(--ms-green-800);
}

.ms-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid #dfe8e4;
    border-radius: 11px;
    background: #fff;
}

.ms-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 3px;
    background: var(--ms-green-900);
}

.ms-mobile-nav {
    padding: 8px 14px 14px;
    border-top: 1px solid #eef2f0;
    background: #fff;
}

.ms-mobile-nav a {
    display: block;
    padding: 11px 8px;
    border-bottom: 1px solid #f0f3f2;
    color: var(--ms-ink);
    font-size: 14px;
    font-weight: 750;
}

/* Compact hero */
.ms-hero-compact {
    padding: 28px 0 26px;
}

.ms-compact-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
    gap: 34px;
}

.ms-hero-compact .ms-eyebrow {
    padding: 6px 10px;
    font-size: 11px;
}

.ms-hero-compact h1 {
    max-width: 820px;
    margin: 12px 0 8px;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.07;
}

.ms-hero-compact .ms-hero-copy > p {
    max-width: 760px;
    font-size: 14px;
    line-height: 1.6;
}

.ms-hero-compact .ms-search {
    max-width: 680px;
    margin-top: 18px;
}

.ms-hero-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ms-quick-stat,
.ms-quick-post {
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(255,255,255,.09);
    color: #fff;
}

.ms-quick-stat span {
    color: #f7cc76;
    font-size: 23px;
    font-weight: 900;
}

.ms-quick-stat small {
    margin-top: 3px;
    color: rgba(255,255,255,.76);
    font-size: 11px;
}

.ms-quick-post {
    grid-column: 1 / -1;
    min-height: 48px;
    align-items: center;
    background: #f7cc76;
    color: #26372f;
    font-size: 13px;
    font-weight: 900;
}

/* Category priority */
.ms-categories-priority {
    padding: 26px 0 34px;
}

.ms-categories-priority .ms-section-head {
    margin-bottom: 16px;
}

.ms-categories-priority .ms-section-head h2 {
    font-size: clamp(24px, 2.6vw, 34px);
}

.ms-categories-priority .ms-category-grid {
    gap: 10px;
}

.ms-categories-priority .ms-category-card {
    min-height: 76px;
    padding: 11px 13px;
    border-radius: 16px;
}

.ms-categories-priority .ms-category-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
}

.ms-categories-priority .ms-category-icon svg {
    width: 26px;
    height: 26px;
}

.ms-categories-priority .ms-category-copy strong {
    font-size: 14px;
}

.ms-categories-priority .ms-category-copy small {
    font-size: 10px;
}

/* Custom footer */
.ms-site-footer {
    margin-top: 20px;
    background: #103d33;
    color: rgba(255,255,255,.82);
}

.ms-footer-inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.ms-footer-inner strong {
    color: #fff;
    font-size: 18px;
}

.ms-footer-inner p {
    margin: 7px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 12px;
}

.ms-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.ms-footer-links a {
    color: rgba(255,255,255,.78);
    font-size: 12px;
}

.ms-footer-bottom {
    padding: 11px 0;
    border-top: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.5);
    font-size: 11px;
}

/* Hide any remaining Astra wrapper headers/footers if loaded by hooks */
.ast-primary-header-bar,
.site-primary-header-wrap,
.site-footer,
.ast-footer-overlay {
    display: none !important;
}

@media (max-width: 920px) {
    .ms-main-nav {
        display: none;
    }

    .ms-menu-toggle {
        display: block;
    }

    .ms-compact-hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ms-hero-quick {
        display: none;
    }
}

@media (max-width: 782px) {
    .admin-bar .ms-site-header {
        top: 46px;
    }
}

@media (max-width: 560px) {
    .ms-header-inner {
        min-height: 60px;
    }

    .ms-brand-mark {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .ms-brand-copy strong {
        font-size: 16px;
    }

    .ms-brand-copy small {
        display: none;
    }

    .ms-hero-compact {
        padding: 22px 0 20px;
    }

    .ms-hero-compact h1 {
        font-size: 33px;
    }

    .ms-hero-compact .ms-hero-copy > p {
        font-size: 13px;
    }

    .ms-categories-priority {
        padding-top: 22px;
    }

    .ms-categories-priority .ms-category-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
        gap: 7px;
    }

    .ms-categories-priority .ms-category-card {
        min-height: 104px;
        padding: 10px 6px;
    }

    .ms-categories-priority .ms-category-icon {
        width: 43px;
        height: 43px;
    }

    .ms-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        min-height: auto;
    }
}


/* =========================================================
   v1.3 — Smart multilingual search dropdown
   ========================================================= */

.ms-search {
    position: relative;
}

.ms-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1200;
    overflow: hidden;
    border: 1px solid #dce8e3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(18, 63, 53, .16);
    text-align: left;
}

.ms-search-dropdown[hidden] {
    display: none !important;
}

.ms-search-suggestion {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 9px 13px;
    border-bottom: 1px solid #edf2ef;
    color: var(--ms-ink);
    background: #fff;
}

.ms-search-suggestion:last-child {
    border-bottom: 0;
}

.ms-search-suggestion:hover,
.ms-search-suggestion.is-active {
    background: #f1f8f5;
}

.ms-suggestion-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ms-green-100);
    color: var(--ms-green-700);
    font-size: 16px;
}

.ms-suggestion-copy {
    min-width: 0;
}

.ms-suggestion-title {
    display: block;
    overflow: hidden;
    color: var(--ms-ink);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ms-suggestion-subtitle {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #71817b;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ms-suggestion-type {
    color: #91a39c;
    font-size: 10px;
}

.ms-search-loading,
.ms-search-no-results {
    padding: 14px;
    color: #6b7c75;
    font-size: 12px;
    text-align: center;
}

.ms-search-page {
    min-height: 70vh;
}

.ms-search-page-head {
    padding: 42px 0 30px;
    background: linear-gradient(180deg, #eff6f3 0%, #f8fbfa 100%);
    border-bottom: 1px solid #e3ece8;
}

.ms-search-page-head h1 {
    margin: 4px 0 20px;
    color: var(--ms-ink);
    font-size: clamp(27px, 3.5vw, 42px);
    line-height: 1.25;
}

.ms-search-results-form {
    max-width: 760px;
    margin-top: 0;
    border: 1px solid #dce8e3;
    box-shadow: 0 9px 28px rgba(18, 63, 53, .08);
}

@media (max-width: 560px) {
    .ms-search-suggestion {
        grid-template-columns: 34px 1fr;
    }

    .ms-suggestion-type {
        display: none;
    }

    .ms-search-page-head {
        padding: 28px 0 22px;
    }
}


/* =========================================================
   v1.3.1 — Search dropdown visibility fix
   ========================================================= */

/* The compact hero previously clipped the autocomplete panel. */
.ms-hero.ms-hero-compact {
    overflow: visible !important;
    position: relative;
    z-index: 50;
}

/* Keep search + dropdown above the category section. */
.ms-hero-compact .ms-search {
    position: relative;
    z-index: 100;
}

.ms-search-dropdown {
    z-index: 9999 !important;
}

/* Prevent the following section from painting over suggestions. */
.ms-categories-priority,
.ms-latest-section {
    position: relative;
    z-index: 1;
}

/* Ensure parent wrappers do not clip autocomplete. */
.ms-home,
.ms-compact-hero-grid,
.ms-hero-copy {
    overflow: visible !important;
}


/* =========================================================
   v1.4 — Instant local dropdown
   ========================================================= */
.ms-search-dropdown {
    z-index: 9999 !important;
    max-height: 430px;
    overflow-y: auto;
}

.ms-search-dropdown[hidden] {
    display: none !important;
}


/* =========================================================
   v1.5 — Marketplace cards, archives & single listing
   ========================================================= */

.ms-listing-card-v15 .ms-listing-body h3 {
    min-height: 46px;
}

.ms-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.ms-card-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 6px 8px;
    border-radius: 9px;
    background: #f3f8f6;
    color: #566760;
    font-size: 10px;
    line-height: 1.2;
}

.ms-card-features b {
    color: var(--ms-green-700);
    font-weight: 900;
}

/* Archive / taxonomy */
.ms-market-page {
    min-height: 70vh;
}

.ms-market-head {
    padding: 42px 0 32px;
    background:
        radial-gradient(circle at 85% 25%, rgba(242,184,75,.11), transparent 25%),
        linear-gradient(180deg, #edf6f2 0%, #f8fbfa 100%);
    border-bottom: 1px solid #e2ece8;
}

.ms-market-head h1 {
    margin: 4px 0 8px;
    color: var(--ms-ink);
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.18;
}

.ms-market-description {
    max-width: 760px;
    color: var(--ms-muted);
    line-height: 1.7;
}

.ms-market-search {
    max-width: 760px;
    margin-top: 20px;
    border: 1px solid #dbe7e2;
    box-shadow: 0 10px 30px rgba(18,63,53,.08);
}

.ms-market-count {
    margin-bottom: 17px;
    color: var(--ms-muted);
    font-size: 13px;
}

.ms-market-count strong {
    color: var(--ms-green-700);
    font-size: 18px;
}

.ms-pagination {
    margin-top: 34px;
}

.ms-pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.ms-pagination .page-numbers {
    display: inline-grid;
    min-width: 38px;
    min-height: 38px;
    place-items: center;
    padding: 0 10px;
    border: 1px solid var(--ms-line);
    border-radius: 10px;
    background: #fff;
    color: var(--ms-green-800);
    font-size: 12px;
    font-weight: 800;
}

.ms-pagination .page-numbers.current {
    background: var(--ms-green-700);
    color: #fff;
    border-color: var(--ms-green-700);
}

/* Single listing */
.ms-single-listing {
    min-height: 70vh;
    background: #f7faf8;
}

.ms-single-head {
    padding: 24px 0 30px;
    background: #fff;
    border-bottom: 1px solid #e6eeea;
}

.ms-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 20px;
    color: #819089;
    font-size: 11px;
}

.ms-breadcrumb a {
    color: var(--ms-green-700);
    font-weight: 700;
}

.ms-single-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 34px;
}

.ms-single-title-row h1 {
    max-width: 820px;
    margin: 11px 0 10px;
    color: var(--ms-ink);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.ms-single-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ms-single-category,
.ms-single-featured,
.ms-single-verified {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
}

.ms-single-category {
    background: var(--ms-green-100);
    color: var(--ms-green-800);
}

.ms-single-featured {
    background: #fff1cd;
    color: #79601b;
}

.ms-single-verified {
    background: #e9f5f0;
    color: var(--ms-green-700);
}

.ms-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    color: #73837c;
    font-size: 12px;
}

.ms-single-price {
    flex: 0 0 auto;
    color: var(--ms-green-700);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    white-space: nowrap;
}

.ms-single-main {
    padding: 34px 0 56px;
}

.ms-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    align-items: start;
}

.ms-single-content {
    min-width: 0;
}

.ms-single-image {
    overflow: hidden;
    min-height: 330px;
    border-radius: 22px;
    background: #e8f1ed;
    box-shadow: 0 9px 28px rgba(18,63,53,.06);
}

.ms-single-image img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.ms-single-placeholder {
    min-height: 390px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 13px;
    color: #729086;
    background: linear-gradient(145deg, #edf6f2, #dcebe5);
}

.ms-single-placeholder svg {
    width: 76px;
    height: 76px;
    fill: none;
    stroke: #7fa697;
    stroke-width: 2;
    stroke-linejoin: round;
}

.ms-detail-card {
    margin-top: 20px;
    padding: 25px;
    border: 1px solid #dfe9e5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(18,63,53,.04);
}

.ms-detail-section-title span {
    display: block;
    margin-bottom: 4px;
    color: var(--ms-green-700);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ms-detail-section-title h2 {
    margin: 0;
    color: var(--ms-ink);
    font-size: 23px;
}

.ms-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 19px;
}

.ms-detail-item {
    display: flex;
    gap: 11px;
    align-items: center;
    padding: 13px;
    border-radius: 14px;
    background: #f6faf8;
}

.ms-detail-icon {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    border-radius: 11px;
    background: var(--ms-green-100);
    color: var(--ms-green-700);
    font-weight: 900;
}

.ms-detail-item small {
    display: block;
    color: #7b8b84;
    font-size: 10px;
}

.ms-detail-item strong {
    display: block;
    margin-top: 3px;
    color: var(--ms-ink);
    font-size: 13px;
    line-height: 1.35;
}

.ms-listing-description {
    margin-top: 18px;
    color: #45554f;
    font-size: 14px;
    line-height: 1.9;
}

.ms-listing-description p:last-child {
    margin-bottom: 0;
}

.ms-safety-note {
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid #f0d995;
    border-radius: 16px;
    background: #fff9e9;
}

.ms-safety-note strong {
    color: #725c19;
    font-size: 13px;
}

.ms-safety-note p {
    margin: 5px 0 0;
    color: #776a43;
    font-size: 11px;
    line-height: 1.7;
}

/* Contact card */
.ms-contact-card {
    position: sticky;
    top: 92px;
    padding: 22px;
    border: 1px solid #dce8e3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(18,63,53,.08);
}

.admin-bar .ms-contact-card {
    top: 124px;
}

.ms-contact-label {
    display: block;
    color: var(--ms-green-700);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.ms-contact-price {
    margin-top: 6px;
    color: var(--ms-ink);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.3;
}

.ms-contact-person {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #edf2ef;
}

.ms-contact-avatar {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 50%;
    background: var(--ms-green-100);
    color: var(--ms-green-700);
    font-size: 18px;
    font-weight: 900;
}

.ms-contact-person small,
.ms-contact-number small {
    display: block;
    color: #829089;
    font-size: 10px;
}

.ms-contact-person strong,
.ms-contact-number strong {
    display: block;
    margin-top: 2px;
    color: var(--ms-ink);
    font-size: 13px;
}

.ms-contact-number {
    margin-top: 15px;
    padding: 13px 14px;
    border-radius: 12px;
    background: #f5f9f7;
}

.ms-contact-actions {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.ms-call-btn,
.ms-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
}

.ms-call-btn {
    background: var(--ms-green-700);
    color: #fff;
}

.ms-call-btn:hover {
    background: var(--ms-green-800);
    color: #fff;
}

.ms-whatsapp-btn {
    background: #eef8f2;
    border: 1px solid #cfe6d8;
    color: #247447;
}

.ms-whatsapp-btn:hover {
    background: #e3f4e9;
    color: #1c663d;
}

.ms-contact-warning {
    margin-top: 14px;
    color: #89958f;
    font-size: 9px;
    line-height: 1.55;
    text-align: center;
}

.ms-related-section {
    padding: 10px 0 64px;
}

@media (max-width: 900px) {
    .ms-single-layout {
        grid-template-columns: 1fr;
    }

    .ms-contact-card {
        position: static;
        order: -1;
    }

    .ms-single-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .ms-listing-card-v15 .ms-listing-body h3 {
        min-height: auto;
    }

    .ms-card-features {
        display: none;
    }

    .ms-market-head {
        padding: 28px 0 24px;
    }

    .ms-single-head {
        padding: 18px 0 24px;
    }

    .ms-single-title-row h1 {
        font-size: 29px;
    }

    .ms-single-price {
        font-size: 22px;
    }

    .ms-single-main {
        padding: 22px 0 40px;
    }

    .ms-single-image {
        min-height: 220px;
        border-radius: 16px;
    }

    .ms-single-placeholder {
        min-height: 260px;
    }

    .ms-detail-card {
        padding: 19px;
        border-radius: 16px;
    }

    .ms-detail-grid {
        grid-template-columns: 1fr;
    }

    .ms-contact-card {
        padding: 19px;
        border-radius: 16px;
    }

    .ms-contact-actions {
        grid-template-columns: 1fr 1fr;
    }

    .ms-call-btn,
    .ms-whatsapp-btn {
        min-height: 44px;
        font-size: 11px;
    }
}


/* =========================================================
   v1.6 — Public frontend listing submission
   ========================================================= */

.ms-submit-page {
    min-height: 70vh;
    background: #f6faf8;
}

.ms-submit-hero {
    padding: 40px 0 34px;
    background:
        radial-gradient(circle at 84% 25%, rgba(242,184,75,.13), transparent 24%),
        linear-gradient(180deg, #edf6f2, #f8fbfa);
    border-bottom: 1px solid #e1ebe6;
}

.ms-submit-hero h1 {
    margin: 5px 0 9px;
    color: var(--ms-ink);
    font-size: clamp(34px, 4.8vw, 54px);
    line-height: 1.12;
}

.ms-submit-hero > .ms-shell > p {
    max-width: 720px;
    margin: 0;
    color: var(--ms-muted);
    font-size: 14px;
    line-height: 1.7;
}

.ms-submit-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
}

.ms-submit-flow span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #d5e4de;
    border-radius: 999px;
    background: #fff;
    color: var(--ms-green-800);
    font-size: 11px;
    font-weight: 850;
}

.ms-submit-flow b {
    color: #9aaba4;
}

.ms-submit-content {
    padding: 34px 0 64px;
}

.ms-submit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 26px;
    align-items: start;
}

.ms-submit-form-wrap {
    min-width: 0;
}

.ms-public-listing-form {
    display: grid;
    gap: 16px;
}

.ms-form-section {
    padding: 24px;
    border: 1px solid #dce8e3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(18,63,53,.04);
}

.ms-form-section[hidden] {
    display: none !important;
}

.ms-form-section-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 17px;
    margin-bottom: 18px;
    border-bottom: 1px solid #edf2ef;
}

.ms-form-section-head > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 11px;
    background: var(--ms-green-100);
    color: var(--ms-green-700);
    font-size: 13px;
    font-weight: 900;
}

.ms-form-section-head h2 {
    margin: 0;
    color: var(--ms-ink);
    font-size: 20px;
    line-height: 1.3;
}

.ms-form-section-head p {
    margin: 4px 0 0;
    color: #7b8b84;
    font-size: 11px;
    line-height: 1.55;
}

.ms-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.ms-form-field {
    min-width: 0;
}

.ms-form-field-full {
    grid-column: 1 / -1;
}

.ms-form-field label {
    display: block;
    margin-bottom: 7px;
    color: #34473f;
    font-size: 12px;
    font-weight: 800;
}

.ms-required {
    color: #c14f43;
}

.ms-form-field input[type="text"],
.ms-form-field input[type="tel"],
.ms-form-field input[type="date"],
.ms-form-field input[type="file"],
.ms-form-field select,
.ms-form-field textarea {
    width: 100%;
    min-height: 47px;
    padding: 10px 12px;
    border: 1px solid #cfddd7;
    border-radius: 11px;
    outline: 0;
    background: #fbfdfc;
    color: var(--ms-ink);
    font-family: inherit;
    font-size: 13px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ms-form-field textarea {
    min-height: 145px;
    resize: vertical;
}

.ms-form-field input:focus,
.ms-form-field select:focus,
.ms-form-field textarea:focus {
    border-color: #73ae9a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(35,125,101,.09);
}

.ms-form-field input[type="file"] {
    padding: 9px;
    background: #f7faf8;
}

.ms-form-help {
    display: block;
    margin-top: 7px;
    color: #8a9892;
    font-size: 10px;
}

.ms-submit-agreement {
    padding: 16px 18px;
    border: 1px solid #dce8e3;
    border-radius: 14px;
    background: #fff;
}

.ms-submit-agreement label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #566760;
    font-size: 11px;
    line-height: 1.6;
}

.ms-submit-agreement input {
    margin-top: 3px;
}

.ms-public-submit-btn {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 14px;
    background: var(--ms-green-700);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(27,106,87,.16);
}

.ms-public-submit-btn:hover {
    background: var(--ms-green-800);
}

.ms-submit-review-note {
    margin: -4px 0 0;
    color: #7c8b85;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
}

.ms-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ms-submit-side {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 14px;
}

.admin-bar .ms-submit-side {
    top: 124px;
}

.ms-submit-side-card {
    padding: 20px;
    border: 1px solid #dce8e3;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(18,63,53,.04);
}

.ms-submit-side-card h3 {
    margin: 0 0 12px;
    color: var(--ms-ink);
    font-size: 16px;
}

.ms-submit-side-card ul {
    margin: 0;
    padding-left: 18px;
    color: #63736d;
    font-size: 11px;
    line-height: 1.85;
}

.ms-submit-side-card p {
    margin: 0;
    color: #63736d;
    font-size: 11px;
    line-height: 1.7;
}

.ms-submit-side-safe {
    background: #fff8e7;
    border-color: #eedcaa;
}

.ms-submit-error {
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #efc2bc;
    border-radius: 12px;
    background: #fff2f0;
    color: #93473f;
    font-size: 12px;
    font-weight: 700;
}

.ms-submit-success {
    padding: 50px 28px;
    border: 1px solid #cfe2da;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 28px rgba(18,63,53,.06);
}

.ms-submit-success-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--ms-green-100);
    color: var(--ms-green-700);
    font-size: 27px;
    font-weight: 900;
}

.ms-submit-success h2 {
    margin: 0;
    color: var(--ms-ink);
    font-size: 27px;
}

.ms-submit-success p {
    max-width: 620px;
    margin: 10px auto 20px;
    color: var(--ms-muted);
    line-height: 1.75;
}

.ms-submit-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 18px;
    border-radius: 11px;
    background: var(--ms-green-700);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.ms-submit-home-btn:hover {
    color: #fff;
    background: var(--ms-green-800);
}

@media (max-width: 880px) {
    .ms-submit-layout {
        grid-template-columns: 1fr;
    }

    .ms-submit-side {
        position: static;
    }
}

@media (max-width: 560px) {
    .ms-submit-hero {
        padding: 28px 0 25px;
    }

    .ms-submit-flow b {
        display: none;
    }

    .ms-submit-content {
        padding: 22px 0 44px;
    }

    .ms-form-section {
        padding: 18px;
        border-radius: 16px;
    }

    .ms-form-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .ms-form-field-full {
        grid-column: auto;
    }

    .ms-public-submit-btn {
        min-height: 50px;
    }
}


/* =========================================================
   v1.7 — Ads vs Service Requests
   ========================================================= */

.ms-quick-service {
    grid-column: 1 / -1;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    background: rgba(255,255,255,.09);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.ms-quick-service:hover {
    color: #fff;
    background: rgba(255,255,255,.14);
}

.ms-service-page .ms-submit-hero {
    background:
        radial-gradient(circle at 82% 20%, rgba(242,184,75,.16), transparent 24%),
        linear-gradient(180deg, #eaf5f0, #f8fbfa);
}

.ms-service-request-form {
    display: grid;
    gap: 16px;
}

.ms-live-price {
    min-height: 47px;
    display: flex;
    align-items: center;
    padding: 10px 13px;
    border: 1px solid #cfe0d9;
    border-radius: 11px;
    background: #edf7f3;
    color: var(--ms-green-800);
    font-size: 15px;
    font-weight: 900;
}

.ms-addon-box {
    margin-top: 18px;
    padding: 17px;
    border: 1px solid #dce8e3;
    border-radius: 14px;
    background: #f8fbfa;
}

.ms-addon-box > strong {
    color: var(--ms-ink);
    font-size: 13px;
}

.ms-addon-box > p {
    margin: 4px 0 12px;
    color: #76867f;
    font-size: 10px;
}

.ms-check-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    margin-top: 8px;
    border: 1px solid #e0e9e5;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
}

.ms-check-card input {
    width: 18px;
    height: 18px;
    accent-color: var(--ms-green-700);
}

.ms-check-card span {
    display: flex;
    flex-direction: column;
}

.ms-check-card b {
    color: var(--ms-ink);
    font-size: 12px;
}

.ms-check-card small {
    margin-top: 2px;
    color: #7b8b84;
    font-size: 9px;
}

.ms-equipment-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff6dd;
    color: #67531d;
    font-size: 11px;
}

.ms-equipment-summary span {
    font-weight: 900;
}

.ms-suggested-vehicles {
    margin-top: 20px;
}

.ms-service-mini-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.ms-service-mini-head strong {
    color: var(--ms-ink);
    font-size: 15px;
}

.ms-service-mini-head small {
    color: #7b8b84;
    font-size: 9px;
}

.ms-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.ms-vehicle-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 100px 1fr;
    min-height: 92px;
    border: 1px solid #dbe7e2;
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
}

.ms-vehicle-card input {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    accent-color: var(--ms-green-700);
}

.ms-vehicle-card img,
.ms-vehicle-placeholder {
    width: 100px;
    height: 100%;
    min-height: 92px;
    object-fit: cover;
}

.ms-vehicle-placeholder {
    display: grid;
    place-items: center;
    background: #edf6f2;
    font-size: 30px;
}

.ms-vehicle-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
}

.ms-vehicle-copy b {
    color: var(--ms-ink);
    font-size: 12px;
}

.ms-vehicle-copy small {
    margin-top: 4px;
    color: var(--ms-green-700);
    font-size: 9px;
    font-weight: 800;
}

.ms-vehicle-copy em {
    margin-top: 4px;
    color: #7b8b84;
    font-size: 9px;
    font-style: normal;
}

.ms-vehicle-empty {
    grid-column: 1/-1;
    padding: 20px;
    border: 1px dashed #cbdcd5;
    border-radius: 12px;
    background: #f9fbfa;
    color: #7a8983;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 620px) {
    .ms-vehicle-grid {
        grid-template-columns: 1fr;
    }
}
