/* =========================================================
   ACERVO CÊNICO HIPÉRION — FOLHA DE ESTILOS
   Paleta oficial Hipérion Escola de Artes
   ========================================================= */

:root {
    /* =====================================================
       Identidade Hipérion — DUAS CORES: PRETO e LARANJA
       ===================================================== */

    /* As duas cores da marca */
    --orange: #f58634;
    --orange-soft: #ff9f5c;
    --orange-deep: #d96a1c;
    --orange-tint: rgba(245, 134, 52, 0.16);

    --black: #0a0a0a;
    --black-soft: #151515;
    --black-deep: #000000;
    --black-tint: rgba(0, 0, 0, 0.16);

    /* Tokens usados no restante da folha de estilos */
    --accent: var(--orange);
    --accent-strong: var(--orange-soft);
    --accent-deep: var(--orange-deep);
    --accent-soft: var(--orange-tint);

    --secondary: var(--orange);
    --secondary-soft: var(--orange-tint);

    --gradient: linear-gradient(
        90deg,
        var(--orange-deep) 0%,
        var(--orange) 50%,
        var(--orange-soft) 100%
    );

    /* Superfícies escuras (o preto) */
    --ink: var(--black);
    --ink-soft: var(--black-soft);
    --ink-deep: var(--black-deep);
    --ink-line: rgba(255, 255, 255, 0.14);

    --cream: var(--black);
    --cream-soft: var(--black-soft);
    --paper: var(--black-soft);
    --surface-soft: #1c1c1c;

    --line: rgba(255, 255, 255, 0.14);
    --line-strong: rgba(255, 255, 255, 0.24);
    --line-soft: rgba(255, 255, 255, 0.08);

    /* Texto */
    --text: #ffffff;
    --text-muted: #ffffff;

    /* Estados — tudo em laranja para manter só duas cores */
    --green: var(--orange);
    --green-deep: var(--orange-soft);
    --amber: var(--orange);
    --amber-deep: var(--orange-soft);
    --red: var(--orange);
    --red-deep: var(--orange-soft);

    --radius: 5px;
    --radius-lg: 10px;

    --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.65);

    --font-display: "Nunito", Arial, Helvetica, sans-serif;
    --font-body: "Nunito", Arial, Helvetica, sans-serif;
    --font-alt: "Lato", Arial, Helvetica, sans-serif;
    --container: 1280px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 600;
    color: #ffffff;
}

/* =========================
   CABEÇALHO
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ink-line);
}

/* Barra em degradê com as cores do logo Hipérion */
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--gradient);
}

.site-header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo-img {
    display: block;
    height: 84px;
    width: auto;
}

@media (max-width: 820px) {
    .site-logo-img {
        height: 60px;
    }
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav-link {
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 0;
    position: relative;
    transition: color 0.25s ease;
}

.site-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.site-nav-link:hover {
    color: #fff;
}

.site-nav-link:hover::after {
    transform: scaleX(1);
}

.site-nav-admin {
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 7px 16px;
    color: #ffffff;
}

.site-nav-admin::after {
    display: none;
}

.site-nav-admin:hover {
    background: var(--accent);
    color: #ffffff;
}

.site-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
}

.site-nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}


/* =========================
   MENSAGENS
========================= */

.flash {
    max-width: var(--container);
    margin: 20px auto 0;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    color: var(--text);
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 24px;
}

.alert-error {
    background: rgba(245, 134, 52, 0.12);
    border-left: 3px solid var(--accent);
    color: #ffffff;
}

.alert-info {
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--accent);
    color: #ffffff;
    line-height: 1.6;
}

/* Link "Esqueci minha senha" / "Voltar para o login" */
.login-esqueci {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
}

.login-esqueci a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-esqueci a:hover {
    text-decoration-color: var(--accent);
}

/* =========================
   BOTÕES
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 11px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--accent);
    color: #ffffff;
}

.btn-outline:hover {
    background: var(--accent);
    color: #ffffff;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-ghost:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.btn-ghost-dark {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-ghost-dark:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.btn-danger {
    background: transparent;
    border-color: rgba(245, 134, 52, 0.6);
    color: #ffffff;
}

.btn-danger:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(245, 134, 52, 0.26), transparent 46%),
        linear-gradient(160deg, var(--ink-soft) 0%, var(--ink-deep) 100%);
    color: #fff;
    padding: 130px 32px 110px;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

/* Fotos de fundo do topo (definidas no painel › Página inicial) */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.6s ease;
    will-change: opacity, transform;
}

.hero-slide.is-active {
    opacity: 1;
}

/* Zoom lento enquanto a foto aparece e enquanto ela some (sem "pulo"). */
.hero-slide.is-active,
.hero-slide.is-saindo {
    animation: hero-zoom var(--hero-duracao, 9s) ease-out forwards;
}

@keyframes hero-zoom {
    from { transform: scale(1.04); }
    to   { transform: scale(1.14); }
}

.hero-com-fotos .hero-glow {
    z-index: 1;
    opacity: 0.5;
}

.hero-com-fotos .hero-title,
.hero-com-fotos .hero-text {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide.is-active,
    .hero-slide.is-saindo {
        animation: none;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(58px, 11vw, 148px);
    line-height: 0.9;
    letter-spacing: 2px;
    margin: 26px 0 30px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #ffffff;
}

.hero-text {
    max-width: 640px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: #ffffff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 42px;
}

.hero-stats {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    text-align: center;
    padding: 26px 16px;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 46px;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}


/* =========================
   SEÇÕES
========================= */

.section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 90px 32px;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-head h2 {
    font-size: clamp(34px, 5vw, 58px);
    margin: 16px 0 0;
}

.section-sub {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 16px;
}

.section-more {
    text-align: center;
    margin-top: 50px;
}

/* =========================
   CATEGORIAS (CHIPS)
========================= */

.category-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.category-chip {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: all 0.25s ease;
}

.category-chip:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.category-chip-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
}

.category-chip-count {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* =========================
   GRADE DE ITENS
========================= */

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.item-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.item-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--surface-soft);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.item-card:hover .item-image img {
    transform: scale(1.05);
}

.item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 110%, rgba(245, 134, 52, 0.34), transparent 62%),
        linear-gradient(135deg, var(--ink-soft) 0%, var(--ink-deep) 100%);
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.item-status {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid var(--accent);
}

.item-status.available {
    background: var(--accent);
    color: #ffffff;
}

.item-status.unavailable {
    background: rgba(10, 10, 10, 0.85);
    color: #ffffff;
}

.item-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.item-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
}

.item-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.item-title a:hover {
    color: #ffffff;
}

.item-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

.item-qty {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.item-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    transition: color 0.2s ease;
}

.item-link:hover {
    color: #ffffff;
}

/* =========================
   ESTADO VAZIO
========================= */

.empty-state {
    text-align: center;
    padding: 80px 30px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
}

.empty-state h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* =========================
   PASSOS
========================= */

.section-passos {
    max-width: var(--container);
    margin: 0 auto;
    padding: 100px 32px;
}

.steps {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.step {
    padding: 34px 28px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step:hover {
    border-color: var(--black-deep);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 40px;
    color: #ffffff;
}

.step h3 {
    font-size: 24px;
    margin: 14px 0 10px;
}

.step p {
    color: #ffffff;
    font-size: 14px;
}

/* =========================
   PÁGINAS INTERNAS
========================= */

.page {
    max-width: var(--container);
    margin: 0 auto;
    padding: 70px 32px 100px;
    flex: 1;
    width: 100%;
}

.page-narrow {
    max-width: 820px;
}

.page-head {
    text-align: center;
    margin-bottom: 46px;
}

.page-title {
    font-size: clamp(40px, 6vw, 74px);
    margin: 14px 0 18px;
}

.page-sub {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto;
}

/* =========================
   FILTROS
========================= */

.filters {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.filters-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 18px;
}

.filters-inline {
    margin-bottom: 24px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-grow {
    flex: 1;
    min-width: 240px;
}

.field-full {
    grid-column: 1 / -1;
}

.field-check {
    padding-bottom: 14px;
}

.field label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--black-soft);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea {
    resize: vertical;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

.field-action {
    flex-direction: row;
    gap: 12px;
}

.results-meta {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.results-meta strong {
    color: #ffffff;
}

/* =========================
   FORMULÁRIOS
========================= */

.form-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 26px;
}

.form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 30px;
}

.form-inline .form-grid {
    width: 100%;
}

/* =========================
   SOLICITAÇÃO
========================= */

.request-item {
    display: flex;
    gap: 22px;
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 26px;
}

.request-item-image {
    width: 96px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.request-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.request-item-info h2 {
    font-size: 26px;
    margin: 4px 0 8px;
}

.request-item-info p {
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================
   PÁGINA DO ITEM
========================= */

.page-item {
    max-width: 1180px;
}

.item-page-container {
    width: 100%;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #ffffff;
}

.item-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}

.item-detail-image {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-soft);
    box-shadow: var(--shadow-md);
}

.item-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Galeria: miniaturas abaixo da foto grande */
.item-detail-miniaturas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.item-detail-miniatura {
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-soft);
    aspect-ratio: 1;
    opacity: 0.65;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.item-detail-miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-detail-miniatura:hover,
.item-detail-miniatura.is-active {
    opacity: 1;
    border-color: var(--accent);
}

/* Painel: fotos extras do item */
.fotos-extras-titulo {
    font-size: 14px;
}

.fotos-extras {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.foto-extra {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--surface-soft);
}

.foto-extra img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto-extra form {
    position: absolute;
    top: 4px;
    right: 4px;
}

.foto-extra button {
    padding: 2px 8px;
    line-height: 1.2;
}

.fotos-extras-envio {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-detail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 110%, rgba(245, 134, 52, 0.34), transparent 62%),
        linear-gradient(135deg, var(--ink-soft) 0%, var(--ink-deep) 100%);
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.item-detail-category {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.item-detail-category:hover {
    text-decoration: underline;
}

.item-detail-title {
    font-size: clamp(36px, 5vw, 60px);
    margin-bottom: 20px;
}

.item-detail-description {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.item-information {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    margin-bottom: 26px;
}

.information-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.information-row + .information-row {
    border-top: 1px solid var(--line-soft);
}

.information-row span {
    font-size: 13px;
    color: var(--text-muted);
}

.information-row strong {
    font-size: 15px;
    text-align: right;
}

.detail-available {
    color: #ffffff;
}

.detail-unavailable {
    color: var(--text-muted);
}

.item-notes {
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 26px;
}

.item-notes-title {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.item-notes p:last-child {
    font-size: 14px;
    color: var(--text);
}

.unavailable-message {
    padding: 16px 18px;
    background: rgba(245, 134, 52, 0.10);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    color: #ffffff;
    font-size: 14px;
}

.related {
    margin-top: 90px;
}
/* =========================
   CONFIRMAÇÃO / RESULTADO
========================= */

.confirm-card,
.result-card,
.login-card,
.error-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 46px 40px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.result-card {
    text-align: left;
    margin-top: 10px;
}

.confirm-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    background: var(--accent);
}

.protocol-box {
    margin: 30px 0;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--accent);
    color: #ffffff;
}

.protocol-label {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
}

.protocol-code {
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: 2px;
}

.confirm-details {
    text-align: left;
    margin: 10px 0 6px;
}

.confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 30px;
}

.result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.result-head h2 {
    font-size: 30px;
}

/* =========================
   ETIQUETAS DE STATUS
========================= */

.status {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}

.status-pendente {
    background: var(--accent);
    color: #ffffff;
}

.status-aprovada,
.status-disponivel {
    background: transparent;
    border-color: var(--accent);
    color: #ffffff;
}

.status-recusada,
.status-indisponivel {
    background: var(--orange-deep);
    color: #fff;
}

.status-retirada {
    background: var(--orange-soft);
    color: #ffffff;
}

.status-devolvida {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

/* =========================
   ADMINISTRAÇÃO
========================= */

.admin-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.admin-bar .page-sub {
    margin: 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}

.admin-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    border-top: 3px solid var(--accent);
}

.admin-card-number {
    display: block;
    font-family: var(--font-display);
    font-size: 44px;
    line-height: 1;
    color: #ffffff;
}

.admin-card-label {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
}

.tab {
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.tab:hover {
    color: #ffffff;
}

.tab.is-active {
    color: #ffffff;
    border-bottom-color: var(--accent);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.35s ease;
}

.tab-panel.is-active {
    display: block;
}

.disclosure {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 30px;
}

.disclosure summary {
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    color: #ffffff;
}

.disclosure[open] summary {
    margin-bottom: 22px;
}

.disclosure .form-card {
    border: 0;
    box-shadow: none;
    padding: 0;
}

/* Tabelas */

.table-wrap {
    overflow-x: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.data-table th {
    text-align: left;
    padding: 16px 18px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
}

.data-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.table-link {
    font-weight: 600;
}

.table-link:hover {
    color: #ffffff;
}

.th-actions,
.td-actions {
    text-align: right;
}

.td-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: wrap;
}

.cell-code {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 1px;
}

.cell-sub {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.row-edit summary {
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    padding: 8px 14px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    list-style: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.row-edit summary::-webkit-details-marker {
    display: none;
}

.row-edit summary:hover,
.row-edit[open] summary {
    background: var(--accent);
}

/* Painel › Página inicial (fotos de fundo) */
.fundo-explicacao {
    display: block;
    margin-bottom: 22px;
    line-height: 1.6;
}

.fundo-envio {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.fundo-lista-card {
    margin-top: 24px;
}

.fundo-cabecalho {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.fundo-cabecalho .panel-title {
    margin: 0;
}

.fundo-intervalo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.fundo-intervalo select {
    padding: 8px 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--black-soft);
    color: var(--text);
    font-family: inherit;
}

.fundo-lista {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.fundo-foto {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--black-soft);
}

.fundo-foto img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.fundo-numero {
    position: absolute;
    top: 8px;
    left: 8px;
    min-width: 26px;
    padding: 3px 8px;
    border-radius: 30px;
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.fundo-acoes {
    display: flex;
    gap: 8px;
    padding: 10px;
    flex-wrap: wrap;
}

.fundo-acoes form:last-child {
    margin-left: auto;
}

.fundo-acoes button[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Busca na tabela de itens do painel */
.admin-busca {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    margin: 30px 0 16px;
}

.admin-busca .field {
    flex: 1;
    min-width: 220px;
}

.admin-busca input {
    padding: 11px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--black-soft);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
}

.admin-busca-total {
    font-size: 13px;
    padding-bottom: 12px;
}

.admin-planilha {
    margin-bottom: 4px;
}

/* Painel: itens repetidos */
.repetidos {
    margin-top: 24px;
}

.repetidos-explicacao {
    display: block;
    margin-bottom: 20px;
    line-height: 1.6;
}

.repetidos-grupo {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line-soft);
    overflow-x: auto;
}

.repetidos-grupo:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.repetidos-tabela {
    min-width: 520px;
    margin-bottom: 12px;
}

.repetidos-tabela input {
    width: auto;
    accent-color: var(--accent);
}

.filters-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.edit-form {
    position: absolute;
    right: 20px;
    z-index: 20;
    width: 300px;
    max-height: 72vh;
    overflow-y: auto;
    margin-top: 10px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.edit-form-lg {
    width: 360px;
}

.edit-form input,
.edit-form select,
.edit-form textarea {
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--black-soft);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
}

.edit-form textarea {
    resize: vertical;
}

.edit-form select option {
    background: var(--black-soft);
    color: var(--text);
}

.status-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.status-form select,
.filters-inline select {
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 13px;
    background: var(--black-soft);
    color: var(--text);
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-list-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
}

.category-list-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
}

.category-list-item span {
    font-size: 13px;
    color: var(--text-muted);
}

.tab-panel > .category-list {
    margin-top: 30px;
}

.category-list-item {
    position: relative;
}

.category-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.category-actions {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 560px) {
    .category-row,
    .subcategory-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-list-item .edit-form {
        right: 0;
        width: min(300px, 100%);
    }
}

/* Subcategorias dentro de cada categoria (painel) */
.subcategory-list {
    list-style: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subcategory-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-left: 14px;
}

.category-list-item .subcategory-name {
    font-size: 15px;
    color: #ffffff;
}

/* Subcategorias no catálogo */
.subcategory-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}

.subcategory-chip {
    padding: 7px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 30px;
    font-size: 13px;
    color: #ffffff;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.subcategory-chip:hover {
    border-color: var(--accent);
}

.subcategory-chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 700;
}

/* =========================
   SOBRE / ERRO
========================= */

.prose {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.prose p {
    margin-bottom: 18px;
    color: var(--text);
    line-height: 1.85;
}

.prose h2 {
    font-size: 30px;
    margin: 30px 0 14px;
}

.prose-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.error-code {
    font-family: var(--font-display);
    font-size: 100px;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 10px;
}

/* =========================
   RODAPÉ
========================= */

.site-footer {
    position: relative;
    background: var(--ink);
    color: #ffffff;
    margin-top: auto;
}

/* Barra em degradê com as cores do logo Hipérion */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

.site-footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 60px 32px 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.site-footer-logo {
    display: inline-block;
}

.site-footer-logo img {
    display: block;
    height: 110px;
    width: auto;
}

.site-footer-brand p {
    max-width: 380px;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer-nav a {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.site-footer-nav a:hover {
    color: #ffffff;
}

.site-footer-base {
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid var(--ink-line);
    font-size: 12px;
    letter-spacing: 1px;
}

/* =========================
   ANIMAÇÕES
========================= */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 980px) {

    .item-detail {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {

    .site-nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--ink);
        border-bottom: 1px solid var(--ink-line);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .site-nav.is-open {
        max-height: 460px;
    }

    .site-nav-link {
        width: 100%;
        padding: 18px 32px;
        border-bottom: 1px solid var(--ink-line);
    }

    .site-nav-admin {
        margin: 16px 32px;
        border-radius: 999px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 90px 22px 70px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section,
    .page,
    .section-passos {
        padding-left: 22px;
        padding-right: 22px;
    }

    .request-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .edit-form {
        position: static;
        width: 100%;
    }

    .form-card {
        padding: 22px;
    }
}


/* =========================================================
   FAIXAS DE COR — o site alterna PRETO e LARANJA
   (onde aparece o nome do acervo: preto / nas seções: laranja)
   ========================================================= */

.band {
    position: relative;
    z-index: 0;
}

.band::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--band-bg);
    box-shadow: 0 0 0 100vmax var(--band-bg);
    clip-path: inset(0 -100vmax);
    z-index: -1;
}

.band-dark {
    --band-bg: var(--black-deep);
    color: #fff;
}

.band-orange {
    --band-bg: var(--accent);
    color: #ffffff;
}

/* Superfícies escuras dentro das faixas mantêm o texto claro */
.category-chip,
.item-card,
.form-card,
.request-item,
.confirm-card,
.result-card,
.login-card,
.error-card,
.admin-card,
.disclosure,
.table-wrap,
.edit-form,
.category-list-item,
.prose,
.filters,
.protocol-box {
    color: var(--text);
}

/* Dentro da faixa laranja, textos de apoio ficam escuros */
.band-orange .eyebrow,
.band-orange .section-sub,
.band-orange .page-sub {
    color: #ffffff;
}

.band-orange .btn-ghost-dark {
    border-color: rgba(0, 0, 0, 0.45);
    color: #ffffff;
}

/* Listas suspensas legíveis no tema escuro */
.field select option,
.status-form select option,
.filters-inline select option {
    background: var(--black-soft);
    color: var(--text);
}


/* =========================================================
   PEDIDO (CARRINHO) DO ALUNO
   ========================================================= */

.site-nav-pedido {
    color: #ffffff;
    font-weight: 700;
}

.pedido {
    margin-bottom: 30px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
}

.pedido-titulo {
    margin-bottom: 16px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pedido-titulo strong {
    color: #ffffff;
}

.pedido-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.pedido-item + .pedido-item {
    border-top: 1px solid var(--line-soft);
}

.pedido-item-image {
    width: 56px;
    height: 70px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.pedido-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pedido-item-image .item-placeholder {
    font-size: 8px;
    letter-spacing: 1px;
}

.pedido-item-info {
    flex: 1;
    min-width: 0;
}

.pedido-item-info .item-category {
    margin-bottom: 4px;
}

.pedido-item-info strong {
    display: block;
    font-size: 16px;
}

.pedido-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

.item-footer {
    flex-wrap: wrap;
}

.item-pedido {
    margin: 0;
}

/* =========================================================
   UPLOAD DE FOTOS
   ========================================================= */

.field input[type="file"],
.edit-form input[type="file"] {
    padding: 10px 12px;
    border-style: dashed;
    font-size: 12px;
    cursor: pointer;
}

.field input[type="file"]::file-selector-button,
.edit-form input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 7px 12px;
    border: 0;
    border-radius: var(--radius);
    background: var(--accent);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.edit-photo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.edit-photo img {
    width: 64px;
    height: 80px;
    flex-shrink: 0;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

/* =========================================================
   FORMULÁRIO CONFIGURÁVEL (aba do painel)
   ========================================================= */

.panel-title {
    margin: 6px 0 18px;
    font-size: 24px;
}

.data-table td input[type="text"],
.data-table td input[type="tel"],
.data-table td input[type="email"] {
    width: 100%;
    min-width: 180px;
    padding: 8px 10px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--black-soft);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
}

.th-check {
    width: 110px;
    text-align: center;
}

.td-actions .checkbox input,
.th-check .checkbox input {
    width: auto;
    accent-color: var(--accent);
}

.form-card > .table-wrap {
    margin-bottom: 16px;
}

.form-card > .field-hint {
    display: block;
    margin-bottom: 22px;
}

/* =========================================================
   ETIQUETAS — uma por unidade física (com impressão)
   ========================================================= */

.page-etiqueta {
    background: var(--black);
    padding: 30px 20px 60px;
}

.label-toolbar {
    max-width: 1100px;
    margin: 0 auto 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.label-toolbar-note {
    color: var(--text-muted);
    font-size: 13px;
}

.label-toolbar-note strong {
    color: #ffffff;
}

.label-sheet {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
}

.label-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--black-deep);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    overflow: hidden;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.label-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px;
    background: var(--black-deep);
    color: #fff;
}

.label-brand {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 4px;
}

.label-brand-sub {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.label-body {
    flex: 1;
    padding: 18px;
}

.label-category {
    margin-bottom: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange-deep);
}

.label-name {
    margin-bottom: 14px;
    font-size: 21px;
    line-height: 1.15;
}

.label-code-box {
    margin-bottom: 14px;
    padding: 12px;
    border: 2px dashed var(--orange-deep);
    border-radius: var(--radius);
    text-align: center;
}

.label-code-hint {
    display: block;
    margin-bottom: 4px;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #5a5a5a;
}

.label-code {
    display: block;
    font-size: 21px;
    letter-spacing: 1px;
    word-break: break-all;
}

.label-bars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 10px;
}

.label-bars span {
    width: 2px;
    height: 22px;
    background: var(--black-deep);
}

.label-bars span:nth-child(3n) {
    height: 15px;
}

.label-bars span:nth-child(4n) {
    height: 26px;
}

.label-bars span:nth-child(5n) {
    width: 4px;
}

.label-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 11px;
}

.label-meta dt {
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
}

.label-meta dd {
    font-weight: 700;
}

.label-foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 18px;
    background: var(--accent);
    color: var(--black-deep);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media print {

    @page {
        margin: 12mm;
    }

    .page-etiqueta {
        background: #fff;
        padding: 0;
    }

    .label-toolbar {
        display: none;
    }

    .label-sheet {
        max-width: none;
        grid-template-columns: repeat(2, 1fr);
        gap: 10mm;
    }

    .label-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}



