/* ============================================================
   Dijkgraaf Huis en Tuin — Basis-CSS (gedeeld op elke pagina)
   Tokens, reset, topbar, header/navigatie, footer, CTA, knoppen.
   Pagina-specifieke opmaak staat in de betreffende template.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* De site kent alleen een lichte weergave. Dit houdt de automatische donkere
   modus van mobiele browsers uit, zodat de achtergrond altijd licht blijft en
   formuliervelden leesbaar blijven. */
:root { color-scheme: light only; }

html { scroll-behavior: smooth; font-size: 16px; background: var(--white); }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--gray-800) !important; line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
input, select, textarea, button { color-scheme: light only; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit !important; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ==================== DESIGN TOKENS ==================== */
:root {
  --green-dark: #3d6b27;
  --green: #5a8a2e;
  --green-light: #6fa33a;
  --green-pale: #e8f2de;
  --brown-dark: #5c4a2a;
  --brown: #8b6f3a;
  --brown-light: #b8976a;
  --brown-pale: #f5efe6;
  --wood-warm: #c4a265;
  --gray-900: #1a1a1a;
  --gray-800: #2d2d2d;
  --gray-700: #404040;
  --gray-600: #555;
  --gray-400: #999;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ==================== TOP BAR ==================== */
.topbar { background: var(--gray-900); color: var(--gray-400) !important; font-size: .8rem; padding: 8px 0; letter-spacing: .02em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--gray-400) !important; text-decoration: none; transition: color var(--transition); }
.topbar a:hover { color: var(--white) !important; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-left span, .topbar-right span { display: flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ==================== HEADER / NAV ==================== */
.header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 100; transition: box-shadow var(--transition); }
.header.scrolled { box-shadow: var(--shadow-md); }
/* position: relative maakt de container het ankerpunt voor de mega-menu's. */
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; position: relative; }
.logo { text-decoration: none; }
.logo img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 16px; font-size: .9rem; font-weight: 500; color: var(--gray-700) !important; border-radius: var(--radius-sm); transition: all var(--transition); text-decoration: none; position: relative; }
.nav a:hover { color: var(--green-dark) !important; background: var(--green-pale); }
.nav a.active { color: var(--green-dark) !important; font-weight: 600; }

/* ── Mega-menu (Douglas Hout, Webshop en Bouwpakketten) ──
   Het paneel hangt onder de hele header-container. Bij Webshop staan de
   hoofdcategorieën in een linkerkolom; die schakelen het rechterdeel om. */
.nav-mega { position: static; display: flex; align-items: center; }
.nav-mega > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-mega > a .chevron { width: 12px; height: 12px; transition: transform var(--transition); }
.nav-mega.open > a { color: var(--green-dark) !important; background: var(--green-pale); }
.nav-mega.open > a .chevron { transform: rotate(180deg); }

.nav-mega-paneel { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border: 1px solid var(--gray-200); border-top: none; border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow-lg); z-index: 200; overflow: hidden; }
.nav-mega.open .nav-mega-paneel { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.nav-mega.open .nav-mega-paneel.enkel { display: block; }

/* Linkerkolom met de hoofdcategorieën */
.nav-mega-rail { background: var(--gray-100); border-right: 1px solid var(--gray-200); padding: 8px 0; }
.nav-mega-rail-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 22px; background: none; border: none; font-family: inherit; font-size: .92rem; font-weight: 500; color: var(--gray-700) !important; text-align: left; cursor: pointer; transition: all var(--transition); }
.nav-mega-rail-item .pijl { width: 15px; height: 15px; flex-shrink: 0; color: var(--gray-400) !important; transition: all var(--transition); }
.nav-mega-rail-item:hover { color: var(--green-dark) !important; background: var(--green-pale); }
.nav-mega-rail-item.actief { background: var(--white); color: var(--green-dark) !important; font-weight: 700; box-shadow: inset 3px 0 0 var(--green); }
.nav-mega-rail-item.actief .pijl { color: var(--green) !important; transform: translateX(2px); }

/* Rechterdeel met de subcategorieën */
.nav-mega-inhoud { display: none; padding: 28px 32px; min-height: 260px; flex-direction: column; }
.nav-mega-inhoud.actief { display: flex; }
.nav-mega-paneel.enkel .nav-mega-inhoud { display: flex; min-height: 0; }
.nav-mega-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 32px; align-content: start; flex: 1; }
.nav-mega-paneel.enkel .nav-mega-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav-mega-links a { padding: 9px 10px; margin-left: -10px; font-size: .9rem; font-weight: 500; color: var(--gray-700) !important; border-radius: var(--radius-sm); }
.nav-mega-links a:hover { color: var(--green-dark) !important; background: var(--green-pale); }

/* "Bekijk alle …"-link onderaan */
.nav-mega-alle { display: inline-flex; align-items: center; gap: 8px; align-self: start; margin-top: 24px; padding: 10px 12px 10px 10px; font-size: .88rem; font-weight: 700; color: var(--green-dark) !important; border-radius: var(--radius-sm); }
.nav-mega-alle .pijl { width: 15px; height: 15px; flex-shrink: 0; transition: transform var(--transition); }
.nav-mega-alle:hover { background: var(--green-pale); color: var(--green-dark) !important; }
.nav-mega-alle:hover .pijl { transform: translateX(3px); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn-account,
.nav-actions .btn-cart { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--gray-100); border-radius: 50%; transition: all var(--transition); text-decoration: none; }
.nav-actions .btn-account:hover,
.nav-actions .btn-cart:hover { background: var(--green-pale); }
.nav-actions .btn-account svg,
.nav-actions .btn-cart svg { width: 20px; height: 20px; color: var(--gray-700) !important; }
.cart-count { position: absolute; top: -2px; right: -2px; background: var(--green); color: var(--white) !important; font-size: .65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.cart-count.bump { transform: scale(1.3); }
.cart-count:empty, .cart-count[data-count="0"] { display: none; }

.account-dropdown { position: absolute; top: 100%; right: 0; margin-top: 8px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .2s ease; z-index: 200; }
.btn-account:hover .account-dropdown,
.account-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.account-dropdown a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: .88rem; color: var(--gray-700) !important; transition: background .2s; }
.account-dropdown a:hover { background: var(--gray-100); }
.account-dropdown a svg { width: 16px; height: 16px; color: var(--gray-400) !important; }
.account-dropdown .divider { height: 1px; background: var(--gray-200); margin: 4px 0; }
.account-dropdown .user-greeting { padding: 12px 16px; font-size: .82rem; color: var(--gray-600) !important; border-bottom: 1px solid var(--gray-200); }
.account-dropdown .user-greeting strong { display: block; font-size: .9rem; color: var(--gray-900) !important; }

.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: all var(--transition); }
.mnav { display: none; } /* Alleen op mobiel (≤768px) actief. */

/* ==================== KNOPPEN ==================== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; font-size: .95rem; font-weight: 600; border-radius: var(--radius-sm); transition: all var(--transition); }
.btn svg { width: 18px; height: 18px; }
.btn-white { background: var(--white); color: var(--green-dark) !important; font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.btn-outline-dark { background: transparent; color: var(--white) !important; border: 2px solid rgba(255,255,255,.3); padding: 14px 30px; }
.btn-outline-dark:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ==================== CTA ==================== */
.cta { background: linear-gradient(135deg, var(--green-dark) 0%, #2a5018 100%); position: relative; overflow: hidden; text-align: center; padding: 80px 0; }
.cta::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--white) !important; margin-bottom: 16px; font-weight: 700; }
.cta p { font-size: 1.05rem; color: rgba(255,255,255,.7) !important; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==================== FOOTER ==================== */
.footer { background: var(--gray-900); color: var(--gray-400) !important; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 20px; margin-bottom: 24px; }
.footer-brand .logo-footer { height: 44px; margin-bottom: 4px; filter: brightness(2); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 40px; height: 40px; background: rgba(255,255,255,.06); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.footer-socials a:hover { background: var(--green); }
.footer-socials svg { width: 18px; height: 18px; color: var(--gray-400) !important; }
.footer-socials a:hover svg { color: var(--white) !important; }
.footer h4 { font-size: .85rem; font-weight: 700; color: var(--white) !important; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; padding-inline-start: 0; }
.footer-links a { font-size: .88rem; color: var(--gray-400) !important; transition: all var(--transition); }
.footer-links a:hover { color: var(--white) !important; padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; font-size: .88rem; }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--green-light) !important; }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; }
.footer-hours { background: rgba(255,255,255,.04); border-radius: var(--radius-sm); padding: 16px 20px; margin-top: 16px; }
.footer-hours p { font-size: .82rem; margin: 0; line-height: 1.8; }
.footer-hours strong { color: var(--white) !important; }

/* ==================== SCROLL NAAR BOVEN ==================== */
.scroll-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; background: var(--green); color: var(--white) !important; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); cursor: pointer; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--transition), transform var(--transition), background var(--transition), visibility var(--transition); }
.scroll-top.zichtbaar { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--green-dark); transform: translateY(-2px); }
.scroll-top svg { width: 22px; height: 22px; }
@media (max-width: 768px) {
  .scroll-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .header .container { height: 68px; }
  .logo img { height: 42px; }
  .nav { display: none; }
  .menu-toggle { display: flex; }

  /* Mobiel drill-down menu: sub-niveaus schuiven van rechts in, met een
     terug-knop bovenaan. Strak, wit, één item per regel. */
  .mnav { display: block; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 99; overflow: hidden; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
  body.mnav-open .mnav { visibility: visible; opacity: 1; }
  body.mnav-open { overflow: hidden; }
  .mnav-panel { position: absolute; inset: 0; background: var(--white); display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); }
  .mnav-panel[data-panel="root"] { transform: translateX(0); }
  .mnav-panel.open { transform: translateX(0); }
  .mnav-parent, .mnav-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 17px 22px; font-size: 1rem; font-weight: 500; color: var(--gray-800) !important; background: none; border: none; border-bottom: 1px solid var(--gray-100); text-align: left; font-family: inherit; text-decoration: none; }
  .mnav-parent { justify-content: space-between; cursor: pointer; }
  .mnav-parent:active, .mnav-item:active { background: var(--green-pale); }
  .mnav-pijl { width: 18px; height: 18px; color: var(--gray-400) !important; flex-shrink: 0; }
  .mnav-terug { display: flex; align-items: center; gap: 8px; width: 100%; padding: 15px 20px; font-size: .95rem; font-weight: 700; color: var(--green-dark) !important; background: var(--gray-100); border: none; border-bottom: 1px solid var(--gray-200); text-align: left; font-family: inherit; cursor: pointer; }
  .mnav-terug svg { width: 18px; height: 18px; flex-shrink: 0; }
  .mnav-alle { color: var(--green-dark) !important; font-weight: 700; }
  .cta { padding: 48px 0; }
  .cta h2 { font-size: 1.4rem; }
  .cta p { font-size: .9rem; margin-bottom: 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn { padding: 14px 28px; font-size: .9rem; width: 100%; max-width: 300px; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

/* ============================================================
   OFFERTE-POPUP (site-breed — zie assets/js/dg-offerte.js)
   ============================================================ */
/* Aanklikbare opties op bouwpakket-pagina's */
.variant-card { cursor: pointer; position: relative; }
.variant-card.gekozen { border-color: var(--green) !important; box-shadow: 0 0 0 2px var(--green-pale), var(--shadow-md); }
.variant-kies { display: block; width: 100%; margin-top: 14px; padding: 10px 14px; background: var(--green-pale); color: var(--green-dark) !important; font-size: .82rem; font-weight: 700; border: 1px dashed var(--green); border-radius: var(--radius-sm); transition: all var(--transition); }
.variant-kies:hover { background: var(--green); color: var(--white) !important; border-style: solid; }
.variant-card.gekozen .variant-kies { background: var(--green); color: var(--white) !important; border-style: solid; }
.option-item { cursor: pointer; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); transition: all var(--transition); }
.option-item:hover { border-color: var(--green); transform: translateY(-1px); }
.option-item.gekozen { border-color: var(--green); background: var(--green-pale); }
.option-item.gekozen .option-icon { background: var(--green) !important; }
.option-item.gekozen .option-icon svg { color: #fff !important; }
.option-card { cursor: pointer; transition: all var(--transition); }
.option-card:hover { border-color: var(--green) !important; transform: translateY(-1px); }
.option-card.gekozen { border-color: var(--green) !important; background: var(--green-pale); box-shadow: 0 0 0 2px var(--green-pale); }
.option-card.gekozen .option-icon { background: var(--green) !important; }
.option-card.gekozen .option-icon svg { color: #fff !important; }
.option-card.vergrendeld { opacity: .45; cursor: not-allowed; }
.option-card.vergrendeld:hover { border-color: var(--gray-200) !important; transform: none; }
.constr-variant.kies-eerst { border-color: #e67e22 !important; box-shadow: 0 0 0 3px rgba(230,126,34,.35) !important; }

/* Popup zelf */
#dgOffPopup .dg-off-fab { position: fixed; right: 84px; bottom: 24px; z-index: 95; display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; background: var(--green-dark); color: #fff !important; font-weight: 700; font-size: .9rem; font-family: inherit; border: none; border-radius: 100px; box-shadow: var(--shadow-lg); cursor: pointer; transition: all .3s; }
#dgOffPopup .dg-off-fab:hover { background: var(--green); transform: translateY(-2px); }
#dgOffPopup .dg-off-fab svg { width: 17px; height: 17px; }
#dgOffPopup .dg-off-count { background: #fff; color: var(--green-dark) !important; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 100px; display: inline-flex; align-items: center; justify-content: center; font-size: .74rem; font-weight: 800; }
#dgOffPopup .dg-off-paneel { position: fixed; right: 84px; bottom: 24px; z-index: 96; width: 400px; max-width: calc(100vw - 108px); max-height: 74vh; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-md); box-shadow: 0 12px 48px rgba(0,0,0,.22); display: flex; flex-direction: column; overflow: hidden; }
#dgOffPopup .dg-off-kop { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; background: var(--green-dark); flex-shrink: 0; }
#dgOffPopup .dg-off-kop strong { color: #fff !important; font-size: 1.02rem; font-family: 'Playfair Display', serif; }
#dgOffPopup .dg-off-kop button { background: none; border: none; color: #fff !important; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 6px; }
#dgOffPopup .dg-off-kop button:hover { background: rgba(255,255,255,.15); }
#dgOffPopup .dg-off-kop svg { width: 18px; height: 18px; }
#dgOffPopup .dg-off-body { padding: 14px 18px 18px; overflow-y: auto; }
#dgOffPopup .dg-off-uitleg { font-size: .8rem; color: var(--gray-600) !important; line-height: 1.55; margin-bottom: 4px; }
#dgOffPopup .dg-off-groeptitel { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-600) !important; margin: 13px 0 6px; }
#dgOffPopup .dg-off-sel-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--green-pale); border: 1px solid var(--green); border-radius: var(--radius-sm); margin-bottom: 6px; font-size: .83rem; font-weight: 600; color: var(--green-dark) !important; }
#dgOffPopup .dg-off-sel-item button { background: none; border: none; color: var(--green-dark) !important; font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 4px; flex-shrink: 0; }
#dgOffPopup .dg-off-sel-item button:hover { color: #c0392b !important; }
#dgOffPopup .dg-off-pakket { font-size: .88rem; font-weight: 700; color: var(--gray-900) !important; padding: 10px 12px; background: var(--gray-100); border-radius: var(--radius-sm); }
#dgOffPopup .dg-off-pakket span { display: block; font-size: .72rem; font-weight: 600; color: var(--gray-400) !important; margin-top: 2px; }
#dgOffPopup .dg-off-veld { margin-bottom: 10px; }
#dgOffPopup .dg-off-veld label { display: block; font-size: .75rem; font-weight: 600; color: var(--gray-700) !important; margin-bottom: 4px; }
#dgOffPopup .dg-off-veld input, #dgOffPopup .dg-off-veld textarea { width: 100%; padding: 9px 12px; font-size: .85rem; font-family: inherit; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); color: var(--gray-900); }
#dgOffPopup .dg-off-veld input:focus, #dgOffPopup .dg-off-veld textarea:focus { outline: none; border-color: var(--green); }
#dgOffPopup .dg-off-2kol { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#dgOffPopup .dg-off-verstuur { width: 100%; padding: 12px; background: var(--green); color: #fff !important; font-weight: 700; font-size: .9rem; font-family: inherit; border: none; border-radius: var(--radius-sm); cursor: pointer; margin-top: 4px; transition: background .3s; }
#dgOffPopup .dg-off-verstuur:hover { background: var(--green-dark); }
#dgOffPopup .dg-off-verstuur:disabled { background: var(--gray-200); color: var(--gray-400) !important; cursor: default; }
#dgOffPopup .dg-off-status { margin-top: 10px; font-size: .82rem; display: none; }
#dgOffPopup .dg-off-status.ok { display: block; color: var(--green-dark) !important; font-weight: 600; }
#dgOffPopup .dg-off-status.fout { display: block; color: #c0392b !important; }
#dgOffPopup .dg-off-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
#dgOffPopup[data-staat="dicht"] .dg-off-paneel { display: none; }
#dgOffPopup[data-staat="open"] .dg-off-fab { display: none; }

/* Mobiel: balk onderaan, fullscreen open */
@media (max-width: 768px) {
  #dgOffPopup .dg-off-fab { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 0; justify-content: center; padding: 15px; z-index: 120; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  #dgOffPopup .dg-off-fab:hover { transform: none; }
  #dgOffPopup .dg-off-paneel { top: 0; left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; max-height: 100%; border-radius: 0; border: none; z-index: 130; }
  body.dg-off-aanwezig .scroll-top { bottom: 76px; }
}
