/************************************************************
    Products Page
*************************************************************/

.pp-intro {
    padding: 90px 0 10px;
    background: radial-gradient(ellipse at 4% 0%, #dce8ff, transparent 40%), radial-gradient(ellipse at 96% 0%, #ffebe1, transparent 36%), #f6f8fd;
}
.pp-intro .section-title h2 { color: #123361; }
.pp-intro .section-title p { color: #667791; line-height: 1.7; }

/* category chips + type filter */
.pp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px auto 24px; max-width: 980px; }
.pp-chips a {
    padding: 9px 16px; border: 1px solid #dbe5f4; border-radius: 30px; background: #fff;
    color: #123361; font-size: 13px; line-height: 1.3; font-weight: 500;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.pp-chips a:hover, .pp-chips a:focus-visible { background: var(--accent-color); border-color: var(--accent-color); color: #fff; }
.pp-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 5px; border: 1px solid #e0e8f5; border-radius: 40px; background: #fff; }
.pp-filter button {
    border: 0; background: transparent; padding: 9px 20px; border-radius: 30px;
    color: #244772; font-size: 13px; font-weight: 600; line-height: 1.3; cursor: pointer;
    transition: background .25s ease, color .25s ease;
}
.pp-filter button:hover { background: #f2f6fc; }
.pp-filter button.is-active { background: linear-gradient(110deg, #ff7b12, #ff5830); color: #fff; }
.pp-filter button:focus-visible, .pp-chips a:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 2px; }

/* sections */
.pp-section { padding: 56px 0 8px; background: #f6f8fd; scroll-margin-top: 100px; }
.pp-section[hidden] { display: none; }
.pp-intro + .pp-section { padding-top: 40px; }
.pp-section:last-of-type { padding-bottom: 60px; }
.pp-section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
    margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid #dfe7f3;
}
.pp-section-head h2 { position: relative; padding-left: 18px; margin: 0; font-size: 30px; line-height: 1.2; color: #123361; }
.pp-section-head h2::before { content: ''; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; background: var(--accent-color); }
.pp-section-head p { margin: 6px 0 0 18px; color: #667791; font-size: 14px; line-height: 1.5; }
.pp-count { flex-shrink: 0; padding: 6px 14px; border-radius: 30px; background: #fff; border: 1px solid #e0e8f5; color: #244772; font-size: 12px; font-weight: 600; }

/* product cards (same look as the home page cards) */
.pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.pp-card {
    display: flex; flex-direction: column; padding: 12px; overflow: hidden;
    border: 1px solid #e4ebf6; border-radius: 22px; background: rgba(255,255,255,.95);
    box-shadow: 0 5px 18px rgba(30,58,99,.07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pp-card[hidden] { display: none; }
.pp-card:hover { transform: translateY(-4px); border-color: #ff9b6e; box-shadow: 0 8px 24px rgba(255,87,11,.12); }
.pp-visual {
    position: relative; flex-shrink: 0; height: 205px; border-radius: 13px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
}
.pp-visual::after {
    content: ''; position: absolute; inset: 35% 8% 15%; pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,.25) 1px, transparent 2px) 0 0 / 12px 12px;
}
/* shown when there is no photo yet */
.pp-code {
    position: relative; z-index: 0; padding: 0 12px; text-align: center;
    font-family: var(--accent-font); font-size: 24px; line-height: 1.2; letter-spacing: .02em; color: #244772;
}
.pp-visual img {
    position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 8px;
    object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease;
}
.pp-card:hover .pp-visual img { transform: scale(1.04); }
.pp-body { display: flex; flex: 1; flex-direction: column; padding: 18px 2px 0; }
.pp-body h3 { position: relative; margin: 0; padding-left: 16px; font-size: 17px; line-height: 1.35; color: #123361; }
.pp-body h3::before { content: ''; position: absolute; left: 1px; top: 7px; width: 6px; height: 6px; background: var(--accent-color); }
.pp-model { margin: 6px 0 0 16px; color: #60718a; font-size: 12px; letter-spacing: .04em; line-height: 1.45; }
.pp-tags { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; padding: 0; margin: 14px 0 14px 16px; }
.pp-tags li { padding: 5px 9px; border: 1px solid #e7edf7; border-radius: 20px; background: #f2f6fc; color: #244772; font-size: 10.5px; line-height: 1.3; }
.pp-tags li:first-child { background: #fff1ea; border-color: #ffd3bf; color: #c2410c; font-weight: 600; }
.pp-link {
    display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: auto;
    padding: 11px 8px; border: 1px solid #e3eaf6; border-radius: 11px; background: #fafcff;
    color: #123361; font-size: 12.5px; font-weight: 600; line-height: 1.4;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pp-link span { font-size: 19px; line-height: 1; }
.pp-link:hover, .pp-link:focus-visible { background: linear-gradient(110deg, #ff7b12, #ff5830); border-color: #ff7131; color: #fff; }

/* complete PA systems */
.pp-system-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.pp-system {
    display: flex; flex-direction: column; padding: 26px 22px 20px; border-radius: 22px;
    background: linear-gradient(150deg, #123361, #244f86); color: #fff;
    box-shadow: 0 8px 24px rgba(18,51,97,.18);
    transition: transform .3s ease, box-shadow .3s ease;
}
.pp-system:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(255,87,11,.22); }
.pp-system-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; background: rgba(255,255,255,.12); color: #ff8a55; font-size: 22px; }
.pp-system h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; color: #fff; }
.pp-system p { margin: 0 0 18px; color: #cfdcf0; font-size: 13px; line-height: 1.6; }
.pp-link-sm { padding: 9px 8px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }

/* CTA */
.pp-cta { padding: 30px 0 90px; background: #f6f8fd; }
.pp-cta-box {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 36px 40px; border-radius: 26px; background: linear-gradient(120deg, #123361, #244f86); color: #fff;
}
.pp-cta-box h2 { margin: 0 0 6px; font-size: 28px; color: #fff; }
.pp-cta-box p { margin: 0; color: #cfdcf0; font-size: 15px; }
.pp-cta-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pp-cta-call { color: #fff; font-family: var(--accent-font); font-size: 20px; }
.pp-cta-call:hover { color: #ff8a55; }

@media (max-width: 767px) {
    .pp-intro { padding-top: 60px; }
    .pp-section-head { align-items: flex-start; flex-direction: column; }
    .pp-section-head h2 { font-size: 24px; }
    .pp-section-head h2::before { top: 9px; }
    .pp-grid { grid-template-columns: 1fr; }
    .pp-cta-box { padding: 28px 22px; }
    .pp-cta-box h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .pp-card, .pp-system, .pp-visual img, .pp-link, .pp-chips a { transition: none; }
    .pp-card:hover, .pp-system:hover, .pp-card:hover .pp-visual img { transform: none; }
}

/* ---------- sub pages (categories / systems) ---------- */
.pp-intro-sm { padding: 70px 0 6px; }
.pp-intro-sm .section-title { margin-bottom: 18px; }
.pp-intro-sm .pp-filter { margin-top: 6px; }
.pp-intro-sm + .pp-section { padding-top: 34px; }
.pp-head-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pp-more { padding: 6px 14px; border-radius: 30px; background: linear-gradient(110deg, #ff7b12, #ff5830); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.5; }
.pp-more:hover, .pp-more:focus-visible { color: #fff; box-shadow: 0 6px 16px rgba(255,87,11,.3); }
a.pp-system { text-decoration: none; }
a.pp-system:hover .pp-link-sm { background: linear-gradient(110deg, #ff7b12, #ff5830); border-color: #ff7131; }
.pp-system-icon-lg { width: 64px; height: 64px; margin: 0 auto 18px; font-size: 26px; background: #123361; }
.pp-chips-bottom { margin: 40px auto 0; align-items: center; }
.pp-chips-label { color: #667791; font-size: 13px; font-weight: 600; }
.pp-chips a i { margin-right: 8px; color: var(--accent-color); }
.pp-chips a.is-current { background: #123361; border-color: #123361; color: #fff; }
.pp-chips a.is-current i { color: #ff8a55; }

/* component tables (One Way / Two Way ...) */
.pp-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
.pp-spec-grid-single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.pp-spec { overflow: hidden; border: 1px solid #e4ebf6; border-radius: 22px; background: #fff; box-shadow: 0 5px 18px rgba(30,58,99,.07); }
.pp-spec-head { display: flex; align-items: center; gap: 16px; padding: 20px 26px; background: linear-gradient(120deg, #123361, #244f86); }
.pp-spec-hash { color: #ff8a55; font-size: 20px; font-weight: 700; line-height: 1; }
.pp-spec-head h2 { margin: 0; color: #fff; font-size: 19px; line-height: 1.35; text-transform: uppercase; letter-spacing: .02em; }
.pp-spec-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.pp-spec-list li { border-top: 1px solid #edf1f8; }
.pp-spec-list li:first-child { border-top: 0; }
.pp-spec-list li { display: flex; align-items: center; gap: 16px; }
.pp-spec-list li > a { flex: 1; min-width: 0; }
.pp-spec-list li:nth-child(odd) { background: #f7f9fd; }
.pp-spec-list li > a, .pp-spec-list li > .pp-spec-text { display: flex; align-items: center; gap: 16px; }
.pp-spec-list li > a { padding: 16px 26px; color: #1d2b44; transition: background .2s ease, color .2s ease, padding .2s ease; }
.pp-spec-list li > a:hover, .pp-spec-list li > a:focus-visible { background: #fff1ea; color: #c2410c; }
.pp-spec-list li > .pp-spec-no:first-child { margin: 16px 0 16px 26px; }
.pp-spec-list li > .pp-spec-no + .pp-spec-text { padding: 16px 26px 16px 0; }
.pp-spec-no { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #e6edf9; color: #244772; font-size: 12px; font-weight: 700; line-height: 1; }
.pp-spec-list li > a:hover .pp-spec-no { background: var(--accent-color); color: #fff; }
.pp-spec-text { flex: 1; font-size: 15px; line-height: 1.5; font-weight: 500; }
.pp-spec-go { flex-shrink: 0; margin-left: auto; color: var(--accent-color); font-size: 13px; transition: transform .2s ease; }
.pp-spec-list li > a:hover .pp-spec-go { transform: translateX(4px); }

@media (max-width: 991px) {
    .pp-spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .pp-intro-sm { padding-top: 50px; }
    .pp-head-right { flex-wrap: wrap; }
    .pp-spec-head { padding: 16px 18px; }
    .pp-spec-head h2 { font-size: 16px; }
    .pp-spec-list li > a { padding: 14px 18px; }
    .pp-spec-list li > .pp-spec-no:first-child { margin-left: 18px; }
}

/* ---------- product detail pages ---------- */
.pp-body h3 a { color: inherit; }
.pp-body h3 a:hover { color: var(--accent-color); }
a.pp-visual { text-decoration: none; }

.pd { padding: 70px 0 30px; background: radial-gradient(ellipse at 4% 0%, #dce8ff, transparent 38%), radial-gradient(ellipse at 96% 0%, #ffebe1, transparent 34%), #f6f8fd; }
.pd-title { margin: 0 0 34px; font-size: 32px; line-height: 1.3; font-style: italic; color: #123361; }
.pd-photo {
    position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; padding: 26px; overflow: hidden;
    border: 1px solid #e4ebf6; border-radius: 26px; background: #fff; box-shadow: 0 8px 26px rgba(30,58,99,.09);
}
.pd-photo::before { content: ''; position: absolute; inset: 22px; border-radius: 50%; background: radial-gradient(circle, #e9f0fb 0 55%, transparent 56%); }
.pd-photo .pp-code { position: absolute; z-index: 0; font-size: 34px; }
.pd-photo img { position: relative; z-index: 1; display: block; max-width: 100%; max-height: 400px; object-fit: contain; mix-blend-mode: multiply; }
.pd-badge { position: absolute; top: 0; right: 0; z-index: 2; padding: 8px 16px; border-radius: 0 26px 0 16px; background: linear-gradient(120deg, #ff7c29, #ff5315); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.4; }
.pd-panel { padding: 34px 34px 30px; border: 1px solid #e4ebf6; border-left: 5px solid #123361; border-radius: 22px; background: #fff; box-shadow: 0 8px 26px rgba(30,58,99,.07); }
.pd-panel h3 { margin: 0 0 20px; font-size: 26px; color: #123361; }
.pd-brochure {
    display: flex; flex-direction: column; gap: 12px; padding: 16px 22px 18px; border-radius: 12px;
    background: linear-gradient(110deg, #ff7b12, #ff5830); color: #fff; box-shadow: 0 8px 20px rgba(255,87,11,.25);
    transition: transform .25s ease, box-shadow .25s ease;
}
.pd-brochure:hover, .pd-brochure:focus-visible { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 26px rgba(255,87,11,.35); }
.pd-brochure strong { font-size: 16px; letter-spacing: .02em; }
.pd-pdf { align-self: flex-start; padding: 3px 8px; border-radius: 3px; background: #fff; color: #ff5830; font-size: 10px; font-weight: 700; line-height: 1.4; }
.pd-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.pd-call { display: inline-flex; align-items: center; gap: 10px; color: #123361; font-size: 17px; font-weight: 600; }
.pd-call i { color: var(--accent-color); }
.pd-call:hover { color: var(--accent-color); }
.pd-tags { margin: 24px 0 0; }

.pd-overview, .pd-spec { margin-top: 46px; }
.pd-sub { position: relative; margin: 0 0 16px; padding-left: 18px; font-size: 28px; line-height: 1.25; color: #123361; }
.pd-sub::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; background: var(--accent-color); }
.pd-overview .pd-sub:not(:first-child) { margin-top: 34px; font-size: 22px; }
.pd-overview .pd-sub:not(:first-child)::before { top: 8px; }
.pd-lead { margin: 0; max-width: 820px; color: #5b6b85; font-size: 17px; line-height: 1.75; }
.pd-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pd-features li {
    display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid #e4ebf6; border-radius: 14px;
    background: #fff; box-shadow: 0 4px 14px rgba(30,58,99,.05); color: #123361; font-size: 15px; font-weight: 600; line-height: 1.5;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pd-features li:hover { transform: translateY(-2px); border-color: #ffb68f; box-shadow: 0 8px 20px rgba(255,87,11,.12); }
.pd-features li.is-wide { grid-column: 1 / -1; }
.pd-features i { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #fff1ea; color: var(--accent-color); font-size: 13px; }
.pd-note { margin: 18px 0 0; color: #667791; font-size: 14px; }
.pd-note a { color: var(--accent-color); font-weight: 600; }

.pd-spec dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; overflow: hidden; border: 1px solid #e4ebf6; border-radius: 18px; background: #fff; }
.pd-spec dl > div { display: flex; gap: 16px; padding: 16px 24px; border-bottom: 1px solid #edf1f8; }
.pd-spec dl > div:nth-child(odd) { border-right: 1px solid #edf1f8; }
.pd-spec dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.pd-spec dt { flex: 0 0 120px; color: #667791; font-size: 14px; font-weight: 500; }
.pd-spec dd { margin: 0; color: #123361; font-size: 14.5px; font-weight: 600; }
.pd-spec dd a { color: var(--accent-color); }

.pd-related { padding: 30px 0 10px; background: #f6f8fd; }
.pd-more { background: #f6f8fd; padding-bottom: 0; }
.pd-more .pp-chips-bottom { margin-top: 10px; }

@media (max-width: 991px) {
    .pd-title { font-size: 26px; }
    .pd-photo { min-height: 320px; }
}
@media (max-width: 767px) {
    .pd { padding-top: 48px; }
    .pd-title { font-size: 22px; margin-bottom: 24px; }
    .pd-panel { padding: 24px 20px; }
    .pd-features, .pd-spec dl { grid-template-columns: 1fr; }
    .pd-spec dl > div:nth-child(odd) { border-right: 0; }
    .pd-spec dl > div:nth-last-child(2) { border-bottom: 1px solid #edf1f8; }
    .pd-sub { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .pd-brochure, .pd-features li { transition: none; }
    .pd-brochure:hover, .pd-features li:hover { transform: none; }
}

/* ---------- clean photo look: white background, no circle, no overlay text ---------- */
.pp-visual { background: #fff; border: 1px solid #edf1f8; }
.pp-visual::after { display: none; }
.pp-visual img { padding: 10px; background: #fff; mix-blend-mode: normal; }
.pp-code { display: none; }
.pp-visual.is-empty { background: linear-gradient(140deg, #f2f6fc, #e2eaf6); }
.pp-visual.is-empty .pp-code { display: block; }
.pd-photo { background: #fff; }
.pd-photo::before { display: none; }
.pd-photo img { mix-blend-mode: normal; background: transparent; }
.pd-photo.is-empty { background: linear-gradient(140deg, #f2f6fc, #e2eaf6); }
.pd-photo.is-empty .pp-code { display: block; }


/* ---------- Complete PA system icons (yellow badge, black line icons) ---------- */
.pp-system-icon { width: 78px; height: 78px; border-radius: 20px; background: linear-gradient(145deg, #ffc21a, #ffb800); box-shadow: 0 6px 16px rgba(255,184,0,.35); transition: transform .3s ease; }
.pp-system-icon img { width: 50px; height: 50px; object-fit: contain; }
.pp-system:hover .pp-system-icon { transform: scale(1.06) rotate(-3deg); }
.pp-system-icon-lg { width: 96px; height: 96px; border-radius: 24px; background: linear-gradient(145deg, #ffc21a, #ffb800); }
.pp-system-icon-lg img { width: 64px; height: 64px; }

/* ---------- Attractive product pages ---------- */
.pp-visual { height: 225px; background: linear-gradient(180deg, #ffffff, #f4f7fc); }
.pp-visual img { padding: 14px; background: transparent; }
.pp-card { position: relative; }
.pp-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #ffb800, #ff5830); opacity: 0; transition: opacity .3s ease; z-index: 2; }
.pp-card:hover::before { opacity: 1; }
.pp-card:hover { box-shadow: 0 14px 34px rgba(18,51,97,.16); }
.pp-model { display: inline-block; align-self: flex-start; margin: 8px 0 0 16px; padding: 3px 10px; border-radius: 6px; background: #123361; color: #fff; font-weight: 600; }
.pp-link { align-self: flex-start; margin: auto 0 4px 16px; }
.pd-photo { min-height: 460px; background: radial-gradient(circle at 50% 45%, #ffffff 0 45%, #eef3fb 100%); border: 1px solid #dfe8f5; box-shadow: 0 16px 40px rgba(18,51,97,.12); }
.pd-photo img { max-height: 420px; border-radius: 14px; transition: transform .5s ease; }
.pd-photo:hover img { transform: scale(1.04); }
.pd-title { font-style: normal; font-weight: 700; padding-left: 18px; border-left: 6px solid #ffb800; }
.pd-panel { border-left: 5px solid #ffb800; box-shadow: 0 16px 40px rgba(18,51,97,.10); }
.pd-features li { border-left: 4px solid #ffb800; }
.pd-spec dl { box-shadow: 0 8px 26px rgba(30,58,99,.07); }
.pd-spec dl > div:nth-child(4n+1), .pd-spec dl > div:nth-child(4n+2) { background: #f9fbfe; }
.pd-lead { padding: 20px 24px; border-radius: 16px; background: #fff; border: 1px solid #e4ebf6; box-shadow: 0 6px 20px rgba(30,58,99,.06); max-width: none; }
