/* ================================================================
   ISOFLEX — Premium Product Detail Page Styles
   Color palette:
     Deep Navy Teal     #073648  (--pd-navy)
     Bright Teal Cyan   #12A8C7  (--pd-teal)
     Cool Mist Grey     #F5F9FA  (--pd-tint)
     White              #FFFFFF
     Dark Charcoal      #1A1A1A  (--pd-dark)
================================================================ */

:root {
    --pd-navy:    #073648;
    --pd-teal:   #12A8C7;
    --pd-teal-h: #29C7E8;
    --pd-teal-a11y: #0C7890;
    --pd-tint:    #F5F9FA;
    --pd-dark:     #1A1A1A;
    --pd-muted:    #5a5a5a;
    --pd-border:   #e4ecee;
    --pd-radius:   20px;
    --pd-radius-sm:12px;
    --pd-accent:      #F5A623;
    --pd-accent-dark: #D98C0F;
    --pd-accent-text: #073648;
    --pd-shadow:   0 8px 32px rgba(7,54,72,.10);
    --pd-shadow-lg:0 20px 60px rgba(7,54,72,.16);
    --pd-transition:.32s cubic-bezier(.25,.8,.25,1);
    --pd-font-head:'Poppins','Montserrat',sans-serif;
    --pd-font-body:'Inter','Open Sans',sans-serif;
}

/* ── Override Bootstrap container ── */
.pd-hero .container,
.pd-info-section .container,
.pd-section .container,
.pd-cta-section .container { max-width: 1200px; }

/* ================================================================
   HERO SECTION
================================================================ */
.pd-hero {
    position: relative;
    padding: 160px 0 70px;
    background: linear-gradient(rgba(7,54,72,.88), rgba(7,54,72,.82)),
                url('/images/hero/hero-bg.jpg') center / cover no-repeat;
    text-align: center;
    overflow: hidden;
}
.pd-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(18,168,199,.18) 0%, transparent 70%);
    pointer-events: none;
}
.pd-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,54,72,.3) 0%, rgba(7,54,72,.6) 100%);
}

/* Category pill */
.pd-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(18,168,199,.20);
    border: 1px solid rgba(18,168,199,.45);
    color: #f5c98a;
    font-family: var(--pd-font-head);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 50px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.pd-hero__pill i { font-size: .9rem; }

/* Hero title */
.pd-hero__title {
    font-family: var(--pd-font-head);
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: #fff;
    line-height: 1.15;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    letter-spacing: -.5px;
}

/* Breadcrumb */
.pd-hero__crumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--pd-font-head);
    font-size: .85rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.pd-hero__crumb a { color: rgba(255,255,255,.65); transition: var(--pd-transition); }
.pd-hero__crumb a:hover { color: #f5c98a; }
.pd-hero__crumb span { color: #fff; }
.pd-hero__crumb i { font-size: .7rem; color: rgba(255,255,255,.35); }

/* ================================================================
   PRODUCT INFO SECTION
================================================================ */
.pd-info-section {
    padding: 90px 0 80px;
    background: #fff;
}

/* ── Image card ── */
.pd-img-card {
    position: sticky;
    top: 100px;
    background: #fff;
    border-radius: var(--pd-radius);
    box-shadow: var(--pd-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--pd-border);
}
.pd-img-zoom-wrap {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--pd-tint);
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-img-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform .4s ease;
    will-change: transform;
}
.pd-img-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid var(--pd-border);
    background: #fafaf8;
}
.pd-img-label {
    font-size: .78rem;
    color: var(--pd-muted);
    font-family: var(--pd-font-head);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}
.pd-img-label i { color: var(--pd-teal-a11y); }

/* ── Right column ── */
.pd-product-title {
    font-family: var(--pd-font-head);
    font-weight: 800;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    color: var(--pd-dark);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -.3px;
}
.pd-product-shortdesc {
    font-family: var(--pd-font-body);
    font-size: 1rem;
    color: var(--pd-muted);
    line-height: 1.75;
    margin-bottom: 28px;
}
.pd-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--pd-teal), var(--pd-teal-h));
    border-radius: 4px;
    margin-bottom: 32px;
}

/* ── Specs Card — Glassmorphism ── */
.pd-specs-card {
    background: rgba(245,249,250,.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(18,168,199,.15);
    border-radius: var(--pd-radius);
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: 0 4px 24px rgba(7,54,72,.07);
}
.pd-specs-header {
    background: linear-gradient(100deg, var(--pd-navy), #1C6E82);
    color: #fff;
    font-family: var(--pd-font-head);
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .5px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.pd-specs-header i { color: rgba(255,255,255,.75); font-size: 1rem; }
.pd-spec-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    padding: 13px 22px;
    border-bottom: 1px solid rgba(18,168,199,.08);
    transition: background var(--pd-transition);
    gap: 16px;
}
.pd-spec-row:last-child { border-bottom: none; }
.pd-spec-row--even { background: rgba(18,168,199,.04); }
.pd-spec-row:hover { background: rgba(7,54,72,.05); }
.pd-spec-label {
    font-family: var(--pd-font-head);
    font-weight: 600;
    font-size: .85rem;
    color: var(--pd-navy);
    letter-spacing: .2px;
}
.pd-spec-value {
    font-family: var(--pd-font-body);
    font-size: .9rem;
    color: var(--pd-dark);
    font-weight: 500;
}

/* ── CTA row ── */
.pd-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
}
.pd-btn-quote {
    background: var(--pd-accent);
    color: var(--pd-accent-text) !important;
    font-family: var(--pd-font-head);
    font-weight: 700;
    font-size: .95rem;
    padding: 14px 32px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(245,166,35,.35);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: var(--pd-transition);
    border: none;
}
.pd-btn-quote:hover {
    background: var(--pd-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(245,166,35,.45);
    color: var(--pd-accent-text) !important;
}
.pd-btn-back {
    background: transparent;
    color: var(--pd-navy) !important;
    border: 2px solid var(--pd-navy);
    font-family: var(--pd-font-head);
    font-weight: 700;
    font-size: .95rem;
    padding: 12px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: var(--pd-transition);
}
.pd-btn-back:hover {
    background: var(--pd-navy);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ================================================================
   SHARED SECTION STYLES
================================================================ */
.pd-section { padding: 90px 0; background: #fff; }
.pd-section--light { background: var(--pd-tint); }
.pd-section--forest {
    background: linear-gradient(135deg, var(--pd-navy) 0%, #04222E 100%);
    position: relative;
    overflow: hidden;
}
.pd-section--forest::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18,168,199,.12), transparent 70%);
    top: -200px; right: -200px;
    pointer-events: none;
}
.pd-section-head { text-align: center; margin-bottom: 56px; }
.pd-section-head--light { margin-bottom: 56px; }
.pd-eyebrow {
    display: inline-block;
    font-family: var(--pd-font-head);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--pd-teal-a11y);
    margin-bottom: 12px;
    position: relative;
    padding: 0 36px;
}
.pd-eyebrow::before,
.pd-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 26px; height: 2px;
    background: var(--pd-teal);
    transform: translateY(-50%);
}
.pd-eyebrow::before { left: 0; }
.pd-eyebrow::after  { right: 0; }
.pd-eyebrow--light  { color: rgba(18,168,199,.85); }
.pd-eyebrow--light::before,
.pd-eyebrow--light::after { background: rgba(18,168,199,.6); }
.pd-section-title {
    font-family: var(--pd-font-head);
    font-weight: 800;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--pd-dark);
    margin-bottom: 14px;
    letter-spacing: -.3px;
}
.pd-title--light { color: #fff; }
.pd-section-sub {
    font-size: .97rem;
    color: var(--pd-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}
.pd-sub--light { color: rgba(255,255,255,.7); }

/* ================================================================
   APPLICATIONS GRID
================================================================ */
.pd-app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 18px;
}
.pd-app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 26px 16px 22px;
    background: #fff;
    border-radius: var(--pd-radius);
    border: 1px solid var(--pd-border);
    box-shadow: 0 2px 12px rgba(7,54,72,.06);
    transition: var(--pd-transition);
    cursor: default;
}
.pd-app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(7,54,72,.14);
    border-color: rgba(18,168,199,.3);
}
.pd-app-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(7,54,72,.08), rgba(18,168,199,.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--pd-navy);
    transition: var(--pd-transition);
}
.pd-app-card:hover .pd-app-icon {
    background: linear-gradient(135deg, var(--pd-navy), #1C6E82);
    color: #fff;
    transform: scale(1.08);
}
.pd-app-label {
    font-family: var(--pd-font-head);
    font-weight: 600;
    font-size: .82rem;
    color: var(--pd-dark);
    line-height: 1.35;
}

/* ================================================================
   BENEFITS GRID
================================================================ */
.pd-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 22px;
}
.pd-benefit-card {
    background: #fff;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    padding: 32px 20px 26px;
    text-align: center;
    transition: var(--pd-transition);
    box-shadow: 0 2px 12px rgba(7,54,72,.05);
    position: relative;
    overflow: hidden;
}
.pd-benefit-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pd-teal), var(--pd-teal-h));
    transform: scaleX(0);
    transition: var(--pd-transition);
}
.pd-benefit-card:hover { transform: translateY(-8px); box-shadow: var(--pd-shadow-lg); }
.pd-benefit-card:hover::before { transform: scaleX(1); }
.pd-benefit-icon {
    width: 62px; height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(7,54,72,.08), rgba(18,168,199,.06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--pd-teal-a11y);
    transition: var(--pd-transition);
}
.pd-benefit-card:hover .pd-benefit-icon {
    background: linear-gradient(135deg, var(--pd-teal), var(--pd-teal-h));
    color: #fff;
    transform: rotate(8deg) scale(1.05);
}
.pd-benefit-label {
    font-family: var(--pd-font-head);
    font-weight: 700;
    font-size: .9rem;
    color: var(--pd-dark);
    line-height: 1.35;
    margin: 0;
}

/* ================================================================
   WHY CHOOSE GRID
================================================================ */
.pd-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.pd-why-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--pd-radius-sm);
    padding: 16px 20px;
    transition: var(--pd-transition);
}
.pd-why-item:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(18,168,199,.4);
    transform: translateX(4px);
}
.pd-why-check {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pd-teal), var(--pd-teal-h));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: .85rem;
    font-weight: 800;
}
.pd-why-item span {
    font-family: var(--pd-font-head);
    font-weight: 600;
    font-size: .88rem;
    color: rgba(255,255,255,.88);
    line-height: 1.35;
}

/* ================================================================
   RELATED PRODUCTS
================================================================ */
.pd-related-card {
    background: #fff;
    border-radius: var(--pd-radius);
    overflow: hidden;
    border: 1px solid var(--pd-border);
    box-shadow: var(--pd-shadow);
    transition: var(--pd-transition);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pd-related-card:hover { transform: translateY(-8px); box-shadow: var(--pd-shadow-lg); }
.pd-related-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.pd-related-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,54,72,.4), transparent 60%);
    opacity: 0;
    transition: var(--pd-transition);
}
.pd-related-card:hover .pd-related-overlay { opacity: 1; }
.pd-related-card:hover .pd-related-img { transform: scale(1.04); }
.pd-related-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pd-related-title {
    font-family: var(--pd-font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--pd-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}
.pd-related-desc {
    font-size: .86rem;
    color: var(--pd-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 14px;
}
.pd-related-link {
    color: var(--pd-teal-a11y);
    font-family: var(--pd-font-head);
    font-weight: 700;
    font-size: .88rem;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-top: auto;
    transition: var(--pd-transition);
}
.pd-related-link:hover { color: var(--pd-teal-h); gap: 6px; }
.pd-related-link i { font-size: 1.1rem; }

/* ================================================================
   BOTTOM CTA SECTION
================================================================ */
.pd-cta-section {
    padding: 80px 0;
    background: var(--pd-tint);
}
.pd-cta-card {
    background: linear-gradient(135deg, var(--pd-navy) 0%, #04222E 100%);
    border-radius: 28px;
    padding: 60px 50px;
    box-shadow: 0 24px 60px rgba(7,54,72,.30);
    position: relative;
    overflow: hidden;
}
.pd-cta-card::before {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18,168,199,.14), transparent 70%);
    bottom: -200px; right: -100px;
    pointer-events: none;
}
.pd-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
}
.pd-cta-text h2 {
    font-family: var(--pd-font-head);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #fff;
    margin-bottom: 10px;
}
.pd-cta-text p {
    color: rgba(255,255,255,.72);
    font-size: .97rem;
    max-width: 480px;
    line-height: 1.7;
    margin: 0;
}
.pd-cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.pd-btn-cta-primary {
    background: var(--pd-accent);
    color: var(--pd-accent-text) !important;
    font-family: var(--pd-font-head);
    font-weight: 700;
    font-size: .95rem;
    padding: 15px 34px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(245,166,35,.4);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: var(--pd-transition);
    border: none;
}
.pd-btn-cta-primary:hover {
    background: var(--pd-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(245,166,35,.5);
    color: var(--pd-accent-text) !important;
}
.pd-btn-cta-outline {
    background: rgba(255,255,255,.10);
    border: 2px solid rgba(255,255,255,.35);
    color: #fff !important;
    font-family: var(--pd-font-head);
    font-weight: 700;
    font-size: .95rem;
    padding: 13px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: var(--pd-transition);
}
.pd-btn-cta-outline:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.6);
    transform: translateY(-2px);
    color: #fff !important;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 991.98px) {
    .pd-img-card { position: static; margin-bottom: 40px; }
    .pd-hero { padding: 140px 0 60px; }
    .pd-cta-inner { flex-direction: column; text-align: center; }
    .pd-cta-actions { justify-content: center; }
    .pd-cta-card { padding: 46px 28px; }
}
@media (max-width: 767.98px) {
    .pd-info-section { padding: 60px 0 50px; }
    .pd-section { padding: 64px 0; }
    .pd-app-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .pd-app-card { padding: 18px 10px; }
    .pd-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-why-grid { grid-template-columns: 1fr 1fr; }
    .pd-spec-row { grid-template-columns: 1fr; gap: 3px; padding: 12px 16px; }
    .pd-spec-label { font-size: .8rem; color: var(--pd-teal-a11y); }
    .pd-hero__title { font-size: 2rem; }
    .pd-product-title { font-size: 1.6rem; }
}
@media (max-width: 575.98px) {
    .pd-app-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-why-grid { grid-template-columns: 1fr; }
    .pd-cta-row { flex-direction: column; }
    .pd-btn-quote, .pd-btn-back { width: 100%; justify-content: center; }
    .pd-hero { padding: 120px 0 50px; }
}
