/* ═══════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — Full Redesign
   Navbar: 80px fixed | Container: 1320px
   Font: Poppins + Rajdhani | Green: #2a3271
═══════════════════════════════════════════════════ */

.nav-link {
    color: black;
}
/* ── Page wrapper ── */
.pd-page {
    padding-top: 80px; /* navbar height */
    background: #f8fafc;
    min-height: 100vh;
}

/* ── Breadcrumb strip ── */
.pd-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #eef0f8;
    padding: 12px 0;
}
.pd-breadcrumb-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #94a3b8;
    flex-wrap: wrap;
}
.pd-breadcrumb-inner a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.pd-breadcrumb-inner a:hover {
    color: #2a3271;
}
.pd-breadcrumb-inner span {
    color: #2a3271;
    font-weight: 600;
}
.pd-breadcrumb-sep {
    color: #cbd5e1;
}

/* ── Main container ── */
.pd-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}

/* ══════════════════════════════════════════════════
   TOP SECTION: Image + Info side by side
══════════════════════════════════════════════════ */
.pd-top {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

/* ── LEFT: Image panel ── */
.pd-img-panel {
    position: sticky;
    top: 96px;
}

.pd-main-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef0f8;
    box-shadow: 0 4px 24px rgba(42, 50, 113, 0.08);
    margin-bottom: 14px;
    position: relative;
}

.pd-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-main-img:hover img {
    transform: scale(1.04);
}

.pd-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f1f9, #eef0f8);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Thumbnails */
.pd-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.pd-thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.25s;
    background: #fff;
    flex-shrink: 0;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-thumb:hover {
    border-color: #2a3271;
    transform: translateY(-2px);
}
.pd-thumb.active {
    border-color: #2a3271;
    box-shadow: 0 4px 12px rgba(42, 50, 113, 0.3);
    transform: scale(1.05);
}

/* Quote button */
.pd-quote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: auto;
    width: 100%;
    max-width: 280px;
    padding: 15px 24px;
    background: linear-gradient(135deg, #2a3271, #1e2659);
    color: #fff;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(42, 50, 113, 0.3);
}

.pd-quote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(42, 50, 113, 0.4);
    background: linear-gradient(135deg, #1e2659, #2a3271);
}

.pd-quote-btn svg {
    transition: transform 0.3s;
}
.pd-quote-btn:hover svg {
    transform: translateX(4px);
}

/* ── RIGHT: Info panel ── */
.pd-info-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Product title */
.pd-title {
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Short description */
.pd-short-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.8;
    padding-left: 16px;
    border-left: 3px solid #2a3271;
    margin: 0;
}

/* Description box */
.pd-desc-box {
    background: #fff;
    border: 1px solid #eef0f8;
    border-radius: 16px;
    padding: 24px 28px;
    font-size: 0.875rem;
    line-height: 1.85;
    color: #475569;
    box-shadow: 0 2px 12px rgba(42, 50, 113, 0.05);
}

/* ══════════════════════════════════════════════════
   DYNAMIC PRODUCT FEATURES — Premium Timeline
══════════════════════════════════════════════════ */
.dpf-section {
    margin-bottom: 0;
}

.dpf-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eeeff8;
    color: #1e2659;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.dpf-section-label::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2a3271;
}

/* Groups: vertical timeline */
.dpf-groups {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    counter-reset: dpf-counter;
}

.dpf-groups::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: linear-gradient(
        180deg,
        #2a3271 0%,
        rgba(42, 50, 113, 0.1) 100%
    );
    z-index: 0;
}

/* Single group */
.dpf-group {
    position: relative;
    padding-left: 58px;
    padding-bottom: 24px;
    counter-increment: dpf-counter;
}

.dpf-group:last-child {
    padding-bottom: 0;
}

/* Numbered circle */
.dpf-group::before {
    content: counter(dpf-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2a3271, #1e2659);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    font-family: "Poppins", sans-serif;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(42, 50, 113, 0.4);
    border: 3px solid #f8fafc;
}

/* Card */
.dpf-group-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eef0f8;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
    transition:
        box-shadow 0.25s,
        transform 0.25s;
}

.dpf-group-card:hover {
    box-shadow: 0 8px 32px rgba(42, 50, 113, 0.12);
    transform: translateY(-2px);
}

/* Title bar */
.dpf-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: linear-gradient(90deg, #f0f1f9, #fff);
    border-bottom: 1.5px solid #e0e3f2;
    gap: 10px;
}

.dpf-title-text {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e2659;
    line-height: 1.35;
}

.dpf-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e0e3f2;
    color: #2a3271;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Values list */
.dpf-values {
    list-style: none;
    margin: 0;
    padding: 6px 0 8px;
}

.dpf-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 8px 18px;
    transition: background 0.15s;
    position: relative;
}

.dpf-item:hover {
    background: #f0f1f9;
}

.dpf-item:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: #f1f5f9;
}

.dpf-bullet {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, #2a3271, #1e2659);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: 0 2px 6px rgba(42, 50, 113, 0.3);
}

.dpf-bullet i {
    font-size: 8px;
    color: #fff;
}

.dpf-text {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.6;
    word-break: break-word;
    flex: 1;
}

.dpf-item:hover .dpf-text {
    color: #1e2659;
}

.dpf-count {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-top: 1px solid #f1f5f9;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    background: #fafafa;
}

.dpf-count i {
    color: #2a3271;
    font-size: 10px;
}

/* ══════════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════════ */
.pd-faq-section {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eef0f8;
    padding: 32px 36px;
    box-shadow: 0 2px 16px rgba(42, 50, 113, 0.06);
    margin-bottom: 48px;
}

.pd-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #eef0f8;
}

.pd-section-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #2a3271, #1e2659);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(42, 50, 113, 0.3);
}

.pd-section-head h2 {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px;
}

.pd-section-head p {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.pd-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-faq-item {
    border: 1px solid #eef0f8;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.pd-faq-item.open {
    border-color: #2a3271;
}

.pd-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    background: #fafffe;
    transition: background 0.2s;
    user-select: none;
}

.pd-faq-item.open .pd-faq-q {
    background: #f0f1f9;
}

.pd-faq-q-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.pd-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eef0f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a3271;
    flex-shrink: 0;
    transition: all 0.3s;
    font-size: 12px;
}

.pd-faq-item.open .pd-faq-icon {
    background: #2a3271;
    color: #fff;
    transform: rotate(45deg);
}

.pd-faq-a {
    display: none;
    padding: 0 18px 14px;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.75;
    border-top: 1px solid #eef0f8;
    padding-top: 12px;
}

.pd-faq-item.open .pd-faq-a {
    display: block;
}

/* ══════════════════════════════════════════════════
   3D MODEL SECTION
══════════════════════════════════════════════════ */
.product-3d-section {
    background: #fff;
    border-radius: 20px;
    padding: 32px 36px;
    margin-bottom: 48px;
    border: 1px solid #eef0f8;
    box-shadow: 0 2px 16px rgba(42, 50, 113, 0.06);
}

.product-3d-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-3d-header h2 {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.product-3d-header p {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 4px 0 0;
}

.model-view-reset {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2a3271;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(42, 50, 113, 0.3);
}

.model-view-reset:hover {
    background: #1e2659;
    transform: rotate(90deg);
}

.model-viewer-wrap {
    position: relative;
    width: 100%;
    height: 500px;
    background: #f1f5f9;
    border-radius: 14px;
    overflow: hidden;
}

.model-viewer-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    z-index: 10;
}

.model-viewer-loading.is-error {
    background: #fff5f5;
}
.model-viewer-loading .iconify {
    font-size: 48px;
    color: #2a3271;
    margin-bottom: 16px;
}
.model-viewer-loading span:last-child {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .pd-top {
        grid-template-columns: 400px 1fr;
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .pd-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .pd-img-panel {
        position: static;
    }
    .pd-main-img {
        aspect-ratio: 16/10;
    }
    .dpf-groups::before {
        left: 18px;
    }
    .dpf-group {
        padding-left: 50px;
    }
    .dpf-group::before {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .pd-container {
        padding: 24px 16px 48px;
    }
    .pd-title {
        font-size: 1.5rem;
    }
    .pd-faq-section {
        padding: 24px 20px;
    }
    .product-3d-section {
        padding: 24px 20px;
    }
    .model-viewer-wrap {
        height: 380px;
    }
    .pd-section-head h2 {
        font-size: 1.1rem;
    }
    .pd-desc-box {
        padding: 18px 20px;
    }
}

@media (max-width: 560px) {
    .pd-container {
        padding: 16px 12px 40px;
    }
    .pd-breadcrumb-inner {
        font-size: 11.2px !important;
    }
    .pd-main-img {
        aspect-ratio: 1/1;
        border-radius: 14px;
    }
    .pd-thumb {
        width: 58px;
        height: 58px;
        border-radius: 10px;
    }
    .pd-title {
        font-size: 1.3rem;
    }
    .pd-quote-btn {
        font-size: 0.82rem;
        padding: 14px 22px;
        gap: 8px;
    }
    .pd-quote-btn svg {
        width: 14px;
        height: 14px;
    }
    .pd-faq-section {
        padding: 18px 14px;
    }
    .product-3d-section {
        padding: 18px 14px;
    }
    .model-viewer-wrap {
        height: 300px;
    }
    .dpf-groups::before {
        left: 15px;
    }
    .dpf-group {
        padding-left: 42px;
        padding-bottom: 18px;
    }
    .dpf-group::before {
        width: 30px;
        height: 30px;
        font-size: 11px;
        border-width: 2px;
    }
    .dpf-group-title {
        padding: 10px 14px;
        flex-wrap: wrap;
    }
    .dpf-title-badge {
        display: none;
    }
    .dpf-item {
        padding: 7px 14px;
        gap: 9px;
    }
    .dpf-text {
        font-size: 12.5px;
    }
    .dpf-count {
        padding: 6px 14px;
        font-size: 10px;
    }
    .pd-section-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .pd-faq-q {
        padding: 12px 14px;
    }
    .pd-faq-q-text {
        font-size: 0.82rem;
    }
    .pd-faq-a {
        padding: 10px 14px 12px;
        font-size: 0.8rem;
    }
}
