.productos-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 90px;
    background: #030713;
    color: #ffffff;
}

.productos-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.productos-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 7, 19, 0.96) 0%, rgba(3, 7, 19, 0.78) 42%, rgba(3, 7, 19, 0.18) 100%),
        linear-gradient(180deg, transparent 0%, #030713 100%);
}

.inventory-shelves {
    position: absolute;
    inset: 0;
    opacity: 0.95;
}

.shelf {
    position: absolute;
    right: 4%;
    width: 48%;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 24px rgba(51, 136, 255, 0.18);
}

.shelf-a { bottom: 28%; }
.shelf-b { bottom: 52%; }

.product-box {
    position: absolute;
    width: 112px;
    height: 92px;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(51, 136, 255, 0.22), rgba(255, 255, 255, 0.04));
    box-shadow: 0 0 30px rgba(51, 136, 255, 0.14);
    animation: product-float 5s ease-in-out infinite;
}

.product-box::before {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    top: 18px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 22px rgba(255, 255, 255, 0.42);
}

.product-box i {
    position: absolute;
    right: 14px;
    bottom: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #22c55e;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.42);
}

.box-a { right: 38%; bottom: 29%; }
.box-b { right: 22%; bottom: 53%; animation-delay: 1s; }
.box-c { right: 8%; bottom: 29%; animation-delay: 2s; }

.scan-beam {
    position: absolute;
    top: 14%;
    right: 31%;
    width: 2px;
    height: 70%;
    background: linear-gradient(180deg, transparent, rgba(102, 170, 255, 0.85), transparent);
    box-shadow: 0 0 28px rgba(102, 170, 255, 0.7);
    animation: inventory-scan 6s linear infinite;
}

.inventory-tag {
    position: absolute;
    right: 13%;
    padding: 8px 12px;
    border: 1px solid rgba(102, 170, 255, 0.52);
    border-radius: 8px;
    background: rgba(0, 68, 204, 0.18);
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    animation: tag-pulse 4s ease-in-out infinite;
}

.tag-a { top: 24%; }
.tag-b { top: 65%; right: 29%; animation-delay: 1.8s; }

.productos-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
    gap: 58px;
    align-items: center;
}

.productos-hero-copy {
    position: relative;
    padding: 32px 0;
}

.productos-hero-copy::before {
    content: '';
    position: absolute;
    inset: -28px -38px;
    z-index: -1;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(3, 7, 19, 0.94), rgba(3, 7, 19, 0.78), rgba(3, 7, 19, 0.22));
    box-shadow: 0 0 70px rgba(3, 7, 19, 0.88);
}

.productos-hero-copy h1 {
    font-size: 4rem;
    line-height: 1.05;
    margin-bottom: 24px;
}

.productos-hero-copy p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.16rem;
}

.inventory-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.inventory-summary div,
.inventory-panel {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.inventory-summary div {
    padding: 18px;
}

.inventory-summary strong {
    display: block;
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.inventory-summary span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.inventory-panel {
    overflow: hidden;
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.42);
}

.inventory-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.inventory-panel-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f04444;
}

.inventory-panel-header span:nth-child(2) { background: #f59e0b; }
.inventory-panel-header span:nth-child(3) { background: #22c55e; }
.inventory-panel-header strong { margin-left: auto; font-size: 0.88rem; }

.inventory-terminal {
    display: grid;
    gap: 12px;
    padding: 22px;
    font-family: 'Courier New', monospace;
}

.inventory-terminal code {
    color: #9cc9ff;
    text-shadow: 0 0 12px currentColor;
    animation: terminal-blink 4.8s ease-in-out infinite;
}

.inventory-terminal code:nth-child(2) { color: #22c55e; animation-delay: 0.8s; }
.inventory-terminal code:nth-child(3) { color: #ffffff; animation-delay: 1.6s; }
.inventory-terminal code:nth-child(4) { color: #f59e0b; animation-delay: 2.4s; }

.productos-section {
    background: linear-gradient(180deg, var(--surface-strong), var(--section-bg));
}

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

.product-toolbar h2 {
    font-size: 2.4rem;
    line-height: 1.1;
}

.toolbar-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--card-bg);
    color: var(--text-color);
    font-weight: 800;
    box-shadow: var(--shadow);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success-color);
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.12);
}

.product-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 34px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-showcase.product-card-active {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(0, 68, 204, 0.16);
}

.product-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.product-badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 68, 204, 0.1);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.product-badge.light {
    background: var(--section-bg);
    color: var(--text-color);
}

.product-badge.success {
    background: rgba(34, 197, 94, 0.12);
    color: var(--success-color);
}

.product-main h3 {
    font-size: 2.6rem;
    line-height: 1.05;
    margin-bottom: 16px;
}

.product-main > p {
    max-width: 820px;
    color: var(--text-light);
    font-size: 1.08rem;
}

.product-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.product-feature-grid div,
.product-status-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--surface-soft);
}

.product-feature-grid div {
    padding: 20px;
}

.product-feature-grid i {
    color: var(--primary-color);
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.product-feature-grid strong,
.product-feature-grid span {
    display: block;
}

.product-feature-grid span {
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.94rem;
}

.product-side {
    display: grid;
    gap: 14px;
    align-content: start;
}

.product-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border-radius: 8px;
    background: var(--gradient-1);
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
}

.product-code-button {
    border: 0;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.product-code-button:hover,
.product-code-button:focus-visible {
    color: #ffffff;
    transform: translateY(-3px);
    filter: brightness(1.08);
    box-shadow: 0 14px 30px rgba(0, 68, 204, 0.28);
}

.product-code-button i {
    font-size: 0.92rem;
}

.product-status-card {
    padding: 18px;
}

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

.product-status-card span {
    color: var(--text-light);
    font-size: 0.86rem;
    margin-bottom: 6px;
}

.product-detail-band {
    background: linear-gradient(180deg, var(--section-blue), var(--section-bg));
    border-top: 1px solid var(--border-color);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 44px;
    align-items: center;
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.product-detail-grid h2 {
    font-size: 2.2rem;
    line-height: 1.12;
    margin-bottom: 16px;
}

.product-detail-grid p {
    color: var(--text-light);
}

.detail-checklist {
    display: grid;
    gap: 12px;
}

.detail-checklist span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--surface-soft);
    font-weight: 700;
}

.detail-checklist i {
    color: var(--success-color);
}

@keyframes product-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes inventory-scan {
    0% { right: 47%; opacity: 0; }
    10%, 80% { opacity: 1; }
    100% { right: 2%; opacity: 0; }
}

@keyframes tag-pulse {
    0%, 100% { opacity: 0.56; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-6px); }
}

@keyframes terminal-blink {
    0%, 100% { opacity: 0.46; }
    50% { opacity: 1; }
}

@media (max-width: 992px) {
    .productos-hero-grid,
    .product-showcase,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

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

    .inventory-shelves {
        transform: scale(0.82);
        transform-origin: right bottom;
        opacity: 0.65;
    }
}

@media (max-width: 768px) {
    .productos-hero {
        min-height: auto;
        padding: 122px 0 70px;
    }

    .productos-hero-copy h1 {
        font-size: 2.35rem;
    }

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

    .product-toolbar {
        display: grid;
    }

    .product-main h3 {
        font-size: 2rem;
    }

    .product-showcase,
    .product-detail-grid {
        padding: 24px;
    }
}
