:root {
    --navy: #071c38;
    --navy-soft: #123a67;
    --blue: #1677e8;

    --pink: #e9006e;
    --coral: #ff5364;
    --peach: #ff9b68;

    --text: #102033;
    --muted: #65758b;

    --surface: #ffffff;
    --surface-soft: #f5f8fc;

    --border: #dce5ef;

    --success: #15803d;
    --danger: #b42318;

    --shadow:
        0 18px 50px rgba(7, 28, 56, .10);

    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--surface);
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background:
        rgba(255,255,255,.94);

    backdrop-filter: blur(16px);

    border-bottom:
        1px solid rgba(220,229,239,.8);
}

.nav {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -.04em;
}

.brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: white;
    font-weight: 900;
    font-size: .92rem;

    border-radius:
        15px 15px 18px 18px;

    background:
        linear-gradient(
            135deg,
            var(--navy) 8%,
            var(--blue) 45%,
            var(--pink) 72%,
            var(--peach)
        );

    box-shadow:
        0 8px 20px rgba(233,0,110,.18);

    transform: rotate(-2deg);
}

.brand-lova {
    color: var(--navy);
}

.brand-deal {
    background:
        linear-gradient(
            90deg,
            var(--pink),
            var(--coral),
            var(--peach)
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 650;
    color: #34445a;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding:
        0 20px;

    border: 0;
    border-radius: 13px;

    font: inherit;
    font-weight: 750;

    cursor: pointer;
    text-decoration: none;

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

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

.button:focus-visible {
    outline: 3px solid rgba(24, 67, 109, .22);
    outline-offset: 3px;
}

.button:disabled,
.button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .58;
    transform: none;
    box-shadow: none;
}

.button-primary {
    color: white;

    background:
        linear-gradient(
            110deg,
            var(--pink),
            var(--coral)
        );

    box-shadow:
        0 10px 25px rgba(233,0,110,.20);
}

.button-secondary {
    color: var(--navy);
    background: #eef4fa;
}

.button-dark {
    color: white;
    background: var(--navy);
}

.button-large {
    min-height: 54px;
    padding-inline: 26px;
}

/* HERO */

.hero {
    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255,83,100,.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 5% 50%,
            rgba(22,119,232,.12),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #fff,
            #f8fbff
        );
}

.hero-grid {
    min-height: 600px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(360px, .9fr);

    align-items: center;
    gap: 70px;

    padding:
        80px 0;
}

.eyebrow {
    display: inline-flex;

    padding:
        8px 12px;

    border-radius: 999px;

    background:
        #edf5ff;

    color:
        var(--navy-soft);

    font-size: .84rem;
    font-weight: 800;
}

.hero h1 {
    max-width: 720px;

    margin:
        20px 0 18px;

    color:
        var(--navy);

    font-size:
        clamp(3rem, 6vw, 5.3rem);

    line-height: .98;
    letter-spacing: -.065em;
}

.gradient-text {
    background:
        linear-gradient(
            100deg,
            var(--blue),
            var(--pink),
            var(--coral)
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy {
    max-width: 650px;

    margin-bottom: 28px;

    color: var(--muted);

    font-size: 1.15rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* DEAL CARD */

.deal-stage {
    position: relative;
}

.deal-card {
    position: relative;

    padding: 28px;

    border:
        1px solid rgba(220,229,239,.9);

    border-radius: 30px;

    background:
        rgba(255,255,255,.88);

    box-shadow:
        var(--shadow);

    transform:
        rotate(2deg);
}

.deal-card::before {
    content: "";

    position: absolute;
    inset: -20px;

    z-index: -1;

    border-radius: 40px;

    background:
        linear-gradient(
            135deg,
            rgba(22,119,232,.12),
            rgba(233,0,110,.12)
        );

    transform:
        rotate(-5deg);
}

.deal-image {
    min-height: 230px;

    display: grid;
    place-items: center;

    border-radius: 22px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--blue) 45%,
            var(--pink)
        );
}

.deal-heart {
    font-size: 5rem;
}

.deal-meta {
    padding-top: 20px;
}

.deal-meta small {
    color: var(--muted);
}

.deal-meta h2 {
    margin:
        7px 0 8px;

    color: var(--navy);
}

.price {
    color: var(--pink);
    font-size: 1.6rem;
    font-weight: 850;
}

/* FEATURE STRIP */

.features {
    padding:
        55px 0 80px;
}

.feature-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.feature {
    padding: 25px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        white;
}

.feature strong {
    display: block;

    margin-bottom: 7px;

    color: var(--navy);

    font-size: 1.05rem;
}

.feature span {
    color: var(--muted);
    line-height: 1.55;
}

/* AUTH */

.auth-page {
    min-height:
        calc(100vh - 76px);

    display: grid;
    place-items: center;

    padding:
        55px 20px;

    background:
        linear-gradient(
            145deg,
            #f7fbff,
            #fff6fa
        );
}

.auth-card {
    width:
        min(100%, 500px);

    padding:
        36px;

    border:
        1px solid var(--border);

    border-radius:
        26px;

    background:
        white;

    box-shadow:
        var(--shadow);
}

.auth-card h1 {
    margin:
        0 0 8px;

    color:
        var(--navy);

    font-size:
        2rem;

    letter-spacing:
        -.04em;
}

.auth-subtitle {
    margin:
        0 0 28px;

    color:
        var(--muted);

    line-height:
        1.55;
}

.form-row {
    display: grid;
    grid-template-columns:
        1fr 1fr;

    gap: 14px;
}

.field {
    margin-bottom:
        17px;
}

.field label {
    display: block;

    margin-bottom:
        7px;

    font-weight:
        700;

    color:
        #26384d;
}

.field input,
.field select {
    width:
        100%;

    min-height:
        49px;

    padding:
        0 14px;

    border:
        1px solid #cfd9e6;

    border-radius:
        12px;

    background:
        white;

    color:
        var(--text);

    font:
        inherit;

    outline:
        none;
}

.field input:focus,
.field select:focus {
    border-color:
        var(--blue);

    box-shadow:
        0 0 0 4px
        rgba(22,119,232,.10);
}

.form-submit {
    width:
        100%;
}

.alert {
    margin-bottom:
        20px;

    padding:
        13px 15px;

    border-radius:
        12px;

    line-height:
        1.45;
}

.alert-error {
    color:
        #8a1c16;

    background:
        #fff0ef;

    border:
        1px solid #ffd2ce;
}

.alert-success {
    color:
        #166534;

    background:
        #effcf3;

    border:
        1px solid #c8f0d2;
}

.auth-footer {
    margin-top:
        22px;

    text-align:
        center;

    color:
        var(--muted);
}

.auth-footer a {
    color:
        var(--blue);

    font-weight:
        750;
}

/* FOOTER */

.site-footer {
    padding:
        38px 0;

    border-top:
        1px solid var(--border);

    color:
        var(--muted);

    background:
        #fbfcfe;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hero-grid {
        grid-template-columns:
            1fr;

        gap:
            45px;

        padding:
            65px 0;
    }

    .deal-stage {
        max-width:
            520px;
    }

    .feature-grid {
        grid-template-columns:
            1fr;
    }
}

@media (max-width: 560px) {

    .container {
        width:
            min(100% - 28px, 1180px);
    }

    .nav {
        min-height:
            68px;
    }

    .brand {
        font-size:
            1.2rem;
    }

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

    /* Mobile header: keep account/authentication actions fully accessible. */
    .nav {
        min-height: auto;
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .brand {
        flex: 1 1 auto;
    }

    .nav-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .nav-actions .button,
    .nav-actions .nav-logout-form,
    .nav-actions .nav-logout-form .button {
        width: 100%;
    }

    .nav-actions .button {
        display: inline-flex;
        min-height: 40px;
        padding: 0 10px;
        border-radius: 11px;
        font-size: .88rem;
        white-space: nowrap;
    }

    .hero-grid {
        min-height:
            auto;

        padding:
            50px 0;
    }

    .hero h1 {
        font-size:
            clamp(2.65rem, 14vw, 4rem);
    }

    .hero-actions {
        display:
            grid;
    }

    .button-large {
        width:
            100%;
    }

    .auth-card {
        padding:
            27px 21px;
    }

    .form-row {
        grid-template-columns:
            1fr;
    }
}

/* Authenticated navigation */
.nav-logout-form {
    margin: 0;
    display: inline-flex;
}

.nav-logout-form button {
    margin: 0;
}

/* ---------------------------------------------
   Account dashboard
--------------------------------------------- */

.account-page {
    padding: 48px 0 72px;
}

.account-container {
    display: grid;
    gap: 28px;
}

.account-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px;
    border: 1px solid rgba(15, 35, 70, .10);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(33, 73, 170, .07),
            rgba(225, 48, 120, .06)
        );
}

.account-hero h1 {
    margin: 8px 0 10px;
}

.account-hero p {
    margin: 0;
}

.account-status {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 35, 70, .08);
}

.account-status strong,
.account-status small {
    display: block;
}

.account-status small {
    margin-top: 3px;
    opacity: .68;
}

.status-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border-radius: 50%;
    background: #20a464;
    box-shadow: 0 0 0 5px rgba(32, 164, 100, .12);
}

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

.account-card {
    display: flex;
    gap: 17px;
    min-height: 150px;
    padding: 24px;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(15, 35, 70, .10);
    border-radius: 20px;
    background: #fff;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.account-card:hover {
    transform: translateY(-3px);
    border-color: rgba(33, 73, 170, .24);
    box-shadow: 0 16px 38px rgba(15, 35, 70, .09);
}

.account-card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    font-size: 20px;
    font-weight: 700;
    background: rgba(33, 73, 170, .08);
}

.account-card h2 {
    margin: 1px 0 8px;
    font-size: 18px;
}

.account-card p {
    margin: 0;
    line-height: 1.55;
    opacity: .72;
}

.account-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 30px;
    border: 1px solid rgba(15, 35, 70, .10);
    border-radius: 20px;
    background: #fff;
}

.account-details h2 {
    margin: 7px 0;
    font-size: 18px;
}

.account-details p,
.account-details form {
    margin: 0;
}

@media (max-width: 900px) {
    .account-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .account-page {
        padding-top: 28px;
    }

    .account-hero,
    .account-details {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-status {
        width: 100%;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-card {
        min-height: auto;
    }
}

/* Account settings */

.account-settings-card {
    width: min(720px, 100%);
}

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

.field-help {
    margin: -8px 0 18px;
    font-size: 13px;
    opacity: .66;
}

.settings-readonly {
    display: grid;
    gap: 5px;
    margin: 22px 0;
    padding: 18px;
    border-radius: 14px;
    background: rgba(33, 73, 170, .06);
}

.settings-readonly small {
    opacity: .66;
}

@media (max-width: 640px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   LovaDeal official header logo
   ========================================================= */

.site-header .brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    max-width: 230px;
    min-width: 0;
    text-decoration: none;
    line-height: 1;
}

.site-header .brand-logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

/* The former CSS-generated LD mark is no longer used. */
.site-header .brand-mark {
    display: none;
}

@media (max-width: 900px) {
    .site-header .brand {
        max-width: 190px;
    }

    .site-header .brand-logo {
        height: 50px;
    }
}

@media (max-width: 560px) {
    .site-header .brand {
        flex: 1 1 auto;
        max-width: 175px;
    }

    .site-header .brand-logo {
        width: auto;
        height: 46px;
        max-width: 100%;
    }
}

/* =========================================================
   LovaDeal responsive main navigation
   Consolidated mobile/tablet behavior
   ========================================================= */

.nav-toggle {
    display: none;
    appearance: none;
    -webkit-appearance: none;

    width: 42px;
    height: 42px;
    min-width: 42px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 10px;

    background: transparent;
    color: #34445a;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex: 0 0 42px;
}

.nav-toggle:hover {
    background: rgba(52, 68, 90, .06);
}

.nav-toggle:focus-visible {
    outline: 3px solid rgba(33, 73, 170, .20);
    outline-offset: 2px;
}

.nav-toggle-icon {
    position: relative;

    display: block;

    width: 24px;
    height: 18px;
}

.nav-toggle-icon span {
    position: absolute;
    left: 0;

    display: block;

    width: 24px;
    height: 2px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 999px;

    background: currentColor;

    transform-origin: center;

    transition:
        top .18s ease,
        transform .18s ease,
        opacity .14s ease;
}

.nav-toggle-icon span:nth-child(1) {
    top: 1px;
}

.nav-toggle-icon span:nth-child(2) {
    top: 8px;
}

.nav-toggle-icon span:nth-child(3) {
    top: 15px;
}

.nav-toggle[aria-expanded="true"]
.nav-toggle-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]
.nav-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"]
.nav-toggle-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

/*
 * The word "Menu" remains available to assistive
 * technologies, but is never visually rendered.
 */
.nav-toggle-label {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}

@media (max-width: 901px) {

    /*
     * The header becomes a controlled wrapping layout:
     *
     * logo | hamburger
     * navigation when opened
     * authentication/actions
     */
    .site-header .nav {
        display: flex;
        align-items: center;
        justify-content: flex-start;

        flex-wrap: wrap;

        column-gap: 10px;
        row-gap: 10px;

        padding-top: 10px;
        padding-bottom: 10px;

        min-height: auto;
    }

    .site-header .brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-header .nav-toggle {
        display: inline-flex !important;

        order: 2;

        margin-left: auto;
    }

    /*
     * This deliberately overrides the old
     * @media(max-width:900px) .nav-links {display:none}.
     */
    .site-header .nav-links {
        display: none !important;

        order: 3;

        flex: 0 0 100%;

        width: 100%;

        margin: 0;
        padding: 8px;

        gap: 3px;

        border:
            1px solid rgba(52, 68, 90, .11);

        border-radius: 14px;

        background: #fff;

        box-shadow:
            0 12px 32px
            rgba(20, 35, 55, .08);
    }

    .site-header .nav-links.is-open {
        display: grid !important;

        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .site-header .nav-links a {
        display: flex;

        align-items: center;
        justify-content: center;

        min-height: 42px;

        padding: 8px 10px;

        border-radius: 9px;

        text-align: center;
    }

    .site-header .nav-links a:hover,
    .site-header .nav-links a:focus-visible {
        background:
            rgba(52, 68, 90, .06);
    }

    .site-header .nav-actions {
        order: 4;
    }
}

@media (max-width: 640px) {

    .site-header .nav-links.is-open {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {

    /*
     * Preserve the already-tested mobile authentication
     * layout: both actions occupy the full second row.
     */
    .site-header .nav-actions {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }
}

@media (max-width: 380px) {

    .site-header .nav-links.is-open {
        grid-template-columns: 1fr;
    }
}


/* Professional store management */
.store-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.store-form-field label {
    display: block;
    font-weight: 700;
}

.store-form-field input,
.store-form-field select {
    width: 100%;
    min-height: 46px;
}

.store-location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.store-form-help {
    margin-top: 14px;
    margin-bottom: 18px;
}

@media (max-width: 640px) {
    .store-location-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Professional store form actions */
.store-form-field textarea {
    width: 100%;
    resize: vertical;
}

.store-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

/* Store Management UI — Phase 2 */

.account-settings-card {
    width: min(100%, 860px);
}

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

.store-form-field label {
    color: #18233f;
    line-height: 1.35;
}

.store-form-field input,
.store-form-field select,
.store-form-field textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #d9deea;
    border-radius: 12px;
    background: #fff;
    color: #17213b;
    font: inherit;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.store-form-field input,
.store-form-field select {
    min-height: 48px;
    padding: 10px 13px;
}

.store-form-field textarea {
    min-height: 150px;
    padding: 13px;
    line-height: 1.55;
}

.store-form-field input:focus,
.store-form-field select:focus,
.store-form-field textarea:focus {
    outline: none;
    border-color: #6876d9;
    box-shadow: 0 0 0 3px rgba(104, 118, 217, 0.14);
}

.store-form-field input::placeholder,
.store-form-field textarea::placeholder {
    color: #8991a5;
}

.store-form-field select:disabled {
    cursor: not-allowed;
    background: #f4f6fa;
    color: #7b8498;
}

.store-location-grid {
    align-items: start;
}

.store-form-help {
    line-height: 1.5;
    color: #69738a;
}

.store-form-actions {
    padding-top: 6px;
    border-top: 1px solid #edf0f6;
}

.store-form-actions .button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.settings-readonly {
    border-radius: 16px;
}

@media (max-width: 640px) {
    .account-settings-card {
        width: 100%;
    }

    .store-form-actions .button {
        width: 100%;
    }
}

/* Account dashboard interactive cards */

.account-card-action {
    position: relative;
    cursor: pointer;
}

.account-card-action::after {
    content: "›";
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 24px;
    line-height: 1;
    opacity: .32;
    transition:
        transform .18s ease,
        opacity .18s ease;
}

.account-card-action:hover::after {
    transform: translateX(3px);
    opacity: .72;
}

.account-card-action:focus-visible {
    outline: 3px solid rgba(33, 73, 170, .22);
    outline-offset: 3px;
}

.account-card-disabled {
    cursor: default;
    background: #fafbfe;
}

.account-card-disabled:hover {
    transform: none;
    border-color: rgba(15, 35, 70, .10);
    box-shadow: none;
}

.account-card-disabled .account-card-icon {
    opacity: .65;
}

.account-card-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.account-card-heading h2 {
    margin: 1px 0 0;
}

.account-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(33, 73, 170, .08);
    color: #52617d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

/* Account dashboard interactive cards */

.account-card-action {
    position: relative;
    cursor: pointer;
}

.account-card-action::after {
    content: "›";
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 24px;
    line-height: 1;
    opacity: .32;
    transition:
        transform .18s ease,
        opacity .18s ease;
}

.account-card-action:hover::after {
    transform: translateX(3px);
    opacity: .72;
}

.account-card-action:focus-visible {
    outline: 3px solid rgba(33, 73, 170, .22);
    outline-offset: 3px;
}

.account-card-disabled {
    cursor: default;
    background: #fafbfe;
}

.account-card-disabled:hover {
    transform: none;
    border-color: rgba(15, 35, 70, .10);
    box-shadow: none;
}

.account-card-disabled .account-card-icon {
    opacity: .65;
}

.account-card-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.account-card-heading h2 {
    margin: 1px 0 0;
}

.account-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(33, 73, 170, .08);
    color: #52617d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

/* =========================================================
   LovaDeal shared interface system
   Marketplace + Sell + Account Settings
   ========================================================= */

/* ---------- Shared form surfaces ---------- */

.sell-card,
.account-settings-card {
    width: min(100%, 860px);
}

.sell-card form,
.account-settings-card form {
    margin-top: 26px;
}

.sell-card label,
.account-settings-card label {
    display: block;
    margin-bottom: 7px;
    color: #18233f;
    font-weight: 700;
    line-height: 1.35;
}

.sell-card input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.sell-card select,
.sell-card textarea,
.account-settings-card input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.account-settings-card select,
.account-settings-card textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #d9deea;
    border-radius: 12px;
    background: #fff;
    color: #17213b;
    font: inherit;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.sell-card textarea,
.account-settings-card textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.55;
}

.sell-card input:focus,
.sell-card select:focus,
.sell-card textarea:focus,
.account-settings-card input:focus,
.account-settings-card select:focus,
.account-settings-card textarea:focus {
    outline: none;
    border-color: #6876d9;
    box-shadow: 0 0 0 3px rgba(104, 118, 217, .14);
}

.sell-card input::placeholder,
.sell-card textarea::placeholder,
.account-settings-card input::placeholder,
.account-settings-card textarea::placeholder {
    color: #8991a5;
}

.sell-card select:disabled,
.account-settings-card select:disabled {
    cursor: not-allowed;
    background: #f4f6fa;
    color: #7b8498;
}

.sell-card .field-help,
.account-settings-card .field-help {
    margin-top: 7px;
    color: #69738a;
    line-height: 1.5;
}


/* ---------- Account settings ---------- */

.settings-grid {
    align-items: start;
    gap: 20px;
}

.settings-readonly {
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid #e4e8f1;
    border-radius: 16px;
    background: #f8f9fc;
}

.account-settings-card .form-submit {
    min-height: 48px;
    margin-top: 22px;
}


/* ---------- Marketplace pages ---------- */

.marketplace-page {
    min-height: calc(100vh - 160px);
    background:
        linear-gradient(
            180deg,
            #f7f9fd 0,
            #ffffff 440px
        );
}

.marketplace-hero {
    padding: 72px 0 54px;
    border-bottom: 1px solid rgba(15, 35, 70, .08);
}

.marketplace-hero-compact {
    padding-top: 54px;
    padding-bottom: 42px;
}

.marketplace-hero .container,
.marketplace-content .container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.marketplace-eyebrow {
    margin: 0 0 10px;
    color: #5268bf;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.marketplace-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #17213b;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.marketplace-intro {
    max-width: 720px;
    margin: 18px 0 0;
    color: #69738a;
    font-size: 18px;
    line-height: 1.65;
}


/* ---------- Marketplace search ---------- */

.marketplace-search {
    display: flex;
    align-items: stretch;
    gap: 12px;
    max-width: 900px;
    margin-top: 28px;
    padding: 10px;
    border: 1px solid rgba(15, 35, 70, .10);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 35, 70, .07);
}

.marketplace-search input,
.marketplace-search select {
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #d9deea;
    border-radius: 11px;
    background: #fff;
    color: #17213b;
    font: inherit;
}

.marketplace-search input:focus,
.marketplace-search select:focus {
    outline: none;
    border-color: #6876d9;
    box-shadow: 0 0 0 3px rgba(104, 118, 217, .12);
}

.marketplace-search select:disabled {
    cursor: not-allowed;
    background: #f4f6fa;
    color: #7b8498;
}

.marketplace-search .button {
    min-height: 48px;
    flex: 0 0 auto;
}


/* ---------- Marketplace content ---------- */

.marketplace-content {
    padding: 48px 0 72px;
}

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

.marketplace-section-heading h2 {
    margin: 0;
    color: #17213b;
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -.025em;
}

.marketplace-text-link {
    color: #3155b7;
    font-weight: 700;
    text-decoration: none;
}

.marketplace-text-link:hover {
    text-decoration: underline;
}


/* ---------- Listing cards ---------- */

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

.listing-card {
    overflow: hidden;
    border: 1px solid rgba(15, 35, 70, .10);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 35, 70, .045);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.listing-card:hover {
    transform: translateY(-3px);
    border-color: rgba(33, 73, 170, .22);
    box-shadow: 0 16px 38px rgba(15, 35, 70, .09);
}

.listing-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef1f7;
}

.listing-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-card-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 24px;
    color: #7b8498;
    text-align: center;
}

.listing-card-body {
    padding: 20px;
}

.listing-card-category {
    margin: 0 0 8px;
    color: #5268bf;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.listing-card-body h2,
.listing-card-body h3 {
    margin: 0 0 10px;
    color: #17213b;
    line-height: 1.3;
}

.listing-card-price {
    margin: 10px 0 0;
    color: #17213b;
    font-size: 20px;
    font-weight: 800;
}

.listing-card-location {
    margin: 9px 0 0;
    color: #69738a;
    line-height: 1.45;
}


/* ---------- Empty states ---------- */

.marketplace-empty {
    padding: 44px;
    border: 1px dashed #ccd3e1;
    border-radius: 20px;
    background: #fafbfe;
    text-align: center;
}

.marketplace-empty h2,
.marketplace-empty h3 {
    margin-top: 0;
    color: #17213b;
}

.marketplace-empty p {
    max-width: 620px;
    margin: 10px auto 20px;
    color: #69738a;
    line-height: 1.6;
}


/* ---------- Categories ---------- */

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

.category-card {
    padding: 24px;
    border: 1px solid rgba(15, 35, 70, .10);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 35, 70, .04);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(33, 73, 170, .22);
    box-shadow: 0 16px 38px rgba(15, 35, 70, .08);
}

.category-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.category-card h2 {
    margin: 0;
    color: #17213b;
    font-size: 20px;
}

.category-card a {
    color: inherit;
    text-decoration: none;
}

.category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 26px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(33, 73, 170, .08);
    color: #52617d;
    font-size: 12px;
    font-weight: 700;
}

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

.subcategory-list a {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 9px;
    background: #f5f7fb;
    color: #52617d;
    font-size: 13px;
    line-height: 1.3;
}

.subcategory-list a:hover {
    background: #edf1fa;
    color: #3155b7;
}


/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .listing-grid,
    .category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .marketplace-search {
        flex-wrap: wrap;
    }

    .marketplace-search input,
    .marketplace-search select {
        flex-basis: calc(50% - 6px);
    }
}

@media (max-width: 640px) {
    .marketplace-hero {
        padding: 42px 0 34px;
    }

    .marketplace-hero .container,
    .marketplace-content .container {
        width: min(100% - 28px, 1180px);
    }

    .marketplace-intro {
        font-size: 16px;
    }

    .marketplace-search {
        display: grid;
        grid-template-columns: 1fr;
        padding: 9px;
    }

    .marketplace-search input,
    .marketplace-search select,
    .marketplace-search .button {
        width: 100%;
    }

    .marketplace-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .listing-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .marketplace-empty {
        padding: 30px 20px;
    }

    .sell-card,
    .account-settings-card {
        width: 100%;
    }
}

/* =========================================================
   My Listings
   ========================================================= */

.account-listings-page {
    min-height: calc(100vh - 160px);
    padding: 48px 0 72px;
    background:
        linear-gradient(
            180deg,
            #f7f9fd 0,
            #ffffff 460px
        );
}

.account-listings-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.account-listings-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.account-listings-hero h1 {
    margin: 6px 0 10px;
    color: #17213b;
    font-size: clamp(34px, 5vw, 50px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.account-listings-hero p {
    max-width: 650px;
    margin: 0;
    color: #69738a;
    font-size: 17px;
    line-height: 1.6;
}

.listing-status-summary {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.listing-summary-card {
    padding: 17px 18px;
    border: 1px solid rgba(15, 35, 70, .09);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(15, 35, 70, .035);
}

.listing-summary-card strong {
    display: block;
    margin-bottom: 3px;
    color: #17213b;
    font-size: 24px;
}

.listing-summary-card span {
    color: #69738a;
    font-size: 13px;
    font-weight: 700;
}

.account-listing-grid {
    display: grid;
    gap: 18px;
}

.account-listing-card {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(15, 35, 70, .10);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(15, 35, 70, .045);
}

.account-listing-image {
    min-height: 210px;
    background: #eef1f7;
}

.account-listing-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
}

.account-listing-placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 210px;
    color: #7b8498;
    font-weight: 700;
}

.account-listing-content {
    min-width: 0;
    padding: 24px;
}

.account-listing-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 15px;
}

.listing-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.listing-status-draft {
    background: #f1f3f8;
    color: #5e687c;
}

.listing-status-active {
    background: #e9f7ef;
    color: #177245;
}

.listing-status-reserved {
    background: #fff5dd;
    color: #8a6412;
}

.listing-status-sold,
.listing-status-closed {
    background: #edf0f7;
    color: #52617d;
}

.account-listing-images {
    color: #7b8498;
    font-size: 13px;
    font-weight: 700;
}

.account-listing-category {
    margin: 0 0 7px;
    color: #5268bf;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.account-listing-content h2 {
    margin: 0;
    color: #17213b;
    font-size: 22px;
    line-height: 1.32;
}

.account-listing-price {
    margin: 11px 0 0;
    color: #17213b;
    font-size: 20px;
    font-weight: 800;
}

.account-listing-location,
.account-listing-plan {
    margin: 8px 0 0;
    color: #69738a;
    line-height: 1.45;
}

.account-listing-plan {
    font-size: 13px;
}

.account-listing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #edf0f5;
}

.account-listings-empty {
    margin-top: 10px;
}

.account-listings-footer {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .listing-status-summary {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .account-listings-page {
        padding: 32px 0 52px;
    }

    .account-listings-container {
        width: min(100% - 28px, 1180px);
    }

    .account-listings-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .account-listings-hero .button {
        width: 100%;
    }

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

    .account-listing-card {
        grid-template-columns: 1fr;
    }

    .account-listing-image,
    .account-listing-image img,
    .account-listing-placeholder {
        min-height: 220px;
    }

    .account-listing-image {
        aspect-ratio: 16 / 10;
    }

    .account-listing-content {
        padding: 20px;
    }

    .account-listing-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .account-listing-actions .button {
        width: 100%;
    }
}

/* My Listings mobile spacing refinement */

@media (max-width: 640px) {
    .account-listing-topline {
        padding-right: 2px;
    }

    .account-listing-images {
        flex: 0 0 auto;
        margin-left: 12px;
        padding-right: 4px;
        white-space: nowrap;
    }
}

/* My Listings mobile photo counter spacing */

@media (max-width: 640px) {
    .account-listing-images {
        padding-right: 8px;
    }
}

/* =========================================================
   Password visibility control
   ========================================================= */

.password-input-wrap {
    position: relative;
    width: 100%;
}

.password-input-wrap > input {
    width: 100%;
    padding-right: 52px !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    padding: 0;

    border: 0;
    border-radius: 9px;
    background: transparent;

    color: #69738a;
    cursor: pointer;

    transform: translateY(-50%);
}

.password-toggle:hover {
    background: rgba(23, 33, 59, .06);
    color: #17213b;
}

.password-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 1px;
}

.password-toggle svg {
    display: block;
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    pointer-events: none;
}

@media (max-width: 640px) {
    .password-toggle {
        right: 8px;
        width: 40px;
        height: 40px;
    }

    .password-input-wrap > input {
        padding-right: 54px !important;
    }
}


/* My Listings mobile action spacing refinement */

@media (max-width: 640px) {
    .account-listing-actions {
        padding-right: 8px;
    }
}

/* =========================================================
   Store visual identity
   ========================================================= */

.store-visual-identity {
    margin-top: 32px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.store-visual-identity-heading {
    margin-bottom: 22px;
}

.store-visual-identity-heading .eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.store-visual-identity-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.2;
}

.store-visual-identity-heading p {
    max-width: 720px;
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.store-visual-notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    line-height: 1.5;
}

.store-visual-notice-review {
    border-color: #f1d39a;
    background: #fffaf0;
    color: #7a5417;
}

.store-visual-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
    gap: 20px;
    align-items: start;
}

.store-visual-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
}

.store-visual-card-heading {
    margin-bottom: 16px;
}

.store-visual-card-heading h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.store-visual-card-heading p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.store-logo-preview,
.store-cover-preview,
.store-local-preview {
    overflow: hidden;
    border: 1px solid #dbe3ec;
    background: #f8fafc;
}

.store-logo-preview {
    width: min(100%, 260px);
    aspect-ratio: 1 / 1;
    margin-bottom: 16px;
    border-radius: 16px;
}

.store-cover-preview {
    width: 100%;
    aspect-ratio: 8 / 3;
    margin-bottom: 16px;
    border-radius: 16px;
}

.store-logo-image,
.store-cover-image,
.store-local-preview img {
    display: block;
    width: 100%;
    height: 100%;
}

.store-logo-image {
    object-fit: contain;
}

.store-cover-image {
    object-fit: cover;
}

.store-logo-placeholder,
.store-cover-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
}

.store-image-form {
    display: grid;
    gap: 12px;
}

.store-image-file {
    display: grid;
    gap: 8px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
}

.store-image-file input[type="file"] {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font: inherit;
}

.store-image-file input[type="file"]:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.store-local-preview {
    width: min(100%, 180px);
    aspect-ratio: 1 / 1;
    border-radius: 12px;
}

.store-local-preview img {
    object-fit: contain;
}

.store-local-preview-cover {
    width: 100%;
    aspect-ratio: 8 / 3;
}

.store-local-preview-cover img {
    object-fit: cover;
}

.store-image-form .button {
    justify-self: start;
}

.store-image-remove-form {
    margin-top: 10px;
}

.store-image-remove-form .button {
    width: auto;
}

@media (max-width: 820px) {
    .store-visual-grid {
        grid-template-columns: 1fr;
    }

    .store-logo-preview {
        width: min(100%, 220px);
    }
}

@media (max-width: 560px) {
    .store-visual-identity {
        margin-top: 24px;
        padding-top: 24px;
    }

    .store-visual-card {
        padding: 16px;
        border-radius: 14px;
    }

    .store-cover-preview,
    .store-local-preview-cover {
        aspect-ratio: 16 / 7;
    }

    .store-image-form .button,
    .store-image-remove-form .button {
        width: 100%;
    }
}

/* =========================================================
   Admin - Store moderation
   ========================================================= */

.store-moderation-page-header {
    margin-bottom: 24px;
}

.store-moderation-list {
    display: grid;
    gap: 24px;
}

.store-moderation-card {
    overflow: hidden;
    padding: 0;
}

.store-moderation-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.store-moderation-heading h2 {
    margin: 10px 0 6px;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    line-height: 1.2;
}

.store-moderation-heading p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.store-moderation-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid #f1d39a;
    border-radius: 999px;
    background: #fffaf0;
    color: #7a5417;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.store-moderation-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 24px;
}

.store-moderation-detail {
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.store-moderation-detail-label {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.store-moderation-detail strong {
    display: block;
    overflow-wrap: anywhere;
    color: #1e293b;
    font-size: 0.94rem;
    line-height: 1.45;
}

.store-moderation-description {
    margin: 0 24px 24px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.store-moderation-description h3 {
    margin: 0 0 8px;
    font-size: 0.95rem;
}

.store-moderation-description p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.store-moderation-actions {
    display: grid;
    grid-template-columns: minmax(190px, 0.6fr) minmax(0, 1.4fr);
    gap: 18px;
    padding: 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.store-moderation-approve-panel,
.store-moderation-change-panel {
    min-width: 0;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
}

.store-moderation-approve-panel form {
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.store-moderation-change-heading {
    margin-bottom: 14px;
}

.store-moderation-change-heading h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.store-moderation-change-heading p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
}

.store-moderation-change-form {
    display: grid;
    gap: 9px;
}

.store-moderation-reason-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.store-moderation-change-form textarea {
    display: block;
    width: 100%;
    min-height: 150px;
    resize: vertical;
    padding: 13px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-size: 0.94rem;
    line-height: 1.55;
    box-sizing: border-box;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.store-moderation-change-form textarea::placeholder {
    color: #94a3b8;
}

.store-moderation-change-form textarea:focus {
    outline: none;
    border-color: #64748b;
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.14);
}

.store-moderation-change-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 3px;
}

.store-moderation-character-limit {
    color: #64748b;
    font-size: 0.78rem;
}

.store-moderation-empty {
    padding: 24px;
}

.store-moderation-empty h2 {
    margin-top: 0;
}

@media (max-width: 820px) {
    .store-moderation-details {
        grid-template-columns: 1fr;
    }

    .store-moderation-actions {
        grid-template-columns: 1fr;
    }

    .store-moderation-approve-panel form,
    .store-moderation-approve-panel .button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .store-moderation-heading,
    .store-moderation-details,
    .store-moderation-actions {
        padding: 16px;
    }

    .store-moderation-description {
        margin: 0 16px 16px;
        padding: 16px;
    }

    .store-moderation-approve-panel,
    .store-moderation-change-panel {
        padding: 15px;
    }

    .store-moderation-change-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .store-moderation-change-footer .button {
        width: 100%;
    }
}

/* =========================================================
   Admin - Listing moderation
   ========================================================= */

.listing-moderation-change-form {
    flex: 1 1 420px;
    min-width: 280px;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.listing-moderation-change-heading {
    display: grid;
    gap: 4px;
}

.listing-moderation-change-heading strong {
    color: #1e293b;
    font-size: 0.92rem;
}

.listing-moderation-change-heading span {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.5;
}

.listing-moderation-change-form textarea {
    display: block;
    width: 100%;
    min-height: 135px;
    resize: vertical;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-size: 0.94rem;
    line-height: 1.55;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.listing-moderation-change-form textarea::placeholder {
    color: #94a3b8;
}

.listing-moderation-change-form textarea:focus {
    outline: none;
    border-color: #64748b;
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.14);
}

.listing-moderation-change-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.listing-moderation-character-limit {
    color: #64748b;
    font-size: 0.78rem;
}

.listing-moderation-change-submit {
    min-width: 190px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #263b53;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .07);
}

.listing-moderation-change-submit:hover {
    background: #eef4fa;
    border-color: #aebdcd;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .10);
}

.listing-moderation-change-submit:active {
    transform: translateY(0);
    box-shadow: 0 3px 9px rgba(15, 23, 42, .08);
}

@media (max-width: 640px) {
    .listing-moderation-change-form {
        flex-basis: 100%;
        min-width: 0;
        padding: 14px;
    }

    .listing-moderation-change-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .listing-moderation-change-footer button {
        width: 100%;
    }
}

/* Store moderation - mobile header spacing */
@media (max-width: 560px) {
    .store-moderation-page-header {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =========================================================
   Account - Store management polish
   ========================================================= */

.account-settings-card {
    padding: clamp(24px, 4vw, 38px);
}

.account-settings-card > .eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 10px;
    padding: 5px 10px;
    border: 1px solid #dfe4f3;
    border-radius: 999px;
    background: #f7f8fd;
    color: #596584;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-settings-card > h1 {
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.15;
}

.account-settings-card > .auth-subtitle {
    max-width: 680px;
    margin-top: 0;
    margin-bottom: 24px;
    line-height: 1.6;
}

.account-settings-card .settings-readonly {
    display: grid;
    gap: 5px;
    margin: 22px 0;
    padding: 16px 18px;
    border: 1px solid #dde3ef;
    background: #f8faff;
}

.account-settings-card .settings-readonly strong {
    color: #1d2945;
    font-size: 0.96rem;
}

.account-settings-card .settings-readonly span {
    color: #66718a;
    line-height: 1.55;
}

.account-settings-card form > fieldset {
    width: 100%;
}

.account-settings-card fieldset:disabled {
    opacity: 1;
}

.account-settings-card fieldset:disabled
.store-form-field input,
.account-settings-card fieldset:disabled
.store-form-field select,
.account-settings-card fieldset:disabled
.store-form-field textarea {
    border-color: #e1e5ed;
    background: #f5f6f9;
    color: #727b8e;
    cursor: not-allowed;
}

.account-settings-card fieldset:disabled
.store-form-field label {
    color: #667085;
}

.account-settings-card .store-form-field {
    margin-top: 20px;
}

.account-settings-card .store-form-field label {
    margin-bottom: 1px;
    font-size: 0.91rem;
}

.account-settings-card .store-form-field input,
.account-settings-card .store-form-field select {
    min-height: 50px;
}

.account-settings-card .store-form-field textarea {
    min-height: 164px;
}

.account-settings-card .store-location-grid {
    gap: 18px;
}

.account-settings-card .store-form-help {
    margin: 20px 0 0;
    padding: 13px 15px;
    border-left: 3px solid #c9d0e8;
    border-radius: 0 10px 10px 0;
    background: #f8f9fc;
}

.account-settings-card .store-form-actions {
    margin-top: 22px;
    padding-top: 20px;
}

.account-settings-card .store-form-actions .button {
    min-width: 150px;
}

.account-settings-card .store-visual-identity {
    margin-top: 34px;
    padding-top: 32px;
}

.account-settings-card
.store-visual-identity-heading {
    margin-bottom: 24px;
}

.account-settings-card
.store-visual-identity-heading .eyebrow {
    padding: 0;
    background: transparent;
}

.account-settings-card .store-visual-grid {
    gap: 22px;
}

.account-settings-card .store-visual-card {
    height: 100%;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(29, 41, 69, 0.045);
}

.account-settings-card .store-visual-card-heading {
    min-height: 68px;
}

.account-settings-card .store-logo-preview,
.account-settings-card .store-cover-preview {
    border-style: dashed;
    border-color: #cfd6e4;
    background:
        linear-gradient(
            135deg,
            #fafbfe 0%,
            #f5f7fb 100%
        );
}

.account-settings-card .store-logo-image,
.account-settings-card .store-cover-image {
    background: #fff;
}

.account-settings-card .store-image-file {
    padding: 12px;
    border: 1px solid #e0e5ef;
    border-radius: 12px;
    background: #fafbfc;
}

.account-settings-card
.store-image-file input[type="file"] {
    margin-top: 2px;
}

.account-settings-card .store-image-form .button {
    min-width: 150px;
}

.account-settings-card .store-review-submit-form {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e5e9f1;
}

.account-settings-card
.store-review-submit-form .store-form-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 820px) {
    .account-settings-card
    .store-visual-card-heading {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .account-settings-card {
        padding: 22px 18px;
    }

    .account-settings-card > .eyebrow {
        margin-bottom: 9px;
    }

    .account-settings-card
    .settings-readonly {
        margin: 18px 0;
        padding: 14px;
    }

    .account-settings-card
    .store-location-grid {
        gap: 0;
    }

    .account-settings-card
    .store-form-actions {
        gap: 10px;
    }

    .account-settings-card
    .store-form-actions .button {
        min-width: 0;
        width: 100%;
    }

    .account-settings-card
    .store-visual-identity {
        margin-top: 28px;
        padding-top: 26px;
    }

    .account-settings-card
    .store-visual-card {
        padding: 17px;
        box-shadow: none;
    }

    .account-settings-card
    .store-logo-preview {
        width: min(100%, 210px);
        margin-left: auto;
        margin-right: auto;
    }

    .account-settings-card
    .store-image-form .button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .account-settings-card {
        padding-left: 15px;
        padding-right: 15px;
    }

    .account-settings-card
    .store-visual-card {
        padding: 14px;
    }
}


/* Admin - Store moderation visual identity */

.store-moderation-visual {
    position: relative;
    margin: 18px 0 34px;
}

.store-moderation-cover {
    width: 100%;
    aspect-ratio: 8 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #f1f3f5;
}

.store-moderation-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-moderation-cover-empty {
    min-height: 150px;
}

.store-moderation-logo {
    position: absolute;
    left: 24px;
    bottom: -28px;
    width: 92px;
    height: 92px;
    padding: 5px;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.store-moderation-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 13px;
}

@media (max-width: 640px) {
    .store-moderation-visual {
        margin-top: 14px;
        margin-bottom: 30px;
    }

    .store-moderation-cover {
        border-radius: 14px;
    }

    .store-moderation-logo {
        left: 16px;
        bottom: -24px;
        width: 76px;
        height: 76px;
        border-radius: 15px;
    }

    .store-moderation-logo img {
        border-radius: 10px;
    }
}

/* Public stores - visual storefront */

.store-card-visual {
    overflow: hidden;
    padding: 0;
}

.store-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.store-card-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 8 / 3;
    overflow: hidden;
    background: #f2f4f8;
}

.store-card-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.store-card-cover-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #6d7280;
}

.store-card-logo-wrap {
    position: relative;
    height: 38px;
    padding-left: 20px;
}

.store-card-logo {
    position: absolute;
    left: 20px;
    bottom: 0;
    width: 76px;
    height: 76px;
    border-radius: 18px;
    border: 4px solid #fff;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
}

.store-card-logo-placeholder {
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 800;
}

.store-card-visual .store-card-body {
    padding: 14px 20px 22px;
}

.store-card-visual .store-card-body h2 {
    margin-top: 0;
}

.store-card-tagline,
.store-card-location,
.store-card-listing-count {
    margin-bottom: 8px;
}

.public-store-identity {
    padding-top: 34px;
}

.public-store-visual {
    position: relative;
    padding-bottom: 48px;
}

.public-store-cover {
    width: 100%;
    aspect-ratio: 8 / 3;
    overflow: hidden;
    border-radius: 22px;
    background: #f2f4f8;
}

.public-store-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.public-store-cover-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 800;
    color: #6d7280;
}

.public-store-logo-wrap {
    position: absolute;
    left: 28px;
    bottom: 0;
}

.public-store-logo {
    display: block;
    width: 104px;
    height: 104px;
    border-radius: 24px;
    border: 5px solid #fff;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.public-store-logo-placeholder {
    display: grid;
    place-items: center;
    font-size: 38px;
    font-weight: 800;
}

.public-store-heading {
    padding-top: 20px;
}

@media (max-width: 640px) {
    .public-store-identity {
        padding-top: 20px;
    }

    .public-store-cover {
        border-radius: 16px;
    }

    .public-store-visual {
        padding-bottom: 40px;
    }

    .public-store-logo-wrap {
        left: 16px;
    }

    .public-store-logo {
        width: 88px;
        height: 88px;
        border-radius: 20px;
    }

    .store-card-logo {
        left: 16px;
        width: 68px;
        height: 68px;
        border-radius: 16px;
    }

    .store-card-logo-wrap {
        padding-left: 16px;
    }
}

/* Public stores - final visual polish */

.store-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fill,
        minmax(min(100%, 340px), 1fr)
    );
    gap: 24px;
    align-items: start;
}

.store-card-visual {
    width: 100%;
    max-width: 440px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.store-card-visual .store-card-cover {
    border-radius: 0;
}

.store-card-visual .store-card-logo {
    width: 82px;
    height: 82px;
}

.store-card-visual .store-card-logo-wrap {
    height: 42px;
}

.store-card-visual .store-card-body {
    padding-top: 14px;
}

.public-store-heading {
    padding-top: 28px;
}

@media (max-width: 640px) {
    .store-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .store-card-visual {
        max-width: none;
        border-radius: 16px;
    }

    .store-card-visual .store-card-logo {
        width: 72px;
        height: 72px;
    }

    .store-card-visual .store-card-logo-wrap {
        height: 38px;
    }

    .public-store-heading {
        padding-top: 24px;
    }
}

/* =========================================================
   Admin — Listing Plans
   ========================================================= */

.admin-listing-plans {
    width: 100%;
}

.admin-listing-plans__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.admin-listing-plans__header h1,
.admin-listing-plans__promotions h2 {
    margin-top: 4px;
    margin-bottom: 8px;
}

.admin-listing-plans__header p,
.admin-listing-plans__promotions p {
    max-width: 760px;
}

.admin-listing-plans__eyebrow {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

.admin-listing-plans__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.admin-listing-plan-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(127, 127, 127, 0.22);
    border-radius: 18px;
    background: var(--surface, #fff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.admin-listing-plan-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-listing-plan-card__top h2 {
    margin: 4px 0 0;
    font-size: 1.35rem;
}

.admin-listing-plan-card__code {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0.62;
}

.admin-listing-plan-card__status {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid rgba(127, 127, 127, 0.24);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-listing-plan-card__price {
    margin: 22px 0;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
}

.admin-listing-plan-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.admin-listing-plan-card__facts > div {
    min-width: 0;
    padding: 12px;
    border-radius: 12px;
    background: rgba(127, 127, 127, 0.07);
}

.admin-listing-plan-card__facts dt {
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.65;
}

.admin-listing-plan-card__facts dd {
    margin: 0;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.admin-listing-plan-card__message,
.admin-listing-plan-card__promotion {
    margin: 16px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(127, 127, 127, 0.18);
    border-radius: 12px;
}

.admin-listing-plan-card__promotion {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-listing-plan-card__actions {
    margin-top: auto;
    padding-top: 20px;
}

.admin-listing-plan-card__pending {
    display: block;
    padding-top: 14px;
    border-top: 1px solid rgba(127, 127, 127, 0.16);
    font-size: 0.82rem;
    opacity: 0.62;
}

.admin-listing-plans__promotions {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid rgba(127, 127, 127, 0.22);
    border-radius: 18px;
    background: var(--surface, #fff);
}

@media (max-width: 1000px) {
    .admin-listing-plans__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Listing Plans — promotion editor */
.admin-listing-plan-promotion-form {
    align-items: start;
}

.admin-listing-plan-promotion-form__title {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    font-size: 1rem;
    line-height: 1.25;
}

.admin-listing-plan-promotion-form label {
    min-width: 0;
}

.admin-listing-plan-promotion-form label:first-of-type {
    grid-column: 1 / -1;
}

.admin-listing-plan-promotion-form small {
    display: block;
    font-size: .72rem;
    line-height: 1.35;
    opacity: .68;
}

.admin-listing-plan-promotion-form input[type="datetime-local"] {
    min-width: 0;
}

@media (max-width: 680px) {
    .admin-listing-plans__header {
        display: block;
        padding-left: 16px;
        padding-right: 16px;
    }

    .admin-listing-plans__grid {
        grid-template-columns: 1fr;
    }

    .admin-listing-plan-card {
        padding: 18px;
    }

    .admin-listing-plans__promotions {
        padding: 18px;
    }
}

/* =========================================================
   Admin — Listing Plans editor
   ========================================================= */

.admin-listing-plans__notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid rgba(22, 163, 74, .24);
    border-radius: 14px;
    background: rgba(22, 163, 74, .08);
    font-weight: 700;
}

.admin-listing-plans__notice--error {
    border-color: rgba(220, 38, 38, .24);
    background: rgba(220, 38, 38, .08);
}

.admin-listing-plan-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-listing-plan-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-listing-plan-card__top h2 {
    margin: 5px 0 0;
}

.admin-listing-plan-card__code {
    display: inline-block;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .09em;
    opacity: .62;
}

.admin-listing-plan-card__status {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
}

.admin-listing-plan-card__status--active {
    background: rgba(22, 163, 74, .12);
}

.admin-listing-plan-card__status--inactive {
    background: rgba(100, 116, 139, .14);
}

.admin-listing-plan-card__status--frozen {
    background: rgba(234, 179, 8, .16);
}

.admin-listing-plan-card__status--removed {
    background: rgba(220, 38, 38, .12);
}

.admin-listing-plan-card__commercial {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-listing-plan-card__commercial > div {
    padding: 15px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 14px;
    background: rgba(148, 163, 184, .06);
}

.admin-listing-plan-card__commercial span {
    display: block;
    margin-bottom: 5px;
    font-size: .76rem;
    font-weight: 700;
    opacity: .65;
}

.admin-listing-plan-card__commercial strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.15;
}

.admin-listing-plan-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 0;
}

.admin-listing-plan-card__facts > div {
    min-width: 0;
}

.admin-listing-plan-card__facts dt {
    margin-bottom: 2px;
    font-size: .75rem;
    font-weight: 700;
    opacity: .62;
}

.admin-listing-plan-card__facts dd {
    margin: 0;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.admin-listing-plan-card__message {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(148, 163, 184, .08);
}

.admin-listing-plan-card__promotion {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(234, 179, 8, .10);
}

.admin-listing-plan-editor {
    margin-top: auto;
    border-top: 1px solid rgba(148, 163, 184, .22);
    padding-top: 16px;
}

.admin-listing-plan-editor__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 15px;
    border-radius: 11px;
    cursor: pointer;
    font-weight: 800;
    background: rgba(37, 99, 235, .10);
    user-select: none;
}

.admin-listing-plan-editor__button::-webkit-details-marker {
    display: none;
}

.admin-listing-plan-editor[open]
.admin-listing-plan-editor__button {
    margin-bottom: 16px;
}

.admin-listing-plan-editor__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-listing-plan-editor__form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.admin-listing-plan-editor__form label > span {
    font-size: .78rem;
    font-weight: 800;
}

.admin-listing-plan-editor__form input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid rgba(148, 163, 184, .38);
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
}

.admin-listing-plan-editor__form input:focus {
    outline: 2px solid rgba(37, 99, 235, .22);
    outline-offset: 1px;
}

.admin-listing-plan-editor__wide,
.admin-listing-plan-editor__footer {
    grid-column: 1 / -1;
}

.admin-listing-plan-editor__footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 2px;
}

.admin-listing-plan-editor__footer button {
    min-height: 42px;
    padding: 9px 18px;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.admin-listing-plans__promotions {
    margin-top: 26px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
}

.admin-listing-plans__promotions h2 {
    margin: 4px 0 7px;
}

.admin-listing-plans__promotions p:last-child {
    margin-bottom: 0;
}

@media (max-width: 680px) {
    .admin-listing-plan-card__top {
        align-items: flex-start;
    }

    .admin-listing-plan-card__commercial,
    .admin-listing-plan-card__facts,
    .admin-listing-plan-editor__form {
        grid-template-columns: 1fr;
    }

    .admin-listing-plan-editor__wide,
    .admin-listing-plan-editor__footer {
        grid-column: auto;
    }

    .admin-listing-plan-editor__footer button {
        width: 100%;
    }
}

/* =========================================================
   Admin — interactive function cards
   ========================================================= */

.admin-function-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 170px;
    padding: 22px;
    box-sizing: border-box;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.admin-function-card--link {
    cursor: pointer;
}

.admin-function-card--link:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, .38);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .09);
}

.admin-function-card--link:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .24);
    outline-offset: 3px;
}

.admin-function-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-function-card__heading strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.3;
}

.admin-function-card__arrow {
    flex: 0 0 auto;
    font-size: 1.35rem;
    line-height: 1;
    transition: transform .18s ease;
}

.admin-function-card--link:hover
.admin-function-card__arrow {
    transform: translateX(4px);
}

.admin-function-card__content p {
    margin: 10px 0 0;
    color: #667085;
    line-height: 1.5;
}

.admin-function-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, .20);
    font-weight: 800;
}

.admin-function-card--link
.admin-function-card__footer {
    color: #2563eb;
}

.admin-function-card--overview {
    background: rgba(148, 163, 184, .045);
}

.admin-function-card__overview-label {
    color: #667085;
    font-weight: 700;
}

@media (max-width: 680px) {
    .admin-function-card {
        min-height: 150px;
        padding: 18px;
    }
}

/*
 * -------------------------------------------------
 * Admin — Payment Processing
 * -------------------------------------------------
 */

.admin-payment-processing {
    display: block;
}

.admin-payment-processing__form {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.admin-payment-processing__form > label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.admin-payment-processing__form > label > span {
    font-weight: 700;
}

.admin-payment-processing__form select {
    width: 100%;
    min-height: 42px;
}

.admin-payment-processing__form > label:has(input[type="checkbox"]) {
    min-height: 52px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.admin-payment-processing__form input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
    flex: 0 0 18px;
}

.admin-payment-processing__form .admin-listing-plan-editor__footer {
    grid-column: 1 / -1;
    margin-top: 2px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 720px) {
    .admin-payment-processing__form {
        grid-template-columns: 1fr;
    }

    .admin-payment-processing__form .admin-listing-plan-editor__footer {
        grid-column: 1;
    }

    .admin-payment-processing__form .admin-listing-plan-editor__footer button {
        width: 100%;
    }
}

/* =========================================================
   Shared administrative action buttons
   ========================================================= */

.admin-action-positive {
    border: 1px solid rgba(22, 163, 74, .24);
    background: rgba(22, 163, 74, .08);
    color: #166534;
}

.admin-action-positive:hover {
    background: rgba(22, 163, 74, .14);
}

.admin-action-warning {
    border: 1px solid rgba(180, 83, 9, .24);
    background: rgba(245, 158, 11, .09);
    color: #92400e;
}

.admin-action-warning:hover {
    background: rgba(245, 158, 11, .16);
}

.admin-action-danger {
    border: 1px solid rgba(220, 38, 38, .22);
    background: rgba(220, 38, 38, .07);
    color: #b91c1c;
}

.admin-action-danger:hover {
    background: rgba(220, 38, 38, .13);
}

/* LovaDeal messages notification badge */
.nav-messages-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-messages-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff0066;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    flex: 0 0 auto;
}

.notification-read-form {
    margin-bottom: 10px;
}
