.admin-catalog-page {
    gap: 22px;
}

.catalog-hero {
    position: relative;
    overflow: hidden;
}

.catalog-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    top: -120px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(212, 175, 55, 0.12) 0%,
            rgba(212, 175, 55, 0) 72%
        );
    pointer-events: none;
}

.catalog-hero-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.catalog-hero-copy {
    max-width: 680px;
}

.catalog-hero-copy h2 {
    margin: 6px 0 8px;
}

.catalog-hero-copy p {
    margin: 0;
    max-width: 650px;
    color: var(--admin-text-muted, #9ca3af);
    line-height: 1.65;
}

.catalog-refresh-button,
.catalog-primary-button {
    min-height: 42px;
    padding: 0 17px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.catalog-refresh-button {
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.035);
}

.catalog-primary-button {
    color: #111318;
    background:
        linear-gradient(
            135deg,
            #e7c75e,
            #c79f2f
        );
}

.catalog-refresh-button:hover,
.catalog-primary-button:hover {
    transform: translateY(-1px);
    border-color: rgba(235, 200, 89, 0.65);
}

.catalog-metrics {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.catalog-metric {
    padding: 19px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.018)
        );
}

.catalog-metric span {
    display: block;
    margin-bottom: 9px;
    color: var(--admin-text-muted, #9ca3af);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-metric strong {
    display: block;
    color: #f5f5f5;
    font-size: 1.8rem;
    line-height: 1;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns:
        minmax(240px, 1.45fr)
        minmax(190px, 0.8fr)
        minmax(180px, 0.7fr)
        auto;
    gap: 12px;
    align-items: end;
}

.catalog-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.catalog-field label {
    color: var(--admin-text-muted, #9ca3af);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.catalog-field input,
.catalog-field select {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 12px;
    outline: none;
    padding: 0 14px;
    color: #f3f4f6;
    background: rgba(255, 255, 255, 0.035);
    font: inherit;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.catalog-field input::placeholder {
    color: #6f7682;
}

.catalog-field select option {
    color: #111827;
    background: #fff;
}

.catalog-field input:focus,
.catalog-field select:focus {
    border-color: rgba(212, 175, 55, 0.62);
    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.08);
    background: rgba(255, 255, 255, 0.055);
}

.catalog-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 2px 0 14px;
}

.catalog-results-header strong {
    color: #f3f4f6;
    font-size: 0.95rem;
}

.catalog-stage-status {
    color: var(--admin-text-muted, #9ca3af);
    font-size: 0.83rem;
}

.catalog-stage-status.success {
    color: #86d6ae;
}

.catalog-stage-status.error {
    color: #f28b91;
}

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

.catalog-product-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.042),
            rgba(255, 255, 255, 0.018)
        );
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.catalog-product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.24);
    box-shadow:
        0 15px 34px rgba(0, 0, 0, 0.14);
}

.catalog-product-image {
    position: relative;
    height: 175px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.015)
        );
}

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

.catalog-product-content {
    padding: 17px 18px 18px;
}

.catalog-product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 24px;
    margin-bottom: 11px;
}

.catalog-category {
    overflow: hidden;
    color: #d2ad43;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.catalog-featured-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 999px;
    color: #e4c55f;
    background: rgba(212, 175, 55, 0.08);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.catalog-product-content h3 {
    overflow: hidden;
    margin: 0 0 8px;
    color: #f7f7f8;
    font-size: 1.03rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-product-content p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    margin: 0;
    color: var(--admin-text-muted, #9ca3af);
    font-size: 0.84rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-product-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.catalog-product-footer strong {
    color: #e8c85d;
    font-size: 0.92rem;
    line-height: 1.45;
}

.catalog-product-footer span {
    color: #696f7a;
    font-size: 0.72rem;
    font-weight: 700;
}

.catalog-loading,
.catalog-empty {
    grid-column: 1 / -1;
    display: flex;
    min-height: 220px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px dashed rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    color: var(--admin-text-muted, #9ca3af);
    text-align: center;
}

.catalog-loading strong,
.catalog-empty strong {
    color: #e5e7eb;
    font-size: 0.98rem;
}

.catalog-loading span,
.catalog-empty span {
    font-size: 0.82rem;
}

@media (max-width: 1180px) {
    .catalog-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

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

    .catalog-refresh-button,
    .catalog-primary-button {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .catalog-hero-header {
        flex-direction: column;
    }

    .catalog-metrics {
        grid-template-columns: 1fr;
    }

    .catalog-toolbar {
        grid-template-columns: 1fr;
    }

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

    .catalog-results-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-product-image {
        height: 190px;
    }
}


/* ==========================================================
   VALORIUM ADMIN CATALOG
   VISUAL ALIGNMENT WITH ORDERS
   ========================================================== */


/* ==========================================================
   ESTRUTURA DA PAGINA
   ========================================================== */

.admin-catalog-page {
    display: none;
}

.admin-catalog-page.active {
    display: grid;
    gap: 24px;
}


/* ==========================================================
   CARD PRINCIPAL
   MESMO PADRAO VISUAL DE PEDIDOS
   ========================================================== */

.catalog-hero {
    position: relative;
    overflow: hidden;

    min-height: 0;

    padding: 30px;

    border:
        1px solid rgba(255, 176, 0, 0.14);

    border-radius: 18px;

    background:
        radial-gradient(
            circle at 92% 0%,
            rgba(255, 176, 0, 0.11),
            transparent 28%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(52, 124, 255, 0.055),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.18);
}


/* linha dourada superior igual Pedidos */

.catalog-hero::before {
    content: '';

    position: absolute;

    top: 0;
    left: 31px;

    width: 58px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--admin-gold),
            rgba(255, 176, 0, 0.15)
        );
}


/* brilho superior direito igual Pedidos */

.catalog-hero::after {
    content: '';

    position: absolute;

    top: -120px;
    right: -120px;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 176, 0, 0.07),
            transparent 68%
        );

    pointer-events: none;
}


.catalog-hero > * {
    position: relative;
    z-index: 1;
}


/* ==========================================================
   CABECALHO
   ========================================================== */

.catalog-hero-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;
}


.catalog-hero-copy {
    max-width: 760px;
}


.catalog-hero-copy h2 {
    max-width: 760px;

    margin:
        8px 0 8px;

    color:
        #ffffff;

    font-size:
        clamp(24px, 3vw, 32px);

    font-weight: 750;

    line-height: 1.12;

    letter-spacing:
        -0.025em;
}


.catalog-hero-copy p {
    max-width: 720px;

    margin: 0;

    color:
        var(--admin-text-soft);

    font-size: 12px;

    line-height: 1.7;
}


/* ==========================================================
   BOTAO ATUALIZAR
   ========================================================== */

.catalog-refresh-button {
    min-height: 42px;

    padding:
        0 17px;

    border:
        1px solid rgba(255, 176, 0, 0.20);

    border-radius: 12px;

    color:
        #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(255, 176, 0, 0.065),
            rgba(255, 255, 255, 0.022)
        );

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;
}


.catalog-refresh-button:hover {
    border-color:
        rgba(255, 176, 0, 0.42);

    background:
        rgba(255, 176, 0, 0.075);
}


/* ==========================================================
   INDICADORES
   ========================================================== */

.catalog-metrics {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-top: 25px;
}


.catalog-metric {
    min-height: 86px;

    padding:
        18px 20px;

    border:
        1px solid rgba(255, 255, 255, 0.065);

    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.010)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.02);
}


.catalog-metric span {
    display: block;

    margin-bottom: 9px;

    color:
        var(--admin-text-soft);

    font-size: 10px;

    font-weight: 700;

    letter-spacing:
        0.08em;

    text-transform: uppercase;
}


.catalog-metric strong {
    display: block;

    color:
        #ffffff;

    font-size: 27px;

    font-weight: 750;

    line-height: 1;
}


/* ==========================================================
   CARDS SECUNDARIOS
   ========================================================== */

.admin-catalog-page > .admin-card:not(.catalog-hero) {
    padding: 18px;

    border:
        1px solid rgba(255, 255, 255, 0.065);

    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.018),
            rgba(255, 255, 255, 0.008)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.02);
}


/* ==========================================================
   FILTROS
   ========================================================== */

.catalog-toolbar {
    display: grid;

    grid-template-columns:
        minmax(260px, 1.45fr)
        minmax(190px, 0.8fr)
        minmax(180px, 0.7fr)
        auto;

    gap: 14px;

    align-items: end;
}


.catalog-field {
    gap: 7px;
}


.catalog-field label {
    color:
        var(--admin-text-soft);

    font-size: 10px;

    font-weight: 700;

    letter-spacing:
        0.055em;
}


.catalog-field input,
.catalog-field select {
    min-height: 42px;

    border-radius: 11px;

    border:
        1px solid rgba(255, 255, 255, 0.075);

    background:
        rgba(255, 255, 255, 0.025);

    color:
        #ffffff;

    font-size: 12px;
}


/* ==========================================================
   BOTAO NOVO PRODUTO
   ========================================================== */

.catalog-primary-button {
    min-height: 42px;

    padding:
        0 19px;

    border-radius: 11px;

    border:
        1px solid rgba(255, 176, 0, 0.42);

    background:
        linear-gradient(
            135deg,
            #f0cf00,
            #d8b900
        );

    color:
        #111111;

    font-size: 12px;

    font-weight: 800;

    white-space: nowrap;
}


/* ==========================================================
   CABECALHO DA LISTAGEM
   ========================================================== */

.catalog-results-header {
    display: flex;

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

    gap: 16px;

    margin:
        0 0 16px;
}


.catalog-results-header strong {
    color:
        #ffffff;

    font-size: 14px;

    line-height: 1.25;
}


.catalog-stage-status {
    color:
        var(--admin-text-soft);

    font-size: 10px;
}


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

.catalog-products-grid {
    gap: 18px;
}


.catalog-product-card {
    border-radius: 14px;

    border:
        1px solid rgba(255, 255, 255, 0.065);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.022),
            rgba(255, 255, 255, 0.010)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.018);
}


.catalog-product-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(255, 176, 0, 0.20);

    box-shadow:
        0 16px 34px
        rgba(0, 0, 0, 0.16);
}


/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 1180px) {

    .catalog-hero {
        padding: 24px;
    }

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


@media (max-width: 720px) {

    .admin-catalog-page.active {
        gap: 18px;
    }

    .catalog-hero {
        padding: 20px;
    }

    .catalog-hero-header {
        flex-direction: column;
        gap: 18px;
    }

    .catalog-refresh-button {
        width: 100%;
    }

    .catalog-metrics {
        grid-template-columns: 1fr;
    }

    .catalog-toolbar {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   CATALOGO - MODAL DE PRODUTO
   CRUD UI - ETAPA DE VALIDACAO
   ========================================================== */

.catalog-modal[hidden] {
    display: none;
}

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

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

    padding: 28px;
}

.catalog-modal-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(5, 7, 11, 0.82);

    backdrop-filter:
        blur(6px);
}

.catalog-modal-dialog {
    position: relative;
    z-index: 1;

    width: min(760px, 100%);
    max-height: calc(100vh - 56px);

    overflow-y: auto;

    border:
        1px solid rgba(255, 176, 0, 0.17);

    border-radius: 18px;

    background:
        radial-gradient(
            circle at 95% 0%,
            rgba(255, 176, 0, 0.10),
            transparent 26%
        ),
        linear-gradient(
            145deg,
            #161b24,
            #11151d
        );

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.48);
}

.catalog-modal-dialog::before {
    content: '';

    position: absolute;

    top: 0;
    left: 30px;

    width: 58px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--admin-gold),
            rgba(255, 176, 0, 0.15)
        );
}

.catalog-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;

    padding:
        28px 30px 22px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.055);
}

.catalog-modal-header h2 {
    margin:
        7px 0 7px;

    color:
        #ffffff;

    font-size:
        24px;

    line-height: 1.15;
}

.catalog-modal-header p {
    margin: 0;

    color:
        var(--admin-text-soft);

    font-size: 11px;

    line-height: 1.65;
}

.catalog-modal-close {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 11px;

    color:
        #d8dce4;

    background:
        rgba(255, 255, 255, 0.025);

    font-size:
        23px;

    line-height: 1;

    cursor: pointer;
}

.catalog-modal-close:hover {
    border-color:
        rgba(255, 176, 0, 0.25);

    color:
        #ffffff;
}

.catalog-product-form {
    padding: 26px 30px 30px;
}

.catalog-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        18px 16px;
}

.catalog-form-span-2 {
    grid-column:
        1 / -1;
}

.catalog-form-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.catalog-form-field > label,
.catalog-product-form > label {
    color:
        var(--admin-text-soft);

    font-size: 10px;

    font-weight: 700;

    letter-spacing:
        0.055em;

    text-transform:
        uppercase;
}

.catalog-form-field input,
.catalog-form-field textarea {
    width: 100%;

    box-sizing: border-box;

    border:
        1px solid rgba(255, 255, 255, 0.075);

    border-radius: 11px;

    outline: none;

    padding:
        11px 13px;

    color:
        #ffffff;

    background:
        rgba(255, 255, 255, 0.025);

    font:
        inherit;

    font-size:
        12px;
}

.catalog-form-field input {
    min-height: 42px;
}

.catalog-form-field textarea {
    resize: vertical;

    line-height: 1.55;
}

.catalog-form-field input:focus,
.catalog-form-field textarea:focus {
    border-color:
        rgba(255, 176, 0, 0.40);

    box-shadow:
        0 0 0 3px
        rgba(255, 176, 0, 0.055);
}

.catalog-price-mode {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.catalog-price-mode label {
    display: flex;
    align-items: center;

    gap: 8px;

    min-height: 38px;

    padding:
        0 13px;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 10px;

    color:
        #d6dae2;

    background:
        rgba(255, 255, 255, 0.022);

    font-size:
        11px;

    cursor: pointer;
}

.catalog-form-price-grid {
    grid-column:
        1 / -1;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.catalog-form-price-grid[hidden] {
    display: none;
}

.catalog-featured-toggle {
    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 42px;

    padding:
        0 13px;

    border:
        1px solid rgba(255, 176, 0, 0.10);

    border-radius: 11px;

    color:
        #e1e4ea;

    background:
        rgba(255, 176, 0, 0.025);

    font-size:
        11px;

    cursor: pointer;
}

.catalog-form-status {
    min-height: 18px;

    margin-top: 18px;

    color:
        var(--admin-text-soft);

    font-size:
        10px;
}

.catalog-form-status.error {
    color:
        #f28b91;
}

.catalog-form-status.success {
    color:
        #86d6ae;
}

.catalog-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    margin-top: 20px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.055);
}

.catalog-secondary-button {
    min-height: 42px;

    padding:
        0 18px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 11px;

    color:
        #d5d9e0;

    background:
        rgba(255, 255, 255, 0.025);

    font-size:
        12px;

    font-weight: 700;

    cursor: pointer;
}

.catalog-secondary-button:hover {
    border-color:
        rgba(255, 255, 255, 0.15);
}

body.catalog-modal-open {
    overflow: hidden;
}

@media (max-width: 720px) {

    .catalog-modal {
        padding: 12px;
    }

    .catalog-modal-dialog {
        max-height:
            calc(100vh - 24px);
    }

    .catalog-modal-header {
        padding:
            22px 20px 18px;
    }

    .catalog-product-form {
        padding:
            20px;
    }

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

    .catalog-form-span-2,
    .catalog-form-price-grid {
        grid-column:
            auto;
    }

    .catalog-modal-footer {
        flex-direction:
            column-reverse;
    }

    .catalog-modal-footer button {
        width: 100%;
    }
}


/* ==========================================================
   CATALOGO - ACOES DOS PRODUTOS
   ETAPA 10B.2
   ========================================================== */

.catalog-product-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    flex-shrink: 0;
}

.catalog-product-actions > span {
    color:
        #696f7a;

    font-size:
        0.72rem;

    font-weight:
        700;
}

.catalog-edit-button {
    min-height: 32px;

    padding:
        0 12px;

    border:
        1px solid rgba(255, 176, 0, 0.17);

    border-radius:
        9px;

    color:
        #e9c95b;

    background:
        rgba(255, 176, 0, 0.035);

    font:
        inherit;

    font-size:
        10px;

    font-weight:
        750;

    cursor:
        pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.catalog-edit-button:hover {
    transform:
        translateY(-1px);

    border-color:
        rgba(255, 176, 0, 0.38);

    background:
        rgba(255, 176, 0, 0.075);
}

@media (max-width: 720px) {

    .catalog-product-footer {
        align-items:
            center;
    }

    .catalog-product-actions {
        gap:
            8px;
    }
}


/* ==========================================================
   CATALOGO - REFINO DO MODAL
   ETAPA 10B.5
   ========================================================== */


/* ----------------------------------------------------------
   MODELO DE PRECO - SELETOR PREMIUM VALORIUM
   ---------------------------------------------------------- */

.catalog-price-mode {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    width: 100%;
}


.catalog-price-mode label {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 46px;

    padding:
        0 14px;

    gap: 11px;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 11px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.012)
        );

    color:
        #c9ced8;

    cursor:
        pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}


.catalog-price-mode label:hover {
    border-color:
        rgba(255, 176, 0, 0.20);

    background:
        rgba(255, 176, 0, 0.028);

    color:
        #ffffff;
}


.catalog-price-mode input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;

    width: 17px;
    height: 17px;

    flex:
        0 0 17px;

    margin: 0;

    border:
        1px solid rgba(255, 255, 255, 0.22);

    border-radius:
        50%;

    background:
        rgba(255, 255, 255, 0.035);

    box-shadow:
        inset 0 0 0 4px
        #151922;

    cursor:
        pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}


.catalog-price-mode input[type="radio"]:checked {
    border-color:
        rgba(255, 193, 7, 0.95);

    background:
        #f0c900;

    box-shadow:
        inset 0 0 0 4px
        #151922,
        0 0 0 3px
        rgba(255, 193, 7, 0.08),
        0 0 14px
        rgba(255, 193, 7, 0.16);
}


.catalog-price-mode label:has(input[type="radio"]:checked) {
    border-color:
        rgba(255, 176, 0, 0.30);

    background:
        linear-gradient(
            145deg,
            rgba(255, 176, 0, 0.085),
            rgba(255, 176, 0, 0.025)
        );

    color:
        #ffffff;

    box-shadow:
        inset 0 1px 0
        rgba(255, 214, 92, 0.04),
        0 8px 24px
        rgba(0, 0, 0, 0.10);
}


/* ----------------------------------------------------------
   BOTAO SALVAR - ESTADO DESABILITADO REAL
   ---------------------------------------------------------- */

#catalogProductSaveButton:disabled {
    border-color:
        rgba(255, 255, 255, 0.055);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.018)
        );

    color:
        rgba(255, 255, 255, 0.34);

    box-shadow:
        none;

    opacity:
        1;

    cursor:
        not-allowed;

    transform:
        none;
}


#catalogProductSaveButton:disabled:hover {
    border-color:
        rgba(255, 255, 255, 0.055);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.018)
        );

    color:
        rgba(255, 255, 255, 0.34);

    transform:
        none;
}


/* ----------------------------------------------------------
   TEXTAREA ACOMPANHA - SCROLLBAR DARK
   ---------------------------------------------------------- */

#catalogProductAccompanies {
    scrollbar-width:
        thin;

    scrollbar-color:
        rgba(255, 176, 0, 0.32)
        rgba(255, 255, 255, 0.025);
}


#catalogProductAccompanies::-webkit-scrollbar {
    width:
        9px;
}


#catalogProductAccompanies::-webkit-scrollbar-track {
    background:
        rgba(255, 255, 255, 0.018);

    border-radius:
        8px;
}


#catalogProductAccompanies::-webkit-scrollbar-thumb {
    border:
        2px solid #171b24;

    border-radius:
        8px;

    background:
        rgba(255, 176, 0, 0.30);
}


#catalogProductAccompanies::-webkit-scrollbar-thumb:hover {
    background:
        rgba(255, 176, 0, 0.48);
}


/* ----------------------------------------------------------
   RESPONSIVO
   ---------------------------------------------------------- */

@media (max-width: 560px) {

    .catalog-price-mode {
        grid-template-columns:
            1fr;
    }
}


/* ==========================================================
   CATALOGO - IMAGE PICKER + RADIO FIX
   ETAPA 10B.7
   ========================================================== */


/* ----------------------------------------------------------
   CORRECAO DEFINITIVA DO RADIO
   Neutraliza regras genericas de input do formulario.
   ---------------------------------------------------------- */

.catalog-form-field .catalog-price-mode input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;

    display: inline-block;

    width: 18px;
    min-width: 18px;
    max-width: 18px;

    height: 18px;
    min-height: 18px;
    max-height: 18px;

    flex:
        0 0 18px;

    aspect-ratio:
        1 / 1;

    margin: 0;
    padding: 0;

    box-sizing:
        border-box;

    border:
        1px solid rgba(255, 255, 255, 0.22);

    border-radius:
        50%;

    background:
        rgba(255, 255, 255, 0.025);

    box-shadow:
        inset 0 0 0 4px
        #151922;
}


.catalog-form-field .catalog-price-mode input[type="radio"]:checked {
    width: 18px;
    min-width: 18px;
    max-width: 18px;

    height: 18px;
    min-height: 18px;
    max-height: 18px;

    padding: 0;

    border-color:
        #f0c900;

    background:
        #f0c900;

    box-shadow:
        inset 0 0 0 4px
        #151922,
        0 0 0 3px
        rgba(240, 201, 0, 0.08),
        0 0 13px
        rgba(240, 201, 0, 0.16);
}


/* ----------------------------------------------------------
   SELETOR DE IMAGEM
   ---------------------------------------------------------- */

.catalog-image-control {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 10px;

    align-items: center;
}


.catalog-image-select-button {
    min-height: 42px;

    padding:
        0 17px;

    border:
        1px solid rgba(255, 176, 0, 0.20);

    border-radius: 11px;

    color:
        #f0cf63;

    background:
        linear-gradient(
            145deg,
            rgba(255, 176, 0, 0.065),
            rgba(255, 255, 255, 0.018)
        );

    font:
        inherit;

    font-size: 11px;

    font-weight: 750;

    white-space:
        nowrap;

    cursor:
        pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}


.catalog-image-select-button:hover {
    transform:
        translateY(-1px);

    border-color:
        rgba(255, 176, 0, 0.42);

    background:
        rgba(255, 176, 0, 0.075);
}


.catalog-image-file-input {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden;

    clip:
        rect(0, 0, 0, 0);

    white-space:
        nowrap;

    border: 0 !important;

    opacity: 0;

    pointer-events:
        none;
}


/* ----------------------------------------------------------
   PREVIEW DA IMAGEM
   ---------------------------------------------------------- */

.catalog-image-preview {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 4px;

    padding: 11px;

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius:
        12px;

    background:
        rgba(255, 255, 255, 0.015);
}


.catalog-image-preview-frame {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 94px;
    height: 68px;

    flex:
        0 0 94px;

    overflow:
        hidden;

    border:
        1px solid rgba(255, 255, 255, 0.065);

    border-radius:
        10px;

    background:
        rgba(0, 0, 0, 0.18);
}


.catalog-image-preview-frame img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit:
        cover;
}


.catalog-image-preview-frame img[hidden] {
    display:
        none;
}


.catalog-image-preview-frame span {
    padding:
        8px;

    color:
        #707783;

    font-size:
        9px;

    line-height:
        1.35;

    text-align:
        center;
}


.catalog-image-preview-copy {
    min-width: 0;
}


.catalog-image-preview-copy strong {
    display: block;

    margin-bottom: 5px;

    color:
        #ffffff;

    font-size:
        11px;
}


.catalog-image-preview-copy span {
    display: block;

    overflow:
        hidden;

    color:
        var(--admin-text-soft);

    font-size:
        9px;

    line-height:
        1.5;

    text-overflow:
        ellipsis;
}


@media (max-width: 620px) {

    .catalog-image-control {
        grid-template-columns:
            1fr;
    }

    .catalog-image-select-button {
        width:
            100%;
    }

    .catalog-image-preview {
        align-items:
            flex-start;
    }
}


/* ==========================================================
   CATALOGO - DELETE UI
   ETAPA 12B.3
   ========================================================== */

.catalog-delete-button {
    min-height: 32px;

    padding:
        0 12px;

    border:
        1px solid rgba(255, 92, 92, 0.20);

    border-radius:
        9px;

    color:
        #ff8f8f;

    background:
        rgba(255, 92, 92, 0.045);

    font:
        inherit;

    font-size:
        10px;

    font-weight:
        750;

    cursor:
        pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.catalog-delete-button:hover {
    transform:
        translateY(-1px);

    border-color:
        rgba(255, 92, 92, 0.42);

    background:
        rgba(255, 92, 92, 0.09);
}

.catalog-delete-dialog {
    max-width:
        560px;
}

.catalog-delete-body {
    padding:
        26px 28px 4px;
}

.catalog-delete-warning {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        16px;

    padding:
        18px;

    border:
        1px solid rgba(255, 92, 92, 0.16);

    border-radius:
        14px;

    background:
        rgba(255, 92, 92, 0.035);
}

.catalog-delete-warning-icon {
    display:
        grid;

    place-items:
        center;

    width:
        34px;

    height:
        34px;

    flex:
        0 0 auto;

    border-radius:
        50%;

    color:
        #ff8f8f;

    border:
        1px solid rgba(255, 92, 92, 0.24);

    background:
        rgba(255, 92, 92, 0.08);

    font-weight:
        800;
}

.catalog-delete-warning strong {
    display:
        block;

    color:
        #f5f6f8;
}

.catalog-delete-warning p {
    margin:
        6px 0 8px;

    color:
        #8f96a3;

    font-size:
        0.86rem;
}

.catalog-delete-confirm-button {
    min-height:
        42px;

    padding:
        0 18px;

    border:
        1px solid rgba(255, 92, 92, 0.26);

    border-radius:
        11px;

    color:
        #fff;

    background:
        linear-gradient(
            180deg,
            rgba(178, 46, 46, 0.96),
            rgba(126, 29, 29, 0.96)
        );

    font:
        inherit;

    font-size:
        0.82rem;

    font-weight:
        750;

    cursor:
        pointer;

    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.catalog-delete-confirm-button:hover:not(:disabled) {
    transform:
        translateY(-1px);
}

.catalog-delete-confirm-button:disabled {
    opacity:
        0.55;

    cursor:
        wait;
}

@media (max-width: 720px) {

    .catalog-delete-body {
        padding:
            20px 18px 4px;
    }

}
