* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #0864c7;
    --dark-blue: #064a96;
    --light-blue: #eaf5ff;
    --yellow: #ffd900;
    --red: #ed1c24;
    --dark: #202631;
    --gray: #697386;
    --border: #e1e6ed;
    --background: #f7f9fc;
    --white: #ffffff;
    --green: #19a463;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--background);
    color: var(--dark);
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-header {
    min-height: 92px;
    max-width: 1400px;
    margin: auto;
    padding: 15px 30px;

    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 270px;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
}

.brand h1 {
    color: #000000;
    font-size: 25px;
    font-weight: 800;
}

.brand span {
    color: var(--gray);
    font-size: 12px;
}

.search {
    flex: 1;
    max-width: 620px;
    height: 48px;

    display: flex;

    border: 1px solid #d8dee7;
    border-radius: 9px;
    overflow: hidden;
    background: #f9fafc;
}

.search input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 17px;
    background: transparent;
}

.search button {
    width: 55px;
    border: 0;
    background: var(--light-blue);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.account-button,
.cart-button {
    border: 0;
    background: transparent;

    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--dark);
    padding: 10px;
}

.cart-button {
    position: relative;
}

.cart-button strong {
    background: var(--red);
    color: white;
    border-radius: 20px;
    font-size: 11px;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
}

.navigation {
    max-width: 1400px;
    margin: auto;
    padding: 0 30px;
    min-height: 50px;

    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    text-decoration: none;
    color: #394250;
    font-size: 14px;
    font-weight: 600;
    padding: 16px 0;
}

.navigation a:first-child {
    color: var(--blue);
}

.navigation a:hover {
    color: var(--blue);
}

.hero {
    max-width: 1340px;
    margin: 25px auto;
    padding: 45px 60px;

    min-height: 270px;

    border-radius: 18px;
    background:
        linear-gradient(
            120deg,
            #0065c9,
            #008ce1
        );

    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    overflow: hidden;
}

.hero span {
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 38px;
    max-width: 650px;
    margin: 12px 0;
}

.hero p {
    font-size: 17px;
    opacity: .9;
    margin-bottom: 22px;
}

.hero-symbol {
    width: 180px;
    height: 180px;
    border-radius: 30px;

    background: var(--yellow);

    display: grid;
    place-items: center;

    transform: rotate(5deg);
}

.hero-symbol img {
    width: 135px;
    height: 135px;
    object-fit: cover;
    border-radius: 15px;
    transform: rotate(-5deg);
}

.primary-button {
    background: var(--blue);
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 13px 22px;
    font-weight: 700;
    transition: .2s;
}

.hero .primary-button {
    background: white;
    color: var(--blue);
}

.primary-button:hover {
    transform: translateY(-1px);
    filter: brightness(.96);
}

.full {
    width: 100%;
}

.products-section {
    max-width: 1340px;
    margin: 45px auto;
    padding: 0 10px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 25px;
}

.section-title span {
    color: var(--blue);
    font-size: 13px;
    font-weight: bold;
}

.section-title h2 {
    font-size: 27px;
    margin-top: 5px;
}

.result-count {
    color: var(--gray);
}

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

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: .2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 30px rgba(0, 40, 90, .09);
}

.product-image {
    height: 230px;
    position: relative;
    background: #f4f7fa;
}

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

.promotion-label {
    position: absolute;
    top: 12px;
    left: 12px;

    background: var(--red);
    color: white;

    padding: 5px 9px;
    border-radius: 5px;

    font-size: 11px;
    font-weight: bold;
}

.product-body {
    padding: 18px;
}

.category-label {
    color: var(--blue);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
}

.product-body h3 {
    font-size: 16px;
    margin: 9px 0 14px;
    min-height: 38px;
}

.product-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.product-price del {
    color: #8993a3;
    font-size: 13px;
}

.product-price strong {
    color: var(--dark);
    font-size: 23px;
}

.card-button {
    width: 100%;
    padding: 11px;

    border: 1px solid var(--blue);
    border-radius: 7px;

    background: white;
    color: var(--blue);
    font-weight: bold;
}

.card-button:hover {
    background: var(--blue);
    color: white;
}


/* MODAIS */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;

    background: rgba(0, 15, 35, .58);

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 850px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
}

.close-button {
    position: absolute;
    top: 14px;
    right: 17px;

    width: 35px;
    height: 35px;

    border: 0;
    border-radius: 50%;

    background: #eef1f5;
    font-size: 24px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.detail-image {
    height: 430px;
    background: #f6f8fa;
    border-radius: 12px;
}

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

.detail-info h2 {
    font-size: 30px;
    margin: 10px 0 22px;
}

.detail-price {
    margin-bottom: 25px;
}

.detail-price del {
    display: block;
    color: #8b95a5;
    margin-bottom: 5px;
}

.detail-price strong {
    font-size: 31px;
}

.quantity-control {
    display: flex;
    width: 145px;
    height: 45px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
}

.quantity-control button,
.quantity-control span {
    flex: 1;
    display: grid;
    place-items: center;
    border: 0;
    background: white;
}

.quantity-control button {
    font-size: 20px;
}

.add-detail-button {
    width: 100%;
    padding: 15px;
    background: var(--blue);
    color: white;
    border: 0;
    border-radius: 8px;
    font-weight: bold;
}


/* LOGIN */

.account-modal {
    max-width: 430px;
    text-align: center;
}

.modal-logo img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.account-modal h2 {
    margin-bottom: 8px;
}

.account-modal p {
    color: var(--gray);
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    height: 47px;

    border: 1px solid #d7dde6;
    border-radius: 7px;

    padding: 0 13px;
    margin-bottom: 13px;
    outline: none;
}

.form-input:focus {
    border-color: var(--blue);
}

.switch-text {
    margin-top: 18px;
}

.switch-text button {
    color: var(--blue);
    background: transparent;
    border: 0;
    font-weight: bold;
}


/* CARRINHO */

.cart-modal {
    max-width: 650px;
}

.cart-items {
    margin-top: 20px;
}

.cart-row {
    display: grid;
    grid-template-columns: 75px 1fr auto;
    gap: 14px;
    align-items: center;

    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.cart-row img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    background: #f5f7f9;
    border-radius: 8px;
}

.cart-row h3 {
    font-size: 15px;
}

.cart-row p {
    color: var(--gray);
    font-size: 13px;
    margin-top: 5px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 7px;
}

.cart-quantity button {
    width: 27px;
    height: 27px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 5px;
}

.remove-cart {
    border: 0;
    background: transparent;
    color: var(--red);
    font-size: 12px;
}

.empty-cart {
    text-align: center;
    padding: 40px 10px;
}

.empty-cart div {
    font-size: 45px;
}

.empty-cart h3 {
    margin: 10px 0;
}

.empty-cart p {
    color: var(--gray);
}

.cart-footer {
    border-top: 1px solid var(--border);
    margin-top: 20px;
    padding-top: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 19px;
    margin-bottom: 15px;
}

.whatsapp-button {
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 14px;

    background: var(--green);
    color: white;
    font-weight: bold;
}


/* ADMIN */

.admin-section {
    margin-top: 80px;
    background: #172333;
    color: white;
    padding: 55px 20px;
}

.admin-container {
    max-width: 1200px;
    margin: auto;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.admin-heading span {
    color: #61b3ff;
    font-size: 12px;
    font-weight: bold;
}

.admin-heading h2 {
    margin: 7px 0;
}

.admin-heading p {
    color: #aeb9c8;
}

.admin-locked {
    background: #27384d;
    color: #cbd6e4 !important;
    padding: 9px 13px;
    border-radius: 7px;
}

.admin-login {
    background: #202f41;
    padding: 25px;
    border-radius: 12px;
}

.admin-login h3 {
    margin-bottom: 18px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 180px;
    gap: 10px;
}

.admin-form-grid input {
    height: 46px;
    border: 0;
    border-radius: 7px;
    padding: 0 12px;
}

.admin-login small {
    color: #94a4b7;
    display: block;
    margin-top: 15px;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.admin-product-row {
    background: #202f41;
    border-radius: 9px;
    padding: 12px;

    display: grid;
    grid-template-columns: 65px 1fr auto;
    gap: 15px;
    align-items: center;
}

.admin-product-row img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    background: white;
    border-radius: 7px;
}

.admin-product-info strong {
    display: block;
}

.admin-product-info span {
    color: #aeb9c8;
    font-size: 13px;
}

.admin-product-actions {
    display: flex;
    gap: 8px;
}

.admin-product-actions button {
    border: 0;
    padding: 9px 12px;
    border-radius: 6px;
}

.edit-btn {
    background: #1976d2;
    color: white;
}

.delete-btn {
    background: #d32f2f;
    color: white;
}


/* ADMIN MODAL */

.admin-product-modal {
    max-width: 600px;
}

.admin-product-modal h2 {
    margin-bottom: 22px;
}

.admin-product-modal label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 6px;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 5px 0 20px;
}

.checkbox input {
    width: 18px;
    height: 18px;
}


/* FOOTER */

.footer {
    background: white;
    border-top: 1px solid var(--border);
    padding: 40px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 7px;
}

.footer-logo strong {
    display: block;
    color: var(--blue);
}

.footer-logo span {
    color: var(--gray);
    font-size: 12px;
}

.bug-report {
    text-align: center;
}

.bug-report strong {
    display: block;
    margin-bottom: 5px;
}

.bug-report p {
    color: var(--gray);
}

.bug-report a {
    color: var(--blue);
    font-weight: bold;
    text-decoration: none;
}

.copyright {
    color: var(--gray);
    font-size: 12px;
}


/* UTILIDADES */

.hidden {
    display: none !important;
}


/* RESPONSIVO */

@media (max-width: 1000px) {

    .top-header {
        flex-wrap: wrap;
    }

    .brand {
        min-width: auto;
    }

    .search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

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

    .hero {
        margin: 20px;
    }

}

@media (max-width: 750px) {

    .top-header {
        padding: 12px 15px;
        gap: 12px;
    }

    .brand h1 {
        font-size: 20px;
    }

    .brand span {
        display: none;
    }

    .header-actions span {
        display: none;
    }

    .navigation {
        padding: 0 15px;
        gap: 20px;
        overflow-x: auto;
    }

    .navigation a {
        white-space: nowrap;
    }

    .hero {
        padding: 35px 25px;
        min-height: auto;
    }

    .hero h2 {
        font-size: 29px;
    }

    .hero-symbol {
        display: none;
    }

    .products-section {
        padding: 0 15px;
    }

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .product-image {
        height: 180px;
    }

    .product-body {
        padding: 13px;
    }

    .product-price strong {
        font-size: 19px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-image {
        height: 280px;
    }

    .admin-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

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

    .admin-product-row {
        grid-template-columns: 55px 1fr;
    }

    .admin-product-actions {
        grid-column: 1 / -1;
    }

}

@media (max-width: 480px) {

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 230px;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

}

/* ===== NOVA VITRINE / ADMIN ===== */
.hidden { display: none !important; }

.instagram-section {
    max-width: 1340px;
    margin: 30px auto 20px;
    padding: 0 10px;
}
.instagram-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 8px 25px rgba(0,40,90,.05);
}
.instagram-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--light-blue);
    font-size: 28px;
}
.instagram-card .eyebrow,
.admin-heading-modal > div > span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}
.instagram-card h2 {
    font-size: 20px;
    margin: 3px 0;
}
.instagram-card p {
    color: var(--gray);
}
.instagram-button {
    margin-left: auto;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-access-section {
    max-width: 1340px;
    margin: 35px auto;
    padding: 0 10px;
    text-align: center;
}
.admin-access-button {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    border-radius: 9px;
    padding: 12px 20px;
    font-weight: 700;
}
.admin-access-button:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.admin-login-modal { max-width: 430px; }
.admin-panel-modal {
    max-width: 1000px;
}
.admin-heading-modal {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
}
.admin-heading-modal h2 { margin: 5px 0; }
.admin-heading-modal p { color: var(--gray); }
.admin-secondary-button {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 7px;
    padding: 9px 14px;
    font-weight: 700;
}
.admin-search {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 13px;
    margin-bottom: 18px;
}
.admin-search input {
    flex: 1;
    border: 0;
    outline: 0;
}
.admin-products { display: grid; gap: 10px; }
.admin-product-row {
    background: #f7f9fc;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    display: grid;
    grid-template-columns: 65px 1fr auto;
    gap: 15px;
    align-items: center;
}
.admin-product-row img {
    width: 65px; height: 65px; object-fit: contain;
    background: #fff; border-radius: 7px;
}
.admin-product-info strong { display:block; }
.admin-product-info span { color: var(--gray); font-size:13px; }
.admin-product-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.admin-product-actions button {
    border: 1px solid var(--border);
    background:#fff; border-radius:6px; padding:8px 10px; font-weight:700;
}
.admin-product-actions .edit-btn { color: var(--blue); border-color: #b9d8f5; }
.admin-product-actions .delete-btn { color: var(--red); border-color: #f2b7b9; }
.stock-badge { display:inline-block; margin-left:7px; padding:2px 6px; border-radius:4px; background:#e9f7ef; color:var(--green); font-size:11px; font-weight:700; }
.stock-badge.out { background:#fdebec; color:var(--red); }
.form-help { display:block; color:var(--gray); font-size:12px; margin:-5px 0 12px; }
.product-image-preview { width:100%; max-height:180px; object-fit:contain; background:#f5f7f9; border-radius:8px; margin:4px 0 14px; }

@media (max-width: 700px) {
    .instagram-card { flex-wrap: wrap; padding:20px; }
    .instagram-button { margin-left:0; width:100%; }
    .admin-heading-modal { flex-direction:column; }
    .admin-product-row { grid-template-columns: 55px 1fr; }
    .admin-product-row .admin-product-actions { grid-column: 1 / -1; justify-content:flex-start; }
}

.stock-label { display:block; color:var(--gray); font-size:12px; margin-bottom:10px; }
.card-button:disabled { opacity:.55; cursor:not-allowed; background:#f1f3f6; color:#697386; border-color:#d8dee7; }
.admin-empty { text-align:center; padding:35px; color:var(--gray); border:1px dashed var(--border); border-radius:10px; }

/* CONTA E HISTÓRICO */
.history-modal { max-width: 760px; }
.purchase-history { margin-top: 20px; display: grid; gap: 14px; }
.purchase-card { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: #fff; }
.purchase-card-head, .purchase-item, .purchase-total { display:flex; justify-content:space-between; gap:15px; align-items:center; }
.purchase-card-head { padding-bottom: 10px; border-bottom:1px solid var(--border); }
.purchase-card-head span, .purchase-card small { color: var(--gray); font-size: 12px; }
.purchase-item { padding: 9px 0; }
.purchase-total { margin-top: 8px; padding-top: 10px; border-top:1px solid var(--border); }

/* PAINEL ADMINISTRATIVO */
.admin-tabs { display:flex; gap:8px; border-bottom:1px solid var(--border); margin: 20px 0; }
.admin-tab { border:0; background:transparent; padding:12px 16px; color:var(--gray); font-weight:700; border-bottom:3px solid transparent; }
.admin-tab.active { color:var(--blue); border-bottom-color:var(--blue); }
.dashboard-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:24px; }
.dashboard-card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:18px; }
.dashboard-card span { display:block; color:var(--gray); font-size:13px; margin-bottom:8px; }
.dashboard-card strong { font-size:28px; color:var(--blue); }
.admin-dashboard h3 { margin: 20px 0 12px; }
.online-users-list, .admin-orders { display:grid; gap:10px; }
.online-user, .admin-order-row { background:#fff; border:1px solid var(--border); border-radius:10px; padding:12px 14px; display:flex; align-items:center; gap:10px; }
.online-user small, .admin-order-row small { color:var(--gray); margin-left:auto; }
.admin-order-row { justify-content:space-between; }
.admin-order-row > div { display:flex; flex-direction:column; gap:4px; }
@media (max-width: 700px) {
    .dashboard-cards { grid-template-columns:1fr; }
    .online-user, .admin-order-row { align-items:flex-start; flex-wrap:wrap; }
    .online-user small { margin-left:0; width:100%; }
}


/* Detalhes, descrição e avaliações */
.detail-description {
    margin: 18px 0;
    color: #4b5563;
    line-height: 1.6;
}
.detail-description h3,
.reviews-section h3 {
    margin-bottom: 8px;
    color: #202631;
    font-size: 17px;
}
.rating-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 14px;
}
.stars {
    color: #f5b301;
    letter-spacing: 2px;
    font-size: 20px;
}
.rating-number {
    color: #697386;
    font-size: 13px;
}
.review-list {
    display: grid;
    gap: 10px;
    max-height: 260px;
    overflow: auto;
    margin-bottom: 15px;
}
.review-card {
    border: 1px solid #e1e6ed;
    border-radius: 9px;
    padding: 12px;
    background: #fafbfd;
}
.review-card-head {
    display:flex;
    justify-content:space-between;
    gap:10px;
    align-items:center;
}
.review-card p {
    margin-top: 7px;
    color:#4b5563;
    line-height:1.45;
}
.review-date {
    color:#87909e;
    font-size:11px;
}
.review-form {
    border-top:1px solid #e1e6ed;
    padding-top:14px;
}
.review-form textarea {
    width:100%;
    min-height:75px;
    resize:vertical;
    border:1px solid #d8dee7;
    border-radius:8px;
    padding:10px;
    outline:none;
}
.star-input {
    display:flex;
    gap:4px;
    margin:8px 0;
}
.star-input button {
    border:0;
    background:transparent;
    color:#c5cbd4;
    font-size:25px;
    padding:0 2px;
}
.star-input button.active { color:#f5b301; }

.admin-review-row {
    border:1px solid var(--border);
    border-radius:9px;
    padding:12px;
    margin-bottom:9px;
    background:#fff;
}
.admin-review-row .review-meta {
    display:flex;
    justify-content:space-between;
    gap:10px;
    color:#697386;
    font-size:12px;
    margin-top:5px;
}
.admin-description {
    color:#697386;
    font-size:12px;
    margin-top:4px;
    line-height:1.4;
}

/* AVALIAÇÕES DO PRODUTO */
.product-reviews { margin-top: 26px; padding-top: 22px; border-top: 1px solid #e6eaf0; }
.reviews-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.reviews-heading h3 { margin:0; }
.reviews-heading span { color:#697386; font-size:14px; }
.detail-reviews { display:grid; gap:10px; margin-bottom:18px; }
.review-card { padding:14px; border:1px solid #e6eaf0; border-radius:10px; background:#fafbfd; }
.review-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.review-card p { margin:8px 0; color:#394150; white-space:pre-wrap; }
.review-date { color:#7a8494; font-size:12px; }
.review-stars { display:flex; gap:3px; margin:10px 0; }
.review-stars button { border:0; background:transparent; cursor:pointer; font-size:28px; line-height:1; color:#c7ced8; padding:2px 4px; }
.review-stars button.active { color:#f5b400; }
.review-stars button:hover { color:#f5b400; }
.review-form { padding:16px; border-radius:10px; background:#f5f7fa; }
.review-form p { margin:6px 0 8px; color:#697386; font-size:13px; }
.review-text { width:100%; resize:vertical; box-sizing:border-box; margin-bottom:10px; }

/* AVALIAÇÕES DO PRODUTO */
.product-reviews { margin-top: 26px; padding-top: 22px; border-top: 1px solid #e6eaf0; }
.reviews-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.reviews-heading h3 { margin:0; }
.reviews-heading span { color:#697386; font-size:14px; }
.detail-reviews { display:grid; gap:10px; margin-bottom:18px; }
.review-card { padding:14px; border:1px solid #e6eaf0; border-radius:10px; background:#fafbfd; }
.review-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.review-card p { margin:8px 0; color:#394150; white-space:pre-wrap; }
.review-date { color:#7a8494; font-size:12px; }
.review-stars { display:flex; gap:3px; margin:10px 0; }
.review-stars button { border:0; background:transparent; cursor:pointer; font-size:28px; line-height:1; color:#c7ced8; padding:2px 4px; }
.review-stars button.active { color:#f5b400; }
.review-stars button:hover { color:#f5b400; }
.review-form { padding:16px; border-radius:10px; background:#f5f7fa; }
.review-form p { margin:6px 0 8px; color:#697386; font-size:13px; }
.review-text { width:100%; resize:vertical; box-sizing:border-box; margin-bottom:10px; }

/* INFORMAÇÕES DA MÁQUINA / TERMINAL */
.system-muted{color:var(--gray);font-size:13px;margin:4px 0 0}.system-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.system-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.system-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;min-width:0}.system-card h4{margin:0 0 12px;color:#202631}.system-card p{margin:7px 0;color:#4b5563}.network-line,.storage-line{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--border);font-size:13px}.network-line:last-child,.storage-line:last-child{border-bottom:0}.system-table{width:100%;border-collapse:collapse;font-size:13px}.system-table th,.system-table td{text-align:left;padding:9px;border-bottom:1px solid var(--border)}.table-scroll{overflow:auto}.fan-controls{display:grid;gap:8px;margin-top:14px}.fan-controls input[type=range]{width:100%}.system-warning{font-size:12px!important;color:#8a5a00!important;background:#fff7df;padding:9px;border-radius:8px}.terminal-card{margin-top:14px}.terminal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.terminal-status{padding:6px 10px;border-radius:999px;background:#eef2f7;color:#475467;font-size:12px;font-weight:700}.terminal-unlock{display:grid;grid-template-columns:1fr auto;gap:10px}.terminal-output{margin-top:12px;background:#101820;color:#d7f9df;padding:14px;border-radius:10px;min-height:180px;max-height:360px;overflow:auto;white-space:pre-wrap;font-family:Consolas,monospace;font-size:12px}.terminal-card code{background:#eef2f7;padding:2px 5px;border-radius:4px}@media(max-width:800px){.system-grid,.system-two-col{grid-template-columns:1fr}.terminal-unlock{grid-template-columns:1fr}.admin-tabs{overflow:auto;white-space:nowrap}}
.memory-modules{margin-top:10px;padding-top:8px;border-top:1px solid var(--border);display:grid;gap:5px;font-size:12px;color:#667085}.memory-modules div{padding:5px 0}


/* CSV import/export */
.admin-product-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.csv-import-modal{max-width:1500px;width:96vw}.csv-preview-summary{padding:12px 14px;border:1px solid #ddd;border-radius:10px;margin:10px 0;background:#fafafa}.csv-error-count{color:#b42318;font-weight:700}.csv-ok-count{color:#067647;font-weight:700}.csv-preview-help{font-size:.9rem;margin:8px 0 14px;color:#555}.csv-table-scroll{max-height:62vh;overflow:auto}.csv-preview-table{min-width:1250px}.csv-preview-table th,.csv-preview-table td{vertical-align:top;padding:8px}.csv-preview-table .form-input{min-width:110px;margin:0}.csv-preview-table td:nth-child(2) .form-input{min-width:180px}.csv-preview-table td:nth-child(7) .form-input{min-width:190px}.csv-image-cell{display:flex;flex-direction:column;gap:7px;min-width:130px}.csv-image-cell img{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #ddd}.csv-image-label{cursor:pointer;text-align:center;display:inline-block}.csv-row-status{font-size:.82rem;min-width:190px}.csv-row-status.has-error{color:#b42318}.csv-row-status.is-ok{color:#067647;font-weight:700}.csv-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.csv-preview-table textarea{resize:vertical}@media(max-width:800px){.admin-product-tools{width:100%}.admin-product-tools button{flex:1}.csv-import-modal{width:98vw}.csv-actions{position:sticky;bottom:0;background:white;padding-top:10px}}
