:root {
    --sd-navy: #071329;
    --sd-navy-2: #0b1f43;
    --sd-blue: #1677ff;
    --sd-blue-2: #0c56d8;
    --sd-blue-dark: #0c56d8;
    --sd-blue-soft: #eaf3ff;
    --sd-bg: #f4f7fb;
    --sd-card: #ffffff;
    --sd-text: #111827;
    --sd-muted: #6b7280;
    --sd-line: #e4eaf2;
    --sd-green: #069953;
    --sd-green-soft: #e7f8ef;
    --sd-orange: #b66a00;
    --sd-orange-soft: #fff3d6;
    --sd-red: #c52d35;
    --sd-red-soft: #ffebed;
    --sd-shadow:
        0 16px 45px rgba(30, 66, 116, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--sd-bg);
    color: var(--sd-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

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

a {
    color: inherit;
}

.sd-market-shell {
    min-height: 100vh;
}

.sd-market-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}


/* HEADER */

.sd-market-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 19, 41, 0.96);
    backdrop-filter: blur(16px);
}

.sd-market-header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sd-market-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
}

.sd-market-logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #2f8cff,
            #0b52d2
        );
    box-shadow:
        0 10px 22px rgba(19, 95, 230, 0.28);
}

.sd-market-brand-text strong,
.sd-market-brand-text small {
    display: block;
}

.sd-market-brand-text strong {
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.sd-market-brand-text small {
    margin-top: 1px;
    color: rgba(229, 237, 255, 0.72);
    font-size: 9px;
}

.sd-market-topup-link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(166, 199, 255, 0.18);
    border-radius: 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}


/* TOP AREA */

.sd-market-top-area {
    padding: 14px 0 16px;
    background:
        linear-gradient(
            180deg,
            var(--sd-navy) 0%,
            var(--sd-navy-2) 100%
        );
}

.sd-market-search-box {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow:
        0 10px 28px rgba(2, 15, 39, 0.24);
}

.sd-market-search-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #6e7a8f;
}

.sd-market-search-input {
    width: 100%;
    min-width: 0;
    height: 46px;
    border: 0;
    outline: 0;
    color: var(--sd-text);
    background: transparent;
    font-size: 13px;
}

.sd-market-search-input::placeholder {
    color: #8892a4;
}

.sd-market-promo-card {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        190px;
    align-items: center;
    gap: 20px;
    margin-top: 14px;
    padding: 24px 26px;
    border: 1px solid rgba(163, 197, 255, 0.15);
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 88% 24%,
            rgba(69, 145, 255, 0.25),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #0b1d3d,
            #0d2e68
        );
    box-shadow:
        0 18px 42px rgba(3, 14, 37, 0.3);
}

.sd-market-promo-copy {
    position: relative;
    z-index: 2;
}

.sd-market-promo-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    color: #dbe9ff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sd-market-promo-card h1 {
    max-width: 560px;
    margin: 11px 0 7px;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.sd-market-promo-card p {
    max-width: 580px;
    margin: 0;
    color: rgba(225, 235, 255, 0.77);
    font-size: 12px;
    line-height: 1.55;
}

.sd-market-promo-art {
    position: relative;
    height: 118px;
}

.sd-market-bag-shape {
    position: absolute;
    right: 16px;
    top: 8px;
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #3a95ff,
            #0a4fc9
        );
    box-shadow:
        inset 0 3px 8px rgba(255, 255, 255, 0.2),
        0 22px 42px rgba(8, 64, 173, 0.34);
    transform: rotate(-8deg);
}

.sd-market-promo-dot {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.dot-one {
    width: 20px;
    height: 20px;
    left: 20px;
    top: 18px;
}

.dot-two {
    width: 10px;
    height: 10px;
    left: 54px;
    bottom: 16px;
}

.dot-three {
    width: 14px;
    height: 14px;
    right: 0;
    bottom: 12px;
}

.sd-market-offline-banner {
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid #eed597;
    border-radius: 12px;
    color: #805100;
    background: #fff4d8;
    font-size: 10px;
    line-height: 1.5;
}


/* SECTION HEADERS */

.sd-market-section-row,
.sd-market-products-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.sd-market-section-kicker {
    display: block;
    color: var(--sd-blue-2);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sd-market-section-row h2,
.sd-market-products-toolbar h2 {
    margin: 4px 0 0;
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}


/* CATEGORIES */

.sd-market-category-section {
    padding: 18px 0 10px;
}

.sd-market-category-grid {
    display: grid;
    grid-template-columns:
        repeat(8, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.sd-market-category-tile {
    min-width: 0;
    padding: 10px 6px 8px;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    color: var(--sd-text);
    background: #ffffff;
    text-align: center;
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.sd-market-category-tile:hover {
    transform: translateY(-2px);
    border-color: #b9d5ff;
    box-shadow:
        0 9px 20px rgba(30, 66, 116, 0.08);
}

.sd-market-category-tile.is-active {
    border-color: #8cbcff;
    background: #eef6ff;
}

.sd-market-category-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 7px;
    border-radius: 50%;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #2e8cff,
            #0d53d1
        );
    box-shadow:
        0 8px 16px rgba(22, 119, 255, 0.18);
    font-size: 14px;
    font-weight: 900;
}

.sd-market-category-name {
    min-height: 26px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #2a3344;
    font-size: 9px;
    font-weight: 750;
    line-height: 1.35;
}


/* PRODUCTS */

.sd-market-products-section {
    padding: 14px 0 44px;
}

.sd-market-sort-control {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.sd-market-sort-label {
    color: var(--sd-muted);
    font-size: 9px;
    font-weight: 750;
}

.sd-market-sort-control select {
    min-height: 36px;
    padding: 0 28px 0 10px;
    border: 1px solid var(--sd-line);
    border-radius: 10px;
    outline: 0;
    color: #243047;
    background: #ffffff;
    font-size: 9px;
    font-weight: 750;
}

.sd-market-result-row {
    margin: 7px 0 10px;
    color: var(--sd-muted);
    font-size: 9px;
    font-weight: 700;
}

.sd-market-product-grid {
    display: grid;
    grid-template-columns:
        repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.sd-market-product-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: var(--sd-card);
    box-shadow:
        0 7px 18px rgba(30, 66, 116, 0.055);
}

.sd-market-product-card[hidden] {
    display: none !important;
}

.sd-market-product-card-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: inherit;
}

.sd-market-product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #edf4ff,
            #dfeaff
        );
}

.sd-market-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-market-product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #4e7fca;
    font-size: 28px;
}

.sd-market-product-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 6;
    min-height: 19px;
    display: inline-flex;
    align-items: center;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 6px;
    font-weight: 900;
}

.sd-market-product-badge.featured {
    color: #0c55cb;
    background: rgba(240, 247, 255, 0.94);
}

.sd-market-product-badge.low {
    color: var(--sd-orange);
    background: rgba(255, 243, 214, 0.96);
}

.sd-market-product-body {
    padding: 8px;
}

.sd-market-product-category {
    overflow: hidden;
    color: #8791a2;
    font-size: 7px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.sd-market-product-name {
    min-height: 29px;
    display: -webkit-box;
    overflow: hidden;
    margin: 4px 0 6px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #222b39;
    font-size: 10px;
    font-weight: 760;
    line-height: 1.35;
}

.sd-market-product-price {
    overflow: hidden;
    color: #071329;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.15;
    letter-spacing: -0.025em;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* PAGINATION */

.sd-market-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.sd-market-pagination[hidden] {
    display: none !important;
}

.sd-market-page-button {
    min-height: 36px;
    padding: 0 13px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            var(--sd-blue),
            var(--sd-blue-2)
        );
    font-size: 9px;
    font-weight: 850;
}

.sd-market-page-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.sd-market-page-status {
    min-width: 72px;
    color: var(--sd-muted);
    text-align: center;
    font-size: 9px;
    font-weight: 800;
}


/* EMPTY STATES */

.sd-market-empty,
.sd-market-search-empty {
    padding: 36px 18px;
    border: 1px solid var(--sd-line);
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
}

.sd-market-empty-icon,
.sd-market-search-empty-icon {
    font-size: 24px;
}

.sd-market-empty h3,
.sd-market-search-empty strong {
    display: block;
    margin: 8px 0 0;
    font-size: 15px;
}

.sd-market-empty p,
.sd-market-search-empty span {
    display: block;
    margin: 6px 0 0;
    color: var(--sd-muted);
    font-size: 10px;
    line-height: 1.5;
}


/* FOOTER */

.sd-market-footer {
    padding: 18px 0;
    border-top: 1px solid var(--sd-line);
    background: #ffffff;
}

.sd-market-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.sd-market-footer-inner strong {
    font-size: 11px;
}

.sd-market-footer-inner span {
    color: var(--sd-muted);
    font-size: 9px;
}


/* TABLET */

@media (max-width: 1000px) {
    .sd-market-category-grid {
        grid-template-columns:
            repeat(6, minmax(0, 1fr));
    }

    .sd-market-product-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }
}


/* MOBILE */

@media (max-width: 780px) {
    .sd-market-container {
        width: min(100% - 18px, 1180px);
    }

    .sd-market-header-inner {
        min-height: 56px;
    }

    .sd-market-logo-mark {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .sd-market-brand {
        gap: 8px;
    }

    .sd-market-brand-text strong {
        font-size: 15px;
    }

    .sd-market-brand-text small {
        display: none;
    }

    .sd-market-topup-link {
        min-height: 32px;
        padding: 0 10px;
        border-radius: 9px;
        font-size: 9px;
    }

    .sd-market-top-area {
        padding: 9px 0 11px;
    }

    .sd-market-search-box {
        min-height: 42px;
        padding: 0 11px;
        border-radius: 10px;
    }

    .sd-market-search-input {
        height: 40px;
        font-size: 11px;
    }

    .sd-market-promo-card {
        min-height: 100px;
        grid-template-columns:
            minmax(0, 1fr)
            78px;
        gap: 10px;
        margin-top: 9px;
        padding: 14px;
        border-radius: 15px;
    }

    .sd-market-promo-kicker {
        min-height: 19px;
        padding: 0 7px;
        font-size: 6px;
    }

    .sd-market-promo-card h1 {
        max-width: 245px;
        margin: 7px 0 4px;
        font-size: 22px;
    }

    .sd-market-promo-card p {
        max-width: 245px;
        font-size: 8px;
        line-height: 1.45;
    }

    .sd-market-promo-art {
        height: 72px;
    }

    .sd-market-bag-shape {
        right: 2px;
        top: 0;
        width: 66px;
        height: 66px;
        border-radius: 20px;
    }

    .dot-one,
    .dot-two,
    .dot-three {
        display: none;
    }

    .sd-market-offline-banner {
        margin-top: 8px;
        padding: 9px 10px;
        border-radius: 10px;
        font-size: 8px;
    }

    .sd-market-category-section {
        padding: 12px 0 7px;
    }

    .sd-market-section-row h2,
    .sd-market-products-toolbar h2 {
        font-size: 17px;
    }

    .sd-market-category-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
        gap: 7px;
        margin-top: 9px;
    }

    .sd-market-category-tile {
        padding: 7px 4px 6px;
        border-radius: 11px;
    }

    .sd-market-category-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 5px;
        font-size: 12px;
        box-shadow:
            0 6px 12px rgba(22, 119, 255, 0.14);
    }

    .sd-market-category-name {
        min-height: 23px;
        font-size: 7.5px;
        line-height: 1.3;
    }

    .sd-market-products-section {
        padding: 10px 0 30px;
    }

    .sd-market-products-toolbar {
        align-items: center;
    }

    .sd-market-sort-label {
        display: none;
    }

    .sd-market-sort-control select {
        min-height: 31px;
        max-width: 118px;
        padding: 0 22px 0 7px;
        border-radius: 8px;
        font-size: 7.5px;
    }

    .sd-market-result-row {
        margin: 5px 0 7px;
        font-size: 8px;
    }

    .sd-market-product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .sd-market-product-card {
        border-radius: 10px;
        box-shadow:
            0 4px 11px rgba(30, 66, 116, 0.05);
    }

    .sd-market-product-badge {
        top: 4px;
        left: 4px;
        min-height: 15px;
        padding: 0 4px;
        font-size: 5px;
    }

    .sd-market-product-body {
        padding: 6px 5px 7px;
    }

    .sd-market-product-category {
        font-size: 6px;
    }

    .sd-market-product-name {
        min-height: 24px;
        margin: 3px 0 4px;
        font-size: 8px;
        line-height: 1.28;
    }

    .sd-market-product-price {
        font-size: 11.5px;
        font-weight: 950;
        color: #071329;
    }

    .sd-market-pagination {
        margin-top: 13px;
        gap: 7px;
    }

    .sd-market-page-button {
        min-height: 32px;
        padding: 0 10px;
        border-radius: 8px;
        font-size: 8px;
    }

    .sd-market-page-status {
        min-width: 60px;
        font-size: 8px;
    }

    .sd-market-footer {
        padding: 14px 0;
    }

    .sd-market-footer-inner {
        display: block;
    }

    .sd-market-footer-inner span {
        display: block;
        margin-top: 3px;
        font-size: 8px;
    }
}


/* VERY SMALL PHONES */

@media (max-width: 340px) {
    .sd-market-category-icon {
        width: 38px;
        height: 38px;
    }

    .sd-market-product-grid {
        gap: 5px;
    }

    .sd-market-product-name {
        font-size: 7.5px;
    }

    .sd-market-product-price {
        font-size: 10.5px;
        font-weight: 950;
    }
}


/* MARKET HEADER ACTIONS: MY ORDERS + SD TOPUP */
.sd-market-header-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.sd-market-orders-link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 11px;
    border: 1px solid rgba(166, 199, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            rgba(47, 140, 255, 0.96),
            rgba(11, 82, 210, 0.96)
        );
    box-shadow:
        0 8px 18px rgba(19, 95, 230, 0.2);
    text-decoration: none;
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}

.sd-market-orders-link svg {
    flex: 0 0 auto;
}

@media (max-width: 620px) {
    .sd-market-header-actions {
        gap: 5px;
    }

    .sd-market-orders-link,
    .sd-market-topup-link {
        min-height: 31px;
        padding: 0 8px;
        border-radius: 8px;
        font-size: 7.5px;
    }

    .sd-market-orders-link {
        gap: 4px;
    }

    .sd-market-orders-link svg {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 360px) {
    .sd-market-topup-link {
        display: none;
    }

    .sd-market-orders-link {
        min-height: 31px;
        padding: 0 9px;
        font-size: 7.5px;
    }
}


/* HELP AND STORE POLICY FOOTER */
.sd-market-footer-brand strong,
.sd-market-footer-brand span {
    display: block;
}

.sd-market-footer-brand span {
    margin-top: 3px;
}

.sd-market-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.sd-market-footer-links a {
    color: #5f6b7c;
    text-decoration: none;
    font-size: 8px;
    font-weight: 800;
}

.sd-market-footer-links a:hover {
    color: #0c56d8;
}

@media (max-width: 620px) {
    .sd-market-footer-inner {
        display: grid;
        gap: 10px;
    }

    .sd-market-footer-links {
        justify-content: flex-start;
        gap: 7px 13px;
    }

    .sd-market-footer-links a {
        font-size: 7.5px;
    }
}


/* ================================================================
   MODERN SD MARKET 3D FOOTER
   ================================================================ */

.sd-market-footer {
    position: relative;
    overflow: hidden;
    padding: 10px 0 16px;
    border-top: 0;
    background:
        linear-gradient(
            180deg,
            #f4f7fb 0%,
            #edf3fb 100%
        );
}

.sd-market-footer-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(151, 190, 255, 0.16);
    border-radius: 22px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 92% 10%,
            rgba(68, 145, 255, 0.26),
            transparent 28%
        ),
        radial-gradient(
            circle at 8% 110%,
            rgba(80, 94, 255, 0.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #071329 0%,
            #0a1e43 54%,
            #0d2e68 100%
        );
    box-shadow:
        0 22px 50px rgba(4, 20, 49, 0.20);
}

.sd-market-footer-glow {
    position: absolute;
    right: -55px;
    top: -70px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 1px solid rgba(160, 201, 255, 0.12);
    background:
        radial-gradient(
            circle,
            rgba(71, 148, 255, 0.18),
            rgba(71, 148, 255, 0)
        );
    box-shadow:
        inset 0 0 35px rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.sd-market-footer-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(250px, 1.12fr)
        minmax(260px, 0.88fr)
        minmax(235px, 0.72fr);
    gap: 28px;
    padding: 28px;
}

.sd-market-footer-identity {
    min-width: 0;
}

.sd-market-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #ffffff;
    text-decoration: none;
}

.sd-market-footer-logo-mark {
    flex: 0 0 auto;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #3b96ff,
            #0b52d2
        );
    box-shadow:
        inset 0 3px 8px rgba(255, 255, 255, 0.18),
        0 13px 27px rgba(5, 68, 180, 0.30);
    transform: rotate(-4deg);
}

.sd-market-footer-logo strong,
.sd-market-footer-logo small {
    display: block;
}

.sd-market-footer-logo strong {
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.sd-market-footer-logo small {
    margin-top: 2px;
    color: rgba(224, 235, 255, 0.68);
    font-size: 7.5px;
    font-weight: 700;
}

.sd-market-footer-identity p {
    max-width: 390px;
    margin: 13px 0 0;
    color: rgba(224, 235, 255, 0.68);
    font-size: 8.5px;
    line-height: 1.65;
}

.sd-market-footer-business {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    margin-top: 13px;
    padding: 0 8px;
    border: 1px solid rgba(176, 207, 255, 0.12);
    border-radius: 999px;
    color: #dceaff;
    background: rgba(255, 255, 255, 0.06);
    font-size: 6.5px;
    font-weight: 900;
    letter-spacing: 0.055em;
}

.sd-market-footer-navigation {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sd-market-footer-column {
    display: grid;
    align-content: start;
    gap: 9px;
}

.sd-market-footer-column-title {
    margin-bottom: 2px;
    color: #ffffff;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

.sd-market-footer-column a {
    width: fit-content;
    color: rgba(224, 235, 255, 0.68);
    text-decoration: none;
    font-size: 8px;
    font-weight: 750;
    transition:
        color 0.16s ease,
        transform 0.16s ease;
}

.sd-market-footer-column a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.sd-market-footer-support {
    align-self: stretch;
    padding: 15px;
    border: 1px solid rgba(171, 205, 255, 0.13);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.085),
            rgba(255, 255, 255, 0.035)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(9px);
}

.sd-market-footer-support-label {
    display: block;
    color: #9fc7ff;
    font-size: 6.5px;
    font-weight: 950;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.sd-market-footer-support strong {
    display: block;
    margin-top: 5px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.sd-market-footer-support p {
    margin: 6px 0 0;
    color: rgba(224, 235, 255, 0.65);
    font-size: 7.3px;
    line-height: 1.5;
}

.sd-market-footer-support-actions {
    display: grid;
    grid-template-columns:
        1fr
        1fr;
    gap: 7px;
    margin-top: 11px;
}

.sd-market-footer-support-button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    text-decoration: none;
    font-size: 7px;
    font-weight: 950;
}

.sd-market-footer-support-button.primary {
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #2f8cff,
            #0b52d2
        );
    box-shadow:
        0 9px 18px rgba(5, 68, 180, 0.25);
}

.sd-market-footer-support-button.secondary {
    border: 1px solid rgba(181, 211, 255, 0.16);
    color: #e5efff;
    background: rgba(255, 255, 255, 0.06);
}

.sd-market-footer-bottom {
    position: relative;
    z-index: 2;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 28px;
    border-top: 1px solid rgba(181, 211, 255, 0.10);
    color: rgba(216, 230, 253, 0.55);
    background: rgba(1, 10, 28, 0.14);
    font-size: 6.7px;
    font-weight: 700;
}

@media (max-width: 920px) {
    .sd-market-footer-main {
        grid-template-columns:
            minmax(0, 1.1fr)
            minmax(0, 0.9fr);
    }

    .sd-market-footer-support {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .sd-market-footer {
        padding: 7px 0 10px;
    }

    .sd-market-footer-panel {
        border-radius: 15px;
    }

    .sd-market-footer-main {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 15px;
    }

    .sd-market-footer-logo {
        gap: 9px;
    }

    .sd-market-footer-logo-mark {
        width: 37px;
        height: 37px;
        border-radius: 12px;
    }

    .sd-market-footer-logo-mark svg {
        width: 19px;
        height: 19px;
    }

    .sd-market-footer-logo strong {
        font-size: 15px;
    }

    .sd-market-footer-logo small {
        font-size: 6.5px;
    }

    .sd-market-footer-identity p {
        margin-top: 9px;
        font-size: 7px;
        line-height: 1.5;
    }

    .sd-market-footer-business {
        min-height: 21px;
        margin-top: 9px;
        padding: 0 7px;
        font-size: 5.5px;
    }

    .sd-market-footer-navigation {
        gap: 14px;
        padding-top: 1px;
    }

    .sd-market-footer-column {
        gap: 7px;
    }

    .sd-market-footer-column-title {
        font-size: 6px;
    }

    .sd-market-footer-column a {
        font-size: 7px;
    }

    .sd-market-footer-support {
        padding: 11px;
        border-radius: 12px;
    }

    .sd-market-footer-support strong {
        font-size: 10px;
    }

    .sd-market-footer-support p {
        font-size: 6.3px;
    }

    .sd-market-footer-support-actions {
        margin-top: 8px;
    }

    .sd-market-footer-support-button {
        min-height: 31px;
        font-size: 6.3px;
    }

    .sd-market-footer-bottom {
        min-height: auto;
        display: grid;
        gap: 4px;
        padding: 10px 15px;
        font-size: 5.7px;
        line-height: 1.45;
    }
}
