* {
    box-sizing: border-box
}

:root {
    --bg: #0b0d10;
    --panel: #10151c;
    --panel2: #0f141a;
    --text: #e9eef7;
    --muted: #9aa7ba;
    --line: #1b2633;
    --brand: #39ff14;
    --brand2: #4caf50;
    --danger: #ff4d4d;
    --shadow: 0 18px 60px rgba(0,0,0,.35);
    --r: 16px;
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background: radial-gradient(800px 500px at 20% -10%, rgba(57,255,20,.12), transparent 60%), radial-gradient(900px 520px at 100% 20%, rgba(76,175,80,.10), transparent 55%), var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px
}

.muted {
    color: var(--muted)
}

.price {
    color: var(--brand);
    font-weight: 800
}

.price--big {
    font-size: 28px
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(11,13,16,.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line)
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 18px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(57,255,20,.18), rgba(76,175,80,.14));
    border: 1px solid rgba(57,255,20,.35);
    display: grid;
    place-items: center;
    font-weight: 900;
    letter-spacing: .5px
}

.brand__name {
    font-weight: 900
}

.brand__sub {
    font-size: 12px;
    color: var(--muted)
}

.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.nav__link {
    padding: 9px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: var(--muted)
}

    .nav__link:hover {
        border-color: var(--line);
        color: var(--text)
    }

    .nav__link.is-active {
        color: var(--text);
        border-color: rgba(57,255,20,.25);
        background: rgba(57,255,20,.06)
    }

/* Hero */
.hero {
    padding: 28px 0 8px
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
    align-items: stretch
}

.hero h1 {
    margin: 10px 0 10px;
    font-size: 40px;
    line-height: 1.05
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(57,255,20,.10);
    border: 1px solid rgba(57,255,20,.25);
    color: var(--text);
    font-weight: 700;
    font-size: 12px
}

.hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(57,255,20,.95), rgba(76,175,80,.85));
    color: #041006;
    border: 0;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(57,255,20,.14);
}

    .btn:hover {
        filter: brightness(1.02)
    }

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(57,255,20,.25);
    box-shadow: none
}

    .btn--ghost:hover {
        background: rgba(57,255,20,.06)
    }

.stats {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap
}

.stat {
    background: rgba(16,21,28,.7);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 14px;
    min-width: 140px
}

.stat__num {
    font-size: 22px;
    font-weight: 900;
    color: var(--brand)
}

.stat__label {
    font-size: 12px;
    color: var(--muted)
}

.heroCard {
    height: 100%;
    background: linear-gradient(180deg, rgba(16,21,28,.85), rgba(16,21,28,.55));
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.heroCard__img {
    height: 150px;
    background: radial-gradient(220px 120px at 30% 20%, rgba(57,255,20,.22), transparent 60%), radial-gradient(240px 140px at 90% 30%, rgba(76,175,80,.16), transparent 65%), linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.heroCard__body {
    padding: 14px
}

.heroCard__title {
    font-weight: 900
}

.heroCard__text {
    color: var(--muted);
    margin-top: 6px
}

.heroCard__chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px
}

.chip {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    color: var(--muted)
}

/* Section head */
.sectionHead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0
}

    .sectionHead h2 {
        margin: 0
    }

.sectionHead__right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.badge {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px
}

.badge--soft {
    border-color: rgba(57,255,20,.18)
}

/* Cards grid */
.grid {
    display: grid;
    gap: 14px
}

.grid--cards {
    grid-template-columns: repeat(auto-fill,minmax(230px,1fr))
}

.card {
    background: linear-gradient(180deg, rgba(16,21,28,.92), rgba(16,21,28,.62));
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.22);
    transition: transform .18s ease, border-color .18s ease;
}

    .card:hover {
        transform: translateY(-3px);
        border-color: rgba(57,255,20,.25)
    }

.card__media {
    position: relative;
    height: 170px;
    background: rgba(255,255,255,.03)
}

    .card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block
    }

    .card__media.noimg .card__fallback {
        display: flex
    }

.card__fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    color: var(--muted)
}

.card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(57,255,20,.12);
    border: 1px solid rgba(57,255,20,.22);
    font-size: 12px;
    font-weight: 800
}

.card__body {
    padding: 12px 12px 14px
}

.card__title {
    font-weight: 900
}

.card__desc {
    color: var(--muted);
    margin-top: 6px;
    font-size: 13px;
    min-height: 38px
}

.card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px
}

.cta {
    color: var(--muted);
    font-weight: 700
}

/* Product page */
.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px 0
}

.product__mainImg {
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    background: rgba(255,255,255,.03);
}

    .product__mainImg img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        display: block
    }

.product__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px
}

.thumb {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    cursor: pointer
}

    .thumb img {
        width: 88px;
        height: 70px;
        object-fit: cover;
        display: block
    }

.buyBox {
    margin-top: 16px;
    display: grid;
    gap: 10px
}

    .buyBox input {
        padding: 11px 12px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: rgba(255,255,255,.03);
        color: var(--text)
    }

.infoGrid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-top: 14px
}

.infoItem {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    background: rgba(255,255,255,.02)
}

.infoItem__t {
    font-size: 12px;
    color: var(--muted);
    font-weight: 800
}

.infoItem__v {
    margin-top: 6px
}

/* Cart */
.cart {
    display: grid;
    gap: 12px
}

.cartItem {
    display: grid;
    grid-template-columns: 84px 1fr auto;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 12px;
    background: rgba(255,255,255,.02);
}

.cartItem__img {
    width: 84px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line)
}

    .cartItem__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block
    }

.cartItem__title {
    font-weight: 900
}

.cartItem__right {
    text-align: right;
    display: grid;
    gap: 6px;
    align-content: start
}

.linkDanger {
    color: var(--danger);
    font-weight: 800
}

.cartSum {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 6px;
    padding: 10px 2px
}

/* Checkout */
.checkout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 14px;
    align-items: start
}

.panel {
    background: linear-gradient(180deg, rgba(16,21,28,.92), rgba(16,21,28,.65));
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 14px;
    box-shadow: var(--shadow)
}

    .panel h3 {
        margin: 0 0 10px
    }

    .panel input, .panel textarea, .panel select {
        width: 100%;
        padding: 11px 12px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: rgba(255,255,255,.03);
        color: var(--text);
        margin-bottom: 10px
    }

.sumRow {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,.08)
}

.sumRow--total {
    border-bottom: 0;
    padding-top: 12px;
    font-weight: 900
}

/* CTA bar */
.ctaBar {
    margin: 22px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-radius: var(--r);
    background: radial-gradient(400px 260px at 20% 0%, rgba(57,255,20,.14), transparent 60%), rgba(16,21,28,.65);
    border: 1px solid rgba(57,255,20,.18);
}

    .ctaBar h3 {
        margin: 0
    }

    .ctaBar p {
        margin: 6px 0 0
    }

/* Footer */
.footer {
    border-top: 1px solid var(--line);
    padding: 20px 0;
    margin-top: 24px;
    background: rgba(11,13,16,.55)
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

/* Responsive */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr
    }

    .product {
        grid-template-columns: 1fr
    }

    .checkout {
        grid-template-columns: 1fr
    }

    .infoGrid {
        grid-template-columns: 1fr
    }
}
/* Demo Ribbon */
.demoRibbon {
    position: fixed;
    top: 16px;
    right: -34px;
    z-index: 50;
    background: rgba(57,255,20,.95);
    color: #041006;
    padding: 8px 52px;
    transform: rotate(45deg);
    font-weight: 900;
    letter-spacing: .8px;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(57,255,20,.15);
}

/* Cart bubble */
.cartBubble {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(57,255,20,.16);
    border: 1px solid rgba(57,255,20,.25);
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
    margin-left: 6px;
}

/* Filterbar */
.filterBar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

    .filterBar input {
        flex: 1;
        min-width: 220px
    }

    .filterBar select {
        width: auto;
        min-width: 180px
    }

/* Category tag on cards */
.card__cat {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
    font-weight: 800;
}

/* Toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background: rgba(16,21,28,.95);
    border: 1px solid rgba(57,255,20,.25);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

    .toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(-6px);
    }

/* Configurator example cards */
.exampleGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 12px;
    margin: 14px 0;
}

.exampleCard {
    text-align: left;
    background: rgba(255,255,255,.02);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 12px;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease;
    color: var(--text);
}

    .exampleCard:hover {
        transform: translateY(-3px);
        border-color: rgba(57,255,20,.22)
    }

.exampleCard__t {
    font-weight: 900
}

.exampleCard__d {
    color: var(--muted);
    margin-top: 6px;
    font-size: 13px
}
/* Admin Pro Addons */
.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

@media(max-width:720px) {
    .row2 {
        grid-template-columns: 1fr
    }
}

.imgBlock {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 12px;
    margin-top: 10px;
    background: rgba(255,255,255,.02)
}

.imgBlock__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px
}

.imgBlock__grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px
}

@media(max-width:720px) {
    .imgBlock__grid {
        grid-template-columns: 1fr
    }
}

.previewBox {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    display: grid;
    place-items: center;
}

    .previewBox img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.previewFallback {
    color: var(--muted);
    font-weight: 800;
    font-size: 12px
}

.dropZone {
    border: 1px dashed rgba(57,255,20,.25);
    border-radius: 16px;
    padding: 14px;
    background: rgba(57,255,20,.05);
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease;
    margin-bottom: 10px;
}

    .dropZone:hover {
        transform: translateY(-1px);
        border-color: rgba(57,255,20,.4)
    }

    .dropZone.isDrag {
        border-color: rgba(57,255,20,.6);
        background: rgba(57,255,20,.09)
    }

    .dropZone input[type=file] {
        display: none
    }
.checkoutSteps {
    display: flex;
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(255,255,255,.1);
    padding: 12px;
    border-radius: 20px;
    margin-bottom: 14px
}

.cStep {
    display: flex;
    gap: 8px;
    align-items: center
}

.cStep__dot {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2)
}

.cStep.active .cStep__dot {
    background: #39ff14;
    color: #000
}

.cStep.done .cStep__dot {
    background: #2ecc71;
    color: #000
}
