/* ===== SteamPrice Game Search – تم روشن، فونت کلمه ===== */
/* فونت کلمه (KalamehWebFaNum) از پوشه assets/fonts */
@font-face {
    font-family: 'KalamehWebFaNum';
    src: url('../fonts/kalameh/fonts/woff2/KalamehWebFaNum-Regular.woff2') format('woff2'),
         url('../fonts/kalameh/fonts/woff/KalamehWebFaNum-Regular.woff') format('woff'),
         url('../fonts/KalamehWebFaNum-Regular.woff2') format('woff2'),
         url('../fonts/KalamehWebFaNum-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KalamehWebFaNum';
    src: url('../fonts/kalameh/fonts/woff2/KalamehWebFaNum-Medium.woff2') format('woff2'),
         url('../fonts/kalameh/fonts/woff/KalamehWebFaNum-Medium.woff') format('woff'),
         url('../fonts/KalamehWebFaNum-Medium.woff2') format('woff2'),
         url('../fonts/KalamehWebFaNum-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KalamehWebFaNum';
    src: url('../fonts/kalameh/fonts/woff2/KalamehWebFaNum-SemiBold.woff2') format('woff2'),
         url('../fonts/kalameh/fonts/woff/KalamehWebFaNum-SemiBold.woff') format('woff'),
         url('../fonts/KalamehWebFaNum-SemiBold.woff2') format('woff2'),
         url('../fonts/KalamehWebFaNum-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KalamehWebFaNum';
    src: url('../fonts/kalameh/fonts/woff2/KalamehWebFaNum-Bold.woff2') format('woff2'),
         url('../fonts/kalameh/fonts/woff/KalamehWebFaNum-Bold.woff') format('woff'),
         url('../fonts/KalamehWebFaNum-Bold.woff2') format('woff2'),
         url('../fonts/KalamehWebFaNum-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.steamprice-game-search-fullpage {
    --steam-fa: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    --steam-fb: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
}

/* بلوک featured حذف شده؛ اگر هنوز در HTML المنتور/کش مانده باشد نمایش داده نشود */
.steamprice-game-search-fullpage #steamprice-featured-games {
    display: none !important;
}

/* داخل المنتور: محتوا عرض ویجت/ستون والد را پر کند — بدون لغو عرض کانتینر سفارشی */
.elementor .steamprice-game-search-fullpage,
.elementor .steamprice-recent-searches.steamprice-recent-searches--standalone,
.elementor .steamprice-steam-deals.steamprice-steam-deals--standalone {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    left: auto;
    right: auto;
    position: relative;
    box-sizing: border-box;
}

/* ویجت اختصاصی استیم پرایس — فقط داخل باکس خود ویجت بکشد، نه override عرض کانتینر */
.elementor-element.elementor-widget-steamprice-recent-searches,
.elementor-element.elementor-widget-steamprice-steam-deals,
.elementor-element.elementor-widget-steamprice-game-search {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.elementor-element.elementor-widget-steamprice-recent-searches > .elementor-widget-container,
.elementor-element.elementor-widget-steamprice-steam-deals > .elementor-widget-container,
.elementor-element.elementor-widget-steamprice-game-search > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    box-sizing: border-box;
}

/* شورتکد داخل ویجت متن / شورتکد — نه روی .e-con والد */
.elementor-widget-text-editor.elementor-element:has(.steamprice-game-search-fullpage),
.elementor-widget-text-editor.elementor-element:has(.steamprice-recent-searches--standalone),
.elementor-widget-text-editor.elementor-element:has(.steamprice-steam-deals--standalone),
.elementor-widget-shortcode.elementor-element:has(.steamprice-game-search-fullpage),
.elementor-widget-shortcode.elementor-element:has(.steamprice-recent-searches--standalone),
.elementor-widget-shortcode.elementor-element:has(.steamprice-steam-deals--standalone) {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.elementor-widget-text-editor.elementor-element:has(.steamprice-game-search-fullpage) > .elementor-widget-container,
.elementor-widget-text-editor.elementor-element:has(.steamprice-recent-searches--standalone) > .elementor-widget-container,
.elementor-widget-text-editor.elementor-element:has(.steamprice-steam-deals--standalone) > .elementor-widget-container,
.elementor-widget-shortcode.elementor-element:has(.steamprice-game-search-fullpage) > .elementor-widget-container,
.elementor-widget-shortcode.elementor-element:has(.steamprice-recent-searches--standalone) > .elementor-widget-container,
.elementor-widget-shortcode.elementor-element:has(.steamprice-steam-deals--standalone) > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    box-sizing: border-box;
}

.elementor .steamprice-game-search-fullpage {
    padding-left: 0;
    padding-right: 0;
}

/* پس‌زمینه بیرونی شفاف (بدون رنگ) — کارت‌های داخلی همان استایل قبلی را دارند */
.steamprice-game-search-fullpage {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px 16px 0;
    box-sizing: border-box;
    background: transparent;
    font-family: var(--steam-fb);
}

/* بلوک وسط: سرچ + بیشترین بازیکن – تمام عرض داخل fullpage */
.steamprice-game-search-fullpage .steamprice-layout-center {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 48px;
    box-sizing: border-box;
}

.steamprice-game-search-fullpage .steamprice-game-search-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    direction: rtl;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 8px 0 0;
    font-family: var(--steam-fb);
    font-size: 15px;
    line-height: 1.6;
    color: #1e293b;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    box-sizing: border-box;
}
/* ترتیب: جستجو → نتایج → قیمت‌ها */
.steamprice-game-search-fullpage .steamprice-game-search-wrap > .steamprice-search-box {
    order: 0;
    flex-shrink: 0;
}
.steamprice-game-search-fullpage .steamprice-game-search-wrap > #steamprice-search-results {
    order: 1;
    flex-shrink: 0;
}
.steamprice-game-search-fullpage .steamprice-game-search-wrap > #steamprice-game-prices {
    order: 2;
    flex-shrink: 0;
}

/* لوگو بالای کادر جستجو – تمام عرض ردیف خودش تا وسط قرار بگیرد */
.steamprice-game-search-fullpage .steamprice-search-logo-wrap {
    width: 100%;
    flex-shrink: 0;
    text-align: center;
    margin-bottom: 20px;
}
.steamprice-game-search-fullpage .steamprice-search-logo {
    max-height: 64px;
    width: auto;
    display: inline-block;
}

/* جستجو — کارت روشن، مینیمال و هماهنگ با نتایج/جدول قیمت */
.steamprice-game-search-fullpage .steamprice-search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
    min-height: 52px;
    padding: 0;
    overflow: visible;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 6px 20px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.steamprice-game-search-fullpage .steamprice-search-box:focus-within {
    border-color: #0ea5e9;
    box-shadow:
        0 0 0 3px rgba(14, 165, 233, 0.14),
        0 8px 24px rgba(14, 165, 233, 0.1);
}
.steamprice-game-search-fullpage .steamprice-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 52px;
    margin: 0;
    padding: 0;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
    border-radius: 12px 0 0 12px;
}
.steamprice-game-search-fullpage .steamprice-search-box:focus-within .steamprice-search-icon {
    color: #0ea5e9;
}
.steamprice-game-search-fullpage .steamprice-search-input {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin: 0;
    padding-block: 14px;
    padding-inline-start: 18px;
    padding-inline-end: 8px;
    font-size: 1rem;
    font-family: var(--steam-fa);
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.4;
    border: none;
    border-radius: 12px;
    direction: rtl;
    text-align: right;
    background: transparent;
    color: #0f172a;
    box-sizing: border-box;
    caret-color: #0ea5e9;
    -webkit-appearance: none;
    appearance: none;
    transition: color 0.2s ease;
}
.steamprice-game-search-fullpage .steamprice-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
.steamprice-game-search-fullpage .steamprice-search-input:focus {
    outline: none;
    color: #0f172a;
}
.steamprice-game-search-fullpage .steamprice-search-input:focus::placeholder {
    color: #cbd5e1;
}
.steamprice-game-search-fullpage .steamprice-region-select-wrap {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    border-inline-end: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
}
.steamprice-game-search-fullpage .steamprice-search-box:focus-within .steamprice-region-select-wrap {
    border-inline-end-color: rgba(14, 165, 233, 0.25);
    background: #f0f9ff;
}
.steamprice-game-search-fullpage .steamprice-region-picker {
    position: relative;
    min-width: 118px;
    max-width: 188px;
}
.steamprice-game-search-fullpage .steamprice-region-picker-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 10px 0 12px;
    font-family: var(--steam-fa);
    color: #0f172a;
    background: transparent;
    border: none;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    direction: rtl;
    text-align: right;
}
.steamprice-game-search-fullpage .steamprice-region-picker-btn:focus {
    outline: none;
}
.steamprice-game-search-fullpage .steamprice-region-picker-btn:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: -2px;
}
.steamprice-game-search-fullpage .steamprice-region-picker-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.steamprice-game-search-fullpage .steamprice-region-picker-label .steamprice-region-cell {
    gap: 6px;
}
.steamprice-game-search-fullpage .steamprice-region-picker-label .steamprice-region-name {
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.steamprice-game-search-fullpage .steamprice-region-picker-btn .steamprice-region-flag-img {
    width: 22px;
    height: 16px;
}
.steamprice-game-search-fullpage .steamprice-region-picker-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #64748b;
    transition: transform 0.2s ease, color 0.2s ease;
}
.steamprice-game-search-fullpage .steamprice-region-picker.is-open .steamprice-region-picker-chevron {
    transform: rotate(180deg);
    color: #0ea5e9;
}
.steamprice-game-search-fullpage .steamprice-region-picker-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    z-index: 50;
    min-width: 100%;
    width: max-content;
    max-width: min(280px, 92vw);
    max-height: 280px;
    margin: 0;
    padding: 6px;
    list-style: none;
    overflow: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.12),
        0 2px 8px rgba(15, 23, 42, 0.06);
    box-sizing: border-box;
}
.steamprice-game-search-fullpage .steamprice-region-picker-option {
    display: block;
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.steamprice-game-search-fullpage .steamprice-region-picker-option:hover,
.steamprice-game-search-fullpage .steamprice-region-picker-option.is-selected {
    background: #f0f9ff;
}
.steamprice-game-search-fullpage .steamprice-region-picker-option .steamprice-region-cell {
    gap: 8px;
}
.steamprice-game-search-fullpage .steamprice-region-picker-option .steamprice-region-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
}
.steamprice-game-search-fullpage .steamprice-region-flag-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}
.steamprice-game-search-fullpage .steamprice-region-picker-option .steamprice-region-flag-emoji {
    width: 28px;
    height: 21px;
    font-size: 1.125rem;
}
.steamprice-game-search-fullpage .steamprice-region-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* حذف دکمهٔ clear پیش‌فرض WebKit در type=search */
.steamprice-game-search-fullpage .steamprice-search-input::-webkit-search-cancel-button,
.steamprice-game-search-fullpage .steamprice-search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}
.steamprice-game-search-fullpage .steamprice-search-input:-webkit-autofill,
.steamprice-game-search-fullpage .steamprice-search-input:-webkit-autofill:hover,
.steamprice-game-search-fullpage .steamprice-search-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #0f172a;
    caret-color: #0ea5e9;
    box-shadow: 0 0 0 40px #ffffff inset;
    transition: background-color 99999s ease-out;
}
@media (max-width: 480px) {
    .steamprice-game-search-fullpage .steamprice-search-box {
        min-height: 48px;
        border-radius: 10px;
    }
    .steamprice-game-search-fullpage .steamprice-search-icon {
        width: 44px;
        height: 48px;
        border-radius: 10px 0 0 10px;
    }
    .steamprice-game-search-fullpage .steamprice-search-input {
        min-height: 48px;
        font-size: 0.9375rem;
        padding-inline-end: 14px;
    }
    .steamprice-game-search-fullpage .steamprice-region-select-wrap {
        border-radius: 0 10px 10px 0;
    }
    .steamprice-game-search-fullpage .steamprice-region-picker {
        min-width: 96px;
        max-width: 148px;
    }
    .steamprice-game-search-fullpage .steamprice-region-picker-btn {
        min-height: 48px;
        padding: 0 8px 0 10px;
        border-radius: 0 10px 10px 0;
    }
    .steamprice-game-search-fullpage .steamprice-region-picker-label .steamprice-region-name {
        font-size: 0.75rem;
    }
    .steamprice-game-search-fullpage .steamprice-region-picker-option .steamprice-region-name {
        font-size: 0.8125rem;
    }
}

/* آخرین جستجوها — شورتکد [steamprice_recent_searches] در هر جای صفحه */
.steamprice-recent-searches.steamprice-recent-searches--standalone {
    --steam-fa: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    --steam-fb: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    --steam-recent-gap: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    direction: rtl;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 20px 0 28px;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    container-type: inline-size;
    container-name: sp-recent;
}
@media (min-width: 480px) {
    .steamprice-recent-searches.steamprice-recent-searches--standalone {
        --steam-recent-gap: 16px;
    }
}
@media (min-width: 900px) {
    .steamprice-recent-searches.steamprice-recent-searches--standalone {
        --steam-recent-gap: 18px;
    }
}
.steamprice-recent-searches.steamprice-recent-searches--standalone .steamprice-recent-grid {
    align-self: stretch;
    width: 100%;
}
/* متغیر فونت برای عنوان مشترک با recent */
.steamprice-steam-deals.steamprice-steam-deals--standalone {
    --steam-fa: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    --steam-fb: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
}
.steamprice-recent-searches .steamprice-recent-title,
.steamprice-steam-deals .steamprice-recent-title {
    font-family: var(--steam-fb, 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif);
    font-weight: 700;
    font-size: 1.0625rem;
    color: #0f172a;
    margin: 0 0 14px;
    text-align: right;
    letter-spacing: 0;
    line-height: 1.45;
    direction: rtl;
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    align-self: flex-start;
    max-width: 100%;
    box-sizing: border-box;
}
.steamprice-recent-searches .steamprice-recent-title::after,
.steamprice-steam-deals .steamprice-recent-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(270deg, #0ea5e9 0%, #38bdf8 38%, #e2e8f0 100%);
}
/* گرید ردیفی: به‌اندازهٔ عرض، چند ستون (دیگر محدود به دو آیتم در هر ردیف نیست) */
.steamprice-recent-searches.steamprice-recent-searches--empty .steamprice-recent-grid {
    display: block;
    overflow: visible;
}
.steamprice-recent-searches .steamprice-recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
    gap: var(--steam-recent-gap, 14px);
    width: 100%;
    min-width: 0;
    justify-items: stretch;
    align-items: stretch;
}
.steamprice-recent-searches[data-cols="2"] .steamprice-recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.steamprice-recent-searches[data-cols="3"] .steamprice-recent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.steamprice-recent-searches[data-cols="4"] .steamprice-recent-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.steamprice-recent-searches[data-cols="5"] .steamprice-recent-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.steamprice-recent-searches[data-cols="6"] .steamprice-recent-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
@container sp-recent (max-width: 720px) {
    .steamprice-recent-searches[data-cols="5"] .steamprice-recent-grid,
    .steamprice-recent-searches[data-cols="6"] .steamprice-recent-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@container sp-recent (max-width: 560px) {
    .steamprice-recent-searches[data-cols="3"] .steamprice-recent-grid,
    .steamprice-recent-searches[data-cols="4"] .steamprice-recent-grid,
    .steamprice-recent-searches[data-cols="5"] .steamprice-recent-grid,
    .steamprice-recent-searches[data-cols="6"] .steamprice-recent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@container sp-recent (max-width: 320px) {
    .steamprice-recent-searches[data-cols] .steamprice-recent-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* حداکثر نسبت تصویر = هدر استیم 460×215 */
.steamprice-recent-searches .steamprice-recent-card {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 460 / 215;
    padding: 0;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    text-align: right;
    background: #0f172a;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    justify-self: stretch;
}
.steamprice-recent-searches .steamprice-recent-card-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    display: block;
}
.steamprice-recent-searches .steamprice-recent-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(14, 165, 233, 0.22);
}
.steamprice-recent-searches .steamprice-recent-card:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 3px;
}
.steamprice-recent-searches .steamprice-recent-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center top;
    background-color: #1e293b;
}
.steamprice-recent-searches .steamprice-recent-card-bg--placeholder {
    background-image: none !important;
    background: linear-gradient(155deg, #475569 0%, #1e293b 42%, #0f172a 100%);
}
.steamprice-recent-searches .steamprice-recent-card-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58%;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}
.steamprice-recent-searches .steamprice-recent-card-title {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    font-family: var(--steam-fa);
    font-weight: 600;
    font-size: clamp(0.72rem, 2.5cqi, 0.98rem);
    line-height: 1.4;
    color: #f8fafc;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.steamprice-recent-searches .steamprice-recent-empty {
    margin: 0;
    padding: 14px 16px;
    font-size: 0.9rem;
    color: #64748b;
    font-family: var(--steam-fb);
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #e2e8f0;
    text-align: right;
    line-height: 1.5;
}

.steamprice-game-search-fullpage .steamprice-loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top-color: #0ea5e9;
    border-radius: 50%;
    animation: steamprice-spin 0.65s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}
@keyframes steamprice-spin {
    to { transform: rotate(360deg); }
}

/* نتایج جستجو – دو ستون؛ وقتی خالی است فاصله و حاشیه حذف شود */
.steamprice-game-search-fullpage #steamprice-search-results:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    border: none !important;
}
.steamprice-game-search-fullpage #steamprice-search-results {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
}
/* فاصله بین کادر جستجو و نتایج/لودینگ (margin زیر search-box حذف شده) */
.steamprice-game-search-fullpage #steamprice-search-results:not(:empty) {
    margin-top: 14px;
    margin-bottom: 20px;
}

/* لودینگ جستجو: بدون قاب بیرونی نتایج/لودینگ — فقط .steamprice-prices-loading-inner کارت دارد */
.steamprice-game-search-fullpage #steamprice-search-results:has(.steamprice-search-loading-wrap) {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}
.steamprice-game-search-fullpage #steamprice-search-results .steamprice-search-loading-wrap.steamprice-prices-loading--minimal {
    margin: 0;
    padding: 0;
    font-family: var(--steam-fb);
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}
.steamprice-game-search-fullpage #steamprice-search-results .steamprice-search-loading-wrap .steamprice-prices-loading-inner {
    padding: 28px 24px 30px;
    max-width: 400px;
    margin-inline: auto;
}
.steamprice-game-search-fullpage .steamprice-search-loading-line {
    margin: 0;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.55;
    letter-spacing: 0.01em;
}
.steamprice-game-search-fullpage .steamprice-search-loading-prefix {
    color: #64748b;
    font-weight: 500;
}
.steamprice-game-search-fullpage .steamprice-search-loading-strong {
    color: #334155;
    font-weight: 600;
}
.steamprice-game-search-fullpage .steamprice-search-loading-tail {
    color: #94a3b8;
    font-weight: 500;
}

/* نتایج جستجو: لیست ردیفی — تصویر ۲۳۱×۸۷، نام، دکمه مشاهده نسخه‌ها */
.steamprice-game-search-fullpage .steamprice-results-list {
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
}
.steamprice-game-search-fullpage .steamprice-result-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    min-height: 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background 0.15s ease;
    box-sizing: border-box;
}
.steamprice-game-search-fullpage .steamprice-result-row:last-child {
    border-bottom: none;
}
.steamprice-game-search-fullpage .steamprice-result-row:hover {
    background: #f8fafc;
}
.steamprice-game-search-fullpage .steamprice-result-thumb {
    flex-shrink: 0;
    width: 231px;
    height: 87px;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}
.steamprice-game-search-fullpage .steamprice-result-thumb--empty {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}
.steamprice-game-search-fullpage .steamprice-result-img {
    width: 231px;
    height: 87px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.steamprice-game-search-fullpage .steamprice-result-body {
    flex: 1;
    min-width: 0;
    padding: 0;
}
.steamprice-game-search-fullpage .steamprice-result-name {
    font-family: var(--steam-fa);
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.steamprice-game-search-fullpage .steamprice-result-cta {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    padding: 8px 18px;
    font-size: 0.8125rem;
    font-family: var(--steam-fb);
    font-weight: 600;
    color: #f5f3ff;
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 10px rgba(30, 27, 75, 0.35);
    background: linear-gradient(
        118deg,
        #07060a 0%,
        #0f0a14 12%,
        #1e1b4b 26%,
        #3b0764 38%,
        #5b21b6 46%,
        #7c3aed 50%,
        #6d28d9 54%,
        #4c1d95 64%,
        #1e1033 78%,
        #0a080c 92%,
        #07060a 100%
    );
    background-size: 320% 320%;
    animation: steamprice-cta-purple-wave 26s ease-in-out infinite;
    transition: filter 0.35s ease, box-shadow 0.35s ease;
}
@keyframes steamprice-cta-purple-wave {
    0% {
        background-position: 12% 42%;
    }
    33% {
        background-position: 88% 58%;
    }
    66% {
        background-position: 45% 88%;
    }
    100% {
        background-position: 12% 42%;
    }
}
.steamprice-game-search-fullpage .steamprice-result-cta:hover {
    filter: brightness(1.08) saturate(1.04);
    box-shadow: 0 3px 14px rgba(76, 29, 149, 0.42);
}
.steamprice-game-search-fullpage .steamprice-result-cta:active {
    filter: brightness(0.94);
}
.steamprice-game-search-fullpage .steamprice-result-cta:focus-visible {
    outline: 2px solid #c4b5fd;
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .steamprice-game-search-fullpage .steamprice-result-cta {
        animation: none;
        background-position: 45% 50%;
    }
}
@media (max-width: 520px) {
    .steamprice-game-search-fullpage .steamprice-result-row {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .steamprice-game-search-fullpage .steamprice-result-thumb,
    .steamprice-game-search-fullpage .steamprice-result-img {
        width: 100%;
        max-width: 231px;
        height: auto;
        aspect-ratio: 231 / 87;
    }
    .steamprice-game-search-fullpage .steamprice-result-thumb {
        height: auto;
        min-height: 0;
    }
    .steamprice-game-search-fullpage .steamprice-result-cta {
        width: 100%;
        margin-inline-start: 0;
    }
}

/* دکمه بازگشت — مینیمال، خاکستری؛ موج گرادیان فقط روی hover */
.steamprice-game-search-fullpage .steamprice-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
    padding: 9px 16px;
    font-size: 0.8125rem;
    font-family: var(--steam-fb);
    font-weight: 600;
    color: #f4f4f5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background-color: #3f3f46;
    background-image: linear-gradient(
        125deg,
        #18181b 0%,
        #27272a 16%,
        #3f3f46 32%,
        #52525b 48%,
        #64748b 54%,
        #52525b 62%,
        #404040 76%,
        #27272a 90%,
        #18181b 100%
    );
    background-size: 280% 280%;
    background-position: 18% 48%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
    transition: box-shadow 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}
.steamprice-game-search-fullpage .steamprice-back-btn:hover {
    animation: steamprice-back-btn-wave 3.6s ease-in-out infinite;
    box-shadow: 0 4px 18px rgba(24, 24, 27, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}
.steamprice-game-search-fullpage .steamprice-back-btn:active {
    filter: brightness(0.92);
}
.steamprice-game-search-fullpage .steamprice-back-btn:focus-visible {
    outline: 2px solid #a1a1aa;
    outline-offset: 2px;
}
@keyframes steamprice-back-btn-wave {
    0% {
        background-position: 12% 42%;
    }
    25% {
        background-position: 88% 58%;
    }
    50% {
        background-position: 70% 18%;
    }
    75% {
        background-position: 28% 78%;
    }
    100% {
        background-position: 12% 42%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .steamprice-game-search-fullpage .steamprice-back-btn:hover {
        animation: none;
    }
}
@media (max-width: 640px) {
    .steamprice-game-search-fullpage .steamprice-panel-head {
        flex-direction: column;
        align-items: stretch;
    }
    .steamprice-game-search-fullpage .steamprice-panel-head .steamprice-back-btn {
        align-self: stretch;
        justify-content: center;
        order: -1;
    }
}

/* حالت‌های خالی و خطا */
.steamprice-game-search-fullpage .steamprice-loading,
.steamprice-game-search-fullpage .steamprice-no-results,
.steamprice-game-search-fullpage .steamprice-error {
    margin: 0;
    padding: 24px 20px;
    text-align: center;
    color: #64748b;
    font-family: var(--steam-fb);
}
.steamprice-game-search-fullpage .steamprice-error {
    color: #dc2626;
}

/* پنل قیمت / لیست پکیج‌ها */
.steamprice-game-search-fullpage #steamprice-game-prices {
    display: none;
    margin-top: 20px;
}
.steamprice-game-search-fullpage .steamprice-panel {
    padding: 0;
    background: transparent;
}
/* ردیف عنوان + توضیح روبه‌روی دکمه بازگشت (نمای پکیج‌ها) */
.steamprice-game-search-fullpage .steamprice-panel-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
    margin-bottom: 20px;
}
.steamprice-game-search-fullpage .steamprice-panel-head-main {
    flex: 1;
    min-width: 0;
}
.steamprice-game-search-fullpage .steamprice-panel-head .steamprice-step-title {
    margin: 0 0 4px;
}
.steamprice-game-search-fullpage .steamprice-panel-head .steamprice-step-desc {
    margin: 0;
}
.steamprice-game-search-fullpage .steamprice-panel-head .steamprice-back-btn {
    flex-shrink: 0;
    align-self: center;
    margin-bottom: 0;
}
.steamprice-game-search-fullpage .steamprice-step-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-family: var(--steam-fa);
    font-weight: 700;
    color: #1e293b;
}
.steamprice-game-search-fullpage .steamprice-step-desc {
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: #64748b;
    font-family: var(--steam-fb);
}
.steamprice-game-search-fullpage .steamprice-products-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.steamprice-game-search-fullpage .steamprice-product-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--steam-fb);
}
.steamprice-game-search-fullpage .steamprice-product-row:hover {
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}
.steamprice-game-search-fullpage .steamprice-product-row .steamprice-product-badge {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 5px 12px;
    border-radius: 7px;
    color: #e8eef5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(100, 116, 139, 0.35);
    box-shadow: 0 2px 10px rgba(2, 6, 23, 0.45);
    background: linear-gradient(
        125deg,
        #020617 0%,
        #0a0a0f 8%,
        #0f172a 18%,
        #1e1b4b 30%,
        #172554 40%,
        #1e3a5f 50%,
        #0c1929 60%,
        #020617 72%,
        #111827 84%,
        #1e293b 94%,
        #020617 100%
    );
    background-size: 340% 340%;
    animation: steamprice-product-badge-wave 28s ease-in-out infinite;
}
/* مسیر پس‌زمینه در جهت‌های مختلف (موج آرام) */
@keyframes steamprice-product-badge-wave {
    0% {
        background-position: 5% 35%;
    }
    20% {
        background-position: 95% 65%;
    }
    40% {
        background-position: 75% 8%;
    }
    60% {
        background-position: 12% 92%;
    }
    80% {
        background-position: 88% 40%;
    }
    100% {
        background-position: 5% 35%;
    }
}
.steamprice-game-search-fullpage .steamprice-product-row[data-type="package"] .steamprice-product-badge {
    animation-delay: -11s;
}
@media (prefers-reduced-motion: reduce) {
    .steamprice-game-search-fullpage .steamprice-product-row .steamprice-product-badge {
        animation: none;
        background-position: 38% 45%;
    }
}
.steamprice-game-search-fullpage .steamprice-product-row .steamprice-product-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.4;
}

/* جدول قیمت – تم روشن */
.steamprice-game-search-fullpage .steamprice-table-wrap {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* باکس عنوان بازی بالای جدول (تصویر + نام + اطلاعات) — فاصله از جدول با border پایین */
.steamprice-game-search-fullpage .steamprice-game-header-box {
    direction: ltr;
    text-align: initial;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 18px 20px;
    margin: 0;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    box-sizing: border-box;
}
/* ستون تصویر + شناسه‌های استیم زیر تصویر */
.steamprice-game-search-fullpage .steamprice-game-header-media {
    flex-shrink: 0;
    width: 200px;
    max-width: 38%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.steamprice-game-search-fullpage .steamprice-game-header-media .steamprice-game-header-img {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #e2e8f0;
    line-height: 0;
}
.steamprice-game-search-fullpage .steamprice-game-header-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 460 / 215;
}
.steamprice-game-search-fullpage .steamprice-game-header-img--empty {
    min-height: 94px;
    aspect-ratio: 460 / 215;
}
.steamprice-game-search-fullpage .steamprice-game-header-body {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
    direction: rtl;
    text-align: right;
}
.steamprice-game-search-fullpage .steamprice-game-header-head-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px 18px;
    margin-bottom: 10px;
}
.steamprice-game-search-fullpage .steamprice-game-header-head-text {
    flex: 1;
    min-width: 0;
    text-align: right;
}
.steamprice-game-search-fullpage .steamprice-game-header-head-row .steamprice-game-header-sub {
    margin: 0;
}
.steamprice-game-search-fullpage .steamprice-game-header-head-row .steamprice-back-btn {
    margin-bottom: 0;
    flex-shrink: 0;
    align-self: center;
}
.steamprice-game-search-fullpage .steamprice-game-header-title {
    margin: 0 0 10px;
    padding: 0;
    font-size: 1.25rem;
    font-family: var(--steam-fa);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    text-align: right;
}
.steamprice-game-search-fullpage .steamprice-game-header-head-row .steamprice-game-header-title {
    margin: 0 0 6px;
}
.steamprice-game-search-fullpage .steamprice-game-header-ids--below-image {
    margin: 10px 0 0;
    padding: 0;
    font-size: 0.8125rem;
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    line-height: 1.45;
    color: #475569;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    direction: ltr;
    unicode-bidi: embed;
}
.steamprice-game-search-fullpage .steamprice-game-header-id-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
    margin: 0;
    padding: 0;
    font-family: var(--steam-fb);
}
.steamprice-game-search-fullpage .steamprice-game-header-id-label {
    font-weight: 700;
    color: #64748b;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: none;
    white-space: nowrap;
}
.steamprice-game-search-fullpage .steamprice-game-header-id-colon {
    font-weight: 600;
    color: #94a3b8;
    font-size: 0.8rem;
}
.steamprice-game-search-fullpage .steamprice-game-header-id-code {
    margin: 0;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    font-weight: 600;
    color: #0f172a;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    letter-spacing: 0.02em;
}
.steamprice-game-search-fullpage .steamprice-game-header-sub {
    margin: -4px 0 10px;
    font-size: 0.9rem;
    color: #64748b;
    font-family: var(--steam-fb);
    line-height: 1.4;
    text-align: right;
}
.steamprice-game-search-fullpage .steamprice-game-header-meta {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: #475569;
    font-family: var(--steam-fb);
    line-height: 1.55;
    text-align: right;
}
.steamprice-game-search-fullpage .steamprice-game-header-meta-item {
    white-space: normal;
}
.steamprice-game-search-fullpage .steamprice-meta-sep {
    color: #cbd5e1;
    margin: 0 2px;
}
.steamprice-game-search-fullpage .steamprice-game-header-desc {
    margin: 0 0 14px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #334155;
    font-family: var(--steam-fb);
    text-align: right;
}
.steamprice-game-search-fullpage .steamprice-th-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}
.steamprice-game-search-fullpage .steamprice-th-stack-title {
    display: block;
    font-weight: 600;
    line-height: 1.35;
}
.steamprice-game-search-fullpage .steamprice-th-title-row,
.steamprice-game-search-fullpage .steamprice-th-stack--cash .steamprice-th-cash-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    row-gap: 6px;
}
.steamprice-game-search-fullpage .steamprice-th-title-row .steamprice-th-stack-title {
    display: inline;
}
.steamprice-game-search-fullpage .steamprice-th-title-with-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    direction: rtl;
    flex-wrap: nowrap;
}
.steamprice-game-search-fullpage .steamprice-th-title-with-tip .steamprice-th-stack-title {
    display: inline;
}
.steamprice-game-search-fullpage .steamprice-th-info-tip {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    vertical-align: middle;
}
.steamprice-game-search-fullpage .steamprice-th-info-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    font-size: 0.68rem;
    font-weight: 800;
    font-family: var(--steam-fb);
    line-height: 1;
    cursor: help;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.steamprice-game-search-fullpage .steamprice-th-info-btn:hover,
.steamprice-game-search-fullpage .steamprice-th-info-btn:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.55);
    outline: none;
    transform: scale(1.06);
}
.steamprice-game-search-fullpage .steamprice-th-info-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 40;
    width: max(240px, 20vw);
    max-width: 320px;
    padding: 11px 13px;
    border-radius: 10px;
    background: #0f172a;
    color: #f1f5f9;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--steam-fb);
    line-height: 1.6;
    text-align: right;
    direction: rtl;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.25);
}
.steamprice-game-search-fullpage .steamprice-th-info-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #0f172a;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-left: 1px solid rgba(148, 163, 184, 0.25);
    transform: translateX(-50%) rotate(45deg);
}
.steamprice-game-search-fullpage .steamprice-th-info-tip:hover .steamprice-th-info-tooltip,
.steamprice-game-search-fullpage .steamprice-th-info-tip:focus-within .steamprice-th-info-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.steamprice-game-search-fullpage .steamprice-th-title-row .steamprice-header-badge-neutral {
    margin-top: 0;
    flex-shrink: 0;
}
.steamprice-game-search-fullpage .steamprice-th-cash-purchase {
    white-space: normal;
    line-height: 1.45;
}
.steamprice-game-search-fullpage .steamprice-th-stack--cash .steamprice-cash-discount-badge {
    margin-inline-start: 0;
    margin-top: 0;
}
.steamprice-game-search-fullpage .steamprice-header-badge-neutral {
    display: inline-block;
    padding: 4px 11px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.25;
    border-radius: 999px;
    background: linear-gradient(145deg, #57534e 0%, #78716c 45%, #a8a29e 100%);
    color: #fafaf9;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 3px 10px rgba(68, 64, 60, 0.28);
    font-family: var(--steam-fb);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.steamprice-game-search-fullpage .steamprice-cash-discount-badge {
    display: inline-block;
    margin-inline-start: 8px;
    margin-top: 2px;
    padding: 4px 11px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.25;
    vertical-align: middle;
    border-radius: 999px;
    background: linear-gradient(145deg, #047857 0%, #059669 40%, #10b981 100%);
    color: #ecfdf5;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 4px 14px rgba(5, 150, 105, 0.35);
    font-family: var(--steam-fb);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.steamprice-game-search-fullpage .steamprice-prices-title {
    margin: 0 0 16px;
    font-size: 1.15rem;
    font-family: var(--steam-fa);
    font-weight: 700;
    color: #1e293b;
}
/* لودینگ قبل از جدول قیمت — مینیمال */
.steamprice-game-search-fullpage .steamprice-prices-loading--minimal {
    margin: 0;
    padding: 20px 16px 24px;
    font-family: var(--steam-fb);
}
.steamprice-game-search-fullpage .steamprice-prices-loading-inner {
    max-width: 400px;
    margin: 0 auto;
    padding: 36px 28px 32px;
    text-align: center;
    background: #fafafa;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.steamprice-game-search-fullpage .steamprice-prices-loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin: 0 0 22px;
}
.steamprice-game-search-fullpage .steamprice-prices-loading-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: steamprice-load-dot 1.15s ease-in-out infinite;
}
.steamprice-game-search-fullpage .steamprice-prices-loading-dots span:nth-child(2) {
    animation-delay: 0.14s;
}
.steamprice-game-search-fullpage .steamprice-prices-loading-dots span:nth-child(3) {
    animation-delay: 0.28s;
}
@keyframes steamprice-load-dot {
    0%,
    70%,
    100% {
        opacity: 0.35;
        transform: scale(0.88);
    }
    35% {
        opacity: 1;
        transform: scale(1);
    }
}
.steamprice-game-search-fullpage .steamprice-prices-loading-text {
    margin: 0 0 26px;
    font-size: 0.92rem;
    line-height: 1.65;
    min-height: 2.6em;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0;
}
.steamprice-game-search-fullpage .steamprice-prices-loading-prefix {
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.steamprice-game-search-fullpage .steamprice-prices-loading-suffix {
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: opacity 0.2s ease;
}
.steamprice-game-search-fullpage .steamprice-prices-loading-suffix.is-switching {
    opacity: 0.35;
}
.steamprice-game-search-fullpage .steamprice-prices-loading-bar {
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    max-width: 220px;
    margin: 0 auto;
}
.steamprice-game-search-fullpage .steamprice-prices-loading-bar-fill {
    display: block;
    height: 100%;
    width: 38%;
    border-radius: 2px;
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    animation: steamprice-load-bar 1.35s ease-in-out infinite;
}
@keyframes steamprice-load-bar {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(320%);
    }
}
.steamprice-game-search-fullpage .steamprice-prices-table {
    width: 100%;
    margin-top: 0;
    border-collapse: collapse;
    font-size: 0.95rem;
    font-family: var(--steam-fb);
}
/* هدر جدول قیمت: گرادیان در حال حرکت شبیه پس‌زمینهٔ تیرهٔ استیم */
.steamprice-game-search-fullpage .steamprice-prices-table thead {
    position: relative;
    z-index: 2;
    color: #e5edf5;
    background: linear-gradient(
        118deg,
        #0a0e12 0%,
        #171a21 12%,
        #1b2838 28%,
        #2a475e 42%,
        #3d6d8c 48%,
        #66c0f4 50%,
        #417a9b 54%,
        #2a475e 62%,
        #1b2838 78%,
        #171a21 92%,
        #0a0e12 100%
    );
    background-size: 320% 320%;
    animation: steamprice-steam-thead-shift 16s ease-in-out infinite;
}
@keyframes steamprice-steam-thead-shift {
    0% {
        background-position: 0% 45%;
    }
    50% {
        background-position: 100% 55%;
    }
    100% {
        background-position: 0% 45%;
    }
}
.steamprice-game-search-fullpage .steamprice-prices-table thead th {
    padding: 14px 18px;
    text-align: center;
    font-weight: 600;
    vertical-align: middle;
    color: #e8eef5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(102, 192, 244, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: visible;
}
.steamprice-game-search-fullpage .steamprice-prices-table thead .steamprice-th-stack-title {
    color: inherit;
}
@media (prefers-reduced-motion: reduce) {
    .steamprice-game-search-fullpage .steamprice-prices-table thead {
        animation: none;
        background-position: 40% 50%;
    }
}
.steamprice-game-search-fullpage .steamprice-prices-table tbody tr {
    transition: background 0.12s;
}
.steamprice-game-search-fullpage .steamprice-prices-table tbody tr:nth-child(even) {
    background: #f8fafc;
}
.steamprice-game-search-fullpage .steamprice-prices-table tbody tr:hover {
    background: #e0f2fe;
}
.steamprice-game-search-fullpage .steamprice-prices-table td {
    padding: 12px 18px;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
}
.steamprice-game-search-fullpage .steamprice-region-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}
.steamprice-game-search-fullpage .steamprice-region-flag-img {
    width: 28px;
    height: 21px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
    vertical-align: middle;
}
.steamprice-game-search-fullpage .steamprice-region-name {
    line-height: 1.35;
}
.steamprice-game-search-fullpage .steamprice-prices-table tbody tr:last-child td {
    border-bottom: none;
}
.steamprice-game-search-fullpage .steamprice-more-regions-wrap {
    margin-top: 0;
    padding: 22px 24px 26px;
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
}
.steamprice-game-search-fullpage .steamprice-btn-more-regions {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 9px 22px 9px 16px;
    font-size: 0.875rem;
    font-family: var(--steam-fa);
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    border: 1px solid #dbe3ec;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    isolation: isolate;
    transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.steamprice-game-search-fullpage .steamprice-btn-more-regions::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        rgba(14, 165, 233, 0.07) 0%,
        rgba(99, 102, 241, 0.05) 45%,
        rgba(14, 165, 233, 0.09) 100%
    );
    opacity: 0;
    transition: opacity 0.28s ease;
}
.steamprice-game-search-fullpage .steamprice-more-regions-label,
.steamprice-game-search-fullpage .steamprice-more-regions-flags {
    position: relative;
    z-index: 1;
}
.steamprice-game-search-fullpage .steamprice-more-regions-label {
    line-height: 1.3;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.steamprice-game-search-fullpage .steamprice-more-regions-flags {
    width: 30px;
    height: 22px;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
}
.steamprice-game-search-fullpage .steamprice-more-regions-flag {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(7px) scale(0.88);
    filter: blur(0.5px);
    transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), filter 0.28s ease;
}
.steamprice-game-search-fullpage .steamprice-more-regions-flag.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}
.steamprice-game-search-fullpage .steamprice-more-regions-flag .steamprice-region-flag-img {
    width: 28px;
    height: 21px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.14);
    box-sizing: border-box;
}
.steamprice-game-search-fullpage .steamprice-more-regions-flag .steamprice-region-flag-emoji {
    font-size: 1.2rem;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.12));
}
.steamprice-game-search-fullpage .steamprice-btn-more-regions:hover:not(:disabled) {
    color: #0f172a;
    border-color: #7dd3fc;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1), 0 4px 16px rgba(14, 165, 233, 0.14);
}
.steamprice-game-search-fullpage .steamprice-btn-more-regions:hover:not(:disabled)::before {
    opacity: 1;
}
.steamprice-game-search-fullpage .steamprice-btn-more-regions:active:not(:disabled) {
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.12), 0 2px 8px rgba(14, 165, 233, 0.1);
}
.steamprice-game-search-fullpage .steamprice-btn-more-regions:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}
.steamprice-game-search-fullpage .steamprice-btn-more-regions:disabled,
.steamprice-game-search-fullpage .steamprice-btn-more-regions.is-loading {
    cursor: wait;
    opacity: 0.82;
    box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
    .steamprice-game-search-fullpage .steamprice-more-regions-flag {
        transition: none;
    }
    .steamprice-game-search-fullpage .steamprice-btn-more-regions::before {
        transition: none;
    }
}
.steamprice-game-search-fullpage .steamprice-price-cell {
    font-weight: 600;
    color: #0369a1;
}
/* ستون «قیمت / قیمت عادی» — فقط بدنه: پس‌زمینه خاکستری، عدد غیر بولد */
.steamprice-game-search-fullpage .steamprice-prices-table tbody td.steamprice-td-price-ordinary.steamprice-price-cell {
    background: #f1f5f9;
    font-weight: 400;
    color: #64748b;
}
.steamprice-game-search-fullpage .steamprice-prices-table tbody tr:nth-child(even) td.steamprice-td-price-ordinary.steamprice-price-cell {
    background: #e8edf3;
}
.steamprice-game-search-fullpage .steamprice-prices-table tbody tr:hover td.steamprice-td-price-ordinary.steamprice-price-cell {
    background: #d7e6f5;
}
.steamprice-game-search-fullpage .steamprice-prices-table tbody td.steamprice-td-price-ordinary .steamprice-toman,
.steamprice-game-search-fullpage .steamprice-prices-table tbody td.steamprice-td-price-ordinary .steamprice-toman small {
    font-weight: 400;
    color: #64748b;
}
.steamprice-game-search-fullpage .steamprice-prices-table tbody td.steamprice-td-price-ordinary .steamprice-toman small {
    color: #94a3b8;
}
.steamprice-game-search-fullpage .steamprice-toman {
    font-variant-numeric: tabular-nums;
}
.steamprice-game-search-fullpage .steamprice-toman small {
    font-weight: 500;
    font-size: 0.8em;
    color: #64748b;
    margin-right: 2px;
}
.steamprice-game-search-fullpage .steamprice-price-error {
    color: #94a3b8;
}
.steamprice-game-search-fullpage .steamprice-th-actions {
    min-width: 140px;
}
.steamprice-game-search-fullpage .steamprice-actions-cell {
    white-space: nowrap;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.steamprice-game-search-fullpage .steamprice-btn-cash,
.steamprice-game-search-fullpage .steamprice-btn-installment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    font-size: 0.8rem;
    font-family: var(--steam-fb);
    font-weight: 600;
    border-radius: 7px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    background-size: 280% 280%;
    transition: filter 0.3s ease, opacity 0.2s ease, box-shadow 0.3s ease;
}
/* خرید نقد — گرادیان سبزهای مختلف، حرکت ملایم */
.steamprice-game-search-fullpage .steamprice-btn-cash {
    color: #ecfdf5;
    background-image: linear-gradient(
        118deg,
        #022c22 0%,
        #064e3b 14%,
        #065f46 26%,
        #047857 38%,
        #059669 48%,
        #10b981 52%,
        #34d399 56%,
        #059669 64%,
        #166534 78%,
        #14532d 90%,
        #022c22 100%
    );
    box-shadow: 0 2px 8px rgba(6, 78, 59, 0.32);
    animation: steamprice-btn-cash-wave 23s ease-in-out infinite;
}
@keyframes steamprice-btn-cash-wave {
    0% {
        background-position: 6% 44%;
    }
    33% {
        background-position: 94% 56%;
    }
    66% {
        background-position: 42% 88%;
    }
    100% {
        background-position: 6% 44%;
    }
}
/* خرید اقساطی — گرادیان آبی‌های مختلف، حرکت ملایم */
.steamprice-game-search-fullpage .steamprice-btn-installment {
    color: #f0f9ff;
    background-image: linear-gradient(
        118deg,
        #0c1929 0%,
        #082f49 12%,
        #0c4a6e 24%,
        #075985 36%,
        #0369a1 46%,
        #0284c7 50%,
        #0ea5e9 54%,
        #38bdf8 60%,
        #0284c7 70%,
        #164e63 84%,
        #0c1929 100%
    );
    box-shadow: 0 2px 8px rgba(3, 105, 161, 0.3);
    animation: steamprice-btn-installment-wave 23s ease-in-out infinite;
    animation-delay: -7s;
}
@keyframes steamprice-btn-installment-wave {
    0% {
        background-position: 88% 52%;
    }
    33% {
        background-position: 12% 48%;
    }
    66% {
        background-position: 58% 18%;
    }
    100% {
        background-position: 88% 52%;
    }
}
.steamprice-game-search-fullpage .steamprice-btn-cash:hover:not(:disabled) {
    filter: brightness(1.09) saturate(1.04);
    box-shadow: 0 3px 12px rgba(5, 95, 70, 0.38);
}
.steamprice-game-search-fullpage .steamprice-btn-cash:active:not(:disabled) {
    filter: brightness(0.93);
}
.steamprice-game-search-fullpage .steamprice-btn-installment:hover:not(:disabled) {
    filter: brightness(1.09) saturate(1.05);
    box-shadow: 0 3px 12px rgba(2, 132, 199, 0.38);
}
.steamprice-game-search-fullpage .steamprice-btn-installment:active:not(:disabled) {
    filter: brightness(0.93);
}
.steamprice-game-search-fullpage .steamprice-btn-cash:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
}
.steamprice-game-search-fullpage .steamprice-btn-installment:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}
.steamprice-game-search-fullpage .steamprice-btn-cash:disabled,
.steamprice-game-search-fullpage .steamprice-btn-installment:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: none;
    animation: none;
}
@media (prefers-reduced-motion: reduce) {
    .steamprice-game-search-fullpage .steamprice-btn-cash,
    .steamprice-game-search-fullpage .steamprice-btn-installment {
        animation: none;
    }
    .steamprice-game-search-fullpage .steamprice-btn-cash {
        background-position: 40% 50%;
    }
    .steamprice-game-search-fullpage .steamprice-btn-installment {
        background-position: 45% 50%;
    }
}

@media (max-width: 600px) {
    .steamprice-game-search-fullpage .steamprice-game-header-box {
        flex-direction: column;
        align-items: stretch;
    }
    .steamprice-game-search-fullpage .steamprice-game-header-media {
        max-width: 100%;
        width: 100%;
    }
    .steamprice-game-search-fullpage .steamprice-game-header-head-row {
        flex-direction: column;
        align-items: stretch;
    }
    .steamprice-game-search-fullpage .steamprice-game-header-head-row .steamprice-back-btn {
        order: -1;
        align-self: stretch;
        justify-content: center;
    }
}

/* ===== پاپ‌آپ / مودال SteamPrice (z-index بالاتر از فرم تا اخطار روی فرم دیده شود) ===== */
.steamprice-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    direction: rtl;
}
.steamprice-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
.steamprice-modal-overlay.is-visible .steamprice-modal-box {
    transform: scale(1);
    opacity: 1;
}
.steamprice-modal-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    overflow: hidden;
}
.steamprice-modal-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 24px 8px;
}
.steamprice-modal-icon-wrap.steamprice-modal-icon--error {
    color: #dc2626;
}
.steamprice-modal-icon-wrap.steamprice-modal-icon--error svg {
    width: 56px;
    height: 56px;
}
.steamprice-modal-icon-wrap.steamprice-modal-icon--info {
    color: #0ea5e9;
}
.steamprice-modal-title {
    margin: 0;
    padding: 8px 24px 4px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
}
.steamprice-modal-message {
    margin: 0;
    padding: 12px 24px 24px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    text-align: center;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    direction: rtl;
}
.steamprice-wallet-insufficient-text {
    display: block;
    margin-bottom: 10px;
}
.steamprice-wallet-topup-wrap {
    display: block;
    margin-top: 4px;
}
.steamprice-wallet-topup-link,
.steamprice-confirm-wallet-warn .steamprice-wallet-topup-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #6ee7b7;
    color: #047857;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.steamprice-wallet-topup-link:hover {
    background: linear-gradient(180deg, #d1fae5 0%, #a7f3d0 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.18);
    color: #065f46;
}
.steamprice-confirm-wallet-warn {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #9a3412;
    text-align: right;
    direction: rtl;
}
.steamprice-modal-actions {
    padding: 0 24px 24px;
    display: flex;
    justify-content: center;
}
.steamprice-modal-btn {
    min-width: 140px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: #0ea5e9;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}
.steamprice-modal-btn:hover {
    background: #0284c7;
}
.steamprice-modal-btn:active {
    transform: scale(0.98);
}
.steamprice-modal-overlay.steamprice-modal--error .steamprice-modal-btn {
    background: #dc2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}
.steamprice-modal-overlay.steamprice-modal--error .steamprice-modal-btn:hover {
    background: #b91c1c;
}

/* ===== پاپ‌آپ «در حال افزودن و انتقال به سبد» ===== */
.steamprice-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 100003;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    direction: rtl;
}
.steamprice-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
.steamprice-loading-overlay.is-visible .steamprice-loading-box {
    transform: scale(1);
    opacity: 1;
}
.steamprice-loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.steamprice-loading-overlay .steamprice-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #0ea5e9;
    border-radius: 50%;
    animation: steamprice-spin 0.7s linear infinite;
}
.steamprice-loading-overlay .steamprice-loading-text {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

/* ===== تأیید سفارش (قبل از فرم اکانت) — همان زبان بصری فرم ===== */
.steamprice-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    direction: rtl;
}
.steamprice-confirm-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
.steamprice-confirm-overlay.is-visible .steamprice-confirm-box {
    transform: scale(1);
    opacity: 1;
}
.steamprice-confirm-box {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    overflow: hidden;
    padding: 0 0 24px;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    border-top: 4px solid #0ea5e9;
}
.steamprice-confirm-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 24px 6px;
    color: #0ea5e9;
}
.steamprice-confirm-icon-wrap svg {
    width: 52px;
    height: 52px;
}
.steamprice-confirm-title {
    margin: 0 0 14px;
    padding: 0 24px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    font-family: inherit;
}
.steamprice-confirm-body {
    padding: 0 24px 8px;
    max-height: min(52vh, 420px);
    overflow-y: auto;
}
.steamprice-confirm-lead {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    line-height: 1.5;
}
.steamprice-confirm-intro {
    margin: 0 0 14px;
    font-size: 0.92rem;
    color: #475569;
    text-align: right;
    line-height: 1.65;
}
.steamprice-confirm-rows {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}
.steamprice-confirm-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    margin: 0;
}
.steamprice-confirm-row:last-child {
    border-bottom: none;
}
.steamprice-confirm-k {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    flex: 0 1 auto;
    text-align: right;
}
.steamprice-confirm-v {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    text-align: left;
    direction: ltr;
    unicode-bidi: embed;
    max-width: 100%;
    word-break: break-word;
}
.steamprice-confirm-footer {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #475569;
    text-align: right;
}
.steamprice-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 16px 24px 0;
}
.steamprice-confirm-btn {
    min-width: 132px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.steamprice-confirm-btn--cancel {
    background: #f1f5f9;
    color: #475569;
}
.steamprice-confirm-btn--cancel:hover {
    background: #e2e8f0;
}
.steamprice-confirm-btn--continue {
    background: #0ea5e9;
    color: #fff;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}
.steamprice-confirm-btn--continue:hover {
    background: #0284c7;
}
.steamprice-confirm-btn:active {
    transform: scale(0.98);
}

/* ===== فرم اکانت استیم (قبل از افزودن به سبد) ===== */
.steamprice-form-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    direction: rtl;
}
.steamprice-form-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
.steamprice-form-overlay.is-visible .steamprice-form-box {
    transform: scale(1);
    opacity: 1;
}
.steamprice-form-box {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    overflow: hidden;
    padding: 28px 24px;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
}
.steamprice-form-title {
    margin: 0 0 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
}
.steamprice-form-account {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.steamprice-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.steamprice-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}
.steamprice-form-input {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #1e293b;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.steamprice-form-input:focus {
    outline: none;
    border-color: #0ea5e9;
}
.steamprice-form-group--guard-choice {
    gap: 0;
}
.steamprice-form-guard-choice {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.steamprice-form-guard-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    user-select: none;
}
.steamprice-form-guard-option:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.steamprice-form-guard-option:has(.steamprice-form-guard-checkbox:checked) {
    border-color: #0ea5e9;
    background: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14);
}
.steamprice-form-guard-option:has(.steamprice-form-guard-checkbox:focus-visible) {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}
.steamprice-form-guard-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.steamprice-form-checkbox-ui {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border: 2px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}
.steamprice-form-guard-option:hover .steamprice-form-checkbox-ui {
    border-color: #94a3b8;
}
.steamprice-form-guard-checkbox:checked + .steamprice-form-checkbox-ui {
    border-color: #0ea5e9;
    background: #0ea5e9;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}
.steamprice-form-checkbox-ui::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    margin-top: -2px;
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}
.steamprice-form-guard-checkbox:checked + .steamprice-form-checkbox-ui::after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}
.steamprice-form-guard-option .steamprice-form-checkbox-text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.55;
    color: #334155;
    transition: color 0.2s ease;
}
.steamprice-form-guard-option:has(.steamprice-form-guard-checkbox:checked) .steamprice-form-checkbox-text {
    color: #0c4a6e;
}
.steamprice-form-guard-or {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1;
    padding: 0 4px;
    letter-spacing: 0.02em;
}
.steamprice-form-guard-or::before,
.steamprice-form-guard-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0 20%, #e2e8f0 80%, transparent);
}
.steamprice-form-group--checkbox {
    gap: 0;
}
.steamprice-form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #475569;
}
.steamprice-form-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #0ea5e9;
}
.steamprice-form-checkbox-text {
    line-height: 1.45;
}
.steamprice-form-backup-wrap {
    padding: 12px 0 0;
    border-top: 1px solid #e2e8f0;
}
.steamprice-form-backup-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
.steamprice-form-backup-input {
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.steamprice-form-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-top: 8px;
}
.steamprice-form-btn {
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.steamprice-form-btn--cancel {
    background: #f1f5f9;
    color: #475569;
}
.steamprice-form-btn--cancel:hover {
    background: #e2e8f0;
}
.steamprice-form-btn--submit {
    background: #0ea5e9;
    color: #fff;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}
.steamprice-form-btn--submit:hover {
    background: #0284c7;
}
.steamprice-form-btn:active {
    transform: scale(0.98);
}

/* ===== انتخاب درگاه پرداخت اقساطی ===== */
.steamprice-gateway-overlay {
    position: fixed;
    inset: 0;
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.steamprice-gateway-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
.steamprice-gateway-box {
    width: 100%;
    max-width: 440px;
    max-height: min(85vh, 560px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    padding: 24px;
}
.steamprice-gateway-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
}
.steamprice-gateway-lead {
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    line-height: 1.6;
}
.steamprice-gateway-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.steamprice-gateway-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    text-align: right;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.steamprice-gateway-item:hover {
    border-color: #7dd3fc;
    background: #f0f9ff;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.12);
}
.steamprice-gateway-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.steamprice-gateway-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.steamprice-gateway-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}
.steamprice-gateway-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}
.steamprice-gateway-empty {
    margin: 0;
    padding: 12px;
    text-align: center;
    color: #b45309;
    background: #fffbeb;
    border-radius: 10px;
    font-size: 0.9rem;
}
.steamprice-gateway-actions {
    margin-top: 18px;
    text-align: center;
}
.steamprice-gateway-cancel {
    min-width: 120px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.steamprice-gateway-cancel:hover {
    background: #e2e8f0;
}

/* اسکلتون لودینگ جدول قیمت — هم‌ساختار با جدول نهایی */
.steamprice-game-search-fullpage .steamprice-panel--skeleton {
    pointer-events: none;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line,
.steamprice-game-search-fullpage .steamprice-skeleton-flag,
.steamprice-game-search-fullpage .steamprice-skeleton-pulse-img {
    position: relative;
    overflow: hidden;
    background: #e8edf3;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line::after,
.steamprice-game-search-fullpage .steamprice-skeleton-flag::after,
.steamprice-game-search-fullpage .steamprice-skeleton-pulse-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.55) 45%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: steamprice-skeleton-shimmer 1.6s ease-in-out infinite;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line {
    display: block;
    border-radius: 6px;
    min-height: 14px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--title {
    width: min(100%, 320px);
    min-height: 26px;
    border-radius: 8px;
    margin: 0 0 6px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--back {
    width: 148px;
    min-height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--meta {
    width: min(100%, 480px);
    min-height: 16px;
    margin: 4px 0 12px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-desc-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--desc {
    width: 100%;
    min-height: 14px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--short {
    width: 72%;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--id {
    width: 118px;
    min-height: 14px;
    border-radius: 4px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-pulse-img::after {
    border-radius: 10px;
}
.steamprice-game-search-fullpage .steamprice-prices-table--skeleton thead th {
    opacity: 0.92;
}
.steamprice-game-search-fullpage .steamprice-prices-table--skeleton tbody tr.steamprice-skeleton-row {
    background: #fff;
}
.steamprice-game-search-fullpage .steamprice-prices-table--skeleton tbody tr.steamprice-skeleton-row:hover {
    background: #fff;
}
.steamprice-game-search-fullpage .steamprice-skeleton-region {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-flag {
    width: 28px;
    height: 21px;
    border-radius: 3px;
    flex-shrink: 0;
    border: 1px solid #dbe3ec;
    box-sizing: border-box;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--region {
    width: 88px;
    min-height: 16px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--price {
    width: 92px;
    min-height: 18px;
    margin-inline: auto;
}
.steamprice-game-search-fullpage .steamprice-prices-table--skeleton td.steamprice-price-cell {
    text-align: center;
}
.steamprice-game-search-fullpage .steamprice-skeleton-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--btn {
    width: 118px;
    min-height: 34px;
    border-radius: 10px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--btn-sm {
    width: 96px;
    min-height: 34px;
    border-radius: 10px;
}
@keyframes steamprice-skeleton-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
    .steamprice-game-search-fullpage .steamprice-skeleton-line::after,
    .steamprice-game-search-fullpage .steamprice-skeleton-flag::after,
    .steamprice-game-search-fullpage .steamprice-skeleton-pulse-img::after {
        animation: none;
        opacity: 0;
    }
}

/* اسکلتون نتایج جستجو */
.steamprice-game-search-fullpage .steamprice-results-list--skeleton {
    pointer-events: none;
}
.steamprice-game-search-fullpage .steamprice-skeleton-result-row {
    cursor: default;
    pointer-events: none;
}
.steamprice-game-search-fullpage .steamprice-skeleton-result-row:hover {
    background: #fff;
}
.steamprice-game-search-fullpage .steamprice-skeleton-result-row .steamprice-result-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--result-name {
    width: min(100%, 420px);
    min-height: 16px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--result-name-short {
    width: min(100%, 280px);
    min-height: 16px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--result-price {
    width: min(100%, 120px);
    min-height: 13px;
    border-radius: 5px;
    opacity: 0.85;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--result-cta {
    flex-shrink: 0;
    width: 118px;
    min-height: 36px;
    border-radius: 8px;
}

/* اسکلتون لیست پکیج‌ها */
.steamprice-game-search-fullpage .steamprice-panel--skeleton-packages .steamprice-panel-head-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--step-title {
    width: min(100%, 300px);
    min-height: 24px;
    border-radius: 8px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--step-desc {
    width: min(100%, 210px);
    min-height: 14px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-package-row {
    cursor: default;
    pointer-events: none;
}
.steamprice-game-search-fullpage .steamprice-skeleton-package-row:hover {
    border-color: #e2e8f0;
    box-shadow: none;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--badge {
    flex-shrink: 0;
    width: 72px;
    min-height: 28px;
    border-radius: 7px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--badge-wide {
    flex-shrink: 0;
    width: 96px;
    min-height: 28px;
    border-radius: 7px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--pkg-name,
.steamprice-game-search-fullpage .steamprice-skeleton-line--pkg-name-short {
    flex: 1;
    min-width: 0;
    min-height: 16px;
}
.steamprice-game-search-fullpage .steamprice-skeleton-line--pkg-name-short {
    max-width: 58%;
}

/* ارزان‌ترین ریجن */
.steamprice-game-search-fullpage .steamprice-prices-table tbody tr.steamprice-row-cheapest {
    background: #ecfdf5;
}
.steamprice-game-search-fullpage .steamprice-prices-table tbody tr.steamprice-row-cheapest:hover {
    background: #d1fae5;
}
.steamprice-game-search-fullpage .steamprice-cheapest-badge {
    display: inline-flex;
    align-items: center;
    margin-inline-start: 6px;
    padding: 2px 7px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #047857;
    background: #a7f3d0;
    border-radius: 999px;
    vertical-align: middle;
    white-space: nowrap;
}

/* قیمت در نتایج جستجو */
.steamprice-game-search-fullpage .steamprice-result-price {
    display: block;
    margin-top: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0369a1;
}

/* مرحله قوانین و توضیحات سفارش */
.steamprice-terms-overlay {
    position: fixed;
    inset: 0;
    z-index: 100004;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    direction: rtl;
}
.steamprice-terms-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
.steamprice-terms-overlay.is-visible .steamprice-terms-box {
    transform: translateY(0) scale(1);
}
.steamprice-terms-box {
    width: min(100%, 520px);
    max-height: min(90vh, 640px);
    overflow: auto;
    padding: 24px 22px 20px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    direction: rtl;
    text-align: right;
    transform: translateY(8px) scale(0.98);
    transition: transform 0.2s ease;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    border-top: 4px solid #0ea5e9;
}
.steamprice-terms-title {
    margin: 0 0 16px;
    font-size: 1.125rem;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    color: #0f172a;
}
.steamprice-terms-body {
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
}
.steamprice-terms-warn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #92400e;
}
.steamprice-terms-warn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #fbbf24;
    color: #78350f;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1;
}
.steamprice-terms-warn-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    font-weight: 600;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
}
.steamprice-terms-list {
    margin: 0 0 16px;
    padding: 0 18px 0 0;
    list-style: disc;
}
.steamprice-terms-item {
    margin-bottom: 10px;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #334155;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
}
.steamprice-terms-item:last-child {
    margin-bottom: 0;
}
.steamprice-terms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
}
.steamprice-terms-checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #0ea5e9;
}
.steamprice-terms-checkbox-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #1e293b;
    font-weight: 500;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
}
.steamprice-terms-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}
.steamprice-terms-btn {
    min-width: 110px;
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    font-family: 'KalamehWebFaNum', Tahoma, 'Segoe UI', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}
.steamprice-terms-btn--cancel {
    background: #f1f5f9;
    color: #475569;
}
.steamprice-terms-btn--cancel:hover {
    background: #e2e8f0;
}
.steamprice-terms-btn--continue {
    background: #0ea5e9;
    color: #ffffff;
}
.steamprice-terms-btn--continue:hover {
    background: #0284c7;
}
