/* GreenFeathers - Productpagina */
:root { --gf-green: #2e9e2e; --gf-green-dark: #1a6b1a; --gf-green-50: #f1f8f1; --gf-border: #e5e7eb; }

.product-page { padding: 110px 0 70px; }
.breadcrumb { font-size: 13px; color: #6b7280; margin-bottom: 24px; }
.breadcrumb a { color: #6b7280; text-decoration: none; }
.breadcrumb a:hover { color: var(--gf-green); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .product-detail { grid-template-columns: 1fr; gap: 32px; } }

/* Visual */
.pd-visual { position: sticky; top: 100px; }
.pd-image {
    position: relative; aspect-ratio: 1; border-radius: 20px;
    background: linear-gradient(135deg, var(--gf-green-50) 0%, #e8f5e9 100%);
    display: flex; align-items: center; justify-content: center; border: 1px solid var(--gf-border);
}
.pd-weight { font-size: 96px; font-weight: 800; color: var(--gf-green); line-height: 1; }
.pd-weight small { font-size: 40px; }
.pd-badge { position: absolute; top: 18px; left: 18px; background: var(--gf-green); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px; }
.pd-trust { display: flex; justify-content: space-around; gap: 10px; margin-top: 18px; font-size: 13px; color: #4b5563; }

/* Info */
.pd-eyebrow { color: var(--gf-green); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.pd-info h1 { font-size: 34px; margin: 6px 0 10px; }
.pd-rating { font-size: 14px; margin-bottom: 16px; }
.pd-rating span { color: #6b7280; font-size: 13px; }
.pd-desc { font-size: 16px; line-height: 1.6; color: #4b5563; margin-bottom: 18px; }
.pd-features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-features li { font-size: 14px; color: #374151; }

.pd-section-label { font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 10px; }
.pd-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 10px; margin-bottom: 24px; }
.pd-pkg {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px;
    border: 1.5px solid var(--gf-border); border-radius: 12px; background: #fff; cursor: pointer; transition: all .15s;
}
.pd-pkg:hover { border-color: var(--gf-green); }
.pd-pkg.active { border-color: var(--gf-green); background: var(--gf-green-50); }
.pkg-weight { font-size: 18px; font-weight: 700; color: var(--gf-green-dark); }
.pkg-name { font-size: 11px; color: #6b7280; }
.pkg-price { font-size: 14px; font-weight: 600; margin-top: 2px; }

.pd-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--gf-border); border-bottom: 1px solid var(--gf-border); margin-bottom: 18px; flex-wrap: wrap; }
.pd-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price { font-size: 30px; font-weight: 800; color: var(--gf-green-dark); }
.pd-price-old { font-size: 18px; color: #9ca3af; text-decoration: line-through; }
.pd-price-per { font-size: 13px; color: #6b7280; }
.pd-qty { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #374151; }
.qty-control { display: flex; align-items: center; gap: 8px; border: 1px solid var(--gf-border); border-radius: 8px; padding: 4px; }
.qty-btn { width: 30px; height: 30px; border: none; background: #f9fafb; border-radius: 6px; cursor: pointer; font-size: 16px; }
.qty-btn:hover { background: var(--gf-green-50); color: var(--gf-green); }
.qty-val { min-width: 26px; text-align: center; font-weight: 600; }

.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.btn-pd-cart { padding: 14px; border: 1.5px solid var(--gf-green); background: #fff; color: var(--gf-green-dark); border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn-pd-cart:hover { background: var(--gf-green-50); }
.btn-pd-buy { padding: 14px; border: none; background: var(--gf-green); color: #fff; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn-pd-buy:hover { background: var(--gf-green-dark); }
.pd-added { font-size: 14px; color: var(--gf-green-dark); background: var(--gf-green-50); padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.pd-added a { color: var(--gf-green-dark); font-weight: 600; }

.pd-extra { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.pd-extra-item { font-size: 14px; color: #4b5563; }

/* Analytische samenstelling */
.pd-analysis { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--gf-border); text-align: center; }
.pd-analysis h2 { font-size: 26px; margin: 0 0 10px; }
.pd-analysis p { font-size: 15px; color: #4b5563; max-width: 560px; margin: 0 auto 28px; line-height: 1.6; }
.pd-analysis img { max-width: 600px; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 6px 24px rgba(0,0,0,0.07); }

/* Garantie + betaling onder samenstelling */
.pd-assurance { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.pd-assurance-item { display: flex; align-items: center; gap: 10px; background: var(--gf-green-50); border: 1px solid #d5ead5; border-radius: 12px; padding: 14px 20px; font-size: 14px; color: #374151; }
.pa-icon { font-size: 20px; }

/* Grotere volumes / offerte (hele regel klikbaar) */
.pd-bulk-link {
    display: block; width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    font-family: inherit; font-size: 13.5px; color: #4b5563; padding: 0; margin-bottom: 18px;
}
.pd-bulk-link strong { color: var(--gf-green-dark); }
.pd-bulk-cta { color: var(--gf-green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pd-bulk-link:hover .pd-bulk-cta { color: var(--gf-green-dark); }

/* Offerte modal */
.gf-modal-overlay { position: fixed; inset: 0; background: rgba(20,30,24,0.55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.gf-modal { background: #fff; border-radius: 16px; max-width: 480px; width: 100%; padding: 28px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.25); animation: gfModalIn .2s ease; }
@keyframes gfModalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.gf-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 26px; line-height: 1; color: #9ca3af; cursor: pointer; }
.gf-modal-close:hover { color: var(--gf-text); }
.gf-modal-title { font-size: 22px; margin: 0 0 6px; color: var(--gf-text); }
.gf-modal-sub { font-size: 14px; color: #6b7280; margin: 0 0 20px; line-height: 1.5; }
.gf-modal-row { display: flex; gap: 12px; }
@media (max-width: 440px) { .gf-modal-row { flex-direction: column; } }
.gf-field { flex: 1; margin-bottom: 14px; display: flex; flex-direction: column; }
.gf-field label { font-size: 13px; font-weight: 500; margin-bottom: 5px; color: #374151; }
.gf-field input, .gf-field textarea { padding: 10px 12px; border: 1px solid var(--gf-border); border-radius: 8px; font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
.gf-field input:focus, .gf-field textarea:focus { border-color: var(--gf-green); box-shadow: 0 0 0 3px rgba(46,158,46,.12); }
.gf-modal-feedback { font-size: 13.5px; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
.gf-modal-feedback.ok { background: var(--gf-green-50); color: var(--gf-green-dark); border: 1px solid #bbf7d0; }
.gf-modal-feedback.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.gf-modal-submit { width: 100%; padding: 13px; background: var(--gf-green); color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s; }
.gf-modal-submit:hover { background: var(--gf-green-dark); }
.gf-modal-submit:disabled { opacity: .7; cursor: default; }

/* Productgalerij (swipebaar, Bol-stijl) */
.pd-image img#pdPhoto { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs {
    display: flex; gap: 10px; margin-top: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 4px;
}
.pd-thumbs::-webkit-scrollbar { height: 6px; }
.pd-thumbs::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
.pd-thumb {
    flex: 0 0 auto; width: 68px; height: 68px; padding: 4px; border: 2px solid var(--gf-border);
    border-radius: 10px; background: #fff; cursor: pointer; scroll-snap-align: start; transition: border-color .15s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.pd-thumb:hover { border-color: var(--gf-green); }
.pd-thumb.active { border-color: var(--gf-green); box-shadow: 0 0 0 1px var(--gf-green); }

/* Analytische samenstelling - icoon-kaarten */
.nutri-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    max-width: 760px; margin: 8px auto 0; text-align: left;
}
@media (max-width: 600px) { .nutri-grid { grid-template-columns: 1fr; } }
.nutri-card {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid var(--gf-border); border-radius: 14px; padding: 14px 16px;
    transition: box-shadow .15s, transform .15s;
}
.nutri-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.06); transform: translateY(-2px); }
.nutri-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.nutri-icon svg { width: 24px; height: 24px; }
.nutri-info { flex: 1; min-width: 0; }
.nutri-label { display: block; font-size: 14px; font-weight: 600; color: var(--gf-text); }
.nutri-sub { display: block; font-size: 12px; color: #9ca3af; margin-top: 2px; }
.nutri-bar { height: 6px; background: #eef2ee; border-radius: 3px; margin-top: 6px; overflow: hidden; }
.nutri-bar span { display: block; height: 100%; background: var(--gf-green); border-radius: 3px; }
.nutri-val { flex: 0 0 auto; font-size: 16px; font-weight: 800; color: var(--gf-green-dark); white-space: nowrap; }
.nutri-foot { font-size: 13.5px; color: #6b7280; margin-top: 24px; text-align: center; }

/* (i) info-knop + modal lijst */
.pd-info-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; margin-left: 4px; padding: 0;
    border: none; border-radius: 50%; background: var(--gf-green); color: #fff;
    font-size: 11px; font-weight: 700; font-style: italic; cursor: pointer; vertical-align: middle;
    font-family: Georgia, 'Times New Roman', serif;
}
.pd-info-btn:hover { background: var(--gf-green-dark); }
.gf-modal-list { margin: 0; padding-left: 20px; }
.gf-modal-list li { font-size: 14px; color: #4b5563; line-height: 1.6; margin-bottom: 8px; }
.gf-modal-list li strong { color: var(--gf-text); }
