/* ── Breadcrumb Bar ────────────────────────── */
.detail-breadcrumb {
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.detail-breadcrumb .breadcrumb {
    font-size: .8rem;
    margin: 0;
}
.detail-breadcrumb .breadcrumb-item a {
    color: var(--primary);
    font-weight: 500;
}
.detail-breadcrumb .breadcrumb-item.active {
    color: var(--text-mid);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* ── Product Detail Section ────────────────── */
.product-detail-section { padding: 40px 0 0; }

/* ── Image Block ───────────────────────────── */
.product-image-wrap { position: sticky; top: 76px; }
.product-main-img {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--off-white);
    height: 380px;
    margin-bottom: 12px;
}
.product-main-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform .3s;
}
.product-main-img:hover img { transform: scale(1.03); }
.product-no-img {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light);
}
.product-no-img .bi  { font-size: 3rem; }
.product-no-img span { font-size: .82rem; }

/* Service & featured badges on image */
.pd-service-badge {
    position: absolute;
    top: 12px; left: 12px;
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: .05em;
    display: flex;
    align-items: center;
}
.pd-featured-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--accent);
    color: var(--text-dark);
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Thumbnails */
.product-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.product-thumb {
    width: 70px; height: 70px;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s;
    background: var(--off-white);
}
.product-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.product-thumb.active { border-color: var(--primary); }
.product-thumb:hover  { border-color: var(--primary); }

/* Actions */
.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pa-label { font-size: .8rem; color: var(--text-light); }
.pa-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    transition: transform .2s, background .2s;
    text-decoration: none;
}
.pa-btn:hover { transform: translateY(-2px); }
.pa-whatsapp { background: #25d366; color: #fff; }
.pa-whatsapp:hover { background: #1ebe5d; color: #fff; }
.pa-call { background: var(--primary); color: #fff; }
.pa-call:hover { background: var(--primary-dark); color: #fff; }

/* ── Product Info ──────────────────────────── */
.pd-category {
    font-size: .72rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.pd-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 16px;
}
.pd-price-wrap { margin-bottom: 16px; }
.pd-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
    display: block;
    line-height: 1;
}
.pd-price-enquiry {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}
.pd-price-note {
    font-size: .78rem;
    color: var(--text-light);
    display: block;
    margin-top: 4px;
}
.pd-short-desc {
    font-size: .92rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 20px;
}
.pd-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

/* Specs summary */
.pd-specs-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: var(--text-dark);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.pd-specs-table { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }

/* Model Switcher — click a model to view its own spec table */
.model-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.model-tab-btn {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-mid);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.model-tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.model-tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.model-panel { display: none; }
.model-panel.active { display: block; }
@media (max-width: 575px) {
    .model-tab-btn { font-size: .76rem; padding: 5px 12px; }
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-key {
    background: var(--off-white);
    padding: 9px 14px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-dark);
    border-right: 1px solid var(--border);
}
.spec-val {
    padding: 9px 14px;
    font-size: .82rem;
    color: var(--text-mid);
    background: var(--white);
}

/* CTA Row */
.pd-cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.pd-cta-main { flex: 1; min-width: 160px; justify-content: center; }
.pd-cta-call { flex-shrink: 0; }
.pd-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #25d366;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    padding: 11px 18px;
    border-radius: 6px;
    transition: background .2s, transform .15s;
    flex-shrink: 0;
}
.pd-whatsapp-btn:hover {
    background: #1ebe5d;
    color: var(--white);
    transform: translateY(-2px);
}

/* Trust row */
.pd-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.pd-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: .76rem;
    color: var(--text-mid);
    font-weight: 500;
}
.pd-trust-item .bi { color: var(--primary); font-size: .85rem; }

/* Location */
.pd-location {
    font-size: .8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

/* ── Tabs ──────────────────────────────────── */
.pd-tabs-section {
    margin-top: 48px;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0;
}
.pd-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--off-white);
}
.pd-tab {
    padding: 14px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .92rem;
    color: var(--text-mid);
    cursor: pointer;
    display: flex;
    align-items: center;
    letter-spacing: .04em;
    transition: color .2s, border-color .2s;
    margin-bottom: -1px;
}
.pd-tab:hover   { color: var(--primary); }
.pd-tab.active  { color: var(--primary); border-bottom-color: var(--primary); background: var(--white); }
.pd-tab-content { background: var(--white); }
.pd-tab-panel   { display: none; padding: 28px; }
.pd-tab-panel.active { display: block; }
.pd-description {
    font-size: .9rem;
    color: var(--text-mid);
    line-height: 1.85;
}
.pd-full-specs-table {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.full-spec-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border);
}
.full-spec-row:last-child { border-bottom: none; }
.full-spec-key {
    background: var(--off-white);
    padding: 10px 16px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-dark);
    border-right: 1px solid var(--border);
}
.full-spec-val {
    padding: 10px 16px;
    font-size: .85rem;
    color: var(--text-mid);
}

/* ── Enquiry Section ───────────────────────── */
.enquiry-section { padding: 60px 0; }
.enquiry-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.enquiry-box-header {
    background: var(--primary);
    padding: 24px 28px 20px;
}
.enquiry-box-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    margin: 0 0 4px;
}
.enquiry-box-sub {
    font-size: .84rem;
    color: rgba(255,255,255,.65);
    margin: 0;
}
.enquiry-box-body { padding: 28px; }

/* ── Related Products ──────────────────────── */
.py-80 { padding: 80px 0; }
.product-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.09);
}
.card-img-wrap {
    position: relative;
    height: 180px;
    background: var(--off-white);
    overflow: hidden;
}
.card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.product-card:hover .card-img-wrap img { transform: scale(1.04); }
.no-img {
    width: 100%; height: 100%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: var(--text-light);
}
.service-badge {
    position: absolute;
    top: 8px; left: 8px;
    font-size: .62rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.badge-repair { background: #fef3c7; color: #92400e; }
.badge-sale   { background: #dbeafe; color: #1e40af; }
.badge-both   { background: #f0fdf4; color: #166534; }
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,79,92,.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s;
}
.product-card:hover .card-overlay { opacity: 1; }
.overlay-btn {
    background: var(--white);
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    padding: 7px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}
.overlay-btn:hover { background: var(--accent); color: var(--text-dark); }
.card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}
.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.price-tag {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    color: var(--primary);
}
.price-enquiry {
    font-size: .76rem;
    color: var(--text-light);
    font-style: italic;
}
.card-detail-btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 3px;
    transition: gap .2s;
}
.card-detail-btn:hover { gap: 6px; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 767px) {
    .product-main-img { height: 280px; }
    .pd-cta-row { flex-direction: column; }
    .pd-cta-main, .pd-cta-call, .pd-whatsapp-btn { width: 100%; justify-content: center; }
    .full-spec-row { grid-template-columns: 1fr; }
    .full-spec-key { border-right: none; border-bottom: 1px solid var(--border); }
}