:root {
    --accent: #FF891B;
    --accent-2: #FF9D14;
    --bg: #07080C;
    --bg-2: #0d0f14;
    --surface: rgba(29, 33, 39, 0.72);
    --surface-solid: #1D2127;
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.20);
    --text: #ffffff;
    --text-2: rgba(255, 255, 255, 0.80);
    --muted: #C0C0D1;
    --ok: #33FDB4;
    --danger: #ff4d5e;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --container: 1240px;

    --tebex-legal-footer-background-color: #07080C;
    --tebex-legal-footer-text-color: rgba(255, 255, 255, 0.6);
    --tebex-legal-footer-border-color: rgba(255, 255, 255, 0.08);
    --tebex-legal-footer-logo-color: #ffffff;
}

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

html { scroll-behavior: smooth; }

body.st-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

::selection { background: var(--accent); color: #111; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #22262d; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.st-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.st-muted { color: var(--muted); }
.st-small { font-size: 13px; }
.st-center { text-align: center; }
.st-accent { color: var(--accent); font-weight: 700; }

/* ---------- background ---------- */
.st-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7, 8, 12, 0.55) 0%, rgba(7, 8, 12, 0.85) 45%, var(--bg) 85%),
        radial-gradient(ellipse at 15% 0%, rgba(255, 137, 27, 0.18), transparent 55%),
        var(--page-bg-image) center top / cover no-repeat;
}

/* ---------- header ---------- */
.st-header { padding: 18px 0 8px; position: relative; z-index: 20; }

.st-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
}
.st-logo::before, .st-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 40px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong));
}
.st-logo::before { left: 0; }
.st-logo::after { right: 0; transform: scaleX(-1); }
.st-logo img { width: 52px; height: 52px; object-fit: contain; transition: transform .3s; }
.st-logo:hover img { transform: rotate(-8deg) scale(1.06); }

.st-nav-row { display: flex; align-items: center; gap: 12px; }
.st-nav { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.st-actions { display: flex; gap: 10px; align-items: center; }

.st-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: rgba(7, 8, 12, 0.35);
    backdrop-filter: blur(8px);
    color: var(--text);
    font: 700 12px/1 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: .02em;
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
    white-space: nowrap;
}
.st-pill:hover { border-color: var(--accent); color: var(--accent); }
.st-pill-muted { color: var(--text-2); }
.st-pill-white { background: #fff; color: #111; border-color: #fff; }
.st-pill-white:hover { background: var(--accent); border-color: var(--accent); color: #111; }
.st-pill-icon { padding: 0 13px; }

.st-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--accent);
    color: #111;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.st-dropdown { position: relative; }
.st-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    padding: 8px;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .2s;
}
.st-dropdown-right .st-dropdown-menu { left: auto; right: 0; }
.st-dropdown:hover .st-dropdown-menu, .st-dropdown:focus-within .st-dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.st-dropdown-menu a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; color: var(--text-2); }
.st-dropdown-menu a:hover { background: rgba(255, 137, 27, 0.12); color: var(--accent); }

.st-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.st-burger span { height: 2px; background: #fff; border-radius: 2px; }

/* ---------- buttons ---------- */
.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 26px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font: 800 13px/1 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: .03em;
    cursor: pointer;
    transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.st-btn:active { transform: translateY(1px); }
.st-btn-primary {
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
    color: #111;
    box-shadow: 0 8px 24px rgba(255, 137, 27, 0.25);
}
.st-btn-primary:hover { box-shadow: 0 10px 34px rgba(255, 137, 27, 0.45); }
.st-btn-ghost { background: rgba(255, 255, 255, 0.02); border-color: var(--line-strong); color: #fff; }
.st-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.st-btn-disabled { background: rgba(255, 255, 255, 0.05); color: var(--muted); cursor: not-allowed; }
.st-btn-sm { height: 38px; padding: 0 16px; font-size: 11px; }
.st-btn-block { width: 100%; }
.st-btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- hero ---------- */
.st-hero { padding: 70px 0 50px; }
.st-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.st-eyebrow { display: inline-block; color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .12em; margin-bottom: 14px; }
.st-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; margin-bottom: 18px; }
.st-hero p { color: var(--text-2); font-size: 16px; max-width: 560px; }
.st-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.st-hero-card {
    padding: 26px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(29, 33, 39, 0.85), rgba(16, 16, 19, 0.6));
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}
.st-server { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.st-server strong { display: block; font-size: 16px; }
.st-server-icon {
    width: 46px; height: 46px; flex: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #111;
    font: 900 24px/46px 'Inter', sans-serif;
    text-align: center;
    font-style: italic;
}
.st-server-icon-lg { width: 64px; height: 64px; line-height: 64px; font-size: 32px; margin: 0 auto 18px; border-radius: 14px; }
.st-server-logo { width: 46px; height: 46px; flex: none; object-fit: contain; }
.st-server-logo-lg { display: block; width: 72px; height: 72px; margin: 0 auto 18px; }

.st-perks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.st-perks li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); font-weight: 600; }
.st-perks span { color: var(--accent); font-weight: 900; font-size: 12px; }

.st-copy {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--line-strong);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font: 600 14px 'Inter', sans-serif;
    cursor: pointer;
    transition: border-color .2s;
}
.st-copy small { color: var(--muted); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.st-copy:hover { border-color: var(--accent); }
.st-copy.is-copied small { color: var(--ok); }

/* ---------- layout ---------- */
.st-main { flex: 1; padding: 20px 0 70px; }
.st-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.st-layout-full { grid-template-columns: minmax(0, 1fr); }
.st-layout:not(:has(.st-sidebar)) { grid-template-columns: minmax(0, 1fr); }

.st-card {
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.st-card + .st-card, .st-cat-grid + .st-card { margin-top: 24px; }

.st-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.st-section-head h2 { font-size: 30px; margin-bottom: 4px; }
.st-section-head h2::after { content: ''; display: block; width: 44px; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--accent); }
.st-back { display: inline-block; margin-bottom: 12px; color: var(--muted); font-size: 13px; font-weight: 600; }
.st-back:hover { color: var(--accent); }

.st-rich { color: var(--text-2); }
.st-rich a { color: var(--accent); text-decoration: underline; }
.st-rich img { border-radius: var(--radius-sm); margin: 10px 0; }
.st-rich ul { padding-left: 20px; }
.st-rich h1, .st-rich h2, .st-rich h3 { color: #fff; }

/* ---------- categories ---------- */
.st-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.st-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 22px;
    min-height: 150px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(29, 33, 39, 0.9), rgba(16, 16, 19, 0.7));
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .25s, border-color .25s;
}
.st-cat-card::after {
    content: '';
    position: absolute;
    right: -40px; bottom: -40px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 137, 27, 0.35), transparent 70%);
    opacity: 0;
    transition: opacity .3s;
}
.st-cat-card:hover { transform: translateY(-4px); border-color: rgba(255, 137, 27, 0.6); }
.st-cat-card:hover::after { opacity: 1; }
.st-cat-index { color: var(--accent); font-weight: 900; font-size: 13px; }
.st-cat-card strong { font-size: 19px; font-weight: 800; margin-top: auto; }
.st-cat-go { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.st-cat-card:hover .st-cat-go { color: var(--accent); }

/* ---------- packages ---------- */
.st-pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.st-pkg-list { display: grid; gap: 14px; }

.st-pkg {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.st-pkg:hover { transform: translateY(-4px); border-color: rgba(255, 137, 27, 0.55); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.st-pkg.is-sale { border-color: rgba(255, 137, 27, 0.35); }

.st-pkg-media { position: relative; display: block; aspect-ratio: 16 / 10; background: #0f1116; overflow: hidden; }
.st-pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.st-pkg:hover .st-pkg-media img { transform: scale(1.05); }
.st-pkg-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font: italic 900 64px 'Inter', sans-serif;
    color: rgba(255, 137, 27, 0.35);
    background: radial-gradient(circle at 50% 40%, rgba(255, 137, 27, 0.14), transparent 65%), #0f1116;
}
.st-pkg-placeholder-lg { aspect-ratio: 16 / 10; font-size: 120px; border-radius: var(--radius); }

.st-sale {
    position: absolute; top: 12px; left: 12px;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--accent);
    color: #111;
    font-size: 12px;
    font-weight: 900;
}
.st-sale-inline { position: static; display: inline-block; vertical-align: middle; }

.st-pkg-body { display: flex; flex-direction: column; gap: 12px; padding: 18px; flex: 1; }
.st-pkg-body h3 { font-size: 17px; margin: 0; }
.st-pkg-body h3 a:hover { color: var(--accent); }

.st-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.st-price strong { font-size: 22px; font-weight: 900; color: #fff; }
.st-price small { color: var(--muted); font-weight: 700; }
.st-price del { color: var(--muted); font-size: 14px; }
.st-price-lg strong { font-size: 34px; }

.st-pkg-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.st-pkg-actions .st-btn { flex: 1; white-space: nowrap; padding: 0 12px; }
.st-pkg-actions .st-btn-ghost { flex: 0 0 auto; }

.st-pkg-list .st-pkg { flex-direction: row; }
.st-pkg-list .st-pkg-media { width: 240px; flex: none; aspect-ratio: auto; }
.st-pkg-list .st-pkg-body { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.st-pkg-list .st-pkg-actions { margin-top: 0; flex: none; }

/* ---------- product page ---------- */
.st-product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: start; }
.st-product-media > img, .st-gallery { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.st-gallery { position: relative; background: #0f1116; }
.st-slide { display: none; aspect-ratio: 16 / 10; }
.st-slide.is-active { display: block; }
.st-slide img, .st-slide iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.st-thumbs { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.st-thumbs button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.35); cursor: pointer; padding: 0; }
.st-thumbs button.is-active { background: var(--accent); width: 26px; border-radius: 5px; }
.st-product-info h1 { font-size: 30px; }
.st-product-info .st-price { margin: 10px 0 20px; }
.st-desc { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- sidebar modules ---------- */
.st-sidebar { display: grid; gap: 18px; position: sticky; top: 20px; }
.st-module {
    padding: 20px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.st-module h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.st-module h4::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.st-module-img { border-radius: var(--radius-sm); margin-bottom: 12px; width: 100%; }
.st-module-featured strong { display: block; margin-bottom: 4px; }
.st-module-featured .st-price { margin-bottom: 14px; }

.st-status { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.st-status strong { display: block; }
.st-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 4px rgba(255, 77, 94, 0.15); flex: none; }
.st-status.is-online .st-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(51, 253, 180, 0.15); animation: st-pulse 2s infinite; }
@keyframes st-pulse { 50% { box-shadow: 0 0 0 8px rgba(51, 253, 180, 0); } }

.st-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.st-bar span { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.st-bar.is-animated span { background-size: 30px 30px; background-image: linear-gradient(45deg, rgba(255,255,255,.18) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.18) 75%, transparent 75%), linear-gradient(90deg, var(--accent), var(--accent-2)); animation: st-stripes 1s linear infinite; }
@keyframes st-stripes { to { background-position: 30px 0, 0 0; } }
.st-goal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.st-goal-head strong { font-size: 22px; color: var(--accent); }

.st-payments { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-payments li { display: flex; align-items: center; gap: 10px; }
.st-payments li > div { flex: 1; min-width: 0; }
.st-payments li > div strong, .st-payments li > div span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-payments em { font-style: normal; font-weight: 800; color: var(--accent); font-size: 13px; }
.st-avatar { position: relative; overflow: hidden; width: 36px; height: 36px; flex: none; border-radius: 9px; background: rgba(255, 137, 27, 0.14); color: var(--accent); font-weight: 900; display: flex; align-items: center; justify-content: center; }
.st-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-avatar-lg { width: 56px; height: 56px; font-size: 22px; }

.st-sidebar img { max-width: 100%; }
.st-sidebar > div:not(.st-module) {
    padding: 20px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.st-sidebar > div:not(.st-module) h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.st-sidebar > div:not(.st-module) h3 i { display: none; }
.st-sidebar > div:not(.st-module) h3::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.st-sidebar > div:not(.st-module) > div + div { display: grid; gap: 14px; }
.st-sidebar [class*="grid-cols-[4rem"] { display: flex; align-items: center; gap: 12px; }
.st-sidebar [class*="grid-cols-[4rem"] > div:first-child { width: 48px; height: 48px; flex: none; border-radius: 10px; overflow: hidden; }
.st-sidebar [class*="grid-cols-[4rem"] img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-sidebar [class*="grid-cols-[4rem"] h4 { font-size: 14px; font-weight: 800; margin: 0; }
.st-sidebar ul.grid-cols-6 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.st-sidebar ul.grid-cols-6 li { position: relative; aspect-ratio: 1; }
.st-sidebar ul.grid-cols-6 img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.st-sidebar .tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 0 !important;
    padding: 8px 10px;
    border-radius: 8px;
    background: #11131A;
    border: 1px solid var(--line);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s;
    z-index: 10;
}
.st-sidebar li:hover .tooltip { opacity: 1; }
.st-sidebar .tooltip h4 { font-size: 13px; margin: 0; }
.st-top { display: flex; align-items: center; gap: 14px; }
.st-top img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.st-top strong, .st-top span { display: block; }

/* ---------- forms ---------- */
input[type=text], input[type=email], input[type=number], select, textarea {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font: 500 14px 'Inter', sans-serif;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
textarea { height: auto; padding: 12px 14px; min-height: 110px; }
select option { background: var(--surface-solid); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 137, 27, 0.18); }
label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.st-form { display: grid; gap: 12px; }
button[type=submit]:not(.st-btn) {
    height: 46px; padding: 0 22px; border: 0; border-radius: var(--radius-sm);
    background: var(--accent); color: #111; font: 800 13px 'Inter', sans-serif; text-transform: uppercase; cursor: pointer;
}

.st-auth { max-width: 460px; margin: 30px auto; text-align: center; }
.st-auth .st-btn { margin: 10px 0; }
.st-checkout { max-width: 640px; margin: 10px auto; }
.st-checkout-list { margin: 18px 0; }

/* ---------- basket drawer ---------- */
.st-drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .25s; z-index: 90; }
.st-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(420px, 100%);
    display: flex; flex-direction: column;
    background: #0e1015;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
    z-index: 100;
}
body.basket-open .st-drawer { transform: none; }
body.basket-open .st-drawer-backdrop { opacity: 1; visibility: visible; }
.st-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.st-drawer-head h3 { margin: 0; font-size: 18px; }
.st-close { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line-strong); background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.st-close:hover { border-color: var(--accent); color: var(--accent); }
.st-drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.st-drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }

.st-basket-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.st-basket-item strong, .st-basket-item span { display: block; }
.st-remove { width: 30px; height: 30px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 7px; color: var(--muted); font-size: 20px; }
.st-remove:hover { background: rgba(255, 77, 94, 0.12); color: var(--danger); }

.st-coupons { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.st-tag { display: inline-flex; gap: 8px; align-items: center; padding: 5px 10px; border-radius: 6px; background: rgba(255, 137, 27, 0.12); color: var(--accent); font-weight: 700; font-size: 12px; }
.st-coupon-form { display: flex; gap: 8px; margin-top: 18px; }
.st-coupon-form input { height: 38px; }

.st-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.st-total span { color: var(--muted); font-weight: 600; }
.st-total strong { font-size: 22px; font-weight: 900; }
.st-total-lg { padding: 18px 0; border-top: 1px solid var(--line); }
.st-total-lg strong { font-size: 28px; color: var(--accent); }

.st-empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.st-empty svg { margin: 0 auto 14px; opacity: .5; }

/* ---------- toast ---------- */
.st-toast {
    position: fixed; left: 50%; bottom: 26px; z-index: 120;
    transform: translateX(-50%);
    display: flex; align-items: center; gap: 16px;
    padding: 14px 18px;
    max-width: calc(100% - 32px);
    border-radius: 10px;
    background: var(--surface-solid);
    border: 1px solid var(--line-strong);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow);
    font-weight: 600;
    animation: st-toast-in .35s ease;
}
.st-toast-error, .st-toast-danger { border-left-color: var(--danger); }
.st-toast-success { border-left-color: var(--ok); }
.st-toast button { border: 0; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
@keyframes st-toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- footer ---------- */
.st-footer { border-top: 1px solid var(--line); background: rgba(7, 8, 12, 0.9); padding: 50px 0 0; }
.st-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.st-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.st-footer-grid > div > a:not(.st-btn) { display: block; color: var(--text-2); padding: 4px 0; font-weight: 500; }
.st-footer-grid > div > a:not(.st-btn):hover { color: var(--accent); }
.st-footer-logo { width: 44px; height: 44px; object-fit: contain; margin-bottom: 14px; }
.st-footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; margin-top: 40px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    .st-layout { grid-template-columns: minmax(0, 1fr); }
    .st-sidebar { position: static; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .st-hero-grid, .st-product { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .st-burger { display: flex; }
    .st-nav {
        position: absolute;
        top: 100%; left: 24px; right: 24px;
        flex-direction: column;
        padding: 12px;
        background: var(--surface-solid);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        display: none;
    }
    body.nav-open .st-nav { display: flex; }
    .st-nav .st-pill { width: 100%; }
    .st-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 0 12px; }
    .st-actions { margin-left: auto; }
    .st-basket-btn span { display: none; }
    .st-header { position: relative; }
    .st-footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .st-pkg-list .st-pkg { flex-direction: column; }
    .st-pkg-list .st-pkg-media { width: 100%; aspect-ratio: 16 / 10; }
}

@media (max-width: 520px) {
    .st-container { padding: 0 16px; }
    .st-hero { padding: 40px 0 30px; }
    .st-pkg-grid { grid-template-columns: 1fr; }
    .st-pill { padding: 0 12px; }
}
