.products {
    position: relative;
    z-index: 2;
    width: min(1080px, 100%);
    margin: 8px auto 0;
    padding-bottom: 8px;
}

.products h1 {
    margin: 18px 0 12px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.product {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 22px 20px 18px;
    border: 1px solid rgba(211, 173, 114, 0.72);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(211, 173, 114, 0.08), transparent 46%),
        rgba(0, 0, 0, 0.62);
}

.product h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
}

.product p {
    margin: 0;
    flex: 1;
    color: #d5d5d5;
    font-size: 15px;
    line-height: 1.5;
}

.product .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.product .cta { margin-top: 0; }

.product .ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255, 239, 212, 0.45);
    border-radius: 999px;
    color: #ffefd4;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.product .ghost:hover { color: #fff; border-color: #ffefd4; }

body:has(.products) .frame {
    z-index: 2;
    background: transparent;
}

.products-robot {
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: -70px;
    width: min(380px, 36vw);
    height: min(40vh, 420px);
    transform: translateX(-50%);
    pointer-events: none;
}

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

@media (max-width: 700px) {
    .product-grid { grid-template-columns: 1fr; }
    .products-robot {
        width: min(320px, 70vw);
        height: 42vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .products-robot { display: none; }
}
