/* stltype v2.0 - ortak ön yüz menü ve baskı hizmeti ekleri */
.front-navbar .nav-links-center a.active,
.front-navbar .nav-explore-dropdown.active { color: var(--primary-glow); }
.nav-mini-count { font-size: .7rem; color: var(--primary-glow); margin-left: 3px; }
.print-service-card { border: 1px solid rgba(16,185,129,.26); background: rgba(16,185,129,.055); }
.print-service-card .print-price { color: var(--accent-green); font-size: 1.35rem; font-weight: 800; margin-top: 6px; display:block; }
.print-service-meta { display:grid; gap:8px; margin-top:12px; color:var(--text-muted); font-size:.92rem; }
.front-footer-gap { margin-top: 40px; }
@media (max-width: 1100px) { .front-navbar .nav-search-bar { max-width: 280px; } }


/* --- STLTYPE PHASE 12 / v2.2: Ön yüz kontrast ekleri --- */
.front-navbar { background: rgba(15, 22, 34, 0.90); }
.front-navbar .nav-links-center a:hover { color: var(--primary-glow); }
.print-service-card {
    background: linear-gradient(180deg, rgba(16,185,129,.14), rgba(22, 32, 46, .86));
    border-color: rgba(16,185,129,.36);
}
.front-footer-gap { margin-top: 50px; }

/* --- STLTYPE PHASE 15 / v2.5: Dil seçenekleri ve ön yüz bağlantı sabitleme --- */
.language-switcher .dropdown-list { min-width: 190px; }
.language-switcher .dropdown-list a.current,
.mobile-language-strip a.current {
    color: var(--primary-glow) !important;
    background: rgba(0, 240, 255, 0.12);
}
.mobile-language-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}
.mobile-language-strip a {
    border: 1px solid var(--glass-border) !important;
    border-radius: 10px;
    padding: 8px 6px !important;
    text-align: center;
    font-size: .82rem !important;
}
.front-navbar .dropdown-trigger-btn { min-height: 38px; }
.front-navbar .nav-search-submit {
    min-width: 38px;
    border: 0;
    background: transparent;
    color: var(--primary-glow);
    cursor: pointer;
    font-size: 1.2rem;
}
@media (max-width: 1180px) {
    .front-navbar .nav-right-icons { gap: 8px; }
    .front-navbar .dropdown-trigger-btn { padding: 7px 10px; }
}

/* --- STLTYPE v3.1.2: Ön yüz kullanıcı giriş hotfix --- */
.front-login-pill,
.front-register-pill,
.front-logout-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 10px;
    font-size: .84rem;
    font-weight: 800;
    white-space: nowrap;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}
.front-login-pill {
    color: #021014;
    background: var(--primary-glow);
    box-shadow: 0 0 14px rgba(0, 240, 255, .24);
}
.front-login-pill:hover { transform: translateY(-1px); box-shadow: 0 0 22px rgba(0, 240, 255, .36); }
.front-login-pill.is-user {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
    background: rgba(255,255,255,.06);
    border-color: rgba(0,240,255,.28);
}
.front-register-pill,
.front-logout-mini {
    color: var(--text-main);
    background: rgba(255,255,255,.045);
}
.front-register-pill:hover,
.front-logout-mini:hover {
    border-color: var(--primary-glow);
    color: var(--primary-glow);
}
.front-auth-card {
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(24, 32, 46, .92), rgba(14, 18, 27, .92));
    border-color: rgba(0,240,255,.16);
}
.front-register-card { max-width: 620px; }
.front-auth-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.hero-action-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.hero-login-link { border-color: rgba(0, 240, 255, .22); }
@media (max-width: 1280px) {
    .front-register-pill { display: none; }
    .front-login-pill.is-user { max-width: 112px; }
}
@media (max-width: 1100px) {
    .front-register-pill,
    .front-login-pill,
    .front-logout-mini { display: none; }
}

/* --- STLTYPE v3.3.1: Hesabım panel tasarım geri alma / hesap sayfaları --- */
.account-shell {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 24px 0 58px;
    display: grid;
    gap: 16px;
    box-sizing: border-box;
}

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

.account-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    width: 100%;
    min-height: 172px;
    padding: 26px 28px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 18%, rgba(0,240,255,0.075), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.038), rgba(255,255,255,0.012)),
        rgba(11,11,13,0.92);
    box-shadow: 0 18px 45px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.035);
    overflow: hidden;
}

.account-hero-left,
.account-hero-card > div:first-child {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.account-avatar {
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0,240,255,0.34);
    background: rgba(0,240,255,0.045);
    box-shadow: 0 0 0 7px rgba(0,240,255,0.035), 0 0 24px rgba(0,240,255,0.16);
}

.account-kicker {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--primary-glow);
    font-size: .72rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.account-hero-card h1 {
    margin: 0;
    max-width: 100%;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.02;
    font-weight: 650;
    letter-spacing: -1.6px;
}

.account-hero-card p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: .98rem;
    line-height: 1.58;
}

.account-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.account-quick-actions a,
.account-panel-head a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    background: rgba(255,255,255,0.055);
    font-size: .82rem;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
}

.account-quick-actions a:hover,
.account-panel-head a:hover {
    color: #021014;
    border-color: var(--primary-glow);
    background: var(--primary-glow);
    box-shadow: 0 0 18px rgba(0,240,255,0.22);
}

.account-hero-balance {
    flex: 0 0 205px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 22px 20px;
    border: 1px solid rgba(0,240,255,0.18);
    border-radius: 18px;
    background: rgba(0,240,255,0.028);
}

.account-hero-balance span,
.account-metric-card span,
.account-earning-list span,
.account-score-bars span,
.account-panel-head > span {
    display: block;
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.account-hero-balance strong {
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    font-weight: 650;
    letter-spacing: -.7px;
}

.account-hero-balance em {
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.45;
    font-style: normal;
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.account-metric-card {
    min-height: 108px;
    padding: 18px 16px;
    border: 1px solid rgba(255,255,255,0.105);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.032), rgba(255,255,255,0.01)),
        rgba(10,10,12,0.88);
    box-shadow: 0 12px 28px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.025);
}

.account-metric-card.highlight {
    border-color: rgba(0,240,255,0.26);
    background:
        radial-gradient(circle at 0% 0%, rgba(0,240,255,0.075), transparent 58%),
        linear-gradient(180deg, rgba(255,255,255,0.032), rgba(255,255,255,0.01)),
        rgba(10,10,12,0.88);
}

.account-metric-card strong {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 1.72rem;
    line-height: 1;
    font-weight: 650;
    letter-spacing: -.5px;
}

.account-metric-card small {
    display: block;
    margin-top: 11px;
    color: var(--text-muted);
    font-size: .78rem;
    line-height: 1.35;
}

.account-two-col {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, .96fr);
    gap: 16px;
    align-items: stretch;
    width: 100%;
}

.account-panel {
    width: 100%;
    margin: 0;
    padding: 22px;
    border-radius: 18px;
    overflow: hidden;
}

.account-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.account-panel-head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.12rem;
    line-height: 1.25;
    font-weight: 650;
    letter-spacing: -.25px;
}

.account-earning-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.account-earning-list > div,
.account-score-bars > div {
    min-width: 0;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 13px;
    background: rgba(255,255,255,0.04);
    padding: 14px;
}

.account-earning-list strong,
.account-score-bars strong {
    display: block;
    margin-top: 9px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 650;
}

.account-muted {
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.6;
}

.account-table-wrap {
    width: 100%;
    max-width: 100%;
    border-radius: 13px;
    background: rgba(0,0,0,0.14);
}

.account-table-wrap .data-table {
    width: 100%;
    min-width: 720px;
}

.account-table-wrap .data-table th,
.account-table-wrap .data-table td {
    padding: 12px 13px;
    font-size: .82rem;
}

.account-table-wrap .data-table a {
    color: #eafcff;
}

.account-table-wrap .data-table a:hover {
    color: var(--primary-glow);
}

.account-rank-box {
    display: flex;
    min-height: 104px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 12px;
    border: 1px solid rgba(0,240,255,0.18);
    border-radius: 16px;
    background:
        radial-gradient(circle at 18% 0%, rgba(0,240,255,0.12), transparent 58%),
        rgba(255,255,255,0.045);
}

.account-rank-box strong {
    color: #fff;
    font-size: 2.35rem;
    line-height: 1;
    font-weight: 650;
}

.account-rank-box span {
    color: var(--text-muted);
    font-size: .82rem;
}

.account-score-bars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 15px;
}

.account-score-bars > div:last-child:nth-child(odd) {
    grid-column: span 1;
}

.account-activity-list {
    display: grid;
    gap: 10px;
}

.account-activity-item {
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 13px;
    background: rgba(255,255,255,0.035);
}

.account-activity-item strong,
.account-activity-item span,
.account-activity-item em {
    display: block;
}

.account-activity-item strong {
    color: #fff;
    font-size: .92rem;
    font-weight: 650;
    margin-bottom: 5px;
}

.account-activity-item span,
.account-activity-item em {
    color: var(--text-muted);
    font-size: .8rem;
    line-height: 1.45;
    font-style: normal;
}

.account-favorites-grid {
    margin-top: 4px;
}

.account-favorites-grid .master-card {
    min-width: 0;
}

.account-favorites-grid > .account-muted {
    grid-column: 1 / -1;
}

@media (max-width: 1180px) {
    .account-shell {
        width: min(100% - 32px, 1060px);
    }
    .account-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .account-hero-card,
    .account-hero-left,
    .account-hero-card > div:first-child {
        align-items: flex-start;
    }
    .account-hero-card {
        flex-direction: column;
    }
    .account-hero-balance {
        width: 100%;
        flex-basis: auto;
        align-self: stretch;
    }
    .account-two-col {
        grid-template-columns: 1fr;
    }
    .account-earning-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .account-shell {
        width: min(100% - 22px, 100%);
        padding-top: 14px;
        gap: 12px;
    }
    .account-hero-card {
        padding: 18px;
        border-radius: 18px;
    }
    .account-hero-left,
    .account-hero-card > div:first-child {
        flex-direction: column;
        gap: 14px;
    }
    .account-avatar {
        width: 76px;
        height: 76px;
    }
    .account-summary-grid,
    .account-score-bars {
        grid-template-columns: 1fr;
    }
    .account-panel {
        padding: 16px;
    }
    .account-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .account-quick-actions a,
    .account-panel-head a {
        width: 100%;
    }
}

/* STLTYPE v6.2 - Hesap/profil paneli genis ekran ve tasma duzeltmeleri */
:root {
    --account-shell-max: 1540px;
    --account-shell-gutter: clamp(22px, 4vw, 96px);
}

@media (min-width: 1600px) {
    :root { --account-shell-max: 1720px; }
}

@media (min-width: 2200px) {
    :root { --account-shell-max: 1880px; }
}

.account-shell {
    width: min(var(--account-shell-max), calc(100vw - var(--account-shell-gutter))) !important;
    max-width: var(--account-shell-max);
}

.account-dashboard-view,
.account-summary-grid,
.account-two-col,
.account-panel,
.account-hero-card,
.account-hero-left,
.account-hero-card > div:first-child {
    min-width: 0;
}

.account-hero-card {
    align-items: stretch;
}

.account-hero-left,
.account-hero-card > div:first-child {
    flex: 1 1 auto;
}

.account-hero-left > div,
.account-hero-card > div:first-child > div {
    min-width: 0;
    flex: 1 1 auto;
}

.account-hero-balance {
    flex: 0 0 clamp(220px, 16vw, 300px);
    min-width: 220px;
    max-width: 320px;
}

.account-quick-actions {
    max-width: 100%;
}

.account-quick-actions a {
    flex: 0 1 auto;
}

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

.account-two-col {
    grid-template-columns: minmax(0, 2.35fr) minmax(340px, .9fr);
    align-items: stretch;
}

.account-panel {
    min-width: 0;
}

.account-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.account-table-wrap .data-table {
    min-width: 760px;
}

.account-panel-head,
.account-panel-head h2 {
    min-width: 0;
}

@media (min-width: 1500px) {
    .account-summary-grid {
        gap: 16px;
    }

    .account-two-col {
        grid-template-columns: minmax(0, 2.55fr) minmax(360px, .85fr);
        gap: 18px;
    }

    .account-panel {
        padding: 24px;
    }
}

@media (min-width: 1900px) {
    .account-hero-card {
        padding: 30px 32px;
    }

    .account-two-col {
        grid-template-columns: minmax(0, 2.65fr) minmax(390px, .8fr);
    }
}

@media (max-width: 1180px) {
    .account-shell {
        width: min(100% - 32px, 1060px) !important;
    }

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

@media (max-width: 980px) {
    .account-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .account-hero-card {
        align-items: flex-start;
    }

    .account-hero-balance {
        width: 100%;
        min-width: 0;
        max-width: none;
        flex-basis: auto;
    }
}

@media (max-width: 640px) {
    .account-shell {
        width: min(100% - 22px, 100%) !important;
    }

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

    .account-table-wrap .data-table {
        min-width: 720px;
    }
}

/* STLTYPE v6.3 - Hesap/profil paneli dikey bosluk ve yapisma duzeltmeleri */
.account-shell {
    gap: clamp(18px, 1.25vw, 28px) !important;
}

.account-dashboard-view.is-active {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 1.35vw, 30px) !important;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.account-dashboard-view > section,
.account-dashboard-view > .account-summary-grid,
.account-dashboard-view > .account-two-col,
.account-dashboard-view > .account-panel {
    margin: 0 !important;
    min-width: 0;
}

.account-summary-grid {
    align-items: stretch;
}

.account-two-col {
    align-items: start !important;
    gap: clamp(16px, 1.15vw, 24px) !important;
}

.account-two-col > .account-panel,
.account-dashboard-view > .account-panel {
    align-self: start;
}

.account-panel {
    position: relative;
    z-index: 0;
    min-height: 0;
}

.account-table-wrap {
    margin-top: 0;
}

@media (min-width: 1500px) {
    .account-dashboard-view.is-active {
        gap: 28px !important;
    }

    .account-shell {
        gap: 24px !important;
    }
}

@media (max-width: 900px) {
    .account-dashboard-view.is-active {
        gap: 16px !important;
    }
}


/* STLTYPE v6.4 - Hesap paneli ic sekme ust bolumu kaldirma */
.account-dashboard-embed-panel {
    margin-top: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.account-dashboard-embed-panel .account-embed-head {
    display: none !important;
}

.account-dashboard-embed-panel .account-embed-loading {
    margin: 0 0 14px !important;
}

.account-dashboard-embed-panel .account-embed-frame {
    display: block;
    width: 100%;
    min-height: 760px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.account-dashboard-embed-panel + .account-dashboard-view,
.account-dashboard-view + .account-dashboard-embed-panel {
    margin-top: 0 !important;
}

/* STLTYPE v6.5 - Hesap paneli gomulu sayfa ust bosluk temizligi */
.account-shell.is-embed-active {
    gap: clamp(6px, 0.55vw, 10px) !important;
}

.account-shell.is-embed-active .account-hero-card {
    margin-bottom: 0 !important;
}

.account-shell.is-embed-active .account-dashboard-embed-panel {
    margin-top: 0 !important;
}

.account-shell.is-embed-active .account-dashboard-embed-panel .account-embed-frame {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 640px;
}

.account-dashboard-embed-panel .account-embed-frame {
    vertical-align: top;
}

/* STLTYPE v6.6 - Hesap paneli gomulu gecis hizlandirma ve yukleniyor satiri kaldirma */
.account-dashboard-embed-panel .account-embed-loading {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

.account-dashboard-embed-panel .account-embed-frame {
    transition: opacity .12s ease;
}

.account-dashboard-embed-panel .account-embed-frame[hidden] {
    display: none !important;
}

/* STLTYPE v6.7 - Hesap paneli: direkt iframe gecisi ve gomulu sayfa temizligi */
.account-dashboard-embed-panel[hidden],
.account-dashboard-view[hidden] {
    display: none !important;
}

.account-dashboard-embed-panel {
    width: 100% !important;
    min-width: 0 !important;
}

.account-dashboard-embed-panel .account-embed-frame {
    display: block !important;
    width: 100% !important;
    min-height: 720px !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 0 !important;
    background: transparent !important;
    transition: none !important;
}

.account-shell.is-embed-active .account-dashboard-view {
    display: none !important;
}

.account-shell.is-embed-active .account-dashboard-embed-panel {
    display: block !important;
    margin-top: 0 !important;
}

html.account-embedded-html,
body.account-embedded-direct,
body.account-embedded-body {
    background: transparent !important;
    overflow-x: hidden !important;
}

body.account-embedded-direct .front-navbar,
body.account-embedded-direct footer,
body.account-embedded-direct .site-footer,
body.account-embedded-body .front-navbar,
body.account-embedded-body footer,
body.account-embedded-body .site-footer {
    display: none !important;
}

body.account-embedded-direct .page-wrapper,
body.account-embedded-body .page-wrapper {
    min-height: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}

body.account-embedded-direct .account-shell,
body.account-embedded-direct .form-shell,
body.account-embedded-direct .seller-shell,
body.account-embedded-direct .account-embedded-shell,
body.account-embedded-direct .account-embedded-form-shell,
body.account-embedded-direct .account-embedded-seller-shell,
body.account-embedded-body .account-shell,
body.account-embedded-body .form-shell,
body.account-embedded-body .seller-shell {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 16px !important;
}

body.account-embedded-direct .account-hero-card,
body.account-embedded-body .account-hero-card,
body.account-embedded-direct .section-header,
body.account-embedded-body .section-header {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.account-embedded-direct .glass-panel:first-child,
body.account-embedded-direct .form-grid:first-child,
body.account-embedded-body .glass-panel:first-child,
body.account-embedded-body .form-grid:first-child {
    margin-top: 0 !important;
}

body.account-embedded-direct .notice:first-child,
body.account-embedded-body .notice:first-child {
    margin-top: 0 !important;
}

body.account-embedded-direct .account-summary-grid,
body.account-embedded-direct .library-stat-grid,
body.account-embedded-body .account-summary-grid,
body.account-embedded-body .library-stat-grid {
    margin-top: 0 !important;
}

body.account-embedded-direct .seller-shell,
body.account-embedded-direct .account-embedded-seller-shell,
body.account-embedded-body .seller-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

/* STLTYPE v6.8 - Hesap paneli gomulu sayfa ust bosluk temizligi */
.account-shell.is-embed-active {
    gap: 0 !important;
}

.account-shell.is-embed-active .account-hero-card {
    margin-bottom: 0 !important;
}

.account-shell.is-embed-active .account-dashboard-embed-panel {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.account-shell.is-embed-active .account-dashboard-embed-panel .account-embed-frame {
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: block !important;
}

html.account-embedded-html,
body.account-embedded-direct,
body.account-embedded-body {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow-x: hidden !important;
}

body.account-embedded-direct .page-wrapper,
body.account-embedded-body .page-wrapper {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.account-embedded-direct main,
body.account-embedded-direct .account-shell,
body.account-embedded-direct .form-shell,
body.account-embedded-direct .seller-shell,
body.account-embedded-direct .account-embedded-shell,
body.account-embedded-direct .account-embedded-form-shell,
body.account-embedded-direct .account-embedded-seller-shell,
body.account-embedded-body main,
body.account-embedded-body .account-shell,
body.account-embedded-body .form-shell,
body.account-embedded-body .seller-shell {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    gap: 0 !important;
}

body.account-embedded-direct .account-hero-card,
body.account-embedded-body .account-hero-card,
body.account-embedded-direct .section-header,
body.account-embedded-body .section-header {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

body.account-embedded-direct .form-shell > :first-child,
body.account-embedded-direct .account-shell > :first-child,
body.account-embedded-direct .seller-shell > :first-child,
body.account-embedded-body .form-shell > :first-child,
body.account-embedded-body .account-shell > :first-child,
body.account-embedded-body .seller-shell > :first-child,
body.account-embedded-direct .glass-panel:first-child,
body.account-embedded-direct .form-grid:first-child,
body.account-embedded-direct .account-panel:first-child,
body.account-embedded-body .glass-panel:first-child,
body.account-embedded-body .form-grid:first-child,
body.account-embedded-body .account-panel:first-child {
    margin-top: 0 !important;
}

/* STLTYPE v6.9 - Hesap paneli gomulu bolum hero/form arasi dengeli bosluk */
.account-shell.is-embed-active {
    gap: clamp(16px, 1.15vw, 24px) !important;
}

.account-shell.is-embed-active .account-hero-card {
    margin-bottom: 0 !important;
}

.account-shell.is-embed-active .account-dashboard-embed-panel {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.account-shell.is-embed-active .account-dashboard-embed-panel .account-embed-frame {
    margin-top: 0 !important;
}

@media (max-width: 900px) {
    .account-shell.is-embed-active {
        gap: 14px !important;
    }
}


/* STLTYPE v7.0 - Kullanici paneli ic bolum bosluklari ve iframe/footer dengesi */
.account-shell.is-embed-active {
    gap: clamp(18px, 1.2vw, 26px) !important;
}

.account-shell.is-embed-active .account-dashboard-embed-panel {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.account-dashboard-embed-panel .account-embed-frame,
.account-shell.is-embed-active .account-dashboard-embed-panel .account-embed-frame {
    min-height: 0 !important;
    height: auto;
    overflow: hidden;
}

body.account-embedded-direct .account-shell.account-embedded-shell,
body.account-embedded-body .account-shell,
body.account-embedded-direct .form-shell.account-embedded-form-shell,
body.account-embedded-body .form-shell,
body.account-embedded-direct .seller-shell.account-embedded-seller-shell,
body.account-embedded-body .seller-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: clamp(16px, 1.05vw, 22px) !important;
    align-items: start !important;
}

body.account-embedded-direct .account-summary-grid,
body.account-embedded-body .account-summary-grid,
body.account-embedded-direct .library-stat-grid,
body.account-embedded-body .library-stat-grid,
body.account-embedded-direct .notification-toolbar,
body.account-embedded-body .notification-toolbar,
body.account-embedded-direct .notification-list,
body.account-embedded-body .notification-list,
body.account-embedded-direct .account-two-col,
body.account-embedded-body .account-two-col,
body.account-embedded-direct .seller-two-col,
body.account-embedded-body .seller-two-col,
body.account-embedded-direct .account-panel,
body.account-embedded-body .account-panel,
body.account-embedded-direct .glass-panel,
body.account-embedded-body .glass-panel {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-width: 0 !important;
}

body.account-embedded-direct .wallet-summary-grid,
body.account-embedded-body .wallet-summary-grid {
    gap: clamp(12px, .9vw, 18px) !important;
    align-items: stretch !important;
}

body.account-embedded-direct .wallet-summary-grid.compact,
body.account-embedded-body .wallet-summary-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.account-embedded-direct .wallet-withdraw-form,
body.account-embedded-body .wallet-withdraw-form,
body.account-embedded-direct .account-form-grid,
body.account-embedded-body .account-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

body.account-embedded-direct .account-form-grid .full,
body.account-embedded-body .account-form-grid .full {
    grid-column: 1 / -1 !important;
}

body.account-embedded-direct .notification-shell,
body.account-embedded-body .notification-shell {
    gap: clamp(14px, 1vw, 20px) !important;
}

body.account-embedded-direct .notification-list,
body.account-embedded-body .notification-list {
    display: grid !important;
    gap: clamp(12px, .85vw, 18px) !important;
}

body.account-embedded-direct .notification-toolbar,
body.account-embedded-body .notification-toolbar {
    padding: 14px 16px !important;
}

body.account-embedded-direct .notification-card,
body.account-embedded-body .notification-card {
    margin: 0 !important;
}

body.account-embedded-direct .seller-shell.account-embedded-seller-shell,
body.account-embedded-body .seller-shell {
    gap: clamp(16px, 1.05vw, 22px) !important;
}

body.account-embedded-direct .seller-two-col,
body.account-embedded-body .seller-two-col,
body.account-embedded-direct .account-two-col,
body.account-embedded-body .account-two-col {
    align-items: start !important;
}

body.account-embedded-direct .seller-two-col > .account-panel,
body.account-embedded-body .seller-two-col > .account-panel,
body.account-embedded-direct .account-two-col > .account-panel,
body.account-embedded-body .account-two-col > .account-panel {
    align-self: start !important;
}

body.account-embedded-direct .form-shell.account-embedded-form-shell,
body.account-embedded-body .form-shell {
    gap: clamp(16px, 1.05vw, 22px) !important;
}

body.account-embedded-direct .account-embedded-form-shell > .glass-panel,
body.account-embedded-body .form-shell > .glass-panel {
    margin: 0 !important;
}

.account-settings-shell {
    min-height: 0 !important;
    padding-bottom: clamp(34px, 4vw, 58px) !important;
}

@media (max-width: 900px) {
    .account-shell.is-embed-active {
        gap: 16px !important;
    }
    body.account-embedded-direct .account-shell.account-embedded-shell,
    body.account-embedded-body .account-shell,
    body.account-embedded-direct .form-shell.account-embedded-form-shell,
    body.account-embedded-body .form-shell,
    body.account-embedded-direct .seller-shell.account-embedded-seller-shell,
    body.account-embedded-body .seller-shell {
        gap: 14px !important;
    }
    body.account-embedded-direct .wallet-summary-grid.compact,
    body.account-embedded-body .wallet-summary-grid.compact,
    body.account-embedded-direct .wallet-withdraw-form,
    body.account-embedded-body .wallet-withdraw-form,
    body.account-embedded-direct .account-form-grid,
    body.account-embedded-body .account-form-grid {
        grid-template-columns: 1fr !important;
    }
}

/* STLTYPE v7.2 - Kullanici paneli sekme cache gorunurluk ve bosluk duzeltmesi */
.account-embed-frame-pool {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.account-dashboard-embed-panel .account-embed-frame-cached {
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    position: relative !important;
    inset: auto !important;
    height: 0;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    transition: none !important;
}

.account-dashboard-embed-panel .account-embed-frame-cached.is-active {
    display: block !important;
    pointer-events: auto !important;
    min-height: 260px !important;
    max-height: none !important;
    overflow: hidden !important;
}

.account-shell.is-embed-active .account-dashboard-embed-panel:not([hidden]) {
    display: block !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.account-shell.is-embed-active .account-dashboard-embed-panel[hidden],
.account-dashboard-embed-panel[hidden] {
    display: none !important;
}

.account-shell.is-embed-active .account-dashboard-view[hidden],
.account-dashboard-view[hidden] {
    display: none !important;
}

.account-shell.is-embed-active .account-hero-card {
    margin-bottom: 0 !important;
}

.account-shell.is-embed-active {
    gap: clamp(18px, 1.2vw, 26px) !important;
}

@media (max-width: 900px) {
    .account-shell.is-embed-active {
        gap: 14px !important;
    }
}


/* --- STLTYPE v7.3: Model yukleme yazdirma ayarlari modal temizligi --- */
.account-embed-frame-holder .account-tab-frame[src*="model-upload.php"]{background:transparent;}

/* STLTYPE v7.7 - Model yukle yazdirma ayarlari akordion duzeltmesi */
.stltype-print-settings-accordion{display:block;margin:14px 0 6px!important;padding:0!important;border:0!important;min-width:0;}
.stltype-print-settings-accordion>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:11px 18px;border:1px solid rgba(0,240,255,.36);border-radius:13px;background:rgba(0,240,255,.12);color:var(--primary-glow,#00f0ff);font-weight:650;line-height:1;cursor:pointer;transition:.18s ease;box-shadow:0 0 18px rgba(0,240,255,.10);user-select:none;}
.stltype-print-settings-accordion>summary::-webkit-details-marker{display:none;}
.stltype-print-settings-accordion>summary:after{content:'+';display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;border:1px solid rgba(0,240,255,.28);font-size:1rem;line-height:1;}
.stltype-print-settings-accordion[open]>summary:after{content:'-';}
.stltype-print-settings-accordion>summary:hover{background:var(--primary-glow,#00f0ff);color:#021014;box-shadow:0 0 22px rgba(0,240,255,.26);}
.stltype-print-settings-panel{margin-top:16px;padding:18px;border:1px solid rgba(255,255,255,.10);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018));box-shadow:0 18px 42px rgba(0,0,0,.22);}
.stltype-print-settings-panel .section-headline{font-size:1.2rem!important;margin:0 0 16px!important;}
.stltype-print-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.stltype-print-settings-grid .form-field{min-width:0;}
.stltype-print-notes-title{margin:18px 0 0!important;}
.stltype-print-notes-title .section-headline{font-size:1.2rem!important;margin:0 0 4px!important;}
.stltype-print-notes-field{margin-top:0!important;}
@media (max-width:780px){.stltype-print-settings-grid{grid-template-columns:1fr}.stltype-print-settings-panel{padding:14px}.stltype-print-settings-accordion>summary{width:100%;}}

/* stltype performance pass 1 */
@supports (content-visibility: auto) {
    .main-container > section {
        content-visibility: auto;
        contain-intrinsic-size: 720px;
    }
}
.card-media-img {
    aspect-ratio: 4 / 3;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* QA 2026-06-19: safer mobile wrapping for language popup, categories and product cards */
.category-ring-card h5,.category-ring-card span,.marketplace-card h4,.dock-label,.dock-value{overflow-wrap:anywhere}
.language-popover,.currency-popover,.lang-popover,.currency-menu{max-width:min(92vw,420px);overflow:auto}
@media (max-width:640px){.category-ring-card{min-width:160px}.banner-copy h1{overflow-wrap:anywhere}.hero-action-row{flex-wrap:wrap}.model-detail-grid{grid-template-columns:1fr}.st-print-settings-list p{flex-direction:column;gap:6px}.st-print-settings-list span:last-child{text-align:left}.model-technical-specs .btn-ghost{width:100%;justify-content:center}}
