.rd-pp-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 14px 0 30px;
    line-height: 1.25;
}
.rd-pp-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f0f2f5;
    font-size: 13px;
}
.rd-pp-meta-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.rd-pp-meta-label { color: #8a8a8a; font-size: 12px; }
.rd-pp-meta-item strong { color: #1a1a1a; font-weight: 600; text-align: right; }
.rd-pp-meta-item a { color: #1a5fb4; text-decoration: none; font-weight: 600; text-align: right; }
.rd-pp-meta-item a:hover { text-decoration: underline; }

/* ===== Top: gallery + buy ===== */
.rd-pp-top {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(710px, 5fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
}
@media (max-width: 991px) {
    .rd-pp-top { grid-template-columns: 1fr; gap: 20px; }
}

/* Gallery */
.rd-pp-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rd-pp-gallery-main {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    cursor: zoom-in;
}
.rd-pp-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    box-sizing: border-box;
    display: block;
    transition: opacity .15s ease;
}
.rd-pp-gallery-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: #1a5fb4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .12s ease, color .12s ease;
}
.rd-pp-gallery-zoom:hover { background: #1a5fb4; color: #fff; }

.rd-pp-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.rd-pp-gallery-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .15s ease;
}
.rd-pp-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    box-sizing: border-box;
    display: block;
}
.rd-pp-gallery-thumb:hover { border-color: #c4cdd9; }
.rd-pp-gallery-thumb.is-active {
    border-color: #1a5fb4;
    box-shadow: 0 0 0 2px rgba(26, 95, 180, .12);
}

/* Buy block */
.rd-pp-buy {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px;
    position: sticky;
    top: 100px;
}
@media (max-width: 991px) {
    .rd-pp-buy { position: static; }
}

.rd-pp-price { margin-bottom: 14px; }
.rd-pp-price-old {
    display: inline-block;
    color: #9aa5b5;
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 10px;
}
.rd-pp-price-new {
    display: block;
    color: #1a1a1a;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 2px;
}
.rd-pp-price-save {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #fde7e3;
    color: #d31700;
    font-size: 12px;
    font-weight: 600;
}

.rd-pp-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}
.rd-pp-stock.is-in  { background: #e6f4ec; color: #1a8a4e; }
.rd-pp-stock.is-out { background: #eef1f6; color: #5a6b80; }

.rd-pp-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.rd-pp-qty-label { color: #5a6b80; font-size: 13px; }
.rd-pp-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d4d8df;
    border-radius: 8px;
    overflow: hidden;
}
.rd-pp-qty-btn {
    width: 30px;
    height: 32px;
    background: #fff;
    border: 0;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
}
.rd-pp-qty-btn:hover { background: #f4f7fb; }
.rd-pp-qty-num {
    width: 36px;
    height: 32px;
    border: 0;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    background: #fff;
    padding: 0;
    box-sizing: border-box;
}
.rd-pp-qty-num:focus { outline: 0; }

.rd-pp-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rd-pp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 0;
    text-decoration: none;
    transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.rd-pp-btn--primary {
    background: #1a5fb4;
    color: #fff;
}
.rd-pp-btn--primary:hover { background: #154f93; color: #fff; }
.rd-pp-btn--ghost {
    background: #fff;
    color: #1a5fb4;
    border: 1px solid #1a5fb4;
}
.rd-pp-btn--ghost:hover { background: #eef3fb; }

.rd-pp-quote-note {
    color: #5a6b80;
    font-size: 14px;
    margin-bottom: 14px;
}

/* ===== Tabs ===== */
.rd-pp-tabs {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 32px;
    overflow: hidden;
}
.rd-pp-tabs-nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    border-bottom: 1px solid #e5e7eb;
    background: #fafbfc;
    scrollbar-width: thin;
}
.rd-pp-tab {
    flex: 0 0 auto;
    padding: 16px 22px;
    color: #5a6b80;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: color .12s ease, border-color .12s ease;
    white-space: nowrap;
}
.rd-pp-tab:hover { color: #1a5fb4; }
.rd-pp-tab.is-active {
    color: #1a5fb4;
    border-bottom-color: #1a5fb4;
    background: #fff;
}
.rd-pp-tabs-body { padding: 26px 28px; }
@media (max-width: 720px) {
    .rd-pp-tabs-body { padding: 20px; }
    .rd-pp-tab { padding: 14px 16px; font-size: 13px; }
}

.rd-pp-tab-panel { display: none; }
.rd-pp-tab-panel.is-active { display: block; }

.rd-pp-prose { color: #1a1a1a; font-size: 15px; line-height: 1.6; }
.rd-pp-prose p { margin: 0 0 12px; }
.rd-pp-prose ul, .rd-pp-prose ol { margin: 0 0 12px; padding-left: 22px; }
.rd-pp-prose li { margin-bottom: 4px; }
.rd-pp-prose h2, .rd-pp-prose h3 { color: #1a1a1a; margin: 18px 0 10px; }
.rd-pp-prose h2 { font-size: 18px; }
.rd-pp-prose h3 { font-size: 16px; }
.rd-pp-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.rd-pp-prose a { color: #1a5fb4; }
.rd-pp-prose h1.desc-title,
.rd-pp-prose h2.desc-title,
.rd-pp-prose h3.desc-title,
.rd-pp-prose h4.desc-title,
.rd-pp-prose h5.desc-title,
.rd-pp-prose h6.desc-title { color: #fff; margin: 0; }
.rd-pp-prose .desc-right-col { margin: 0; }

/* Video */
.rd-pp-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 18px 0 4px;
}
.rd-pp-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.rd-pp-video iframe {
    border-radius: 8px;
}
.rd-pp-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Software shots */
.rd-pp-soft-shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}
@media (max-width: 720px) {
    .rd-pp-soft-shots { grid-template-columns: repeat(2, 1fr); }
}
.rd-pp-soft-shot {
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0;
    cursor: zoom-in;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.rd-pp-soft-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rd-pp-soft-shot:hover { border-color: #1a5fb4; }

/* Specs */
.rd-pp-specs {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
}
.rd-pp-specs-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 2fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px dashed #e5e7eb;
    font-size: 14px;
}
.rd-pp-specs-row:last-child { border-bottom: 0; }
.rd-pp-specs-row dt { color: #5a6b80; margin: 0; }
.rd-pp-specs-row dd { color: #1a1a1a; margin: 0; font-weight: 500; }
@media (max-width: 560px) {
    .rd-pp-specs-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Documents */
.rd-pp-docs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (max-width: 720px) { .rd-pp-docs { grid-template-columns: 1fr; } }
.rd-pp-doc a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    transition: background .12s ease, border-color .12s ease;
}
.rd-pp-doc a:hover { background: #f4f7fb; border-color: #c4cdd9; }
.rd-pp-doc-icon {
    flex: 0 0 44px;
    height: 44px;
    background: #1a5fb4;
    color: #fff;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .5px;
}
.rd-pp-doc-icon[data-ext="pdf"]  { background: #d31700; }
.rd-pp-doc-icon[data-ext="doc"],
.rd-pp-doc-icon[data-ext="docx"] { background: #1a5fb4; }
.rd-pp-doc-icon[data-ext="xls"],
.rd-pp-doc-icon[data-ext="xlsx"] { background: #1a8a4e; }
.rd-pp-doc-body { flex: 1 1 auto; min-width: 0; }
.rd-pp-doc-title { display: block; color: #1a1a1a; font-weight: 600; font-size: 14px; }
.rd-pp-doc-size { display: block; color: #8a8a8a; font-size: 12px; margin-top: 2px; }
.rd-pp-doc-download { color: #1a5fb4; flex: 0 0 auto; }

/* Related */
.rd-pp-related { margin-bottom: 40px; margin-top: 8px; }

/* Lightbox */
.rd-pp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(15, 22, 36, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 70px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}
.rd-pp-lightbox.is-open { opacity: 1; pointer-events: auto; }
.rd-pp-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.rd-pp-lightbox-close,
.rd-pp-lightbox-prev,
.rd-pp-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .12s ease;
}
.rd-pp-lightbox-close { top: 20px; right: 20px; }
.rd-pp-lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.rd-pp-lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.rd-pp-lightbox-close:hover,
.rd-pp-lightbox-prev:hover,
.rd-pp-lightbox-next:hover { background: rgba(255, 255, 255, .22); }
@media (max-width: 560px) {
    .rd-pp-lightbox { padding: 50px 12px; }
    .rd-pp-lightbox-prev  { left: 8px; }
    .rd-pp-lightbox-next  { right: 8px; }
}
