/* ============================================================
   product-page.css — Mitsubishi & SICK product pages
   ============================================================ */

/* ── Body override ── */
.product-page-body { background: #f8fafc; }

/* ── HERO ── */
.pp-hero {
    position: relative;
    padding: 100px 0 70px;
    overflow: hidden;
    min-height: 480px;
}
.pp-hero-mitsubishi {
    background: linear-gradient(135deg, #0b1f3a 0%, #1a0f0f 60%, #200808 100%);
}
.pp-hero-sick {
    background: linear-gradient(135deg, #0b1f3a 0%, #002f4a 60%, #001a2e 100%);
}
.pp-hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.pp-hero-inner { position: relative; z-index: 2; }
.pp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 32px;
}
.pp-breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; text-decoration: none; }
.pp-breadcrumb a:hover { color: #fff; }
.pp-breadcrumb span { color: rgba(255,255,255,0.9); font-weight: 600; }
.pp-breadcrumb svg { opacity: 0.4; flex-shrink: 0; }

.pp-hero-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: center;
}
.pp-hero-left { color: white; }

.pp-badge-partner {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(230,0,18,0.15);
    border: 1px solid rgba(230,0,18,0.4);
    color: #ff6666;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.pp-badge-sick {
    background: rgba(0,158,224,0.15);
    border-color: rgba(0,158,224,0.4);
    color: #5dd3f5;
}
.pp-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.pp-title-red { color: #ff4444; }
.pp-title-sick { color: #009ee0; }
.pp-hero-desc {
    font-size: 0.97rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.68);
    margin-bottom: 24px;
    max-width: 500px;
}
.pp-hero-stats {
    display: flex;
    gap: 28px;
    margin-bottom: 28px;
}
.pp-stat { text-align: center; }
.pp-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}
.pp-stat span { font-size: 0.72rem; color: rgba(255,255,255,0.5); font-weight: 500; }
.pp-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline-dark {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}
.btn-outline-dark:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-2px); }

.pp-brand-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.pp-sick-card { border-color: rgba(0,158,224,0.3); }
.pp-brand-svg { width: 100%; height: auto; border-radius: 12px; }
.pp-brand-tag {
    margin-top: 14px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
}

/* ── SICK features list ── */
.pp-sick-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}
.pp-sick-feat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.pp-sick-feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,158,224,0.15);
    border: 1px solid rgba(0,158,224,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5dd3f5;
    flex-shrink: 0;
}
.pp-sick-feat strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: white;
}
.pp-sick-feat p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    margin: 0;
}

/* ── FILTER BAR ── */
.pp-filter-bar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    position: sticky;
    top: 77px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.pp-filter-tabs {
    display: flex;
    gap: 4px;
    padding: 12px 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.pp-filter-tabs::-webkit-scrollbar { display: none; }
.pp-filter-tab {
    padding: 7px 18px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: 'Outfit', sans-serif;
}
.pp-filter-tab:hover, .pp-filter-tab.active {
    background: #e60012;
    border-color: #e60012;
    color: white;
}

/* ── SECTION HEAD ── */
.pp-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

/* ── PRODUCTS SECTION ── */
.pp-products { padding: 70px 0 80px; background: #f8fafc; }

.pp-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pp-product-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.pp-product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #e60012;
    transform: scaleX(0);
    transition: transform 0.3s;
}
.pp-product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.pp-product-card:hover::before { transform: scaleX(1); }

.pp-product-cat {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.pp-product-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e60012;
    margin: 4px 0;
}
.pp-product-title { font-size: 1rem; font-weight: 700; color: #1a2840; line-height: 1.3; }
.pp-product-desc { font-size: 0.84rem; color: #718096; line-height: 1.65; flex: 1; }
.pp-product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-tag {
    background: #f0f4f8;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 500;
}
.pp-enquire-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #0b1f3a;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.83rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    width: fit-content;
    margin-top: 6px;
}
.pp-enquire-btn:hover { background: #0066cc; transform: translateY(-1px); }

/* ── SICK PRODUCT GRID ── */
.pp-sick-products { background: #f0f7ff; }
.pp-sick-products .pp-section-head { /* inherits */ }

.pp-sick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pp-sick-card-item {
    background: white;
    border-radius: 14px;
    border: 1px solid #daeeff;
    box-shadow: 0 2px 10px rgba(0,158,224,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}
.pp-sick-card-item:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,158,224,0.16); }
.pp-sick-img-box { width: 100%; aspect-ratio: 1.4; overflow: hidden; background: #f0f7ff; }
.pp-sick-svg { width: 100%; height: 100%; }
.pp-sick-info { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pp-sick-info h3 { font-size: 0.88rem; font-weight: 700; color: #1a2840; line-height: 1.3; }
.pp-sick-info p { font-size: 0.78rem; color: #718096; line-height: 1.55; flex: 1; }
.pp-sick-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pp-sick-card-footer .pp-enquire-btn { padding: 8px 14px; font-size: 0.77rem; }
.pp-sick-ext {
    font-size: 0.75rem;
    color: #009ee0;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.pp-sick-ext:hover { color: #0077aa; }

/* ── CTA SECTION ── */
.pp-cta {
    background: linear-gradient(135deg, #0b1f3a 0%, #1a0f0f 100%);
    padding: 60px 0;
}
.pp-cta-sick { background: linear-gradient(135deg, #0b1f3a 0%, #003055 100%); }
.pp-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.pp-cta-inner h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}
.pp-cta-inner p { color: rgba(255,255,255,0.65); font-size: 0.95rem; }

/* ── Active page highlight in dropdown ── */
.dropdown-item.active-page { background: #f0f7ff; }
.dropdown-item.active-page .di-text strong { color: #0066cc; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .pp-product-grid { grid-template-columns: repeat(2, 1fr); }
    .pp-sick-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .pp-hero-content { grid-template-columns: 1fr; gap: 32px; }
    .pp-hero-right { display: none; }
    .pp-hero { padding: 90px 0 50px; }
    .pp-cta-inner { flex-direction: column; text-align: center; }
    .pp-sick-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .pp-product-grid { grid-template-columns: 1fr; }
    .pp-sick-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pp-hero-title { font-size: 1.9rem; }
    .pp-hero-stats { gap: 16px; }
    .pp-filter-bar { top: 68px; }
    .pp-products { padding: 50px 0 60px; }
}
