/*
|--------------------------------------------------------------------------
| Qadman — the three light designs + motion
|--------------------------------------------------------------------------
| Active when <html class="qd-light" data-theme="…">. Colours are tokens; the
| dark parts of the shop are turned light by qadman-light.css (generated).
|   atelier, terracotta, petrol, messing, blush, navy: the same design in six light colour sets
*/

/* ------------------------------------------------------------ tokens */
/* Light colour designs: the shop's own layout, only the colours change. Chosen in Admin → Instellingen → Design. */
html[data-theme="atelier"] {
  --th-b1: #FDFBF7; --th-b2: #ECE5D8; --th-b3: #E1E6CF; --th-b4: #F3EEE3; /* Crème & olijf */
  --qd-paper: #F1EDE6; --qd-sand: #F8F5F0; --qd-mist: #E9E4DA; --qd-line: rgba(28,26,23,.14);
  --qd-ink: #1C1A17; --qd-muted: #6F6A62; --qd-brown: #8A7F70; --qd-gold: #55613A; --qd-gold-ink: #4A5532;
  --qd-dark: #1C1A17; --qd-dark-2: #2E2B26;
  --th-surface: #F8F5F0; --th-surface-2: #E3E6D3; --th-ink: #1C1A17; --th-ink-rgb: 28,26,23;
  --th-accent-ink: #55613A; --th-accent-rgb: 85,97,58;
  --th-hero: linear-gradient(160deg, #F8F5F0 0%, #F1EDE6 55%, #E7E9DA 100%);
  --th-glow-1: rgba(160,172,120,.32); --th-glow-2: rgba(255,253,246,.9); --th-band: #55613A; --th-band-i: #D8DDB7;
}
html[data-theme="terracotta"] {
  --th-b1: #FFFCF8; --th-b2: #F1E6D8; --th-b3: #F4D9C7; --th-b4: #EFE6DB; /* Zand & terracotta */
  --qd-paper: #F6EFE6; --qd-sand: #FBF7F1; --qd-mist: #F0E4D6; --qd-line: rgba(42,31,26,.14);
  --qd-ink: #2A1F1A; --qd-muted: #75655A; --qd-brown: #9A7B65; --qd-gold: #B5532F; --qd-gold-ink: #9A4423;
  --qd-dark: #2A1F1A; --qd-dark-2: #3D2E26;
  --th-surface: #FBF7F1; --th-surface-2: #F3DFD0; --th-ink: #2A1F1A; --th-ink-rgb: 42,31,26;
  --th-accent-ink: #B5532F; --th-accent-rgb: 181,83,47;
  --th-hero: linear-gradient(155deg, #FFFBF6 0%, #F6EFE6 50%, #F1DCCB 100%);
  --th-glow-1: rgba(222,140,100,.30); --th-glow-2: rgba(255,246,232,.9); --th-band: #B5532F; --th-band-i: #F6D6C3;
}
html[data-theme="petrol"] {
  --th-b1: #FFFFFF; --th-b2: #E9EFEE; --th-b3: #D2E6E4; --th-b4: #F1F3EF; /* Wit & petrol */
  --qd-paper: #F5F6F4; --qd-sand: #FBFBFA; --qd-mist: #E9EEEC; --qd-line: rgba(22,35,42,.14);
  --qd-ink: #16232A; --qd-muted: #5E6B70; --qd-brown: #6F8A8C; --qd-gold: #1F5F66; --qd-gold-ink: #174C52;
  --qd-dark: #16232A; --qd-dark-2: #22343D;
  --th-surface: #FBFBFA; --th-surface-2: #DCEAE9; --th-ink: #16232A; --th-ink-rgb: 22,35,42;
  --th-accent-ink: #1F5F66; --th-accent-rgb: 31,95,102;
  --th-hero: linear-gradient(160deg, #FFFFFF 0%, #F2F5F4 50%, #DDEBEA 100%);
  --th-glow-1: rgba(90,160,165,.28); --th-glow-2: rgba(255,255,255,.95); --th-band: #1F5F66; --th-band-i: #BFE0DF;
}
html[data-theme="messing"] {
  --th-b1: #FFFFFF; --th-b2: #E9E6E0; --th-b3: #EFE3CC; --th-b4: #E2E5E8; /* Steen & messing */
  --qd-paper: #F2F1EE; --qd-sand: #FAF9F7; --qd-mist: #E7E5E0; --qd-line: rgba(32,34,36,.14);
  --qd-ink: #202224; --qd-muted: #676A6D; --qd-brown: #8C8578; --qd-gold: #A2803F; --qd-gold-ink: #7E6230;
  --qd-dark: #202224; --qd-dark-2: #2F3235;
  --th-surface: #FAF9F7; --th-surface-2: #E9E6DF; --th-ink: #202224; --th-ink-rgb: 32,34,36;
  --th-accent-ink: #A2803F; --th-accent-rgb: 162,128,63;
  --th-hero: linear-gradient(160deg, #FFFFFF 0%, #F2F1EE 55%, #E6E2D8 100%);
  --th-glow-1: rgba(200,170,110,.30); --th-glow-2: rgba(255,255,255,.95); --th-band: #202224; --th-band-i: #D9BF85;
}
html[data-theme="blush"] {
  --th-b1: #FFFDFC; --th-b2: #F4E7E4; --th-b3: #EFD3D5; --th-b4: #F2ECE6; /* Blush & bordeaux */
  --qd-paper: #F8F0EE; --qd-sand: #FDF8F7; --qd-mist: #F2E3E0; --qd-line: rgba(43,26,30,.14);
  --qd-ink: #2B1A1E; --qd-muted: #77636A; --qd-brown: #9C7A80; --qd-gold: #7E2E3E; --qd-gold-ink: #6A2433;
  --qd-dark: #2B1A1E; --qd-dark-2: #3E272D;
  --th-surface: #FDF8F7; --th-surface-2: #F3DDDC; --th-ink: #2B1A1E; --th-ink-rgb: 43,26,30;
  --th-accent-ink: #7E2E3E; --th-accent-rgb: 126,46,62;
  --th-hero: linear-gradient(155deg, #FFFCFB 0%, #F8EEEC 50%, #F0D9D8 100%);
  --th-glow-1: rgba(220,150,160,.30); --th-glow-2: rgba(255,248,246,.9); --th-band: #7E2E3E; --th-band-i: #F2C9CF;
}
html[data-theme="navy"] {
  --th-b1: #FFFFFF; --th-b2: #ECE9E0; --th-b3: #D9E0EE; --th-b4: #F4F2EC; /* Linnen & navy */
  --qd-paper: #F4F2EC; --qd-sand: #FBFAF6; --qd-mist: #E8E6DD; --qd-line: rgba(20,28,46,.14);
  --qd-ink: #141C2E; --qd-muted: #5F6577; --qd-brown: #8A8573; --qd-gold: #24396B; --qd-gold-ink: #1D2F59;
  --qd-dark: #141C2E; --qd-dark-2: #202A42;
  --th-surface: #FBFAF6; --th-surface-2: #DEE3EE; --th-ink: #141C2E; --th-ink-rgb: 20,28,46;
  --th-accent-ink: #24396B; --th-accent-rgb: 36,57,107;
  --th-hero: linear-gradient(160deg, #FFFFFF 0%, #F4F2EC 55%, #E2E6EF 100%);
  --th-glow-1: rgba(110,140,200,.26); --th-glow-2: rgba(255,252,244,.95); --th-band: #24396B; --th-band-i: #C9D4EE;
}
html.qd-light .qd-marquee { background: var(--th-band); color: var(--qd-sand); }
html.qd-light .qd-marquee__track i { color: var(--th-band-i); }
html.qd-light .qd-top { background: var(--th-ink); color: var(--qd-sand); }
html.qd-light .qd-logo [fill="#B08D57"] { fill: var(--qd-gold); }
html.qd-light .qd-logo [stroke="#B08D57"] { stroke: var(--qd-gold); }

/* ------------------------------------------------------------ light base */
html.qd-light body { background: var(--qd-paper); color: var(--qd-ink); }
html.qd-light .qd-logo [fill="#F3EEE6"] { fill: var(--th-ink); }
html.qd-light .qd-header { background: color-mix(in srgb, var(--th-surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--qd-line); transition: box-shadow .4s, background .4s; }
html.qd-light .qd-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(var(--th-ink-rgb), .35); background: color-mix(in srgb, #fff 82%, transparent); }
html.qd-light .qd-sub { box-shadow: 0 30px 50px -30px rgba(var(--th-ink-rgb), .35); }
html.qd-light .qd-hero { color: var(--th-ink); }
html.qd-light .qd-hero h1 em, html.qd-light .qd-title em { color: var(--qd-gold-ink); }
html.qd-light .qd-stage__meta { background: rgba(255,255,255,.88); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -24px rgba(var(--th-ink-rgb), .5); }
html.qd-light .qd-outlet__media { background: radial-gradient(circle at 50% 40%, #fff, var(--th-surface-2)); }
html.qd-light .qd-outlet__item { background: #fff; border-color: var(--qd-line); box-shadow: 0 20px 40px -32px rgba(var(--th-ink-rgb), .45); }
html.qd-light .qd-outlet__item:hover { background: #fff; }
html.qd-light .qd-section--dark .qd-intro[style] { color: var(--qd-muted) !important; }
html.qd-light .qd-footer { border-top: 1px solid var(--qd-line); }
html.qd-light .qd-footer a { color: var(--th-ink); }
html.qd-light .qd-service { border-block: 1px solid var(--qd-line); }
html.qd-light .qd-marquee { background: var(--qd-dark); }
html.qd-light .qd-marquee__track i { color: var(--qd-gold); }
html.qd-light .qd-summary--dark { box-shadow: 0 30px 60px -40px rgba(var(--th-ink-rgb), .5); border: 1px solid var(--qd-line); }
html.qd-light .qd-pcard { border-radius: 14px; }
html.qd-light .qd-pcard img { border-radius: 10px; }

/* soft moving light in the hero */
html.qd-light .qd-hero { isolation: isolate; }
html.qd-light .qd-hero::before, html.qd-light .qd-hero::after {
  content: ""; position: absolute; z-index: -1; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
html.qd-light .qd-hero::before { left: -10vw; top: -14vw; background: var(--th-glow-1); animation: th-drift 18s ease-in-out infinite alternate; }
html.qd-light .qd-hero::after { right: -12vw; bottom: -18vw; background: var(--th-glow-2); animation: th-drift 22s ease-in-out infinite alternate-reverse; }
@keyframes th-drift { to { transform: translate(8vw, 6vw) scale(1.15); } }

/* ------------------------------------------------------------ motion */
html.qd-motion .qd-reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--qd-ease), transform 1s var(--qd-ease); transition-delay: var(--th-d, 0s); }
html.qd-motion .qd-reveal.is-in { opacity: 1; transform: none; }
html.qd-motion .qd-reveal--zoom { transform: scale(.94); }
html.qd-motion .qd-stage img, html.qd-motion .qd-about-hero img { animation: th-kenburns 20s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes th-kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
html.qd-motion .qd-pcard { transition: transform .5s var(--qd-ease), box-shadow .5s var(--qd-ease); }
html.qd-motion .qd-pcard:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -34px rgba(var(--th-ink-rgb, 42,36,32), .55); }
html.qd-motion .qd-pcard img { transition: transform 1.1s var(--qd-ease); }
html.qd-motion .qd-pcard:hover img { transform: scale(1.06); }
html.qd-motion .qd-btn { position: relative; overflow: hidden; }
html.qd-motion .qd-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--qd-ease); pointer-events: none; }
html.qd-motion .qd-btn:hover::after { transform: translateX(120%); }
html.qd-motion .qd-title, html.qd-motion .qd-section h2 { background-image: linear-gradient(var(--qd-gold), var(--qd-gold)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 1.4s var(--qd-ease) .3s; }
html.qd-motion .is-in .qd-title, html.qd-motion .qd-title.is-in, html.qd-motion .qd-section.is-in h2 { background-size: 3.5rem 1px; }
.th-progress { position: fixed; left: 0; top: 0; z-index: 1000; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--qd-gold), var(--qd-dark)); pointer-events: none; }

/* ---- motion v2 */
html.qd-motion .th-split .th-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
html.qd-motion .th-split .th-w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--qd-ease); }
html.qd-motion .th-split.is-in .th-w > span { transform: none; }
html.qd-motion .th-wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s cubic-bezier(.77,0,.18,1); }
html.qd-motion .th-wipe.is-in { clip-path: inset(0 0 0 0); }
html.qd-motion .qd-hero { --th-mx: 30%; --th-my: 30%; }
html.qd-motion .qd-hero__grid { position: relative; z-index: 1; }
html.qd-light.qd-motion .qd-hero .qd-hero__grid::before { content: ""; position: absolute; z-index: -1; inset: -10%; pointer-events: none; background: radial-gradient(28rem 28rem at var(--th-mx) var(--th-my), rgba(var(--th-accent-rgb), .16), transparent 70%); transition: background .2s; }
html.qd-motion .qd-stage { perspective: 1200px; }
html.qd-motion .qd-stage__item.is-active { animation: th-float 7s ease-in-out infinite; }
html.qd-motion .qd-stage__item { transform: rotateX(var(--th-rx, 0deg)) rotateY(var(--th-ry, 0deg)); transition: transform .6s var(--qd-ease), opacity .8s; transform-style: preserve-3d; }
@keyframes th-float { 50% { translate: 0 -10px; } }
html.qd-motion .qd-pcard, html.qd-motion .qd-outlet__item, html.qd-motion .qd-rail__item, html.qd-motion .qd-fav { transform-style: preserve-3d; }
html.qd-motion .th-tilt { transform: perspective(900px) rotateX(var(--th-ty, 0deg)) rotateY(var(--th-tx, 0deg)) translateY(-6px) !important; transition: transform .15s ease-out !important; position: relative; }
html.qd-motion .th-tilt::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--th-gx, 50%) var(--th-gy, 50%), rgba(255,255,255,.35), transparent 55%); mix-blend-mode: soft-light; }
html.qd-motion .qd-btn { transition: transform .35s var(--qd-ease), background .3s, box-shadow .3s; will-change: transform; }
html.qd-motion .qd-btn:hover { box-shadow: 0 16px 30px -18px rgba(var(--th-ink-rgb, 42,36,32), .6); }
html.qd-motion .qd-rail__item img { transition: transform .8s var(--qd-ease); }
html.qd-motion .qd-rail__item:hover img { transform: scale(1.1) rotate(-3deg); }
/* menu items drop in one by one (the link moves, not the item: a moving item would trap the full-width dropdown) */
html.qd-motion .qd-nav > .qd-nav__item > a { display: inline-block; animation: th-drop .8s var(--qd-ease) backwards; }
html.qd-motion .qd-nav > .qd-nav__item:nth-child(2) > a { animation-delay: .05s; } html.qd-motion .qd-nav > .qd-nav__item:nth-child(3) > a { animation-delay: .1s; }
html.qd-motion .qd-nav > .qd-nav__item:nth-child(4) > a { animation-delay: .15s; } html.qd-motion .qd-nav > .qd-nav__item:nth-child(5) > a { animation-delay: .2s; }
html.qd-motion .qd-nav > .qd-nav__item:nth-child(6) > a { animation-delay: .25s; } html.qd-motion .qd-nav > .qd-nav__item:nth-child(7) > a { animation-delay: .3s; }
@keyframes th-drop { from { opacity: 0; transform: translateY(-10px); } }
html.qd-motion .th-bump { animation: th-bump .6s var(--qd-ease); }
@keyframes th-bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.92) rotate(4deg); } }
html.qd-motion .qd-uspbar__icon { transition: transform .6s var(--qd-ease); } html.qd-motion .qd-uspbar__item:hover .qd-uspbar__icon { transform: rotate(-12deg) scale(1.12); }
html.qd-motion .qd-wa { animation: th-wa 6s ease-in-out infinite 3s; }
@keyframes th-wa { 0%, 90%, 100% { transform: none; } 93% { transform: scale(1.12) rotate(-8deg); } 96% { transform: scale(1.06) rotate(6deg); } }
.th-top { position: fixed; left: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 590; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--qd-line); background: color-mix(in srgb, var(--qd-sand) 85%, transparent); backdrop-filter: blur(10px); color: var(--qd-ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: opacity .4s, transform .5s var(--qd-ease); }
.th-top.is-on { opacity: 1; transform: none; pointer-events: auto; } .th-top:hover { background: var(--qd-dark); color: var(--qd-sand); }
@media (prefers-reduced-motion: reduce) {
  html.qd-motion .qd-reveal { opacity: 1; transform: none; transition: none; }
  html.qd-motion *, html.qd-light .qd-hero::before, html.qd-light .qd-hero::after { animation: none !important; }
  html.qd-motion .th-wipe { clip-path: none; } html.qd-motion .th-split .th-w > span { transform: none; } .th-top { transition: none; }
  .th-progress { display: none; }
}

/* ------------------------------------------------------------ 3D showroom block */
.qd-3d { padding: clamp(3rem, 8vh, 5.5rem) var(--qd-pad); background: var(--qd-sand); }
.qd-3d__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; max-width: 1400px; margin: 0 auto 1.6rem; }
.qd-3d__head p { max-width: 38rem; margin: .8rem 0 0; color: var(--qd-muted); line-height: 1.7; }
.qd-3d__chips { display: flex; gap: .5rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.qd-3d__chips li { padding: .45rem .9rem; border: 1px solid var(--qd-line); border-radius: 99px; font-size: .8rem; font-weight: 600; background: var(--qd-paper); }
.qd-3d__frame { max-width: 1400px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: var(--qd-paper); box-shadow: 0 40px 80px -50px rgba(42,36,32,.55); min-height: 320px; }
.qd-3d__note { max-width: 1400px; margin: 1rem auto 0; font-size: .82rem; color: var(--qd-muted); }


/* ------------------------------------------------------------ dropdown menu (light designs) */
html.qd-light .qd-sub { background: var(--th-b1); border-top: 1px solid var(--qd-line); box-shadow: 0 40px 70px -40px rgba(var(--th-ink-rgb), .45); transform: translateY(-10px); }
html.qd-light .qd-sub__inner { grid-template-columns: 17rem 1fr; gap: 2.4rem; padding: 2rem var(--qd-pad) 2.4rem; }
html.qd-light .qd-nav .qd-sub__all { position: relative; overflow: hidden; border-radius: 18px; padding: 1.8rem 1.6rem; justify-content: flex-end; min-height: 13rem; background: linear-gradient(150deg, var(--th-b3), var(--th-b2)); color: var(--th-ink); }
html.qd-light .qd-nav .qd-sub__all::before { content: ""; position: absolute; right: -3rem; top: -3rem; width: 10rem; height: 10rem; border-radius: 50%; background: rgba(var(--th-accent-rgb), .14); transition: transform .6s var(--qd-ease); }
html.qd-light .qd-nav .qd-sub__all:hover::before { transform: scale(1.35); }
html.qd-light .qd-sub__all strong { font-size: 2rem; color: var(--th-ink); }
html.qd-light .qd-sub__all .qd-label, html.qd-light .qd-sub__go { color: var(--qd-gold-ink); }
html.qd-light .qd-sub__go { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; margin-top: .9rem; padding: .55rem 1rem; border-radius: 99px; background: var(--qd-dark); color: var(--qd-sand); transition: gap .3s var(--qd-ease); }
html.qd-light .qd-nav .qd-sub__all:hover .qd-sub__go { gap: .9rem; }
html.qd-light .qd-sub__grid { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1.1rem; }
html.qd-light .qd-sub__grid > li { background: var(--th-b2); border-radius: 16px; padding: .55rem .55rem .9rem; transition: transform .35s var(--qd-ease), box-shadow .35s, background .35s; }
html.qd-light .qd-sub__grid > li:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 22px 40px -26px rgba(var(--th-ink-rgb), .45); }
html.qd-light .qd-sub__pic { border-radius: 11px; background: var(--th-b3); }
html.qd-light .qd-nav .qd-sub__card { gap: .7rem; padding: 0 .35rem; color: var(--th-ink); font: 600 .78rem var(--qd-body); letter-spacing: .12em; text-transform: uppercase; }
html.qd-light .qd-nav .qd-sub__card:hover, html.qd-light .qd-nav .qd-sub__card[aria-current="page"] { color: var(--qd-gold-ink); }
html.qd-light .qd-sub__more { padding: 0 .35rem; gap: .35rem; margin-top: .55rem; }
html.qd-light .qd-nav .qd-sub__more a { padding: .25rem .6rem; border-radius: 99px; background: #fff; border: 1px solid var(--qd-line); color: var(--qd-muted); font-size: .74rem; }
html.qd-light .qd-nav .qd-sub__more a:hover { color: var(--qd-sand); background: var(--qd-dark); border-color: var(--qd-dark); }
html.qd-motion .qd-nav__item.has-sub:hover .qd-sub__grid > li { animation: th-rise .5s var(--qd-ease) backwards; }
html.qd-motion .qd-nav__item.has-sub:hover .qd-sub__grid > li:nth-child(2) { animation-delay: .04s; } html.qd-motion .qd-nav__item.has-sub:hover .qd-sub__grid > li:nth-child(3) { animation-delay: .08s; }
html.qd-motion .qd-nav__item.has-sub:hover .qd-sub__grid > li:nth-child(4) { animation-delay: .12s; } html.qd-motion .qd-nav__item.has-sub:hover .qd-sub__grid > li:nth-child(5) { animation-delay: .16s; }
html.qd-motion .qd-nav__item.has-sub:hover .qd-sub__grid > li:nth-child(n+6) { animation-delay: .2s; }
@keyframes th-rise { from { opacity: 0; transform: translateY(12px); } }

/* ------------------------------------------------------------ sections: each block its own tone */
html.qd-light .qd-section, html.qd-light .qd-textblock { background: var(--th-b1); }
html.qd-light .qd-section--sand { background: var(--th-b2); }
html.qd-light .qd-section--mist { background: var(--th-b4); }
html.qd-light .qd-outlet { background: linear-gradient(160deg, var(--th-b3), color-mix(in srgb, var(--th-b3) 70%, var(--th-b1))); }
html.qd-light .qd-section--dark { background: var(--th-b3); }
html.qd-light .qd-uspbar { background: var(--th-b4); }
html.qd-light .qd-service { background: var(--th-b2); }
html.qd-light .qd-footer { background: var(--th-b2); }
html.qd-light .qd-3d { background: var(--th-b4); }
html.qd-light .qd-section + .qd-section, html.qd-light .qd-section + .qd-uspbar { box-shadow: inset 0 1px 0 var(--qd-line); }
html.qd-light .qd-section .qd-head .qd-title::before { content: ""; display: block; width: 2.4rem; height: 3px; border-radius: 2px; margin-bottom: 1rem; background: var(--qd-gold); }

/* one dark band in the middle of the page ("zo gaat het"), so the rhythm is clear */
html.qd-light .qd-section:has(> .qd-steps) { background: var(--qd-dark); color: var(--qd-sand); box-shadow: none; }
html.qd-light .qd-section:has(> .qd-steps) .qd-title { color: var(--qd-sand); }
html.qd-light .qd-section:has(> .qd-steps) .qd-title em { color: var(--th-band-i); }
html.qd-light .qd-section:has(> .qd-steps) .qd-steps, html.qd-light .qd-section:has(> .qd-steps) .qd-steps li { border-color: rgba(255,255,255,.14); }
html.qd-light .qd-section:has(> .qd-steps) .qd-steps .qd-label { color: var(--th-band-i); font-size: .9rem; }
html.qd-light .qd-section:has(> .qd-steps) .qd-steps h3 { color: var(--qd-sand); }
html.qd-light .qd-section:has(> .qd-steps) .qd-steps p { color: rgba(255,255,255,.7); }
html.qd-light .qd-section:has(> .qd-steps) .qd-steps li { transition: background .4s, padding-left .4s var(--qd-ease); }
html.qd-light .qd-section:has(> .qd-steps) .qd-steps li:hover { background: rgba(255,255,255,.05); padding-left: 1rem; }


/* ------------------------------------------------------------ discounted prices: always red, in every design and every block */
.qd-sale-text, .qd-price--sale .qd-price__nu, .qd-buy__price--sale [data-qd-price] { color: var(--qd-sale, #B21E1E) !important; font-weight: 700; }
.qd-outlet__price--sale b, html.qd-light .qd-outlet__price--sale b { color: var(--qd-sale, #B21E1E); font-weight: 700; }
html:not(.qd-light) .qd-section--dark .qd-sale-text, html:not(.qd-light) .qd-outlet .qd-outlet__price--sale b, html:not(.qd-light) .qd-section--dark .qd-price--sale .qd-price__nu { color: #FF7A6B !important; }


/* ------------------------------------------------------------ cart: the checkout button keeps white text (a link rule in the summary made it gold on gold) */
.qd-summary .qd-btn, .qd-summary--dark a.qd-btn, html.qd-light .qd-summary--dark a.qd-btn { color: #fff; }
.qd-summary .qd-btn--dark .qd-btn__arrow, html.qd-light .qd-summary--dark a.qd-btn .qd-btn__arrow { color: var(--qd-gold); }

/* ------------------------------------------------------------ payment pop-up: one scroll for the whole box, so Stripe's pay button is never under the footer */
.qd-paymodal__box { grid-template-rows: auto auto auto; align-self: flex-start; height: auto; }
.qd-paymodal__body { overflow: visible; }
.qd-paymodal__foot { position: static; }

/* ================================================================== cart animations (qadman-cart-fx.js) */
/* buttons: a soft press, a spinning circle while busy, "✓ Toegevoegd" in dark when done */
.qd-btn { position: relative; transition: background .25s, transform .15s var(--qd-ease), box-shadow .25s; }
.qd-btn:active { transform: scale(.975); }
.qd-btn.fx-busy { pointer-events: none; }
.qd-btn.fx-busy .qd-btn__arrow { color: transparent; position: relative; }
.qd-btn.fx-busy .qd-btn__arrow::after { content: ""; position: absolute; inset: 0; margin: auto; width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: var(--qd-gold); animation: fx-spin .7s linear infinite; }
.qd-btn.fx-busy .qd-btn__label { animation: fx-pulse 1.1s ease-in-out infinite; }
.qd-btn.fx-added { background: var(--qd-dark) !important; color: #fff; animation: fx-pop .45s var(--qd-ease); }
.qd-btn.fx-added .qd-btn__arrow { background: var(--qd-gold); color: #fff; }
.qd-btn.fx-added .qd-btn__label, html.qd-light .qd-btn.fx-added .qd-btn__label { gap: .5rem; color: #fff !important; opacity: 1; animation: none; }
.fx-tick path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: fx-draw .45s .1s var(--qd-ease) forwards; }
.qd-pcard__add.fx-busy::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: var(--qd-gold); animation: fx-spin .7s linear infinite; }
.qd-pcard__add.fx-added { background: var(--qd-gold); animation: fx-pop .45s var(--qd-ease); }
@keyframes fx-spin { to { transform: rotate(360deg); } }
@keyframes fx-pulse { 50% { opacity: .55; } }
@keyframes fx-pop { 0% { transform: scale(.96); } 55% { transform: scale(1.035); } 100% { transform: none; } }
@keyframes fx-draw { to { stroke-dashoffset: 0; } }

/* the product flying into the bag, the bag bouncing, the number rolling */
.fx-fly { position: fixed; z-index: 5000; object-fit: cover; background: var(--qd-sand); box-shadow: 0 18px 40px -12px rgba(42,36,32,.45); pointer-events: none; will-change: transform; }
.fx-bump { animation: fx-bump .6s var(--qd-ease); }
@keyframes fx-bump { 0% { transform: none; } 30% { transform: scale(1.22) rotate(-8deg); } 55% { transform: scale(.94) rotate(4deg); } 100% { transform: none; } }
.fx-roll { animation: fx-roll .45s var(--qd-ease); }
@keyframes fx-roll { 0% { transform: translateY(-70%) scale(.6); opacity: 0; } 70% { transform: translateY(8%) scale(1.15); opacity: 1; } 100% { transform: none; } }
.fx-flash { animation: fx-flash .6s ease-out; }
@keyframes fx-flash { 0% { color: var(--qd-gold-ink); } 100% { } }

/* message at the bottom ("… staat in je winkelwagen", "… verwijderd · Ongedaan maken") */
.fx-toasts { position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 4000; display: grid; gap: .5rem; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 2rem); pointer-events: none; }
.fx-toast { position: relative; overflow: hidden; display: flex; align-items: center; gap: .7rem; padding: .65rem .7rem .65rem .8rem; border-radius: 999px; background: #2A2420; color: #F3EEE6; font: 500 .86rem/1.3 var(--qd-body); box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); pointer-events: auto; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .3s, transform .4s var(--qd-ease); }
.fx-toast.is-in { opacity: 1; transform: none; }
.fx-toast.is-out { opacity: 0; transform: translateY(10px) scale(.97); }
.fx-toast b { font-weight: 600; }
.fx-toast__ok { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--qd-gold); color: #fff; }
.fx-toast__txt { min-width: 0; }
.fx-toast__act { flex: none; padding: .45rem .85rem; border: 0; border-radius: 999px; background: #F3EEE6; color: #2A2420; font: 600 .78rem var(--qd-body); cursor: pointer; }
.fx-toast__act:hover { background: #fff; }
.fx-toast__time { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--qd-gold); transform-origin: left; animation: fx-time linear forwards; }
@keyframes fx-time { to { transform: scaleX(0); } }

/* the slide-in bag */
.fx-bag .qd-mini__head h2 { font-size: 1.3rem; }
.fx-bag__count { color: var(--qd-muted); font-size: .8em; }
.fx-free { padding: .9rem 1.4rem 1rem; border-bottom: 1px solid var(--qd-line); font-size: .84rem; color: var(--qd-ink); }
.fx-free span { display: flex; align-items: center; gap: .4rem; }
.fx-free b { font-weight: 700; }
.fx-free__bar { position: relative; height: 5px; margin-top: .6rem; border-radius: 99px; background: rgba(42,36,32,.1); overflow: hidden; }
.fx-free__bar i, .qd-progress__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8A6A38, var(--qd-gold)); transition: width .8s var(--qd-ease), background .4s; }
.fx-free.is-free, .qd-progress.is-free { color: #2F6B3B; }
.fx-free.is-free .fx-free__bar i, .qd-progress.is-free .qd-progress__bar i { background: linear-gradient(90deg, #3E8A4C, #63B072); }
.fx-party { animation: fx-party .7s var(--qd-ease); }
@keyframes fx-party { 30% { transform: scale(1.03); } 60% { transform: scale(.99); } }
.fx-lines { list-style: none; margin: 0; padding: 0; display: grid; }
.fx-line { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .9rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--qd-line); transition: height .4s var(--qd-ease), opacity .3s, transform .4s var(--qd-ease), padding .4s var(--qd-ease); }
.fx-line.is-busy { opacity: .55; }
.fx-line__img img { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: 10px; background: var(--qd-sand); }
.fx-line__name { display: block; color: var(--qd-ink); font-weight: 600; font-size: .9rem; line-height: 1.3; text-decoration: none; }
.fx-line small { display: block; margin-top: .2rem; color: var(--qd-muted); font-size: .76rem; }
.fx-line__row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .55rem; }
.fx-line__price { font-variant-numeric: tabular-nums; font-size: .92rem; }
.fx-step { display: inline-flex; align-items: center; border: 1px solid var(--qd-line); border-radius: 999px; overflow: hidden; }
.fx-step button { width: 2rem; height: 2rem; border: 0; background: transparent; color: var(--qd-ink); font-size: 1rem; cursor: pointer; transition: background .2s; }
.fx-step button:hover { background: var(--qd-sand); }
.fx-step button:disabled { opacity: .35; cursor: default; }
.fx-step span { min-width: 1.6rem; text-align: center; font-weight: 600; font-size: .88rem; display: inline-block; }
.fx-line__bin { display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: transparent; color: var(--qd-muted); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.fx-line__bin:hover { background: #F6E3E0; color: #B21E1E; transform: rotate(-8deg); }
.fx-line.fx-in { animation: fx-in .5s var(--qd-ease) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes fx-in { from { opacity: 0; transform: translateX(24px); } }
.fx-line.fx-new::before { content: ""; position: absolute; inset: .35rem -.6rem; border-radius: 12px; background: rgba(176,141,87,.14); box-shadow: inset 0 0 0 1px rgba(176,141,87,.45); animation: fx-glow 2.4s ease-out forwards; pointer-events: none; }
@keyframes fx-glow { 0% { opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
.fx-line.fx-out, [data-qd-line].fx-out { opacity: 0; transform: translateX(-40px); overflow: hidden; padding-top: 0 !important; padding-bottom: 0 !important; transition: height .4s var(--qd-ease), opacity .3s, transform .4s var(--qd-ease), padding .4s var(--qd-ease); }
[data-qd-line].fx-back { animation: fx-in .45s var(--qd-ease); }
.fx-empty { padding: 2rem 0; text-align: center; color: var(--qd-muted); }
.fx-bag__sum { display: flex; justify-content: space-between; align-items: baseline; font-size: .95rem; }
.fx-bag__sum b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.fx-bag__view { justify-self: center; color: var(--qd-ink); font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; }
.fx-up { animation: fx-up .35s var(--qd-ease); } .fx-down { animation: fx-down .35s var(--qd-ease); }
@keyframes fx-up { from { transform: translateY(55%); opacity: 0; } }
@keyframes fx-down { from { transform: translateY(-55%); opacity: 0; } }

/* checkout: each finished step gets a gold tick */
.qd-co-section h2 span { position: relative; transition: background .35s, color .35s, transform .35s var(--qd-ease); }
.qd-co-section.fx-done h2 span { background: var(--qd-gold); color: transparent; transform: scale(1.08); }
.qd-co-section.fx-done h2 span::after { content: ""; position: absolute; left: 50%; top: 46%; width: .42rem; height: .8rem; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translate(-50%, -50%) rotate(45deg) scale(0); animation: fx-tickin .35s .05s var(--qd-ease) forwards; }
@keyframes fx-tickin { to { transform: translate(-50%, -50%) rotate(45deg) scale(1); } }

/* payment pop-up: a gold ring while Stripe loads */
.qd-paymodal__loading { gap: 1rem; align-content: center; }
.qd-paymodal__loading::before { content: ""; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 3px solid rgba(176,141,87,.2); border-top-color: var(--qd-gold); animation: fx-spin .8s linear infinite; }

/* thank-you page: the circle draws itself, then the tick, then gold sparks */
.qd-thanks__icon.fx-thanks { position: relative; width: 5.5rem; height: 5.5rem; background: transparent; animation: fx-thanks-bg .5s 1.05s var(--qd-ease) forwards; }
.fx-thanks svg { width: 100%; height: 100%; overflow: visible; }
.fx-thanks .fx-ring { stroke: var(--qd-gold); stroke-dasharray: 227; stroke-dashoffset: 227; transform: rotate(-90deg); transform-origin: 50% 50%; animation: fx-draw .9s .15s var(--qd-ease) forwards; }
.fx-thanks .fx-check { stroke: var(--qd-gold); stroke-dasharray: 50; stroke-dashoffset: 50; animation: fx-draw .45s .85s var(--qd-ease) forwards, fx-white .3s 1.1s forwards; }
@keyframes fx-thanks-bg { 0% { background: transparent; transform: scale(1); } 50% { transform: scale(1.12); } 100% { background: var(--qd-dark); transform: scale(1); } }
@keyframes fx-white { to { stroke: var(--qd-gold); } }
.fx-spark { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--qd-gold); opacity: 0; animation: fx-spark .9s var(--d, 1s) var(--qd-ease) forwards; }
.fx-spark:nth-child(3n) { width: 5px; height: 5px; background: #DCC08E; }
.fx-spark:nth-child(4n) { border-radius: 1px; transform: rotate(45deg); }
@keyframes fx-spark { 0% { opacity: 1; transform: translate(0, 0) scale(.4); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1); } }
.qd-thanks h1, .qd-thanks > p { animation: fx-rise .6s 1.2s var(--qd-ease) backwards; }
@keyframes fx-rise { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  .qd-btn, .fx-toast, .fx-line, .fx-free__bar i, .qd-progress__bar i { transition: none !important; }
  .fx-bump, .fx-roll, .fx-flash, .fx-pop, .fx-in, .fx-up, .fx-down, .fx-party, .qd-btn.fx-added, .fx-line.fx-in, .qd-thanks h1, .qd-thanks > p { animation: none !important; }
  .fx-thanks .fx-ring, .fx-thanks .fx-check { animation: none; stroke-dashoffset: 0; }
  .qd-thanks__icon.fx-thanks { animation: none; background: var(--qd-dark); }
}

/* ================================================================== more animations (qadman-fx2.js) */
/* 1. favourites: heart on cards and product pages, heart in the header */
.fx-heart { position: absolute; left: .7rem; top: .7rem; z-index: 3; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #2A2420; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(42,36,32,.45); backdrop-filter: blur(6px); transition: transform .2s var(--qd-ease), background .2s; }
.fx-heart:hover { transform: scale(1.08); }
.fx-heart svg { fill: none; stroke: currentColor; stroke-width: 1.7; transition: fill .25s, stroke .25s; overflow: visible; }
.fx-heart.is-on { color: #B21E1E; }
.fx-heart.is-on svg { fill: #B21E1E; stroke: #B21E1E; }
.fx-heart--big { position: relative; left: auto; top: auto; flex: none; width: 2.8rem; height: 2.8rem; margin-top: .4rem; background: var(--qd-sand); box-shadow: none; }
.fx-titlerow { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.fx-heart-pop svg { animation: fx2-heart .55s var(--qd-ease); }
.fx-heart-out svg { animation: fx2-heartout .3s ease-out; }
@keyframes fx2-heart { 0% { transform: scale(.6); } 40% { transform: scale(1.35); } 65% { transform: scale(.9); } 100% { transform: none; } }
@keyframes fx2-heartout { 50% { transform: scale(.75); } }
.fx2-spark { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--qd-gold); pointer-events: none; animation: fx2-spark .7s ease-out forwards; }
.fx2-spark--heart:nth-child(odd) { background: #D9534F; }
@keyframes fx2-spark { 0% { transform: translate(0, 0) scale(.3); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(1); opacity: 0; } }
.qd-tool--fav { position: relative; }
.qd-tool--fav .qd-tool__count { background: #B21E1E; }
.fx2-leave { opacity: 0; transform: scale(.9); transition: opacity .35s, transform .35s var(--qd-ease); }

/* 2. m² calculator: the price glows while it counts, packs pop in */
.fx2-glow { color: var(--qd-gold-ink); transition: color .3s; }
.fx2-packs { grid-column: 1 / -1; width: 100%; box-sizing: border-box; position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; margin-top: .7rem; padding: .55rem .6rem; border-radius: 10px; background: rgba(176,141,87,.08); min-height: 2.4rem; }
.fx2-packs[hidden] { display: none; }
.fx2-packs::after { content: attr(data-label); margin-left: auto; padding-left: .5rem; font: 600 .78rem var(--qd-body); color: var(--qd-gold-ink); }
.fx2-packs span { display: inline-grid; animation: fx2-drop .45s var(--qd-ease) backwards; animation-delay: calc(var(--i, 0) * 35ms); }
.fx2-packs__more { font: 700 .78rem var(--qd-body); color: var(--qd-ink); margin-left: .25rem; }
@keyframes fx2-drop { 0% { opacity: 0; transform: translateY(-12px) scale(.6) rotate(-12deg); } 70% { transform: translateY(2px) scale(1.08); } 100% { opacity: 1; transform: none; } }

/* 10. discount code: confetti from the summary, a soft gold highlight; a wrong code shakes */
.qd-summary { position: relative; }
.fx2-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 5; }
.fx2-confetti i { position: absolute; top: -12px; border-radius: 2px; animation: fx2-confetti 2.2s cubic-bezier(.25,.6,.4,1) forwards; }
@keyframes fx2-confetti { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), 520px) rotate(var(--r)); opacity: 0; } }
.fx2-coupon { animation: fx2-coupon 1.6s ease-out; border-radius: 8px; }
@keyframes fx2-coupon { 0%, 40% { background: rgba(176,141,87,.22); box-shadow: 0 0 0 6px rgba(176,141,87,.22); } 100% { background: transparent; box-shadow: 0 0 0 0 transparent; } }
.fx2-shake { animation: fx2-shake .5s; }
.fx2-bad { border-color: #B21E1E !important; }
@keyframes fx2-shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.qd-alert { animation: fx2-alert .45s var(--qd-ease); }
@keyframes fx2-alert { from { opacity: 0; transform: translateY(-8px); } }

/* 13. page change: a gold bar runs along the top, the page fades a little */
.fx2-pagebar { position: fixed; left: 0; top: 0; z-index: 6000; height: 3px; width: 0; background: linear-gradient(90deg, #8A6A38, var(--qd-gold), #DCC08E); box-shadow: 0 0 12px rgba(176,141,87,.6); pointer-events: none; opacity: 0; }
html.fx2-leaving .fx2-pagebar { opacity: 1; animation: fx2-bar 2.4s cubic-bezier(.1,.7,.2,1) forwards; }
html.fx2-leaving main, html.fx2-leaving .qd-checkout-main { opacity: .55; transition: opacity .35s; }
@keyframes fx2-bar { from { width: 0; } to { width: 88%; } }
html.fx2-entered main { animation: fx2-enter .45s ease-out; }
@keyframes fx2-enter { from { opacity: 0; } }

/* 18. order tracker: the current step pulses and a van drives to the next step */
.qd-tracker li.is-now .qd-tracker__dot { animation: fx2-ping 2s ease-out infinite; }
@keyframes fx2-ping { 0% { box-shadow: 0 0 0 0 rgba(176,141,87,.45); } 70% { box-shadow: 0 0 0 14px rgba(176,141,87,0); } 100% { box-shadow: 0 0 0 0 rgba(176,141,87,0); } }
.fx2-van { position: absolute; z-index: 2; top: calc(var(--dot, 3.5rem) / 2 - 22px); left: calc(50% + var(--dot, 3.5rem) / 2); width: calc(100% - var(--dot, 3.5rem)); height: 20px; pointer-events: none; }
.fx2-van svg { position: absolute; left: 0; animation: fx2-drive 3.2s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes fx2-drive { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 50% { transform: translateY(-1px); } 85% { opacity: 1; } 100% { left: calc(100% - 30px); opacity: 0; } }

/* 14. tap ripple */
.qd-btn, .qd-pcard__add, .fx-step button, .qd-qty button { position: relative; overflow: hidden; }
.fx2-ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); transform: scale(0); animation: fx2-ripple .6s ease-out forwards; pointer-events: none; }
.qd-btn--line .fx2-ripple, .fx-step .fx2-ripple, .qd-qty .fx2-ripple { background: rgba(176,141,87,.25); }
@keyframes fx2-ripple { to { transform: scale(1); opacity: 0; } }

/* 9. low stock: the dot pulses */
.qd-stock--low::before { animation: fx2-low 1.6s ease-out infinite; }
@keyframes fx2-low { 0% { box-shadow: 0 0 0 0 rgba(176,141,87,.6); } 80%, 100% { box-shadow: 0 0 0 7px rgba(176,141,87,0); } }

/* 15. WhatsApp: a wave and a small bubble */
.fx2-wave { animation: fx2-wave 1s ease-in-out 2; }
@keyframes fx2-wave { 20% { transform: rotate(-12deg) scale(1.06); } 40% { transform: rotate(10deg) scale(1.06); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
.fx2-wabubble { position: fixed; right: 1.1rem; bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px)); z-index: 595; display: grid; gap: .15rem; max-width: 15rem; padding: .8rem 2rem .85rem 1rem; border-radius: 16px 16px 4px 16px; background: #fff; color: #2A2420; font: 400 .82rem/1.4 var(--qd-body); box-shadow: 0 18px 40px -16px rgba(42,36,32,.5); cursor: pointer; opacity: 0; transform: translateY(10px) scale(.95); transform-origin: bottom right; transition: opacity .35s, transform .45s var(--qd-ease); }
.fx2-wabubble.is-in { opacity: 1; transform: none; }
.fx2-wabubble b { font-weight: 600; }
.fx2-wabubble button { position: absolute; right: .35rem; top: .3rem; width: 1.6rem; height: 1.6rem; border: 0; background: none; color: #8A8178; font-size: 1.1rem; cursor: pointer; }

/* 17. back to top: gold progress ring */
.th-top { overflow: visible; }
.fx2-ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); pointer-events: none; }
.fx2-ring circle { fill: none; stroke: var(--qd-gold); stroke-width: 2.5; stroke-linecap: round; transition: stroke-dashoffset .15s linear; }

@media (prefers-reduced-motion: reduce) {
  .fx-heart-pop svg, .fx-heart-out svg, .fx2-packs span, .fx2-coupon, .fx2-shake, .qd-alert, html.fx2-entered main, .qd-tracker li.is-now .qd-tracker__dot, .fx2-van svg, .qd-stock--low::before, .fx2-wave { animation: none !important; }
  .fx2-van { display: none; }
}
@media (max-width: 700px) {
  /* phone: the tracker is a vertical list, so the van drives down the line */
  .fx2-van { top: calc(var(--dot, 3rem) / 2 + 6px); left: calc(var(--dot, 3rem) / 2 - 10px); width: 20px; height: calc(100% - var(--dot, 3rem) / 2 - 6px); }
  .fx2-van svg { left: 0; top: 0; width: 20px; height: 13px; transform-origin: center; animation: fx2-drive-down 3.2s cubic-bezier(.45,.05,.55,.95) infinite; }
  @keyframes fx2-drive-down { 0% { top: 0; opacity: 0; transform: rotate(90deg); } 12% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 16px); opacity: 0; transform: rotate(90deg); } }
}

/* ================================================================== animations part 3 (qadman-fx3.js) */
/* 1. a gold ring slides to the chosen colour / option */
.fx3-optwrap { position: relative; }
.fx3-ring { position: absolute; left: 0; top: 0; border: 2px solid var(--qd-gold); border-radius: 4px; pointer-events: none; transition: transform .45s var(--qd-ease), width .45s var(--qd-ease), height .45s var(--qd-ease), border-radius .3s; box-shadow: 0 0 0 3px rgba(176,141,87,.18); }
.fx3-ring.is-round { border-radius: 50%; }
.fx3-flipin { display: inline-block; animation: fx3-flipin .45s var(--qd-ease); }
@keyframes fx3-flipin { from { opacity: 0; transform: translateY(-60%) rotateX(70deg); } }

/* 3. photo zoom */
.fx3-zoomable img { cursor: zoom-in; }
.fx3-lb { position: fixed; inset: 0; z-index: 4600; display: grid; place-items: center; background: rgba(18,15,13,0); transition: background .3s; touch-action: pan-y; }
.fx3-lb.is-open { background: rgba(18,15,13,.94); }
.fx3-lb img { max-width: 94vw; max-height: 84vh; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; }
.fx3-lb__x { position: absolute; right: 1rem; top: 1rem; width: 2.8rem; height: 2.8rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; cursor: pointer; }
.fx3-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.fx3-lb__prev { left: 1rem; } .fx3-lb__next { right: 1rem; }
.fx3-lb__dots { position: absolute; bottom: 1.4rem; left: 0; right: 0; display: flex; justify-content: center; gap: .45rem; }
.fx3-lb__dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s, background .3s; }
.fx3-lb__dots i.is-on { width: 22px; background: var(--qd-gold); }
.fx3-in-r { animation: fx3-inr .35s var(--qd-ease); } .fx3-in-l { animation: fx3-inl .35s var(--qd-ease); }
@keyframes fx3-inr { from { opacity: 0; transform: translateX(40px); } } @keyframes fx3-inl { from { opacity: 0; transform: translateX(-40px); } }

/* 9. before / after */
.fx3-batoggle { position: absolute; left: .8rem; bottom: .8rem; z-index: 4; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .85rem; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: #2A2420; font: 600 .76rem var(--qd-body); cursor: pointer; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.fx3-batoggle.is-on { background: #2A2420; color: #F3EEE6; }
.fx3-ba { --p: 50%; position: absolute; inset: 0; z-index: 3; background: #fff; overflow: hidden; touch-action: none; cursor: ew-resize; animation: fx2-enter .3s; }
.fx3-ba img, .fx3-ba__room img { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1 !important; visibility: visible !important; transform: none !important; display: block !important; }
.fx3-ba__room { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--p)); }
.fx3-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.fx3-ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--qd-gold); color: #fff; font: 700 .8rem var(--qd-body); box-shadow: 0 6px 18px -6px rgba(0,0,0,.5); }
.fx3-ba__l, .fx3-ba__r { position: absolute; top: .8rem; padding: .3rem .6rem; border-radius: 99px; background: rgba(42,36,32,.7); color: #fff; font: 600 .7rem var(--qd-body); }
.fx3-ba__l { left: .8rem; } .fx3-ba__r { right: .8rem; }

/* 4. search results while typing */
.fx3-sres { position: absolute; left: 0; right: 0; top: calc(100% + .4rem); z-index: 50; display: grid; padding: .4rem; border-radius: 14px; background: var(--qd-paper); box-shadow: 0 24px 50px -20px rgba(42,36,32,.45); max-height: 70vh; overflow: auto; }
.fx3-sres.is-busy { opacity: .7; }
.fx3-sres__item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .5rem; border-radius: 10px; color: var(--qd-ink); text-decoration: none; animation: fx-in .35s var(--qd-ease) backwards; animation-delay: calc(var(--i) * 45ms); }
.fx3-sres__item:hover { background: var(--qd-sand); }
.fx3-sres__item img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--qd-sand); }
.fx3-sres__item small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--qd-muted); }
.fx3-sres__item b { font-weight: 600; font-size: .88rem; }
.fx3-sres__item mark { background: none; color: var(--qd-gold-ink); font-weight: 700; }
.fx3-sres__item em { font-style: normal; font-weight: 600; font-size: .86rem; white-space: nowrap; }
.fx3-sres__all { display: block; padding: .7rem; text-align: center; font: 600 .82rem var(--qd-body); color: var(--qd-gold-ink); }
.fx3-sres__none { margin: 0; padding: .9rem; color: var(--qd-muted); font-size: .86rem; }
#qd-search form, #qd-search .qd-search__inner { position: relative; }

/* 5. flip-clock countdown */
.fx3-flipnum { display: inline-block; transform-origin: 50% 50%; }
.fx3-flip { animation: fx3-flip .5s var(--qd-ease); }
@keyframes fx3-flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(-90deg); opacity: .4; } 55% { transform: rotateX(90deg); opacity: .4; } 100% { transform: rotateX(0); opacity: 1; } }

/* 6. van on the free delivery bar */
.fx3-hasvan { position: relative; }
.fx3-van { position: relative; display: block; width: 26px; height: 16px; margin-top: .5rem; transition: left .8s var(--qd-ease); left: 0; }
.fx3-van + .qd-progress__bar, .fx3-van + .fx-free__bar { margin-top: .15rem; }
.fx3-van svg { display: block; animation: fx3-bump .5s ease-in-out infinite alternate; }
.fx3-van.is-free svg path:first-child { fill: #3E8A4C; }
@keyframes fx3-bump { to { transform: translateY(-1.5px); } }
.fx3-toot::after { content: "Toet toet!"; position: absolute; left: -64px; top: -6px; padding: .15rem .45rem; border-radius: 99px; background: #3E8A4C; color: #fff; font: 700 .62rem var(--qd-body); white-space: nowrap; animation: fx3-tootin 2.2s ease forwards; }
@keyframes fx3-tootin { 0% { opacity: 0; transform: scale(.6); } 15% { opacity: 1; transform: scale(1.1); } 25% { transform: none; } 80% { opacity: 1; } 100% { opacity: 0; } }

/* 7. newsletter paper plane */
.qd-news button { position: relative; overflow: visible; }
.fx3-sending button { color: transparent !important; }
.fx3-plane { position: absolute; left: 50%; top: 50%; margin: -11px 0 0 -11px; animation: fx3-plane 1s cubic-bezier(.4,0,.6,1) forwards; }
@keyframes fx3-plane { 0% { transform: scale(.6) rotate(0); opacity: 0; } 20% { transform: scale(1.1); opacity: 1; } 100% { transform: translate(160px, -90px) rotate(18deg) scale(.6); opacity: 0; } }
.fx3-newsok { margin: 0; padding: .8rem 1rem; border-radius: 10px; background: rgba(62,138,76,.12); color: #2F6B3B; font-weight: 600; animation: fx2-alert .45s var(--qd-ease); }

/* 8. room drawing */
.fx3-plan { grid-column: 1 / -1; margin: .6rem 0; padding: .4rem; border-radius: 12px; background: #fff; border: 1px solid var(--qd-line); }
.fx3-plan svg { display: block; width: 100%; height: auto; max-height: 220px; }
.fx3-plan__fill { opacity: .92; }
.fx3-draw .fx3-plan__fill { animation: fx3-fill .9s .5s ease forwards; opacity: 0; }
@keyframes fx3-fill { to { opacity: .92; } }
.fx3-plan__wall { fill: none; stroke: #2A2420; stroke-width: 3; stroke-linejoin: round; transition: stroke-dashoffset .9s var(--qd-ease); }
.fx3-plan text { font: 600 9px var(--qd-body); fill: var(--qd-gold-ink); text-anchor: middle; }
.fx3-plan__a { font-size: 12px !important; fill: #fff !important; paint-order: stroke; stroke: rgba(42,36,32,.75); stroke-width: 3px; }

/* 10. peel corner on product cards (only cards with a room photo) */
.qd-pcard__media:has(.qd-pcard__alt)::after { content: ""; position: absolute; right: 0; bottom: 0; z-index: 2; width: 34px; height: 34px; background: linear-gradient(135deg, transparent 50%, #E9DFCF 50%, #fff 75%); box-shadow: -3px -3px 8px rgba(42,36,32,.18); border-top-left-radius: 6px; transition: width .5s var(--qd-ease), height .5s var(--qd-ease), opacity .4s; pointer-events: none; }
.qd-pcard:hover .qd-pcard__media::after { width: 0; height: 0; opacity: 0; }
.qd-pcard__alt, .qd-pcard__fill--alt { opacity: 1 !important; clip-path: circle(0% at 100% 100%); transition: clip-path .7s var(--qd-ease) !important; }
.qd-pcard:hover .qd-pcard__alt, .qd-pcard:hover .qd-pcard__fill--alt { clip-path: circle(150% at 100% 100%); }
@media (hover: none) { .qd-pcard__media::after { display: none; } }

/* 11. sticky buy bar: photo, also on computers */
.fx3-sticky__img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: var(--qd-sand); flex: none; }
.qd-sticky-buy > div { flex: 1; min-width: 0; }
.fx3-pulse { animation: fx3-pulse .7s ease; }
@keyframes fx3-pulse { 40% { color: var(--qd-gold-ink); transform: scale(1.08); } }
@media (min-width: 901px) {
  .qd-sticky-buy { display: flex !important; position: fixed; left: auto; right: 1.5rem; bottom: 1.5rem; z-index: 700; width: min(30rem, calc(100vw - 3rem)); align-items: center; gap: 1rem; padding: .7rem .7rem .7rem .8rem; border-radius: 16px; background: var(--qd-paper); border: 1px solid var(--qd-line); box-shadow: 0 24px 50px -20px rgba(42,36,32,.4); transform: translateY(140%); transition: transform .45s var(--qd-ease); }
  .qd-sticky-buy.is-on { transform: none; }
  .qd-sticky-buy strong { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* 12. recently viewed */
.fx3-recent__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(9.5rem, 12rem); gap: 1rem; overflow-x: auto; padding: .2rem .1rem 1rem; scroll-snap-type: x proximity; }
.fx3-recent__card { display: grid; gap: .4rem; color: var(--qd-ink); text-decoration: none; scroll-snap-align: start; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--qd-ease); transition-delay: calc(var(--i) * 70ms); }
.fx3-recent.is-in .fx3-recent__card { opacity: 1; transform: none; }
.fx3-recent__card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--qd-sand); transition: transform .35s var(--qd-ease); }
.fx3-recent__card:hover img { transform: translateY(-4px); }
.fx3-recent__card b { font-size: .86rem; font-weight: 600; line-height: 1.3; }
.fx3-recent__card span { font-size: .84rem; }

/* 13. review stars */
.fx3-stars { display: inline-flex; gap: .25rem; }
.fx3-stars label { position: relative; cursor: pointer; }
.fx3-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fx3-stars span { display: block; font-size: 2rem; line-height: 1; color: #D8D0C4; transition: color .2s, transform .2s; }
.fx3-stars label.is-on span { color: var(--qd-gold); }
.fx3-stars label:hover span { transform: scale(1.15); }
.fx3-stars input:focus-visible + span { outline: 2px solid var(--qd-gold); outline-offset: 2px; border-radius: 4px; }
.fx3-starpop span { animation: fx3-starpop .45s var(--qd-ease); animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes fx3-starpop { 40% { transform: scale(1.45) rotate(-12deg); } 100% { transform: none; } }

/* 14. friendly empty cart */
.fx3-emptybag { display: grid; place-items: center; margin-bottom: 1rem; }
.fx3-emptybag svg { animation: fx3-float 3s ease-in-out infinite; overflow: visible; }
.fx3-bag { fill: #F3EEE6; stroke: var(--qd-gold); stroke-width: 2.5; stroke-linejoin: round; }
.fx3-handle { fill: none; stroke: var(--qd-gold); stroke-width: 2.5; stroke-linecap: round; }
.fx3-eye { fill: #2A2420; transform-origin: center; transform-box: fill-box; animation: fx3-blink 4s infinite; }
.fx3-mouth { fill: none; stroke: #2A2420; stroke-width: 2; stroke-linecap: round; }
@keyframes fx3-float { 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes fx3-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.fx3-popular .qd-pgrid > div { animation: fx-in .5s var(--qd-ease) backwards; animation-delay: calc(var(--i) * 90ms + .2s); }

@media (prefers-reduced-motion: reduce) {
  .fx3-ring, .fx3-van, .fx3-plan__wall, .fx3-recent__card, .qd-pcard__alt, .qd-pcard__fill--alt { transition: none !important; }
  .fx3-emptybag svg, .fx3-eye, .fx3-van svg, .fx3-sres__item, .fx3-popular .qd-pgrid > div { animation: none !important; }
  .fx3-recent__card { opacity: 1; transform: none; }
}

/* ================================================================== fixes from the agents' check (UI & UX) */
/* gold buttons: the darker brand gold, so white text is easy to read (contrast above 4.5:1) in every design */
.qd-btn:not(.qd-btn--line):not(.qd-btn--ghost):not(.qd-btn--dark) { background: var(--qd-gold-ink); }
.qd-btn:not(.qd-btn--line):not(.qd-btn--ghost):not(.qd-btn--dark):hover { background: color-mix(in srgb, var(--qd-gold-ink) 82%, #000); }
.qd-summary--dark .qd-btn:hover { background: color-mix(in srgb, var(--qd-gold-ink) 82%, #000); }
/* phone buy bar: product name on one line, so the bar stays low and the WhatsApp button stays free */
.qd-sticky-buy > div { min-width: 0; }
.qd-sticky-buy strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) {
  .qd-sticky-buy { padding-top: .55rem; padding-bottom: calc(.55rem + env(safe-area-inset-bottom, 0px)); gap: .7rem; }
  .qd-sticky-buy strong { font-size: .85rem; }
  .qd-sticky-buy .qd-btn__label { min-height: 2.6rem; padding: 0 .9rem; }
  body:has(.qd-sticky-buy.is-on) .qd-wa { bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px)); transition: bottom .3s; }
}
/* computer: the floating buy card sits left of the WhatsApp button */
@media (min-width: 901px) { .qd-sticky-buy { right: 6.5rem; } }
/* empty cart: the gold line sits centred under the heading */
.qd-empty .qd-title::before, .qd-empty .qd-title::after { margin-left: auto; margin-right: auto; }

/* FAQ on category pages */
.qd-faq-item { border-top: 1px solid var(--qd-line); padding: .8rem 0; }
.qd-faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.qd-faq-item summary::after { content: "+"; color: var(--qd-gold-ink); font-size: 1.2rem; line-height: 1; transition: transform .3s; }
.qd-faq-item[open] summary::after { transform: rotate(45deg); }
.qd-faq-item p { margin: .5rem 0 0; }

/* Homepage hero card: old price struck through, new price in dark red (only for a real discount). */
.qd-stage__price b { font-weight: 700; }
.qd-stage__price s { opacity: .8; font-weight: 500; margin-right: .35rem; text-decoration-thickness: 1.5px; }
.qd-stage__price.is-sale b { color: #9B1C1C !important; }
html:not(.qd-light) .qd-stage__price.is-sale b { color: #FF8A7A !important; }

/* "Aanbiedingen" in the menu: dark red, bold, with a flickering flame — always draws the eye. */
.qd-nav a.qd-hot, .qd-drawer a.qd-hot { color: #9B1C1C !important; font-weight: 800; display: inline-flex; align-items: center; gap: .3rem; }
.qd-nav a.qd-hot::after { background: #9B1C1C !important; }
.qd-nav a.qd-hot:hover { color: #7A1414 !important; }
.qd-hot__flame { width: 1.15em; height: 1.15em; flex: none; transform-origin: 50% 90%; animation: qd-flame 1.1s ease-in-out infinite alternate; filter: drop-shadow(0 0 3px rgba(224,70,30,.55)); }
.qd-hot__inner { transform-origin: 50% 90%; animation: qd-flame-in .7s ease-in-out infinite alternate; }
@keyframes qd-flame { 0% { transform: scale(1, 1) rotate(-3deg); } 50% { transform: scale(1.06, .94) rotate(2deg); } 100% { transform: scale(.96, 1.08) rotate(-1deg); } }
@keyframes qd-flame-in { from { transform: scaleY(.85); opacity: .85; } to { transform: scaleY(1.12); opacity: 1; } }
html:not(.qd-light) .qd-nav a.qd-hot, html:not(.qd-light) .qd-drawer a.qd-hot { color: #FF6B5B !important; }
@media (prefers-reduced-motion: reduce) { .qd-hot__flame, .qd-hot__inner { animation: none; } }

/* Homepage block: Renovatie & verbouw */
.qd-rvh { background: var(--qd-paper); }
.qd-rvh__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .qd-rvh__grid { grid-template-columns: minmax(0, 1fr); } .qd-rvh__pics { order: -1; } }
.qd-rvh__label { color: #9B1C1C; }
.qd-rvh .qd-title { margin-top: .8rem; }
.qd-rvh__chips { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.qd-rvh__chips a { display: inline-block; padding: .5rem .9rem; border: 1px solid var(--qd-line); border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s; }
.qd-rvh__chips a:hover { border-color: var(--qd-gold); background: #FBF7F0; }
.qd-rvh__usps { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .4rem; font-size: .92rem; }
.qd-rvh__usps li::before { content: "✓"; color: var(--qd-gold); font-weight: 700; margin-right: .5rem; }
.qd-rvh__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.8rem; }
.qd-rvh__pics { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: .8rem; aspect-ratio: 5 / 4; }
.qd-rvh__pic { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--qd-mist); }
.qd-rvh__pic.is-big { grid-row: 1 / 3; }
.qd-rvh__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--qd-ease); }
.qd-rvh__pic:hover img:not([data-qd-framed]) { transform: scale(1.05); }
.qd-rvh__pic span { position: absolute; left: .8rem; bottom: .8rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(248,245,240,.92); color: var(--qd-ink); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* With the AI chat button bottom right (60px at 20px from the edge), WhatsApp sits just above it. */
body.qd-has-chat .qd-wa { bottom: calc(5.9rem + env(safe-area-inset-bottom, 0px)); right: 1.4rem; }
body.qd-has-chat:has(.qd-sticky-buy.is-on) .qd-wa { bottom: calc(10.2rem + env(safe-area-inset-bottom, 0px)); }
/* The chat button moves up when the buy bar (product) or pay bar (cart) is on screen, so it never covers a button. */
body:has(.qd-sticky-buy.is-on) div[style*="2147483000"] { bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px)) !important; transition: bottom .3s; }
@media (max-width: 900px) { body:has(.qd-cartbar) div[style*="2147483000"] { bottom: calc(6.2rem + env(safe-area-inset-bottom, 0px)) !important; } body.qd-has-chat:has(.qd-cartbar) .qd-wa { bottom: calc(11rem + env(safe-area-inset-bottom, 0px)); } }
