:root {
    --pd-bg-1: #050505;
    --pd-bg-2: #0d0d10;
    --pd-bg-3: #17171b;

    --pd-surface-1: rgba(42, 42, 44, 0.96);
    --pd-surface-2: rgba(20, 20, 22, 0.94);

    --pd-gold-1: #d4af37;
    --pd-gold-2: #f3d37a;

    --pd-text: #ffffff;
    --pd-text-soft: rgba(255, 255, 255, 0.82);

    --pd-border: 1px solid rgba(255,255,255,0.08);
    --pd-shadow: 0 18px 45px rgba(0,0,0,0.45);
    --pd-shadow-strong: 0 24px 60px rgba(0,0,0,0.55);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at bottom center, rgba(212, 175, 55, 0.08), transparent 34%),
        linear-gradient(to top, var(--pd-bg-1) 0%, var(--pd-bg-2) 48%, var(--pd-bg-3) 100%);
    color: var(--pd-text);
    font-family: Arial, sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.pd-page {
    min-height: 100vh;
}

.pd-wrap {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.pd-not-found {
    padding: 100px 0;
    text-align: center;
}

.pd-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 14px 24px;
    border-radius: 999px;
    color: #111111;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pd-gold-1), var(--pd-gold-2));
}

.pd-hero {
    padding: 80px 0 40px;
}

.pd-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pd-back-link {
    color: #f0cf65;
    font-weight: 600;
}

.pd-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111111;
    background: linear-gradient(135deg, var(--pd-gold-1), var(--pd-gold-2));
    box-shadow:
        0 10px 24px rgba(212,175,55,0.24),
        inset 0 1px 0 rgba(255,255,255,0.36);
}

.pd-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}

.pd-gallery,
.pd-summary,
.pd-card,
.pd-side-card,
.pd-related-card {
    background: linear-gradient(145deg, var(--pd-surface-1), var(--pd-surface-2));
    border: var(--pd-border);
    box-shadow:
        var(--pd-shadow),
        inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pd-gallery {
    border-radius: 28px;
    overflow: hidden;
    padding: 18px;
}

.pd-main-image-box {
    border-radius: 22px;
    overflow: hidden;
    background: #111;
}

.pd-main-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.pd-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.pd-thumb {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.75;
    transition: all 0.3s ease;
}

.pd-thumb:hover,
.pd-thumb.is-active {
    opacity: 1;
    border-color: rgba(212,175,55,0.45);
    transform: translateY(-2px);
}

.pd-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.pd-video-box {
    margin-top: 16px;
    border-radius: 18px;
    overflow: hidden;
    background: #111;
}

.pd-video-box iframe {
    width: 100%;
    min-height: 320px;
    display: block;
}

.pd-summary {
    border-radius: 28px;
    padding: 28px;
    position: sticky;
    top: 20px;
}

.pd-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.pd-city {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.pd-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.pd-title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.1;
}

.pd-short-desc {
    margin: 0 0 20px;
    line-height: 1.75;
    color: var(--pd-text-soft);
}

.pd-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 10px;
}

.pd-meta li {
    color: var(--pd-text-soft);
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
}

.pd-actions {
    display: grid;
    gap: 12px;
}

.pd-btn-primary,
.pd-btn-secondary,
.pd-related-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pd-btn-primary,
.pd-related-link {
    color: #111111;
    background: linear-gradient(135deg, var(--pd-gold-1), var(--pd-gold-2));
    box-shadow:
        0 10px 24px rgba(212,175,55,0.28),
        inset 0 1px 0 rgba(255,255,255,0.38);
}

.pd-btn-primary:hover,
.pd-related-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 16px 32px rgba(212,175,55,0.38),
        0 0 24px rgba(243,211,122,0.22);
    filter: brightness(1.03);
}

.pd-btn-secondary {
    color: #f0cf65;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(212, 175, 55, 0.55);
}

.pd-btn-secondary:hover {
    background: linear-gradient(135deg, var(--pd-gold-1), var(--pd-gold-2));
    color: #111111;
    border-color: transparent;
    transform: translateY(-3px) scale(1.02);
}

.pd-content {
    padding: 14px 0 60px;
}

.pd-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

.pd-main-column {
    display: grid;
    gap: 22px;
}

.pd-card {
    padding: 28px;
    border-radius: 26px;
}

.pd-card h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.pd-card p {
    color: var(--pd-text-soft);
    line-height: 1.8;
}

.pd-side-card {
    border-radius: 26px;
    padding: 24px;
    position: sticky;
    top: 20px;
}

.pd-side-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(212,175,55,0.12);
    color: #f0cf65;
    border: 1px solid rgba(212,175,55,0.18);
}

.pd-side-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.pd-side-card p {
    color: var(--pd-text-soft);
    line-height: 1.75;
}

.pd-side-actions {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.pd-related {
    padding: 10px 0 90px;
}

.pd-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pd-related-all {
    color: #f0cf65;
    font-weight: 600;
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pd-related-card {
    border-radius: 24px;
    overflow: hidden;
}

.pd-related-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #111;
}

.pd-related-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-related-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #111111;
    background: linear-gradient(135deg, var(--pd-gold-1), var(--pd-gold-2));
}

.pd-related-body {
    padding: 18px;
}

.pd-related-topline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.68);
    font-size: 0.88rem;
    font-weight: 600;
}

.pd-related-body h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
}

.pd-related-body p {
    margin: 0 0 14px;
    color: var(--pd-text-soft);
    line-height: 1.65;
    font-size: 0.92rem;
}

.pd-related-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-related-meta li {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.84);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 1024px) {
    .pd-hero-grid,
    .pd-content-grid {
        grid-template-columns: 1fr;
    }

    .pd-summary,
    .pd-side-card {
        position: static;
    }

    .pd-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pd-hero {
        padding: 60px 0 30px;
    }

    .pd-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .pd-thumb img {
        height: 70px;
    }

    .pd-gallery,
    .pd-summary,
    .pd-card,
    .pd-side-card,
    .pd-related-card {
        border-radius: 20px;
    }

    .pd-gallery,
    .pd-summary,
    .pd-card,
    .pd-side-card {
        padding: 18px;
    }

    .pd-title {
        font-size: 1.8rem;
    }

    .pd-related-grid {
        grid-template-columns: 1fr;
    }
}
