.pg-main { position: relative; background: var(--bg-alt); border: 1px solid var(--border); aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; touch-action: pan-y; }
.pg-main img { width: 100%; height: 100%; object-fit: contain; transform-origin: center; transition: transform .25s ease; user-select: none; }
.pg-main.zooming img { transition: transform .08s linear; }
.pg-lens { display: none; }
.pg-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: rgba(24,39,69,.75); color: #fff; z-index: 3; transition: background .2s; }
.pg-nav:hover { background: var(--gold); }
.pg-prev { left: 8px; } .pg-next { right: 8px; }
.pg-tools { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; z-index: 3; }
.pg-tools button { width: 38px; height: 38px; border: 1px solid var(--border); background: rgba(255,255,255,.95); color: var(--navy); }
.pg-tools button:hover { background: var(--navy); color: #fff; }
.pg-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pg-thumb { flex: 0 0 84px; padding: 0; border: 2px solid var(--border); background: var(--bg-alt); aspect-ratio: 4 / 3; opacity: .75; transition: border-color .2s, opacity .2s; }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb.active, .pg-thumb:hover { border-color: var(--gold); opacity: 1; }
.pg { min-width: 0; }
.pg-thumb { scroll-snap-align: start; }
.pg-thumbs { scroll-snap-type: x proximity; scroll-behavior: smooth; }

.pd-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.pd-area-name { order: 1; } .pd-area-gallery { order: 2; } .pd-area-videos { order: 3; } .pd-area-info { order: 4; }
.pd-name { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; padding-bottom: 14px; position: relative; }
.pd-name::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--gold); }
.pd-desc { color: var(--text-2); line-height: 1.8; margin: 0 0 20px; }
.pd-desc p { margin-bottom: 12px; }
.pd-desc p:last-child { margin-bottom: 0; }
.pd-advantages { margin: 20px 0 24px; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 6px; box-shadow: 0 4px 16px rgba(24, 39, 69, .04); }
.pd-adv-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 12px; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.pd-adv-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-adv-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--navy); line-height: 1.5; }
.pd-adv-list li i { color: var(--gold); font-size: 1.15rem; line-height: 1.3; flex-shrink: 0; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pd-actions .btn-mm { padding: 13px 26px; }
.pd-actions .btn-mm i { font-size: 1.1rem; }
.pd-videos { padding: 20px 16px 18px; background: var(--bg-alt); border: 1px solid var(--border); min-width: 0; }
.pd-videos .section-head { margin-bottom: 18px; }
.pd-videos .section-title { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin-bottom: 8px; }
.pd-videos .section-desc { font-size: 0.92rem; color: var(--text-2); max-width: 680px; margin: 0 auto; line-height: 1.55; }
.pd-player-wrap { position: relative; width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 1 / 1; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .14); }
.pd-video-el { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.pd-player-wrap iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 992px) {
    .pd-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 18px; grid-template-rows: auto 1fr auto; }
    .pd-area-gallery { grid-column: 1; grid-row: 1 / 3; order: 0; }
    .pd-area-name { grid-column: 2; grid-row: 1; order: 0; align-self: end; }
    .pd-area-info { grid-column: 2; grid-row: 2; order: 0; align-self: start; }
    .pd-area-videos { grid-column: 1 / -1; grid-row: 3; order: 0; margin-top: 14px; padding: 24px 20px 22px; }
}

/* Spacing around Technical Details section */
.section.pd-section-main {
    padding-bottom: 36px !important;
}
.section.pd-tech-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}
.pd-tech-section .section-head {
    margin-bottom: 26px !important;
}
.section.pd-benefits-section {
    padding-top: 48px !important;
    padding-bottom: 120px !important;
}
.section.pd-benefits-section:not(:last-of-type) {
    padding-bottom: 36px !important;
}
.section.pd-related-section {
    padding-top: 24px !important;
    padding-bottom: 120px !important;
}

.pd-video-swiper { position: relative; padding: 0 4px; }
.pd-vnav { position: absolute; top: 38%; z-index: 5; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; transition: background .25s; }
.pd-vnav:hover { background: var(--gold); }
.pd-vprev { left: -6px; } .pd-vnext { right: -6px; }
.pd-vnav.swiper-button-disabled { opacity: .35; pointer-events: none; }

.spec-table { width: 100%; background: #fff; border: 1px solid var(--border); border-collapse: collapse; box-shadow: 0 6px 24px rgba(24, 39, 69, .06); }
.spec-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; padding: 14px 18px; text-align: left; }
.spec-table th, .spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.spec-table tbody th { width: 38%; color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.spec-table tbody tr:nth-child(even) { background: #f8f9fb; }
.spec-table tbody tr { transition: background .25s; }
.spec-table tbody tr:hover { background: rgba(168, 112, 48, .08); }
.spec-table .sn { width: 56px; text-align: center; color: var(--gold); font-weight: 700; }

.use-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.use-card { display: flex; align-items: center; gap: 14px; padding: 16px 16px; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--gold); transition: transform .3s, box-shadow .3s, border-color .3s; }
.use-card:hover { transform: translateX(5px); box-shadow: 0 10px 24px rgba(24, 39, 69, .1); border-color: var(--gold); }
.use-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(168, 112, 48, .12); color: var(--gold); font-size: 1.35rem; transition: background .3s, color .3s; }
.use-card:hover .use-icon { background: var(--gold); color: #fff; }
.use-card h3 { font-size: .98rem; margin: 0; color: var(--navy); line-height: 1.3; }

/* Benefits path: numbered steps joined by arrows, revealed one after another on scroll */
.pd-path { display: flex; align-items: stretch; justify-content: center; gap: 0; }
.path-step { position: relative; flex: 1 1 0; min-width: 0; padding: 34px 20px 26px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--gold); text-align: center; }
.path-num { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff; }
.path-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 14px; background: var(--navy); color: #fff; font-size: 1.6rem; border-radius: 50%; }
.path-step h3 { font-size: 1.05rem; margin: 0 0 8px; }
.path-step p { margin: 0; font-size: .92rem; color: var(--text-2); }
.path-arrow { flex: 0 0 56px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.8rem; position: relative; }
.path-arrow::before { content: ""; position: absolute; left: 6px; right: 26px; top: 50%; border-top: 2px dashed var(--gold); opacity: .6; }
.path-arrow i { position: relative; background: var(--bg, #fff); }
.pd-path .path-step, .pd-path .path-arrow { opacity: 0; transform: translateY(26px); }
.pd-path.go .path-step { animation: pathIn .7s ease forwards; animation-delay: calc(var(--i) * .45s); }
.pd-path.go .path-arrow { animation: pathArrow .6s ease forwards; animation-delay: calc(var(--i) * .45s + .3s); }
@keyframes pathIn { from { opacity: 0; transform: translateY(26px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes pathArrow { 0% { opacity: 0; transform: translateX(-14px); } 100% { opacity: 1; transform: none; } }
@media (max-width: 991.98px) {
    .pd-path { flex-direction: column; align-items: stretch; max-width: 460px; margin: 0 auto; }
    .path-step { border-top: 1px solid var(--border); border-left: 3px solid var(--gold); padding: 30px 18px 22px; }
    .path-arrow { flex: 0 0 auto; height: 72px; align-items: flex-start; padding-top: 6px; font-size: 1.5rem; }
    .path-arrow::before { display: none; }
    .path-arrow i { transform: rotate(90deg); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold); background: #fff; font-size: 1.1rem; }
    .pd-path.go .path-arrow { animation-name: pathArrowV; }
}
@keyframes pathArrowV { 0% { opacity: 0; transform: translateY(-10px); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pd-path .path-step, .pd-path .path-arrow { opacity: 1; transform: none; animation: none !important; } }

.rel-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1.5px solid var(--gold); overflow: hidden; transition: box-shadow .3s; }
.rel-card:hover { box-shadow: 0 12px 28px rgba(168, 112, 48, .22); }
.rel-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.rel-img:hover img { transform: scale(1.08); }
.rel-body { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; padding: 20px 22px 24px; }
.rel-cat { font-size: .76rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.rel-body h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.rel-body p { margin: 0 0 18px; font-size: .94rem; color: var(--text-2); }
.rel-body .btn-detail { margin-top: auto; }


@media (max-width: 575.98px) {
    .pd-actions { flex-wrap: nowrap; gap: 10px; }
    .pd-actions .btn-mm { flex: 1 1 0; min-width: 0; width: auto; padding: 12px 8px; font-size: .9rem; white-space: nowrap; justify-content: center; }
    .btn-detail { padding: 8px 16px; font-size: .84rem; }
    .use-grid { grid-template-columns: 1fr; }
    .spec-table th, .spec-table td, .spec-table thead th { padding: 11px 12px; font-size: .92rem; }
    .spec-table .sn { width: 40px; }
    .pd-videos { padding: 24px 14px 20px; }
    .pd-vprev { left: 0; } .pd-vnext { right: 0; }
}
@media (min-width: 768px) { .pg-thumb { flex-basis: 100px; } }
@media (min-width: 992px) {
    .pg-lens { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background-repeat: no-repeat; background-color: #fff; transition: opacity .2s; }
    .pg-main.hovering .pg-lens { opacity: 1; }
}
