:root {
    --navy: #141b22;
    --navy-2: #202a34;
    --gold: #b38b51;
    --gold-light: #d1ae73;
    --cream: #f4f1e9;
    --paper: #fff;
    --ink: #1d2328;
    --muted: #71777b;
    --line: #e4e5e1;
    --success: #3d784a;
    --danger: #a64740;
    --shadow: 0 10px 32px rgba(18, 24, 29, .07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f5f3;
    color: var(--ink);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

/* =========================================================
   HEADER
   ========================================================= */

.store-header {
    background: var(--navy);
    color: #fff;
}

.topbar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topbar-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
}

.brand-name {
    font-weight: 850;
    letter-spacing: -.02em;
}

.brand-sub {
    font-size: 11px;
    color: #9eaaaf;
    margin-top: 2px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.topbar-actions {
    display: flex;
    gap: 9px;
    align-items: center;
}

.top-action,
.cart-button {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    border-radius: 10px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 750;
}

.cart-button {
    background: var(--gold);
    border-color: var(--gold);
    color: #171a1d;
}

.cart-button b {
    background: #fff;
    color: #1c2327;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 10px;
}

/* =========================================================
   HERO
   ========================================================= */

.brand-hero {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 44px;
    align-items: center;
    padding: 42px 0 38px;
}

.main-logo {
    width: 360px;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .20);
}

.hero-copy {
    max-width: 650px;
}

.store-line {
    color: #ced5cf;
    font-size: 13px;
}

.open-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #67ae6e;
    border-radius: 50%;
    margin-right: 6px;
}

.divider {
    margin: 0 6px;
    color: #737c82;
}

.hero-copy h1 {
    font-size: 52px;
    line-height: 1.02;
    letter-spacing: -.05em;
    margin: 10px 0 12px;
}

.hero-copy p {
    margin: 0;
    color: #adb7bc;
    font-size: 17px;
    line-height: 1.6;
    max-width: 560px;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.hero-links button {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: #e8ece8;
    border-radius: 10px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* =========================================================
   CATEGORIAS
   ========================================================= */

.category-bar {
    background: #fff;
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.category-inner {
    display: flex;
    gap: 3px;
    overflow: auto;
}

.category-btn {
    border: 0;
    background: transparent;
    color: #6c7377;
    padding: 15px 17px;
    font-weight: 850;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.category-btn.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
}

/* =========================================================
   CONTEUDO
   ========================================================= */

.content {
    padding: 34px 0 90px;
}

.content-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 21px;
}

.section-kicker {
    font-size: 10px;
    letter-spacing: .17em;
    color: var(--gold);
    font-weight: 900;
}

.content-head h2 {
    font-size: 32px;
    letter-spacing: -.035em;
    margin: 5px 0 0;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    width: 280px;
    padding: 0 12px;
}

.search-box i {
    color: #899087;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 11px 0;
    background: transparent;
}

/* =========================================================
   PRODUTOS
   ========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.product-card {
    display: grid;
    grid-template-columns: 136px 1fr;
    gap: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(20, 27, 34, .04);
}

/*
   IMPORTANTE:
   A imagem agora ocupa exatamente a área
   reservada para ela e mantém a proporção.
*/

.product-image {
    width: 136px;
    height: 136px;
    background: #e9e6de;
    border-radius: 11px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #77806f;
}

.product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.product-image i {
    font-size: 47px;
}

/* Caso a imagem dê erro, o ícone continua centralizado */

.product-image .product-image-fallback {
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 47px;
}

/* =========================================================
   CORPO DO PRODUTO
   ========================================================= */

.product-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-body .tag {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: #967241;
    font-weight: 900;
}

.product-body h3 {
    font-size: 19px;
    margin: 5px 0 5px;
}

.product-body p {
    font-size: 12px;
    color: #70777b;
    line-height: 1.55;
    margin: 0;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
}

.product-price {
    font-size: 17px;
    font-weight: 900;
}

.add-product {
    width: 38px;
    height: 38px;
    border: 1px solid #ced3cc;
    background: #fff;
    color: #1f2a21;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 19px;
}

.add-product:hover {
    background: #1f2a21;
    color: #fff;
}

/* =========================================================
   AVISOS DA LOJA
   ========================================================= */

.store-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.store-notes > div {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
}

.store-notes i {
    color: var(--gold);
    font-size: 21px;
}

.store-notes span {
    color: #70777b;
    font-size: 11px;
    line-height: 1.45;
}

.store-notes strong {
    display: block;
    color: #2b3338;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #141b22;
    color: #aeb7b3;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 27px 0;
}

.footer-inner strong {
    display: block;
    color: #fff;
}

.footer-inner span {
    font-size: 12px;
}

.footer-inner a {
    color: #d0b17b;
    font-size: 12px;
}

/* =========================================================
   MODAIS
   ========================================================= */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 18, .56);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 100;
}

.modal.open {
    display: flex;
}

.modal-card {
    position: relative;
    width: min(100%, 620px);
    max-height: 92vh;
    overflow: auto;
    background: #fff;
    border-radius: 17px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
}

.medium-card {
    width: min(100%, 560px);
}

.large-card {
    width: min(100%, 820px);
}

.drawer-card {
    margin-left: auto;
    width: min(100%, 510px);
    height: 100%;
    max-height: none;
    border-radius: 17px;
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 21px;
    border-bottom: 1px solid #eceee9;
}

.modal-head h3 {
    margin: 4px 0 0;
    font-size: 26px;
    letter-spacing: -.03em;
}

.modal-x {
    position: absolute;
    top: 15px;
    right: 15px;
    border: 0;
    background: #fff;
    border-radius: 9px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    z-index: 5;
}

.modal-x.static {
    position: static;
    background: #f1f3ee;
}

/* =========================================================
   MODAL PRODUTO
   ========================================================= */

.product-modal {
    overflow: hidden;
}

.product-modal-image {
    background: #eee9df;
    height: 275px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-modal-info {
    padding: 20px;
}

.product-modal-info h3 {
    font-size: 29px;
    margin: 4px 0 6px;
}

.product-modal-info p {
    color: #70777a;
    font-size: 13px;
    line-height: 1.6;
}

.custom-note,
.form textarea,
.textarea-label textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px;
    outline: 0;
    background: #fcfcfa;
    resize: vertical;
}

.qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 9px;
}

.qty-controls button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
}

/* =========================================================
   FORMULARIOS
   ========================================================= */

.form {
    padding: 20px;
}

.form label,
.textarea-label {
    display: block;
    color: #343b3f;
    font-size: 12px;
    font-weight: 850;
    margin-bottom: 13px;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    margin-top: 7px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fcfcfa;
    padding: 11px;
    outline: 0;
}

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

.primary-button {
    background: #1e2922;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px 15px;
    font-weight: 850;
}

.full {
    width: 100%;
}

.account-actions {
    padding: 0 20px 20px;
}

.account-actions button {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    padding: 11px;
    border-radius: 10px;
}

/* =========================================================
   CARRINHO
   ========================================================= */

.cart-list {
    padding: 8px 21px;
}

.cart-empty {
    padding: 50px 15px;
    text-align: center;
    color: #7c837e;
}

.cart-empty i {
    font-size: 44px;
    color: #c4c9c0;
}

.cart-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #ecefe9;
}

.cart-row h4 {
    margin: 0;
    font-size: 15px;
}

.cart-row p {
    margin: 4px 0 0;
    color: #818880;
    font-size: 11px;
}

.notes {
    color: #6f746c;
    font-size: 11px;
    margin-top: 5px;
    font-style: italic;
}

.cart-actions {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-top: 9px;
}

.cart-actions button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 7px;
}

.cart-footer {
    border-top: 1px solid #eceeea;
    background: #fafaf7;
    padding: 17px 21px;
}

.totals div {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    color: #767d76;
    font-size: 12px;
}

.totals .total-row {
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 12px;
    color: #222b23;
    font-size: 16px;
}

/* =========================================================
   CHECKOUT
   ========================================================= */

.checkout-summary {
    padding: 16px 21px 6px;
}

.checkout-summary > div {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 12px;
    color: #757c75;
}

.checkout-block {
    padding: 12px 21px;
}

.checkout-block h4 {
    font-size: 13px;
    margin: 0 0 9px;
}

.switch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.switch {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 11px;
    font-weight: 850;
}

.switch.active {
    background: #202b23;
    color: #fff;
    border-color: #202b23;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.payment {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px;
    cursor: pointer;
}

.payment input {
    display: none;
}

.payment:has(input:checked) {
    border-color: #b69763;
    background: #fcf7ec;
}

.payment span {
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 12px;
    font-weight: 850;
}

.address-box {
    margin: 4px 21px 14px;
    border: 1px dashed #d9ddd5;
    background: #f8faf7;
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    color: #667068;
}

.address-box strong {
    display: block;
    color: #2e382f;
    margin-bottom: 3px;
}

.checkout-cta {
    padding: 0 21px 21px;
}

/* =========================================================
   PEDIDOS / ACOMPANHAMENTO
   ========================================================= */

.orders-list {
    padding: 18px 21px;
}

.order-card {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 14px;
    margin-bottom: 11px;
}

.order-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.order-card h4 {
    margin: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    background: #edf1eb;
    color: #29422e;
    border-radius: 20px;
    padding: 5px 8px;
    font-size: 10px;
    font-weight: 900;
}

.order-meta {
    color: #80877f;
    font-size: 11px;
    margin: 6px 0;
}

.items-box {
    background: #fafaf8;
    border-radius: 9px;
    padding: 9px;
}

.items-box div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
    padding: 4px 0;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
}

.outline-button {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 9px;
    padding: 9px 11px;
    font-weight: 800;
    margin-top: 10px;
}

.tracking-header {
    text-align: center;
    padding: 22px;
}

.tracking-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f3ecdd;
    color: #a57936;
    font-size: 29px;
    margin: 0 auto 10px;
}

.tracking-header h4 {
    margin: 0;
    font-size: 22px;
}

.tracking-header p {
    color: #7d847d;
    font-size: 12px;
}

.timeline {
    padding: 0 28px 25px;
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    padding-bottom: 21px;
}

.step:not(:last-child):before {
    content: "";
    position: absolute;
    left: 13px;
    top: 28px;
    width: 2px;
    height: calc(100% - 4px);
    background: #e6e9e4;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e7ebe6;
    display: grid;
    place-items: center;
    font-size: 11px;
    color: #8b938b;
    z-index: 1;
}

.step.done .step-dot,
.step.current .step-dot {
    background: #1e2922;
    color: #fff;
}

.step strong {
    font-size: 13px;
}

.step span {
    display: block;
    color: #80877f;
    font-size: 11px;
    margin-top: 3px;
}

/* =========================================================
   BARRA MOBILE DO CARRINHO
   ========================================================= */

.mobile-cart-bar {
    display: none;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 25px;
    transform: translate(-50%, 20px);
    background: #1e2922;
    color: #fff;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: .2s;
    z-index: 250;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* =========================================================
   RESPONSIVIDADE DA LOJA
   ========================================================= */

@media (max-width: 900px) {

    .brand-hero {
        grid-template-columns: 280px 1fr;
        gap: 28px;
    }

    .main-logo {
        width: 280px;
    }

    .hero-copy h1 {
        font-size: 43px;
    }

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

    .store-notes {
        grid-template-columns: 1fr;
    }

    .content-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }
}

@media (max-width: 620px) {

    .container {
        width: min(100% - 22px, 1160px);
    }

    .topbar {
        height: 62px;
    }

    .action-text {
        display: none;
    }

    .top-action,
    .cart-button {
        padding: 9px 10px;
    }

    .brand-hero {
        grid-template-columns: 1fr;
        padding: 25px 0 22px;
        gap: 18px;
    }

    .main-logo {
        width: 100%;
        max-width: 470px;
    }

    .hero-copy h1 {
        font-size: 37px;
    }

    .hero-copy p {
        font-size: 14px;
    }

    .category-inner {
        padding-bottom: 0;
    }

    .content {
        padding: 25px 0 100px;
    }

    .product-card {
        grid-template-columns: 104px 1fr;
    }

    /*
       No celular a foto fica 104x104.
       Mantemos object-fit: cover para não deformar.
    */

    .product-image {
        width: 104px;
        height: 104px;
    }

    .product-body p {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 11px;
    }

    .product-body h3 {
        font-size: 16px;
    }

    .product-price {
        font-size: 15px;
    }

    .product-bottom {
        padding-top: 8px;
    }

    .add-product {
        width: 35px;
        height: 35px;
    }

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

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

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 85px;
    }

    .mobile-cart-bar {
        display: block;
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 70;
    }

    .mobile-cart-bar button {
        width: 100%;
        border: 0;
        background: #1f2a22;
        color: #fff;
        padding: 12px 13px;
        border-radius: 13px;
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 10px;
        align-items: center;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    }

    .mobile-cart-bar span {
        text-align: left;
        font-size: 12px;
    }

    .mobile-cart-bar strong {
        font-size: 13px;
    }

    .modal {
        align-items: flex-end;
        padding: 0;
    }

    .modal-card,
    .drawer-card {
        width: 100%;
        max-height: 94vh;
        border-radius: 17px 17px 0 0;
    }

    .drawer-card {
        height: 94vh;
    }

    .product-modal-image {
        height: 220px;
    }

    .product-modal-image img {
        object-fit: cover;
    }
}

/* =========================================================
   ADMIN
   ========================================================= */

.admin-body {
    background: #f4f5f2;
}

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    background: #141b22;
    color: #fff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.admin-brand strong,
.admin-brand span {
    display: block;
}

.admin-brand span {
    font-size: 11px;
    color: #9ba5aa;
    margin-top: 2px;
}

.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-nav {
    border: 0;
    background: transparent;
    color: #adb6b7;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    text-align: left;
}

.admin-nav.active {
    background: #b38b51;
    color: #fff;
}

.admin-nav em {
    display: none;
    margin-left: auto;
    font-style: normal;
    background: #a84943;
    min-width: 19px;
    height: 19px;
    border-radius: 50%;
    place-items: center;
    font-size: 10px;
}

.back-store {
    margin-top: auto;
    color: #b5bdb9;
    font-size: 12px;
}

.admin-main {
    margin-left: 240px;
    padding: 30px 34px 70px;
}

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

.admin-top h1 {
    margin: 5px 0;
    font-size: 34px;
    letter-spacing: -.04em;
}

.admin-top p {
    margin: 0;
    color: #7b827b;
    font-size: 12px;
}

.refresh-button {
    border: 1px solid #dce0da;
    background: #fff;
    border-radius: 10px;
    padding: 10px 13px;
    font-weight: 850;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.admin-stat {
    background: #fff;
    border: 1px solid #e0e4dd;
    border-radius: 14px;
    padding: 17px;
}

.admin-stat span,
.admin-stat small {
    display: block;
    color: #7b8279;
    font-size: 11px;
}

.admin-stat strong {
    display: block;
    font-size: 25px;
    margin: 7px 0 3px;
    letter-spacing: -.035em;
}

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

.admin-panel {
    background: #fff;
    border: 1px solid #e0e4dd;
    border-radius: 14px;
    padding: 18px;
    margin-top: 12px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.panel-head h3 {
    margin: 0 0 3px;
    font-size: 16px;
}

.panel-head p {
    margin: 0;
    color: #7d847c;
    font-size: 11px;
}

.mini-button {
    border: 1px solid #dfe3dd;
    background: #fff;
    border-radius: 9px;
    padding: 8px 10px;
    font-weight: 850;
    font-size: 11px;
}

.mini-button.primary {
    background: #1e2922;
    color: #fff;
    border-color: #1e2922;
}

.best-seller {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 17px;
}

.best-seller-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: #f5eddf;
    color: #a67a3c;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.best-seller strong,
.best-seller span {
    display: block;
}

.best-seller span {
    color: #7a827a;
    font-size: 11px;
    margin-top: 3px;
}

.pending-summary {
    padding-top: 17px;
}

.pending-summary strong {
    display: block;
    font-size: 31px;
}

.pending-summary span {
    color: #7a827a;
    font-size: 11px;
}

.status-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.status-summary div {
    background: #f8f9f6;
    border: 1px solid #e9ece6;
    border-radius: 10px;
    padding: 11px;
}

.status-summary strong,
.status-summary span {
    display: block;
}

.status-summary span {
    color: #7b827a;
    font-size: 10px;
    margin-top: 3px;
}

/* =========================================================
   ADMIN PEDIDOS
   ========================================================= */

.section-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 15px;
}

.section-toolbar h2 {
    margin: 4px 0;
    font-size: 27px;
}

.section-toolbar p {
    margin: 0;
    color: #7d847b;
    font-size: 12px;
}

.section-toolbar select {
    border: 1px solid #dfe3dc;
    background: #fff;
    border-radius: 10px;
    padding: 9px;
}

.admin-order {
    background: #fff;
    border: 1px solid #e0e4dd;
    border-left: 5px solid #b38b51;
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 16px;
}

.admin-order.status-em_preparacao {
    border-left-color: #a58342;
}

.admin-order.status-saiu_entrega {
    border-left-color: #5a83a8;
}

.admin-order.status-entregue {
    border-left-color: #4a7950;
}

.admin-order.status-cancelado {
    border-left-color: #a54b45;
}

.admin-order-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.admin-order-top strong {
    font-size: 16px;
}

.admin-order-top small {
    display: block;
    color: #7e857c;
    font-size: 10px;
    margin-top: 3px;
}

.admin-order-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.customer-box {
    background: #fafbf8;
    border: 1px solid #edf0ea;
    border-radius: 10px;
    padding: 11px;
}

.customer-box h4 {
    margin: 0 0 6px;
    font-size: 12px;
}

.customer-box p {
    margin: 3px 0;
    font-size: 11px;
    color: #727a71;
}

.admin-items {
    grid-column: 1 / -1;
    background: #fafbf8;
    border: 1px solid #edf0ea;
    border-radius: 10px;
    padding: 9px;
}

.admin-items div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
    padding: 5px 0;
    border-bottom: 1px solid #edf0ea;
}

.admin-items div:last-child {
    border-bottom: 0;
}

.admin-items em {
    color: #798177;
    font-style: normal;
}

.admin-total {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding-top: 2px;
}

.admin-total strong {
    font-size: 17px;
}

.order-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid #edf0ea;
    padding-top: 13px;
    margin-top: 13px;
}

.order-actions label {
    width: 100%;
    font-size: 11px;
    font-weight: 850;
}

.time-select {
    border: 1px solid #dfe3db;
    background: #fff;
    border-radius: 9px;
    padding: 9px;
}

.action-btn {
    border: 0;
    border-radius: 9px;
    padding: 10px 12px;
    font-weight: 850;
}

.action-btn.accept {
    background: #1f2a22;
    color: #fff;
}

.action-btn.reject {
    background: #f5ebe9;
    color: #9b3e39;
}

.action-btn.blue {
    background: #e1ebf4;
    color: #345f87;
}

.action-btn.green {
    background: #e4efe5;
    color: #39673f;
}

.admin-empty {
    text-align: center;
    color: #7c837c;
    padding: 38px;
}

/* =========================================================
   ADMIN CARDAPIO
   ========================================================= */

.admin-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.menu-admin-card {
    background: #fff;
    border: 1px solid #e0e4dd;
    border-radius: 14px;
    padding: 15px;
}

.menu-admin-card > div > span {
    font-size: 9px;
    letter-spacing: .12em;
    color: #9a7340;
    font-weight: 900;
}

.menu-admin-card h3 {
    margin: 5px 0;
}

.menu-admin-card p {
    margin: 0;
    color: #737a72;
    font-size: 11px;
    line-height: 1.55;
}

.menu-actions {
    display: flex;
    gap: 7px;
    margin-top: 12px;
}

.menu-actions button {
    border: 1px solid #dfe3dd;
    background: #fff;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 800;
}

/* =========================================================
   MODAL ADMIN
   ========================================================= */

.admin-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 13, 16, .55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 120;
}

.admin-modal.open {
    display: flex;
}

.admin-modal-card {
    width: min(100%, 560px);
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
}

.admin-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid #eceee8;
}

.admin-modal-head h3 {
    margin: 4px 0 0;
}

.admin-modal-head button {
    border: 0;
    background: #f0f2ed;
    border-radius: 9px;
    width: 34px;
    height: 34px;
}

/* =========================================================
   RESPONSIVIDADE ADMIN
   ========================================================= */

@media (max-width: 1050px) {

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 760px) {

    .admin-sidebar {
        position: static;
        width: auto;
        padding: 12px;
        flex-direction: row;
        align-items: center;
    }

    .admin-sidebar nav {
        flex-direction: row;
    }

    .admin-nav span {
        display: none;
    }

    .back-store {
        margin-left: auto;
    }

    .admin-main {
        margin-left: 0;
        padding: 20px 12px 65px;
    }

    .admin-top {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .status-summary {
        grid-template-columns: 1fr 1fr;
    }

    .section-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {

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

    .admin-order-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-actions {
        align-items: stretch;
    }

    .time-select,
    .action-btn {
        width: 100%;
    }
}