.blockimg {
    position: relative;
}

/* контейнер */
.product-badge-top {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

/* код товара */
.product-code {
    background: rgba(255,255,255,0.95);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
}

/* логотип */
.product-brand {
    background: #fff;
    padding: 6px;
    border-radius: 6px;
}

.product-brand img {
    max-height: 40px;
    max-width: 100px;
    object-fit: contain;
}

/* наличие */
.product-stock {
    background: #4caf50;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
}
/* Правая часть товара */
.product-sidebar {background:#fff;padding:20px;border-radius:12px}

.ps-btn-main {
    width:100%;
    background:#ff7a00;
    color:#fff;
    padding:14px;
    border:none;
    border-radius:8px;
    font-weight:600;
}

.ps-actions-row {
    display:flex;
    gap:10px;
    margin-top:10px;
}

.ps-btn {
    flex:1;
    padding:10px;
    border-radius:8px;
    border:1px solid #ddd;
    background:#f5f5f5;
}

.ps-btn.blue {background:#e8f0ff}

.ps-box {
    margin-top:15px;
    padding:12px;
    border:1px solid #eee;
    border-radius:8px;
}

.ps-features {
    display:flex;
    gap:10px;
    margin-top:10px;
    font-size:14px;
}

.ps-help {
    margin-top:15px;
    background:#f3f8f3;
    padding:10px;
    border-radius:8px;
}
.product-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
}

.right {
    position: sticky;
    top: 20px;
}
.product-page .product-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: start;
}

.product-page .product-left {
    min-width: 0;
}

.product-page .product-right {
    position: sticky;
    top: 20px;
}