/* Matraswijzer CSS - Slaaploods.nl */
/* Magento overrides — verberg breadcrumb en paginatitel, minimaliseer ruimte boven de wijzer */
.page-title-wrapper { display:none!important; }
ol.breadcrumb { display:none!important; }
.main-container.col2-right-layout > .container { padding-top:0!important; margin-top:0!important; }
/* Breek uit de Magento .container.small (max-width:1100px) */
.mw-shell {
  width:100vw; position:relative;
  margin-left:50%; transform:translateX(-50%);
  margin-top:0;
  scroll-margin-top:230px;
}

/* CSS custom properties (must stay on :root) */
:root{
  --blue:#2563EB;
  --blue-light:#DBEAFE;
  --orange:#FF5C00;
  --orange-dark:#e35300;
  --ink:#1A1A1A;
  --muted:#6B7280;
  --line:#E5E7EB;
  --bg:#F1F5F9;
  --card:#FFFFFF;
  --green:#16A34A;
  --radius:12px;
  --shadow:0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.06);
}

/* ===== ALL styles scoped under .mw-shell ===== */
.mw-shell *, .mw-shell *::before, .mw-shell *::after{box-sizing:border-box}
.mw-shell{
  font-family:'Rubik', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.5;
  font-size:16px;
}
.mw-shell a{color:var(--blue);text-decoration:none}
.mw-shell a:hover{text-decoration:underline}

/* layout */
.mw-shell .shell{max-width:1350px;margin:0 auto;padding:32px 20px 120px}
/* header is now inside stepper, hide standalone header if present */
.mw-shell header.top{display:none}
/* stepper header (title + subtitle inside stepper) */
.mw-shell .stepper .stepper-title{font-size:20px;font-weight:600;margin:0 0 2px;color:var(--ink)}
.mw-shell .stepper .stepper-sub{color:var(--muted);font-size:13px;margin:0 0 16px;line-height:1.4}

.mw-shell .grid{display:grid;grid-template-columns:320px 1fr;gap:24px}
@media (max-width:900px){.mw-shell .grid{grid-template-columns:1fr}}

/* stepper */
.mw-shell .stepper{position:sticky;top:24px;align-self:start;background:var(--card);padding:20px;border-radius:var(--radius);box-shadow:var(--shadow);border-top:1px solid #d8d8d8}
.mw-shell .stepper h3{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0 0 12px;font-weight:600}
.mw-shell .stepper ol{list-style:none;margin:0;padding:0}
.mw-shell .stepper li{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:14px;color:var(--muted);cursor:pointer;border-radius:6px}
.mw-shell .stepper li .dot{width:24px;height:24px;border-radius:50%;background:#E5E7EB;color:#6B7280;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.mw-shell .stepper li.active{color:var(--ink);font-weight:500}
.mw-shell .stepper li.active .dot{background:var(--orange);color:#fff}
.mw-shell .stepper li.done{color:var(--ink)}
.mw-shell .stepper li.done .dot{background:var(--green);color:#fff}
.mw-shell .stepper li.done .dot::after{content:"\2713";font-size:14px}
.mw-shell .stepper li.done .dot span{display:none}

/* card */
.mw-shell .card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}
.mw-shell .card h2{margin:0 0 6px;font-size:22px;font-weight:600}
.mw-shell .card p.lead{color:var(--muted);margin:0 0 20px}

.mw-shell label{display:block;font-size:14px;margin-bottom:6px;font-weight:500}
.mw-shell .field{margin-bottom:18px}
.mw-shell .hint{color:var(--muted);font-size:13px;margin-top:4px}

.mw-shell input[type="number"], .mw-shell input[type="text"], .mw-shell input[type="email"], .mw-shell select{
  width:100%;height:44px;padding:0 12px;border:2px solid var(--line);border-radius:8px;font:inherit;
  transition:border .12s, box-shadow .12s;
}
.mw-shell input:focus, .mw-shell select:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.15)}

.mw-shell .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:520px){.mw-shell .row{grid-template-columns:1fr}}

.mw-shell .options{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.mw-shell .option{
  border:2px solid var(--line);border-radius:10px;padding:14px 14px;cursor:pointer;background:#fff;
  display:flex;align-items:flex-start;gap:10px;transition:border .12s, background .12s, box-shadow .12s;
  font-size:14px;
}
.mw-shell .option:hover{border-color:#c7d2fe}
.mw-shell .option.selected{border-color:var(--blue);background:var(--blue-light);box-shadow:0 0 0 3px rgba(37,99,235,.15)}
.mw-shell .option .mark{width:18px;height:18px;border-radius:4px;border:2px solid var(--line);flex-shrink:0;margin-top:2px;display:inline-flex;align-items:center;justify-content:center;background:#fff;transition:border-color .15s,background .15s}
.mw-shell .option.selected .mark{border-color:var(--blue);background:var(--blue)}
.mw-shell .option.selected .mark::after{content:"\2713";color:#fff;font-size:12px;font-weight:700;line-height:1}
.mw-shell .option .title{font-weight:500;background:transparent!important;padding:0!important;border-radius:0!important;font-family:inherit!important}
.mw-shell .option .desc{color:var(--muted);font-size:13px;margin-top:3px;background:transparent!important;padding:0!important;border-radius:0!important;display:block!important;font-family:inherit!important}
/* Reset Magento leaking styles inside mw-shell */
.mw-shell .desc,.mw-shell .title,.mw-shell .label,.mw-shell .badge,.mw-shell .price,.mw-shell .actions,.mw-shell .info,.mw-shell .tags,.mw-shell .score{background-color:transparent;border-radius:0;padding:0;font-family:inherit}
/* checkbox class no longer needed — all marks use checkmark style */

/* Sliders */
.mw-shell .slider-field { margin-bottom: 24px; }
.mw-shell .slider-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.mw-shell .slider-value { float: right; font-size: 20px; font-weight: 700; color: var(--orange); }
.mw-shell .slider { width: 100%; height: 6px; -webkit-appearance: none; appearance: none; background: #e5e7eb; border-radius: 3px; outline: none; margin: 12px 0 4px; }
.mw-shell .slider::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); cursor: pointer; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.mw-shell .slider::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--orange); cursor: pointer; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.mw-shell .slider-labels { display: flex; justify-content: space-between; font-size: 12px; color: #888; }

/* Option icons */
.mw-shell .option.has-icon { flex-direction: column; align-items: center; text-align: center; padding: 16px 12px; position: relative; }
.mw-shell .option.has-icon .mark { position: absolute; top: 8px; right: 8px; opacity:0; transition: opacity .15s; }
.mw-shell .option.has-icon.selected .mark { opacity:1; }
.mw-shell .option-icon { margin-bottom: 8px; }
.mw-shell .option-icon svg { display: block; margin: 0 auto; }
/* Forceer 4 kolommen voor icon-opties op desktop */
@media (min-width:901px){.mw-shell .options:has(.has-icon){grid-template-columns:repeat(4,1fr)}}

/* Afmeting presets */
.mw-shell .size-presets { margin-bottom: 8px; }
.mw-shell .preset-options { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-shell .preset-btn { flex: 0 0 calc((100% - 8px * 4) / 5); min-width: 0; text-align: center; box-sizing: border-box; }
.mw-shell .or-divider { text-align: center; margin: 16px 0; color: #aaa; position: relative; }
.mw-shell .or-divider::before, .mw-shell .or-divider::after { content: ""; display: inline-block; width: 40%; height: 1px; background: #ddd; vertical-align: middle; }
.mw-shell .or-divider span { padding: 0 12px; font-size: 13px; }

/* main flex container — nav onder de card */
.mw-shell #mw-main{display:flex;flex-direction:column}
.mw-shell .card{order:1}
.mw-shell .nav{order:2}
/* nav — onder de content blokken, in wit kader */
.mw-shell .nav{display:flex;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 20px;background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow)}
.mw-shell .btn{
  padding:10px 20px;border-radius:10px;font:inherit;font-weight:600;font-size:15px;cursor:pointer;border:0;
  transition:transform .08s, background .12s, box-shadow .12s;
}
.mw-shell .btn:active{transform:translateY(1px)}
.mw-shell .btn-primary{background:var(--orange);color:#fff}
.mw-shell .btn-result-shortcut{background:#2a7d4f;margin-left:8px}
.mw-shell .btn-primary:hover{background:var(--orange-dark)}
.mw-shell .btn-primary:disabled{background:#fca37a;cursor:not-allowed}
.mw-shell .btn-ghost{background:#F3F4F6;color:var(--ink)}
.mw-shell .btn-ghost:hover{background:#E5E7EB}
.mw-shell .btn-link{background:transparent;color:var(--blue);padding:12px 0}

/* partner panel */
.mw-shell .partner-block{border:1px dashed var(--line);border-radius:10px;padding:16px;margin-top:14px;background:#FAFAFA}
.mw-shell .partner-block h4{margin:0 0 10px;font-size:14px}

/* results */
.mw-shell .results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.mw-shell .results-head h2{margin:0}
.mw-shell .badge{display:inline-flex;align-items:center;justify-content:center;background:var(--orange);color:#fff;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;letter-spacing:.02em;line-height:1}
.mw-shell .badge-blue{background:var(--blue)}
.mw-shell .product{display:grid;grid-template-columns:140px 1fr 190px;gap:16px;padding:14px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;background:#fff;align-items:stretch;overflow:hidden}
@media (max-width:600px){.mw-shell .product{grid-template-columns:1fr;text-align:left}}
.mw-shell .product .thumb{width:140px;min-height:120px;height:auto;align-self:stretch;background:var(--blue-light);border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--blue);font-weight:700;font-size:28px;overflow:visible}
.mw-shell .product .thumb.thumb-has-image{background:#fff;border:1px solid #e5e7eb;padding:4px}
.mw-shell .product .thumb-img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .3s ease;position:relative;z-index:2;border-radius:12px}
.mw-shell .product .thumb:hover .thumb-img{transform:scale(2);transform-origin:left center}
.mw-shell .product .info h3{margin:0 0 4px;font-size:17px}
.mw-shell .product .info .tags{color:var(--muted);font-size:13px;margin-bottom:6px}
.mw-shell .product .info .score{font-size:13px;color:var(--green);font-weight:500}
.mw-shell .product .price{font-size:18px;font-weight:700;color:var(--blue);white-space:nowrap;text-align:center;line-height:1.2}
.mw-shell .product .price small{display:block;font-size:10px;font-weight:600;color:var(--muted);line-height:1.3}
.mw-shell .product .product-right{display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:6px}
.mw-shell .product .actions{display:flex;gap:8px;flex-direction:column;align-items:stretch;width:180px}
.mw-shell .product .actions a,.mw-shell .product .actions button{display:block;padding:8px 14px;border-radius:8px;text-align:center;font-size:13px;font-weight:500;text-decoration:none}
.mw-shell .product .actions .go{background:var(--blue);color:#fff}
.mw-shell .product .actions .cart,.mw-shell .product .actions .cart-btn{background:var(--orange);color:#fff;text-decoration:none;border:none;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit}
.mw-shell .product .actions .cart-btn:hover{background:var(--orange-dark)}
.mw-shell .why-list{font-size:13px;color:var(--muted);margin:6px 0 0;padding-left:16px}
.mw-shell .why-list li{margin:2px 0}

.mw-shell .upsell-block{margin-top:28px;background:var(--blue-light);padding:20px;border-radius:12px}
.mw-shell .upsell-block h3{margin:0 0 14px}
.mw-shell .upsell-block .lead{color:#1e3a8a;font-size:14px;margin:0 0 14px}
.mw-shell .acc-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.mw-shell .tip-products-row{grid-template-columns:repeat(3,1fr)}
.mw-shell .acc-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px;display:flex;flex-direction:column;align-items:center;text-align:center}
.mw-shell .acc-card .thumb{width:140px;height:140px;margin-bottom:10px;border-radius:10px}
.mw-shell .acc-card-title{margin:0 0 8px;font-size:13px;font-weight:600;line-height:1.3;text-align:center;word-break:break-word;hyphens:auto}
.mw-shell .acc-card-body{flex:1;display:flex;flex-direction:column;align-items:center}
.mw-shell .acc-card-body h4{margin:0 0 4px;font-size:14px;line-height:1.3}
.mw-shell .acc-card-body .tags{color:var(--muted);font-size:12px;margin-bottom:6px}
.mw-shell .acc-card-body .price{font-size:16px;font-weight:700;color:var(--blue);margin-bottom:8px;line-height:1.2}
.mw-shell .acc-card-body .price small{display:block;font-size:10px;font-weight:600;color:var(--muted);line-height:1.3}
.mw-shell .acc-card-body .actions{margin-top:auto;display:flex;flex-direction:column;gap:6px;align-items:center}
.mw-shell .acc-card-body .actions a,.mw-shell .acc-card-body .actions button{width:180px;box-sizing:border-box}
.mw-shell .acc-card-body .actions .go{display:block;padding:6px 14px;border-radius:8px;background:var(--blue);color:#fff;font-size:13px;font-weight:500;text-decoration:none;text-align:center}
.mw-shell .acc-card-body .actions .cart-btn{display:block;padding:6px 14px;border-radius:8px;background:var(--orange);color:#fff;font-size:13px;font-weight:500;text-decoration:none;text-align:center;border:none;cursor:pointer;font-family:inherit;width:100%;box-sizing:border-box}
.mw-shell .acc-card-body .actions .cart-btn:hover{background:var(--orange-dark)}

/* Hover zoom op productafbeeldingen — mag buiten thumb maar blijft binnen kaartje */
.mw-shell .acc-card{overflow:hidden}
.mw-shell .acc-card .thumb{overflow:visible}
.mw-shell .acc-card .thumb .thumb-img{transition:transform .3s ease;position:relative;z-index:2;border-radius:10px}
.mw-shell .acc-card .thumb:hover .thumb-img{transform:scale(2)}
/* Geen hover-zoom op smalle schermen — voorkomt buiten-beeld lopen */
@media (max-width:900px){
  .mw-shell .product .thumb{overflow:hidden}
  .mw-shell .product .thumb:hover .thumb-img{transform:none}
  .mw-shell .acc-card .thumb{overflow:hidden}
  .mw-shell .acc-card .thumb:hover .thumb-img{transform:none}
}

/* Slaapprofiel samenvatting */
.mw-shell .profile-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:20px 24px;margin-bottom:20px}
.mw-shell .profile-summary h3{margin:0 0 10px;font-size:16px;color:var(--ink)}
.mw-shell .profile-items{margin:0;padding-left:18px;font-size:14px;line-height:1.8;color:#475569}
.mw-shell .profile-items li{margin-bottom:2px}

/* Waarom deze matrassen */
.mw-shell .why-block{background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border:1px solid #bbf7d0;border-radius:12px;padding:14px 20px;margin-bottom:18px}
.mw-shell .why-block h3{margin:0 0 6px;font-size:15px;color:#166534}
.mw-shell .why-text{margin:0 0 2px;font-size:13px;line-height:1.4;color:#15803d}
.mw-shell .why-text:last-child{margin-bottom:0}

/* Tip van Slaaploods.nl */
.mw-shell .tip-block{margin-top:24px;background:linear-gradient(135deg,#FFF7ED,#FFF1E0);border:2px solid #FDDCB5;padding:18px 24px 6px;border-radius:14px}
.mw-shell .tip-header{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.mw-shell .tip-header h3{margin:0;color:#C05600;font-size:17px}
.mw-shell .tip-icon{display:flex;align-items:center}
.mw-shell .tip-lead{margin:0 0 10px;color:#92400e;font-size:13px;line-height:1.4}
.mw-shell .tip-benefits{display:flex;flex-direction:column;gap:6px;margin:12px 0 0;padding:12px 16px;background:#fff;border-radius:10px;border:1px solid var(--line)}
.mw-shell .tip-benefit-item{display:flex;align-items:baseline;gap:8px;font-size:13px;color:var(--ink);line-height:1.4}
.mw-shell .tip-benefit-icon{color:var(--green);font-weight:700;font-size:14px;flex-shrink:0}
.mw-shell .tip-product{background:#fff !important;border:1px solid #FDDCB5}
.mw-shell .badge-tip{background:#FFF7ED;color:#C05600;border:1px solid #FDDCB5;margin:8px 0 4px}

/* footer bar mobile */
.mw-shell .footerbar{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);padding:10px 16px;display:none}
@media (max-width:900px){.mw-shell .footerbar{display:flex;justify-content:space-between;gap:10px}}

/* summary panel (stepper sidebar) */
.mw-shell .summary{margin-top:14px}
.mw-shell .summary-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0 0 8px}
.mw-shell .summary-list{display:flex;flex-direction:column;gap:5px}
.mw-shell .summary-row{display:flex;align-items:baseline;gap:6px;font-size:13px;line-height:1.4}
.mw-shell .summary-icon{flex:0 0 18px;text-align:center;font-size:13px}
.mw-shell .summary-label{font-weight:500;color:var(--muted);flex:0 0 80px;white-space:nowrap}
.mw-shell .summary-val{color:var(--ink);font-weight:500}
.mw-shell .btn-share{margin-top:12px;width:100%;background:#EFF6FF;color:var(--blue);border:1px solid #BFDBFE;font-size:13px;font-weight:500;padding:8px 12px;border-radius:8px;cursor:pointer;font-family:inherit;transition:background .15s}
.mw-shell .btn-share:hover{background:#DBEAFE}
.mw-shell .btn-reset{margin-top:8px;width:100%;background:#fff;color:var(--muted);border:1px solid #d8d8d8;font-size:13px;font-weight:500;padding:8px 12px;border-radius:8px;cursor:pointer;font-family:inherit;transition:background .15s,color .15s}
.mw-shell .btn-reset:hover{background:#f3f4f6;color:var(--ink)}
.mw-shell .btn-showroom{display:block;margin-top:8px;width:100%;background:#2563eb;color:#fff;border:none;font-size:15px;font-weight:600;padding:12px 12px;border-radius:8px;cursor:pointer;font-family:inherit;text-align:center;text-decoration:none;transition:background .15s;box-sizing:border-box}
.mw-shell .btn-showroom:hover{background:#1d4ed8}
/* delivery time */
.mw-shell .delivery-time{display:block;color:#16a34a;font-size:10px;font-weight:600;margin-top:2px;line-height:1.3;white-space:normal;word-break:break-word}
/* product selection checkboxes */
.mw-shell .mw-select-check{position:absolute;top:-2px;right:6px;cursor:pointer;z-index:2;display:flex;align-items:center}
.mw-shell .mw-select-check-card{top:-2px;right:6px}
.mw-shell .mw-product-check{display:none}
.mw-shell .mw-check-mark{width:22px;height:22px;border:2px solid var(--line);border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center;transition:all .15s;flex-shrink:0}
.mw-shell .mw-product-check:checked + .mw-check-mark{background:var(--orange);border-color:var(--orange)}
.mw-shell .mw-product-check:checked + .mw-check-mark::after{content:'';display:block;width:6px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-2px}
.mw-shell .product{position:relative}
.mw-shell .acc-card{position:relative}
.mw-shell .acc-card .acc-card-title{padding-left:4px;padding-right:4px}
/* selection block */
.mw-shell .mw-selection-block{background:#f8fafc;border:2px solid var(--orange);border-radius:12px;padding:24px;margin-top:24px}
.mw-shell .mw-selection-block h3{font-size:18px;color:var(--ink);margin:0 0 8px}
.mw-shell .mw-selection-lead{font-size:14px;color:var(--muted);line-height:1.6;margin:0 0 16px}
.mw-shell .mw-selection-summary{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.mw-shell .mw-sel-item{display:flex;justify-content:space-between;padding:6px 10px;background:#fff;border-radius:6px;font-size:14px;color:var(--ink)}
.mw-shell .mw-sel-price{font-weight:600;color:var(--orange)}
.mw-shell .mw-selection-total{font-size:16px;text-align:right;margin-bottom:12px;color:var(--ink)}
.mw-shell .btn-cart-all{display:block;width:100%;text-align:center;background:var(--orange);color:#fff;padding:14px 20px;border-radius:10px;font-size:15px;font-weight:700;text-decoration:none;transition:background .15s;font-family:inherit}
.mw-shell .btn-cart-all:hover{background:var(--orange-dark)}
/* toast notification */
.mw-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--ink);color:#fff;padding:12px 24px;border-radius:10px;font-family:'Rubik',sans-serif;font-size:14px;font-weight:500;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:9999;white-space:nowrap}
.mw-toast.show{opacity:1;transform:translateX(-50%) translateY(0);pointer-events:auto}
/* old pill (keep for fallback) */
.mw-shell .pill{font-size:12px;background:#F3F4F6;color:var(--ink);padding:4px 10px;border-radius:999px}
.mw-shell .mode-toggle{display:flex;gap:0;background:#F3F4F6;border-radius:999px;padding:4px;margin:0 0 18px;width:fit-content}
.mw-shell .mode-toggle button{border:0;background:transparent;padding:8px 16px;border-radius:999px;font-family:inherit;font-size:13px;font-weight:500;color:var(--muted);cursor:pointer}
.mw-shell .mode-toggle button.active{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.mw-shell .mode-toggle .count{opacity:.7;font-weight:400;margin-left:4px}
.mw-shell .expand-cta{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;background:#EFF6FF;border:1px solid #BFDBFE;border-radius:var(--radius);margin:18px 0 22px}
.mw-shell .expand-cta .text{font-size:14px;color:var(--ink)}
.mw-shell .expand-cta .text strong{display:block;margin-bottom:2px}
.mw-shell .expand-cta button{border:0;background:var(--blue);color:#fff;padding:10px 16px;border-radius:8px;font-family:inherit;font-weight:500;font-size:13px;cursor:pointer;white-space:nowrap}
.mw-shell .expand-cta button:hover{filter:brightness(1.05)}

/* ===== RESPONSIVE — TABLET (max 900px) ===== */
@media (max-width:900px){
  .mw-shell .shell{padding:16px 16px 100px}
  .mw-shell header.top{flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:16px}
  .mw-shell header.top h1{font-size:20px}

  /* Stepper → horizontal scrollable bar */
  .mw-shell .stepper{
    position:relative;top:auto;
    padding:12px 16px;
    margin-bottom:8px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .mw-shell .stepper h3{display:none}
  .mw-shell .stepper .stepper-title{display:none}
  .mw-shell .stepper .stepper-sub{display:none}
  .mw-shell .stepper ol{display:flex;gap:6px;white-space:nowrap}
  .mw-shell .stepper li{padding:6px 10px;font-size:13px;gap:6px;flex-shrink:0}
  .mw-shell .stepper li .dot{width:20px;height:20px;font-size:11px}
  .mw-shell .stepper .summary{display:none}

  /* Card */
  .mw-shell .card{padding:20px 16px}
  .mw-shell .card h2{font-size:19px}

  /* Nav buttons full width */
  .mw-shell .nav{gap:8px}
  .mw-shell .nav .btn{flex:1;text-align:center}

  /* Options: 2 columns on tablet */
  .mw-shell .options{grid-template-columns:repeat(2,1fr);gap:10px}

  /* Product cards */
  .mw-shell .product{grid-template-columns:100px 1fr;gap:12px;padding:12px}
  .mw-shell .product .thumb{width:100px;min-height:100px;height:auto;font-size:20px}
  .mw-shell .product .info h3{font-size:15px}
  .mw-shell .product .price{font-size:18px}
  .mw-shell .product .actions{flex-direction:row;flex-wrap:wrap}
  .mw-shell .product .actions a,.mw-shell .product .actions button{padding:6px 12px;font-size:12px}

  /* Tip & upsell blocks */
  .mw-shell .tip-block{padding:16px}
  .mw-shell .upsell-block{padding:14px}
  .mw-shell .profile-summary{padding:14px 16px}
  .mw-shell .why-block{padding:14px 16px}

  /* Beddengoed cards: 2 kolommen op tablet */
  .mw-shell .acc-row{grid-template-columns:repeat(2,1fr)}
  .mw-shell .acc-card .thumb{width:100px;height:100px}
}

/* ===== RESPONSIVE — MOBILE (max 600px) ===== */
@media (max-width:600px){
  .mw-shell .shell{padding:10px 10px 90px}
  .mw-shell header.top h1{font-size:18px}

  /* Stepper: compact dots only */
  .mw-shell .stepper{padding:10px 12px}
  .mw-shell .stepper li{padding:4px 6px;font-size:0}
  .mw-shell .stepper li .dot{width:24px;height:24px;font-size:12px}
  .mw-shell .stepper li.active{font-size:12px}

  /* Card */
  .mw-shell .card{padding:16px 12px;border-radius:10px}
  .mw-shell .card h2{font-size:17px}
  .mw-shell .card p.lead{font-size:13px;margin-bottom:14px}

  /* Options: single column */
  .mw-shell .options{grid-template-columns:1fr;gap:8px}
  .mw-shell .option{padding:12px;gap:8px}
  .mw-shell .option .title{font-size:14px}
  .mw-shell .option .desc{font-size:12px}

  /* Has-icon options: 2 columns to keep them compact */
  .mw-shell .options:has(.has-icon){grid-template-columns:repeat(2,1fr)}
  .mw-shell .option.has-icon{padding:12px 8px}
  .mw-shell .option-icon svg{width:36px;height:36px}

  /* Inputs */
  .mw-shell input[type="number"],.mw-shell input[type="text"],.mw-shell select{height:48px;font-size:16px}
  .mw-shell .row{grid-template-columns:1fr;gap:10px}

  /* Slider touch target */
  .mw-shell .slider::-webkit-slider-thumb{width:34px;height:34px}
  .mw-shell .slider::-moz-range-thumb{width:34px;height:34px}

  /* Size presets wrap better */
  .mw-shell .preset-options{gap:6px}
  .mw-shell .preset-btn{min-width:0;flex:0 0 calc((100% - 6px * 2) / 3);font-size:13px;padding:8px 10px}

  /* Product cards: stack vertically */
  .mw-shell .product{grid-template-columns:1fr;text-align:left;gap:10px;padding:12px}
  .mw-shell .product .thumb{width:100%;height:140px}
  .mw-shell .product .actions{flex-direction:row;gap:6px}
  .mw-shell .product .actions a,.mw-shell .product .actions button{flex:1;text-align:center;padding:10px 8px;font-size:14px}

  /* Buttons: larger touch targets */
  .mw-shell .btn{padding:14px 20px;font-size:16px;border-radius:10px}

  /* Mode toggle */
  .mw-shell .mode-toggle{width:100%}
  .mw-shell .mode-toggle button{flex:1;text-align:center;padding:10px 8px}

  /* Expand CTA */
  .mw-shell .expand-cta{flex-direction:column;text-align:center;gap:10px}
  .mw-shell .expand-cta button{width:100%}

  /* Tip block */
  .mw-shell .tip-block{padding:14px;border-radius:10px}
  .mw-shell .tip-header h3{font-size:16px}
  .mw-shell .tip-benefits{padding:10px 12px}
  .mw-shell .tip-benefit-item{font-size:12px}

  /* Beddengoed cards: 2 kolommen op mobiel, scrollbaar als nodig */
  .mw-shell .acc-row{grid-template-columns:repeat(2,1fr);gap:8px}
  .mw-shell .acc-card{padding:10px}
  .mw-shell .acc-card .thumb{width:80px;height:80px}
  .mw-shell .acc-card-body h4{font-size:12px}
  .mw-shell .acc-card-body .price{font-size:15px}

  /* Fix Magento viewport bleed on very small screens */
  .column.main > .mw-shell{width:100vw;overflow-x:hidden}
}

/* ===== RESPONSIVE — VERY SMALL (max 380px) ===== */
@media (max-width:380px){
  .mw-shell .shell{padding:8px 8px 80px}
  .mw-shell .card{padding:12px 10px}
  .mw-shell .options:has(.has-icon){grid-template-columns:1fr}
  .mw-shell .product .thumb{height:100px}
  .mw-shell .stepper{padding:8px}
}

/* ===== SEO CONTENT SECTION ===== */
.mw-shell .mw-seo{padding-top:0;padding-bottom:60px}
.mw-shell .mw-seo-content{margin-left:344px;margin-right:0;color:var(--muted);font-size:15px;line-height:1.7}
@media (max-width:900px){.mw-shell .mw-seo-content{margin-left:0}}
.mw-shell .mw-seo-content h2{font-size:22px;font-weight:600;color:var(--ink);margin:0 0 12px}
.mw-shell .mw-seo-content h3{font-size:17px;font-weight:600;color:var(--ink);margin:28px 0 8px}
.mw-shell .mw-seo-content p{margin:0 0 14px}

/* ===== DOWNLOAD PROFILE BUTTON (stepper sidebar) ===== */
.mw-shell .btn-download{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--orange);color:#fff;
  border:none;border-radius:8px;padding:12px 24px;
  font-size:15px;font-weight:600;cursor:pointer;
  transition:background .2s;
  margin-top:12px;
  width:100%;box-sizing:border-box;
}
.mw-shell .btn-download:hover{background:var(--orange-dark)}

/* ===== EMAIL MODAL OVERLAY ===== */
.mw-email-modal{
  position:fixed;inset:0;z-index:99999;
  display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(3px);
  animation:mwFadeIn .2s ease;
}
@keyframes mwFadeIn{from{opacity:0}to{opacity:1}}
.mw-email-dialog{
  background:#fff;border-radius:16px;padding:32px;
  max-width:420px;width:90%;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  position:relative;
  animation:mwSlideUp .25s ease;
}
.mw-email-close{
  position:absolute;top:12px;right:12px;
  background:none;border:none;font-size:24px;color:var(--muted);
  cursor:pointer;width:32px;height:32px;
  display:flex;align-items:center;justify-content:center;
  border-radius:6px;transition:background .2s,color .2s;
  line-height:1;padding:0;
}
.mw-email-close:hover{background:var(--line);color:var(--ink)}
@keyframes mwSlideUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.mw-email-dialog h3{
  font-size:20px;font-weight:700;margin:0 0 6px;color:var(--ink);
  font-family:'Rubik',system-ui,sans-serif;
}
.mw-email-dialog p{
  font-size:14px;color:var(--muted);margin:0 0 20px;line-height:1.5;
}
.mw-email-dialog label{
  display:block;font-size:13px;font-weight:600;color:var(--ink);margin-bottom:6px;
}
.mw-email-dialog input[type="text"],
.mw-email-dialog input[type="email"]{
  width:100%;padding:12px 14px;
  border:2px solid var(--line);border-radius:8px;
  font-size:15px;font-family:inherit;
  transition:border-color .2s;
  box-sizing:border-box;
  margin-bottom:10px;
}
.mw-email-dialog input[type="text"]:focus,
.mw-email-dialog input[type="email"]:focus{
  outline:none;border-color:var(--orange);
}
.mw-email-dialog .mw-email-error{
  color:#dc2626;font-size:13px;margin-top:6px;display:none;
}
.mw-email-dialog .btn-download-go{
  display:block;width:100%;margin-top:16px;
  background:var(--orange);color:#fff;
  border:none;border-radius:8px;padding:14px 20px;
  font-size:16px;font-weight:600;cursor:pointer;
  transition:background .2s;font-family:inherit;
  text-transform:uppercase;letter-spacing:.03em;
}
.mw-email-dialog .btn-download-go:hover{background:var(--orange-dark)}
.mw-email-dialog .btn-download-go:disabled{opacity:.6;cursor:wait}
.mw-email-dialog .mw-email-privacy{
  font-size:12px;color:var(--muted);margin:12px 0 0;
}
.mw-email-dialog .mw-email-actions{
  display:flex;gap:10px;margin-top:20px;
}
.mw-email-dialog .mw-email-submit{
  flex:1;background:var(--orange);color:#fff;
  border:none;border-radius:8px;padding:12px 20px;
  font-size:15px;font-weight:600;cursor:pointer;
  transition:background .2s;
  font-family:inherit;
}
.mw-email-dialog .mw-email-submit:hover{background:var(--orange-dark)}
.mw-email-dialog .mw-email-submit:disabled{opacity:.6;cursor:wait}
.mw-email-dialog .mw-email-cancel{
  background:transparent;color:var(--muted);
  border:2px solid var(--line);border-radius:8px;
  padding:12px 20px;font-size:15px;cursor:pointer;
  transition:border-color .2s,color .2s;
  font-family:inherit;
}
.mw-email-dialog .mw-email-cancel:hover{border-color:var(--muted);color:var(--ink)}

/* ===== TOAST NOTIFICATION ===== */
.mw-toast{
  position:fixed;bottom:30px;left:50%;transform:translateX(-50%);
  background:#1a1a1a;color:#fff;
  padding:14px 28px;border-radius:10px;
  font-size:14px;font-weight:500;
  box-shadow:0 8px 30px rgba(0,0,0,.2);
  z-index:100000;
  animation:mwToastIn .3s ease;
}
@keyframes mwToastIn{from{opacity:0;transform:translate(-50%,20px)}to{opacity:1;transform:translate(-50%,0)}}

/* ===== MOBIELE ACTIEKNOPPEN (download + showroom, zichtbaar op ≤900px) ===== */
.mw-shell .mw-mobile-actions{display:none}
@media (max-width:900px){
  .mw-shell .mw-mobile-actions{
    display:flex;flex-direction:column;gap:8px;margin-top:16px;
  }
  .mw-shell .mw-mobile-actions .btn-download{margin-top:0}
  .mw-shell .mw-mobile-actions .btn-showroom{margin-top:0}
}

/* ===== TERUG NAAR BOVEN KNOP ===== */
.mw-shell .mw-scroll-top{
  position:fixed;bottom:24px;right:24px;z-index:9999;
  width:40px;height:40px;border-radius:50%;border:1px solid var(--line);
  background:rgba(255,255,255,.85);color:var(--muted);
  font-size:18px;font-weight:600;line-height:1;
  cursor:pointer;box-shadow:0 1px 6px rgba(0,0,0,.1);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  transition:opacity .25s,transform .25s,background .15s,color .15s;
  opacity:0;transform:translateY(12px);pointer-events:none;
}
.mw-shell .mw-scroll-top.is-visible{opacity:1;transform:translateY(0);pointer-events:auto}
.mw-shell .mw-scroll-top:hover{background:#fff;color:var(--ink);border-color:#ccc}
@media (max-width:600px){
  .mw-shell .mw-scroll-top{bottom:16px;right:16px;width:36px;height:36px;font-size:16px}
}
