/* ═══════════════════════════════════════════════════════════════
   FOOD PRODUCT DETAIL CSS
   Shared by: foton-x.html · foton-sort.html · foton-xf.html
   ═══════════════════════════════════════════════════════════════ */

:root {
    --fa: #3db451;
    --fa-d: #2a9040;
    --fa-pale: rgba(61,180,81,0.10);
    --fa-border: rgba(61,180,81,0.25);
    --black: #000;
    --ink: #0a0a0a;
    --ink2: #1a1a1a;
    --gray1: #f7f8f6;
    --gray2: #eef0ec;
    --gray3: #dde0da;
    --text: #2a2a2a;
    --text-mid: #555;
    --text-light: #888;
    --border-l: rgba(0,0,0,0.08);
    --border-d: rgba(255,255,255,0.08);
}

/* ─── HERO ───────────────────────────────────────────── */

.fpd-hero {
    position: relative;
    height: 750px;
    min-height: 700px;
    max-height: 750px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--ink);
    padding-top: 50px;
}

.fpd-hero-img {
    position: relative;
    overflow: hidden;
    background: #0d0d0d;
}
.fpd-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 40px 40px 0px 40px;
}
.fpd-hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, var(--ink));
    pointer-events: none;
}

.fpd-hero-panel {
    background: var(--ink);
    padding: 52px 60px 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.fpd-hero-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 1px;
    background: var(--border-d);
}

.fpd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 28px;
}
.fpd-breadcrumb a { color: rgba(255,255,255,0.3); text-decoration: none; }
.fpd-breadcrumb a:hover { color: var(--fa); }
.fpd-breadcrumb .sep { color: rgba(255,255,255,0.15); }
.fpd-breadcrumb .current { color: var(--fa); }

.fpd-series-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fa);
    border: 1px solid var(--fa-border);
    background: var(--fa-pale);
    padding: 5px 14px;
    margin-bottom: 20px;
    align-self: flex-start;
}
.fpd-series-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--fa);
    flex-shrink: 0;
}

.fpd-hero-title {
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 500;
    color: #ffffffe3;
    letter-spacing: -1.5px;
    line-height: 1.0;
    margin: 0 0 6px;
}
.fpd-hero-model {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-family: 'Courier New', monospace;
}
.fpd-hero-type {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
    line-height: 1.4;
}
.fpd-hero-tagline {
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.35);
    margin-bottom: 28px;
    border-left: 2px solid var(--fa);
    padding-left: 14px;
}

.fpd-quick-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
    border: 1px solid var(--border-d);
}
.fpd-stat {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border-d);
}
.fpd-stat:last-child { border-bottom: none; }
.fpd-stat-val {
    padding: 10px 14px;
    font-size: 20px;
    font-weight: 800;
    color: var(--fa);
    letter-spacing: -0.5px;
    border-right: 1px solid var(--border-d);
    display: flex;
    align-items: center;
    line-height: 1;
    background: rgba(61,180,81,0.04);
}
.fpd-stat-right { padding: 10px 14px; }
.fpd-stat-unit {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    line-height: 1.2;
}
.fpd-stat-label {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.3);
    margin-top: 2px;
}

.fpd-hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ─── INTRO STRIP — white ────────────────────────────── */

.fpd-intro {
    background: #121111;
    border-top: 0px solid var(--fa);
    padding: 64px 0;
}
.fpd-intro-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 80px;
    align-items: start;
}
.fpd-intro-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--fa-d);
    margin-bottom: 14px;
}
.fpd-intro-left p {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-mid);
    line-height: 1.85;
    margin: 0 0 14px;
}
.fpd-intro-right { padding-top: 24px; }
.fpd-intro-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fpd-intro-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    padding: 9px 14px;
    background: var(--gray1);
    border: 1px solid var(--border-l);
    border-left: 3px solid var(--fa);
}
.fpd-intro-badge.highlight {
    background: var(--fa-pale);
    border-left-color: var(--fa);
    border-color: var(--fa-border);
    font-weight: 700;
    color: var(--fa-d);
}

/* ─── SPECS — dark ───────────────────────────────────── */

.fpd-specs {
    background: #fff;
    padding: 72px 0;
    border-top: 1px solid var(--border-d);
}
.fpd-specs-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}
.fpd-specs-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}
.fpd-specs-header h2 {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 800;
    color: #0c0c0c;
    letter-spacing: -0.8px;
    margin: 0;
}
.fpd-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fa);
    border: 1px solid var(--fa-border);
    padding: 10px 20px;
    text-decoration: none;
    background: var(--fa-pale);
    transition: background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.fpd-dl-btn:hover { background: rgba(61,180,81,0.2); }

.fpd-spec-tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}
.fpd-spec-tab {
    background: #111;
    border: 1px solid var(--border-d);
    border-bottom: none;
    color: rgba(255,255,255,0.4);
    padding: 12px 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.fpd-spec-tab:hover { color: #fff; background: #1a1a1a; }
.fpd-spec-tab.active { background: #fff; color: var(--ink); border-color: #fff; }

.fpd-spec-panel { display: none; }
.fpd-spec-panel.active { display: block; }

.fpd-spec-table {
    background: #fff;
    border: 1px solid #e8e8e8;
}
.fpd-spec-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.fpd-spec-row:last-child { border-bottom: none; }
.fpd-spec-row:hover { background: var(--gray1); }
.fpd-spec-row.header {
    background: var(--gray2);
    border-bottom: 2px solid var(--gray3);
}
.fpd-spec-key, .fpd-spec-val {
    padding: 13px 20px;
    font-size: 14px;
    line-height: 1.5;
}
.fpd-spec-key {
    font-weight: 600;
    color: var(--text);
    border-right: 1px solid #f0f0f0;
}
.fpd-spec-val {
    color: var(--text-mid);
}
.fpd-spec-val.highlight { color: var(--fa-d); font-weight: 700; }
.fpd-spec-val .badge {
    display: inline-block;
    background: var(--fa-pale);
    border: 1px solid var(--fa-border);
    color: var(--fa-d);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 8px;
    margin-left: 8px;
}
.fpd-spec-row.header .fpd-spec-key,
.fpd-spec-row.header .fpd-spec-val {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
}
.fpd-spec-row.header .fpd-spec-key { border-right-color: var(--gray3); }

/* ─── HOW IT WORKS — dark steps ──────────────────────── */

.fpd-how {
    background: #0a0a0a;
    border-top: 1px solid var(--border-l);
    padding: 80px 0;
}
.fpd-how-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0px;
    background: #0a0a0a;
}
.fpd-how-header {
    margin-bottom: 60px;
}
.fpd-how-header .fpd-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--fa-d);
    display: block;
    margin-bottom: 10px;
}
.fpd-how-header h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -1px;
    margin: 0 0 12px;
}
.fpd-how-header p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 580px;
}

.fpd-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-d);
}

.fpd-step {
    display: grid;
    grid-template-columns: 80px 1fr 480px;
    gap: 0;
    border-bottom: 1px solid var(--border-d);
    background: var(--ink);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.fpd-step.visible { opacity: 1; transform: translateY(0); }
.fpd-step:nth-child(2) { transition-delay: 0.1s; }
.fpd-step:nth-child(3) { transition-delay: 0.2s; }
.fpd-step:last-child { border-bottom: none; }

.fpd-step-num-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 36px 0;
    border-right: 1px solid var(--border-d);
}
.fpd-step-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--fa-pale);
    border: 1px solid var(--fa-border);
    color: var(--fa);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fpd-step-content {
    padding: 36px 40px;
    border-right: 1px solid var(--border-d);
}
.fpd-step-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.4px;
    margin: 0 0 12px;
    line-height: 1.25;
}
.fpd-step-content p {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin: 0 0 14px;
}
.fpd-step-content p:last-of-type { margin-bottom: 0; }
.fpd-step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}
.fpd-step-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--fa);
    background: var(--fa-pale);
    border: 1px solid var(--fa-border);
    padding: 3px 10px;
}

.fpd-step-media {
    position: relative;
    overflow: hidden;
    min-height: 240px;
}
.fpd-step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fpd-step-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 10px 14px;
    background: rgba(0,0,0,0.65);
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

/* ─── APPLICATION AREAS — dark ───────────────────────── */

.fpd-apps {
    background: var(--ink);
    border-top: 1px solid var(--border-d);
    padding: 72px 0;
}
.fpd-apps-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}
.fpd-apps-header {
    margin-bottom: 48px;
}
.fpd-apps-header h2 {
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.8px;
    margin: 0 0 12px;
}
.fpd-apps-header p {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    max-width: 560px;
}
.fpd-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}
.fpd-app-card {
    background: #111;
    border: 1px solid var(--border-d);
    padding: 32px 28px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.25s, background 0.25s;
}
.fpd-app-card.visible { opacity: 1; transform: translateY(0); }
.fpd-app-card:nth-child(2) { transition-delay: 0.07s; }
.fpd-app-card:nth-child(3) { transition-delay: 0.14s; }
.fpd-app-card:nth-child(4) { transition-delay: 0.21s; }
.fpd-app-card:hover {
    border-color: var(--fa-border);
    background: rgba(61,180,81,0.04);
}
.fpd-app-icon {
    width: 48px; height: 48px;
    border-radius: 4px;
    background: var(--fa-pale);
    border: 1px solid var(--fa-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--fa);
    margin-bottom: 18px;
}
.fpd-app-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}
.fpd-app-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin: 0 0 14px;
}
.fpd-app-modes {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.fpd-app-modes span {
    font-size: 11px;
    font-weight: 600;
    color: var(--fa);
}

/* ─── COMPLIANCE / CERTIFICATIONS — white ────────────── */

.fpd-compliance {
    background: #fff;
    border-top: 1px solid var(--border-l);
    padding: 48px 0;
}
.fpd-compliance-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.fpd-compliance-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    flex-shrink: 0;
    white-space: nowrap;
}
.fpd-compliance-divider {
    width: 1px;
    height: 32px;
    background: var(--border-l);
    flex-shrink: 0;
}
.fpd-compliance-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.fpd-comp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}
.fpd-comp-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--fa);
    flex-shrink: 0;
}

/* ─── RELATED / OTHER SYSTEMS — dark ─────────────────── */

.fpd-related {
    background: var(--ink);
    border-top: 1px solid var(--border-d);
    padding: 72px 0;
}
.fpd-related-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}
.fpd-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--fa);
    display: block;
    margin-bottom: 10px;
}
.fpd-related h2 {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.6px;
    margin: 0 0 10px;
}
.fpd-related > .fpd-related-inner > p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    margin: 0 0 40px;
}
.fpd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.fpd-rel-card {
    background: #111;
    border: 1px solid var(--border-d);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, transform 0.25s;
    overflow: hidden;
}
.fpd-rel-card:hover {
    border-color: var(--fa);
    transform: translateY(-3px);
}
.fpd-rel-img {
    height: 200px;
    overflow: hidden;
    background: #151515;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.fpd-rel-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.fpd-rel-body {
    padding: 20px 22px;
    border-top: 1px solid var(--border-d);
}
.fpd-rel-num {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--fa);
    margin-bottom: 6px;
    display: block;
}
.fpd-rel-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}
.fpd-rel-type {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
}

/* ─── CTA — dark ─────────────────────────────────────── */

.fpd-cta {
    background: var(--ink);
    border-top: 1px solid var(--border-d);
    padding: 80px 0;
}
.fpd-cta-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
    text-align: center;
}
.fpd-cta-inner h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 0 0 16px;
}
.fpd-cta-inner h2 em {
    font-style: normal;
    color: var(--fa);
}
.fpd-cta-inner p {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
   
    max-width: 800px; 
    margin: 0 auto 32px;
}
.fpd-cta-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ─── SHARED SECTION LABEL ───────────────────────────── */

.fpd-label-dark {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #3db451;
    display: block;
    margin-bottom: 15px;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */

@media (max-width: 1200px) {
    .fpd-hero { height: auto; max-height: none; grid-template-columns: 1fr; }
    .fpd-hero-img { height: 380px; }
    .fpd-hero-img-overlay { background: linear-gradient(to bottom, transparent 50%, var(--ink)); }
    .fpd-hero-panel::before { display: none; }
    .fpd-hero-panel { padding: 40px 52px; }
    .fpd-intro-inner { padding: 0 52px; grid-template-columns: 1fr; gap: 36px; }
    .fpd-specs-inner { padding: 0 52px; }
    .fpd-how-inner { padding: 0 52px; }
    .fpd-apps-inner { padding: 0 52px; }
    .fpd-compliance-inner { padding: 0 52px; }
    .fpd-related-inner { padding: 0 52px; }
    .fpd-cta-inner { padding: 0 52px; }
    .fpd-step { grid-template-columns: 64px 1fr; }
    .fpd-step-media { display: none; }
}

@media (max-width: 900px) {
    .fpd-hero-panel { padding: 36px 32px; }
    .fpd-intro-inner, .fpd-specs-inner, .fpd-how-inner,
    .fpd-apps-inner, .fpd-related-inner, .fpd-cta-inner,
    .fpd-compliance-inner { padding: 0 32px; }
    .fpd-apps-grid { grid-template-columns: 1fr 1fr; }
    .fpd-related-grid { grid-template-columns: 1fr 1fr; }
    .fpd-spec-row { grid-template-columns: 1fr; }
    .fpd-spec-key { border-right: none; border-bottom: 1px solid #f0f0f0; }
}

@media (max-width: 600px) {
    .fpd-hero-panel { padding: 28px 20px; }
    .fpd-intro-inner, .fpd-specs-inner, .fpd-how-inner,
    .fpd-apps-inner, .fpd-related-inner, .fpd-cta-inner,
    .fpd-compliance-inner { padding: 0 20px; }
    .fpd-apps-grid { grid-template-columns: 1fr; }
    .fpd-related-grid { grid-template-columns: 1fr; }
    .fpd-step { grid-template-columns: 52px 1fr; }
    .fpd-compliance-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}