/* ============================================
   UMANG BOARDS — PRODUCT PAGES
   Collection (pc-*) + Detail (pd-*) + Shared (p-*)
   Uses CSS variables from styles-v2.css :root
   ============================================ */

/* ─── LAYOUT ─── */
.p-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}

.p-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

/* ─── SHARED: BREADCRUMB ─── */
.p-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.p-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s;
}
.p-breadcrumb a:hover { color: var(--navy); }
.p-breadcrumb .sep { color: var(--text-faint); }
.p-breadcrumb .current {
    color: var(--navy);
    font-weight: 600;
}

/* ─── SHARED: EYEBROW ─── */
.p-eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ─── SHARED: SECTION HEADER ─── */
.p-section-header { margin-bottom: 32px; }
.p-section-header .p-eyebrow { margin-bottom: 12px; }
.p-section-title {
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

/* ─── SHARED: BUTTONS ─── */
.p-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s var(--ease-out-expo);
    border: none;
    gap: 8px;
}
.p-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.p-btn-gold {
    background: var(--gold);
    color: #1A1D24;
}
.p-btn-gold:hover {
    background: var(--gold-light);
    color: #1A1D24;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 168, 75, 0.3);
}

.p-btn-navy {
    background: var(--navy);
    color: #fff;
}
.p-btn-navy:hover {
    background: var(--navy-light);
}

.p-btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1px solid rgba(11, 31, 58, 0.15);
}
.p-btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.p-btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.p-btn-outline-white:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.p-btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    border: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
}
.p-btn-ghost:hover { color: var(--gold); }

.p-btn-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ─── SHARED: PRODUCT CARD ─── */
.p-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 8px;
    padding: 28px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s var(--ease-out-expo);
}
.p-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 8px 8px 0 0;
    transition: height 0.3s ease;
}
.p-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border-color: rgba(11, 31, 58, 0.14);
}
.p-card:hover::before { height: 3px; }

.p-card-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.p-card-title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.p-card-desc {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.p-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: auto;
}
.p-card-tag {
    height: 26px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: 4px;
    letter-spacing: 0.04em;
}
.p-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}
.p-card-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.p-card-link svg {
    width: 14px; height: 14px;
    transition: transform 0.3s ease;
}
.p-card:hover .p-card-link { color: var(--gold); }
.p-card:hover .p-card-link::after { width: 100%; }
.p-card:hover .p-card-link svg { transform: translateX(4px); }


/* ════════════════════════════════════════════
   PAGE 1 — COLLECTION PAGE
   ════════════════════════════════════════════ */

/* ─── SECTION 1: EDITORIAL HERO ─── */
.pc-header {
    background: var(--navy);
    color: #fff;
    padding: calc(var(--utility-h) + var(--header-h) + 3rem) 0 4rem;
    min-height: auto;
    position: relative;
    overflow: hidden;
}
.pc-header-bg {
    position: absolute;
    inset: 0;
}
.pc-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    mix-blend-mode: luminosity;
}
.pc-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--navy), rgba(11, 31, 58, 0.8), transparent);
}
.pc-header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.pc-header .p-breadcrumb,
.pc-header .p-breadcrumb a { color: rgba(255, 255, 255, 0.5); }
.pc-header .p-breadcrumb .sep { color: rgba(255, 255, 255, 0.25); }
.pc-header .p-breadcrumb .current { color: var(--gold); }
.pc-header .p-breadcrumb a:hover { color: #fff; }
.pc-header-title {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.pc-header-title em {
    font-style: normal;
    color: var(--gold);
}
.pc-header-desc {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 24px;
}
.pc-header-image { display: none; }
.pc-product-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.pc-product-count::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* ─── SECTION 2: SIDEBAR + PRODUCT LIST LAYOUT ─── */
.pc-grid-section { padding: 48px 0; }
.pc-layout {
    display: flex;
    gap: 2.5rem;
}

/* Sidebar */
.pc-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.pc-sidebar-inner {
    position: sticky;
    top: calc(var(--utility-h) + var(--header-h) + 1.5rem);
}
.pc-sidebar-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(11, 31, 58, 0.1);
    margin-bottom: 2rem;
}
.pc-sidebar-heading svg {
    width: 20px;
    height: 20px;
    color: var(--navy);
}
.pc-sidebar-heading h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
}
.pc-sidebar-group {
    margin-bottom: 2.5rem;
}
.pc-sidebar-group-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.pc-sidebar-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    cursor: pointer;
    transition: color 0.25s;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.pc-sidebar-cat:hover { color: var(--navy); }
.pc-sidebar-cat.active {
    font-weight: 700;
    color: var(--gold);
}
.pc-sidebar-count {
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--bg-secondary);
    border: 1px solid rgba(11, 31, 58, 0.06);
    color: var(--text-muted);
    font-family: var(--font-body);
}
.pc-sidebar-cat.active .pc-sidebar-count {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* Product List */
.pc-product-list {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.pc-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(11, 31, 58, 0.06);
    margin-bottom: 0.5rem;
}
.pc-list-heading {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}
.pc-list-count {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Product Row Card */
.pc-product-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid rgba(11, 31, 58, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.5s var(--ease-out-expo);
}
.pc-product-row:hover {
    border-color: rgba(200, 168, 75, 0.5);
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.08);
}
.pc-product-row.hidden { display: none; }
.pc-product-row-img {
    width: 224px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-secondary);
}
.pc-product-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease-out;
}
.pc-product-row:hover .pc-product-row-img img {
    transform: scale(1.1);
}
.pc-product-row-content {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0;
}
.pc-product-row-title {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}
.pc-product-row:hover .pc-product-row-title {
    color: var(--gold);
}
.pc-product-row-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
    max-width: 600px;
}
.pc-product-row-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.pc-product-row-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.5s var(--ease-out-expo);
}
.pc-product-row-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--navy);
    transition: all 0.5s var(--ease-out-expo);
    transform: translateX(0);
}
.pc-product-row:hover .pc-product-row-arrow {
    background: var(--gold);
}
.pc-product-row:hover .pc-product-row-arrow svg {
    color: #fff;
    transform: translateX(2px);
}

/* ─── SECTION 4: CTA PANEL ─── */
.pc-cta {
    margin-top: 100px;
    background: var(--navy);
    border-radius: 12px;
    padding: 48px 56px;
    text-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.pc-cta-title {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 10px;
}
.pc-cta-text {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    max-width: 460px;
    margin-bottom: 28px;
}

/* ─── SECTION 5: RELATED CATEGORIES ─── */
.pc-related { padding: 96px 0; }
.pc-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pc-related-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    background: var(--bg-card);
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s var(--ease-out-expo);
    position: relative;
}
.pc-related-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border-color: rgba(11, 31, 58, 0.14);
}
.pc-related-icon {
    width: 36px; height: 36px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-related-icon svg { width: 18px; height: 18px; color: var(--navy); }
.pc-related-name {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 12px;
}
.pc-related-count {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.pc-related-arrow {
    position: absolute;
    bottom: 24px; right: 24px;
    width: 14px; height: 14px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}
.pc-related-card:hover .pc-related-arrow {
    color: var(--gold);
    transform: translateX(3px);
}


/* ════════════════════════════════════════════
   PAGE 2 — PRODUCT DETAIL PAGE (Split Layout)
   ════════════════════════════════════════════ */

/* Split Layout Container */
.pd-page {
    display: flex;
    align-items: flex-start;
    min-height: 100vh;
}

/* LEFT STICKY PANE */
.pd-left {
    width: 45%;
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
    background: var(--navy);
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 4;
}
.pd-left-bg {
    position: absolute;
    inset: 0;
}
.pd-left-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    mix-blend-mode: luminosity;
}
.pd-left-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11,31,58,0.5), rgba(11,31,58,0.8), var(--navy));
}
.pd-left-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 4rem;
    overflow-y: auto;
}
.pd-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    text-decoration: none;
    margin-bottom: 2rem;
    margin-top: calc(var(--utility-h, 36px) + var(--header-h, 80px) + 1rem);
    transition: color 0.3s;
}
.pd-back:hover { color: #fff; }
.pd-back svg { width: 16px; height: 16px; transform: rotate(180deg); }

.pd-left-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.pd-left-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
}

.pd-left-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.pd-left-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    max-width: 500px;
}

.pd-left-footer {
    margin-top: auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.pd-left-footer .p-btn {
    width: 100%;
    max-width: 300px;
}
.pd-left-cert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.5);
}
.pd-left-cert svg { width: 16px; height: 16px; color: var(--gold); }

/* RIGHT SCROLLABLE PANE */
.pd-right {
    width: 55%;
    flex: 1;
    padding: clamp(2rem, 4vw, 6rem);
    padding-top: calc(var(--utility-h) + var(--header-h) + 3rem);
    background: var(--bg-primary);
    min-height: 100vh;
}

/* ─── PRODUCT IMAGE GALLERY ─── */
.pd-gallery {
    margin-bottom: 3rem;
}
.pd-gallery-main {
    width: 100%;
    max-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.pd-gallery-img {
    max-width: 100%;
    max-height: 460px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}
.pd-gallery-thumbs {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pd-gallery-thumbs::-webkit-scrollbar { display: none; }
.pd-gallery-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
    background: var(--bg-secondary);
    padding: 0;
}
.pd-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pd-gallery-thumb:hover { border-color: var(--gold-light); }
.pd-gallery-thumb.active { border-color: var(--gold); opacity: 1; }

/* Section numbering */
.pd-section { margin-bottom: 5rem; }
.pd-section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.pd-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Overview text */
.pd-overview-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
}
.pd-overview-text + .pd-overview-text { margin-top: 1rem; }

/* Spec Rows (not a table) */
.pd-spec-rows {
    border-top: 1px solid rgba(11, 31, 58, 0.1);
    margin-top: 2rem;
}
.pd-spec-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(11, 31, 58, 0.06);
    border-radius: 8px;
    margin: 0 -1rem;
    transition: background 0.25s;
}
.pd-spec-row:hover { background: var(--bg-secondary); }
.pd-spec-prop {
    width: 50%;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}
.pd-spec-val {
    width: 50%;
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

/* Characteristic Cards */
.pd-chars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}
.pd-char-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid rgba(11, 31, 58, 0.06);
    transition: border-color 0.3s;
}
.pd-char-card:hover { border-color: rgba(200, 168, 75, 0.3); }
.pd-char-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--gold);
}
.pd-char-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download Rows */
.pd-doc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid rgba(11, 31, 58, 0.06);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.35s var(--ease-out-expo);
    cursor: pointer;
    text-decoration: none;
}
.pd-doc-row:hover {
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.05);
    border-color: rgba(200, 168, 75, 0.5);
}
.pd-doc-row-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.pd-doc-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.pd-doc-row:hover .pd-doc-icon { background: rgba(200, 168, 75, 0.1); }
.pd-doc-icon svg {
    width: 20px;
    height: 20px;
    color: var(--navy);
    transition: color 0.3s;
}
.pd-doc-row:hover .pd-doc-icon svg { color: var(--gold); }
.pd-doc-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.3s;
}
.pd-doc-row:hover .pd-doc-name { color: var(--gold); }
.pd-doc-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.25rem;
}
.pd-doc-dl {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: color 0.3s;
}
.pd-doc-row:hover .pd-doc-dl { color: var(--navy); }

/* Enquiry Panel */
.pd-enquiry-panel {
    background: var(--navy);
    border-radius: 16px;
    padding: clamp(2rem, 3vw, 3rem);
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}
.pd-enquiry-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(200,168,75,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.pd-enquiry-inner { position: relative; z-index: 1; }
.pd-enquiry-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.pd-enquiry-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    max-width: 420px;
    line-height: 1.6;
}
.pd-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.pd-form-full { grid-column: 1 / -1; }
.pd-form-input,
.pd-form-textarea {
    width: 100%;
    padding: 0 1rem;
    height: 56px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}
.pd-form-input::placeholder,
.pd-form-textarea::placeholder { color: rgba(255,255,255,0.3); }
.pd-form-input:focus,
.pd-form-textarea:focus { border-color: var(--gold); }
.pd-form-textarea {
    height: 128px;
    padding: 1rem;
    resize: none;
}
.pd-form-submit {
    margin-top: 0.5rem;
    height: 56px;
}

/* ─── RELATED PRODUCTS (inside right pane) ─── */
.pd-related { padding: 5rem 0 2rem; }
.pd-related-header {
    padding: 48px 0 64px;
    border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}
.pd-hero-content {
    grid-column: 1 / 8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pd-hero-image {
    grid-column: 8 / 13;
    display: flex;
    align-items: center;
}
.pd-hero-image-wrap {
    width: 100%;
    height: 380px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid rgba(11, 31, 58, 0.06);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pd-hero-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.pd-hero-title {
    font-family: var(--font-body);
    font-size: 34px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
}
.pd-hero-desc {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 24px;
}
.pd-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.pd-quick-tag {
    height: 32px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-secondary);
    border: 1px solid rgba(11, 31, 58, 0.06);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}
.pd-quick-tag-label {
    font-weight: 700;
    color: var(--text-muted);
}

/* ─── SECTION 2: SPEC STRIP ─── */
.pd-spec-strip {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(11, 31, 58, 0.06);
    border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}
.pd-spec-strip-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.pd-spec-card {
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}
.pd-spec-card + .pd-spec-card {
    border-left: 1px solid rgba(11, 31, 58, 0.06);
}
.pd-spec-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.pd-spec-value {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

/* ─── SECTION 3: DESCRIPTION ─── */
.pd-desc { padding-top: 80px; }
.pd-desc-content { grid-column: 1 / 8; }
.pd-desc-body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.8;
}
.pd-desc-body p + p { margin-top: 16px; }

.pd-features-card {
    grid-column: 9 / 13;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid rgba(11, 31, 58, 0.06);
    padding: 28px;
    align-self: start;
}
.pd-features-title {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.pd-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pd-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.55;
}
.pd-features-list li::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 7px;
}

/* ─── SECTION 4: TECH SPECS TABLE ─── */
.pd-specs { padding-top: 80px; }
.pd-spec-table {
    width: 100%;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 8px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}
.pd-spec-table thead th {
    height: 48px;
    padding: 0 28px;
    background: var(--navy);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: left;
}
.pd-spec-table tbody tr {
    height: 56px;
    border-bottom: 1px solid rgba(11, 31, 58, 0.06);
    transition: background 0.2s ease;
}
.pd-spec-table tbody tr:nth-child(even) { background: var(--bg-warm); }
.pd-spec-table tbody tr:hover { background: var(--bg-secondary); }
.pd-spec-table tbody td {
    padding: 0 28px;
    vertical-align: middle;
}
.pd-spec-table tbody td:first-child {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.pd-spec-table tbody td:last-child {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ─── SECTION 5: CHARACTERISTICS ─── */
.pd-chars { padding-top: 80px; }
.pd-chars .pd-chars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 48px;
}
.pd-char-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}
.pd-char-marker {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 1px;
    margin-top: 8px;
}
.pd-char-item .pd-char-text {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ─── SECTION 6: APPLICATIONS ─── */
.pd-apps { padding-top: 80px; }
.pd-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pd-app-card {
    min-height: 140px;
    background: var(--bg-card);
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s var(--ease-out-expo);
}
.pd-app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.pd-app-icon {
    width: 32px; height: 32px;
    background: var(--bg-secondary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.pd-app-icon svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; }
.pd-app-name {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 6px;
}
.pd-app-desc {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── SECTION 7: DOWNLOADS ─── */
.pd-downloads { padding-top: 80px; }
.pd-downloads-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pd-doc-card {
    height: 72px;
    background: var(--bg-card);
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 8px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
}
.pd-doc-card:hover {
    border-color: rgba(11, 31, 58, 0.14);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.pd-doc-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.pd-doc-icon {
    width: 36px; height: 36px;
    background: var(--bg-secondary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pd-doc-icon svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; }
.pd-doc-name {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}
.pd-doc-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
}
.pd-doc-btn {
    height: 36px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--navy);
    border: 1px solid rgba(11, 31, 58, 0.12);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}
.pd-doc-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.pd-doc-btn svg { width: 14px; height: 14px; }

/* ─── SECTION 8: ENQUIRY PANEL ─── */
.pd-enquiry {
    margin-top: 100px;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 56px;
}
.pd-enquiry-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}
.pd-enquiry-content { grid-column: 1 / 6; }
.pd-enquiry-grid .pd-enquiry-title {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}
.pd-enquiry-grid .pd-enquiry-text {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}
.pd-trust-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pd-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}
.pd-trust-item svg {
    width: 16px; height: 16px;
    flex-shrink: 0;
    fill: var(--gold);
}

.pd-enquiry-form-wrap {
    grid-column: 7 / 13;
}
.pd-enquiry-form {
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid rgba(11, 31, 58, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    padding: 32px;
}
.pd-form-group {
    margin-bottom: 18px;
}
.pd-form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.pd-form-input,
.pd-form-textarea {
    width: 100%;
    padding: 0 14px;
    height: 44px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid rgba(11, 31, 58, 0.12);
    border-radius: 4px;
    transition: border 0.2s, box-shadow 0.2s;
}
.pd-form-input::placeholder,
.pd-form-textarea::placeholder { color: var(--text-faint); }
.pd-form-input:focus,
.pd-form-textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.08);
}
.pd-form-textarea {
    height: 100px;
    padding: 12px 14px;
    resize: vertical;
}
.pd-form-submit {
    width: 100%;
    margin-top: 8px;
}

/* ─── SECTION 9: RELATED PRODUCTS ─── */
.pd-related { padding: 80px 0 96px; }
.pd-related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}
.pd-related-header-left .p-eyebrow { margin-bottom: 4px; }
.pd-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}
.pd-view-all svg {
    width: 14px; height: 14px;
    transition: transform 0.3s ease;
}
.pd-view-all:hover { color: var(--gold); }
.pd-view-all:hover svg { transform: translateX(3px); }

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}


/* Footer on split-layout pages: full width, natural flow */
body:has(.pd-page) .s-footer,
body:has(.ld-page) .s-footer,
body:has(.ct-page) .s-footer {
    position: relative;
    z-index: 5;
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1200px) {
    /* Collection */
    .pc-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Collection — hide sidebar on tablet */
@media (max-width: 1024px) {
    .pc-sidebar { display: none; }
    .pc-layout { flex-direction: column; }

    /* Detail — stack panes */
    .pd-page { flex-direction: column; }
    .pd-left {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
        min-height: 70vh;
    }
    .pd-right {
        width: 100%;
        margin-left: 0;
    }
    .pd-form-grid { grid-template-columns: 1fr; }
    .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── PRODUCT COMPARISON TOOL ─── */
.pd-compare-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 999; background: var(--navy);
    color: #fff; padding: 1rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
    transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}
.pd-compare-bar.visible { transform: translateY(0); }
.pd-compare-items {
    display: flex; align-items: center; gap: 1rem;
    flex: 1; overflow-x: auto;
}
.pd-compare-item {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; background: rgba(255,255,255,0.1);
    border-radius: 6px; font-size: 0.85rem; font-weight: 600;
    white-space: nowrap; flex-shrink: 0;
}
.pd-compare-item-remove {
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(255,255,255,0.2); border: none;
    color: #fff; cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    font-size: 0.7rem; transition: background 0.2s;
}
.pd-compare-item-remove:hover { background: rgba(255,100,100,0.5); }
.pd-compare-actions { display: flex; gap: 0.75rem; flex-shrink: 0; margin-left: 1rem; }
.pd-compare-btn {
    height: 42px; padding: 0 1.5rem; border: none; border-radius: 6px;
    font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer;
    transition: all 0.3s;
}
.pd-compare-btn-go { background: var(--gold); color: var(--navy); }
.pd-compare-btn-go:hover { background: #fff; }
.pd-compare-btn-clear { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2); }
.pd-compare-btn-clear:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* Compare add button on product cards */
.pd-compare-add {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 0.8rem; border-radius: 4px;
    background: transparent; border: 1px solid rgba(11,31,58,0.12);
    font-family: var(--font-body); font-size: 0.75rem;
    font-weight: 600; color: var(--navy); cursor: pointer;
    transition: all 0.3s; margin-top: 0.5rem;
}
.pd-compare-add:hover { border-color: var(--gold); color: var(--gold); }
.pd-compare-add.added { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.pd-compare-add svg { width: 14px; height: 14px; }

/* Compare modal/table */
.pd-compare-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(11,31,58,0.7); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.pd-compare-overlay.active { opacity: 1; visibility: visible; }
.pd-compare-modal {
    background: #fff; border-radius: 16px;
    width: 95%; max-width: 900px; max-height: 85vh;
    overflow: auto; padding: 2.5rem;
    box-shadow: 0 24px 80px rgba(11,31,58,0.25);
}
.pd-compare-modal h2 {
    font-size: 1.5rem; font-weight: 700; color: var(--navy);
    margin: 0 0 2rem; letter-spacing: -0.02em;
}
.pd-compare-table { width: 100%; border-collapse: collapse; }
.pd-compare-table th {
    text-align: left; padding: 1rem; font-size: 0.8rem;
    font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--text-muted);
    border-bottom: 2px solid rgba(11,31,58,0.08);
    background: var(--bg-secondary);
}
.pd-compare-table td {
    padding: 0.85rem 1rem; font-size: 0.92rem;
    color: var(--text-secondary); border-bottom: 1px solid rgba(11,31,58,0.04);
    vertical-align: top;
}
.pd-compare-table tr:last-child td { border-bottom: none; }
.pd-compare-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(11,31,58,0.1); background: #fff;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.pd-compare-close:hover { background: var(--bg-secondary); }

/* Mobile */
@media (max-width: 768px) {
    .pc-header-title { font-size: 28px; }
    .p-section-title { font-size: 22px; }

    /* Collection */
    .pc-product-row { flex-direction: column; align-items: flex-start; }
    .pc-product-row-img { width: 100%; height: 200px; }
    .pc-product-row-arrow { display: none; }
    .pc-cta { padding: 32px; }
    .pc-cta-title { font-size: 22px; }
    .pc-cta .p-btn-row { flex-direction: column; width: 100%; }
    .pc-cta .p-btn { width: 100%; }
    .pc-related-grid { grid-template-columns: 1fr; }

    /* Detail — mobile */
    .pd-left-content { padding: 1.5rem; }
    .pd-right { padding: 1.5rem; }
    .pd-gallery { margin-bottom: 2rem; }
    .pd-gallery-main { max-height: 350px; padding: 1rem; }
    .pd-gallery-thumb { flex: 0 0 56px; width: 56px; height: 56px; }
    .pd-chars-grid { grid-template-columns: 1fr; }
    .pd-spec-row { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .pd-spec-prop, .pd-spec-val { width: 100%; }
    .pd-related-grid { grid-template-columns: 1fr; }
    .pd-enquiry-panel { padding: 1.5rem; }
    .pd-enquiry-title { font-size: 1.35rem; }

    .p-btn-row { flex-direction: column; width: 100%; }
    .p-btn-row .p-btn { width: 100%; }
    .p-btn { height: 44px; }

    .p-card { padding: 20px; }

    /* Section spacing */
    .pc-cta { margin-top: 64px; }
    .pc-related { padding: 64px 0; }
    .pd-related { padding: 3rem 0 1rem; }
}
