/* ==========================================================================
   AGHAHI — GOLD MARKETPLACE
   Mobile-first stylesheet
   Palette: warm ivory / champagne gold / charcoal
   ========================================================================== */

:root {
    --ink: #29251f;
    --ink-soft: #51483b;
    --muted: #898177;
    --line: #eeeae3;
    --line-strong: #e3dccf;
    --paper: #fbfaf7;
    --card: #ffffff;
    --accent: #a88952;
    --accent-dark: #80663b;
    --accent-deep: #62502f;
    --gold-soft: #f5f0e6;
    --gold-pale: #faf7f0;
    --success: #526b56;
    --danger: #9f4650;
    --shadow-soft: 0 12px 34px rgba(48, 40, 27, .055);
    --shadow-card: 0 8px 24px rgba(48, 40, 27, .045);
    --radius: 2px;
    --shell-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
    -webkit-text-size-adjust: 100%;
}

body.AgahiPage {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.AgahiPage a {
    color: inherit;
}

body.AgahiPage a.AgahiGlass,
body.AgahiPage button.AgahiGlass,
body.AgahiPage a.AgahiGlass:visited,
body.AgahiPage a.AgahiGlass:hover,
body.AgahiPage button.AgahiGlass:hover {
    color: #fff;
}

body.AgahiPage a.AgahiGlass.is-ghost,
body.AgahiPage button.AgahiGlass.is-ghost,
body.AgahiPage a.AgahiGlass.is-ghost:visited,
body.AgahiPage a.AgahiGlass.is-ghost:hover,
body.AgahiPage button.AgahiGlass.is-ghost:hover,
body.AgahiPage a.AgahiGlassSecondary,
body.AgahiPage a.AgahiGlassSecondary:visited,
body.AgahiPage label.AgahiGlass.is-choice {
    background: #fff;
    color: #51483b;
}

body.AgahiPage a.AgahiLuxuryCreate,
body.AgahiPage a.AgahiLuxuryCreate:visited,
body.AgahiPage a.AgahiLuxuryCreate:hover {
    background: #171915;
    color: #e3c993;
}

body.AgahiPage button,
body.AgahiPage input,
body.AgahiPage select,
body.AgahiPage textarea {
    color: inherit;
    font: inherit;
}

body.AgahiPage button {
    cursor: pointer;
}

body.AgahiPage img {
    max-width: 100%;
}

body.AgahiPage :focus-visible {
    outline: 2px solid rgba(168, 137, 82, .75);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Shared layout
   -------------------------------------------------------------------------- */

.AgahiShell {
    width: min(100%, var(--shell-width));
    margin-inline: auto;
    padding: 16px 15px 104px;
}

.AgahiMain {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.AgahiTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 52px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.AgahiBrand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -.45px;
    text-decoration: none;
}

.AgahiNav {
    display: none;
    align-items: center;
    gap: 24px;
}

.AgahiNav a {
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
    transition: color .2s ease;
}

.AgahiNav a:hover {
    color: var(--accent-dark);
}

.AgahiArticle {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--card);
}

.AgahiArticle h1 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: clamp(22px, 5vw, 30px);
    font-weight: 650;
    letter-spacing: -.7px;
    line-height: 1.65;
}

.AgahiArticle p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2.1;
}

/* --------------------------------------------------------------------------
   Homepage — hero
   -------------------------------------------------------------------------- */

.AgahiHome {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.AgahiHome .AgahiHero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 360px;
    align-items: center;
    overflow: hidden;
    padding: 34px 24px;
    border: 1px solid #e9e1d2;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.8), transparent 28%),
        linear-gradient(135deg, #f7f3eb 0%, #eee7da 100%);
}

.AgahiHeroContent {
    position: relative;
    z-index: 3;
    width: min(100%, 650px);
}

.AgahiHeroEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.AgahiHeroDot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(168, 137, 82, .12);
}

.AgahiHome .AgahiHero h1 {
    max-width: 590px;
    margin: 0 0 12px;
    color: #302a20;
    font-size: clamp(27px, 7vw, 43px);
    font-weight: 650;
    letter-spacing: -1.2px;
    line-height: 1.55;
}

.AgahiHome .AgahiHero p {
    max-width: 510px;
    margin: 0;
    color: #786f62;
    font-size: 13px;
    line-height: 2.15;
}

.AgahiHome .AgahiActions {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.AgahiGlass,
button.AgahiGlass {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border: 1px solid #302b23;
    border-radius: var(--radius);
    background: #302b23;
    color: #fff;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.AgahiGlass:hover,
button.AgahiGlass:hover {
    transform: translateY(-1px);
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #fff;
}

.AgahiGlass:active,
button.AgahiGlass:active {
    transform: translateY(0);
}

.AgahiGlass.is-ghost,
a.AgahiGlass.is-ghost,
.AgahiGlassSecondary {
    border-color: #d8cebd;
    background: rgba(255,255,255,.38);
    color: #51483b;
}

.AgahiGlass.is-ghost:hover,
.AgahiGlassSecondary:hover {
    border-color: var(--accent);
    background: #fff;
    color: var(--accent-dark);
}

.AgahiGlass.is-choice {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

.AgahiGlass.is-choice:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

.AgahiGlassPrimary {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #fff;
}

.AgahiGlassPrimary:hover {
    border-color: var(--accent-deep);
    background: var(--accent-deep);
}

.AgahiHeroArtwork {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: -34px;
    width: 310px;
    height: 310px;
    transform: translateY(-50%);
    pointer-events: none;
}

.AgahiHeroOrbit {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(168, 137, 82, .25);
    border-radius: 50%;
}

.AgahiHeroOrbit::before,
.AgahiHeroOrbit::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(168, 137, 82, .2);
    border-radius: 50%;
}

.AgahiHeroOrbit::before {
    inset: 25px;
}

.AgahiHeroOrbit::after {
    inset: 52px;
}

.AgahiHeroSymbol {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 132px;
    height: 132px;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(168, 137, 82, .48);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(245,240,230,.72));
    box-shadow: 0 16px 50px rgba(95, 75, 39, .09), inset 0 0 0 8px rgba(255,255,255,.35);
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -3px;
}

.AgahiHeroPurity {
    position: absolute;
    right: 50%;
    bottom: 22px;
    transform: translateX(50%);
    color: #958363;
    font-family: Georgia, serif;
    font-size: 9px;
    letter-spacing: 3px;
    white-space: nowrap;
}

.AgahiHeroFooter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 23px;
    color: #8b806e;
    font-size: 10px;
    letter-spacing: .8px;
}

.AgahiHeroFooter::before {
    width: 28px;
    height: 1px;
    background: #b9a47d;
    content: "";
}

/* --------------------------------------------------------------------------
   Homepage — small information / utility strip
   -------------------------------------------------------------------------- */

.AgahiHome .AgahiUtility,
.AgahiUtility {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.72);
}

.AgahiUtilityText {
    color: var(--muted);
    font-size: 11px;
}

.AgahiUtility a,
.AgahiTermsLink {
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.AgahiUtility a:hover,
.AgahiTermsLink:hover {
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   Homepage — listing section heading
   -------------------------------------------------------------------------- */

.AgahiListingSection {
    display: grid;
    gap: 17px;
    min-width: 0;
}

.AgahiSectionHeading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
}

.AgahiSectionKicker {
    display: block;
    margin-bottom: 4px;
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    direction: ltr;
    text-align: right;
}

.AgahiSectionHeading h2 {
    margin: 0;
    color: var(--ink);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.55px;
    line-height: 1.6;
}

.AgahiSectionMark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid #e6dcc9;
    background: var(--gold-pale);
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 15px;
    letter-spacing: -1px;
}

/* --------------------------------------------------------------------------
   Filters
   -------------------------------------------------------------------------- */

.AgahiFilters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    padding: 14px 15px;
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: 0 5px 18px rgba(48,40,27,.025);
}

.AgahiFilters select,
.AgahiForm input,
.AgahiForm textarea,
.AgahiForm select {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 9px 2px;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    outline: none;
    background-color: transparent;
    color: var(--ink);
    font-size: 12px;
    transition: border-color .2s ease;
}

.AgahiFilters select {
    cursor: pointer;
}

.AgahiFilters select:focus,
.AgahiForm input:focus,
.AgahiForm textarea:focus,
.AgahiForm select:focus {
    border-bottom-color: var(--accent);
}

.AgahiFilters select option,
.AgahiForm select option {
    background: #fff;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   Listing grid and cards
   -------------------------------------------------------------------------- */

.AgahiGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.AgahiGrid > li {
    min-width: 0;
}

.AgahiHome .AgahiCard,
.AgahiCard {
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--card);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 2px 9px rgba(48,40,27,.018);
    transition:
        border-color .22s ease,
        box-shadow .22s ease,
        transform .22s ease;
}

.AgahiHome .AgahiCard:hover,
.AgahiCard:hover {
    transform: translateY(-3px);
    border-color: #d9c8a8;
    box-shadow: var(--shadow-card);
}

.AgahiCardMedia {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f2eee6;
}

.AgahiCardMedia > img,
.AgahiCover,
.AgahiCard img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f2eee6;
}

.AgahiCardMedia > img {
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.AgahiCard:hover .AgahiCardMedia > img {
    transform: scale(1.045);
}

.AgahiCardBody,
.AgahiCard > span {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 11px 10px 12px;
}

.AgahiCardBadges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    min-height: 20px;
    margin-bottom: 5px;
}

.AgahiKind {
    display: inline-flex;
    min-height: 20px;
    align-items: center;
    padding: 2px 7px;
    border: 1px solid #e9dfcd;
    background: var(--gold-pale);
    color: var(--accent-dark);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.AgahiKind.is-buy {
    border-color: #dce6dc;
    background: #f3f7f1;
    color: #526b56;
}

.AgahiKind.is-expired {
    border-color: #ead8d8;
    background: #faf2f2;
    color: var(--danger);
}

.AgahiKind:last-child {
    margin-left: 0;
}

.AgahiCard strong {
    display: -webkit-box;
    overflow: hidden;
    width: 100%;
    margin: 2px 0 7px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.9;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.AgahiCard em {
    display: block;
    overflow: hidden;
    width: 100%;
    margin-top: auto;
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
    line-height: 1.8;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.AgahiCardMeta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f2eee8;
    color: var(--muted);
    font-size: 10px;
}

.AgahiCardPrice {
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
}

.AgahiCard.is-expired {
    opacity: .72;
}

.AgahiCard.is-expired .AgahiCardMedia > img,
.AgahiCard.is-expired img,
.Slide.is-expired img {
    filter: grayscale(1);
}

.AgahiCard.is-expired strong {
    color: var(--muted);
}

.AgahiMeta,
.AgahiEmpty,
.AgahiFoot {
    color: var(--muted);
    font-size: 11px;
}

.AgahiEmpty {
    margin: 0;
    padding: 34px 18px;
    border: 1px dashed var(--line-strong);
    background: rgba(255,255,255,.6);
    text-align: center;
    line-height: 2.1;
}

/* --------------------------------------------------------------------------
   Homepage footer
   -------------------------------------------------------------------------- */

.AgahiHomeFooter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    color: #a39a8d;
    font-family: Georgia, serif;
    font-size: 9px;
    letter-spacing: 1.7px;
    direction: ltr;
}

.AgahiHomeFooter span:last-child {
    color: var(--muted);
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 10px;
    letter-spacing: 0;
    direction: rtl;
}

/* --------------------------------------------------------------------------
   General buttons and choices
   -------------------------------------------------------------------------- */

.AgahiActions,
.AgahiChoices {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.AgahiChoices {
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Image slider
   -------------------------------------------------------------------------- */

.Slide {
    position: relative;
    overflow: hidden;
    background: #f2eee6;
}

.SlideTrack {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.SlideTrack::-webkit-scrollbar {
    display: none;
}

.SlideTrack img {
    width: 100%;
    height: 72vw;
    max-height: 460px;
    flex: 0 0 100%;
    object-fit: cover;
    scroll-snap-align: center;
    background: #f2eee6;
}

.SlideBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 11px;
}

.SlideBar button {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.SlideBar button:hover {
    border-color: var(--accent);
    background: var(--gold-pale);
    color: var(--accent-dark);
}

/* --------------------------------------------------------------------------
   Forms, validation and status messages
   -------------------------------------------------------------------------- */

.AgahiForm {
    display: grid;
    gap: 15px;
}

.AgahiForm label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
}

.AgahiForm textarea {
    min-height: 110px;
    resize: vertical;
}

.AgahiForm input[type="checkbox"],
.AgahiForm input[type="radio"] {
    width: auto;
    min-height: 0;
    accent-color: var(--accent-dark);
}

.AgahiForm button,
.AgahiForm [type="submit"] {
    justify-self: start;
}

.AgahiOk {
    color: var(--success);
    font-size: 12px;
}

.AgahiErr {
    color: var(--danger);
    font-size: 12px;
}

.AgahiForm .is-invalid,
.AgahiForm [aria-invalid="true"] {
    border-bottom-color: var(--danger);
}

/* --------------------------------------------------------------------------
   Terms and long-form content
   -------------------------------------------------------------------------- */

.AgahiTerms {
    color: #625b51;
    font-family: inherit;
    font-size: 13px;
    line-height: 2.2;
    white-space: pre-wrap;
}

.AgahiTerms a {
    color: var(--accent-dark);
}

/* --------------------------------------------------------------------------
   Gold information panel
   -------------------------------------------------------------------------- */

.AgahiGold {
    position: fixed;
    z-index: 20;
    bottom: 78px;
    left: 12px;
    width: max-content;
    max-width: min(240px, calc(100vw - 24px));
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.96);
    box-shadow: 0 5px 25px rgba(41,37,31,.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.AgahiGold strong {
    display: block;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.AgahiGold pre {
    margin: 5px 0 0;
    color: var(--muted);
    font: inherit;
    font-size: 11px;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* --------------------------------------------------------------------------
   Bottom navigation
   -------------------------------------------------------------------------- */

.AgahiDock {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -5px 22px rgba(41,37,31,.035);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.AgahiDock a {
    display: flex;
    min-height: 59px;
    align-items: center;
    justify-content: center;
    padding: 9px 4px;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.AgahiDock a.is-on {
    background: linear-gradient(180deg, transparent, rgba(245,240,230,.55));
    color: var(--accent-dark);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Ledger / tables
   -------------------------------------------------------------------------- */

.AgahiLedger {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.AgahiLedger th,
.AgahiLedger td {
    padding: 11px 7px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-weight: 400;
    text-align: right;
    vertical-align: middle;
}

.AgahiLedger th {
    background: var(--gold-pale);
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Responsive — small phones
   -------------------------------------------------------------------------- */

@media (max-width: 380px) {
    .AgahiShell {
        padding-inline: 12px;
    }

    .AgahiHome {
        gap: 19px;
    }

    .AgahiHome .AgahiHero {
        min-height: 340px;
        padding: 26px 17px;
    }

    .AgahiHome .AgahiHero h1 {
        max-width: 100%;
        font-size: 25px;
    }

    .AgahiHome .AgahiHero p {
        max-width: 92%;
        font-size: 12px;
    }

    .AgahiHeroArtwork {
        right: -105px;
        opacity: .48;
    }

    .AgahiHome .AgahiActions {
        gap: 7px;
    }

    .AgahiGlass,
    button.AgahiGlass {
        min-height: 42px;
        padding-inline: 12px;
        font-size: 11px;
    }

    .AgahiGrid {
        gap: 9px;
    }

    .AgahiCardBody,
    .AgahiCard > span {
        padding: 9px 8px 10px;
    }

    .AgahiCard strong {
        font-size: 11px;
    }

    .AgahiKind {
        padding-inline: 5px;
        font-size: 8px;
    }
}

/* --------------------------------------------------------------------------
   Responsive — tablet and desktop
   -------------------------------------------------------------------------- */

@media (min-width: 600px) {
    .AgahiShell {
        padding: 22px 22px 58px;
    }

    .AgahiTop {
        margin-bottom: 28px;
        padding-bottom: 17px;
    }

    .AgahiNav {
        display: flex;
    }

    .AgahiMain {
        gap: 25px;
    }

    .AgahiHome {
        gap: 27px;
    }

    .AgahiHome .AgahiHero {
        min-height: 390px;
        padding: 46px 42px;
    }

    .AgahiHeroArtwork {
        right: 2%;
        width: 340px;
        height: 340px;
    }

    .AgahiHome .AgahiHero p {
        max-width: 480px;
    }

    .AgahiFilters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        padding: 13px 20px;
    }

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

    .AgahiCardBody,
    .AgahiCard > span {
        padding: 13px 12px 14px;
    }

    .AgahiCard strong {
        font-size: 13px;
    }

    .AgahiCard em {
        font-size: 11px;
    }

    .AgahiDock {
        display: none;
    }

    .AgahiShell {
        padding-bottom: 48px;
    }

    .AgahiGold {
        bottom: 20px;
    }

    .AgahiArticle {
        padding: 30px;
    }
}

@media (min-width: 900px) {
    .AgahiShell {
        width: min(100%, 1160px);
        padding-inline: 30px;
    }

    .AgahiHome .AgahiHero {
        min-height: 420px;
        padding: 54px 56px;
    }

    .AgahiHome .AgahiHero h1 {
        font-size: 42px;
    }

    .AgahiHeroArtwork {
        right: 5%;
        width: 380px;
        height: 380px;
    }

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

    .AgahiListingSection {
        gap: 20px;
    }

    .AgahiSectionHeading h2 {
        font-size: 24px;
    }
}

/* --------------------------------------------------------------------------
   Accessibility and motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .AgahiPage *,
    .AgahiPage *::before,
    .AgahiPage *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* ==========================================================================
   AUTH PAGE — LOGIN
   ========================================================================== */

.AgahiAuth {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
    padding: 25px 19px;
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

/* Header */

.AgahiAuthHeader {
    padding-bottom: 23px;
    border-bottom: 1px solid var(--line);
}

.AgahiAuthEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    direction: ltr;
}

.AgahiAuthDot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(168, 137, 82, .12);
}

.AgahiAuthHeader h1 {
    margin: 0 0 9px;
    color: var(--ink);
    font-size: clamp(23px, 5vw, 29px);
    font-weight: 700;
    letter-spacing: -.7px;
    line-height: 1.7;
}

.AgahiAuthHeader p {
    max-width: 440px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 2.1;
}

/* Messages */

.AgahiAuthMessages {
    display: grid;
    gap: 8px;
    margin-top: 17px;
}

.AgahiAuthMessage {
    margin: 0;
    padding: 11px 13px;
    border: 1px solid var(--line);
    font-size: 11px;
    line-height: 1.9;
}

.AgahiAuthMessage.is-success {
    border-color: #dce8dc;
    background: #f5f8f3;
    color: var(--success);
}

.AgahiAuthMessage.is-error {
    border-color: #ecdada;
    background: #fcf5f4;
    color: var(--danger);
}

.AgahiAuthMessage.is-otp {
    overflow-wrap: anywhere;
    border-color: #e9dfcd;
    background: var(--gold-pale);
    color: var(--accent-dark);
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
}

/* Form layout */

.AgahiAuthForms {
    display: grid;
    gap: 13px;
    margin-top: 21px;
}

.AgahiAuthPanel {
    min-width: 0;
    padding: 17px 15px;
    border: 1px solid var(--line);
    background: #fff;
}

.AgahiAuthPanelSecondary {
    background: #fdfcf9;
}

.AgahiAuthPanelHeading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
}

.AgahiAuthStep {
    display: grid;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    place-items: center;
    border: 1px solid #e9dfcd;
    background: var(--gold-pale);
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 12px;
}

.AgahiAuthPanelHeading h2 {
    margin: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

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

/* Input fields */

.AgahiAuthForm {
    gap: 15px;
}

.AgahiAuthField {
    display: grid;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 600;
}

.AgahiAuthField input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    outline: none;
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.AgahiAuthField input::placeholder {
    color: #b5aea3;
    font-size: 11px;
}

.AgahiAuthField input:focus {
    border-color: var(--accent);
    background: #fffefa;
    box-shadow: 0 0 0 3px rgba(168, 137, 82, .08);
}

.AgahiAuthField input[dir="ltr"] {
    text-align: left;
    letter-spacing: .5px;
}

/* Submit buttons */

.AgahiAuthSubmit {
    display: flex;
    width: 100%;
    min-height: 47px;
    justify-content: space-between;
    padding-inline: 15px;
}

.AgahiAuthSubmit.is-ghost,
.AgahiAuthSubmit.is-ghost:hover {
    background: transparent;
    color: var(--accent-dark);
}

.AgahiAuthArrow {
    font-size: 17px;
    line-height: 1;
    transition: transform .2s ease;
}

.AgahiAuthSubmit:hover .AgahiAuthArrow,
.AgahiAuthTelegram:hover .AgahiAuthArrow {
    transform: translateX(-3px);
}

/* Telegram alternative */

.AgahiAuthAlternative {
    margin-top: 22px;
}

.AgahiAuthDivider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #a69d90;
    font-size: 10px;
}

.AgahiAuthDivider::before,
.AgahiAuthDivider::after {
    height: 1px;
    flex: 1;
    background: var(--line);
    content: "";
}

.AgahiAuthTelegram {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    background: var(--gold-pale);
    color: var(--ink);
    text-decoration: none;
    transition:
        border-color .2s ease,
        background .2s ease;
}

.AgahiAuthTelegram:hover {
    border-color: #d8c7a7;
    background: #f8f3e9;
}

.AgahiAuthTelegramIcon {
    display: grid;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    place-items: center;
    border: 1px solid #e6dac5;
    background: #fff;
    color: var(--accent-dark);
    font-size: 17px;
}

.AgahiAuthTelegram > span:nth-child(2) {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 3px;
}

.AgahiAuthTelegram strong {
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
}

.AgahiAuthTelegram small {
    color: var(--muted);
    font-size: 10px;
}

.AgahiAuthTelegram .AgahiAuthArrow {
    color: var(--accent-dark);
}

/* Footer */

.AgahiAuthFooter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    color: #a39a8d;
    font-size: 9px;
}

.AgahiAuthFooterLine {
    width: 25px;
    height: 1px;
    background: var(--line-strong);
}

/* Responsive */

@media (min-width: 600px) {
    .AgahiAuth {
        padding: 34px;
    }

    .AgahiAuthHeader {
        padding-bottom: 27px;
    }

    .AgahiAuthForms {
        gap: 15px;
    }

    .AgahiAuthPanel {
        padding: 20px;
    }

    .AgahiAuthHeader h1 {
        font-size: 29px;
    }
}

@media (max-width: 380px) {
    .AgahiAuth {
        padding: 21px 14px;
    }

    .AgahiAuthPanel {
        padding: 14px 12px;
    }

    .AgahiAuthTelegram {
        gap: 9px;
        padding-inline: 10px;
    }
}











/* ==========================================================================
   CREATE LISTING PAGE
   ========================================================================== */

.AgahiCreate {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
    padding: 23px 16px;
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

/* Header */

.AgahiCreateHeader {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.AgahiCreateEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    direction: ltr;
}

.AgahiCreateDot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(168,137,82,.12);
}

.AgahiCreateHeader h1 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: clamp(23px, 5vw, 30px);
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: -.7px;
}

.AgahiCreateHeader p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 2.1;
}

/* Feedback */

.AgahiCreateMessage {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    font-size: 11px;
    line-height: 2;
}

.AgahiCreateMessage.is-success {
    border-color: #dce8dc;
    background: #f5f8f3;
    color: var(--success);
}

.AgahiCreateMessage.is-error {
    border-color: #ecdada;
    background: #fcf5f4;
    color: var(--danger);
}

/* Payment */

.AgahiCreatePayment {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #e8dcc7;
    background: var(--gold-pale);
}

.AgahiCreatePayment strong {
    color: var(--accent-dark);
    font-size: 13px;
}

.AgahiCreatePayment p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.AgahiCreatePayButton {
    justify-content: space-between;
}

/* Form */

.AgahiCreateForm {
    gap: 0;
    margin-top: 5px;
}

.AgahiCreateSection {
    min-width: 0;
    padding: 23px 0;
    border-bottom: 1px solid var(--line);
}

.AgahiCreateSectionHeading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
}

.AgahiCreateNumber {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid #e9dfcd;
    background: var(--gold-pale);
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 12px;
}

.AgahiCreateSectionHeading h2 {
    margin: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

.AgahiCreateSectionHeading p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.9;
}

/* Radio options */

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

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

.AgahiCreateOption {
    position: relative;
    display: flex;
    min-width: 0;
    cursor: pointer;
}

.AgahiCreateOption input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.AgahiCreateOptionContent {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.AgahiCreateTypeOption {
    min-height: 116px;
    align-items: stretch;
    padding: 14px 12px;
    border: 1px solid var(--line);
    background: #fff;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.AgahiCreateTypeOption:hover {
    border-color: #d9c8a8;
    background: #fdfbf7;
}

.AgahiCreateOptionIcon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #e9dfcd;
    background: var(--gold-pale);
    color: var(--accent-dark);
    font-size: 16px;
}

.AgahiCreateTypeOption strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.AgahiCreateTypeOption small {
    color: var(--muted);
    font-size: 10px;
}

.AgahiCreateCheck {
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: transparent;
    font-size: 10px;
    transition: all .2s ease;
}

.AgahiCreateTypeOption > .AgahiCreateCheck {
    position: absolute;
    top: 11px;
    left: 11px;
}

.AgahiCreateOption:has(input:checked) {
    border-color: var(--accent);
    background: var(--gold-pale);
    box-shadow: inset 0 0 0 1px rgba(168,137,82,.12);
}

.AgahiCreateOption:has(input:checked) .AgahiCreateCheck {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #fff;
}

.AgahiCreateOption:focus-within {
    outline: 2px solid rgba(168,137,82,.35);
    outline-offset: 3px;
}

/* Compact choice chips */

.AgahiCreateChip {
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-soft);
    font-size: 11px;
    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease;
}

.AgahiCreateChip:hover {
    border-color: #d9c8a8;
    color: var(--accent-dark);
}

.AgahiCreateChip .AgahiCreateCheck {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    font-size: 9px;
}

/* Upload */

.AgahiCreateUpload {
    position: relative;
    display: flex;
    min-height: 145px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    border: 1px dashed #d8c9ae;
    background: var(--gold-pale);
    cursor: pointer;
    text-align: center;
    transition:
        border-color .2s ease,
        background .2s ease;
}

.AgahiCreateUpload:hover {
    border-color: var(--accent);
    background: #f7f1e5;
}

.AgahiCreateUpload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.AgahiCreateUpload:focus-within {
    outline: 2px solid rgba(168,137,82,.4);
    outline-offset: 3px;
}

.AgahiCreateUploadIcon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #e4d8c3;
    background: #fff;
    color: var(--accent-dark);
    font-size: 22px;
    line-height: 1;
}

.AgahiCreateUpload strong {
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.AgahiCreateUpload small {
    color: var(--muted);
    font-size: 10px;
}

.AgahiCreatePhotoInfo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 10px;
}

.AgahiCreatePhotoInfo strong {
    color: var(--accent-dark);
    font-weight: 700;
}

/* Preview container */

.AgahiCreatePreview {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 13px;
}

.AgahiCreatePreview:not(:empty) {
    display: grid;
}

.AgahiCreatePreviewItem {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    background: #f2eee6;
}

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

.AgahiCreatePreviewItem span {
    position: absolute;
    right: 5px;
    bottom: 5px;
    left: 5px;
    overflow: hidden;
    padding: 3px 5px;
    background: rgba(41,37,31,.72);
    color: #fff;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Submit */

.AgahiCreateSubmitArea {
    display: grid;
    gap: 12px;
    padding-top: 22px;
}

.AgahiCreateSubmitArea p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.9;
}

.AgahiCreateSubmit {
    width: 100%;
    min-height: 51px;
    justify-content: space-between;
    padding-inline: 17px;
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 650;
}

.AgahiCreateSubmit:hover {
    border-color: var(--accent-deep);
    background: var(--accent-deep);
}

.AgahiCreateSubmit > span:last-child {
    font-size: 18px;
}

/* Footer */

.AgahiCreateFooter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 24px;
    color: #a39a8d;
    font-family: Georgia, serif;
    font-size: 9px;
    letter-spacing: 2px;
    direction: ltr;
}

.AgahiCreateFooter span {
    width: 27px;
    height: 1px;
    background: var(--line-strong);
}

/* Responsive */

@media (min-width: 600px) {
    .AgahiCreate {
        padding: 34px;
    }

    .AgahiCreateHeader {
        padding-bottom: 27px;
    }

    .AgahiCreateSection {
        padding: 27px 0;
    }

    .AgahiCreateTypeGrid {
        gap: 15px;
    }

    .AgahiCreateTypeOption {
        min-height: 125px;
        padding: 17px;
    }

    .AgahiCreateUpload {
        min-height: 165px;
    }

    .AgahiCreatePreview {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .AgahiCreatePayment {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .AgahiCreatePayButton {
        min-width: 190px;
    }
}

@media (max-width: 380px) {
    .AgahiCreate {
        padding: 20px 13px;
    }

    .AgahiCreateSection {
        padding: 20px 0;
    }

    .AgahiCreateTypeGrid {
        gap: 7px;
    }

    .AgahiCreateTypeOption {
        min-height: 108px;
        padding: 11px 9px;
    }

    .AgahiCreateTypeOption > .AgahiCreateCheck {
        top: 8px;
        left: 8px;
    }

    .AgahiCreateChip {
        padding-inline: 9px;
        font-size: 10px;
    }

    .AgahiCreatePreview {
        gap: 6px;
    }
}














/* ==========================================================================
   GLOBAL LAYOUT — HEADER / FOOTER / NAVIGATION
   ========================================================================== */

/* Header */

.AgahiTop {
    position: relative;
    z-index: 30;
    width: 100%;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
}

.AgahiHeaderInner {
    display: flex;
    width: 100%;
    max-width: 1240px;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-inline: auto;
    padding: 12px 18px;
}

/* Brand */

.AgahiBrand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
}

.AgahiBrandMark {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border: 1px solid #e4d7bd;
    background: var(--gold-pale);
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -1px;
}

.AgahiBrandText {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.AgahiBrandText strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.AgahiBrandText small {
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 8px;
    letter-spacing: 1.8px;
    direction: ltr;
}

/* Desktop Navigation */

.AgahiNav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.AgahiNav > a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.AgahiNav > a:hover,
.AgahiNav > a[aria-current="page"] {
    color: var(--accent-dark);
    background: var(--gold-pale);
}

.AgahiNav > .AgahiNavCreate {
    border: 1px solid var(--accent-dark);
    background: var(--accent-dark);
    color: #fff;
}

.AgahiNav > .AgahiNavCreate:hover {
    background: var(--accent-deep);
    color: #fff;
}

.AgahiNavCreateIcon {
    font-size: 17px;
    line-height: 1;
}

.AgahiNav > .AgahiNavAccount {
    border: 1px solid var(--line);
    color: var(--ink);
}

.AgahiNavAccountIcon {
    color: var(--accent-dark);
    font-size: 15px;
}

/* Main */

.AgahiMain {
    width: 100%;
    min-height: 65vh;
    flex: 1;
}

/* Footer */

.AgahiFoot {
    width: 100%;
    margin-top: auto;
    border-top: 1px solid var(--line);
    background: #fff;
}

.AgahiFootInner {
    display: flex;
    width: 100%;
    max-width: 1240px;
    min-height: 95px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-inline: auto;
    padding: 18px;
}

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

.AgahiFootMark {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid #e4d7bd;
    background: var(--gold-pale);
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 13px;
}

.AgahiFootBrand > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.AgahiFootBrand strong {
    color: var(--ink);
    font-size: 11px;
}

.AgahiFootBrand small {
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 7px;
    letter-spacing: 1.5px;
    direction: ltr;
}

.AgahiFootInner > p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 2;
}

.AgahiFootInner > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-dark);
    font-size: 10px;
    text-decoration: none;
}

.AgahiFootInner > a:hover {
    color: var(--ink);
}

/* Mobile Dock */

.AgahiDock {
    display: none;
}

/* Live Gold Rate */

.AgahiGold {
    position: fixed;
    z-index: 80;
    right: 18px;
    bottom: 18px;
    display: block;
    width: min(290px, calc(100vw - 36px));
    padding: 14px;
    border: 1px solid #e7dcc8;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 40px rgba(41, 37, 31, .09);
    backdrop-filter: blur(12px);
}

.AgahiGold[hidden] {
    display: none;
}

.AgahiGoldHeader {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line);
}

.AgahiGoldIcon {
    display: grid;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    place-items: center;
    border: 1px solid #e4d7bd;
    background: var(--gold-pale);
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 13px;
}

.AgahiGoldHeader > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.AgahiGoldHeader strong {
    color: var(--ink);
    font-size: 12px;
}

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

.AgahiGold pre {
    overflow: auto;
    max-width: 100%;
    margin: 11px 0 0;
    color: var(--accent-dark);
    font-family: Vazirmatn, sans-serif;
    font-size: 11px;
    line-height: 2;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Responsive Header */

@media (max-width: 760px) {

    .AgahiHeaderInner {
        min-height: 66px;
        padding: 10px 15px;
    }

    .AgahiBrandMark {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .AgahiBrandText strong {
        font-size: 12px;
    }

    .AgahiNav {
        gap: 2px;
    }

    .AgahiNav > a {
        min-height: 36px;
        padding-inline: 9px;
        font-size: 10px;
    }

    .AgahiNav > .AgahiNavAccount {
        display: none;
    }

    .AgahiFootInner {
        min-height: 85px;
    }

    .AgahiGold {
        right: 12px;
        bottom: 82px;
        width: min(260px, calc(100vw - 24px));
    }
}

/* Mobile First Navigation */

@media (max-width: 600px) {

    .AgahiHeaderInner {
        min-height: 62px;
        padding: 9px 14px;
    }

    .AgahiBrandMark {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .AgahiNav {
        gap: 4px;
    }

    .AgahiNav > a {
        display: none;
    }

    .AgahiNav > .AgahiNavCreate {
        display: inline-flex;
        min-height: 36px;
        padding-inline: 11px;
        font-size: 10px;
    }

    .AgahiMain {
        padding-bottom: 80px;
    }

    .AgahiFootInner {
        min-height: 100px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 9px;
        padding: 16px;
    }

    .AgahiFootInner > p {
        font-size: 9px;
    }

    .AgahiDock {
        position: fixed;
        z-index: 70;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: 1fr 1.15fr 1fr;
        min-height: 66px;
        align-items: center;
        padding: 7px 12px max(7px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -5px 25px rgba(41, 37, 31, .045);
        backdrop-filter: blur(15px);
    }

    .AgahiDockItem {
        display: flex;
        min-width: 0;
        min-height: 48px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: var(--muted);
        font-size: 9px;
        font-weight: 600;
        text-decoration: none;
    }

    .AgahiDockIcon {
        font-size: 19px;
        line-height: 1.2;
    }

    .AgahiDockCreate {
        color: var(--accent-dark);
    }

    .AgahiDockCreateIcon {
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border: 1px solid var(--accent-dark);
        background: var(--accent-dark);
        color: #fff;
        font-size: 21px;
        line-height: 1;
    }

    .AgahiDockCreate > span:last-child {
        font-weight: 700;
    }

    .AgahiGold {
        bottom: 82px;
    }
}

@media (max-width: 360px) {

    .AgahiBrandText strong {
        max-width: 150px;
    }

    .AgahiDock {
        padding-inline: 7px;
    }

    .AgahiGold {
        bottom: 78px;
    }
}

















/* ==========================================================================
   LUXURY GOLD MARKETPLACE
   Global layout
   ========================================================================== */

.AgahiLuxury {
    --lux-black: #171915;
    --lux-black-soft: #20221c;
    --lux-black-light: #292b23;
    --lux-gold: #c6a66b;
    --lux-gold-light: #e3c993;
    --lux-gold-dark: #947744;
    --lux-ivory: #fbfaf7;
    --lux-white: #fff;
    --lux-line: rgba(198,166,107,.22);

    background: var(--lux-ivory);
    color: #292820;
    font-family: Vazirmatn, sans-serif;
}

/* Topline */

.AgahiLuxuryTopline {
    position: relative;
    z-index: 32;
    background: var(--lux-black);
    color: #d7c8a8;
}

.AgahiLuxuryToplineInner {
    display: flex;
    max-width: 1320px;
    min-height: 31px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-inline: auto;
    padding: 5px 25px;
}

.AgahiLuxuryToplineLabel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 9px;
    letter-spacing: .1px;
}

.AgahiLuxuryToplineLabel i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lux-gold);
    box-shadow: 0 0 9px rgba(198,166,107,.55);
}

.AgahiLuxuryToplineEnglish {
    color: rgba(227,201,147,.6);
    font-family: Georgia, serif;
    font-size: 8px;
    letter-spacing: 2px;
    direction: ltr;
}

/* Header */

.AgahiLuxuryHeader {
    position: relative;
    z-index: 30;
    border-bottom: 1px solid #e9e4d9;
    background: #fff;
}

.AgahiLuxuryHeaderMain {
    display: grid;
    max-width: 1320px;
    min-height: 105px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-inline: auto;
    padding: 15px 25px;
}

/* Brand */

.AgahiLuxuryBrand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 14px;
    color: var(--lux-black);
    text-decoration: none;
}

.AgahiLuxuryLogo {
    position: relative;
    display: grid;
    width: 59px;
    height: 59px;
    flex: 0 0 59px;
    place-items: center;
    border: 1px solid var(--lux-gold-dark);
    outline: 1px solid rgba(198,166,107,.3);
    outline-offset: 4px;
    background: var(--lux-black);
    color: var(--lux-gold-light);
    font-family: Georgia, serif;
    font-size: 25px;
    letter-spacing: -2px;
}

.AgahiLuxuryLogo i {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 9px;
    height: 9px;
    border: 1px solid var(--lux-gold);
    background: var(--lux-ivory);
    transform: rotate(45deg);
}

.AgahiLuxuryBrandText {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.AgahiLuxuryBrandText strong {
    color: var(--lux-black);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}

.AgahiLuxuryBrandText small {
    color: var(--lux-gold-dark);
    font-family: Georgia, serif;
    font-size: 8px;
    letter-spacing: 2.4px;
    direction: ltr;
}

/* Header center */

.AgahiLuxuryHeaderCaption {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #898477;
    font-size: 10px;
}

.AgahiLuxuryHeaderCaptionLine {
    width: 31px;
    height: 1px;
    background: var(--lux-gold);
}

/* Account */

.AgahiLuxuryAccount {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-self: end;
    gap: 11px;
    padding: 9px 13px;
    border: 1px solid #eee9df;
    background: #fff;
    color: var(--lux-black);
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.AgahiLuxuryAccount:hover {
    border-color: var(--lux-gold);
    background: #fcfaf5;
}

.AgahiLuxuryAccountIcon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #e7dcc8;
    background: #f8f4ec;
    color: var(--lux-gold-dark);
    font-size: 19px;
}

.AgahiLuxuryAccount > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.AgahiLuxuryAccount small {
    color: #9b9589;
    font-size: 9px;
}

.AgahiLuxuryAccount strong {
    color: var(--lux-black);
    font-size: 10px;
    font-weight: 700;
}

/* Navigation */

.AgahiLuxuryNavigation {
    display: flex;
    max-width: 1320px;
    min-height: 57px;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    margin-inline: auto;
    padding: 0 25px;
    border-top: 1px solid #f1eee8;
}

.AgahiLuxuryNavigation .AgahiNav {
    display: flex;
    align-items: stretch;
    gap: 31px;
}

.AgahiLuxuryNavigation .AgahiNav > a {
    position: relative;
    display: inline-flex;
    min-height: 57px;
    align-items: center;
    gap: 9px;
    padding: 0;
    background: transparent;
    color: #6f6b60;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.AgahiLuxuryNavigation .AgahiNav > a::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--lux-gold-dark);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}

.AgahiLuxuryNavigation .AgahiNav > a:hover {
    color: var(--lux-gold-dark);
}

.AgahiLuxuryNavigation .AgahiNav > a:hover::after {
    transform: scaleX(1);
}

.AgahiLuxuryNavIndex {
    color: #b6a27d;
    font-family: Georgia, serif;
    font-size: 9px;
    letter-spacing: 1px;
}

/* Create button */

.AgahiLuxuryCreate {
    display: inline-flex;
    min-width: 176px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-block: 8px;
    padding: 0 14px;
    border: 1px solid var(--lux-black);
    background: var(--lux-black);
    color: var(--lux-gold-light);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.AgahiLuxuryCreate:hover {
    border-color: #3c3d32;
    background: #303127;
}

.AgahiLuxuryCreateIcon {
    font-size: 18px;
    font-weight: 400;
}

.AgahiLuxuryCreateArrow {
    margin-right: auto;
    color: #bba16d;
    font-size: 16px;
}

/* Gold ticker */

.AgahiLuxuryMarket {
    display: flex;
    max-width: 1270px;
    min-height: 69px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto 15px;
    padding: 11px 18px;
    border: 1px solid #e9dfcc;
    background: linear-gradient(105deg, #fbf8f1, #fff 55%, #f8f3e9);
}

.AgahiLuxuryMarket[hidden] {
    display: none;
}

.AgahiLuxuryMarketTitle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.AgahiLuxuryMarketPulse {
    position: relative;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #82916a;
}

.AgahiLuxuryMarketPulse::after {
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(130,145,106,.35);
    border-radius: 50%;
    content: "";
}

.AgahiLuxuryMarketTitle > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.AgahiLuxuryMarketTitle strong {
    color: var(--lux-black);
    font-size: 11px;
}

.AgahiLuxuryMarketTitle small {
    color: var(--lux-gold-dark);
    font-family: Georgia, serif;
    font-size: 8px;
    letter-spacing: 1.8px;
    direction: ltr;
}

.AgahiLuxuryMarketContent {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
}

.AgahiLuxuryMarketLabel {
    color: #9a9385;
    font-size: 9px;
}

.AgahiLuxuryMarketContent pre {
    overflow: auto;
    max-width: 75%;
    margin: 0;
    color: #65512f;
    font-family: Vazirmatn, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.AgahiLuxuryMarketSeal {
    display: grid;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    place-items: center;
    border: 1px solid #e3d4b8;
    color: #a88a52;
    font-family: Georgia, serif;
    font-size: 15px;
}

/* Main */

.AgahiLuxury .AgahiMain {
    width: 100%;
    min-height: 65vh;
    flex: 1;
}

/* Footer */

.AgahiLuxuryFooter {
    margin-top: 60px;
    border: 0;
    background: var(--lux-black);
    color: #fff;
}

.AgahiLuxuryFooterMain {
    display: grid;
    max-width: 1270px;
    min-height: 145px;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: center;
    gap: 25px;
    margin-inline: auto;
    padding: 25px;
}

.AgahiLuxuryFooterBrand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.AgahiLuxuryFooterLogo {
    display: grid;
    width: 49px;
    height: 49px;
    flex: 0 0 49px;
    place-items: center;
    border: 1px solid var(--lux-gold-dark);
    color: var(--lux-gold-light);
    font-family: Georgia, serif;
    font-size: 20px;
}

.AgahiLuxuryFooterBrand > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.AgahiLuxuryFooterBrand strong {
    color: #f7f2e8;
    font-size: 12px;
}

.AgahiLuxuryFooterBrand small {
    color: var(--lux-gold);
    font-family: Georgia, serif;
    font-size: 8px;
    letter-spacing: 2px;
    direction: ltr;
}

.AgahiLuxuryFooterDescription {
    padding-inline: 25px;
    border-right: 1px solid var(--lux-line);
}

.AgahiLuxuryFooterDescription > span {
    color: var(--lux-gold-light);
    font-size: 11px;
    font-weight: 600;
}

.AgahiLuxuryFooterDescription p {
    margin: 7px 0 0;
    color: #a9a79d;
    font-size: 10px;
    line-height: 2;
}

.AgahiLuxuryFooterLink {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid var(--lux-line);
    color: #e2d2b1;
    font-size: 10px;
    text-decoration: none;
    transition: background .2s ease;
}

.AgahiLuxuryFooterLink:hover {
    background: rgba(198,166,107,.1);
}

.AgahiLuxuryFooterLink > span:last-child {
    color: var(--lux-gold);
    font-size: 15px;
}

.AgahiLuxuryFooterBottom {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 8px 15px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #969386;
    font-size: 9px;
}

.AgahiLuxuryFooterBottom > span:first-child {
    color: #b9a275;
    font-family: Georgia, serif;
    font-size: 8px;
    letter-spacing: 1.8px;
    direction: ltr;
}

.AgahiLuxuryFooterOrnament {
    color: var(--lux-gold);
    font-size: 8px;
}

/* Mobile dock */

.AgahiLuxuryDock {
    display: none;
}

/* Responsive */

@media (max-width: 900px) {

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

    .AgahiLuxuryHeaderCaption {
        display: none;
    }

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

    .AgahiLuxuryFooterDescription {
        grid-column: 1 / -1;
        grid-row: 2;
        padding: 0;
        border: 0;
    }

    .AgahiLuxuryFooterLink {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 600px) {

    .AgahiLuxuryToplineInner {
        min-height: 27px;
        padding-inline: 14px;
    }

    .AgahiLuxuryToplineLabel {
        font-size: 8px;
    }

    .AgahiLuxuryToplineEnglish {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .AgahiLuxuryHeaderMain {
        min-height: 78px;
        gap: 10px;
        padding: 12px 16px;
    }

    .AgahiLuxuryLogo {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
        font-size: 20px;
    }

    .AgahiLuxuryBrand {
        gap: 12px;
    }

    .AgahiLuxuryBrandText strong {
        max-width: 160px;
        font-size: 12px;
    }

    .AgahiLuxuryBrandText small {
        font-size: 7px;
        letter-spacing: 1.5px;
    }

    .AgahiLuxuryAccount {
        gap: 7px;
        padding: 6px 8px;
    }

    .AgahiLuxuryAccountIcon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .AgahiLuxuryAccount small {
        font-size: 8px;
    }

    .AgahiLuxuryAccount strong {
        font-size: 9px;
    }

    .AgahiLuxuryNavigation {
        min-height: 46px;
        justify-content: center;
        padding-inline: 12px;
    }

    .AgahiLuxuryNavigation .AgahiNav {
        display: none;
    }

    .AgahiLuxuryNavigation .AgahiLuxuryCreate {
        width: 100%;
        min-height: 37px;
        margin: 5px 0;
    }

    .AgahiLuxuryMarket {
        min-height: 58px;
        gap: 9px;
        margin: 0 10px 10px;
        padding: 8px 10px;
    }

    .AgahiLuxuryMarketTitle {
        gap: 8px;
    }

    .AgahiLuxuryMarketTitle strong {
        font-size: 9px;
    }

    .AgahiLuxuryMarketTitle small {
        font-size: 7px;
    }

    .AgahiLuxuryMarketContent {
        gap: 5px;
    }

    .AgahiLuxuryMarketLabel {
        display: none;
    }

    .AgahiLuxuryMarketContent pre {
        max-width: 100%;
        font-size: 9px;
    }

    .AgahiLuxuryMarketSeal {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: 12px;
    }

    .AgahiLuxury .AgahiMain {
        padding-bottom: 84px;
    }

    .AgahiLuxuryFooter {
        margin-top: 35px;
    }

    .AgahiLuxuryFooterMain {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 18px;
    }

    .AgahiLuxuryFooterDescription {
        grid-column: auto;
        grid-row: auto;
        padding-top: 14px;
        border-top: 1px solid var(--lux-line);
    }

    .AgahiLuxuryFooterLink {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
    }

    .AgahiLuxuryFooterBottom {
        min-height: 39px;
        gap: 8px;
        font-size: 8px;
    }

    .AgahiLuxuryDock {
        position: fixed;
        z-index: 90;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        min-height: 69px;
        align-items: center;
        padding: 7px 7px max(7px, env(safe-area-inset-bottom));
        border-top: 1px solid #e8dfce;
        background: rgba(255,255,255,.97);
        box-shadow: 0 -8px 28px rgba(23,25,21,.07);
        backdrop-filter: blur(16px);
    }

    .AgahiLuxuryDockItem {
        display: flex;
        min-width: 0;
        min-height: 48px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #817b6e;
        font-size: 9px;
        font-weight: 600;
        text-decoration: none;
    }

    .AgahiLuxuryDockIcon {
        font-size: 19px;
        line-height: 1.2;
    }

    .AgahiLuxuryDockCreate {
        color: var(--lux-gold-dark);
    }

    .AgahiLuxuryDockCreateIcon {
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border: 1px solid var(--lux-gold-dark);
        background: var(--lux-black);
        color: var(--lux-gold-light);
        font-size: 20px;
        line-height: 1;
    }

    .AgahiLuxuryDockCreate > span:last-child {
        font-weight: 700;
    }
}

@media (max-width: 360px) {

    .AgahiLuxuryBrandText strong {
        max-width: 125px;
    }

    .AgahiLuxuryAccount {
        padding-inline: 6px;
    }

    .AgahiLuxuryAccount small {
        display: none;
    }

    .AgahiLuxuryMarketTitle small {
        letter-spacing: 1px;
    }
}

@media (max-width: 600px) {
    .AgahiLuxuryTopline,
    .AgahiLuxuryNavigation,
    .AgahiLuxuryHeaderCaption {
        display: none;
    }

    .AgahiLuxuryHeaderMain {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 64px;
        padding: 10px 14px;
    }

    .AgahiLuxury .AgahiMain {
        padding: 14px 14px 108px;
    }

    .AgahiLuxury .AgahiHero {
        min-height: 0;
        padding: 18px 16px;
    }

    .AgahiLuxury .AgahiHero h1 {
        font-size: 22px;
        line-height: 1.45;
    }

    .AgahiLuxury .AgahiHero p {
        font-size: 13px;
        line-height: 1.8;
    }

    .AgahiLuxury .AgahiActions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 14px;
    }

    .AgahiLuxury .AgahiFilters {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 6px 12px;
    }

    .AgahiLuxury .AgahiGrid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .AgahiLuxury .AgahiCard strong {
        font-size: 15px;
    }

    .AgahiLuxury .AgahiCard em {
        font-size: 12px;
    }

    .AgahiLuxuryFooter {
        margin-top: 20px;
    }

    .AgahiLuxuryDock {
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }
}

html.is-telegram body.AgahiPage {
    min-height: 100%;
}

html.is-telegram .AgahiLuxury .AgahiMain,
html.is-telegram .AgahiShell {
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

html.is-telegram .AgahiLuxuryDock,
html.is-telegram .AgahiDock {
    bottom: env(safe-area-inset-bottom);
}

body.AgahiPage a.AgahiLuxuryDockItem,
body.AgahiPage a.AgahiLuxuryDockItem:visited {
    color: #817b6e;
}

body.AgahiPage a.AgahiLuxuryDockCreate,
body.AgahiPage a.AgahiLuxuryDockCreate:visited {
    color: #947744;
}
