 :root {
    --bg: #080808;
    --surface: #141414;
    --white: #f2f2f2;
    --muted: #888;
    --accent: #c6ff00;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--white); font-family: 'Inter', sans-serif; }
a { text-decoration: none; color: inherit; }
.header { height: 85px; padding: 0 7%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #252525; }
.logo { font-family: 'Barlow Condensed', sans-serif; font-size: 42px; font-weight: 900; letter-spacing: -2px; }
.logo span { color: var(--accent); font-size: 15px; vertical-align: top; }
.navigation { display: flex; gap: 38px; }
.navigation a { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #aaa; transition: .3s; }
.navigation a:hover { color: var(--accent); }
.header-button, .main-button { background: var(--accent); color: #080808; padding: 15px 22px; font-size: 11px; font-weight: 900; letter-spacing: 1px; display: inline-block; transition: .3s; }
.header-button:hover, .main-button:hover { background: white; transform: translateY(-3px); }
.hero { min-height: 620px; padding: 120px 10% 80px; position: relative; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #080808 5%, rgba(8,8,8,.85) 50%, rgba(8,8,8,.2)), url('assets/banner.jpg') center 35%/cover; }
.hero-content { max-width: 700px; position: relative; z-index: 2; }
.eyebrow { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 3px; }
.hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(75px, 11vw, 145px); font-weight: 900; line-height: .85; letter-spacing: -4px; margin: 25px 0; }
.hero h1 span, h2 span { color: var(--accent); }
.hero p { color: #aaa; max-width: 430px; font-size: 14px; line-height: 1.8; margin-bottom: 30px; }
.hero-side { position: absolute; right: 7%; top: 40%; display: flex; flex-direction: column; gap: 12px; font-size: 10px; letter-spacing: 2px; color: #aaa; writing-mode: vertical-rl; }
.hero-side span:first-child { color: var(--accent); font-size: 22px; font-weight: 900; }
.hero-bottom { position: absolute; bottom: 25px; left: 7%; right: 7%; display: flex; justify-content: space-between; color: #888; font-size: 9px; letter-spacing: 2px; }
.categories, .catalog { padding: 90px 7%; }
.section-heading, .catalog-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 35px; }
h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 55px; font-weight: 900; margin-top: 10px; }
.category-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.category-card { background: var(--surface); color: #aaa; border: 1px solid #292929; padding: 17px 25px; font-size: 10px; font-weight: 800; letter-spacing: 1px; cursor: pointer; transition: .3s; }
.category-card:hover, .category-card.active { background: var(--accent); color: #080808; border-color: var(--accent); }
.catalog { background: #0e0e0e; }
.search-box { background: #181818; border: 1px solid #292929; padding: 12px 16px; display: flex; gap: 10px; align-items: center; }
.search-box span { color: var(--accent); font-size: 22px; }
.search-box input { background: transparent; border: none; outline: none; color: white; font-size: 12px; width: 190px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: #171717; border: 1px solid #252525; transition: .3s; overflow: hidden; }
.product-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.product-image { height: 270px; background: #222; position: relative; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-tag { position: absolute; top: 13px; left: 13px; background: var(--accent); color: #080808; padding: 7px 10px; font-size: 9px; font-weight: 900; }
.product-info { padding: 19px; }
.product-category { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.product-info h3 { font-size: 14px; margin: 10px 0; }
.product-price { font-size: 19px; font-weight: 800; margin-bottom: 16px; }
.buy-button { display: block; text-align: center; padding: 13px; background: var(--accent); color: #080808; font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.buy-button:hover { background: white; }
.empty-message { color: var(--muted); grid-column: 1 / -1; padding: 35px 0; }
.newsletter { padding: 100px 20px; text-align: center; }
.newsletter p { color: #888; margin: 15px 0 25px; font-size: 13px; }
footer { border-top: 1px solid #252525; padding: 40px 7%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer p, footer > span { color: #777; font-size: 9px; letter-spacing: 1px; }
footer small { width: 100%; color: #666; font-size: 10px; }
.admin-footer-link { color: #666; font-size: 9px; letter-spacing: 1px; }
.admin-footer-link:hover { color: var(--accent); }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } .navigation { gap: 15px; } .hero { padding-left: 7%; } }
@media (max-width: 600px) {
    .header { height: 70px; padding: 0 5%; } .logo { font-size: 35px; } .navigation { display: none; }
    .header-button { padding: 12px; font-size: 9px; } .hero { min-height: 560px; padding: 80px 7%; background-position: 60% center; }
    .hero h1 { font-size: 82px; letter-spacing: -3px; } .hero-side { display: none; } .hero-bottom { font-size: 7px; }
    .categories, .catalog { padding: 65px 5%; } .catalog-heading { align-items: start; flex-direction: column; gap: 20px; }
    .search-box, .search-box input { width: 100%; } .product-grid { gap: 12px; } .product-image { height: 190px; }
    .product-info { padding: 12px; } .product-info h3 { font-size: 12px; } footer { flex-direction: column; align-items: flex-start; }
}

/* ADMIN PAGE */
.admin-body { min-height: 100vh; background: #090909; }
.admin-wrap { width: min(1100px, 92%); margin: 0 auto; padding: 35px 0 70px; }
.admin-top { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:35px; }
.admin-top p { color:#888; font-size:12px; margin-top:6px; }
.admin-back { color:var(--accent); font-size:11px; font-weight:800; letter-spacing:1px; }
.admin-panel { background:#141414; border:1px solid #292929; padding:26px; margin-bottom:28px; }
.admin-panel h2 { font-size:36px; margin:0 0 22px; }
.admin-form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:17px; }
.admin-field { display:flex; flex-direction:column; gap:8px; }
.admin-field.full { grid-column:1/-1; }
.admin-field label { color:#aaa; font-size:10px; font-weight:800; letter-spacing:1px; }
.admin-field input, .admin-field select { width:100%; background:#080808; color:#f2f2f2; border:1px solid #333; padding:14px; outline:none; font:inherit; font-size:13px; }
.admin-field input:focus, .admin-field select:focus { border-color:var(--accent); }
.admin-field input[type=file] { padding:10px; }
.image-preview { width:130px; height:130px; object-fit:cover; background:#222; border:1px solid #333; display:none; }
.admin-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
.admin-primary, .admin-secondary, .delete-button { border:0; padding:13px 18px; font-size:10px; font-weight:900; letter-spacing:1px; cursor:pointer; }
.admin-primary { background:var(--accent); color:#080808; }
.admin-secondary { background:#292929; color:#eee; }
.delete-button { background:#351919; color:#ffb4b4; }
.admin-status { color:var(--accent); font-size:12px; margin-top:14px; min-height:18px; }
.admin-products { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.admin-product { display:flex; gap:12px; align-items:center; background:#0b0b0b; border:1px solid #292929; padding:12px; min-width:0; }
.admin-product img { width:66px; height:76px; object-fit:cover; background:#222; }
.admin-product-info { min-width:0; flex:1; }
.admin-product-info strong { display:block; font-size:12px; overflow-wrap:anywhere; }
.admin-product-info span { display:block; color:#999; font-size:11px; margin-top:5px; }
.admin-product button { margin-top:8px; }
.admin-note { color:#999; font-size:11px; line-height:1.7; margin-top:18px; }
@media(max-width:700px) { .admin-form-grid, .admin-products { grid-template-columns:1fr; } .admin-panel { padding:18px; } .admin-top { align-items:flex-start; flex-direction:column; } }


/* ADR - DASHBOARD STATS */

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

.stat-card {
    background: linear-gradient(145deg, #1b1b1b, #101010);
    border: 1px solid #292929;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.stat-card span {
    color: #999;
    font-size: 13px;
}

.stat-card strong {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
}

@media (max-width: 650px) {
    .admin-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 18px;
    }
}

/* =========================================
   ADR — ADMIN PREMIUM DASHBOARD
========================================= */

.admin-body {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at top, rgba(198,255,0,.08), transparent 38%),
        #080808;
    color: #f2f2f2;
}

.admin-wrap {
    width: min(1200px, 94%);
    margin: auto;
    padding: 45px 0 80px;
}

/* CABEÇALHO */

.admin-body > .admin-wrap > .admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 28px;
    margin-bottom: 35px;
    border-bottom: 1px solid #292929;
}

.admin-top h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    letter-spacing: 1px;
}

.admin-top > p {
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
}

/* PAINÉIS */

.admin-panel {
    background: linear-gradient(145deg, #181818, #101010);
    border: 1px solid #292929;
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}

.admin-panel h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 34px;
    margin-bottom: 12px;
}

.admin-panel > p {
    color: #888;
    font-size: 13px;
    margin-bottom: 22px;
}

/* ESTATÍSTICAS */

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

.stat-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #1b1b1b, #101010);
    border: 1px solid #303030;
    border-radius: 13px;
    padding: 25px;
    transition: .25s ease;
}

.stat-card:hover {
    border-color: #718f00;
    transform: translateY(-4px);
}

.stat-card span {
    display: block;
    color: #999;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.stat-card strong {
    display: block;
    color: var(--accent);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px;
    line-height: 1;
}

/* FORMULÁRIO */

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

.admin-form-grid input,
.admin-form-grid select {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 16px;
    background: #090909;
    color: #f2f2f2;
    border: 1px solid #333;
    border-radius: 7px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    transition: .25s;
}

.admin-form-grid input:focus,
.admin-form-grid select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(198,255,0,.07);
}

.admin-form-grid input::placeholder {
    color: #777;
}

.admin-form-grid input[type="file"] {
    padding: 14px;
    cursor: pointer;
}

/* PREVIEW */

#image-preview {
    margin-top: 20px;
}

#image-preview img {
    max-width: 180px;
    max-height: 180px;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid #444;
}

/* BOTÕES */

.admin-body button {
    border-radius: 7px;
    font-family: inherit;
    transition: .25s ease;
}

#login-button,
#save-button {
    background: var(--accent);
    color: #080808;
    border: none;
    padding: 15px 25px;
    margin-top: 20px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
}

#login-button:hover,
#save-button:hover {
    background: white;
    transform: translateY(-2px);
}

#logout-button {
    background: #242424;
    color: white;
    border: 1px solid #383838;
    padding: 12px 22px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

#logout-button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

#cancel-edit {
    background: #292929;
    color: white;
    border: 1px solid #444;
    padding: 13px 18px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* MENSAGENS */

#status,
#login-status {
    color: var(--accent);
    font-size: 12px;
    margin-top: 15px;
    line-height: 1.6;
}

/* LISTA DE PRODUTOS */

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

.admin-product {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    padding: 14px;
    background: #0b0b0b;
    border: 1px solid #292929;
    border-radius: 10px;
    transition: .25s ease;
}

.admin-product:hover {
    border-color: #718f00;
    transform: translateY(-3px);
}

.admin-product img {
    width: 75px;
    height: 90px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 6px;
    background: #222;
}

.admin-product > div {
    flex: 1;
    min-width: 0;
}

.admin-product h3 {
    font-size: 13px;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.admin-product p {
    color: #999;
    font-size: 11px;
    margin-bottom: 5px;
}

.admin-product button {
    margin-top: 9px;
    padding: 9px 12px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.admin-product .edit-button {
    background: #242424;
    color: white;
    border: 1px solid #383838;
}

.admin-product .edit-button:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.admin-product .delete-button {
    background: #351919;
    color: #ffaaaa;
    border: 1px solid #542020;
}

.admin-product .delete-button:hover {
    background: #542020;
}

/* RESPONSIVIDADE */

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

@media (max-width: 600px) {
    .admin-wrap {
        width: 92%;
        padding-top: 25px;
    }

    .admin-body > .admin-wrap > .admin-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .admin-panel {
        padding: 20px;
    }

    .admin-panel h2 {
        font-size: 29px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card strong {
        font-size: 40px;
    }

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

    #admin-products {
        grid-template-columns: 1fr;
    }

    .admin-product {
        align-items: flex-start;
    }
}
