:root {
    --bg: #0f0d11;
    --surface: #16121a;
    --surface-soft: #201923;
    --text: #f8f3f6;
    --muted: #ceb9c1;
    --red: #ff2848;
    --red-strong: #ff1744;
    --red-dark: #cb0730;
    --border: #3a2730;
    --shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% 5%, #321424 0%, #0f0d11 40%),
                radial-gradient(circle at 90% 90%, #1d1527 0%, #0f0d11 34%),
                #0f0d11;
    min-height: 100vh;
}

.bg-glow {
    position: fixed;
    width: 32vw;
    height: 32vw;
    filter: blur(65px);
    z-index: -1;
    opacity: 0.25;
    border-radius: 50%;
    pointer-events: none;
}

.bg-glow-left {
    background: #ff1e46;
    top: -8vw;
    left: -8vw;
}

.bg-glow-right {
    background: #7f2bff;
    bottom: -12vw;
    right: -8vw;
}

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(20, 16, 23, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
}

.brand {
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    text-shadow: 0 8px 24px rgba(255, 27, 78, 0.45);
}

.brand span {
    color: #ffd9e0;
}

.menu {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

main {
    padding-bottom: 2rem;
}

.hero {
    margin: 1.4rem 0 1rem 0;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 40, 72, 0.2) 0%, rgba(70, 36, 80, 0.45) 65%);
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.2rem;
}

.eyebrow {
    margin: 0;
    color: #ffd6df;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.72rem;
    font-weight: 700;
}

.hero h2 {
    margin: 0.5rem 0 0.7rem 0;
    font-size: clamp(1.3rem, 2.5vw, 2.2rem);
    line-height: 1.2;
}

.lead {
    margin: 0;
    color: #f8d9e1;
    max-width: 60ch;
}

.hero-actions {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    gap: 0.75rem;
}

.hero-stats article {
    background: rgba(16, 12, 19, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.85rem;
}

.hero-stats strong {
    display: block;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

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

.section-head {
    margin-bottom: 0.8rem;
}

.section-head h3 {
    margin: 0;
    font-size: 1.3rem;
}

.section-head p {
    margin: 0.45rem 0 0 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.6rem;
    background: rgba(20, 16, 24, 0.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.85rem;
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.card {
    background: linear-gradient(180deg, #17121a 0%, #140f16 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 74, 112, 0.65);
}

.card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.card-content {
    padding: 0.95rem;
    display: grid;
    gap: 0.45rem;
}

.card-content strong {
    font-size: 1rem;
}

.badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(120deg, #ff2757, #ff6f40);
    padding: 0.28rem 0.56rem;
    border-radius: 999px;
    width: fit-content;
}

.price {
    font-size: 1.28rem;
    color: #ff4f6d;
    font-weight: 800;
}

.strike {
    text-decoration: line-through;
    color: #9a7d88;
}

.meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.btn {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    border: 1px solid transparent;
    padding: 0.62rem 0.92rem;
    border-radius: 11px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(255, 35, 84, 0.35);
}

.btn.ghost {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fbe4ea;
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.btn.ghost.light {
    border-color: rgba(255, 209, 219, 0.7);
}

.btn.danger {
    background: linear-gradient(135deg, #8f0d2a, #59091b);
}

.panel {
    background: rgba(18, 14, 22, 0.78);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    margin-top: 1.1rem;
    box-shadow: var(--shadow);
}

.cart-line {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.7rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0;
}

.quote-box {
    border: 1px dashed rgba(255, 63, 103, 0.8);
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    margin: 0.5rem 0 1rem 0;
    background: rgba(255, 39, 77, 0.1);
    font-weight: 700;
}

.form-grid {
    display: grid;
    gap: 0.62rem;
}

input, textarea, select {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.68rem 0.78rem;
    font: inherit;
    color: #f8f3f6;
    background: rgba(255, 255, 255, 0.03);
}

input::placeholder,
textarea::placeholder {
    color: #a68f98;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(255, 72, 114, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 56, 99, 0.2);
}

textarea {
    min-height: 94px;
    resize: vertical;
}

.auth-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.message {
    margin: 0.8rem 0;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    background: rgba(26, 19, 30, 0.92);
    border: 1px solid var(--border);
}

.hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .auth-columns {
        grid-template-columns: 1fr;
    }

    .menu {
        width: 100%;
    }

    .menu .btn {
        flex: 1 1 calc(50% - 0.4rem);
    }
}
