/* Catálogo /produtos + player de demonstração (camada aditiva) */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cat-page-hero .cat-search {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 18px 0 12px;
    max-width: 560px;
}
.cat-page-hero .cat-search input[type="search"] {
    flex: 1 1 220px;
    min-height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    font: inherit;
    background: #fff;
}
.cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.cat-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}
.cat-chip.is-on {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}
.cat-page-grid {
    padding-top: 12px;
}

.ig-demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 8px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    padding: 10px;
    background: #fff;
    color: #0f172a;
    font-family: inherit;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}
.ig-demo-btn:hover { background: #f8fafc; }
a.ig-demo-btn { text-decoration: none; }
.ig-card.theme-purple .ig-demo-btn { color: #7c3aed; border-color: rgba(139, 0, 255, 0.25); }
.ig-card.theme-cyan .ig-demo-btn { color: #0891b2; border-color: rgba(8, 145, 178, 0.25); }
.ig-card.theme-red .ig-demo-btn { color: #e11d48; border-color: rgba(225, 29, 72, 0.25); }
.ig-card.theme-green .ig-demo-btn { color: #15803d; border-color: rgba(21, 128, 61, 0.25); }
.ig-card.theme-orange .ig-demo-btn { color: #c2410c; border-color: rgba(194, 65, 12, 0.25); }

.ig-demo-inline {
    margin: 16px 0 22px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 16px 16px;
    background: #fff;
}
.ig-demo-inline h2 {
    margin: 0 0 10px;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ig-demo-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 16px;
}
.ig-demo-modal[hidden] { display: none; }
.ig-demo-scrim {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}
.ig-demo-box {
    position: relative;
    width: min(920px, calc(100vw - 24px));
    max-height: min(100dvh, 100vh);
    overflow: auto;
    background: #0b1220;
    color: #fff;
    border-radius: 18px;
    padding: 18px 18px 14px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.4);
}
.ig-demo-kicker {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #94a3b8;
}
.ig-demo-box h2 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
}
.ig-demo-x {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.ig-demo-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}
.ig-demo-tabs button {
    flex: 1;
    border: 0;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #1e293b;
    color: #cbd5e1;
    cursor: pointer;
}
.ig-demo-tabs button[aria-selected="true"] {
    background: linear-gradient(90deg, #7c3aed, #0891b2);
    color: #fff;
}
.ig-demo-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(70dvh, 70vh);
    border-radius: 12px;
    overflow: hidden;
    background: #020617 center / cover no-repeat;
}
.ig-demo-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    background: #000;
    z-index: 1;
}
.ig-demo-stage.is-playing .ig-demo-video { z-index: 2; }
.ig-demo-stage.is-playing .ig-demo-play,
.ig-demo-play[hidden] { display: none !important; }
.ig-demo-play {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    background: rgba(2, 6, 23, 0.28);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}
.ig-demo-play-ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(90deg, #7c3aed, #0891b2);
    font-size: 22px;
    padding-left: 4px;
}
.ig-demo-empty {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: none;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
    background: #0f172a;
}
.ig-demo-empty.is-visible {
    display: grid;
}
.ig-demo-empty[hidden] {
    display: none !important;
}
.ig-demo-wait {
    position: absolute;
    inset: auto 12px 12px auto;
    z-index: 5;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.75);
    font-size: 12px;
}
.ig-demo-wait[hidden] {
    display: none !important;
}
.ig-demo-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.ig-demo-bar[hidden] {
    display: none !important;
}
.ig-demo-bar button {
    border: 0;
    background: #1e293b;
    color: #fff;
    border-radius: 8px;
    min-width: 36px;
    min-height: 36px;
    cursor: pointer;
}
.ig-demo-bar input[type="range"] { flex: 1; }
.ig-demo-bar input[data-demo-volume] { flex: 0 0 72px; }

.ig-demo-soon {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}
.showcase-more {
    margin: 18px 0 8px;
    text-align: center;
}

@media (max-width: 720px) {
    .ig-demo-box { padding: 14px 12px 12px; }
    .ig-demo-play-ico { width: 52px; height: 52px; }
}
