/* Mijn Van Hameren - verkoopgericht klantportaal dashboard, build 98.8.0 */
.customer-page:has(.customer-dashboard--sales) .customer-account-layout{display:block;max-width:none}
.customer-page:has(.customer-dashboard--sales) .customer-login-visual{display:none!important}
.customer-page:has(.customer-dashboard--sales) .customer-account-content{display:block;max-width:none}
.customer-page:has(.customer-dashboard--sales) .customer-account-content .customer-hero{display:none}
.customer-page:has(.customer-dashboard--sales) .customer-account-content .customer-app{max-width:none!important;margin:0!important}
.customer-page:has(.customer-dashboard--sales) .customer-main{max-width:1280px;padding-top:18px}

.customer-dashboard--sales{display:grid;gap:20px;position:relative}
.customer-dashboard--sales:before{content:"";position:absolute;right:-30px;top:72px;width:390px;height:285px;border-radius:30px;background:linear-gradient(90deg,rgba(245,250,252,.96),rgba(7,108,158,.18)),url('../img/customer-portal-workfloor.jpg') center/cover no-repeat;opacity:.42;filter:saturate(.82);pointer-events:none;z-index:0}
.customer-dashboard--sales>*{position:relative;z-index:1}

.customer-portal-nav{position:sticky;top:8px;z-index:20;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:7px;background:#004B87;border:1px solid rgba(255,255,255,.08);border-radius:18px;box-shadow:0 10px 28px rgba(12,54,76,.14)}
.customer-portal-nav button,.customer-portal-nav a{appearance:none;border:0;text-decoration:none;text-align:left;color:#fff;background:transparent;border-radius:12px;padding:10px 14px;cursor:pointer;min-height:58px;transition:background .15s ease,transform .15s ease}
.customer-portal-nav button:hover,.customer-portal-nav a:hover{background:rgba(255,255,255,.09);transform:translateY(-1px)}
.customer-portal-nav button.active{background:#006cae;box-shadow:0 6px 16px rgba(0,0,0,.12)}
.customer-portal-nav strong{display:block;font-size:.95rem;line-height:1.15}
.customer-portal-nav small{display:block;margin-top:4px;color:rgba(255,255,255,.73);font-size:.75rem}

.customer-welcome--sales{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;border:1px solid #d7e7ee;border-radius:22px;background:linear-gradient(105deg,rgba(255,255,255,.98),rgba(247,252,254,.92));box-shadow:0 16px 38px rgba(25,61,84,.08);overflow:hidden}
.customer-welcome-copy{max-width:720px}
.customer-welcome-copy h2{margin:7px 0 5px;font-size:clamp(1.75rem,3vw,2.45rem);line-height:1;letter-spacing:-.035em;color:#0b3149}
.customer-welcome-copy>p{margin:0;color:#567285;font-size:1rem}
.customer-welcome-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;margin-top:14px;font-size:.83rem;color:#526c7d}
.customer-welcome-meta>span:not(.customer-badge){padding:6px 9px;background:#f3f8fa;border:1px solid #dceaf0;border-radius:9px}
.customer-welcome-actions{display:flex;gap:10px;flex:0 0 auto}
.customer-welcome-actions .customer-button{min-width:145px}

.portal-priority-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:18px}
.portal-priority-card{margin:0!important;padding:20px!important;border-radius:20px!important;box-shadow:0 12px 30px rgba(18,55,77,.07)!important;border:1px solid #dce9ef!important;background:rgba(255,255,255,.97)!important;min-width:0}
.portal-section-head--compact{align-items:flex-start!important;margin-bottom:14px!important;gap:12px}
.portal-section-head--compact h2{font-size:1.28rem!important;margin:2px 0 3px!important}
.portal-section-head--compact p{margin:0!important;font-size:.87rem!important;color:#678091}
.portal-kicker{font-size:.68rem!important;letter-spacing:.12em!important;color:#004B87!important;font-weight:900!important}
.portal-text-action{appearance:none;border:0;background:transparent;color:#087db0;font-weight:800;font-size:.8rem;cursor:pointer;padding:6px 0;white-space:nowrap}

.portal-recent-orders{display:grid;gap:7px}
.portal-order-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto 18px;gap:12px;align-items:center;width:100%;appearance:none;border:1px solid #e2edf2;background:#fff;border-radius:12px;padding:11px 12px;text-align:left;cursor:pointer;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}
.portal-order-row:hover{transform:translateY(-1px);border-color:#b8d9e7;box-shadow:0 7px 18px rgba(23,72,99,.07)}
.portal-order-row>span:first-child strong,.portal-order-row>span:first-child small{display:block}
.portal-order-row>span:first-child strong{font-size:.9rem;color:#173f57}
.portal-order-row>span:first-child small{margin-top:3px;color:#758a98;font-size:.72rem}
.portal-order-row>strong{font-size:.86rem;color:#15394e;white-space:nowrap}
.portal-order-row>b{color:#004B87;font-size:1.25rem}

.order-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 8px;font-size:.7rem!important;font-weight:900!important;white-space:nowrap;background:#e9f4fb;color:#087baa}
.order-status.is-progress{background:#fff3db;color:#9a6500}
.order-status.is-done{background:#e7f7ed;color:#168044}
.order-status.is-transit{background:#e9efff;color:#355fc2}
.order-status.is-cancelled{background:#fdebea;color:#b13b33}

.portal-favorite-preview{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.portal-favorite-mini{display:grid;grid-template-columns:58px minmax(0,1fr) 14px;gap:9px;align-items:center;text-decoration:none;border:1px solid #e0ecf1;background:#fff;border-radius:13px;padding:8px;color:#12374d;min-width:0;transition:transform .14s ease,box-shadow .14s ease}
.portal-favorite-mini:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(23,72,99,.07)}
.portal-favorite-mini img{width:58px;height:58px;object-fit:cover;border-radius:9px;background:#f4f7f8}
.portal-favorite-mini span{min-width:0}
.portal-favorite-mini strong,.portal-favorite-mini small,.portal-favorite-mini em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-favorite-mini strong{font-size:.82rem}
.portal-favorite-mini small{font-size:.68rem;color:#718795;margin-top:3px}
.portal-favorite-mini em{font-style:normal;font-size:.67rem;color:#087baa;margin-top:5px;font-weight:800}
.portal-favorite-mini>b{font-size:1.15rem;color:#004B87}

.portal-empty--compact{padding:18px!important;min-height:150px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left!important;background:#f8fbfc!important;border:1px dashed #cbdfe8!important;border-radius:14px!important}
.portal-empty--compact h3{margin:0 0 5px;font-size:1rem;color:#173d54}
.portal-empty--compact p{margin:0 0 10px;font-size:.84rem;line-height:1.45;color:#6b8291}
.portal-empty--compact a{font-weight:900;color:#004B87;text-decoration:none}

.portal-quick-actions{margin:0!important;padding:18px 20px!important;border-radius:20px!important;border:1px solid #dce9ef!important;background:#fff!important;box-shadow:0 10px 28px rgba(18,55,77,.06)!important}
.portal-quick-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}
.portal-quick-grid a,.portal-quick-grid button{appearance:none;border:1px solid #dce9ef;background:linear-gradient(180deg,#fff,#f8fbfc);border-radius:13px;padding:12px;text-decoration:none;text-align:left;color:#143a51;cursor:pointer;min-height:84px;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}
.portal-quick-grid a:hover,.portal-quick-grid button:hover{transform:translateY(-2px);border-color:#b6d9e8;box-shadow:0 8px 20px rgba(19,67,94,.08)}
.portal-quick-grid span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#eaf6fb;color:#004B87;font-size:1rem;font-weight:900;margin-bottom:8px}
.portal-quick-grid strong,.portal-quick-grid small{display:block}
.portal-quick-grid strong{font-size:.82rem}
.portal-quick-grid small{font-size:.69rem;color:#778c99;margin-top:3px;line-height:1.3}

.customer-account-section--compact{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.customer-section-title{margin-bottom:10px}
.customer-section-title>span{font-size:.68rem;letter-spacing:.12em;color:#004B87;font-weight:900}
.customer-section-title h2{margin:2px 0 2px;font-size:1.35rem;color:#123a52}
.customer-section-title p{margin:0;color:#6b8291;font-size:.86rem}
.customer-details--compact{display:grid;grid-template-columns:1.15fr .85fr;gap:14px!important}
.customer-details--compact .customer-card{margin:0!important;padding:18px!important;border-radius:17px!important;box-shadow:0 9px 24px rgba(18,55,77,.05)!important}
.customer-details--compact h3{font-size:1rem!important;margin:0 0 12px!important}
.customer-info-card dl{margin:0}
.customer-info-card dl>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;padding:7px 0;border-bottom:1px solid #eaf0f3}
.customer-info-card dl>div:last-child{border-bottom:0}
.customer-info-card dt{color:#738995;font-size:.78rem}
.customer-info-card dd{margin:0;font-weight:800;color:#183e55;font-size:.8rem;overflow-wrap:anywhere}
.customer-agreements-card p{font-size:.84rem;line-height:1.5;color:#647c8b}
.portal-inline-link{font-size:.8rem;font-weight:900;color:#004B87;text-decoration:none}

.portal-main-section{scroll-margin-top:88px;margin:0!important;border-radius:20px!important;box-shadow:0 12px 30px rgba(18,55,77,.06)!important;border:1px solid #dce9ef!important}
.portal-main-section .portal-section-head{gap:14px}
.order-card{border-radius:14px!important}

@media(max-width:980px){
 .customer-dashboard--sales:before{display:none}
 .customer-portal-nav{position:static;grid-template-columns:repeat(5,minmax(135px,1fr));overflow-x:auto}
 .portal-priority-grid{grid-template-columns:1fr}
 .portal-quick-grid{grid-template-columns:repeat(3,1fr)}
 .customer-details--compact{grid-template-columns:1fr}
}
@media(max-width:700px){
 .customer-page:has(.customer-dashboard--sales) .customer-main{padding:10px 12px 30px}
 .customer-dashboard--sales{gap:14px}
 .customer-welcome--sales{align-items:flex-start;flex-direction:column;padding:19px}
 .customer-welcome-actions{width:100%}
 .customer-welcome-actions .customer-button{flex:1;min-width:0}
 .portal-favorite-preview{grid-template-columns:1fr}
 .portal-quick-grid{grid-template-columns:1fr 1fr}
 .portal-order-row{grid-template-columns:minmax(0,1fr) auto 16px}
 .portal-order-row>.order-status{grid-column:1/2;justify-self:start}
 .portal-order-row>strong{grid-column:2/3;grid-row:1/3}
 .portal-order-row>b{grid-column:3/4;grid-row:1/3}
 .portal-priority-card,.portal-quick-actions{padding:15px!important}
}
@media(max-width:430px){
 .customer-portal-nav{grid-template-columns:repeat(5,142px)}
 .portal-quick-grid{grid-template-columns:1fr}
 .customer-welcome-actions{flex-direction:column}
}

/* 98.8.1 - echte tabnavigatie + particulier/zakelijk scheiding */
.customer-dashboard--tabs{gap:16px}
.customer-dashboard--tabs .portal-view[hidden]{display:none!important}
.customer-dashboard--tabs .portal-view.active{display:grid;gap:18px;animation:portalViewIn .16s ease both}
@keyframes portalViewIn{from{opacity:.25;transform:translateY(3px)}to{opacity:1;transform:none}}
.customer-portal-nav--tabs{position:sticky;top:8px;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}
.customer-portal-nav--tabs button{display:block}
.customer-portal-nav--tabs button[aria-selected="true"]{background:#006cae;box-shadow:0 6px 16px rgba(0,0,0,.12)}
.customer-dashboard--tabs.is-private .customer-details--compact{grid-template-columns:minmax(0,760px)}
.customer-dashboard--tabs.is-private .customer-welcome-meta span:nth-child(n+3){display:none}
.customer-dashboard--tabs .portal-main-section{min-height:330px}
.customer-dashboard--tabs .portal-main-section,.customer-dashboard--tabs .customer-account-section--compact{scroll-margin-top:0}
.customer-dashboard--tabs [data-portal-view] h2[tabindex="-1"]:focus{outline:none}

@media(max-width:980px){
 .customer-portal-nav--tabs{grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}
 .customer-portal-nav--tabs button,.customer-portal-nav--tabs a{min-width:0;padding:10px 9px}
 .customer-portal-nav--tabs small{display:none}
}
@media(max-width:700px){
 .customer-portal-nav--tabs{position:static;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .customer-portal-nav--tabs>a{grid-column:1/-1;text-align:center;min-height:46px}
 .customer-portal-nav--tabs button{min-height:48px;text-align:center}
 .customer-portal-nav--tabs strong{font-size:.88rem}
 .customer-dashboard--tabs .portal-view.active{gap:14px}
}

/* 98.8.2 - favorieten als echte snelle bestelkaarten */
.wishlist-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.wishlist-product-card{display:grid;grid-template-columns:150px minmax(0,1fr);min-width:0;overflow:hidden;border:1px solid #dce9ef;border-radius:18px;background:#fff;box-shadow:0 9px 24px rgba(18,55,77,.06);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.wishlist-product-card:hover{transform:translateY(-2px);border-color:#badbe8;box-shadow:0 15px 32px rgba(18,55,77,.1)}
.wishlist-product-photo{display:block;min-height:210px;background:#f4f8fa;border-right:1px solid #e4edf1}
.wishlist-product-photo img{display:block;width:100%;height:100%;min-height:210px;object-fit:contain;padding:10px;background:#f8fbfc}
.wishlist-product-body{display:flex;flex-direction:column;min-width:0;padding:16px}
.wishlist-product-top{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:10px;align-items:start}
.wishlist-product-top>div{min-width:0}
.wishlist-product-top small{display:block;color:#698291;font-size:.72rem;font-weight:800}
.wishlist-product-top h3{margin:4px 0 5px!important;font-size:1rem!important;line-height:1.28!important;color:#113a52!important}
.wishlist-product-top h3 a{color:inherit;text-decoration:none;overflow-wrap:anywhere}
.wishlist-product-top h3 a:hover{color:#004B87}
.wishlist-variant{margin:0!important;color:#668090!important;font-size:.78rem!important;line-height:1.4!important;min-height:2.2em}
.wishlist-variant span{color:#8b9ba5;white-space:nowrap}
.wishlist-heart{appearance:none;border:1px solid #d7e7ee;background:#fff;color:#e34444;width:36px;height:36px;border-radius:50%;font-size:1.1rem;cursor:pointer;display:grid;place-items:center;box-shadow:0 5px 12px rgba(20,57,78,.06)}
.wishlist-heart:hover{background:#fff5f5;border-color:#efc6c6;transform:translateY(-1px)}
.wishlist-product-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:end;margin-top:13px;padding-top:12px;border-top:1px solid #edf3f5}
.wishlist-stock{font-size:.74rem;font-weight:900;color:#c55343}
.wishlist-stock.is-stock{color:#168649}
.wishlist-price{font-size:1.15rem;color:#0c344c;white-space:nowrap}
.wishlist-product-meta>small{grid-column:2;color:#7c909b;text-align:right;font-size:.68rem}
.wishlist-buy-row{display:grid;grid-template-columns:auto minmax(130px,1fr);gap:9px;margin-top:13px}
.wishlist-stepper{display:grid;grid-template-columns:34px 44px 34px;height:40px;border:1px solid #cfe0e8;border-radius:11px;overflow:hidden;background:#fff}
.wishlist-stepper button{appearance:none;border:0;background:#f5fafc;color:#0c6f99;font-size:1.05rem;font-weight:900;cursor:pointer}
.wishlist-stepper button:hover{background:#e9f6fb}
.wishlist-stepper input{width:100%;min-width:0;border:0;border-left:1px solid #dce9ef;border-right:1px solid #dce9ef;text-align:center;font-weight:900;color:#173c54;background:#fff;appearance:textfield;-moz-appearance:textfield}
.wishlist-stepper input::-webkit-outer-spin-button,.wishlist-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.wishlist-stepper input:focus{outline:2px solid #0798ce;outline-offset:-2px}
.wishlist-cart-button{appearance:none;border:0;border-radius:11px;background:linear-gradient(180deg,#006cae,#004B87);color:#fff;font-weight:900;padding:0 14px;cursor:pointer;box-shadow:0 7px 14px rgba(7,143,197,.17)}
.wishlist-cart-button:hover{filter:brightness(.97);transform:translateY(-1px)}
.wishlist-choose-size{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;padding:10px 11px;border-radius:11px;background:#f4f9fb;border:1px solid #dceaf0}
.wishlist-choose-size span{font-size:.75rem;color:#6d8492;font-weight:800}
.wishlist-choose-size a{font-size:.78rem;font-weight:900;color:#004B87;text-decoration:none;white-space:nowrap}
.wishlist-product-link{display:inline-block;margin-top:10px;color:#087fac;text-decoration:none;font-size:.76rem;font-weight:900;align-self:flex-start}
.wishlist-product-card.is-unresolved{border-style:dashed;background:#fbfcfd}
.wishlist-product-card.is-unresolved .wishlist-product-photo{opacity:.7}

.portal-favorite-preview--products{grid-template-columns:1fr!important;gap:10px}
.portal-favorite-preview--products .wishlist-product-card.is-preview{grid-template-columns:112px minmax(0,1fr);border-radius:15px;box-shadow:none}
.portal-favorite-preview--products .wishlist-product-card.is-preview:hover{box-shadow:0 8px 20px rgba(18,55,77,.07)}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-product-photo,.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-product-photo img{min-height:154px}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-product-body{padding:12px}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-product-top h3{font-size:.9rem!important;margin-top:2px!important}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-variant{font-size:.7rem!important;min-height:auto}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-product-meta{margin-top:8px;padding-top:8px}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-price{font-size:.98rem}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-stock{font-size:.67rem}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-product-meta>small{display:none}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-buy-row{grid-template-columns:auto 1fr;margin-top:9px;gap:7px}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-stepper{grid-template-columns:30px 38px 30px;height:36px}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-cart-button{font-size:.72rem;padding:0 10px}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-product-link{margin-top:7px;font-size:.7rem}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-heart{width:31px;height:31px;font-size:.95rem}
.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-choose-size{margin-top:9px;padding:8px 9px}

@media(max-width:1050px){.wishlist-product-grid{grid-template-columns:1fr}}
@media(max-width:700px){
 .wishlist-product-card,.portal-favorite-preview--products .wishlist-product-card.is-preview{grid-template-columns:118px minmax(0,1fr)}
 .wishlist-product-photo,.wishlist-product-photo img,.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-product-photo,.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-product-photo img{min-height:170px}
 .wishlist-product-body{padding:13px}
 .wishlist-buy-row{grid-template-columns:1fr}
 .wishlist-stepper{width:112px}
 .wishlist-cart-button{min-height:42px}
}
@media(max-width:480px){
 .wishlist-product-card,.portal-favorite-preview--products .wishlist-product-card.is-preview{grid-template-columns:1fr}
 .wishlist-product-photo,.wishlist-product-photo img,.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-product-photo,.portal-favorite-preview--products .wishlist-product-card.is-preview .wishlist-product-photo img{min-height:210px;max-height:260px;border-right:0;border-bottom:1px solid #e4edf1}
 .wishlist-product-top h3{font-size:1rem!important}
 .wishlist-buy-row{grid-template-columns:auto minmax(120px,1fr)}
}


/* 102.0.0-RC3 - RAL 5016 screen approximation + quiet separators */
.customer-page{background:#f6f8fa}
.customer-header{background:#004B87!important;border-bottom:1px solid #d9dee3!important;box-shadow:none!important}
.customer-header .container{border-bottom:0!important}
.customer-brand,.customer-back{color:#fff!important}
.customer-portal-nav{background:#004B87;border:1px solid #d9dee3;box-shadow:none}
.customer-portal-nav button.active,.customer-portal-nav--tabs button[aria-selected="true"]{background:#006cae}
.customer-account-card,.customer-card,.customer-panel,.customer-hero{border-color:#d9dee3!important;box-shadow:none!important}
.customer-footer{border-top:1px solid #d9dee3}
