:root {
    --bg-dark: #07111f;
    --bg-mid: #0d1b2a;
    --bg-soft: #f5f5f8;
    --panel: #ffffff;
    --panel-alt: #f5f5f8;
    --primary: #3b82f6;
    --primary-dark: #2563c7;
    --text: #0d1727;
    --muted: #58687c;
    --line: rgba(13, 23, 39, 0.08);
    --white: #ffffff;
    --success: #1e9d66;
    --danger: #d84d4d;
    --shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-soft);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.auth-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #081321 0%, #101d2d 100%);
    color: #eaf1ff;
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.section { padding: 90px 0; }

.site-update-notice {
    background: #eafaf1;
    border-bottom: 1px solid rgba(30,157,102,0.18);
    color: var(--success);
    font-size: 0.88rem;
}

.site-update-notice .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 42px;
    text-align: center;
}

.site-update-notice span { color: #397a5b; }

.eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-dark);
    font-weight: 800;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
    font-size: clamp(2.6rem, 4vw, 4.5rem);
    line-height: 1.08;
    margin-bottom: 22px;
}
h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 18px;
}
p {
    color: var(--muted);
    font-size: 1.03rem;
}

.topbar {
    isolation: isolate;
    position: sticky;
    top: 0;
    z-index: 15;
    width: 100%;
    min-height: 0;
    backdrop-filter: blur(12px);
    background-color: #080d28;
    background-image:
        linear-gradient(rgba(74, 95, 158, .075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 95, 158, .075) 1px, transparent 1px),
        linear-gradient(112deg, #090820 0%, #0c1635 58%, #0b243a 100%);
    background-size: 28px 28px, 28px 28px, cover;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: row;
    min-height: 72px;
    padding: 12px 0;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    background: #ed242d;
    box-shadow: 0 5px 16px rgba(237, 36, 45, .18);
    color: var(--white);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.15;
    margin-right: 0;
    align-self: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-dot { color: #fff; }

.site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: auto;
    margin-left: auto;
}

.site-nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.8);
    font-size: 0.84rem;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.02em;
    padding: 9px 10px;
    border-radius: 8px;
}

.site-nav a:hover { color: var(--white); }

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
    color: #ffffff;
}

.site-nav a:hover,
.site-nav a:first-child {
    background: rgba(59, 130, 246, 0.12);
    color: var(--white);
}

.site-nav .active-nav-link {
    background: rgba(59, 130, 246, 0.18);
    color: var(--white);
}

.site-nav .language {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-left: 14px;
    border-left: 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.14);
    padding-top: 20px;
}

.language span {
    color: var(--primary);
    font-size: 1rem;
}

.nav-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 0 0 0 8px;
    width: auto;
}

.nav-phone {
    color: rgba(255,255,255,0.82);
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
}

.nav-cta {
    min-height: 42px;
    padding: 0 17px;
    font-size: 0.86rem;
    border-radius: 10px;
    width: 100%;
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: transparent;
    color: var(--white);
    font-size: 1.2rem;
    width: 42px;
    height: 42px;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.24);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.22);
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.2);
    color: var(--white);
}

.btn-block { width: 100%; }

.hero {
    background: #f5f5f8;
    color: var(--text);
    padding: 28px 0 22px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 32px;
    align-items: center;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 120px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.26) 0%, rgba(59, 130, 246, 0.08) 30%, rgba(255,255,255,0.03) 58%, rgba(255,255,255,0) 70%);
    filter: blur(10px);
}

.visual-ring {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 10px solid rgba(255,255,255,0.12);
    background: rgba(10,18,28,0.35);
    box-shadow: inset 0 0 40px rgba(255,255,255,0.05), 0 20px 40px rgba(0,0,0,0.18);
    display: grid;
    place-items: center;
    text-align: center;
    backdrop-filter: blur(6px);
}

.visual-ring span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--white);
    text-transform: uppercase;
}

.hero-copy .lead {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 32px;
}

.stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.stats li {
    min-width: 150px;
}

.stats strong {
    display: block;
    font-size: 1.7rem;
    color: var(--text);
}

.stats span {
    color: var(--muted);
    font-size: 0.86rem;
}

.home-hero {
    position: relative;
    display: flex;
    min-height: 450px;
    align-items: center;
    overflow: hidden;
    padding: 44px 0 52px;
    background-color: #080d28;
    background-image:
        linear-gradient(rgba(74, 95, 158, .075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 95, 158, .075) 1px, transparent 1px),
        linear-gradient(112deg, #090820 0%, #0c1635 58%, #0b243a 100%);
    background-size: 28px 28px, 28px 28px, cover;
    color: var(--white);
}

.home-hero::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 74% 50%, rgba(38, 78, 121, .24), transparent 48%);
    content: "";
    pointer-events: none;
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 36px;
}

.home-hero-copy {
    max-width: 530px;
    padding: 8px 0;
}

.home-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    color: #d1d9ec;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .045em;
}

.home-hero-kicker span,
.home-hero-label > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef343c;
    box-shadow: 0 0 13px rgba(239, 52, 60, .72);
}

.home-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.65rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.home-hero-lead {
    max-width: 470px;
    margin: 0;
    color: #c3cce0;
    font-size: .96rem;
    line-height: 1.8;
}

.home-hero-cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 24px;
    padding: 0 23px;
    border-radius: 999px;
    background: linear-gradient(110deg, #e23b43, #c91425);
    box-shadow: 0 9px 24px rgba(190, 20, 37, .25);
    color: #fff;
    font-size: .84rem;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(190, 20, 37, .36);
}

.home-hero-cta .material-symbols-rounded {
    font-size: 19px;
}

.home-hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.home-hero-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.home-hero-highlights strong {
    color: #ed3740;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.22rem;
    line-height: 1.25;
}

.home-hero-highlights span {
    color: #bdc7dc;
    font-size: .67rem;
    font-weight: 600;
    line-height: 1.45;
}

.home-hero-visual {
    position: relative;
    display: grid;
    min-height: 350px;
    place-items: center;
    isolation: isolate;
}

.home-hero-dots {
    position: absolute;
    z-index: -1;
    inset: 4% 0;
    background-image: radial-gradient(circle, rgba(208, 220, 238, .65) 1.8px, transparent 2.2px);
    background-position: center;
    background-size: 11px 11px;
    opacity: .56;
    -webkit-mask-image: radial-gradient(ellipse 49% 44% at 50% 50%, #000 48%, transparent 100%);
    mask-image: radial-gradient(ellipse 49% 44% at 50% 50%, #000 48%, transparent 100%);
}

.home-hero-routes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.home-hero-routes path {
    stroke: #e5353e;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
    opacity: .9;
}

.home-hero-routes circle {
    fill: #db2634;
    stroke: #fff;
    stroke-width: 2.5;
}

.home-hero-camera {
    display: grid;
    width: 130px;
    height: 130px;
    align-content: center;
    justify-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 50%;
    background: rgba(10, 20, 49, .88);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .055), 0 15px 45px rgba(0, 0, 0, .32);
    color: #fff;
}

.home-hero-camera .material-symbols-rounded {
    color: #f0444b;
    font-size: 43px;
}

.home-hero-camera > span:last-child {
    font-size: .53rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.home-hero-label {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(9, 17, 42, .86);
    color: #f4f6fb;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .07em;
}

.home-hero-label-top {
    top: 17%;
    left: 8%;
}

.home-hero-label-bottom {
    right: 3%;
    bottom: 15%;
}

.home-hero-location {
    position: absolute;
    right: 6%;
    bottom: 2%;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #c6d1e5;
    font-size: .67rem;
    font-weight: 600;
}

.home-hero-location .material-symbols-rounded {
    color: #f0444b;
    font-size: 17px;
}

.home-hero-scroll {
    position: absolute;
    z-index: 1;
    bottom: 9px;
    left: 50%;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .8);
}

.home-hero-scroll .material-symbols-rounded {
    font-size: 27px;
}

.hero-panel {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 28px;
    padding: 28px 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
}

.panel-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(59, 130, 246, 0.16);
    color: #c7e0ff;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 18px;
}

.hero-panel h3 {
    color: var(--white);
    font-size: 1.7rem;
    margin-bottom: 18px;
}

.panel-list {
    display: grid;
    gap: 12px;
}

.panel-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.82);
}

.panel-list strong { color: #90f0bc; }

.section-heading {
    margin-bottom: 36px;
    text-align: center;
}

.services {
    background: #f5f5f8;
    padding-top: 48px;
    padding-bottom: 48px;
}

.services-shell {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 22px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
}

.service-feed-status {
    margin: 16px auto 0;
    color: var(--muted);
    font-size: .82rem;
    text-align: center;
}

@media (max-width: 1200px) {
    .services-shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .services-shell {
        grid-template-columns: 1fr;
        max-width: 640px;
        padding: 0 16px;
    }
}

.products-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.products-main {
    flex: 1;
    padding-top: 0;
    padding-bottom: 360px;
}

.products-hero {
    padding: 38px 0 24px;
    background: #f5f5f8;
}

.products-search-row {
    display: flex;
    width: min(860px, 100%);
    align-items: center;
    gap: 14px;
    margin: 0 auto;
}

.products-search {
    display: flex;
    width: auto;
    min-width: 0;
    min-height: 58px;
    flex: 1;
    align-items: center;
    gap: 13px;
    padding: 0 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.07);
}

.products-search > .material-symbols-rounded {
    color: var(--primary-dark);
    font-size: 23px;
}

.products-search input {
    width: 100%;
    min-width: 0;
    padding: 15px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: .98rem;
}

.products-search input::placeholder {
    color: #98a2b1;
}

.products-search-hint {
    flex: 0 0 auto;
    color: #98a2b1;
    font-size: .75rem;
}

.products-search-count {
    width: min(860px, 100%);
    margin: 10px auto 0;
    color: var(--muted);
    font-size: .78rem;
}

.products-catalog-layout {
    display: grid;
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.market-filter-panel {
    overflow: hidden;
    border: 1px solid #dce5ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(26, 48, 75, .06);
}

.market-filter-title {
    display: flex;
    min-height: 64px;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    border-bottom: 1px solid #edf1f6;
}

.market-filter-title .material-symbols-rounded { color: #e3222b; font-size: 21px; }
.market-filter-title h2 { margin: 0; color: #202c40; font-size: 1rem; }

.market-filter-group {
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf1f6;
}

.market-filter-group h3 {
    margin: 0;
    color: #263247;
    font-size: .88rem;
    font-weight: 750;
}

.market-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.market-price-range label {
    display: flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: .82rem;
    font-weight: 700;
}

.market-price-range input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #27364b;
    font: inherit;
    font-size: .9rem;
}

.market-price-range input::placeholder { color: #8793a5; opacity: 1; }
.market-price-range label:focus-within, .market-filter-panel select:focus-visible { outline: 3px solid rgba(59, 130, 246, .22); outline-offset: 1px; }
.market-filter-brands { gap: 10px; }

.market-brand-option {
    display: flex;
    min-height: 22px;
    align-items: center;
    gap: 9px;
    color: #46566f;
    cursor: pointer;
    font-size: .84rem;
}

.market-brand-option input, .market-stock-option input {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: #df252c;
}

.market-brand-option span { min-width: 0; flex: 1; }
.market-brand-option small {
    display: grid;
    min-width: 25px;
    height: 20px;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #eff3f8;
    color: #6b7b91;
    font-size: .66rem;
    font-weight: 700;
}

.market-filter-options { gap: 16px; }
.market-stock-option { display: flex; align-items: center; gap: 10px; color: #34435a; cursor: pointer; font-size: .86rem; font-weight: 700; }
.market-sort-label { color: #94a3b8; font-size: .75rem; font-weight: 750; }
.market-filter-panel select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    background: #f8fafc;
    color: #40516a;
    font: inherit;
    font-size: .86rem;
}

.market-filter-clear {
    display: flex;
    width: calc(100% - 40px);
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px 20px 20px;
    border: 0;
    border-radius: 12px;
    background: #e3222b;
    box-shadow: 0 5px 12px rgba(227, 34, 43, .16);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .84rem;
    font-weight: 800;
}

.market-filter-clear:hover { background: #c91d25; }
.market-filter-clear:focus-visible { outline: 3px solid rgba(227, 34, 43, .28); outline-offset: 3px; }
.market-filter-clear .material-symbols-rounded { font-size: 18px; }
.market-filter-panel .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.market-ad-banner {
    display: flex;
    width: min(860px, 100%);
    align-items: center;
    gap: 18px;
    margin: 18px auto 0;
    padding: 17px 20px;
    border: 1px solid rgba(181, 134, 36, .22);
    border-radius: 15px;
    background: linear-gradient(110deg, #fff9e8, #fffdf7);
    box-shadow: 0 8px 24px rgba(128, 96, 22, .06);
}

.market-ad-banner-label {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    color: #977022;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.market-ad-banner-label .material-symbols-rounded { font-size: 19px; }
.market-ad-banner p { margin: 0; color: #3c3a32; font-size: .9rem; font-weight: 600; line-height: 1.6; white-space: pre-line; }

.products-section {
    padding-top: 24px;
}

.products-callout {
    background: #f5f5f8;
    border: 1px solid rgba(59, 130, 246, 0.24);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 22px;
    color: var(--text);
}

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

.products-show-more {
    position: relative;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 18px 0 0;
    padding: 0 18px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 999px;
    background: transparent;
    color: #1f2937;
    cursor: pointer;
    font: inherit;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transform: translateX(-50%);
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.products-show-more:hover {
    border-color: rgba(15, 23, 42, 0.28);
    opacity: 0.9;
}

.products-show-more:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.22);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .products-catalog-layout { grid-template-columns: 1fr; }
    .market-filter-panel { width: min(100%, 360px); margin: 0 auto; }
}

.product-card {
    min-width: 0;
    min-height: 400px;
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 9px;
    padding: 0;
    box-shadow: 0 3px 8px rgba(17, 39, 67, .05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.product-card[hidden] {
    display: none;
}

.product-card:hover {
    border-color: #c4d3e3;
    box-shadow: 0 8px 20px rgba(17, 39, 67, .1);
}

.product-card:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.35);
    outline-offset: 2px;
}

.product-image-wrap {
    position: relative;
    display: grid;
    height: 210px;
    flex: 0 0 210px;
    place-items: center;
    padding: 16px 22px;
    background: #fff;
    overflow: hidden;
    border-bottom: 1px solid #edf1f6;
    cursor: pointer;
}

.product-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 0;
    background: #fff;
    transition: transform .2s ease;
}

.product-card:hover .product-image { transform: scale(1.025); }

.product-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #9aa9bb;
    font-size: 2.4rem;
}

.product-card-topline {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 16px;
}

.product-card-brand {
    overflow: hidden;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: -.055em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card-availability {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    color: #15994c;
    font-size: .69rem;
    font-weight: 700;
}

.product-card-availability .material-symbols-rounded { font-size: 15px; }
.product-card-availability.is-unavailable { color: #c2413a; }

.product-card-info {
    display: grid;
    gap: 7px;
    padding: 14px 16px 13px;
}

.products-empty-state {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 64px 24px;
    text-align: center;
    background: rgba(255,255,255,0.56);
    border: 1px dashed rgba(37, 99, 199, 0.28);
    border-radius: 20px;
}

.products-search-empty[hidden] {
    display: none;
}

.products-empty-state .material-symbols-rounded {
    color: var(--primary-dark);
    font-size: 3rem;
}

.products-empty-state h2,
.products-empty-state p {
    margin-bottom: 0;
}

.product-card h2 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    margin: 0 0 2px;
    color: #14253d;
    font-size: .88rem;
    line-height: 1.45;
    font-weight: 750;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
}

.product-card-spec {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #8493a8;
    font-size: .69rem;
    line-height: 1.4;
}

.product-card-spec strong {
    overflow: hidden;
    color: #41536c;
    font-weight: 550;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card .product-description {
    display: none;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.product-stock {
    margin: 5px 16px 10px;
    color: #61734f;
    font-size: .72rem;
    font-weight: 700;
}

.product-footer {
    margin-top: auto;
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-left: 16px;
    margin-right: 16px;
    padding: 10px 0 12px;
    border-top: 1px solid #edf1f6;
}

.product-footer strong {
    display: block;
    color: #5145ff;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.product-delivery {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1d9a56;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-delivery .material-symbols-rounded {
    font-size: 0.9rem;
    color: #1d9a56;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.product-tutorial-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 9px;
    background: #f0f0f0;
    color: #1d1d1d;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.product-tutorial-button:hover {
    transform: translateY(-1px);
    background: #e9e9e9;
}

.product-tutorial-button .material-symbols-rounded {
    font-size: 1.1rem;
}

.product-footer form {
    margin: 0;
    flex: 0 0 auto;
}

.product-add-cart {
    display: grid;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: #5145ff;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 3px 7px rgba(81, 69, 255, .2);
}

.product-add-cart:hover {
    transform: translateY(-1px);
    background: #4033e8;
    box-shadow: 0 6px 10px rgba(81, 69, 255, .22);
}

.product-add-cart:disabled { background: #a9aebe; box-shadow: none; cursor: not-allowed; }
.product-add-cart .material-symbols-rounded { font-size: 17px; }

.market-account-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 9px;
    background: #fff;
    color: #344137;
    font-size: .76rem;
    font-weight: 700;
    white-space: nowrap;
}

.market-account-link .material-symbols-rounded {
    font-size: 18px;
}

.product-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.product-detail-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.product-detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 17, 31, 0.58);
    backdrop-filter: blur(4px);
}

.product-detail-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
    width: min(720px, 100%);
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(7, 17, 31, 0.28);
}

.product-detail-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #344255;
    cursor: pointer;
}

.product-detail-image-wrap {
    display: flex;
    flex-direction: column;
    min-height: 340px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #f6f8fb;
}

.product-detail-image {
    width: 100%;
    height: 290px;
    object-fit: contain;
}

.product-detail-thumbnails {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.product-detail-thumbnails:empty {
    display: none;
}

.product-detail-thumbnail {
    width: 54px;
    height: 46px;
    padding: 3px;
    overflow: hidden;
    border: 1px solid #dfe5ed;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}

.product-detail-thumbnail.is-active {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, .16);
}

.product-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-placeholder {
    color: var(--primary-dark);
    font-size: 4rem;
}

.product-detail-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 42px 32px 32px;
}

.product-detail-tag {
    color: #7d8da3;
    font-size: 0.78rem;
    font-weight: 700;
}

.product-detail-content h2,
.product-detail-description,
.product-detail-price {
    margin: 0;
}

.product-detail-content h2 {
    color: #1c2533;
    font-size: 1.7rem;
    line-height: 1.25;
}

.product-detail-description {
    color: var(--muted);
    line-height: 1.7;
}

.product-detail-tutorial {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #fff;
    color: #40516a;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
}

.product-detail-tutorial:hover { border-color: #5145ff; color: #5145ff; }
.product-detail-tutorial .material-symbols-rounded { font-size: 18px; }

.product-detail-price {
    color: #17202d;
    font-size: 1.2rem;
}

.product-detail-buy-form {
    width: 100%;
    margin-top: auto;
}

.product-detail-buy-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 0;
    cursor: pointer;
}

.product-detail-buy-form .material-symbols-rounded {
    font-size: 19px;
}

.product-modal-open { overflow: hidden; }

.purchase-tutorial-modal {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: grid;
    place-items: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
}

.purchase-tutorial-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.purchase-tutorial-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 17, 31, .72);
    backdrop-filter: blur(6px);
}

.purchase-tutorial-dialog {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: min(92vh, 780px);
    overflow-y: auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
}

.purchase-tutorial-close {
    position: absolute;
    top: 17px;
    right: 17px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #e7eaf0;
    border-radius: 50%;
    background: #fff;
    color: #596579;
    cursor: pointer;
}

.purchase-tutorial-heading { padding-right: 36px; }

.purchase-tutorial-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d82935;
    font-size: .75rem;
    font-weight: 800;
}

.purchase-tutorial-eyebrow .material-symbols-rounded { font-size: 19px; }

.purchase-tutorial-heading h2 {
    margin: 7px 0 3px;
    color: #142037;
    font-size: clamp(1.3rem, 4vw, 1.65rem);
}

.purchase-tutorial-heading > p {
    margin: 0 0 18px;
    color: #778397;
    font-size: .84rem;
}

.purchase-tutorial-screen {
    position: relative;
    display: grid;
    min-height: 245px;
    place-items: center;
    overflow: hidden;
    padding: 23px;
    border-radius: 15px;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(39, 63, 111, .36), transparent 62%),
        linear-gradient(135deg, #10172b, #172846);
}

.purchase-tutorial-window {
    width: min(370px, 90%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.purchase-tutorial-window-bar {
    display: flex;
    height: 31px;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    background: #f0f2f6;
}

.purchase-tutorial-window-bar > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f07171;
}

.purchase-tutorial-window-bar > span:nth-child(2) { background: #e8ba5c; }
.purchase-tutorial-window-bar > span:nth-child(3) { background: #63bb82; }

.purchase-tutorial-window-bar strong {
    margin-left: auto;
    color: #707b8e;
    font-size: .59rem;
}

.purchase-tutorial-demo {
    display: grid;
    justify-items: center;
    padding: 17px 21px 19px;
    text-align: center;
    animation: tutorial-step-enter .32s ease both;
}

.purchase-tutorial-demo-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 8px;
    border-radius: 13px;
    background: #fff0f0;
    color: #e32b37;
}

.purchase-tutorial-demo-icon .material-symbols-rounded { font-size: 26px; }

.purchase-tutorial-demo-title {
    color: #1b2740;
    font-size: .82rem;
}

.purchase-tutorial-demo-copy {
    max-width: 280px;
    margin: 4px 0 10px;
    color: #788397;
    font-size: .68rem;
    line-height: 1.55;
}

.purchase-tutorial-demo-action {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 12px;
    border-radius: 7px;
    background: #d92733;
    color: #fff;
    font-size: .67rem;
    font-weight: 800;
}

.purchase-tutorial-play-mark {
    position: absolute;
    right: 17px;
    bottom: 14px;
    color: rgba(255, 255, 255, .88);
    font-size: 27px;
    opacity: .8;
}

.purchase-tutorial-modal.is-playing .purchase-tutorial-play-mark {
    animation: tutorial-play-pulse 1.6s ease-in-out infinite;
}

.purchase-tutorial-caption {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 18px;
}

.purchase-tutorial-step-number {
    color: #e12b37;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
}

.purchase-tutorial-step-title {
    margin: 0 0 3px;
    color: #18243a;
    font-size: .94rem;
}

.purchase-tutorial-step-copy {
    margin: 0;
    color: #778397;
    font-size: .77rem;
    line-height: 1.65;
}

.purchase-tutorial-progress {
    display: flex;
    gap: 6px;
    margin-top: 16px;
}

.purchase-tutorial-marker {
    position: relative;
    height: 5px;
    flex: 1;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: #e8ebf0;
    cursor: pointer;
}

.purchase-tutorial-marker::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--step-progress, 0%);
    border-radius: inherit;
    background: #df2d38;
    content: "";
}

.purchase-tutorial-marker.is-complete::after { width: 100%; }

.purchase-tutorial-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 13px;
}

.purchase-tutorial-controls > div { display: flex; gap: 6px; margin-left: auto; }

.purchase-tutorial-controls button {
    display: inline-flex;
    min-width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 9px;
    border: 1px solid #e5e8ee;
    border-radius: 8px;
    background: #fff;
    color: #36445b;
    cursor: pointer;
}

.purchase-tutorial-controls button:hover { background: #f5f7fa; }
.purchase-tutorial-controls .material-symbols-rounded { font-size: 19px; }
.purchase-tutorial-play { font-size: .73rem; font-weight: 700; }
.purchase-tutorial-time { color: #818b9a; font-size: .72rem; }

@keyframes tutorial-step-enter {
    from { opacity: .35; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes tutorial-play-pulse {
    50% { transform: scale(1.15); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .purchase-tutorial-demo,
    .purchase-tutorial-modal.is-playing .purchase-tutorial-play-mark { animation: none; }
}

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

.partner-card,
.admin-partner-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.partner-card {
    color: var(--text);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.4);
}

.partner-status {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #29d477;
    box-shadow: 0 0 0 4px rgba(41, 212, 119, 0.13), 0 0 12px rgba(41, 212, 119, 0.7);
    animation: partner-pulse 1.4s ease-in-out infinite;
}

.partner-logo {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid var(--line);
    padding: 3px;
}

@keyframes partner-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.42; transform: scale(0.72); }
}

.partner-card strong,
.admin-partner-row strong {
    display: block;
}

.partner-card small,
.admin-partner-row small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.82rem;
}

.partner-arrow {
    margin-left: auto;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.empty-partners {
    padding: 24px;
    border: 1px dashed #cbd6e3;
    border-radius: 16px;
    color: var(--muted);
    text-align: center;
}

.partners-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    align-items: start;
    gap: clamp(24px, 3vw, 42px);
}

.partners-list { grid-column: 1; min-width: 0; }

.partner-offer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    grid-column: 2;
    min-width: 0;
    margin-top: 0;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 0 0, rgba(48, 68, 121, .24), transparent 48%),
        linear-gradient(130deg, #0b1020, #111d32);
    box-shadow: 0 20px 60px rgba(13, 23, 39, .13);
}

.partner-offer-intro > .material-symbols-rounded {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid rgba(237, 36, 45, .26);
    border-radius: 14px;
    background: rgba(237, 36, 45, .12);
    color: #ff4952;
    font-size: 25px;
}

.partner-offer-intro .eyebrow {
    margin-bottom: 8px;
    color: #ff545c;
}

.partner-offer-intro h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.15;
}

.partner-offer-intro > p:last-child {
    max-width: 360px;
    margin: 0;
    color: #b3bed0;
    font-size: .88rem;
    line-height: 1.75;
}

.partner-offer-form-wrap { min-width: 0; }

.partner-offer-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.partner-offer-form > label {
    display: grid;
    gap: 7px;
    color: #e5eaf3;
    font-size: .76rem;
    font-weight: 700;
}

.partner-offer-form > label > span {
    color: #909db2;
    font-size: .66rem;
    font-weight: 500;
}

.partner-offer-form input:not([type="radio"]):not([type="file"]),
.partner-offer-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(204, 216, 236, .16);
    border-radius: 9px;
    outline: none;
    background: rgba(3, 10, 24, .34);
    color: #fff;
    font: inherit;
    font-size: .8rem;
}

.partner-offer-form input::placeholder,
.partner-offer-form textarea::placeholder { color: #8390a5; }

.partner-offer-form input:focus,
.partner-offer-form textarea:focus {
    border-color: rgba(255, 78, 87, .78);
    box-shadow: 0 0 0 3px rgba(237, 36, 45, .12);
}

.partner-offer-form textarea { min-height: 96px; resize: vertical; }
.partner-offer-full { grid-column: 1 / -1; }

.partner-offer-form fieldset {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.partner-offer-form legend {
    margin-bottom: 8px;
    color: #e5eaf3;
    font-size: .76rem;
    font-weight: 700;
}

.partner-offer-choice {
    display: grid;
    grid-template-columns: auto 22px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 65px;
    padding: 9px;
    border: 1px solid rgba(204, 216, 236, .14);
    border-radius: 10px;
    background: rgba(3, 10, 24, .25);
    cursor: pointer;
}

.partner-offer-choice:has(input:checked) {
    border-color: rgba(255, 78, 87, .75);
    background: rgba(237, 36, 45, .09);
}

.partner-offer-choice input { accent-color: #ed343d; }
.partner-offer-choice > .material-symbols-rounded { color: #ff525b; font-size: 19px; }
.partner-offer-choice strong,
.partner-offer-choice small { display: block; }
.partner-offer-choice strong { color: #eef1f8; font-size: .67rem; }
.partner-offer-choice small { margin-top: 3px; color: #98a4b8; font-size: .59rem; line-height: 1.4; }

.partner-offer-form input[type="file"] {
    width: 100%;
    color: #aab5c7;
    font-size: .72rem;
}

.partner-offer-submit {
    display: inline-flex;
    min-height: 47px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(110deg, #e23b43, #c91425);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

.partner-offer-submit:hover { transform: translateY(-1px); box-shadow: 0 9px 23px rgba(201, 20, 37, .25); }
.partner-offer-submit .material-symbols-rounded { font-size: 18px; }

.partner-offer-message {
    margin: 0 0 15px;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: .77rem;
    line-height: 1.55;
}

.partner-offer-message--success { border-color: rgba(76, 190, 131, .24); background: rgba(36, 143, 92, .13); color: #b5f1ce; }
.partner-offer-message--error { border-color: rgba(255, 104, 104, .24); background: rgba(196, 48, 58, .14); color: #ffc3c5; }
.partner-offer-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.finance-form {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.finance-form label {
    display: grid;
    gap: 6px;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 700;
}

.finance-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 12px 0;
    border-top: 1px solid #e3e9f1;
}

.finance-row span {
    color: var(--primary-dark);
    font-weight: 800;
}

.finance-row small {
    grid-column: 1 / -1;
    color: var(--muted);
}

.repair-admin-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.repair-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 12px 0;
    border-top: 1px solid #e3e9f1;
}

.repair-row span {
    color: var(--primary-dark);
    font-weight: 700;
    text-align: right;
}

.repair-row small {
    grid-column: 1 / -1;
    color: var(--muted);
}

.partners-hero {
    min-height: 6px;
    padding: 0;
    background: #f5f5f8;
    color: var(--text);
}

.partners-hero h1 {
    max-width: 650px;
    margin-bottom: 0;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.partners-hero p:not(.eyebrow) {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.partners-page-section {
    min-height: 420px;
}

.partner-area-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.partner-area-link:hover {
    border-color: var(--primary);
    color: #fff;
}

.partner-room-cta-section {
    padding-top: 28px;
    padding-bottom: 0;
}

.partner-room-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(59, 130, 246, .18);
    border-radius: 20px;
    background: linear-gradient(120deg, #fff, #f3f7ff);
    box-shadow: 0 14px 38px rgba(13, 23, 39, .07);
}

.partner-room-cta h2 {
    margin: 7px 0;
    color: var(--text);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.partner-room-cta p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
}

.partner-room-cta > div:first-child > .material-symbols-rounded {
    display: block;
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 26px;
}

.partner-room-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.partner-room-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font: inherit;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.partner-room-button:hover {
    background: var(--primary-dark);
    color: #fff;
}

.partner-room-cta .partner-room-button--quiet {
    border-color: #cbd8ec;
    background: #fff;
    color: var(--primary-dark);
}

.partner-room-cta .partner-room-button--quiet:hover {
    border-color: var(--primary);
    background: #f3f7ff;
    color: var(--primary-dark);
}

.partner-room-button--quiet {
    border-color: rgba(255, 255, 255, .24);
    background: transparent;
    color: #fff;
}

.partner-room-button--quiet:hover {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .08);
}

.partner-area-section {
    padding-top: 38px;
}

.partner-area-section > .container > .partner-offer-message {
    max-width: 760px;
    margin: 0 auto 12px;
}

.partner-area-auth {
    width: min(100%, 620px);
    margin: 0 auto;
    padding: clamp(24px, 5vw, 44px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: linear-gradient(130deg, #0b1020, #111d32);
    box-shadow: 0 20px 60px rgba(13, 23, 39, .13);
}

.partner-area-auth-intro > .material-symbols-rounded {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(59, 130, 246, .3);
    border-radius: 14px;
    background: rgba(59, 130, 246, .14);
    color: #7db2ff;
    font-size: 25px;
}

.partner-area-auth-intro .eyebrow,
.partner-area-auth-intro h2 {
    color: #fff;
}

.partner-area-auth-intro h2 {
    margin: 7px 0 12px;
}

.partner-area-auth-intro > p:last-child {
    margin: 0 0 23px;
    color: #b3bed0;
    font-size: .9rem;
    line-height: 1.7;
}

.partner-area-auth-form {
    display: grid;
    gap: 15px;
}

.partner-area-auth-form label {
    display: grid;
    gap: 7px;
    color: #e5eaf3;
    font-size: .78rem;
    font-weight: 700;
}

.partner-area-auth-form input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(204, 216, 236, .16);
    border-radius: 9px;
    outline: none;
    background: rgba(3, 10, 24, .34);
    color: #fff;
    font: inherit;
}

.partner-area-auth-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .17);
}

.partner-area-auth-switch {
    margin: 18px 0 0;
    color: #b3bed0;
    font-size: .82rem;
}

.partner-area-auth-switch a {
    color: #8dbbff;
    font-weight: 700;
}

.partner-room-heading,
.partner-room-sales-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.partner-room-heading {
    margin-bottom: 44px;
    padding: 25px;
    border-radius: 18px;
    background: #0e1b2b;
    color: #fff;
}

.partner-room-heading h2,
.partner-room-sales-heading h2 {
    margin: 7px 0;
}

.partner-room-heading p {
    margin: 0;
    color: #b3bed0;
}

.partner-room-sales-heading {
    margin-bottom: 18px;
}

.partner-room-sales-heading h2 {
    color: var(--text);
}

.partner-room-sales-heading h2 span {
    display: inline-grid;
    min-width: 27px;
    height: 27px;
    place-items: center;
    padding: 0 7px;
    border-radius: 999px;
    background: #e8f0ff;
    color: var(--primary-dark);
    font-size: .72rem;
    vertical-align: middle;
}

.partner-room-sales {
    display: grid;
    gap: 15px;
}

.partner-room-sale {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(13, 23, 39, .05);
}

.partner-room-sale-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    background: #f6f8fc;
}

.partner-room-sale-heading > div {
    display: grid;
    gap: 4px;
}

.partner-room-sale-heading > div > span {
    color: var(--text);
    font-size: .88rem;
    font-weight: 800;
}

.partner-room-sale-heading time {
    color: var(--muted);
    font-size: .74rem;
}

.partner-room-sale-heading > strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.partner-room-items {
    padding: 8px 20px 12px;
}

.partner-room-item {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) .6fr .8fr .7fr;
    gap: 14px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #edf0f5;
    color: #4b5b70;
    font-size: .82rem;
}

.partner-room-item:last-child {
    border-bottom: 0;
}

.partner-room-item strong {
    color: var(--text);
}

.partner-room-item--heading {
    color: #8491a4;
    font-size: .68rem;
    font-weight: 700;
}

.partner-room-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 40px 20px;
    border: 1px dashed #cbd6e3;
    border-radius: 16px;
    color: var(--muted);
    text-align: center;
}

.partner-room-empty .material-symbols-rounded {
    color: var(--primary);
    font-size: 32px;
}

.partner-room-empty p,
.partner-room-empty small {
    margin: 0;
}

.partner-room-note {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--muted);
    font-size: .82rem;
}

.partners-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.partners-main {
    flex: 1;
}

.alt-bg {
    background: var(--panel-alt);
}

.two-col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
}

.feature-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.feature-box div {
    font-weight: 600;
    color: var(--text);
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(13, 23, 39, 0.04);
}

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

.step {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eaf3ff, #cfe4ff);
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 18px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 28px;
    align-items: start;
}

.contact-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    color: var(--text);
}

.contact-form {
    background: var(--panel);
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 24px;
}

.field-row { margin-bottom: 16px; }

input, select, textarea {
    width: 100%;
    border: 1px solid #dfe7f2;
    border-radius: 12px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    background: #f9fbff;
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.7);
}

.alert {
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.alert.success {
    background: #eafaf1;
    color: var(--success);
    border: 1px solid rgba(30,157,102,0.2);
}

.alert.error {
    background: #fff1f1;
    color: var(--danger);
    border: 1px solid rgba(216,77,77,0.2);
}

.footer {
    position: relative;
    overflow: hidden;
    padding: 52px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    background-color: #0b1020;
    background-image:
        linear-gradient(rgba(74, 95, 158, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 95, 158, .045) 1px, transparent 1px),
        linear-gradient(112deg, #0a0d1b 0%, #101829 100%);
    background-size: 32px 32px, 32px 32px, cover;
    color: #d7deec;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(190px, 1.25fr) repeat(2, minmax(125px, .8fr)) minmax(190px, 1fr);
    gap: clamp(22px, 4vw, 58px);
}

.footer-brand {
    margin-bottom: 15px;
}

.footer-about > p {
    max-width: 260px;
    margin: 0;
    color: #aeb8ca;
    font-size: .78rem;
    line-height: 1.8;
}

.footer-social-links {
    display: flex;
    gap: 9px;
    margin-top: 17px;
}

.footer-social-links a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    background: rgba(255, 255, 255, .07);
    color: #e7ebf3;
    transition: background .2s ease, color .2s ease;
}

.footer-social-links a:hover {
    background: #ed242d;
    color: #fff;
}

.footer-social-links .material-symbols-rounded {
    font-size: 17px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links h2,
.footer-contact h2 {
    position: relative;
    margin: 2px 0 22px;
    padding-bottom: 9px;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .015em;
}

.footer-links h2::after,
.footer-contact h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: #ed242d;
    content: "";
}

.footer-links a {
    margin-bottom: 13px;
    color: #bac4d5;
    font-size: .75rem;
    line-height: 1.55;
    transition: color .2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}

.footer-contact p {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin: 0 0 13px;
    color: #d0d8e7;
    font-size: .75rem;
    line-height: 1.65;
}

.footer-contact p > .material-symbols-rounded {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 7px;
    background: rgba(237, 36, 45, .16);
    color: #ed343d;
    font-size: 16px;
}

.footer-contact a {
    overflow-wrap: anywhere;
    color: #d0d8e7;
    transition: color .2s ease;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom p {
    margin: 0;
    color: #8792a7;
    font-size: .68rem;
    text-align: center;
}

.footer a {
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 20, 31, 0.78);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}

.top-strip {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}

.top-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    gap: 16px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
}

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

.top-meta a {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.auth-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 18px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Service editor */
.service-admin-body {
    min-height: 100vh;
    background: #f3f6fb;
    color: #172033;
    font-family: 'DM Sans', 'Inter', sans-serif;
}

.service-login-page {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 0.8fr);
    min-height: 100vh;
    background: #f3f6fb;
}

.service-login-art {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 9vw;
    background: #12233f;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.service-login-art::before,
.service-login-art::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255,255,255,0.2);
    transform: rotate(28deg);
}

.service-login-art::before { top: 14%; right: 12%; }
.service-login-art::after { top: 24%; right: 25%; width: 170px; height: 170px; border-color: rgba(89, 156, 255, 0.55); }
.service-login-art .material-symbols-rounded { position: relative; z-index: 1; font-size: 5rem; color: #7db4ff; }
.service-login-art p { position: relative; z-index: 1; margin: 22px 0 0; color: rgba(255,255,255,0.65); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; }

.service-login-card {
    width: min(440px, calc(100% - 48px));
    margin: auto;
    padding: 34px 0;
}

.service-admin-back,
.service-admin-logout,
.service-admin-site-link { color: #54708f; font-size: 0.8rem; font-weight: 700; }
.service-admin-back { display: inline-block; margin-bottom: 72px; }
.service-admin-kicker { color: #5189db; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; }
.service-login-card h1 { margin: 18px 0 18px; color: #172033; font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: 0.96; letter-spacing: -0.07em; }
.service-login-card h1 em,
.service-admin-sidebar h2 em { color: #4c91f1; font-style: normal; }
.service-login-card > p { max-width: 360px; margin-bottom: 42px; color: #718198; }
.service-login-card label,
.service-editor-card label { display: block; margin-bottom: 16px; color: #5d6d82; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.service-login-card input,
.service-editor-card input,
.service-editor-card textarea,
.service-editor-card select { width: 100%; margin-top: 7px; border: 1px solid #dce4ef; border-radius: 5px; background: #fff; color: #172033; padding: 12px 13px; font: inherit; font-size: 0.9rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.service-login-card input:focus,
.service-editor-card input:focus,
.service-editor-card textarea:focus,
.service-editor-card select:focus { border-color: #619cf0; box-shadow: 0 0 0 3px rgba(97,156,240,0.13); }
.service-login-card input { padding: 15px; }
.service-admin-button,
.service-admin-save { border: 0; cursor: pointer; background: #286dcc; color: #fff; font: inherit; font-weight: 800; letter-spacing: 0.02em; transition: transform 0.2s, background 0.2s; }
.service-admin-button { display: flex; justify-content: space-between; width: 100%; margin-top: 26px; padding: 16px 18px; border-radius: 5px; }
.service-admin-button:hover,
.service-admin-save:hover { background: #1958b0; transform: translateY(-2px); }
.service-admin-alert { margin: 0 0 24px; padding: 13px 16px; border-radius: 5px; font-size: 0.85rem; font-weight: 700; }
.service-admin-alert-error { background: #fff0f0; color: #ba4e56; }
.service-admin-alert-success { background: #e9f8f0; color: #2a8655; }

.service-admin-app { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 100vh; }
.service-admin-sidebar { display: flex; flex-direction: column; padding: 34px 30px; background: #12233f; color: #fff; }
.service-admin-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 1rem; letter-spacing: 0.02em; }
.service-admin-brand span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 5px; background: #6ba8ff; color: #12233f; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.service-admin-sidebar-copy { margin-top: auto; margin-bottom: 50px; }
.service-admin-sidebar-copy > span { color: #7caef0; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; }
.service-admin-sidebar h2 { margin: 18px 0; color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 2.3rem; line-height: 1; letter-spacing: -0.07em; }
.service-admin-sidebar-copy p { color: rgba(255,255,255,0.6); font-size: 0.82rem; line-height: 1.7; }
.service-admin-site-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.service-admin-site-link .material-symbols-rounded { font-size: 1rem; color: #76adf6; }
.service-admin-main { width: min(1180px, 100%); padding: 50px clamp(24px, 5vw, 76px) 80px; }
.service-admin-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 54px; }
.service-admin-header h1 { margin: 12px 0 0; color: #172033; font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -0.07em; }
.service-admin-logout { display: inline-flex; gap: 9px; align-items: center; }
.service-admin-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 26px; padding-bottom: 19px; border-bottom: 1px solid #dbe3ee; }
.service-admin-intro h2 { margin: 8px 0 0; font-family: 'Space Grotesk', sans-serif; font-size: 1.45rem; letter-spacing: -0.04em; }
.service-admin-intro p { max-width: 380px; margin: 0; color: #748399; font-size: 0.85rem; }
.service-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-editor-card { padding: 22px; border: 1px solid #e0e7f0; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(35, 68, 110, 0.05); }
.service-editor-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.service-editor-index { color: #a2aec0; font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 700; }
.service-editor-status { color: #40a36c; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; }
.service-editor-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 6px; font-size: 1.4rem; }
.service-editor-icon--blue { background: #eaf3ff; color: #438ce8; }
.service-editor-icon--violet { background: #f0ecff; color: #7359da; }
.service-editor-icon--coral { background: #fff0ea; color: #ee765d; }
.service-editor-icon--mint { background: #e7faf6; color: #29ad9b; }
.service-admin-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-editor-card textarea { min-height: 92px; resize: vertical; }
.service-editor-card small { color: #7b8ba0; font-size: 0.7rem; font-weight: 500; }
.service-editor-image { width: 100%; max-height: 145px; object-fit: cover; margin: 2px 0 16px; border-radius: 5px; }
.service-editor-file input { padding: 10px 0; border: 0; background: transparent; }
.service-editor-check { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px !important; color: #ba4e56 !important; font-size: 0.75rem !important; }
.service-editor-check input { width: auto; }
.service-admin-save { display: flex; justify-content: space-between; width: 100%; margin-top: 5px; padding: 13px 15px; border-radius: 4px; font-size: 0.82rem; }
.service-editor-card--new { display: flex; flex-direction: column; border: 1px dashed #a6c4e9; background: #eef6ff; }
.service-editor-new-mark { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border: 1px solid #8fb8ed; border-radius: 6px; color: #3d83df; font-size: 1.6rem; }
.service-editor-card--new h3 { margin: 10px 0 22px; color: #1a477b; font-family: 'Space Grotesk', sans-serif; font-size: 1.55rem; line-height: 1.05; letter-spacing: -0.05em; }

/* Admin workspace refresh */
.service-admin-body {
    --admin-ink: #17221d;
    --admin-muted: #718078;
    --admin-line: #dfe7e1;
    --admin-green: #2f765d;
    --admin-lime: #d9ef72;
    background: #edf1eb;
    color: var(--admin-ink);
    font-family: 'DM Sans', sans-serif;
}

.service-login-page {
    grid-template-columns: minmax(300px, 1fr) minmax(390px, 0.92fr);
    background: #f5f5f8;
}

.service-login-art {
    justify-content: space-between;
    padding: clamp(32px, 6vw, 92px);
    background: #17372d;
}

.service-login-art::before,
.service-login-art::after {
    border-color: rgba(217, 239, 114, 0.25);
    transform: rotate(45deg);
}

.service-login-art::before { top: 12%; right: 16%; width: 330px; height: 330px; }
.service-login-art::after { top: 28%; right: 31%; width: 180px; height: 180px; border-color: rgba(217, 239, 114, 0.7); }
.service-login-art .material-symbols-rounded { color: var(--admin-lime); font-size: 5.5rem; }
.service-login-art p { margin-top: auto; color: rgba(255,255,255,0.62); }

.service-login-card {
    width: min(480px, calc(100% - 48px));
    padding: 42px 0;
}

.service-admin-back,
.service-admin-logout,
.service-admin-site-link { color: var(--admin-green); }
.service-admin-back { margin-bottom: 94px; }
.service-admin-kicker { color: var(--admin-green); }
.service-login-card h1,
.service-admin-header h1,
.service-admin-sidebar h2 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.06em; }
.service-login-card h1 { color: var(--admin-ink); }
.service-login-card h1 em,
.service-admin-sidebar h2 em { color: var(--admin-lime); }
.service-login-card > p { color: var(--admin-muted); }

.service-login-card label,
.service-editor-card label { color: #607068; }
.service-login-card input,
.service-editor-card input,
.service-editor-card textarea,
.service-editor-card select {
    border-color: var(--admin-line);
    border-radius: 10px;
    background: #fbfcf9;
    color: var(--admin-ink);
    padding: 13px 14px;
}
.service-login-card input:focus,
.service-editor-card input:focus,
.service-editor-card textarea:focus,
.service-editor-card select:focus { border-color: var(--admin-green); box-shadow: 0 0 0 3px rgba(47,118,93,0.12); }
.service-admin-button,
.service-admin-save { background: var(--admin-green); border-radius: 10px; }
.service-admin-button:hover,
.service-admin-save:hover { background: #225b46; }
.service-admin-alert { border-radius: 10px; }

.service-admin-app { grid-template-columns: 276px minmax(0, 1fr); }
.service-admin-sidebar {
    padding: 30px 26px;
    background: #17372d;
}
.service-admin-brand span { border-radius: 10px; background: var(--admin-lime); color: #17372d; }
.service-admin-sidebar-copy { margin-top: auto; margin-bottom: 40px; }
.service-admin-sidebar-copy > span { color: var(--admin-lime); }
.service-admin-sidebar h2 { font-size: 2.45rem; }
.service-admin-sidebar-copy p { color: rgba(255,255,255,0.62); }
.service-admin-site-link .material-symbols-rounded { color: var(--admin-lime); }

.service-admin-main {
    width: min(1320px, 100%);
    padding: 42px clamp(24px, 5vw, 84px) 84px;
}
.service-admin-header { margin-bottom: 46px; }
.service-admin-header h1 { color: var(--admin-ink); font-size: clamp(2.3rem, 4vw, 4rem); }
.service-admin-logout { padding: 10px 14px; border: 1px solid var(--admin-line); border-radius: 9px; background: #f8faf6; }
.service-admin-intro { margin-bottom: 30px; padding: 20px 0; border-top: 1px solid var(--admin-line); border-bottom: 1px solid var(--admin-line); }
.service-admin-intro h2 { color: var(--admin-ink); font-family: 'Space Grotesk', sans-serif; }
.service-admin-intro p { color: var(--admin-muted); }
.service-admin-grid { grid-template-columns: repeat(2, minmax(360px, 1fr)); gap: 22px; }
.service-editor-card {
    padding: 26px;
    border: 1px solid var(--admin-line);
    border-radius: 14px;
    background: #fbfcf9;
    box-shadow: 0 14px 34px rgba(27, 55, 45, 0.06);
}
.service-editor-top { margin-bottom: 24px; }
.service-editor-index { color: #9aa89f; }
.service-editor-status { padding: 5px 8px; border-radius: 999px; background: #e4f3da; color: #477b45; }
.service-editor-icon { width: 50px; height: 50px; margin-bottom: 22px; border-radius: 12px; }
.service-admin-fields { gap: 14px; }
.service-editor-card textarea { min-height: 102px; }
.service-editor-image { max-height: 170px; border-radius: 10px; }
.service-admin-save { padding: 14px 16px; }
.service-editor-card--new {
    border: 1px dashed #9bb487;
    background: #e8f0df;
    box-shadow: none;
}
.service-editor-new-mark { border-color: #9bb487; border-radius: 12px; color: var(--admin-green); }
.service-editor-card--new h3 { color: #24543f; }

@media (max-width: 760px) {
    .service-admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
    .service-login-page { grid-template-columns: 1fr; }
    .service-login-art { min-height: 230px; padding: 34px; }
    .service-login-art .material-symbols-rounded { font-size: 3rem; }
    .service-login-art p { margin-top: 10px; }
    .service-login-card { padding: 40px 0 60px; }
    .service-admin-app { grid-template-columns: 1fr; }
    .service-admin-sidebar { min-height: 210px; padding: 22px 24px; }
    .service-admin-sidebar-copy { margin: 46px 0 28px; }
    .service-admin-sidebar h2 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .service-admin-main { padding: 30px 16px 50px; }
    .service-admin-header { margin-bottom: 34px; }
    .service-admin-header h1 { font-size: 2.2rem; }
    .service-admin-intro { display: block; }
    .service-admin-intro p { margin-top: 14px; }
    .service-admin-grid { grid-template-columns: 1fr; }
}

.brand-shape {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #8ec5ff);
    color: #081321;
    font-size: 1rem;
    font-weight: 900;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
}

.main-menu a {
    position: relative;
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #9bcaff);
    transition: width 0.2s ease;
}

.main-menu a:hover {
    color: #ffffff;
}

.main-menu a:hover::after {
    width: 100%;
}

.auth-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.09));
    border: 1px solid rgba(59, 130, 246, 0.42);
    color: #c7e0ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 72px);
    padding: 40px 16px;
}

.auth-wrapper {
    width: min(100%, 520px);
}

.auth-card {
    background: rgba(17, 28, 41, 0.75);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    padding: 36px 30px 28px;
}

.auth-heading {
    margin-bottom: 22px;
    text-align: left;
}

.auth-heading h1 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
    color: #f7f9fc;
}

.auth-heading p {
    margin: 0;
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.98rem;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label,
.field-row-inline label {
    color: rgba(240, 244, 249, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-field input {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.78);
    color: #edf5ff;
    padding: 0 14px;
    font: inherit;
    box-sizing: border-box;
}

.form-field input:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    border-color: rgba(59, 130, 246, 0.8);
}

.field-row-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.text-link {
    color: #f3a35d;
    font-size: 0.8rem;
    text-decoration: none;
}

.checkbox-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 4px;
}

.check-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.9rem;
}

.check-wrap input {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

.btn-auth {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    width: 100%;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563c7);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-auth:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(59, 130, 246, 0.28);
}

.auth-footer {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.95rem;
}

.auth-footer a {
    color: #8ec5ff;
    font-weight: 600;
}

.user-profile-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(30, 157, 102, 0.2);
    border-radius: 12px;
    background: #f0fbf5;
}

.profile-avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #1e9d66;
    color: #fff;
    font-weight: 800;
    object-fit: cover;
    overflow: hidden;
}

.profile-avatar-image {
    display: block;
    border: 2px solid rgba(30, 157, 102, 0.2);
}

.user-profile-card strong,
.user-profile-card small {
    display: block;
}

.user-profile-card small {
    margin-top: 3px;
    color: #397a5b;
    font-size: 0.85rem;
}

.managed-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.managed-user-info {
    flex: 1;
}

.managed-user-info strong,
.managed-user-info small {
    display: block;
}

.managed-user-info small {
    color: var(--muted);
    font-size: 0.84rem;
}

.managed-user-card form {
    margin-left: auto;
}

.managed-user-actions {
    display: grid;
    gap: 8px;
    min-width: min(100%, 430px);
}

.user-avatar-form,
.user-edit-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0 !important;
}

.user-edit-form input,
.user-edit-form select {
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 0.82rem;
}

.user-edit-form input[type="text"] { flex: 1; }
.user-edit-form input[type="password"] { width: 140px; }
.user-avatar-form input[type="file"] { min-width: 0; flex: 1; font-size: 0.78rem; }

.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: #20b86b;
    box-shadow: 0 0 0 0 rgba(32, 184, 107, 0.7);
    animation: online-pulse 1.6s infinite;
}

@keyframes online-pulse {
    70% { box-shadow: 0 0 0 7px rgba(32, 184, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(32, 184, 107, 0); }
}

@media (max-width: 980px) {
    .card-grid, .steps, .contact-grid, .two-col, .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    .topbar {
        width: 100%;
        min-height: 0;
        bottom: auto;
        border-right: 0;
        border-bottom: 0;
    }
    .nav {
        flex-direction: row;
        align-items: center;
        min-height: 62px;
        padding: 10px 12px;
        gap: 12px;
    }
    .brand { align-self: center; }
    .site-nav { display: none; }
    .site-nav.is-open {
        position: absolute;
        top: 62px;
        left: 16px;
        right: 16px;
        display: grid;
        flex-direction: initial;
        gap: 0;
        margin: 0;
        padding: 10px;
        background: rgba(7,17,31,0.98);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 14px;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open a {
        padding: 12px 10px;
    }
    .site-nav .language {
        border-left: 0;
        padding-left: 10px;
        margin-top: 0;
        border-top: 0;
        padding-top: 12px;
    }
    .nav-actions {
        flex-direction: row;
        align-items: center;
        width: auto;
        margin: 0 0 0 auto;
    }
    .nav-phone { display: none; }
    .menu-toggle { display: inline-grid; place-items: center; }
}

@media (min-width: 981px) {
    main,
    .footer { margin-left: 0; }
}

@media (max-width: 980px) {
    .main-menu {
        display: none;
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }
    .partners-content-layout { grid-template-columns: 1fr; }
    .partners-list,
    .partner-offer { grid-column: 1; }
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .top-strip-inner {
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .card-grid, .steps, .contact-grid, .two-col, .hero-grid, .feature-box {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .partners-list .partners-grid { grid-template-columns: 1fr; }
    .partner-offer { gap: 24px; padding: 22px 17px; }
    .partner-offer-form { grid-template-columns: 1fr; }
    .partner-offer-form > label,
    .partner-offer-full { grid-column: 1; }
    .partner-offer-form fieldset { grid-template-columns: 1fr; }
    .partner-room-cta { align-items: flex-start; flex-direction: column; }
    .partner-room-cta-actions { width: 100%; }
    .partner-room-cta-actions .partner-room-button { flex: 1; }
    .partner-room-heading { align-items: flex-start; flex-direction: column; margin-bottom: 32px; padding: 20px; }
    .partner-room-sales-heading { align-items: flex-start; }
    .partner-room-sale-heading { padding: 15px; }
    .partner-room-items { padding-right: 15px; padding-left: 15px; }
    .partner-room-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7px 12px; }
    .partner-room-item--heading { display: none; }
    .partner-room-item strong:first-child { grid-column: 1 / -1; }
    .partner-room-note { padding-right: 15px; padding-left: 15px; }
    .products-hero {
        padding: 24px 0 18px;
    }
    .products-search {
        min-height: 52px;
        gap: 10px;
        padding: 0 13px;
    }
    .products-search-row {
        gap: 8px;
    }
    .market-account-link {
        min-height: 42px;
        padding: 0 9px;
        font-size: 0;
    }
    .market-account-link .material-symbols-rounded {
        font-size: 20px;
    }
    .products-search-hint {
        display: none;
    }
    .products-search input {
        font-size: .9rem;
    }
    .market-ad-banner { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 14px; padding: 14px; }
    .market-ad-banner p { font-size: .83rem; }
    .product-detail-dialog {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }
    .purchase-tutorial-modal { padding: 10px; }
    .purchase-tutorial-dialog { max-height: calc(100vh - 20px); padding: 24px 18px 19px; border-radius: 17px; }
    .purchase-tutorial-screen { min-height: 210px; padding: 14px; }
    .purchase-tutorial-window { width: 100%; }
    .purchase-tutorial-caption { grid-template-columns: 36px minmax(0, 1fr); gap: 9px; }
    .purchase-tutorial-step-number { font-size: 1.3rem; }
    .product-detail-image-wrap {
        min-height: 210px;
    }
    .product-detail-image {
        height: 190px;
    }
    .product-detail-content {
        padding: 24px 22px 26px;
    }
    .container { width: min(100% - 24px, 560px); }
    .section { padding: 58px 0; }
    .hero { padding: 24px 0 18px; }
    .home-hero { min-height: 0; padding: 38px 0 52px; }
    .home-hero-inner { grid-template-columns: 1fr; gap: 18px; }
    .home-hero-copy { max-width: none; padding: 0; text-align: center; }
    .home-hero-kicker { justify-content: center; }
    .home-hero h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
    .home-hero-lead { margin-right: auto; margin-left: auto; }
    .home-hero-highlights { max-width: 480px; margin: 24px auto 0; text-align: left; }
    .home-hero-visual { min-height: 275px; }
    .home-hero-label-top { top: 10%; left: 2%; }
    .home-hero-label-bottom { right: 0; bottom: 12%; }
    .home-hero-location { right: 2%; bottom: 0; }
    h1 { font-size: clamp(2.15rem, 10vw, 3rem); line-height: 1.12; }
    h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    p { font-size: 0.97rem; }
    .hero-actions { display: grid; }
    .btn { width: 100%; }
    .nav-cta { width: auto; padding: 0 14px; }
    .nav-cta { display: none; }
    .brand { padding: 5px 8px; font-size: .96rem; }
    .nav { min-height: 58px; padding: 8px 10px; }
    .site-nav { display: none; }
    .site-nav.is-open { top: 58px; left: 12px; right: 12px; }
    .menu-toggle { display: inline-grid; }
    .hero-visual { min-height: 86px; }
    .hero-visual::before { width: 72px; height: 72px; }
    .visual-ring { width: 64px; height: 64px; border-width: 6px; }
    .visual-ring span { font-size: 1rem; }
    .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .stats li { min-width: 0; }
    .stats strong { font-size: 1.35rem; }
    .stats span { display: block; font-size: 0.74rem; line-height: 1.35; }
    .feature-box { padding: 18px; gap: 10px; }
    .feature-box div { padding: 10px; font-size: 0.9rem; }
    .contact-form { padding: 18px; }
    .home-hero-highlights { gap: 6px; }
    .home-hero-highlights li { gap: 6px; }
    .home-hero-highlights strong { font-size: 1.05rem; }
    .home-hero-highlights span { font-size: .59rem; }
    .footer { padding: 38px 0 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 27px 18px; }
    .footer-about,
    .footer-contact { grid-column: 1 / -1; }
    .footer-about > p { max-width: 360px; }
    .footer-links h2,
    .footer-contact h2 { margin-bottom: 15px; }
    .footer-bottom { margin-top: 22px; }
    .auth-card {
        padding: 24px 18px 18px;
    }
    .auth-brand {
        letter-spacing: 0.04em;
        font-size: 0.9rem;
    }
    .auth-header-inner {
        min-height: 64px;
    }
    .auth-header-actions {
        gap: 8px;
    }
    .header-btn {
        display: none;
    }
}

.admin-page {
    min-height: 100vh;
    background: #eef3f8;
}

.admin-login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.admin-login {
    width: min(100%, 440px);
    padding: 34px;
    border-radius: 22px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.admin-login h1,
.admin-heading h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    margin-bottom: 10px;
}

.admin-login label {
    display: block;
    margin: 14px 0 6px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
}

.admin-login small {
    display: block;
    margin-top: 16px;
    color: var(--muted);
    text-align: center;
}

.admin-back {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 700;
}

.admin-topbar {
    background: var(--bg-dark);
    padding: 18px 28px;
}

.admin-topbar-inner,
.admin-main {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.admin-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
}

.admin-actions a {
    color: #b9d8ff;
    font-weight: 700;
}

.admin-main {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    padding: 56px 0;
}

.admin-dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 260px;
    flex-shrink: 0;
    order: 2;
    align-self: stretch;
    min-height: calc(100vh - 152px);
    padding: 18px 12px 14px;
    border-radius: 18px;
    background: #101114;
    border: 1px solid #24262c;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
    position: sticky;
    top: 20px;
}

.admin-dashboard-header {
    padding: 4px 10px 16px;
    border-bottom: 1px solid #292b32;
    margin-bottom: 0;
}

.admin-dashboard-header .eyebrow {
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
}

.admin-dashboard-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
}

.admin-menu-section {
    display: grid;
    gap: 4px;
}

.admin-menu-category {
    margin: 0 10px 5px;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-dashboard-menu a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    padding: 7px 10px;
    border-radius: 10px;
    color: #b9bdc8;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.admin-dashboard-menu a:hover {
    background: #1c1e23;
    color: #ffffff;
}

.admin-dashboard-menu a.is-active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.06));
    box-shadow: inset 3px 0 0 #3b82f6;
    color: #ffffff;
}

.admin-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #1f2228;
    color: #9399a7;
    font-size: 1.05rem;
}

.admin-dashboard-menu a.is-active .admin-menu-icon {
    background: rgba(59, 130, 246, 0.18);
    color: #8ec5ff;
}

.admin-menu-copy {
    display: grid;
    gap: 2px;
    line-height: 1.3;
}

.admin-menu-copy strong {
    color: inherit;
    font-size: 0.85rem;
}

.admin-menu-copy small {
    color: #707582;
    font-size: 0.68rem;
    font-weight: 500;
}

.admin-content {
    flex: 1;
    min-width: 0;
    order: 1;
}

.admin-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.admin-heading h1 { margin-bottom: 0; }

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.admin-stats div {
    display: grid;
    gap: 3px;
    padding: 22px;
    border-radius: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
}

.admin-stats strong {
    color: var(--primary-dark);
    font-size: 2rem;
}

.admin-stats span { color: var(--muted); }

.requests-panel {
    padding: 24px;
    border-radius: 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.settings-panel {
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.settings-panel-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.settings-panel-heading h2 {
    margin: 0;
    font-size: 1.35rem;
}

.site-settings-overview {
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
    border-color: rgba(59, 130, 246, 0.18);
}

.site-settings-overview .settings-panel-heading > div > p:last-child,
.services-admin-heading p:last-child {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.settings-panel-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #e5f0ff;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.settings-save-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.settings-save-button .material-symbols-rounded {
    font-size: 1.05rem;
}

.services-admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 28px 0 16px;
    padding: 18px 20px;
    border: 1px solid #dfe8f2;
    border-radius: 16px;
    background: #ffffff;
}

.services-admin-heading h3,
.services-admin-heading p {
    margin-bottom: 0;
}

.services-admin-heading > .material-symbols-rounded {
    color: var(--primary-dark);
    font-size: 2rem;
}

.admin-service-grid {
    gap: 18px;
}

.admin-service-card fieldset {
    display: grid;
    gap: 12px;
    height: 100%;
    padding: 20px;
    border-color: #dfe8f2;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.admin-service-card legend {
    display: flex;
    align-items: center;
    gap: 7px;
}

.service-number {
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.7rem;
}

.admin-service-card input[type="file"] {
    padding: 8px;
    background: #f7faff;
    border: 1px dashed #b9cde2;
}

.admin-contact-grid,
.admin-copy-grid,
.service-settings-grid,
.news-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.settings-subheading {
    margin: 4px 0 16px;
}

.settings-subheading h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.settings-subheading p {
    margin: 0;
    font-size: 0.88rem;
}

.admin-copy-grid {
    grid-template-columns: 1fr 1fr;
}

.admin-copy-grid label:last-child {
    grid-column: 1 / -1;
}

.news-settings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.settings-panel label {
    display: grid;
    gap: 6px;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 700;
}

.service-image-preview {
    width: 96px;
    height: 64px;
    margin: 2px 0 4px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.service-edit-form fieldset {
    height: 100%;
}

.service-edit-button {
    width: 100%;
    margin-top: 12px;
}
.partner-add-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 22px;
}

.product-add-form {
    display: grid;
    grid-template-columns: 1fr 1.4fr 0.8fr 0.8fr 1fr auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 22px;
}

.product-add-form small {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 500;
}

.admin-product-list {
    display: grid;
    gap: 10px;
}

.admin-product-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fbff;
}

.admin-product-row img,
.admin-product-placeholder {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border-radius: 10px;
    background: #e5f0ff;
    color: var(--primary-dark);
    object-fit: cover;
}

.admin-product-row > div {
    display: grid;
    flex: 1;
    gap: 3px;
}

.admin-product-row small {
    color: var(--muted);
}

.admin-partner-list {
    display: grid;
    gap: 10px;
}

.admin-partner-row > div { flex: 1; }

.admin-partner-row .partner-logo {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
}

.delete-partner {
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #fff0f0;
    color: var(--danger);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.settings-panel fieldset {
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid #e3e9f1;
    border-radius: 14px;
}

.settings-panel legend {
    padding: 0 6px;
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 800;
}

.save-confirmation {
    padding: 8px 12px;
    border-radius: 999px;
    background: #eafaf1;
    color: var(--success);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.request-list { display: grid; gap: 14px; }

.request-item {
    padding: 18px;
    border: 1px solid #e3e9f1;
    border-radius: 14px;
    background: #fbfcfe;
}

.request-item-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.request-item h2 {
    margin: 0;
    font-size: 1.1rem;
}

.request-item p { margin: 5px 0 0; font-size: 0.94rem; }
.request-item time { color: var(--muted); font-size: 0.8rem; }

.empty-state { padding: 30px 10px; text-align: center; }
.empty-state h2 { margin-bottom: 8px; font-size: 1.3rem; }

@media (max-width: 680px) {
    .admin-login { padding: 24px 18px; }
    .admin-topbar { padding: 14px 12px; }
    .admin-topbar-inner { width: 100%; }
    .admin-actions span { display: none; }
    .admin-main { width: min(100% - 24px, 560px); padding: 36px 0; display: block; }
    .admin-dashboard-menu { width: 100%; min-height: 0; }
    .admin-heading { align-items: stretch; flex-direction: column; gap: 16px; }
    .admin-home { width: 100%; }
    .admin-stats { gap: 10px; }
    .admin-stats div { padding: 14px 10px; }
    .admin-stats strong { font-size: 1.5rem; }
    .admin-stats span { font-size: 0.75rem; }
    .requests-panel { padding: 14px; }
    .request-item-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .settings-panel { padding: 16px; }
    .settings-panel-heading { flex-direction: column; }
    .card-grid, .news-grid, .partners-grid,
    .admin-contact-grid, .admin-copy-grid, .service-settings-grid, .news-settings-grid { grid-template-columns: 1fr; }
    .admin-copy-grid label:last-child { grid-column: auto; }
    .save-confirmation { white-space: normal; }
    .partner-add-form { grid-template-columns: 1fr; }
    .partner-add-form .btn { width: 100%; }
    .product-add-form { grid-template-columns: 1fr; }
    .product-add-form .btn { width: 100%; }
    .finance-grid, .repair-admin-grid { grid-template-columns: 1fr; gap: 0; }
    .repair-row { grid-template-columns: 1fr; }
    .repair-row span { text-align: left; }
}
