/* =========================================================
   GIROO V24.2.3 - ADMIN PIZZAS PROFISSIONAL
   ========================================================= */

.pz3-page {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 18px 18px 34px;
}

.pz3-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.pz3-head h1 {
    margin: 4px 0 4px;
    font-size: 24px;
    line-height: 1.08;
    color: #142033;
}

.pz3-head p,
.pz3-card-head p {
    margin: 4px 0 0;
    color: #77828d;
    font-size: 11px;
}

.pz3-kicker {
    display: block;
    color: #789727;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .14em;
}

.pz3-actions {
    display: flex;
    gap: 7px;
}

.pz3-btn {
    height: 34px;
    padding: 0 12px;
    border: 1px solid #dde5d5;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #233143;
    font-size: 8px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.pz3-btn.primary {
    background: #b8f72a;
    border-color: #b8f72a;
    color: #17210c;
}

.pz3-btn.secondary {
    background: #fff;
}

.pz3-card {
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid #e4eadf;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(30, 45, 60, .035);
}

.pz3-card-head {
    margin-bottom: 10px;
}

.pz3-card-head h2 {
    margin: 3px 0 0;
    color: #162231;
    font-size: 15px;
    line-height: 1.12;
}

.pz3-config {
    display: grid;
    grid-template-columns: 250px minmax(260px, 1fr) auto;
    gap: 8px;
    align-items: end;
}

.pz3-toggle {
    min-height: 42px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #e5ebde;
    border-radius: 10px;
    background: #f9fcf5;
}

.pz3-toggle input {
    width: 15px;
    height: 15px;
}

.pz3-toggle strong,
.pz3-toggle small {
    display: block;
}

.pz3-toggle strong {
    font-size: 9px;
    color: #203045;
}

.pz3-toggle small {
    margin-top: 2px;
    color: #7c868e;
    font-size: 7px;
}

.pz3-field {
    display: block;
}

.pz3-field > span {
    display: block;
    margin-bottom: 4px;
    color: #616d78;
    font-size: 7px;
    font-weight: 850;
}

.pz3-page input,
.pz3-page select {
    min-width: 0;
    height: 34px;
    padding: 0 9px;
    border: 1px solid #dfe6d7;
    border-radius: 9px;
    background: #fff;
    color: #172331;
    font-size: 9px;
    outline: none;
    box-sizing: border-box;
}

.pz3-page input:focus,
.pz3-page select:focus {
    border-color: #a9d958;
    box-shadow: 0 0 0 2px rgba(184, 247, 42, .14);
}

.pz3-field select {
    width: 100%;
}

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

.pz3-new-size,
.pz3-new-border {
    display: grid;
    gap: 6px;
    margin-bottom: 8px;
}

.pz3-new-size {
    grid-template-columns: minmax(0, 1fr) 70px auto;
}

.pz3-new-border {
    grid-template-columns: minmax(0, 1fr) auto;
}

.pz3-list {
    display: grid;
    gap: 5px;
}

.pz3-list-row,
.pz3-flavor-row {
    padding: 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    border: 1px solid #ebefe7;
    border-radius: 10px;
    background: #fbfcfa;
}

.pz3-list-row.off,
.pz3-flavor-row.off {
    opacity: .58;
}

.pz3-size-edit {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px 30px;
    gap: 5px;
    align-items: center;
}

.pz3-size-edit label {
    display: grid;
    grid-template-columns: 48px auto;
    gap: 4px;
    align-items: center;
}

.pz3-size-edit label input {
    width: 48px;
    text-align: center;
}

.pz3-size-edit label span {
    color: #7e878f;
    font-size: 7px;
}

.pz3-border-edit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 5px;
}

.pz3-save-mini {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #edf8d7;
    color: #4c6e10;
    font-size: 11px;
    font-weight: 950;
    cursor: pointer;
}

.pz3-pill {
    height: 28px;
    min-width: 54px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    font-size: 7px;
    font-weight: 900;
    cursor: pointer;
}

.pz3-pill.on {
    background: #eef8dc;
    color: #4a6c0b;
}

.pz3-pill.off {
    background: #f1f2f1;
    color: #747d84;
}

.pz3-empty {
    padding: 13px;
    border: 1px dashed #dfe6d7;
    border-radius: 10px;
    background: #fbfcfa;
    color: #818990;
    font-size: 8px;
    text-align: center;
}

.pz3-new-flavor {
    padding: 10px;
    border: 1px solid #e6ebdf;
    border-radius: 12px;
    background: #fafcf8;
    margin-bottom: 8px;
}

.pz3-flavor-main {
    display: grid;
    grid-template-columns: 180px minmax(220px, 1fr) auto;
    gap: 6px;
    align-items: end;
}

.pz3-size-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

.pz3-size-prices label {
    width: 112px;
}

.pz3-size-prices label span {
    display: block;
    margin-bottom: 3px;
    color: #65717b;
    font-size: 7px;
    font-weight: 850;
}

.pz3-size-prices input {
    width: 112px;
}

.pz3-flavor-list {
    display: grid;
    gap: 5px;
}

.pz3-flavor-edit {
    min-width: 0;
    display: grid;
    grid-template-columns: 180px minmax(220px, 1fr) 30px;
    gap: 5px;
}

.pz3-table-scroll {
    overflow-x: auto;
    padding-bottom: 2px;
}

.pz3-matrix {
    width: max-content;
    min-width: 100%;
}

.pz3-table-head,
.pz3-table-row {
    display: grid;
    grid-template-columns:
        170px
        repeat(var(--pz3-cols), 150px);
    gap: 5px;
    align-items: stretch;
}

.pz3-table-head {
    margin-bottom: 5px;
}

.pz3-table-head strong {
    min-height: 34px;
    padding: 7px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e7ece2;
    border-radius: 9px;
    background: #f5f8f2;
    color: #5f6b73;
    font-size: 7px;
    font-weight: 900;
}

.pz3-table-head strong:first-child {
    justify-content: flex-start;
}

.pz3-table-row {
    margin-bottom: 5px;
}

.pz3-name-cell {
    min-height: 58px;
    padding: 8px 9px;
    border: 1px solid #e8ede4;
    border-radius: 9px;
    background: #fbfcfa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pz3-name-cell strong {
    color: #1c2a39;
    font-size: 8px;
}

.pz3-name-cell small {
    margin-top: 3px;
    color: #849098;
    font-size: 6px;
}

.pz3-borda-cell {
    min-height: 58px;
    padding: 6px;
    border: 1px solid #e8ede4;
    border-radius: 9px;
    background: #fbfcfa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.pz3-check {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #52606c;
    font-size: 7px;
    font-weight: 800;
}

.pz3-check input {
    width: 13px;
    height: 13px;
    padding: 0;
}

.pz3-money,
.pz3-price-cell {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 4px;
}

.pz3-money span,
.pz3-price-cell span {
    color: #7a858d;
    font-size: 7px;
    text-align: right;
}

.pz3-money input,
.pz3-price-cell input {
    width: 100%;
    height: 30px;
    text-align: right;
}

.pz3-price-cell {
    min-height: 58px;
    padding: 6px;
    border: 1px solid #e8ede4;
    border-radius: 9px;
    background: #fbfcfa;
}

.pz3-footer-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

@media (max-width: 1000px) {
    .pz3-page {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .pz3-config {
        grid-template-columns: 1fr 1fr;
    }

    .pz3-config .pz3-btn {
        grid-column: 1 / -1;
        justify-self: end;
    }
}

@media (max-width: 760px) {
    .pz3-head,
    .pz3-two {
        grid-template-columns: 1fr;
        display: grid;
    }

    .pz3-actions {
        width: 100%;
    }

    .pz3-actions .pz3-btn {
        flex: 1;
    }

    .pz3-config {
        grid-template-columns: 1fr;
    }

    .pz3-flavor-main {
        grid-template-columns: 1fr;
    }

    .pz3-flavor-edit {
        grid-template-columns: 1fr 30px;
    }

    .pz3-flavor-edit input:nth-child(2) {
        grid-column: 1 / -1;
    }
}
