:root {
    --q-ink: #12141c;
    --q-ink-soft: #1b2030;
    --q-gold: #e8b030;
    --q-gold-deep: #b8891c;
    --q-paper: #f5f4f2;
    --q-surface: #ffffff;
    --q-line: #e6e2da;
    --q-text: #16181f;
    --q-muted: #6d675f;
    --q-header: 72px;
    --q-side: 288px;
    --q-radius: 18px;
    --q-shadow: 0 16px 40px rgba(18, 16, 14, 0.08);
}

body.q-body {
    margin: 0;
    background: var(--q-paper) !important;
    color: var(--q-text);
    font-family: "Cairo", sans-serif;
}

#logo_dark,
#logo_dark2 {
    display: none;
}

.q-shell {
    direction: rtl;
}

.q-header {
    height: var(--q-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 18px 0 14px;
    background: #fffcf8 !important;
    color: var(--q-text);
    border-bottom: 0 !important;
    box-shadow: inset 0 -3px 0 var(--q-gold);
    z-index: 40;
}

.q-logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

.q-logo img {
    height: 38px;
    width: auto;
    display: block;
}

.q-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.q-btn,
.q-icon-btn {
    font-family: inherit;
    text-decoration: none !important;
    cursor: pointer;
}

.q-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    line-height: 1;
}

.q-btn-gold {
    background: var(--q-gold);
    color: var(--q-ink) !important;
}

.q-btn-gold:hover {
    background: #ffb42e;
}

.q-btn-ghost {
    background: transparent;
    color: var(--q-text) !important;
    border-color: rgba(22, 24, 31, 0.16);
}

.q-btn-ghost:hover {
    border-color: var(--q-gold);
    color: var(--q-gold) !important;
}

.q-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--q-text) !important;
    background: rgba(22, 24, 31, 0.04);
    border: 1px solid rgba(22, 24, 31, 0.06);
    font-size: 18px;
}

.q-icon-btn:hover {
    background: rgba(240, 160, 32, 0.18);
    color: var(--q-gold) !important;
}

.q-backdrop {
    display: none;
}

#app.q-shell .w3-main {
    margin-top: var(--q-header) !important;
    margin-right: var(--q-side) !important;
    min-height: calc(100vh - var(--q-header));
    background: transparent;
}

#sidebar-control:checked + #app.q-shell .w3-main {
    margin-right: 0 !important;
}

#app.q-shell #sidebar {
    width: var(--q-side) !important;
    margin-top: var(--q-header) !important;
    height: calc(100% - var(--q-header)) !important;
    right: 0;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 100% 0%, rgba(232, 176, 48, 0.16), transparent 34%),
        #fffcf8 !important;
    color: var(--q-text);
    border: 0 !important;
    border-left: 1px solid var(--q-line) !important;
    box-shadow: none;
    z-index: 30;
    overflow: auto;
    padding: 18px 14px 24px;
}

#app.q-shell #sidebar::before,
#app.q-shell #sidebar::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(232, 176, 48, 0.28);
    pointer-events: none;
}

#app.q-shell #sidebar::before {
    width: 180px;
    height: 180px;
    left: -70px;
    bottom: 40px;
    box-shadow: 0 0 0 18px rgba(232, 176, 48, 0.05);
}

#app.q-shell #sidebar::after {
    width: 90px;
    height: 90px;
    right: -28px;
    top: 120px;
}

#sidebar-control:checked + #app.q-shell #sidebar {
    transform: translateX(100%);
}

.q-side-mobile {
    display: none;
}

.q-kicker {
    margin: 0 0 4px;
    color: var(--q-gold-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.q-kicker-light {
    color: var(--q-gold);
}

.q-side-intro {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 6px 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(232, 176, 48, 0.18);
}

.q-orbit {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fffcf8 0 28%, #e8b030 30% 46%, transparent 48%);
    box-shadow:
        0 0 0 6px rgba(232, 176, 48, 0.1),
        inset 0 0 0 1px rgba(232, 176, 48, 0.4);
}

.q-side-intro p:last-child {
    margin: 0;
    color: var(--q-muted);
    font-size: 13px;
    line-height: 1.7;
}

#app.q-shell #sidebar .q-kicker {
    color: var(--q-gold);
}

.q-user {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 4px 4px 14px;
}

#app.q-shell #sidebar .q-user-meta strong {
    color: var(--q-text);
}

#app.q-shell #sidebar .q-user-meta span,
#app.q-shell #sidebar .q-credit {
    color: var(--q-muted);
}

#app.q-shell #sidebar .q-kyc-link {
    color: var(--q-gold) !important;
}

.q-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fffcf8;
    color: var(--q-gold);
    font-weight: 800;
    font-size: 20px;
    box-shadow:
        0 0 0 1.5px #e8b030,
        0 0 0 7px rgba(232, 176, 48, 0.12);
}

.q-user-meta {
    min-width: 0;
}

.q-user-meta strong,
.q-user-meta span {
    display: block;
}

.q-user-meta strong {
    font-size: 16px;
}

.q-user-meta span,
.q-note time,
.q-note header span {
    color: var(--q-muted);
    font-size: 12px;
    font-style: normal;
}

.q-kyc {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    background: #f6efe2;
    color: var(--q-gold-deep);
}

.q-kyc-approved { background: #e7f6ee; color: #1e7a45; }
.q-kyc-rejected { background: #fdeceb; color: #b4332a; }
.q-kyc-pending { background: #e8f3fb; color: #1d6394; }

.q-kyc-link {
    display: inline-block;
    margin-right: 6px;
    color: var(--q-ink) !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline !important;
}

.q-wallet {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 14px;
    padding: 12px 8px;
    border-radius: 16px;
    background: rgba(232, 176, 48, 0.08);
    border: 1px solid rgba(232, 176, 48, 0.28);
}

.q-wallet div {
    text-align: center;
}

.q-wallet span,
.q-wallet strong {
    display: block;
}

#app.q-shell #sidebar .q-wallet span {
    color: var(--q-muted);
    font-size: 11px;
}

#app.q-shell #sidebar .q-wallet strong {
    margin-top: 2px;
    font-size: 13px;
    color: var(--q-text);
}

.q-wallet .is-net strong {
    color: var(--q-gold);
}

.q-nav {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

#app.q-shell #sidebar .q-nav a,
#app.q-shell #sidebar .q-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 6px 8px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--q-text) !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    text-decoration: none !important;
    cursor: pointer;
}

#app.q-shell #sidebar .q-nav i,
#app.q-shell #sidebar .q-theme i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    background: transparent;
    color: var(--q-gold);
    font-size: 15px;
    box-shadow:
        inset 0 0 0 1.5px rgba(232, 176, 48, 0.75),
        0 0 0 5px rgba(232, 176, 48, 0.08);
}

#app.q-shell #sidebar .q-nav a:hover,
#app.q-shell #sidebar .q-nav-btn:hover,
#app.q-shell #sidebar .q-nav a.is-active {
    background: rgba(232, 176, 48, 0.16);
    color: var(--q-text) !important;
    box-shadow: inset -3px 0 0 var(--q-gold);
}

#app.q-shell #sidebar .q-nav a:hover i,
#app.q-shell #sidebar .q-nav-btn:hover i,
#app.q-shell #sidebar .q-nav a.is-active i {
    background: var(--q-gold);
    color: #12141c;
    box-shadow: none;
}

@media (hover: none) {
    #app.q-shell #sidebar .q-nav a:hover,
    #app.q-shell #sidebar .q-nav-btn:hover {
        background: transparent;
        box-shadow: none;
    }

    #app.q-shell #sidebar .q-nav a:hover i,
    #app.q-shell #sidebar .q-nav-btn:hover i {
        background: rgba(232, 176, 48, 0.1);
        color: inherit;
    }
}

.q-side-foot {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(232, 176, 48, 0.18);
}

.q-theme {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    color: var(--q-text);
    font-weight: 700;
}

.q-theme span {
    flex: 1;
}

.q-theme input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.q-switch {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #efe6d4;
    border: 1px solid rgba(232, 176, 48, 0.35);
    position: relative;
    cursor: pointer;
    flex: 0 0 46px;
}

.q-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.q-theme input:checked + .q-switch {
    background: var(--q-gold);
}

.q-theme input:checked + .q-switch::after {
    transform: translateX(-20px);
}

.q-credit {
    margin: 12px 8px 0;
    color: var(--q-muted);
    font-size: 12px;
}

.q-hidden {
    display: none;
}

.q-home {
    position: relative;
    padding: 22px 22px 56px;
    overflow: hidden;
}

.q-home::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    left: -160px;
    top: -120px;
    border: 1px solid rgba(240, 160, 32, 0.35);
    border-radius: 50%;
    box-shadow:
        0 0 0 46px rgba(240, 160, 32, 0.05),
        0 0 0 92px rgba(240, 160, 32, 0.035);
    pointer-events: none;
}

.q-hero,
.q-section,
.q-announce,
.q-pay {
    position: relative;
    z-index: 1;
}

.q-slider {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    background: #10131b;
    border: 1px solid rgba(232, 176, 48, 0.38);
    box-shadow: 0 18px 46px rgba(12, 14, 22, 0.16);
    min-height: 0;
}

.q-slider .mySlides img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    background: #10131b;
}

.q-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0;
    background: transparent;
}

.q-slider .dot {
    width: 8px;
    height: 8px;
    margin: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.q-slider .dot.active {
    width: 22px;
    background: var(--q-gold) !important;
}

.q-announce {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 14px;
    background: var(--q-surface);
    border: 1px solid var(--q-line);
    border-inline-start: 3px solid var(--q-gold);
    border-radius: 16px;
}

.q-announce span {
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--q-ink);
    color: var(--q-gold);
    font-size: 12px;
    font-weight: 800;
}

.q-announce p,
.q-pay-copy p,
.q-note p,
.q-section-head h2 {
    margin: 0;
}

.q-announce p {
    color: var(--q-muted);
    font-size: 14px;
    line-height: 1.7;
}

.q-section {
    margin-top: 28px;
}

.q-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 14px;
}

.q-section-head h2,
.q-pay h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
}

.q-cats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.q-cat {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #fbf7f0;
    border: 1px solid rgba(232, 176, 48, 0.4);
    box-shadow: 0 10px 26px rgba(16, 19, 27, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.q-cat:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(16, 19, 27, 0.14);
}

.q-cat img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    object-position: center;
    background: #fbf7f0;
}

.q-pay {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: center;
    margin-top: 28px;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(240, 160, 32, 0.22), transparent 42%),
        var(--q-ink);
    color: #f7f2ea;
}

.q-pay h2 {
    margin: 0 0 8px;
}

.q-pay-copy p:last-of-type {
    margin: 0 0 16px;
    color: #d9d0c4;
    line-height: 1.8;
}

.q-pay-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.q-pay-logos img {
    width: 100%;
    height: auto;
    display: block;
}

.q-notes {
    display: grid;
    gap: 12px;
}

.q-note {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--q-surface);
    border: 1px solid var(--q-line);
    border-radius: 18px;
}

.q-note header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.q-note p {
    line-height: 1.8;
}

html.dark body.q-body {
    background: #100e0c !important;
    color: #f4efe8;
}

html.dark .q-header {
    background: #12141c !important;
    color: #f7f2ea;
}

html.dark .q-btn-ghost {
    color: #f7f2ea !important;
    border-color: rgba(247, 242, 234, 0.22);
}

html.dark .q-icon-btn {
    color: #f7f2ea !important;
    background: rgba(247, 242, 234, 0.08);
    border-color: rgba(247, 242, 234, 0.08);
}

html.dark #app.q-shell #sidebar {
    background:
        radial-gradient(circle at 100% 0%, rgba(232, 176, 48, 0.16), transparent 34%),
        #12141c !important;
    color: #f6f3ec;
    border-left-color: rgba(232, 176, 48, 0.28) !important;
}

html.dark .q-orbit {
    background: radial-gradient(circle at center, #12141c 0 28%, #e8b030 30% 46%, transparent 48%);
}

html.dark .q-side-intro p:last-child,
html.dark #app.q-shell #sidebar .q-user-meta span,
html.dark #app.q-shell #sidebar .q-credit,
html.dark #app.q-shell #sidebar .q-wallet span {
    color: #c8c1b4;
}

html.dark #app.q-shell #sidebar .q-user-meta strong,
html.dark #app.q-shell #sidebar .q-wallet strong,
html.dark #app.q-shell #sidebar .q-nav a,
html.dark #app.q-shell #sidebar .q-nav-btn,
html.dark #app.q-shell #sidebar .q-theme {
    color: #f4efe8 !important;
}

html.dark #app.q-shell #sidebar .q-nav a:hover,
html.dark #app.q-shell #sidebar .q-nav-btn:hover,
html.dark #app.q-shell #sidebar .q-nav a.is-active {
    color: #fff !important;
    background: rgba(232, 176, 48, 0.14);
}

html.dark .q-avatar {
    background: #12141c;
}

html.dark .q-switch {
    background: #2a3142;
}

html.dark .q-side-mobile {
    background: #10131b;
    border-bottom-color: rgba(232, 176, 48, 0.22);
}

html.dark .q-announce,
html.dark .q-note {
    background: #1b1714 !important;
    border-color: #2d2722 !important;
    color: #f4efe8;
}

html.dark .q-side-intro,
html.dark .q-side-foot {
    border-color: #2d2722;
}

html.dark .q-side-intro p:last-child,
html.dark .q-announce p,
html.dark .q-user-meta span,
html.dark .q-wallet span,
html.dark .q-credit,
html.dark .q-note time,
html.dark .q-note header span {
    color: #b7aea3;
}

html.dark .q-nav a,
html.dark .q-nav-btn,
html.dark .q-theme {
    color: #f4efe8 !important;
}

html.dark .q-nav i,
html.dark .q-theme i,
html.dark .q-wallet {
    background: #26211c;
    color: var(--q-gold);
    border-color: #2d2722;
}

html.dark .q-nav a:hover,
html.dark .q-nav-btn:hover,
html.dark .q-nav a.is-active {
    background: #f4efe8;
    color: var(--q-ink) !important;
}

@media (max-width: 992px) {
    #app.q-shell .w3-main,
    #sidebar-control:checked + #app.q-shell .w3-main {
        margin-right: 0 !important;
    }

    #app.q-shell #sidebar,
    #sidebar-control + #app.q-shell #sidebar {
        transform: translateX(100%) !important;
        box-shadow: none;
    }

    #sidebar-control:checked + #app.q-shell #sidebar {
        transform: translateX(0) !important;
        box-shadow: -18px 0 50px rgba(0, 0, 0, 0.28);
    }

    body:has(#sidebar-control:checked) {
        overflow: hidden;
    }

    .q-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(18, 16, 14, 0.46);
        z-index: 55;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    #sidebar-control:checked + #app.q-shell .q-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    #app.q-shell #sidebar,
    #sidebar-control + #app.q-shell #sidebar,
    #sidebar-control:checked + #app.q-shell #sidebar {
        top: var(--q-header) !important;
        bottom: 0 !important;
        width: min(86vw, 320px) !important;
        height: auto !important;
        margin-top: 0 !important;
        z-index: 60;
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
        transition: transform 0.28s ease;
    }

    #sidebar-control:checked + #app.q-shell .q-dock {
        transform: translateY(110%);
        pointer-events: none;
    }

    .q-side-mobile {
        display: none !important;
    }

    .q-logo-side img {
        height: 30px;
    }

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

    .q-pay {
        grid-template-columns: 1fr;
        padding: 22px;
    }
}

@media (max-width: 640px) {
    body.q-body {
        --q-header: 62px;
    }

    .q-header {
        padding-inline: 10px;
        gap: 8px;
    }

    .q-header-actions {
        gap: 6px;
    }

    .q-logo img {
        height: 28px;
    }

    .q-icon-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .q-btn {
        min-height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }

    .q-btn-ghost {
        display: none;
    }

    .q-home {
        padding: 12px 12px 36px;
    }

    .q-slider {
        border-radius: 16px;
    }

    .q-slider .mySlides img {
        height: 168px;
    }

    .q-section-head h2,
    .q-pay h2 {
        font-size: 22px;
    }

    .q-announce {
        align-items: flex-start;
    }

    .q-cats {
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .q-btn-gold {
        padding: 0 10px;
        font-size: 12px;
    }

    .q-announce p {
        font-size: 13px;
    }
}

.q-page {
    padding: 20px 16px 56px;
}

.q-page-head {
    margin-bottom: 16px;
}

.q-page-head h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
}

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

.q-tile {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    background: #fff;
    border: 1px solid var(--q-line);
    border-radius: 16px;
    overflow: hidden;
    color: var(--q-text) !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(18, 20, 28, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.q-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--q-shadow);
}

.q-tile img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f6f3ee;
}

.q-tile.is-off {
    filter: grayscale(1);
    opacity: 0.72;
}

.q-tile-body {
    padding: 10px 10px 12px;
    text-align: center;
}

.q-tile-body strong {
    display: block;
    font-size: 14px;
    line-height: 1.5;
}

.q-tile-body em {
    display: block;
    margin-top: 4px;
    color: var(--q-gold-deep);
    font-style: normal;
    font-weight: 800;
}

.q-auth-wrap {
    display: grid;
    place-items: center;
    min-height: calc(100vh - var(--q-header) - 24px);
    padding: 24px 16px 40px;
}

.q-auth {
    width: min(420px, 100%);
    background: #fff;
    border: 1px solid var(--q-line);
    border-radius: 22px;
    padding: 28px 22px 18px;
    box-shadow: var(--q-shadow);
}

.q-auth-logo {
    height: 42px;
    width: auto;
}

.q-auth h1 {
    margin: 12px 0 18px;
    font-size: 22px;
    text-align: center;
}

.q-field {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid var(--q-line);
    border-radius: 12px;
    background: #fffcf8;
    color: var(--q-text);
    font-family: inherit;
    font-size: 15px;
    text-align: right;
}

.q-field:focus {
    outline: none;
    border-color: var(--q-gold) !important;
    box-shadow: 0 0 0 4px rgba(232, 176, 48, 0.16);
}

.q-error {
    display: block;
    margin: -6px 0 10px;
    color: #b4332a;
    font-size: 13px;
}

.q-auth-foot {
    margin: 8px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--q-line);
    text-align: center;
    color: var(--q-muted);
}

.q-auth-foot a {
    color: var(--q-gold-deep) !important;
    font-weight: 800;
}

.q-btn-block {
    width: 100%;
    min-height: 48px;
}

.q-buy {
    display: grid;
    gap: 14px;
    max-width: 720px;
    margin: 0 auto;
}

.q-buy-hero,
.q-summary,
.q-post {
    background: #fff;
    border: 1px solid var(--q-line);
    border-radius: 20px;
}

.q-buy-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
}

.q-buy-media {
    position: relative;
    flex: none;
}

.q-buy-hero img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 18px;
    background: #f6f3ee;
}

.q-fav {
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(232, 176, 48, 0.55);
    border-radius: 50%;
    background: #fff;
    color: var(--q-gold-deep);
    cursor: pointer;
}

.q-fav svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.q-fav.is-on {
    background: var(--q-gold);
    color: #12141c;
    border-color: var(--q-gold);
}

.q-fav.is-on svg {
    fill: currentColor;
}

.q-buy-hero h1 {
    margin: 0;
    font-size: 22px;
}

.q-price {
    margin: 6px 0 0;
    color: var(--q-gold-deep);
    font-size: 22px;
    font-weight: 800;
}

.q-memo {
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(232, 176, 48, 0.12);
    color: #7a5a12;
    line-height: 1.7;
}

.q-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0ebe3;
}

.q-summary > div:last-child {
    border-bottom: 0;
}

.q-pill {
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
}

.q-pill-price { background: rgba(180, 51, 42, 0.1); color: #b4332a; }
.q-pill-ok { background: rgba(30, 122, 69, 0.12); color: #1e7a45; }
.q-pill-later { background: rgba(232, 176, 48, 0.2); color: #8a6410; }

.q-post {
    padding: 16px;
    line-height: 1.8;
}

.q-post h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.q-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: end center;
    background: rgba(18, 20, 28, 0.55);
}

.q-modal article {
    width: min(480px, 100%);
    padding: 22px 18px 28px;
    background: #fff;
    border-radius: 22px 22px 0 0;
    text-align: center;
}

@media (min-width: 700px) {
    .q-modal { place-items: center; }
    .q-modal article { border-radius: 22px; }
}

@media (max-width: 520px) {
    .q-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .q-page-head h1,
    .q-buy-hero h1 { font-size: 20px; }
    .q-buy-hero img { width: 88px; height: 88px; }
}

html.dark .q-tile,
html.dark .q-auth,
html.dark .q-buy-hero,
html.dark .q-summary,
html.dark .q-post,
html.dark .q-modal article {
    background: #1b1714;
    border-color: #2d2722;
    color: #f4efe8;
}

html.dark .q-tile img,
html.dark .q-buy-hero img {
    background: #12100e;
}

html.dark .q-field {
    background: #12100e;
    color: #f4efe8;
    border-color: #3a342e;
}

html.dark .q-summary > div {
    border-bottom-color: #2d2722;
}

html.dark .q-auth-foot,
html.dark .q-memo {
    color: #d9c48a;
    border-color: #2d2722;
}

.q-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.q-filters .q-field {
    margin: 0;
}

.q-filters select {
    width: 38%;
    flex: none;
}

.q-table-wrap,
.q-panel,
.q-item,
.q-upload,
.q-status {
    background: #fff;
    border: 1px solid var(--q-line);
    border-radius: 18px;
}

.q-table-wrap {
    overflow-x: auto;
}

.q-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.q-table th,
.q-table td {
    padding: 12px 10px;
    text-align: right;
    vertical-align: middle;
    border-bottom: 1px solid #f0ebe3;
}

.q-table th {
    color: var(--q-muted);
    font-size: 13px;
    font-weight: 700;
}

.q-table tbody tr {
    cursor: pointer;
}

.q-table img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 10px;
    background: #f6f3ee;
}

.q-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.q-badge-wait { background: rgba(232, 176, 48, 0.18); color: #8a6410; }
.q-badge-ok { background: rgba(30, 122, 69, 0.12); color: #1e7a45; }
.q-badge-no { background: rgba(180, 51, 42, 0.1); color: #b4332a; }
.q-badge-auto { background: rgba(70, 90, 180, 0.12); color: #3d4ea8; }

.q-dialog {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(18, 20, 28, 0.55);
}

.q-dialog[style*="display: block"],
.q-dialog[style*="display:block"] {
    display: grid !important;
    place-items: end center;
}

.q-dialog article {
    width: min(520px, 100%);
    max-height: 88vh;
    overflow: auto;
    padding: 18px 16px 28px;
    background: #fff;
    border-radius: 22px 22px 0 0;
}

.q-dialog header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.q-dialog header button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f3efe8;
    color: var(--q-text);
    font-size: 20px;
    cursor: pointer;
}

.q-dialog img {
    display: block;
    width: 88px;
    height: 88px;
    margin: 0 auto 12px;
    object-fit: cover;
    border-radius: 18px;
}

.q-feed {
    display: grid;
    gap: 10px;
}

.q-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
}

.q-item img,
.q-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: cover;
    flex: none;
}

.q-mark {
    display: grid;
    place-items: center;
    font-size: 18px;
}

.q-mark-up { background: rgba(30, 122, 69, 0.12); color: #1e7a45; }
.q-mark-down { background: rgba(180, 51, 42, 0.1); color: #b4332a; }

.q-item p { margin: 0 0 4px; line-height: 1.6; }
.q-item small,
.q-item time { color: var(--q-muted); font-size: 12px; }
.q-up { color: #1e7a45; font-weight: 800; }
.q-down { color: #b4332a; font-weight: 800; }

.q-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.q-tabs button {
    min-height: 44px;
    border: 1px solid var(--q-line);
    border-radius: 12px;
    background: #fff;
    color: var(--q-text);
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
}

.q-tabs button.is-on {
    background: #12141c;
    color: #fff;
    border-color: #12141c;
}

.q-panel { overflow: hidden; }
.q-panel img { display: block; width: 100%; max-height: 280px; object-fit: cover; }
.q-panel h2,
.q-pay-grid h2 { margin: 0; padding: 14px 16px; font-size: 18px; }
.q-panel .q-body { padding: 0 16px 16px; line-height: 1.8; }

.q-pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.q-note {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(232, 176, 48, 0.14);
    color: #7a5a12;
    line-height: 1.7;
}

.q-upload {
    position: relative;
    padding: 18px 12px;
    text-align: center;
    border-style: dashed;
}

.q-upload input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.q-upload img {
    max-width: 100%;
    border-radius: 12px;
}

.q-status {
    width: min(480px, 100%);
    margin: 24px auto;
    padding: 28px 20px;
    text-align: center;
}

.q-status h1 { margin: 8px 0; font-size: 24px; }
.q-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.q-pager a { min-width: 36px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--q-line); color: var(--q-text) !important; text-decoration: none !important; text-align: center; }
.q-pager a.is-on { background: #12141c; color: #fff !important; border-color: #12141c; }
.q-pager a.is-off { opacity: 0.45; }

.q-prose h2 { margin: 18px 0 8px; font-size: 20px; }
.q-prose p { line-height: 1.9; color: var(--q-text); }

@media (min-width: 700px) {
    .q-dialog[style*="display: block"],
    .q-dialog[style*="display:block"] { place-items: center; }
    .q-dialog article { border-radius: 22px; }
}

html.dark .q-table-wrap,
html.dark .q-panel,
html.dark .q-item,
html.dark .q-upload,
html.dark .q-status,
html.dark .q-dialog article,
html.dark .q-tabs button,
html.dark .q-pager a {
    background: #1b1714;
    border-color: #2d2722;
    color: #f4efe8;
}

html.dark .q-table th,
html.dark .q-table td { border-bottom-color: #2d2722; color: #f4efe8; }
html.dark .q-tabs button.is-on,
html.dark .q-pager a.is-on { background: var(--q-gold); color: #12141c !important; border-color: var(--q-gold); }
html.dark .q-dialog header button { background: #2a241e; color: #f4efe8; }

/* Quieter, heavier type. style7 forces weight 400 and centered cells. */
#app.q-shell h1,
#app.q-shell h2,
#app.q-shell h3,
#app.q-shell strong,
#app.q-shell b,
.q-btn,
.q-kicker,
.q-badge,
.q-price,
.q-nav a,
.q-tile-body strong {
    font-weight: 700 !important;
}

#app.q-shell h1,
#app.q-shell h2 {
    font-weight: 800 !important;
    letter-spacing: 0;
}

.q-table th,
.q-table td {
    text-align: right !important;
}

::selection {
    background: rgba(232, 176, 48, 0.35);
}

.q-header {
    height: 64px;
    box-shadow: inset 0 -1px 0 #e6e2da, inset 0 -2px 0 var(--q-gold);
}

body.q-body {
    --q-header: 64px;
}

#app.q-shell #sidebar::before,
#app.q-shell #sidebar::after,
.q-home::before {
    display: none;
}

#app.q-shell #sidebar .q-nav i,
#app.q-shell #sidebar .q-theme i {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 10px;
    background: rgba(232, 176, 48, 0.1);
    box-shadow: none;
    font-size: 14px;
}

.q-kicker {
    letter-spacing: 0;
    font-size: 13px;
}

.q-home,
.q-page {
    width: min(1080px, 100%);
    margin-inline: auto;
}

.q-page-head h1,
.q-section-head h2,
.q-pay h2 {
    font-size: 24px;
}

.q-cat {
    background: #fff;
    border: 1px solid #ece7df;
    box-shadow: none;
}

.q-cat:hover {
    transform: none;
    border-color: var(--q-gold);
    box-shadow: 0 10px 24px rgba(18, 20, 28, 0.06);
}

.q-tile {
    box-shadow: none;
    border-color: #ece7df;
}

.q-tile:hover {
    transform: none;
    border-color: var(--q-gold);
}

.q-tile-body strong {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13.5px;
}

.q-tile-body em {
    font-size: 13px;
}

.q-slider {
    border-width: 1px;
    border-color: rgba(232, 176, 48, 0.28);
    box-shadow: none;
}

.q-pay {
    padding: 22px;
    border-radius: 18px;
    background: #16181f;
}

.q-note {
    border: 0;
    border-inline-start: 2px solid var(--q-gold);
    border-radius: 0 14px 14px 0;
    background: #fff;
}

.q-note header {
    justify-content: space-between;
}

.q-label {
    display: grid;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    font-weight: 700 !important;
    color: var(--q-muted);
}

.q-field {
    background: #f7f5f2;
    border-color: transparent;
}

input[type="number"].q-field {
    direction: ltr;
    text-align: right;
}

.q-btn-block {
    border-radius: 14px;
}

.q-buy {
    gap: 0;
    padding: 6px;
    background: #fff;
    border: 1px solid #ece7df;
    border-radius: 20px;
}

.q-buy-hero,
.q-summary {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.q-summary {
    margin: 4px 8px 8px;
    border-top: 1px solid #f0ebe3;
}

.q-buy .q-field,
.q-buy .q-label,
.q-buy .q-memo,
.q-buy .q-btn {
    margin: 8px;
}

.q-buy .q-label .q-field {
    margin: 0;
}

.q-buy .q-post {
    margin: 8px;
    border: 0;
    border-top: 1px solid #f0ebe3;
    border-radius: 0;
    background: transparent;
}

.q-orders {
    display: grid;
    gap: 8px;
}

.q-order {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #ece7df;
    border-radius: 14px;
    cursor: pointer;
}

.q-order img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 12px;
    background: #f6f3ee;
}

.q-order-copy {
    min-width: 0;
}

.q-order-copy strong,
.q-order-copy time {
    display: block;
}

.q-order-copy strong {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.q-order-copy time {
    margin-top: 3px;
    color: var(--q-muted);
    font-size: 12px;
}

.q-order-end {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.q-order-end b {
    font-size: 14px;
}

.q-prose {
    max-width: 68ch;
}

.q-prose h1,
.q-page-head h1 {
    font-size: 26px;
}

.q-auth {
    box-shadow: 0 12px 32px rgba(18, 20, 28, 0.05);
}

html.dark .q-cat,
html.dark .q-order,
html.dark .q-buy,
html.dark .q-note {
    background: #1b1714;
    border-color: #2d2722;
    color: #f4efe8;
}

html.dark .q-field {
    background: #12100e;
}

html.dark .q-header {
    box-shadow: inset 0 -1px 0 rgba(232, 176, 48, 0.45);
}

.q-find {
    position: relative;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 0 14px;
    min-height: 48px;
    background: #fff;
    border: 1px solid #ece7df;
    border-radius: 14px;
}

.q-find i { color: var(--q-gold-deep); }

.q-find input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--q-text);
    font-family: inherit;
    font-size: 15px;
    text-align: right;
}

.q-find input:focus { outline: none; }

.q-find-clear {
    display: none;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--q-muted);
    font-size: 18px;
    cursor: pointer;
}

.q-find.has-value .q-find-clear { display: grid; place-items: center; }

.q-suggest {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 50;
    max-height: min(360px, 60vh);
    overflow: auto;
    background: #fff;
    border: 1px solid #ece7df;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(18, 20, 28, 0.12);
}

.q-suggest p,
.q-find-meta {
    margin: 0;
    padding: 12px 14px;
    color: var(--q-muted);
    font-size: 13px;
}

.q-suggest a,
.q-hit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--q-text) !important;
    text-decoration: none !important;
}

.q-suggest a.is-active,
.q-suggest a:hover,
.q-hit:hover { background: rgba(232, 176, 48, 0.12); }

.q-suggest img,
.q-hit img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 10px;
    background: #f6f3ee;
    flex: none;
}

.q-suggest strong,
.q-hit strong,
.q-suggest small,
.q-hit small { display: block; }

.q-suggest small,
.q-hit small { color: var(--q-muted); font-size: 12px; }

.q-suggest mark,
.q-hit mark {
    background: rgba(232, 176, 48, 0.35);
    color: inherit;
    border-radius: 3px;
}

.q-suggest-more {
    justify-content: center;
    color: var(--q-gold-deep) !important;
    font-weight: 800 !important;
    border-top: 1px solid #f0ebe3;
}

.q-suggest .is-off,
.q-hit.is-off { opacity: 0.6; }

.q-hits {
    display: grid;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #ece7df;
    border-radius: 16px;
    overflow: hidden;
}

.q-hit + .q-hit { border-top: 1px solid #f3efe8; }

.q-find-start {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.q-find-start a {
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ece7df;
    color: var(--q-text) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700 !important;
}

html.dark .q-suggest,
html.dark .q-hits,
html.dark .q-find-start a {
    background: #1b1714;
    border-color: #2d2722;
    color: #f4efe8;
}

html.dark .q-suggest-more,
html.dark .q-hit + .q-hit { border-color: #2d2722; }

.q-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 10px;
}

.q-rail a,
.q-rail > .is-off {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 6px;
    min-width: 0;
    color: var(--q-text) !important;
    text-decoration: none !important;
    text-align: center;
}

.q-rail em {
    position: absolute;
    top: 78px;
    right: 8px;
    left: 8px;
    margin: 0;
    padding: 2px 0;
    border-radius: 999px;
    background: rgba(18, 20, 28, 0.72);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.q-rail img {
    width: 100%;
    max-width: 76px;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #ece7df;
    background: #fff;
}

.q-rail span span,
.q-rail a > span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600 !important;
    line-height: 1.35;
    max-height: 2.7em;
    overflow: hidden;
}

@media (min-width: 700px) {
    .q-rail {
        grid-template-columns: repeat(4, 112px);
        justify-content: start;
    }

    .q-rail img { max-width: 88px; }
}

.q-rail .is-off { opacity: 0.55; filter: grayscale(1); }

.q-find-title {
    margin: 18px 0 10px;
    font-size: 18px;
}

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

.q-steps article {
    padding: 14px;
    background: #fff;
    border: 1px solid #ece7df;
    border-radius: 16px;
}

.q-steps b {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: rgba(232, 176, 48, 0.16);
    color: var(--q-gold-deep);
}

.q-steps strong,
.q-steps span { display: block; }
.q-steps span { margin-top: 4px; color: var(--q-muted); font-size: 13px; line-height: 1.6; }

.q-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.q-price small { color: var(--q-muted); font-size: 12px; font-weight: 700; }

.q-dock {
    display: none;
}

@media (max-width: 992px) {
    body.q-body { padding-bottom: 74px; }

    .q-dock {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 45;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: end;
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 252, 248, 0.96);
        border: 0;
        border-top: 1px solid #ece7df;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -10px 28px rgba(18, 20, 28, 0.06);
        backdrop-filter: blur(12px);
        transition: transform 0.28s ease;
    }

    .q-dock a {
        display: grid;
        justify-items: center;
        align-content: center;
        gap: 3px;
        min-height: 52px;
        color: #8a847c !important;
        text-decoration: none !important;
        font-size: 11px;
        font-weight: 600 !important;
        line-height: 1;
    }

    .q-dock i {
        width: 22px;
        height: 22px;
        display: grid;
        place-items: center;
        font-size: 16px;
    }

    .q-dock a.is-on { color: #16181f !important; }
    .q-dock a.is-on i { color: var(--q-gold-deep); }
    .q-dock a.is-on::after {
        content: "";
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: var(--q-gold);
    }
    .q-steps { grid-template-columns: 1fr; }
}

html.dark .q-fav { background: #1b1714; }
html.dark .q-fav.is-on { background: var(--q-gold); color: #12141c; }

html.dark .q-find,
html.dark .q-rail img,
html.dark .q-steps article,
html.dark .q-dock {
    background: #1b1714;
    border-color: #2d2722;
    color: #f4efe8;
}

html.dark .q-find input { color: #f4efe8; }
html.dark .q-dock a.is-on { color: #f4efe8 !important; }
html.dark .q-dock a.is-on i { color: var(--q-gold); }
html.dark .q-dock a.is-on::after { background: var(--q-gold); }

.q-product {
    width: min(560px, 100%);
    padding-bottom: 108px;
}

.q-sheet {
    display: grid;
    gap: 18px;
    padding: 20px 18px 18px;
    background: #fff;
    border: 1px solid #e8e3da;
    border-radius: 24px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 16px 40px rgba(18, 20, 28, 0.05);
}

.q-sheet-id {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1ece4;
}

.q-product .q-buy-media {
    width: 108px;
    height: 108px;
    padding: 5px;
    border-radius: 30px;
    background: linear-gradient(160deg, #f6d98a, #fff 42%, #f3eee6);
}

.q-product .q-buy-media img,
.q-sheet-id img {
    width: 100%;
    height: 98px;
    border-radius: 25px;
    object-fit: cover;
    box-shadow: none;
}

.q-product h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700 !important;
    line-height: 1.25;
    letter-spacing: 0;
}

.q-offer {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 8px 0 6px;
}

.q-offer b,
.q-product b,
.q-buybar strong {
    font-weight: 800 !important;
}

.q-offer b {
    font-size: 30px;
    color: #16181f;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    line-height: 1;
}

.q-offer span {
    color: var(--q-gold-deep);
    font-size: 13px;
    font-weight: 600 !important;
}

.q-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1e7a45;
    font-size: 13px;
    font-weight: 600 !important;
}

.q-stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.q-stock.is-off { color: #b4332a; }

.q-product .q-label {
    gap: 8px;
    font-size: 12px;
    font-weight: 600 !important;
    color: #8a847c;
}

.q-product .q-field {
    min-height: 56px;
    padding: 0 16px;
    background: #fff;
    border: 1.5px solid #e4dfd6 !important;
    border-radius: 16px;
    color: #16181f;
    font-size: 17px;
    font-weight: 500 !important;
}

.q-product .q-field::placeholder { color: #b7b1a8; font-weight: 500 !important; }

.q-product input[type="number"]::-webkit-outer-spin-button,
.q-product input[type="number"]::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.q-step {
    direction: ltr;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    height: 56px;
    overflow: hidden;
    background: #fff;
    border: 1.5px solid #e4dfd6;
    border-radius: 16px;
}

.q-step:focus-within {
    border-color: var(--q-gold);
    box-shadow: 0 0 0 4px rgba(232, 176, 48, 0.16);
}

.q-step button {
    border: 0;
    background: #f7f4ee;
    color: #16181f;
    font-size: 22px;
    font-weight: 500;
    cursor: pointer;
}

.q-step .q-field {
    min-height: 0;
    height: 100%;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    text-align: center;
    direction: ltr;
    font-size: 18px;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.q-product .q-memo {
    margin: 0;
    padding: 0;
    background: none;
    color: #8a847c;
    font-size: 13px;
    font-weight: 500 !important;
    line-height: 1.7;
}

.q-product .q-memo::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 1px;
    margin-left: 8px;
    background: var(--q-gold);
    vertical-align: middle;
}

.q-product .q-post {
    margin-top: 22px;
    padding: 0 2px;
    background: transparent;
    border: 0;
    color: #6d675f;
    font-size: 14px;
    line-height: 1.85;
}

#app.q-shell .q-product .q-post h2,
#app.q-shell .q-product .q-post h3,
#app.q-shell .q-product .q-post h4 {
    margin: 14px 0 6px;
    color: #16181f;
    font-size: 16px;
    font-weight: 700 !important;
    text-align: right;
}

#app.q-shell .q-product h1 {
    font-weight: 700 !important;
}

.q-receipt {
    display: grid;
    gap: 0;
    padding-top: 4px;
    border-top: 1px solid #f0ebe3;
}

.q-receipt div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 42px;
    font-size: 14px;
}

.q-receipt b { font-variant-numeric: tabular-nums; font-weight: 700 !important; }

.q-fund {
    justify-self: start;
    color: var(--q-gold-deep) !important;
    font-size: 14px;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.q-buybar {
    position: sticky;
    bottom: 16px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 10px 10px 10px 16px;
    background: rgba(255, 252, 248, 0.96);
    border: 1px solid #ece7df;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(18, 20, 28, 0.08);
}

.q-buybar span { display: block; color: var(--q-muted); font-size: 12px; }
.q-buybar strong {
    font-size: 20px;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
}

.q-buybar .q-btn {
    flex: 1;
    min-height: 52px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700 !important;
}

.q-buybar .q-btn-gold {
    background: linear-gradient(180deg, #f2c85a, #e0a41d);
    color: #1a1408 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.q-buybar .q-btn.is-wait,
.q-buybar .q-btn:disabled {
    background: #d9d3c8;
    color: #6d675f !important;
}

.q-modal article,
.q-dialog article {
    padding: 18px 18px 22px;
    text-align: center;
}

.q-modal article::before,
.q-dialog article::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin: 0 auto 14px;
    border-radius: 99px;
    background: rgba(232, 176, 48, 0.7);
}

.q-sheet-mark {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: rgba(232, 176, 48, 0.16);
    box-shadow: inset 0 0 0 1.5px var(--q-gold);
}

.q-sheet-mark::after {
    content: "";
    width: 16px;
    height: 9px;
    border-left: 2px solid var(--q-gold-deep);
    border-bottom: 2px solid var(--q-gold-deep);
    transform: rotate(-45deg) translate(1px, -1px);
}

.q-modal h2,
.q-dialog header strong {
    font-size: 20px;
    font-weight: 800 !important;
}

.q-modal p { margin: 8px 0 16px; color: var(--q-muted); line-height: 1.7; }

@media (max-width: 992px) {
    body.q-body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .q-product { padding-bottom: 150px; }
    .q-buybar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(68px + env(safe-area-inset-bottom));
        margin: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }
}

html.dark .q-sheet,
html.dark .q-buybar {
    background: #1b1714;
    border-color: #2d2722;
    color: #f4efe8;
}

html.dark .q-sheet-id { border-bottom-color: #2d2722; }
html.dark .q-offer b,
html.dark #app.q-shell .q-product h1,
html.dark #app.q-shell .q-product .q-post,
html.dark #app.q-shell .q-product .q-post h2,
html.dark #app.q-shell .q-product .q-post h3,
html.dark #app.q-shell .q-product .q-post h4,
html.dark #app.q-shell .q-product .q-post strong,
html.dark .q-prose,
html.dark .q-prose p,
html.dark .q-prose li,
html.dark .q-prose h1,
html.dark .q-prose h2,
html.dark .q-prose h3,
html.dark .q-page-head,
html.dark .q-page-head h1,
html.dark .q-section-head h2,
html.dark .q-auth h1,
html.dark .q-status,
html.dark .q-status h1,
html.dark .q-pager a:not(.is-on),
html.dark .q-product .q-label,
html.dark .q-receipt,
html.dark .q-receipt span,
html.dark .q-receipt b,
html.dark .q-buybar,
html.dark .q-buybar strong {
    color: #f4efe8 !important;
}
html.dark .q-product .q-field,
html.dark .q-step {
    background: #12100e;
    border-color: #3a342e !important;
    color: #f4efe8;
}
html.dark .q-step button { background: #241f1b; color: #f4efe8; }
html.dark .q-product .q-post,
html.dark .q-product .q-memo { color: #c9c0b4; }
html.dark .q-product .q-post h2 { color: #f7f2ea; }

html.dark .q-receipt { border-top-color: #2d2722; }

.q-catalog-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
}

.q-catalog-4 .q-tile {
    border-radius: 16px;
    box-shadow: none;
}

.q-catalog-4 .q-tile img {
    aspect-ratio: 1;
    border-bottom: 1px solid #f1ece4;
}

.q-catalog-4 .q-tile-body {
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 8px 6px 10px;
}

.q-catalog .q-tile,
.q-catalog-4 .q-tile {
    height: auto;
    align-self: start;
}

.q-catalog-4 .q-tile-body strong {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700 !important;
}

.q-catalog-4 .q-tile-body em {
    font-size: 12px;
    font-weight: 700 !important;
}

@media (min-width: 993px) {
    .q-catalog,
    .q-catalog-4 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 16px 12px;
    }
}

@media (max-width: 992px) {
    .q-catalog-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 8px;
    }

    .q-catalog-4 .q-tile { border-radius: 14px; }
    .q-catalog-4 .q-tile-body { padding: 8px 6px 10px; }
    .q-catalog-4 .q-tile-body strong,
    .q-catalog-4 .q-tile-body em { font-size: 12px; }
}

html.dark .q-catalog-4 .q-tile img { border-bottom-color: #2d2722; }

html.dark .q-tile,
html.dark .q-tile-body,
html.dark .q-tile-body strong,
html.dark .q-rail a,
html.dark .q-rail a > span,
html.dark .q-hit,
html.dark .q-hit strong,
html.dark .q-suggest a,
html.dark .q-suggest strong,
html.dark .q-find-start a {
    color: #f4efe8 !important;
}
html.dark .q-dock a.is-on { color: #f7f2ea !important; }
