@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap');

/* ══ BASE ══ */
.pp-page { font-family: 'Manrope', system-ui, sans-serif; color: #1e1e1e; background: #fff; -webkit-font-smoothing: antialiased; }
.pp-page * { box-sizing: border-box; }
.pp-container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ══ HERO ══ */
.pp-hero { position: relative; height: 480px; overflow: hidden; background: #0f3d1a; }
.pp-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; opacity: .82; }
.pp-hero-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 48px 56px;
    background: linear-gradient(to top, rgba(10,45,18,.82) 0%, rgba(10,45,18,.2) 50%, transparent 100%);
}
.pp-brand {
    display: inline-block;
    background: #c8372d;
    color: #fff;
    font-size: 10px; font-weight: 800;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 4px;
    margin-bottom: 12px; width: fit-content;
}
.pp-hero-title {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 900; color: #fff;
    line-height: 1.05; margin: 0 0 10px;
    text-shadow: 0 2px 20px rgba(0,0,0,.35);
    text-transform: uppercase; letter-spacing: -.5px;
}
.pp-weight { font-size: 16px; color: rgba(255,255,255,.7); font-weight: 500; }

/* ══ INTRO ══ */
.pp-intro { padding: 52px 0; background: #fff; }
.pp-intro-grid { display: grid; grid-template-columns: 280px 1fr; gap: 52px; align-items: start; }
.pp-pack-img {
    width: 100%; max-width: 260px;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,.14);
    display: block;
}
.pp-weight-label { font-size: 13px; color: #888; text-align: center; margin-top: 12px; }
.pp-weight-label strong { color: #1a5c2a; font-size: 16px; font-weight: 800; }
.pp-info-col { display: flex; flex-direction: column; gap: 24px; }
.pp-description {
    font-size: 15px; color: #444; line-height: 1.75;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0f0eb;
}

/* ══ COOKING ══ */
.pp-cooking-block { display: flex; gap: 14px; }
.pp-cook-item {
    display: flex; gap: 12px; align-items: flex-start;
    background: #f4f9f0;
    border: 1.5px solid #c8e6b0;
    border-radius: 12px; padding: 16px; flex: 1;
}
.pp-cook-svg { width: 34px; height: 34px; color: #1a5c2a; flex-shrink: 0; }
.pp-cook-svg svg { width: 100%; height: 100%; }
.pp-cook-temp { font-size: 19px; font-weight: 900; color: #1a5c2a; line-height: 1; }
.pp-cook-note { font-size: 11px; color: #888; margin: 2px 0 5px; }
.pp-cook-lbl {
    font-size: 9px; font-weight: 800; letter-spacing: 1.2px;
    color: #c8372d; text-transform: uppercase;
    margin-top: 7px; margin-bottom: 2px;
}
.pp-cook-hint { font-size: 10px; color: #aaa; line-height: 1.4; }

/* ══ QR ══ */
.pp-qr { display: block; border-radius: 8px; border: 2px solid #e0e0e0; }

/* ══ DATA SECTION ══ */
.pp-data { background: #f4f9f0; padding: 52px 0; border-top: 3px solid #1a5c2a; border-bottom: 3px solid #1a5c2a; }
.pp-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.pp-data h2, .pp-ingredients-sec h2 {
    font-size: 17px; font-weight: 900; color: #1a5c2a;
    margin: 0 0 20px; text-transform: uppercase;
    letter-spacing: .5px; padding-bottom: 10px;
    border-bottom: 2px solid #c8e6b0;
}
.pp-data h2 span { font-size: 12px; font-weight: 500; color: #888; text-transform: none; letter-spacing: 0; }

/* ══ STORAGE ══ */
.pp-storage-list { list-style: none; padding: 0; margin: 0; }
.pp-storage-list li {
    padding: 12px 0; border-bottom: 1px solid #ddeedd;
    font-size: 14px; color: #444; line-height: 1.6;
}
.pp-storage-list li:last-child { border-bottom: none; }
.pp-storage-list li strong {
    display: block; font-size: 10px;
    text-transform: uppercase; letter-spacing: .8px;
    color: #1a5c2a; font-weight: 800; margin-bottom: 4px;
}

/* ══ NUTRITION CARDS (oval) ══ */
.pp-nut-cards { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-nut-card {
    flex: 1; min-width: 76px;
    border-radius: 50px; overflow: hidden;
    border: 3px solid var(--nut-color);
    display: flex; flex-direction: column; text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,.07);
}
.pp-nut-top {
    background: #fff; padding: 13px 6px 9px;
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2px;
}
.pp-nut-secondary { font-size: 10px; color: #999; line-height: 1; margin-bottom: 1px; }
.pp-nut-num { font-size: 19px; font-weight: 900; color: #1e1e1e; line-height: 1.1; }
.pp-nut-num span { font-size: 11px; font-weight: 600; color: #666; }
.pp-nut-bottom { background: var(--nut-color); padding: 7px 4px; }
.pp-nut-lbl { font-size: 9px; font-weight: 800; letter-spacing: .7px; color: #fff; text-transform: uppercase; }

/* ══ NUTRITION TABLE ══ */
.pp-nut-table { border-collapse: collapse; width: 100%; font-size: 13px; border-radius: 10px; overflow: hidden; }
.pp-nut-table th, .pp-nut-table td { padding: 9px 14px; border-bottom: 1px solid #ddeedd; text-align: left; }
.pp-nut-table thead th { background: #1a5c2a; color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.pp-nut-table td:last-child { text-align: right; font-weight: 700; color: #1a5c2a; }
.pp-nut-sub td:first-child { padding-left: 24px; color: #888; font-size: 12px; }

/* ══ INGREDIENTS ══ */
.pp-ingredients-sec { padding: 52px 0; background: #fff; }
.pp-ing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.pp-raw-img { width: 100%; height: 360px; object-fit: cover; border-radius: 16px; display: block; box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.pp-ingredients { font-size: 14px; color: #444; line-height: 1.85; margin-bottom: 16px; }
.pp-ingredients strong { color: #1a5c2a; font-weight: 800; }
.pp-allergens {
    background: #fff8e6; border: 1.5px solid #f5c842;
    border-radius: 10px; padding: 14px 16px;
    font-size: 13px; color: #7a5500;
    display: flex; gap: 10px; align-items: flex-start; line-height: 1.55;
}
.pp-allergen-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ══ RECIPES ══ */
.pp-recipes-section { padding: 60px 0; background: #0f3d1a; }

.pp-recipes-title {
    font-size: 24px; font-weight: 900; color: #fff;
    margin-bottom: 32px; text-transform: uppercase; letter-spacing: .5px;
    display: flex; align-items: center; gap: 14px;
}
.pp-recipes-title::before {
    content: '';
    width: 6px; height: 32px;
    background: #c8372d;
    border-radius: 3px; flex-shrink: 0;
    display: block;
}
.pp-recipes-title::after {
    content: '';
    flex: 1; height: 1px;
    background: rgba(255,255,255,.15);
}

/* Tabs */
.pp-recipe-tabs {
    display: flex; gap: 10px; margin-bottom: 28px;
    overflow-x: auto; padding-bottom: 4px; scrollbar-width: none;
}
.pp-recipe-tabs::-webkit-scrollbar { display: none; }
.pp-recipe-tab {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; border-radius: 6px;
    border: 2px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 13px; font-weight: 700;
    color: rgba(255,255,255,.7);
    white-space: nowrap; transition: all .2s; flex-shrink: 0;
}
.pp-recipe-tab:hover:not(.active) {
    border-color: rgba(255,255,255,.5);
    color: #fff; background: rgba(255,255,255,.12);
}
.pp-recipe-tab.active {
    background: #c8372d; border-color: #c8372d;
    color: #fff; box-shadow: 0 4px 16px rgba(200,55,45,.4);
}
.pp-tab-thumb { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.3); }

/* Panels */
.pp-recipe-panel { display: none; }
.pp-recipe-panel.active { display: block; }

.pp-recipe-inner {
    display: grid; grid-template-columns: 360px 1fr;
    gap: 0; border-radius: 16px; overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

/* Media col */
.pp-recipe-media { display: flex; flex-direction: column; }
.pp-recipe-img { width: 100%; height: 300px; object-fit: cover; display: block; }

.pp-recipe-meta {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1px; background: #ddeedd; flex: 1;
}
.pp-recipe-meta-item {
    display: flex; align-items: center; gap: 10px;
    background: #f4f9f0; padding: 12px 14px;
}
.pp-rmeta-icon { font-size: 18px; flex-shrink: 0; }
.pp-recipe-meta-item strong {
    display: block; font-size: 9px;
    text-transform: uppercase; letter-spacing: .9px;
    color: #1a5c2a; font-weight: 800; margin-bottom: 2px;
}
.pp-recipe-meta-item span { font-size: 13px; font-weight: 700; color: #1e1e1e; }

/* Content */
.pp-recipe-content { padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.pp-recipe-name { font-size: 22px; font-weight: 900; color: #1e1e1e; line-height: 1.15; text-transform: uppercase; letter-spacing: -.3px; }
.pp-recipe-desc { font-size: 14px; color: #666; line-height: 1.7; margin: 0; }

.pp-recipe-ingr h4, .pp-recipe-steps h4 {
    font-size: 10px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: #c8372d; margin-bottom: 12px;
    padding-bottom: 8px; border-bottom: 2px solid #f0f0eb;
}

.pp-recipe-ingr ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; }
.pp-recipe-ingr li {
    font-size: 13px; color: #333;
    padding: 7px 12px;
    background: #f4f9f0; border-radius: 6px;
    border-left: 3px solid #1a5c2a; line-height: 1.4;
    font-weight: 500;
}

.pp-recipe-steps ol { list-style: none; padding: 0; margin: 0; counter-reset: steps; display: flex; flex-direction: column; gap: 12px; }
.pp-recipe-steps li {
    counter-increment: steps;
    font-size: 14px; color: #333; line-height: 1.65;
    display: flex; gap: 14px; align-items: flex-start;
}
.pp-recipe-steps li::before {
    content: counter(steps);
    background: #1a5c2a; color: #fff;
    width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 900; flex-shrink: 0; margin-top: 2px;
}

.pp-recipe-tips {
    background: #fff8e6; border: 1.5px solid #f5c842;
    border-radius: 10px; padding: 14px 16px;
    display: flex; gap: 10px;
    font-size: 13px; color: #7a5500; line-height: 1.6;
}
.pp-recipe-tips span { font-size: 18px; flex-shrink: 0; }

/* ══ RESPONSIVE ══ */
@media (max-width: 860px) {
    .pp-hero { height: 65vw; min-height: 280px; max-height: 420px; }
    .pp-hero-overlay { padding: 28px 24px; }
    .pp-intro-grid, .pp-data-grid, .pp-ing-grid { grid-template-columns: 1fr; gap: 32px; }
    .pp-pack-img { max-width: 200px; margin: 0 auto; }
    .pp-cooking-block { flex-direction: column; }
    .pp-nut-cards { flex-wrap: wrap; }
    .pp-nut-card { min-width: calc(33% - 8px); }
    .pp-raw-img { height: 240px; }
    .pp-recipe-inner { grid-template-columns: 1fr; }
    .pp-recipe-img { height: 220px; }
    .pp-recipe-content { padding: 24px; }
    .pp-recipe-meta { grid-template-columns: 1fr 1fr; }
    .pp-container { padding: 0 20px; }
    .pp-data { padding: 36px 0; }
    .pp-intro { padding: 36px 0; }
    .pp-ingredients-sec { padding: 36px 0; }
    .pp-recipes-section { padding: 40px 0; }
}

@media (max-width: 480px) {
    .pp-hero-title { font-size: 26px; }
    .pp-nut-card { min-width: calc(50% - 8px); }
}