/* Product detail — rtl-theme style */

.pd-page {
    --pd-bg: #f6f7f9;
    --pd-card: #fff;
    --pd-ink: #3c4354;
    --pd-muted: #8b919a;
    --pd-line: #e8eaee;
    --pd-brand: #8ed557;
    --pd-brand-mid: #7fc945;
    --pd-brand-dark: #62a832;
    --pd-brand-soft: #f2fae8;
    --pd-orange: #ff9f0a;
    --pd-radius: 14px;
    --pd-shadow: 0 6px 22px rgba(60, 67, 84, .07);
    --pd-side: 332px;
    background: var(--pd-bg);
    padding: 1rem 0 5rem;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    color: var(--pd-ink);
}

.pd-page .container {
    width: min(1180px, 94%);
    margin-inline: auto;
}

.pd-page .sc-svg,
.pd-page svg {
    flex-shrink: 0;
}

/* Breadcrumbs */
.pd-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    color: var(--pd-muted);
    font-size: .8rem;
    margin-bottom: .85rem;
}
.pd-crumbs a { color: var(--pd-muted); }
.pd-crumbs a:hover { color: var(--pd-brand-dark); }
.pd-crumbs .sep { opacity: .4; }

/* Title */
.pd-head {
    display: block;
    margin-bottom: .85rem;
}

.pd-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 800;
    color: var(--pd-ink);
    line-height: 1.5;
    max-width: 52rem;
}

.pd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .55rem;
}

.pd-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    border-radius: 999px;
    padding: .26rem .7rem;
    font-size: .76rem;
    font-weight: 700;
    background: #fff;
    border: 1px solid var(--pd-line);
    color: #556;
}
.pd-badge.version { color: #2563eb; border-color: #dbeafe; background: #eff6ff; }
.pd-badge.offer {
    color: #9a6700;
    border-color: #f5d78e;
    background: linear-gradient(180deg, #fff8e1, #fff3c4);
}
.pd-badge.type { color: var(--pd-brand-dark); border-color: #d7efb4; background: var(--pd-brand-soft); }
.pd-badge.featured { color: #6d28d9; border-color: #ddd6fe; background: #f5f3ff; }

.pd-medals {
    --pd-medal-gap: .42rem;
    margin: .55rem 1rem .35rem;
    max-width: 100%;
}
.pd-medals__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--pd-medal-gap);
}
.pd-medal {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--pb-bg, #eef2ff);
    color: var(--pb-ink, #334155);
    box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 6px 16px rgba(15, 23, 42, .06);
    cursor: default;
    outline: none;
    font: inherit;
    transition: transform .18s ease, box-shadow .18s ease;
    z-index: 1;
}
.pd-medal:hover,
.pd-medal:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 10px 22px rgba(15, 23, 42, .1);
    z-index: 6;
}
.pd-medal__ico {
    display: grid;
    place-items: center;
    width: 58%;
    height: 58%;
    max-width: 22px;
    max-height: 22px;
}
.pd-medal__ico svg {
    width: 100%;
    height: 100%;
    display: block;
}
.pd-medal__tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    white-space: nowrap;
    width: max-content;
    max-width: min(180px, 72vw);
    text-align: center;
    padding: .36rem .6rem;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.35;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 40;
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.pd-medal__tip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #111827;
}
.pd-medal:hover .pd-medal__tip,
.pd-medal:focus-visible .pd-medal__tip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.pd-medal:nth-child(6n + 1) .pd-medal__tip {
    left: auto;
    right: 0;
    transform: translateY(4px);
}
.pd-medal:nth-child(6n + 1) .pd-medal__tip::after {
    left: auto;
    right: 12px;
    transform: none;
}
.pd-medal:nth-child(6n + 1):hover .pd-medal__tip,
.pd-medal:nth-child(6n + 1):focus-visible .pd-medal__tip {
    transform: translateY(0);
}
.pd-medal:nth-child(6n) .pd-medal__tip {
    left: 0;
    right: auto;
    transform: translateY(4px);
}
.pd-medal:nth-child(6n) .pd-medal__tip::after {
    left: 12px;
    right: auto;
    transform: none;
}
.pd-medal:nth-child(6n):hover .pd-medal__tip,
.pd-medal:nth-child(6n):focus-visible .pd-medal__tip {
    transform: translateY(0);
}
.pd-medals.is-collapsed .pd-medal:nth-child(n + 13) {
    display: none;
}
.pd-medals.is-open .pd-medal:nth-child(n + 13) {
    animation: pdMedalIn .32s cubic-bezier(.2, .8, .2, 1) both;
    animation-delay: calc((var(--n, 12) - 12) * 32ms);
}
@keyframes pdMedalIn {
    from { opacity: 0; transform: translateY(8px) scale(.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.pd-medals__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    width: 100%;
    margin-top: .55rem;
    padding: .48rem .7rem;
    border: 1px dashed #d7e4cc;
    border-radius: 12px;
    background: #f6faf2;
    color: #3f7a18;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.pd-medals__more:hover,
.pd-medals__more:focus-visible {
    background: #eaf8df;
    border-color: #b7d992;
    outline: none;
}
.pd-medals__more em {
    font-style: normal;
    background: #fff;
    border-radius: 999px;
    padding: .05rem .4rem;
    font-size: .72rem;
    color: #2f6f14;
}
.pd-medals__more svg {
    transition: transform .22s ease;
}
.pd-medals.is-open .pd-medals__more svg {
    transform: rotate(180deg);
}
.pd-medals.is-open .pd-medals__more em {
    display: none;
}

.pd-offer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem 1.2rem;
    flex-wrap: wrap;
    background:
        radial-gradient(120% 160% at 0% 0%, rgba(255, 255, 255, .55), transparent 50%),
        linear-gradient(105deg, #fff7ed 0%, #ffedd5 45%, #fde68a 100%);
    border: 1px solid #f0c36a;
    border-radius: 16px;
    padding: .85rem 1rem;
    box-shadow: 0 12px 28px rgba(180, 83, 9, .12);
    margin-bottom: .95rem;
    position: relative;
    overflow: hidden;
}
.pd-offer-bar::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -30%;
    width: 35%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-18deg);
    animation: pdOfferShine 2.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes pdOfferShine {
    0% { left: -35%; opacity: 0; }
    25% { opacity: 1; }
    55%, 100% { left: 110%; opacity: 0; }
}
.pd-offer-bar.is-ended {
    opacity: .7;
    filter: grayscale(.35);
}
.pd-offer-bar.is-ended::before { animation: none; }
.pd-offer-bar .offer-copy {
    display: grid;
    gap: .4rem;
    min-width: 0;
}
.pd-offer-bar .offer-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 900;
    font-size: .98rem;
    color: #9a3412;
}
.pd-offer-bar .offer-label .star {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fde68a, #f59e0b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .95rem;
    box-shadow: 0 6px 14px rgba(245, 158, 11, .35);
}
.pd-offer-bar .offer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .45rem .7rem;
}
.pd-offer-bar .offer-off {
    font-size: .78rem;
    font-weight: 800;
    color: #fff;
    background: #ea580c;
    border-radius: 999px;
    padding: .2rem .55rem;
}
.pd-offer-bar .offer-price {
    font-size: 1.05rem;
    font-weight: 900;
    color: #9a3412;
}
.pd-offer-bar .offer-old {
    font-size: .84rem;
    color: #a16207;
    text-decoration: line-through;
    opacity: .8;
}

.pd-countdown {
    display: flex;
    align-items: center;
    gap: .35rem;
    direction: ltr;
}
.pd-countdown .digit {
    min-width: 48px;
    text-align: center;
    background: #18181b;
    color: #fff;
    border-radius: 12px;
    padding: .4rem .25rem .35rem;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.05;
    box-shadow: inset 0 -2px 0 rgba(255,255,255,.08);
}
.pd-countdown .digit b {
    display: block;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
.pd-countdown .digit small {
    display: block;
    font-size: .58rem;
    font-weight: 700;
    opacity: .7;
    margin-top: .12rem;
}
.pd-countdown .digit.is-tick {
    animation: pdDigitPop .28s ease;
}
@keyframes pdDigitPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); background: #292524; }
    100% { transform: scale(1); }
}
.pd-countdown .colon {
    color: #9a3412;
    font-weight: 900;
    font-size: 1.05rem;
}

.pd-side-offer {
    margin: 0 1rem .85rem;
    padding: .7rem .8rem;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff7ed, #ffedd5);
    border: 1px solid #fdba74;
}
.pd-side-offer .lbl {
    font-size: .76rem;
    font-weight: 800;
    color: #9a3412;
    margin-bottom: .45rem;
    text-align: center;
}
.pd-side-offer .pd-countdown.mini .digit {
    min-width: 40px;
    font-size: .88rem;
    border-radius: 10px;
    padding: .3rem .15rem;
}
.pd-side-offer .pd-countdown {
    justify-content: center;
}

/* Layout: main (right) | sidebar (left) in RTL */
.pd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--pd-side);
    gap: 1.15rem;
    align-items: start;
}
.pd-main { min-width: 0; }
.pd-side {
    position: sticky;
    top: 100px;
    display: grid;
    gap: .85rem;
}

.pd-card {
    background: var(--pd-card);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    box-shadow: var(--pd-shadow);
}

/* Hero */
.pd-hero { overflow: hidden; }
.pd-hero-media {
    position: relative;
    aspect-ratio: 911 / 451;
    background:
        radial-gradient(circle at 18% 18%, rgba(142, 213, 87, .28), transparent 42%),
        radial-gradient(circle at 85% 12%, rgba(255, 159, 10, .18), transparent 38%),
        linear-gradient(150deg, #162033 0%, #0b1220 55%, #1a2740 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pd-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background:
        radial-gradient(circle at 18% 18%, rgba(142, 213, 87, .18), transparent 42%),
        linear-gradient(150deg, #111827 0%, #0b1220 100%);
}

.pd-hero-stage {
    width: min(920px, 94%);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 1rem;
    align-items: center;
    color: #fff;
    padding: 1rem;
}
.pd-hero-copy h2 {
    margin: 0 0 .55rem;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 800;
    line-height: 1.4;
}
.pd-hero-copy p {
    margin: 0 0 .85rem;
    opacity: .82;
    font-size: .9rem;
    line-height: 1.7;
}
.pd-hero-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .4rem;
}
.pd-hero-points li {
    display: flex;
    gap: .45rem;
    align-items: center;
    font-size: .84rem;
    font-weight: 600;
}
.pd-hero-points li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pd-brand);
    box-shadow: 0 0 0 3px rgba(142, 213, 87, .25);
    flex-shrink: 0;
}
.pd-hero-visual {
    justify-self: center;
    width: min(200px, 100%);
    aspect-ratio: 1;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .16);
    display: grid;
    place-items: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 20px 40px rgba(0, 0, 0, .35);
}
.pd-hero-visual .mark {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    background: linear-gradient(145deg, #8ed557, #68b034);
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(104, 176, 52, .45);
}

.pd-float-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(127, 201, 69, .95);
    color: #fff;
    border-radius: 999px;
    padding: .4rem .8rem;
    font-size: .78rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

/* Media toolbar */
.pd-media-bar {
    display: flex;
    gap: .5rem;
    padding: .75rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--pd-line);
    background: #fafbfc;
}
.pd-media-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    padding: 0 .9rem;
    border-radius: 12px;
    border: 1px solid var(--pd-line);
    background: #fff;
    color: var(--pd-ink);
    font-weight: 700;
    font-size: .84rem;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
}
.pd-media-btn svg { opacity: .9; }
.pd-media-btn.preview {
    background: linear-gradient(180deg, #ffb03a, var(--pd-orange));
    border-color: var(--pd-orange);
    color: #fff;
    flex: 1;
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(255, 159, 10, .22);
}
.pd-media-btn.preview svg { color: #fff; }
.pd-media-btn.icon-only {
    width: 44px;
    padding: 0;
}
.pd-media-btn:hover {
    border-color: var(--pd-brand-mid);
    color: var(--pd-brand-dark);
}
.pd-media-btn.preview:hover {
    filter: brightness(.97);
    color: #fff;
}
.pd-media-btn.is-disabled,
.pd-media-btn:disabled {
    opacity: .42;
    pointer-events: none;
}
.pd-media-btn.is-active {
    border-color: #d7efb4;
    background: var(--pd-brand-soft);
    color: var(--pd-brand-dark);
}
.pd-media-bar form { margin: 0; }

/* Tabs */
.pd-tabs-wrap {
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}
.pd-tabs-sentinel { height: 1px; margin: 0; padding: 0; }
.pd-tabs-wrap.is-stuck .pd-tabs {
    position: sticky;
    top: 72px;
    z-index: 20;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(60, 67, 84, .08);
    border-radius: 0;
    margin: 0;
    border-bottom: 1px solid var(--pd-line);
}

.pd-tabs {
    position: relative;
    display: flex;
    gap: .35rem;
    margin: .7rem .75rem 0;
    padding: .35rem;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(132, 204, 22, .08), transparent 42%),
        #f4f6f8;
    border: 1px solid #e8ecf1;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tab-ink {
    position: absolute;
    top: .35rem;
    left: 0;
    height: calc(100% - .7rem);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(60, 67, 84, .1);
    transition: left .28s cubic-bezier(.22, 1, .36, 1), width .28s cubic-bezier(.22, 1, .36, 1);
    z-index: 0;
    pointer-events: none;
}
.pd-tab {
    appearance: none;
    border: 0;
    background: transparent;
    padding: .72rem .95rem;
    font-weight: 700;
    color: var(--pd-muted);
    cursor: pointer;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    border-radius: 12px;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    scroll-snap-align: start;
    transition: color .2s ease;
}
.pd-tab-ico {
    display: inline-flex;
    opacity: .72;
}
.pd-tab .count {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    padding: 0 .35rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: .7rem;
    align-items: center;
    justify-content: center;
}
.pd-tab.active { color: var(--pd-brand-dark); }
.pd-tab.active .pd-tab-ico { opacity: 1; color: var(--pd-brand); }
.pd-tab-panels { padding: 1.15rem 1.15rem 1.45rem; }
.pd-panel { display: none; }
.pd-panel.active {
    display: block;
    animation: pdFade .28s ease;
}
@keyframes pdFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.pd-desc-shell { position: relative; }
.pd-content {
    color: #4b5563;
    line-height: 1.95;
    font-size: .97rem;
}
.pd-content .pd-lead {
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(132, 204, 22, .16), transparent 55%),
        linear-gradient(180deg, #f8faf7, #fff);
    border: 1px solid #e4efd4;
    color: var(--pd-ink);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.7;
    text-align: right;
}
.pd-content .pd-excerpt {
    margin: 0 0 1rem;
    padding: .85rem 1rem;
    border-radius: 14px;
    background: #f7f8fa;
    border: 1px dashed #d9dee7;
    color: #374151;
    font-weight: 600;
}
.pd-content h2,
.pd-content h3 {
    color: var(--pd-ink);
    margin: 1.45rem 0 .65rem;
    font-weight: 800;
    font-size: 1.05rem;
    position: relative;
    padding-inline-start: .75rem;
}
.pd-content h2::before,
.pd-content h3::before {
    content: "";
    position: absolute;
    right: 0;
    top: .35em;
    width: 4px;
    height: .9em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--pd-brand), #65a30d);
}
.pd-content h2:first-child,
.pd-content h3:first-child,
.pd-content .pd-lead + h2,
.pd-content .pd-lead + h3 { margin-top: .35rem; }
.pd-content p { margin: 0 0 .9rem; }
.pd-content ul:not(.pd-checklist) {
    margin: 0 0 1rem;
    padding-inline-start: 1.15rem;
}
.pd-content li { margin: .32rem 0; }
.pd-content .pd-checklist {
    list-style: none;
    margin: 1rem 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}
.pd-content .pd-checklist li {
    margin: 0;
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    padding: .75rem .85rem;
    border-radius: 14px;
    background: #fbfcfd;
    border: 1px solid #e8ecf1;
    font-size: .9rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.65;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pd-content .pd-checklist li:hover {
    border-color: #c8e29a;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(60, 67, 84, .06);
}
.pd-content .pd-checklist li::before {
    content: "";
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .15rem;
    flex-shrink: 0;
    border-radius: 999px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365a30d' stroke-width='2.6'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat,
        #eef8d8;
}
.pd-content img,
.pd-content video {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 16px;
    display: block;
    margin: 1rem auto;
    box-shadow: 0 12px 30px rgba(60, 67, 84, .08);
}
.pd-content .pd-figure {
    margin: 1.15rem 0 1.4rem;
}
.pd-content .pd-figure img {
    margin: 0 auto;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}
.pd-content .pd-figure figcaption {
    margin-top: .5rem;
    text-align: center;
    color: #6b7280;
    font-size: .82rem;
    font-weight: 700;
}
.pd-content .pd-callout {
    margin: 1rem 0 1.25rem;
    padding: .95rem 1.05rem;
    border-right: 3px solid #7fc945;
    background: #f3faeb;
    border-radius: 0 14px 14px 0;
    color: #3f5a28;
}
.pd-content .vpf-callout {
    margin: 1rem 0 1.25rem;
    padding: .95rem 1.05rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: .92rem;
    line-height: 1.75;
}
.pd-content .vpf-callout.is-tip {
    background: linear-gradient(135deg, #f0f8e6, #e8f4fc);
    border-color: #c5e0a8;
    color: #35522a;
}
.pd-content .vpf-callout.is-warn {
    background: linear-gradient(135deg, #fff6e8, #fff1e4);
    border-color: #f0c98a;
    color: #6b4310;
}
.pd-content .vpf-callout.is-ok {
    background: linear-gradient(135deg, #e9f7ef, #eef8e4);
    border-color: #9fd4b0;
    color: #1f5a38;
}
.pd-content .vpf-rich-hr {
    border: 0;
    height: 1px;
    margin: 1.35rem 0;
    background: linear-gradient(90deg, transparent, #c9d9b4, transparent);
}
.pd-content .vpf-code {
    margin: 1rem 0 1.25rem;
    padding: .95rem 1.05rem;
    border-radius: 12px;
    background: #1e241c;
    color: #e4f0d8;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .84rem;
    line-height: 1.7;
    direction: ltr;
    text-align: left;
}
.pd-content .vpf-code code {
    font: inherit;
    color: inherit;
    background: none;
}
.pd-content table {
    width: 100% !important;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}
.pd-content iframe { max-width: 100%; }
.pd-content.is-clamped {
    max-height: 460px;
    overflow: hidden;
}
.pd-more-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: -.35rem;
    padding-top: 2.4rem;
}
.pd-desc-shell:has(.pd-content.is-clamped) .pd-more-wrap::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: -4.5rem;
    height: 4.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0), #fff 78%);
    pointer-events: none;
}
.pd-more-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid #d9e6c2;
    background: linear-gradient(180deg, #fff, #f7fbee);
    border-radius: 999px;
    padding: .62rem 1.2rem;
    font-weight: 800;
    font-size: .86rem;
    cursor: pointer;
    color: var(--pd-brand-dark);
    box-shadow: 0 8px 20px rgba(101, 163, 13, .1);
    transition: transform .2s ease, box-shadow .2s ease;
}
.pd-more-btn svg { transition: transform .25s ease; }
.pd-more-btn.is-open svg { transform: rotate(180deg); }
.pd-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(101, 163, 13, .16);
}
.pd-more-wrap.is-hidden { display: none; }

.pd-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .7rem;
    margin: 1.35rem 0 .55rem;
}
.pd-section-head h3 {
    margin: 0;
    padding-inline-start: .75rem;
    position: relative;
    color: var(--pd-ink);
    font-size: 1.05rem;
    font-weight: 800;
}
.pd-section-head h3::before {
    content: "";
    position: absolute;
    right: 0;
    top: .35em;
    width: 4px;
    height: .9em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--pd-brand), #65a30d);
}
.pd-section-head span {
    color: var(--pd-muted);
    font-size: .78rem;
    font-weight: 700;
}

.pd-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: .7rem;
    margin: .35rem 0 1.2rem;
}
.pd-feature {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    padding: .9rem;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fafbfc);
    transition: transform .2s ease, border-color .2s ease;
}
.pd-feature:hover {
    transform: translateY(-2px);
    border-color: #cfe8a8;
}
.pd-feature .ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--pd-brand-soft);
    color: var(--pd-brand-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pd-feature strong {
    display: block;
    color: var(--pd-ink);
    font-size: .9rem;
}
.pd-feature span {
    color: var(--pd-muted);
    font-size: .8rem;
}

.pd-compat,
.pd-tags,
.pd-extra {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--pd-line);
}
.pd-compat .pd-section-head,
.pd-tags .pd-section-head,
.pd-extra .pd-section-head { margin-top: 0; }
.pd-compat ul {
    list-style: none;
    margin: .5rem 0 0;
    padding: 0;
    display: grid;
    gap: .4rem;
}
.pd-compat li {
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: .55rem .7rem;
    border-radius: 12px;
    background: #f7f8fa;
    border: 1px solid var(--pd-line);
    font-size: .88rem;
    font-weight: 600;
}
.pd-compat li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pd-brand);
    flex-shrink: 0;
}

.pd-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .35rem;
}
.pd-tag {
    display: inline-flex;
    padding: .38rem .8rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, #f5f7f9);
    border: 1px solid #e5e9ef;
    font-size: .8rem;
    font-weight: 700;
    color: #4b5563;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.pd-tag:hover {
    border-color: #c8e29a;
    color: var(--pd-brand-dark);
    transform: translateY(-1px);
}

.pd-extra-item {
    display: flex;
    justify-content: space-between;
    gap: .7rem;
    align-items: center;
    flex-wrap: wrap;
    padding: .7rem .8rem;
    border: 1px dashed #d8efb8;
    border-radius: 12px;
    background: var(--pd-brand-soft);
    margin-top: .5rem;
}
.pd-extra-item strong { color: var(--pd-ink); }
.pd-extra-item .price {
    color: var(--pd-brand-dark);
    font-weight: 800;
}

/* Gallery block */
.pd-gallery-block {
    margin-top: 1.5rem;
    padding: 1.1rem;
    border-radius: 18px;
    background:
        radial-gradient(90% 120% at 0% 0%, rgba(132, 204, 22, .1), transparent 50%),
        linear-gradient(180deg, #fbfcfb, #f6f8fa);
    border: 1px solid #e6ebf0;
}
.pd-gallery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
    margin-bottom: .9rem;
}
.pd-gallery-head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--pd-ink);
}
.pd-gallery-head p {
    margin: .2rem 0 0;
    color: var(--pd-muted);
    font-size: .82rem;
    font-weight: 600;
}
.pd-gallery-all {
    appearance: none;
    border: 1px solid #d7e5bc;
    background: #fff;
    color: var(--pd-brand-dark);
    border-radius: 999px;
    padding: .5rem .95rem;
    font-weight: 800;
    font-size: .82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.pd-gallery-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(101, 163, 13, .12);
}
.pd-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 118px;
    gap: .65rem;
}
.pd-gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e9ef;
    background: #eef1f4;
    display: block;
    animation: pdGalIn .45s ease both;
    animation-delay: calc(var(--i, 0) * 55ms);
}
.pd-gallery-item.is-hero {
    grid-column: span 2;
    grid-row: span 2;
}
.pd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.pd-gallery-zoom {
    position: absolute;
    inset: auto 10px 10px auto;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--pd-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}
.pd-gallery-item:hover img { transform: scale(1.06); }
.pd-gallery-item:hover .pd-gallery-zoom,
.pd-gallery-item:focus-visible .pd-gallery-zoom {
    opacity: 1;
    transform: none;
}
@keyframes pdGalIn {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: none; }
}

/* FAQ / reviews */
.pd-panel-head {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: .85rem;
}
.pd-panel-head h3 { margin: 0; }

.pd-faq { display: grid; gap: .65rem; margin-top: .4rem; }
.pd-faq-item {
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.pd-faq-q {
    width: 100%;
    text-align: right;
    border: 0;
    background: #fafbfc;
    padding: .85rem 1rem;
    font-weight: 800;
    color: var(--pd-ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: .7rem;
    align-items: center;
}
.pd-faq-q::after {
    content: "+";
    color: var(--pd-muted);
    font-size: 1.1rem;
}
.pd-faq-item.open .pd-faq-q::after {
    content: "−";
    color: var(--pd-brand-dark);
}
.pd-faq-a {
    display: none;
    padding: 0 1rem 1rem;
    color: #4b5563;
    line-height: 1.85;
    font-size: .92rem;
    border-top: 1px solid var(--pd-line);
}
.pd-faq-item.open .pd-faq-a {
    display: block;
    padding-top: .85rem;
}
.pd-faq-a .who {
    display: inline-flex;
    margin-bottom: .45rem;
    font-size: .75rem;
    font-weight: 800;
    color: var(--pd-brand-dark);
    background: var(--pd-brand-soft);
    border-radius: 999px;
    padding: .15rem .55rem;
}

.pd-composer-wrap { margin-top: 1.25rem; }

.pd-composer {
    border: 1px solid var(--pd-line);
    border-radius: 18px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(142, 213, 87, .12), transparent 55%),
        linear-gradient(180deg, #fff, #fbfbfc);
    box-shadow: 0 10px 28px rgba(60, 67, 84, .06);
    padding: 1.1rem 1.15rem 1.15rem;
    overflow: hidden;
}

.pd-composer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.pd-composer-title {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
}
.pd-composer-ico {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #18181b;
    color: #fff;
    flex: 0 0 auto;
    box-shadow: 0 10px 20px rgba(24, 24, 27, .18);
}
.pd-composer-title strong {
    display: block;
    font-size: .98rem;
    color: var(--pd-ink);
}
.pd-composer-title small {
    display: block;
    margin-top: .15rem;
    color: var(--pd-muted);
    font-size: .76rem;
    font-weight: 600;
}

.pd-composer-avg {
    text-align: center;
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    padding: .45rem .75rem;
    min-width: 88px;
}
.pd-composer-avg b {
    display: block;
    font-size: 1.15rem;
    color: var(--pd-brand-dark);
    line-height: 1.1;
}
.pd-composer-avg span {
    font-size: .68rem;
    color: var(--pd-muted);
    font-weight: 700;
}

.pd-review-form { margin: 0; border: 0; padding: 0; background: transparent; }

.pd-rate-block {
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    padding: .85rem .95rem;
    margin-bottom: .75rem;
}
.pd-rate-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .55rem;
}
.pd-rate-label span {
    font-size: .84rem;
    font-weight: 800;
    color: var(--pd-ink);
}
.pd-rate-label em {
    font-style: normal;
    font-size: .78rem;
    font-weight: 800;
    color: #c2410c;
    background: #fff7ed;
    border-radius: 999px;
    padding: .2rem .55rem;
    transition: .15s ease;
}

.pd-stars-pick {
    display: flex;
    gap: .35rem;
    direction: ltr;
    justify-content: flex-start;
}
.pd-star-btn {
    width: 2.55rem;
    height: 2.55rem;
    border: 0;
    border-radius: 12px;
    background: #f4f4f5;
    color: #d4d4d8;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
    padding: 0;
}
.pd-star-btn svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
    stroke: none;
}
.pd-star-btn:hover,
.pd-star-btn.is-hover {
    transform: translateY(-2px) scale(1.06);
    color: #fbbf24;
    background: #fffbeb;
}
.pd-star-btn.is-on {
    color: #f59e0b;
    background: linear-gradient(180deg, #fff7ed, #ffedd5);
    box-shadow: 0 8px 16px rgba(245, 158, 11, .18);
}
.pd-star-btn.is-pop {
    animation: pdStarPop .35s cubic-bezier(.2, .9, .3, 1.35);
}
@keyframes pdStarPop {
    0% { transform: scale(1); }
    45% { transform: scale(1.22) rotate(-8deg); }
    100% { transform: scale(1); }
}

.pd-composer-modes {
    display: inline-flex;
    gap: .3rem;
    padding: .25rem;
    background: #f4f4f5;
    border-radius: 999px;
    margin-bottom: .75rem;
}
.pd-composer-modes button {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: .42rem .85rem;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    color: #71717a;
    cursor: pointer;
    transition: .15s ease;
}
.pd-composer-modes button.is-active {
    background: #fff;
    color: var(--pd-ink);
    box-shadow: 0 2px 8px rgba(24, 24, 27, .08);
}

.pd-composer-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .7rem;
    align-items: start;
}
.pd-composer-avatar {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #8ed557, #62a832);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .95rem;
    box-shadow: 0 8px 16px rgba(98, 168, 50, .25);
}
.pd-composer-field {
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
.pd-composer-field:focus-within {
    border-color: #9fd86a;
    box-shadow: 0 0 0 4px rgba(142, 213, 87, .16);
}
.pd-composer-field textarea {
    width: 100%;
    border: 0 !important;
    outline: 0;
    resize: vertical;
    min-height: 110px;
    padding: .85rem .95rem .45rem;
    font: inherit;
    background: transparent;
    color: var(--pd-ink);
    box-shadow: none !important;
    margin: 0 !important;
}
.pd-composer-meta {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    padding: .35rem .95rem .7rem;
    color: var(--pd-muted);
    font-size: .72rem;
    font-weight: 700;
}
.pd-char.is-warn { color: #c2410c; }

.pd-composer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: .85rem;
}
.pd-composer-tips {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.pd-composer-tips span {
    font-size: .72rem;
    font-weight: 700;
    color: #71717a;
    background: #f4f4f5;
    border-radius: 999px;
    padding: .28rem .55rem;
}

.pd-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 44px;
    padding: 0 1.15rem;
    border: 0;
    border-radius: 12px;
    background: #18181b;
    color: #fff !important;
    font: inherit;
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(24, 24, 27, .18);
    transition: transform .15s ease, filter .15s ease;
}
.pd-submit-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pd-submit-btn.is-ask {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .25);
}

.pd-composer-guest {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: center;
    padding: 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px dashed #d4d4d8;
}
.pd-composer-guest-ico {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #f4f4f5;
    color: #52525b;
}
.pd-composer-guest strong { display: block; font-size: .92rem; }
.pd-composer-guest p { margin: .2rem 0 0; color: var(--pd-muted); font-size: .8rem; }

/* Reviews list */
.pd-reviews {
    margin-top: 1.35rem;
    border: 1px solid var(--pd-line);
    border-radius: 18px;
    background: #fff;
    padding: 1.1rem 1.15rem 1.2rem;
    box-shadow: 0 8px 24px rgba(60, 67, 84, .05);
}
.pd-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: 1rem;
}
.pd-reviews-head h3 { margin: 0; font-size: 1.05rem; }
.pd-reviews-head p { margin: .2rem 0 0; color: var(--pd-muted); font-size: .8rem; font-weight: 600; }
.pd-reviews-score {
    text-align: center;
    background: linear-gradient(180deg, #fffbeb, #fff7ed);
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: .45rem .7rem;
    min-width: 92px;
}
.pd-reviews-score strong {
    display: block;
    font-size: 1.35rem;
    color: #c2410c;
    line-height: 1;
}
.pd-reviews-stars {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-top: .25rem;
    direction: ltr;
}
.pd-reviews-stars svg,
.pd-review-score svg {
    width: 14px;
    height: 14px;
    fill: #e4e4e7;
}
.pd-reviews-stars svg.on,
.pd-review-score svg.on { fill: #f59e0b; }

.pd-rating-bars {
    display: grid;
    gap: .35rem;
    margin-bottom: .9rem;
}
.pd-rating-bar {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 28px;
    gap: .45rem;
    align-items: center;
    cursor: pointer;
    padding: .2rem .15rem;
    border-radius: 8px;
    transition: background .15s;
}
.pd-rating-bar:hover,
.pd-rating-bar.is-active { background: #fafafa; }
.pd-rating-bar .lbl { font-size: .74rem; font-weight: 700; color: #71717a; }
.pd-rating-bar .track {
    height: 8px;
    border-radius: 999px;
    background: #f4f4f5;
    overflow: hidden;
}
.pd-rating-bar .track i {
    display: block;
    height: 100%;
    width: var(--w, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
.pd-rating-bar .num {
    font-size: .74rem;
    font-weight: 800;
    color: #a1a1aa;
    text-align: left;
    direction: ltr;
}

.pd-reviews-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: 1rem;
}
.pd-reviews-filters button {
    border: 1px solid var(--pd-line);
    background: #fafafa;
    border-radius: 999px;
    padding: .35rem .7rem;
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    color: #71717a;
    cursor: pointer;
    transition: .15s ease;
}
.pd-reviews-filters button.is-active,
.pd-reviews-filters button:hover {
    background: #18181b;
    border-color: #18181b;
    color: #fff;
}

.pd-review-list { display: grid; gap: .75rem; }

.pd-review-card {
    border: 1px solid var(--pd-line);
    border-radius: 16px;
    padding: .95rem 1rem;
    background: linear-gradient(180deg, #fff, #fcfcfd);
    animation: pdReviewIn .4s ease both;
    animation-delay: calc(var(--i, 0) * 40ms);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.pd-review-card:hover {
    border-color: #d4d4d8;
    box-shadow: 0 10px 24px rgba(60, 67, 84, .07);
    transform: translateY(-1px);
}
.pd-review-card.is-hidden { display: none; }
@keyframes pdReviewIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.pd-review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .65rem;
}
.pd-review-user {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
}
.pd-review-user .av {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
    background: #18181b;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    flex: 0 0 auto;
}
.pd-review-user strong {
    display: block;
    font-size: .9rem;
    color: var(--pd-ink);
}
.pd-review-user time {
    display: block;
    margin-top: .12rem;
    font-size: .72rem;
    color: var(--pd-muted);
    font-weight: 600;
}
.pd-review-score {
    display: flex;
    gap: 2px;
    direction: ltr;
    flex: 0 0 auto;
}
.pd-review-body {
    margin: 0;
    color: #3f3f46;
    font-size: .9rem;
    line-height: 1.85;
    white-space: pre-wrap;
}
.pd-review-body.is-empty { color: #a1a1aa; font-style: italic; }
.pd-review-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-top: .75rem;
}
.pd-review-foot .pill {
    font-size: .7rem;
    font-weight: 800;
    color: #3f7a18;
    background: #eef8ea;
    border-radius: 999px;
    padding: .22rem .55rem;
}
.pd-helpful {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    border: 1px solid var(--pd-line);
    background: #fff;
    border-radius: 999px;
    padding: .3rem .65rem;
    font: inherit;
    font-size: .74rem;
    font-weight: 700;
    color: #71717a;
    cursor: pointer;
    transition: .15s ease;
}
.pd-helpful:hover,
.pd-helpful.is-on {
    border-color: #b7d4a3;
    color: #2f5d12;
    background: #f4faf0;
}

@media (max-width: 700px) {
    .pd-composer-guest { grid-template-columns: auto minmax(0, 1fr); }
    .pd-composer-guest .pd-submit-btn { grid-column: 1 / -1; }
    .pd-composer-box { grid-template-columns: 1fr; }
    .pd-composer-avatar { display: none; }
}

.pd-support-box {
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fafbfc;
}

.pd-lesson {
    display: flex;
    justify-content: space-between;
    gap: .7rem;
    align-items: center;
    padding: .75rem .85rem;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: #fff;
    margin-bottom: .5rem;
}
.pd-lesson .num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--pd-brand-soft);
    color: var(--pd-brand-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .8rem;
    margin-inline-end: .55rem;
}
.pd-lesson .dur {
    color: var(--pd-muted);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}
.pd-lesson-video {
    margin: .35rem 0 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8eee3;
    background: #0f172a;
}
.pd-lesson-video video {
    width: 100%;
    max-height: 360px;
    display: block;
}

.pd-changelog {
    white-space: pre-line;
    line-height: 1.9;
    color: #4b5563;
}

.pd-guarantees {
    list-style: none;
    margin: 0;
    padding: .15rem 1rem 1rem;
}
.pd-guarantees.flat { padding: 0; }
.pd-guarantees li {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    padding: .42rem 0;
    font-size: .87rem;
    color: #445;
}
.pd-guarantees .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pd-brand-soft);
    color: var(--pd-brand-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Buy box */
.pd-buy-box { overflow: hidden; }

.pd-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .2rem;
    padding: .9rem .7rem;
    border-bottom: 1px solid var(--pd-line);
}
.pd-stat { text-align: center; padding: .35rem .15rem; }
.pd-stat .val {
    font-weight: 800;
    color: var(--pd-ink);
    font-size: 1.05rem;
}
.pd-stat .lbl {
    color: var(--pd-muted);
    font-size: .72rem;
    margin-top: .15rem;
}
.pd-stat .grade {
    display: inline-flex;
    min-width: 34px;
    justify-content: center;
    background: #ecfdf5;
    color: #047857;
    border-radius: 8px;
    padding: .1rem .35rem;
}

.pd-price-box { padding: 1rem 1rem .35rem; }
.pd-price-label {
    color: var(--pd-muted);
    font-size: .78rem;
    margin-bottom: .35rem;
}
.pd-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    flex-wrap: wrap;
}
.pd-price-main {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--pd-brand-dark);
    line-height: 1.2;
}
.pd-price-old {
    color: var(--pd-muted);
    text-decoration: line-through;
    font-size: .95rem;
}
.pd-discount-pill {
    background: var(--pd-brand);
    color: #fff;
    border-radius: 999px;
    padding: .28rem .7rem;
    font-weight: 800;
    font-size: .88rem;
}

.pd-lifetime {
    margin: .8rem 1rem;
    border: 1px dashed #cfe9aa;
    background: var(--pd-brand-soft);
    border-radius: 12px;
    padding: .7rem .85rem;
    font-size: .86rem;
    color: var(--pd-brand-dark);
    font-weight: 700;
    display: flex;
    gap: .5rem;
    align-items: center;
}

.pd-installment {
    margin: 0 1rem .85rem;
    border: 1px solid #dbeafe;
    background: #f0f7ff;
    border-radius: 12px;
    padding: .75rem .85rem;
}
.pd-installment .t {
    font-weight: 800;
    color: #1d4ed8;
    font-size: .88rem;
    margin-bottom: .2rem;
}
.pd-installment .d {
    color: #64748b;
    font-size: .8rem;
}

.pd-trust-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .35rem;
    padding: 0 1rem .9rem;
}
.pd-trust-icons .item {
    text-align: center;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    padding: .55rem .2rem;
    background: #fafbfc;
}
.pd-trust-icons .ico {
    width: 28px;
    height: 28px;
    margin: 0 auto .25rem;
    border-radius: 8px;
    background: var(--pd-brand-soft);
    color: var(--pd-brand-dark);
    display: grid;
    place-items: center;
}
.pd-trust-icons .txt {
    font-size: .66rem;
    color: var(--pd-muted);
    font-weight: 700;
    line-height: 1.35;
}

.pd-actions {
    padding: 0 1rem 1rem;
    display: grid;
    gap: .5rem;
}
.pd-actions .btn {
    width: 100%;
    border-radius: 12px;
    padding: .9rem 1rem;
    font-size: .95rem;
    font-weight: 800;
}
.pd-actions .btn.buy {
    background: linear-gradient(180deg, #8ed557, var(--pd-brand-mid));
    border: 0;
    color: #fff;
    box-shadow: 0 10px 22px rgba(142, 213, 87, .32);
}
.pd-actions .btn.buy:hover { filter: brightness(.97); }
.pd-actions .btn.secondary {
    background: #fff;
    border: 1px solid var(--pd-line);
    color: var(--pd-ink);
}

.pd-share {
    display: flex;
    gap: .4rem;
    padding: 0 1rem 1rem;
    flex-wrap: wrap;
}
.pd-share button,
.pd-share a {
    flex: 1;
    min-width: 70px;
    text-align: center;
    border: 1px solid var(--pd-line);
    background: #fff;
    border-radius: 10px;
    padding: .45rem .3rem;
    font-size: .75rem;
    font-weight: 700;
    color: #555;
    cursor: pointer;
}

/* Product details card */
.pd-details { padding: .35rem 0; }
.pd-details-title {
    margin: 0;
    padding: .9rem 1rem .55rem;
    font-size: .95rem;
    font-weight: 800;
}
.pd-details-list {
    list-style: none;
    margin: 0;
    padding: 0 .35rem .55rem;
}
.pd-details-list li {
    display: flex;
    justify-content: space-between;
    gap: .7rem;
    align-items: center;
    padding: .65rem .85rem;
    border-top: 1px solid var(--pd-line);
    font-size: .88rem;
}
.pd-details-list .k {
    color: var(--pd-muted);
    font-weight: 600;
}
.pd-details-list .v {
    color: var(--pd-ink);
    font-weight: 800;
    text-align: left;
}
.pd-details-list .v.ltr { direction: ltr; }

/* Related — market cards */
.pd-related { margin-top: 1.8rem; }
.pd-related-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.pd-related-head h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--pd-ink);
    font-weight: 800;
}
.pd-related-head .view-all {
    font-size: .88rem;
    font-weight: 700;
    color: var(--pd-brand-dark);
}
.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.pd-related-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Inline market card styles (so related works without home-rtl.css) */
.pd-page .rt-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 2px 14px rgba(60, 67, 84, .08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.pd-page .rt-card:hover { box-shadow: 0 10px 28px rgba(60, 67, 84, .14); }
.pd-page .rt-card-media { position: relative; aspect-ratio: 911 / 451; overflow: hidden; }
.pd-page .rt-card-img {
    position: absolute;
    inset: 0;
    padding: 12px 12px 0;
    display: block;
}
.pd-page .rt-card-img img,
.pd-page .rt-card-img .ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    background: #eef2f4;
}
.pd-page .rt-card-img .ph {
    display: grid;
    place-items: center;
    color: var(--pd-brand-mid);
    font-size: 1.8rem;
    font-weight: 800;
    background: #eef8ea;
}
.pd-page .rt-card-body {
    height: 93px;
    padding: 13.5px 16px 0;
    transition: .3s;
}
.pd-page .rt-card-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    max-height: 32px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pd-page .rt-card-title a { color: #3c4354; }
.pd-page .rt-card-title a:hover { color: var(--pd-brand-mid); }
.pd-page .rt-card-usage {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #959595;
    font-size: 13px;
    height: 21px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pd-page .rt-card-footer {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0 12px;
    margin: 0 12px;
    position: relative;
    gap: .5rem;
}
.pd-page .rt-card-swap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 54px;
    height: 54px;
    display: flex;
    align-items: center;
}
.pd-page .rt-card-details {
    display: flex;
    align-items: center;
    width: 100%;
    transition: opacity .28s ease, visibility .28s ease;
    opacity: 1;
    visibility: visible;
}
.pd-page .rt-detail {
    margin: 0 4px;
    text-align: center;
    min-width: 40px;
}
.pd-page .rt-detail--sale {
    background: #f3f5f7;
    border-radius: 8px;
    padding: 6px 10px;
    min-width: 48px;
}
.pd-page .rt-detail b {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #3c4354;
    line-height: 1.2;
}
.pd-page .rt-detail span {
    display: block;
    font-size: 11px;
    color: hsla(0, 0%, 42.7%, .85);
    margin-top: 2px;
}
.pd-page .rt-detail-new {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    color: hsla(0, 0%, 42.7%, .85);
}
.pd-page .rt-card-price {
    position: relative;
    flex: 0 0 auto;
    min-height: 54px;
    min-width: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 14px;
    text-align: left;
    direction: ltr;
    z-index: 2;
}
.pd-page .rt-card-price::after {
    content: "";
    position: absolute;
    border-right: 1px solid #ededed;
    right: 0;
    height: 43px;
    bottom: 6px;
}
.pd-page .rt-price-off {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 22px;
    padding: 0 6px;
    border-radius: 4px;
    color: #fff;
    background: #8ed557;
    font-size: 13px;
    font-weight: 700;
}
.pd-page .rt-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
}
.pd-page .rt-price-row s {
    font-size: 13px;
    color: #959595;
    text-decoration: line-through;
}
.pd-page .rt-price-final {
    display: flex;
    align-items: baseline;
    gap: 4px;
    direction: rtl;
    white-space: nowrap;
}
.pd-page .rt-price-final strong {
    font-size: 17px;
    font-weight: 700;
    color: #3c4354;
}
.pd-page .rt-price-final span {
    font-size: 12px;
    font-weight: 700;
    color: #6d6d6d;
}
.pd-page .rt-card-actions {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
    z-index: 1;
}
.pd-page .rt-card-actions form { margin: 0; }
.pd-page .rt-btn-buy {
    border: 0;
    background: #8ed557 !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    min-height: 42px;
    min-width: 115px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pd-page .rt-btn-buy:hover { background: #7fc945 !important; }
.pd-page .rt-btn-preview {
    min-height: 42px;
    min-width: 42px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f1f3f5;
    color: #3c4354;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pd-page .rt-btn-preview span { display: none; }
.pd-page .rt-card:hover .rt-card-details {
    opacity: 0;
    visibility: hidden;
}
.pd-page .rt-card:hover .rt-card-actions {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Trust footer */
.pd-trust-footer {
    margin-top: 1.7rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .65rem;
}
.pd-trust-footer .box {
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    padding: 1rem .7rem;
    text-align: center;
    box-shadow: var(--pd-shadow);
}
.pd-trust-footer .ico {
    width: 40px;
    height: 40px;
    margin: 0 auto .45rem;
    border-radius: 12px;
    background: var(--pd-brand-soft);
    color: var(--pd-brand-dark);
    display: grid;
    place-items: center;
}
.pd-trust-footer strong {
    display: block;
    font-size: .84rem;
    color: var(--pd-ink);
}
.pd-trust-footer span {
    display: block;
    font-size: .74rem;
    color: var(--pd-muted);
    margin-top: .2rem;
}

/* Mobile sticky buy */
.pd-mobile-buy {
    display: none;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--pd-line);
    padding: .65rem .85rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .08);
}
.pd-mobile-buy.is-hidden { display: none !important; }
.pd-mobile-buy .inner {
    width: min(1180px, 100%);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
}
.pd-mobile-buy .price {
    font-weight: 800;
    color: var(--pd-brand-dark);
    font-size: 1.05rem;
}
.pd-mobile-buy .btn {
    border-radius: 12px;
    padding: .7rem 1.15rem;
    background: linear-gradient(180deg, #8ed557, #7fc945);
    border: 0;
    color: #fff;
    font-weight: 800;
}

.pd-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 14, 28, .88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    backdrop-filter: blur(6px);
}
.pd-lightbox.open {
    display: flex;
    animation: pdLbIn .22s ease;
}
@keyframes pdLbIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.pd-lightbox-stage {
    position: relative;
    max-width: min(980px, 100%);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}
.pd-lightbox img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    background: #111827;
    object-fit: contain;
    transition: opacity .2s ease, transform .25s ease;
}
.pd-lightbox img.is-swap {
    opacity: .35;
    transform: scale(.985);
}
.pd-lightbox-meta {
    color: #e5e7eb;
    font-weight: 700;
    font-size: .9rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: .35rem .85rem;
}
.pd-lightbox-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    cursor: pointer;
    font-weight: 800;
    font-size: 1.25rem;
    z-index: 2;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.pd-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .95);
    color: #111827;
    cursor: pointer;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    transition: transform .2s ease;
}
.pd-lightbox-nav:hover { transform: translateY(-50%) scale(1.05); }
.pd-lightbox-nav.prev { right: max(1rem, calc(50% - 520px)); }
.pd-lightbox-nav.next { left: max(1rem, calc(50% - 520px)); }
.pd-lightbox-nav.is-hidden { display: none; }

.pd-muted,
.muted { color: var(--pd-muted); }

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

@media (max-width: 980px) {
    .pd-layout { grid-template-columns: 1fr; }
    .pd-side { position: static; }
    .pd-mobile-buy { display: block; }
    .pd-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-related-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-trust-footer { grid-template-columns: 1fr 1fr; }
    .pd-hero-stage { grid-template-columns: 1fr; text-align: center; }
    .pd-hero-points { justify-items: center; }
    .pd-tabs-wrap.is-stuck .pd-tabs { top: 60px; }
    .pd-content .pd-checklist { grid-template-columns: 1fr; }
    .pd-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 100px;
    }
    .pd-lightbox-nav.prev { right: .75rem; }
    .pd-lightbox-nav.next { left: .75rem; }
    .pd-medals {
        margin-inline: .85rem;
    }
    .pd-medals__grid { gap: .5rem; }
    .pd-medal { border-radius: 14px; }
}

@media (max-width: 640px) {
    .pd-trust-footer { grid-template-columns: 1fr; }
    .pd-trust-icons { grid-template-columns: 1fr 1fr; }
    .pd-related-grid { grid-template-columns: 1fr; }
    .pd-related-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .pd-page { padding-bottom: 5.5rem; }
    .pd-tabs {
        margin: .55rem .55rem 0;
        gap: .25rem;
    }
    .pd-tab {
        padding: .65rem .75rem;
        font-size: .82rem;
    }
    .pd-tab-ico { display: none; }
    .pd-tab-panels { padding: 1rem .85rem 1.25rem; }
    .pd-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 110px;
    }
    .pd-gallery-item.is-hero {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 170px;
    }
    .pd-medals {
        margin: .5rem .7rem .2rem;
    }
    .pd-medals__grid { gap: .4rem; }
    .pd-medal { border-radius: 11px; }
    .pd-medal__tip {
        max-width: min(140px, 56vw);
        font-size: .68rem;
        padding: .32rem .55rem;
        white-space: normal;
    }
    .pd-gallery-block { padding: .85rem; }
    .pd-lightbox-nav {
        width: 40px;
        height: 40px;
    }
}
