html{
  width:100%;
  margin:0;
}

body{
margin:0;
width:100%;
font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;
/* background:#f3f4f6; */
background:#ffffff;
--ik-content-max:1440px;
--ik-content-pad:clamp(12px, 3vw, 30px);
--ik-header-height:86px;
--ik-header-search-height:38px;
--ik-header-search-bg:rgba(255,255,255,0.12);
--ik-header-search-border:rgba(255,255,255,0.18);
/* Mockup-knoppen: donkerder effen paars */
--ik-primary:#4A2DB8;
--ik-primary-hover:#4226a6;
--ik-primary-pressed:#3a2194;
--ik-primary-grad:#4A2DB8;
--ik-primary-shadow:0 4px 14px rgba(74,45,184,0.34);
--ik-primary-shadow-hover:0 6px 18px rgba(74,45,184,0.42);
--ik-primary-shadow-active:0 2px 8px rgba(74,45,184,0.28);
}

html {
  font-size: 16px;
}

.visually-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

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

/* HEADER — volledige schermbreedte (mockup) */

.ikash-desktop-shell{
  width:100%;
  max-width:none;
}

.ikash-header{
  width:100%;
  background:#23223B;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
  position:sticky;
  top:0;
  z-index:100;
  display:flex;
  align-items:center;
  min-height:var(--ik-header-height);
}

.header-container{
  /* Zelfde contentkolom als hero (.city-banner-inner) */
  width:min(var(--ik-content-max), calc(100% - 2 * var(--ik-content-pad)));
  max-width:var(--ik-content-max);
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0;
  gap:16px;
  flex-wrap:wrap;
  box-sizing:border-box;
  flex:1 1 auto;
  min-height:var(--ik-header-height);
}

.logo{
  display:flex;
  align-items:center;
  align-self:center;
  flex-shrink:0;
  line-height:0;
  /* Zelfde linkse inset als .city-text */
  padding-left:4px;
}

.header-search-wrap{
  position:relative;
  flex:1 1 220px;
  max-width:min(440px, 100%);
  min-width:0;
  display:flex;
  align-items:center;
  align-self:center;
  gap:10px;
  box-sizing:border-box;
  height:var(--ik-header-search-height);
  min-height:var(--ik-header-search-height);
  padding:0 16px;
  margin-top:2px;
  margin-bottom:auto;
  margin-left:20px;
  border-radius:12px;
  background:var(--ik-header-search-bg);
  border:1px solid var(--ik-header-search-border);
}

@media (min-width:901px){
  .ikash-header{
    height:var(--ik-header-height);
  }

  .header-container{
    display:grid;
    grid-template-columns:auto minmax(200px, 380px) 1fr auto auto;
    grid-template-rows:1fr;
    align-items:center;
    align-content:center;
    height:var(--ik-header-height);
    min-height:var(--ik-header-height);
    column-gap:20px;
    row-gap:0;
    flex-wrap:nowrap;
  }

  .logo{
    grid-column:1;
    grid-row:1;
    align-self:center;
    display:flex;
    align-items:center;
  }

  .header-search-wrap{
    grid-column:2;
    grid-row:1;
    max-width:380px;
    flex:none;
    width:100%;
    height:var(--ik-header-search-height);
    min-height:var(--ik-header-search-height);
    place-self:center start;
    margin:2px 0 0 20px;
  }

  .menu,
  .header-buttons-desktop{
    grid-row:1;
    align-self:center;
  }

  .hamburger{
    display:none !important;
  }

  .menu{
    grid-column:4;
    display:flex !important;
    position:static !important;
    width:auto !important;
    background:transparent !important;
    padding:0 !important;
    flex-direction:row !important;
    transform:none !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
  }

  .header-buttons-desktop{
    grid-column:5;
    display:flex !important;
    justify-self:end;
  }

  .menu-links{
    gap:18px;
    flex-wrap:nowrap;
  }

  .menu a{
    font-size:14px;
    white-space:nowrap;
  }
}

.header-search-icon{
  color:rgba(255,255,255,0.75);
  font-size:15px;
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1em;
  height:1em;
  line-height:1;
}

.header-search-input{
  flex:1;
  min-width:0;
  margin:0;
  padding:0;
  border:none;
  outline:none;
  background:transparent;
  color:#fff;
  font:inherit;
  font-size:15px;
  font-weight:500;
  line-height:1.2;
  height:auto;
  appearance:none;
  -webkit-appearance:none;
}

.header-search-input::-webkit-search-decoration,
.header-search-input::-webkit-search-cancel-button{
  -webkit-appearance:none;
  appearance:none;
}

.header-search-input::placeholder{
  color:rgba(255,255,255,0.55);
}

.header-search-input:focus{
  outline:none;
}

.header-search-wrap:focus-within{
  border-color:rgba(255,255,255,0.35);
  box-shadow:0 0 0 3px rgba(255,255,255,0.08);
}

.logo img{
  height:38px;
  width:auto;
  max-width:100%;
  display:block;
}

.menu{
display:flex;
gap:30px;
flex-wrap:wrap;
justify-content:center;
}

.menu-links{
  display:flex;
  align-items:center;
  gap:34px;
  flex-wrap:wrap;
}

.menu a{
text-decoration:none;
color:#FFFFFF;
font-weight:500;
}

.ikash-header .menu .menu-links #nav-steden{
  cursor:pointer !important;
  pointer-events:auto !important;
  position:relative;
  z-index:3;
}

/* Geen deals in categorie: modal styling */
.ikash-empty-category-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:13000;
}

.ikash-empty-category-modal.active{
  display:block;
}

.ikash-empty-category-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,0.56);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}

.ikash-empty-category-dialog{
  position:relative;
  width:min(520px, 92vw);
  margin:clamp(24px, 8vh, 72px) auto 0;
  border-radius:18px;
  background:linear-gradient(to bottom, rgba(255,255,255,0.99), rgba(255,255,255,0.96));
  border:1px solid rgba(255,255,255,0.7);
  box-shadow:0 30px 90px rgba(0,0,0,0.32);
  padding:18px 20px 18px;
  color:#1f2937;
  text-align:left;
}

.ikash-empty-category-dialog h2{
  margin:0 0 8px;
  font-size:22px;
  font-weight:800;
  color:#23223B;
  letter-spacing:-0.01em;
}

.ikash-empty-category-text{
  margin:0 0 14px;
  font-size:15px;
  line-height:1.45;
  color:#475569;
}

.ikash-empty-category-btn{
  min-height:42px;
  padding:0 18px;
  border:none;
  border-radius:12px;
  background:var(--ik-primary-grad);
  box-shadow:var(--ik-primary-shadow);
  color:#fff;
  font:inherit;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

.ikash-empty-category-btn:hover{
  box-shadow:var(--ik-primary-shadow-hover);
  transform:translateY(-1px);
}

.header-buttons{
  display:flex;
  gap:12px;
  align-items:center;
}

.ikash-auth-guest{
  display:inline-flex;
  align-items:center;
  gap:12px;
}

.ikash-auth-guest[hidden]{
  display:none !important;
}

.ikash-user-menu{
  position:relative;
}

/* Account-knop — compact, achtergrond uitgelijnd met naam */
.ikash-user-menu-trigger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:0;
  height:auto;
  padding:6px 14px;
  border-radius:8px;
  border:none;
  background:var(--ik-primary-grad);
  box-shadow:var(--ik-primary-shadow);
  color:#fff;
  font:inherit;
  font-size:14px;
  font-weight:700;
  line-height:1.2;
  cursor:pointer;
  transition:filter .15s ease, box-shadow .15s ease;
}

.ikash-user-menu-trigger:hover{
  background:var(--ik-primary-hover);
  box-shadow:var(--ik-primary-shadow-hover);
}

.ikash-user-menu-trigger:active{
  background:var(--ik-primary-pressed);
  box-shadow:var(--ik-primary-shadow-active);
}

.ikash-header-user-name{
  display:block;
  max-width:200px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  line-height:1.2;
  padding:0;
  margin:0;
}

.ikash-user-chevron{
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  line-height:1;
  opacity:0.9;
  transition:transform .2s ease;
}

.ikash-user-menu-trigger[aria-expanded="true"] .ikash-user-chevron{
  transform:rotate(180deg);
}

.ikash-user-menu-dropdown{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  min-width:220px;
  padding:8px 0;
  border-radius:12px;
  background:#fff;
  border:1px solid rgba(35,34,59,0.1);
  box-shadow:0 16px 40px rgba(0,0,0,0.2);
  z-index:120;
}

.ikash-user-menu-dropdown[hidden]{
  display:none !important;
}

.ikash-user-menu-item{
  display:block;
  width:100%;
  padding:10px 14px;
  border:none;
  background:none;
  color:#23223B;
  text-decoration:none;
  text-align:left;
  font:inherit;
  font-size:14px;
  cursor:pointer;
}

.ikash-user-menu-item:hover{
  background:rgba(79,70,229,0.08);
}

/* Plaatsen-popover: standaard verborgen (anders toont de lijst als plain text bovenaan). */
.steden-popover{
  position:fixed;
  inset:0;
  display:none;
  align-items:flex-start;
  justify-content:center;
  padding:84px 16px 16px;
  background:rgba(15,23,42,0.42);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  z-index:12000;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}

.steden-popover.active{
  display:flex;
  opacity:1;
  pointer-events:auto;
}

.steden-dialog{
  width:min(620px, 96vw);
  max-height:min(76vh, 780px);
  overflow:auto;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.58);
  background:linear-gradient(to bottom, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
  box-shadow:0 30px 90px rgba(15,23,42,0.36);
}

.steden-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px;
  border-bottom:1px solid rgba(35,34,59,0.1);
}

.steden-header h3{
  margin:0;
  font-size:16px;
  font-weight:800;
  color:#23223B;
}

.steden-close{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(35,34,59,0.12);
  background:#fff;
  color:#23223B;
  cursor:pointer;
  font:inherit;
  font-size:18px;
  line-height:1;
}

.steden-list{
  padding:12px 14px 16px;
}

.steden-divider{
  height:1px;
  margin:6px 2px 10px;
  background:rgba(35,34,59,0.1);
}

.steden-cities-scroll{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(150px, 1fr));
  gap:10px;
  max-height:min(52vh, 540px);
  overflow:auto;
  padding-right:2px;
}

.steden-search-wrap{
  margin:0 0 10px;
}

.steden-search-input{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(35,34,59,0.16);
  border-radius:10px;
  padding:10px 12px;
  font:inherit;
  font-size:14px;
  color:#23223B;
  background:#fff;
}

.steden-search-input:focus{
  outline:none;
  border-color:rgba(79,70,229,0.45);
  box-shadow:0 0 0 2px rgba(79,70,229,0.16);
}

.steden-item{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:2px;
  min-height:38px;
  border-radius:10px;
  border:1px solid rgba(35,34,59,0.14);
  background:#fff;
  color:#23223B;
  font-size:14px;
  font-weight:700;
  padding:8px 10px;
  cursor:pointer;
  user-select:none;
}

.steden-item-label{
  line-height:1.2;
}

.steden-item-sub{
  font-size:11px;
  font-weight:600;
  color:rgba(35,34,59,0.58);
  line-height:1.2;
}

.steden-empty{
  grid-column:1 / -1;
  padding:12px 4px;
  color:rgba(35,34,59,0.62);
  font-size:13px;
}

.steden-item:hover{
  border-color:rgba(79,70,229,0.45);
  background:rgba(99,102,241,0.06);
}

.steden-item.active{
  border-color:#4f46e5;
  box-shadow:0 0 0 2px rgba(79,70,229,0.22);
  color:#3730a3;
}

/* Steden als echte dropdown onder menu-item (geen fullscreen popup) */
.steden-popover.is-dropdown{
  position:fixed;
  inset:0;
  display:block;
  padding:0;
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  opacity:1;
  pointer-events:none;
  z-index:20000;
}

.steden-popover.is-dropdown .steden-dialog{
  position:fixed;
  pointer-events:auto;
  max-height:min(62vh, 620px);
  border-radius:14px;
  border:1px solid rgba(79,70,229,0.18);
  box-shadow:0 18px 44px rgba(15,23,42,0.24);
  z-index:20001;
}

.steden-popover.is-dropdown .steden-header{
  display:none;
}

.steden-popover.is-dropdown .steden-list{
  padding:10px;
}

.steden-popover.is-dropdown .steden-divider{
  display:none;
}

.steden-popover.is-dropdown .steden-cities-scroll{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  display:grid;
  max-height:420px;
  overflow-y:auto;
  overflow-x:hidden;
  gap:8px;
  padding-right:4px;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

.menu a:focus-visible,
.hamburger:focus-visible{
  outline:3px solid #BC6900;
  outline-offset:3px;
}

/* AUTH MODALS — gelijk aan ondernemersportaal (public/css/styles); kaart ~1/3 vanaf bovenkant scherm */
.auth-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:10000;
}

/* Boven checkout (200200) en deal-detail (200100) — o.a. na «Betalen» */
#ikash-message-modal.auth-modal{
  z-index:200300;
}

/* Alleen auth-popups (niet o.a. mobiel-deal-modal): ~1/3 vanaf boven */
.auth-modal.active{
  display:block;
}

#login-modal.auth-modal.active,
#signup-modal.auth-modal.active,
#forgot-password-modal.auth-modal.active,
#ikash-message-modal.auth-modal.active{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding-top:max(33vh, env(safe-area-inset-top, 0px));
  padding-bottom:max(24px, env(safe-area-inset-bottom, 0px));
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  box-sizing:border-box;
}

#ikash-message-modal .ikash-msg-actions{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  gap:10px;
  width:100%;
  box-sizing:border-box;
}

#ikash-message-modal .ikash-msg-actions .auth-submit{
  flex:1 1 140px;
  margin-top:0;
  min-width:0;
}

#ikash-message-modal .ikash-msg-actions--single .auth-submit{
  flex:1 1 100%;
  width:100%;
}

#ikash-message-modal .auth-submit--secondary{
  background:#f1f5f9;
  color:#334155;
  box-shadow:0 2px 10px rgba(15,23,42,0.08);
}

#ikash-message-modal .auth-submit--secondary:hover{
  filter:brightness(0.98);
  box-shadow:0 4px 14px rgba(15,23,42,0.1);
  transform:translateY(-1px);
}

#ikash-message-modal .auth-submit--danger{
  background:linear-gradient(135deg, #ef4444 0%, #dc2626 55%, #b91c1c 100%);
  box-shadow:0 14px 30px rgba(220,38,38,0.28);
}

#ikash-message-modal .auth-submit--danger:hover{
  box-shadow:0 18px 38px rgba(220,38,38,0.34);
  filter:saturate(1.05);
}

#ikash-message-modal .auth-submit--danger:active{
  box-shadow:0 10px 22px rgba(220,38,38,0.22);
}

#ikash-message-modal.ikash-msg-modal--danger .auth-dialog{
  border-top:4px solid #dc2626;
  box-shadow:0 30px 90px rgba(185,28,28,0.18);
}

#ikash-message-modal.ikash-msg-modal--danger .auth-title{
  color:#991b1b;
}

#ikash-message-modal .ikash-msg-danger-badge{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 12px;
  padding:10px 12px;
  border-radius:12px;
  background:#fef2f2;
  border:1px solid rgba(220,38,38,0.22);
  color:#b91c1c;
  font-size:13px;
  font-weight:700;
  line-height:1.35;
}

#ikash-message-modal .ikash-msg-danger-badge[hidden]{
  display:none !important;
}

#ikash-message-modal .ikash-msg-danger-badge i{
  font-size:16px;
  flex:0 0 auto;
}

#ikash-message-modal.ikash-msg-modal--danger .ikash-msg-body{
  color:#7f1d1d;
}

.auth-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15, 23, 42, 0.62);
  backdrop-filter:blur(8px);
}

.auth-dialog{
  position:relative;
  width:min(520px, 92vw);
  max-height:90vh;
  overflow:auto;
  overflow-x:hidden;
  margin:0 auto;
  flex-shrink:0;
  border-radius:18px;
  background:linear-gradient(to bottom, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
  box-shadow:0 30px 90px rgba(0,0,0,0.35);
  border:1px solid rgba(255,255,255,0.65);
  box-sizing:border-box;
}

/* Zelfde indigo-accent als ondernemer */
.auth-dialog::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(800px 260px at 20% 0%, rgba(99,102,241,0.16), transparent 60%),
    radial-gradient(700px 240px at 90% 10%, rgba(35,34,59,0.20), transparent 55%);
}

.auth-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:2;
  color:#23223B;
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.08);
  background:rgba(255,255,255,0.85);
  cursor:pointer;
  font-size:18px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  box-sizing:border-box;
}

.auth-close:hover{
  background:#fff;
}

.auth-close:focus-visible{
  outline:2px solid rgba(99,102,241,0.5);
  outline-offset:2px;
}

.auth-banner{
  background:#23223B;
  border-radius:18px 18px 0 0;
  padding:20px 20px;
  text-align:center;
  flex-shrink:0;
  position:relative;
  z-index:1;
}

.auth-banner .auth-logo-link{
  display:inline-block;
  text-decoration:none;
}

.auth-banner .auth-logo{
  height:28px;
  width:auto;
  max-width:min(160px, 55vw);
  display:block;
  margin:0 auto;
  opacity:0.95;
  object-fit:contain;
}

.auth-header{
  position:relative;
  padding:16px 20px 10px;
  text-align:center;
  z-index:1;
}

.auth-title{
  margin:0;
  font-size:24px;
  color:#23223B;
  letter-spacing:0.2px;
}

.auth-subtitle{
  margin:8px 0 0;
  color:#5b5b6c;
  font-size:14px;
  line-height:1.35;
}

.auth-verification-banner{
  margin:12px 22px 0;
  padding:14px 16px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(16,185,129,0.12), rgba(79,70,229,0.08));
  border:1px solid rgba(16,185,129,0.35);
  text-align:left;
}
.auth-verification-banner-kicker{
  margin:0 0 6px;
  font-size:13px;
  font-weight:700;
  color:#047857;
  text-transform:uppercase;
  letter-spacing:0.04em;
}
.auth-verification-banner-text{
  margin:0;
  font-size:15px;
  line-height:1.5;
  color:#0f172a;
}
.auth-verification-banner-hint{
  margin:10px 0 0;
  font-size:12px;
  line-height:1.45;
  color:#64748b;
}

.auth-inline-error[role="alert"]{
  margin:0;
  font-size:14px;
  line-height:1.45;
  color:#b91c1c;
  font-weight:600;
}

.auth-modal form.auth-form,
.auth-standalone form.auth-form{
  display:flex;
  flex-direction:column;
  gap:12px;
  width:100%;
  max-width:none;
  margin:0;
  box-sizing:border-box;
}

.auth-form{
  position:relative;
  padding:14px 20px 22px;
  z-index:1;
}

.auth-form--session-notice{
  padding-top:6px;
  padding-bottom:24px;
}

.auth-form--session-notice .auth-submit{
  width:100%;
}

.auth-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.auth-field{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
  max-width:100%;
}

.auth-field > span{
  font-size:13px;
  font-weight:600;
  color:#2c2a45;
}

.auth-modal .auth-field > input,
.auth-standalone .auth-field > input{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(35,34,59,0.14);
  background:rgba(255,255,255,0.9);
  font-size:14px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
  box-sizing:border-box;
  color:#0f172a;
}

.auth-modal .auth-field > input::placeholder,
.auth-standalone .auth-field > input::placeholder{
  color:#94a3b8;
}

.auth-modal .auth-field > input:focus,
.auth-standalone .auth-field > input:focus{
  border-color:rgba(99,102,241,0.65);
  box-shadow:0 0 0 4px rgba(99,102,241,0.18);
  background:#fff;
}

.auth-password{
  display:flex;
  align-items:stretch;
  gap:8px;
  width:100%;
  max-width:100%;
  min-width:0;
}

.auth-password > input{
  flex:1;
  min-width:0;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(35,34,59,0.14);
  background:rgba(255,255,255,0.9);
  font-size:14px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
  box-sizing:border-box;
  color:#0f172a;
}

.auth-password > input::placeholder{
  color:#94a3b8;
}

.auth-password > input:focus{
  border-color:rgba(99,102,241,0.65);
  box-shadow:0 0 0 4px rgba(99,102,241,0.18);
  background:#fff;
}

.auth-eye{
  width:44px;
  flex-shrink:0;
  border-radius:12px;
  border:1px solid rgba(35,34,59,0.14);
  background:rgba(255,255,255,0.9);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#2c2a45;
  padding:0;
  box-sizing:border-box;
}

.auth-eye:hover{
  background:#fff;
}

.auth-eye:focus-visible{
  outline:2px solid rgba(99,102,241,0.45);
  outline-offset:2px;
}

.auth-eye-icons{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}

.auth-eye .auth-eye-svg{
  display:block;
}

.auth-eye .auth-eye-svg[hidden]{
  display:none;
}

.auth-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:2px;
  width:100%;
  max-width:100%;
  min-width:0;
}

.auth-check{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:#444;
  user-select:none;
}

.auth-check input{
  width:16px;
  height:16px;
  accent-color:#6366f1;
}

.auth-check-terms{
  margin-top:2px;
}

.auth-link{
  color:#4f46e5;
  font-weight:700;
  text-decoration:none;
  font-size:13px;
}

.auth-link:hover{
  text-decoration:underline;
}

.auth-submit{
  margin-top:6px;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:13px 16px;
  border:none;
  border-radius:12px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  color:#fff;
  background:var(--ik-primary-grad);
  box-shadow:0 14px 30px rgba(67,56,202,0.26);
  transition:transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.auth-submit:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 38px rgba(67,56,202,0.32);
  filter:saturate(1.05);
}

.auth-submit:active{
  transform:translateY(0);
  box-shadow:0 10px 22px rgba(67,56,202,0.22);
}

.auth-footer{
  margin-top:2px;
  text-align:center;
  font-size:13px;
  color:#555;
}

.auth-footer .auth-link{
  font-size:inherit;
}

/* Zelfstandige pagina’s (reset / wachtwoord vergeten), zelfde kaart als modals */
.auth-standalone{
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding-top:max(33vh, env(safe-area-inset-top, 0px));
  padding-left:16px;
  padding-right:16px;
  padding-bottom:max(24px, env(safe-area-inset-bottom, 0px));
  box-sizing:border-box;
  background:linear-gradient(165deg, #eef2ff 0%, #e8e9f0 45%, #e0e7ff 100%);
}

.auth-standalone .auth-dialog{
  width:min(520px, 92vw);
  max-height:none;
}

@media (max-width:520px){
  .auth-grid{
    grid-template-columns:1fr;
  }
}

/* CHECKOUT MODAL */

.checkout-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:200200;
}

.checkout-modal.active{
  display:block;
}

.checkout-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(8px);
}

.checkout-dialog{
  position:relative;
  width:min(720px, 94vw);
  max-height:90vh;
  overflow:auto;
  margin:clamp(14px, 6vh, 56px) auto;
  border-radius:18px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
  box-shadow:0 30px 90px rgba(0,0,0,0.35);
  border:1px solid rgba(255,255,255,0.65);
}

.checkout-dialog::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  pointer-events:none;
  background:
    radial-gradient(900px 280px at 20% 0%, rgba(188,105,0,0.18), transparent 60%),
    radial-gradient(900px 280px at 90% 10%, rgba(35,34,59,0.20), transparent 55%);
}

.checkout-close{
  position:absolute;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.08);
  background:rgba(255,255,255,0.85);
  color:#23223B;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  z-index:2;
}

.checkout-close:hover{
  background:white;
}

.checkout-banner{
  background:#23223B;
  border-radius:18px 18px 0 0;
  padding:20px 22px;
  text-align:center;
  flex-shrink:0;
}
.checkout-banner .checkout-logo{
  height:28px;
  width:auto;
  display:block;
  margin:0 auto;
  opacity:0.95;
}

.checkout-header{
  position:relative;
  padding:16px 22px 10px;
  text-align:center;
  z-index:1;
}

.checkout-title{
  margin:0;
  font-size:24px;
  color:#23223B;
  letter-spacing:0.2px;
}

.checkout-subtitle{
  margin:8px 0 0;
  color:#5b5b6c;
  font-size:14px;
  line-height:1.35;
}

.checkout-body{
  position:relative;
  padding:14px 22px 22px;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap:16px;
  z-index:1;
}

.checkout-card{
  border-radius:16px;
  border:1px solid rgba(35,34,59,0.10);
  background:rgba(255,255,255,0.92);
  box-shadow:0 12px 28px rgba(0,0,0,0.06);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.checkout-item{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}

.checkout-item-title{
  font-weight:800;
  color:#23223B;
  font-size:16px;
  line-height:1.25;
}

.checkout-item-meta{
  margin-top:6px;
  color:#6a6a78;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.checkout-dot{
  opacity:0.65;
}

.checkout-item-price{
  text-align:right;
  flex-shrink:0;
}

.checkout-price-now{
  font-size:20px;
  font-weight:900;
  color:#16a34a;
}

.checkout-price-old{
  margin-top:4px;
  font-size:13px;
  color:#888;
  text-decoration:line-through;
}

.checkout-summary{
  border-top:1px solid rgba(35,34,59,0.10);
  padding-top:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.checkout-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#333;
  font-size:14px;
}

.checkout-total{
  padding-top:8px;
  border-top:1px dashed rgba(35,34,59,0.18);
  font-size:15px;
}

.checkout-total strong{
  color:#23223B;
  font-size:16px;
}

.checkout-form{
  border-radius:16px;
  border:1px solid rgba(35,34,59,0.10);
  background:rgba(255,255,255,0.92);
  box-shadow:0 12px 28px rgba(0,0,0,0.06);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.checkout-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.checkout-field{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.checkout-field > span{
  font-size:13px;
  font-weight:700;
  color:#2c2a45;
}

.checkout-field input,
.checkout-field select{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(35,34,59,0.14);
  background:rgba(255,255,255,0.9);
  font-size:14px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.checkout-field input:focus,
.checkout-field select:focus{
  border-color:rgba(188,105,0,0.65);
  box-shadow:0 0 0 4px rgba(188,105,0,0.18);
  background:white;
}

.checkout-note{
  font-size:12px;
  color:#6a6a78;
  line-height:1.35;
  border-left:4px solid rgba(188,105,0,0.65);
  padding-left:10px;
}

.checkout-pay{
  margin-top:4px;
  width:100%;
  padding:13px 16px;
  border:none;
  border-radius:12px;
  font-weight:900;
  font-size:15px;
  cursor:pointer;
  color:white;
  background:var(--ik-primary-grad);
  box-shadow:var(--ik-primary-shadow);
  transition:transform .15s ease, box-shadow .2s ease, filter .2s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.checkout-pay-amount{
  background:rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.22);
  padding:4px 10px;
  border-radius:999px;
  font-weight:900;
}

.checkout-pay:hover{
  transform:translateY(-1px);
  background:var(--ik-primary-hover);
  box-shadow:var(--ik-primary-shadow-hover);
}

.checkout-pay:active{
  transform:translateY(0);
  background:var(--ik-primary-pressed);
  box-shadow:var(--ik-primary-shadow-active);
}

.checkout-footer{
  margin-top:2px;
  text-align:center;
  font-size:12px;
  color:#6a6a78;
}

.checkout-link{
  color:#BC6900;
  font-weight:800;
  text-decoration:none;
}

.checkout-link:hover{
  text-decoration:underline;
}

@media (max-width:760px){
  .checkout-body{
    grid-template-columns:1fr;
  }
  .checkout-grid{
    grid-template-columns:1fr;
  }
}

.signup{
  background:var(--ik-primary-grad);
  border:none;
  color:#fff;
  padding:9px 16px;
  border-radius:10px;
  min-height:42px;
  box-shadow:var(--ik-primary-shadow);
  font-weight:700;
}

.signup:hover{
  background:var(--ik-primary-hover);
  box-shadow:var(--ik-primary-shadow-hover);
}

.signup:active{
  background:var(--ik-primary-pressed);
  box-shadow:var(--ik-primary-shadow-active);
}

.login{
  background:transparent;
  border:1px solid rgba(255,255,255,0.35);
  color:#fff;
  padding:8px 14px;
  border-radius:10px;
  min-width:0;
  box-shadow:none;
  font-weight:600;
}

.login:hover{
  background:rgba(255,255,255,0.1);
}

/* CITY BANNER — volle breedte, hero links (mockup) */

.city-banner{
  position:relative;
  width:100%;
  min-height:clamp(260px, 34vh, 360px);
  max-height:380px;
  overflow:visible;
  margin-bottom:52px;
}

/* Hero-inhoud:zelfde kolombreedte als sort-balk / grid */
.city-banner-inner{
  position:absolute;
  z-index:2;
  inset:0;
  left:50%;
  transform:translateX(-50%);
  width:min(var(--ik-content-max), calc(100% - 2 * var(--ik-content-pad)));
  max-width:var(--ik-content-max);
  pointer-events:none;
}

.city-banner-inner > *{
  pointer-events:auto;
}

/* Hero-overlay: bestaande fade + extra zwart links (tot ~1/3) voor tekst */
.city-banner::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.5) 0%,
      rgba(0,0,0,0.32) 14%,
      rgba(0,0,0,0.1) 24%,
      rgba(0,0,0,0) 33.33%
    ),
    linear-gradient(
      90deg,
      rgba(15,23,42,0.72) 0%,
      rgba(15,23,42,0.45) 42%,
      rgba(15,23,42,0.2) 100%
    );
}

/* SORT BAR — resultaten + sortering in één balk */
.sort-bar{
  box-sizing:border-box;
  max-width:var(--ik-content-max);
  width:min(var(--ik-content-max), calc(100% - 2 * var(--ik-content-pad)));
  margin:44px auto 0;
  padding:10px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px 16px;
  flex-wrap:wrap;
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
}

.sort-results-summary{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  min-width:0;
  flex:1 1 200px;
  flex-wrap:wrap;
  font-size:14px;
  font-weight:600;
  line-height:1.35;
  color:#23223B;
}

.sort-results-icon{
  flex-shrink:0;
  font-size:14px;
  color:#64748b;
}

.sort-results-text{
  min-width:0;
}

.sort-search-hint{
  flex:1 1 100%;
  margin:2px 0 0;
  padding-left:22px;
  font-size:13px;
  font-weight:500;
  line-height:1.35;
  color:#64748b;
}

.sort-search-hint a.sort-search-hint-suggest,
.sort-search-hint a.sort-search-hint-dismiss{
  display:inline;
  margin:0;
  padding:0;
  border:none;
  background:none;
  font:inherit;
  line-height:inherit;
  cursor:pointer;
  vertical-align:baseline;
  -webkit-tap-highlight-color:transparent;
}

.sort-search-hint a.sort-search-hint-suggest{
  font-weight:600;
  color:var(--ik-primary, #4A2DB8);
  text-decoration:underline;
  text-decoration-color:currentColor;
  text-underline-offset:3px;
  text-decoration-thickness:1px;
}

.sort-search-hint a.sort-search-hint-suggest:hover,
.sort-search-hint a.sort-search-hint-suggest:focus-visible{
  color:var(--ik-primary-hover, #4226a6);
}

.sort-search-hint a.sort-search-hint-dismiss{
  margin-left:10px;
  font-size:12px;
  font-weight:500;
  color:#64748b;
  text-decoration:underline;
  text-underline-offset:2px;
}

.sort-search-hint a.sort-search-hint-dismiss:hover,
.sort-search-hint a.sort-search-hint-dismiss:focus-visible{
  color:#475569;
}

.sort-search-hint[hidden]{
  display:none !important;
}

.sort-bar-controls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:0 0 auto;
}

.sort-label{
  font-weight:700;
  color:#475569;
  font-size:14px;
  white-space:nowrap;
}

.sort-select{
  border-radius:10px;
  border:1px solid rgba(35,34,59,0.14);
  background:#fff;
  padding:8px 32px 8px 12px;
  font-weight:700;
  font-size:14px;
  color:#23223B;
  outline:none;
  min-width:9.5rem;
  cursor:pointer;
}

.sort-select:focus{
  box-shadow:0 0 0 4px rgba(99,102,241,0.2);
  border-color:rgba(99,102,241,0.55);
}

.sort-view-toggle{
  display:flex;
  align-items:center;
  gap:4px;
  margin-left:4px;
}

.sort-view-btn{
  width:36px;
  height:36px;
  padding:0;
  border:1px solid rgba(35,34,59,0.14);
  border-radius:8px;
  background:#fff;
  color:#64748b;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}

.sort-view-btn:hover{
  border-color:rgba(93,56,208,0.45);
  color:var(--ik-primary);
}

.sort-view-btn.is-active{
  background:var(--ik-primary);
  border-color:var(--ik-primary);
  color:#fff;
  box-shadow:var(--ik-primary-shadow);
}

.sort-bar--mobiel .sort-view-toggle{
  display:none;
}

.city-image{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-image:url("https://images.unsplash.com/photo-1534351590666-13e3e96b5017");
  background-size:cover;
  background-position:center;
  z-index:0;
}

/*.city-text{
position:absolute;
bottom:30px;
left:40px;
font-size:36px;
color:white;
font-weight:700;
}*/

.city-text{
  position:absolute;
  z-index:2;
  left:0;
  right:auto;
  top:50%;
  bottom:auto;
  transform:translateY(calc(-50% - 20px));
  width:min(520px, 100%);
  max-width:520px;
  color:#fff;
  text-align:left;
  padding:0 4px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.city-hero-sub{
  margin:0 0 14px;
  padding:7px 14px;
  font-size:14px;
  font-weight:600;
  letter-spacing:0.01em;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  background:rgba(15,23,42,0.45);
  border:1px solid rgba(255,255,255,0.2);
  backdrop-filter:blur(6px);
}

.city-hero-sub[hidden]{
  display:none !important;
}

.city-hero-title{
  margin:0;
  font-size:clamp(30px, 4.5vw, 48px);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-0.02em;
  text-shadow:0 2px 24px rgba(0,0,0,0.25);
}

.city-hero-lead{
  margin:12px 0 0;
  max-width:440px;
  font-size:clamp(14px, 1.8vw, 17px);
  font-weight:500;
  line-height:1.45;
  opacity:0.95;
  text-shadow:0 1px 12px rgba(0,0,0,0.2);
}

/* Feature-regels — paars icoonvlak + witte tekst (mockup) */
.city-hero-badges{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:flex-start;
  gap:16px 28px;
  margin-top:16px;
}

.city-hero-feature{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.city-hero-feature-icon{
  flex-shrink:0;
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--ik-primary);
  color:#fff;
  font-size:16px;
  line-height:1;
  box-shadow:0 4px 14px rgba(74,45,184,0.38);
}

.city-hero-feature-icon i{
  display:block;
  line-height:1;
}

.city-hero-feature-text{
  display:flex;
  flex-direction:column;
  gap:3px;
  line-height:1.25;
  min-width:0;
}

.city-hero-feature-text strong{
  font-size:15px;
  font-weight:700;
  color:#fff;
  letter-spacing:-0.01em;
  text-shadow:0 1px 10px rgba(0,0,0,0.35);
}

.city-hero-feature-text > span{
  font-size:13px;
  font-weight:400;
  color:rgba(255,255,255,0.92);
  text-shadow:0 1px 8px rgba(0,0,0,0.28);
}

.categories-wrapper{
  position:absolute;
  z-index:6;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  transform:translateY(50%);
  margin:0;
  overflow:visible;
}

/* Witte balk; pijl hangt half erbuiten (mockup) */
.categories-panel{
  position:relative;
  width:100%;
  box-sizing:border-box;
  padding:10px 12px 10px 14px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 8px 32px rgba(15,23,42,0.12);
  border:1px solid rgba(35,34,59,0.08);
  overflow:visible;
}

/* categorie scroll */

.categories-bar{
display:flex;
flex:1;
min-width:0;
gap:clamp(8px, 1.5vw, 14px);
overflow-x:auto;
scroll-behavior:smooth;
padding-left:4px;
padding-right:28px;
width:auto;
max-width:none;
box-sizing:border-box;
scroll-snap-type:x proximity;
scrollbar-width:none;
cursor:grab;
touch-action:pan-x;
-webkit-overflow-scrolling:touch;
mask-image:none;
-webkit-mask-image:none;
}

.categories-bar.dragging{
  cursor: grabbing;
}

.categories-bar::-webkit-scrollbar{
display:none;
}

.categories-bar::-webkit-scrollbar{
display:none;
}

/* snap cards */

.category-card{
flex:0 0 auto;
}

/* pijlen */

.categories-arrow{
  width:40px;
  height:40px;
  flex-shrink:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:0;
  margin:0;
  background:#fff;
  border:1px solid rgba(35,34,59,0.1);
  border-radius:50%;
  box-shadow:0 2px 10px rgba(15,23,42,0.1);
  cursor:pointer;
  user-select:none;
  font:inherit;
  color:#64748b;
  line-height:0;
  position:relative;
  z-index:2;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}

.categories-arrow i{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  font-size:14px;
  line-height:1;
}

.categories-arrow:hover{
  background:#f8fafc;
  border-color:rgba(35,34,59,0.16);
  color:var(--ik-primary);
}

.categories-arrow:active{
  background:#f1f5f9;
}

.categories-arrow.right{
  display:inline-flex;
  position:absolute;
  right:-20px;
  top:50%;
  transform:translateY(-50%);
  margin:0;
  z-index:7;
}
/*
.categories-bar{
scrollbar-width:none;
-ms-overflow-style:none;
}*/

.categories-bar::-webkit-scrollbar{
display:none;
}

.category-card{
flex:0 0 auto;
width:72px;
height:72px;
background:transparent;
border-radius:12px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-decoration:none;
color:#334155;
font-family:sans-serif;
font-weight:600;
box-shadow:none;
position:relative;
transition:box-shadow .2s ease, transform .2s ease, background .2s ease, color .2s ease;
margin-top:0;
scroll-snap-align:center;
}

/* hover effect */

.category-card:hover{
transform:translateY(-2px);
background:#f8fafc;
}

/* geselecteerde categorie */

.category-card.active{
transform:none;
background:var(--ik-primary);
outline:none;
box-shadow:0 4px 14px rgba(93,56,208,0.35);
z-index:2;
color:#fff;
}

.category-card.active span{
color:#fff;
}

/* hover niet toepassen op active */

.category-card.active:hover{
transform:none;
background:var(--ik-primary-hover);
}

.category-icon{
width:30px;
height:40px;
margin-bottom:6px;
display:flex;
align-items:center;
justify-content:center;
}

.category-icon img,
.category-icon svg{
width:100%;
height:100%;
object-fit:contain;
}

.category-card span{
font-size:12px;
line-height:1.15;
text-align:center;
}


/* GRID */

/*.ikash-grid{
display:grid;
grid-template-columns:repeat(24,1fr);
column-gap:20px;
row-gap:20px;
padding:30px;
align-items:start;
grid-auto-flow:row;
}*/


.ikash-grid{
  display:grid;
  /* Fixed track max keeps gutters consistent; more tiles fit per row instead of stretching */
  grid-template-columns:repeat(auto-fit, minmax(240px, 300px));
  gap:clamp(12px, 2vw, 25px);
  padding:clamp(12px, 3vw, 30px);
  align-items:start;
  align-content:start;
  justify-content:center;
  grid-auto-flow:row;
  max-width:none;
  margin:0;
}

/* Tablet/iPad: slightly smaller tiles + tighter gutters */
@media (max-width:1200px){
  .ikash-grid{
    grid-template-columns:repeat(auto-fit, minmax(210px, 260px));
    gap:18px;
    padding:20px;
  }
}

@media (max-width:1024px){
  .ikash-grid{
    grid-template-columns:repeat(auto-fit, minmax(200px, 240px));
    gap:16px;
    padding:16px;
  }
}

.ikash-grid > *{
min-width:0;
}

/* Lijstweergave (desktop) — layout volgens list-view mockup */
@media (min-width:901px){
  .ikash-grid.ikash-grid--list-view{
    --ik-list-card-h:220px;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    max-width:var(--ik-content-max);
    width:min(var(--ik-content-max), calc(100% - 2 * var(--ik-content-pad)));
    margin-left:auto;
    margin-right:auto;
    gap:28px 24px;
    padding:0;
    align-items:stretch;
  }

  .ikash-grid--list-view .tile-wrapper.tile-standard{
    width:100%;
    max-width:none;
    margin-inline:0;
    margin-bottom:4px;
  }

  .ikash-grid--list-view .deal-card{
    height:var(--ik-list-card-h);
    min-height:var(--ik-list-card-h);
    max-height:var(--ik-list-card-h);
    perspective:1400px;
  }

  .ikash-grid--list-view .deal-card-inner{
    height:100%;
    min-height:var(--ik-list-card-h);
  }

  .ikash-grid--list-view .deal-front,
  .ikash-grid--list-view .deal-back{
    border-radius:16px;
    border:1px solid rgba(35,34,59,0.1);
    box-shadow:0 2px 12px rgba(15,23,42,0.08);
  }

  /* Kolom 1 (~34%): hero-foto | kolom 2: inhoud */
  .ikash-grid--list-view .deal-front{
    --deal-image-h:var(--ik-list-card-h);
    display:grid;
    grid-template-columns:34% minmax(0, 1fr);
    grid-template-rows:minmax(var(--ik-list-card-h), 1fr);
    align-items:stretch;
    height:100%;
    min-height:var(--ik-list-card-h);
    background:#fff;
  }

  .ikash-grid--list-view .deal-front::before{
    display:none;
  }

  .ikash-grid--list-view .deal-images{
    grid-column:1;
    grid-row:1;
    position:relative;
    width:100%;
    height:100%;
    min-height:var(--ik-list-card-h);
    display:block;
    overflow:hidden;
    border-radius:16px 0 0 16px;
  }

  .ikash-grid--list-view .image-right{
    display:none !important;
  }

  .ikash-grid--list-view .image-left{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
  }

  .ikash-grid--list-view .image-left img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center !important;
  }

  .ikash-grid--list-view .deal-category-pill-wrap{
    top:10px;
    left:10px;
    right:10px;
    max-width:calc(100% - 20px);
    width:max-content;
  }

  .ikash-grid--list-view .deal-category-pill{
    display:inline-block;
    width:auto;
    max-width:100%;
    box-sizing:border-box;
    background:var(--ik-primary);
    color:#fff;
    border:none;
    text-transform:none;
    font-size:10px;
    font-weight:700;
    letter-spacing:0.02em;
    line-height:1.2;
    border-radius:6px;
    padding:4px 8px;
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    word-break:break-word;
  }

  .ikash-grid--list-view .deal-favorite-btn{
    top:12px;
    right:12px;
  }

  .ikash-grid--list-view .deal-body{
    grid-column:2;
    grid-row:1;
    align-self:stretch;
    display:flex;
    flex-direction:column;
    min-height:0;
    height:100%;
    max-height:100%;
    padding:16px 20px 14px;
    overflow:hidden;
    gap:0;
  }

  .ikash-grid--list-view .deal-category{
    display:none;
  }

  /* 1. Titel */
  .ikash-grid--list-view .deal-title{
    font-size:18px;
    font-weight:700;
    color:#23223B;
    line-height:1.25;
    margin:0 0 6px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  /* 2. Ondernemer • plaats • rating • afstand (één regel, mockup) */
  .ikash-grid--list-view .deal-merchant-row{
    margin:0 0 8px;
    flex-shrink:0;
    min-height:20px;
    overflow:visible;
    display:block;
    width:100%;
  }

  .ikash-grid--list-view .deal-merchant-line{
    margin:0;
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    max-width:100%;
    font-size:14px;
    line-height:1.35;
    font-weight:500;
    color:#64748b;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    gap:0;
  }

  .ikash-grid--list-view .deal-merchant-name{
    flex-shrink:0;
    font-weight:500;
    color:#64748b;
  }

  .ikash-grid--list-view .deal-merchant-city{
    font-weight:500;
    color:#64748b;
    flex-shrink:0;
  }

  .ikash-grid--list-view .deal-merchant-line .deal-front-rating{
    display:inline-flex;
    align-items:center;
    gap:4px;
    font-size:14px;
    font-weight:600;
    color:#23223B;
    vertical-align:baseline;
  }

  .ikash-grid--list-view .deal-merchant-line .deal-front-rating:not(.deal-front-rating--empty) i{
    color:#f59e0b;
    font-size:13px;
  }

  .ikash-grid--list-view .deal-merchant-line .deal-front-rating--empty i{
    color:#f59e0b;
    font-size:14px;
  }

  .ikash-grid--list-view .deal-merchant-line .deal-front-rating-value{
    font-weight:600;
    color:#23223B;
  }

  .ikash-grid--list-view .deal-merchant-line .deal-distance{
    font-weight:500;
    color:#64748b;
  }

  /* 3. Beschrijving — vult ruimte; prijsblok schuift naar beneden */
  .ikash-grid--list-view .deal-description{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:0;
    padding:0;
    font-size:14px;
    line-height:1.45;
    color:#64748b;
    flex:1 1 auto;
    min-height:0;
  }

  /* 4. Prijsregel + verkocht + knop — onderaan de kaart */
  .ikash-grid--list-view .deal-bottom{
    margin-top:auto;
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-end;
    gap:8px;
    padding:0;
    border:none;
    width:100%;
  }

  /* Eén regel: prijzen links, verkocht rechts (zelfde onderlijn) */
  .ikash-grid--list-view .deal-price-footer{
    display:flex;
    flex-direction:row;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    width:100%;
    min-width:0;
  }

  .ikash-grid--list-view .deal-price-stack{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:flex-end;
    align-content:flex-end;
    gap:8px 12px;
    flex:1 1 auto;
    min-width:0;
  }

  .ikash-grid--list-view .deal-price-stack .deal-info,
  .ikash-grid--list-view .deal-price-stack .deal-oldprice,
  .ikash-grid--list-view .deal-price-stack .deal-price-row{
    margin:0;
    padding:0;
  }

  .ikash-grid--list-view .deal-price-stack .deal-info{
    order:1;
    flex:0 0 auto;
    display:flex;
    align-items:flex-end;
    margin:0;
  }

  .ikash-grid--list-view .deal-price-stack .deal-discount{
    line-height:1.1;
  }

  .ikash-grid--list-view .deal-price-stack .deal-oldprice{
    order:3;
    flex:0 0 auto;
    align-self:flex-end;
    font-size:14px;
    color:#94a3b8;
    line-height:1.1;
    text-decoration:line-through;
  }

  .ikash-grid--list-view .deal-price-stack .deal-price-row{
    display:contents;
  }

  .ikash-grid--list-view .deal-price-stack .deal-newprice{
    order:2;
    align-self:flex-end;
    font-size:22px;
    font-weight:700;
    line-height:1;
    color:#16a34a;
  }

  .ikash-grid--list-view .deal-price-footer .deal-sold-row{
    display:flex;
    flex:0 0 auto;
    justify-content:flex-end;
    align-items:flex-end;
    align-self:flex-end;
    margin:0;
    padding:0;
  }

  .ikash-grid--list-view .deal-price-footer .deal-sold{
    font-size:13px;
    line-height:1.1;
    color:#64748b;
    white-space:nowrap;
  }

  /* 5. Bekijk deal — volle breedte */
  .ikash-grid--list-view .deal-buttons{
    width:100%;
    max-width:none;
    min-width:0;
    margin:0;
    padding:0;
  }

  .ikash-grid--list-view .deal-buttons .deal-button{
    width:100%;
    min-height:34px !important;
    height:auto !important;
    padding:6px 14px !important;
    border-radius:8px !important;
    font-size:14px !important;
    font-weight:600 !important;
    line-height:1.2 !important;
  }
}

/* Trust-balk boven footer */
.ikash-trust-bar{
  background:#f8fafc;
  border-top:1px solid rgba(35,34,59,0.08);
  border-bottom:1px solid rgba(35,34,59,0.08);
  padding:28px clamp(16px, 3vw, 30px);
  margin-top:8px;
}

.ikash-trust-bar-inner{
  max-width:var(--ik-content-max);
  width:min(var(--ik-content-max), calc(100% - 2 * var(--ik-content-pad)));
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:20px 28px;
}

.ikash-trust-item{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.ikash-trust-icon{
  flex-shrink:0;
  width:44px;
  height:44px;
  border-radius:12px;
  border:2px solid #6366f1;
  color:#4f46e5;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  background:#fff;
}

.ikash-trust-item strong{
  display:block;
  font-size:15px;
  color:#23223B;
  margin-bottom:4px;
}

.ikash-trust-item p{
  margin:0;
  font-size:13px;
  line-height:1.4;
  color:#64748b;
}

.deal-category-pill-wrap{
  position:absolute;
  top:10px;
  left:10px;
  z-index:3;
  pointer-events:none;
  display:inline-block;
  max-width:calc(100% - 52px);
  width:max-content;
  box-sizing:border-box;
}

.deal-category-pill{
  display:inline-block;
  width:auto;
  max-width:100%;
  box-sizing:border-box;
  padding:4px 10px;
  border-radius:6px;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.02em;
  line-height:1.2;
  text-transform:none;
  color:#4338ca;
  background:rgba(238,242,255,0.95);
  border:1px solid rgba(99,102,241,0.25);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.deal-front-rating{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:13px;
  font-weight:700;
  color:#23223B;
  white-space:nowrap;
}

.deal-front-rating i{
  color:#f59e0b;
  font-size:12px;
}

.deal-front-rating--empty i{
  color:#f59e0b;
}

.deal-front-rating--empty .deal-front-rating-value{
  display:none;
}

.deal-merchant-line{
  margin:0;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  font-size:13px;
  line-height:1.35;
  font-weight:500;
  color:#64748b;
}

.deal-merchant-name{
  flex-shrink:0;
}

.deal-merchant-sep{
  color:#94a3b8;
  font-weight:700;
  flex-shrink:0;
  padding:0 10px;
  box-sizing:content-box;
}

.deal-merchant-line .deal-front-rating{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:inherit;
  font-weight:500;
  color:inherit;
}

.deal-merchant-line .deal-distance{
  display:inline;
  font-size:inherit;
  font-weight:500;
  color:inherit;
  white-space:nowrap;
}

.deal-merchant-line .deal-distance i{
  display:none;
}

.deal-card{
width:100%;
}

/* Prijs/korting/knop: één blok onderaan de tegel; beschrijving vult ruimte erboven (flex) */
.deal-bottom{
  margin-top:auto;
  flex-shrink:0;
  display:flex;
  flex-direction:column;
  gap:0;
}

.deal-price-stack{
  display:flex;
  flex-direction:column;
  gap:0;
  min-width:0;
}

.deal-bottom .deal-oldprice{
  margin-top:0;
}

.deal-oldprice{
  text-decoration:line-through;
  color:#999;
  font-size:18px;
}

.deal-price-footer{
  display:flex;
  flex-direction:row;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  width:100%;
}

.deal-sold-row{
  display:flex;
  flex:0 0 auto;
  justify-content:flex-end;
  align-items:flex-end;
}

.deal-newprice{
font-size:26px;
font-weight:700;
color:#16a34a;
}

.deal-image-single{
height:200px;
width:100%;
overflow:hidden;
flex-shrink:0;
}

.deal-image-single img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

.deal-price-row{
display:flex;
justify-content:space-between;
align-items:center;
margin-top:0;
}

.deal-sold{
display:flex;
align-items:center;
gap:6px;
font-size:14px;
color:#666;
}

.sold-icon{
width:18px;
height:18px;
}

.sold-icon circle{
fill:#36b37e; /* groene cirkel */
}

.sold-icon path{
stroke:white;
stroke-width:2;
fill:none;
stroke-linecap:round;
stroke-linejoin:round;
}




/* CARD */

.deal-card{
perspective:2400px;
height:560px;
max-height:560px;
width:100%;
display: flex;
position:relative;
}

.tile-wrapper{
  width:100%;
  position:relative;
  justify-self:stretch;
}

/* Nieuw model: alleen tile-standard.
   Breedte = ~2/3 van oude middle tile (responsive per breakpoint). */
.tile-wrapper.tile-standard{
  width:min(100%, 420px);
  max-width:420px;
  margin-inline:auto;
}

@media (max-width:1200px){
  .tile-wrapper.tile-standard{
    width:min(100%, 360px);
    max-width:360px;
  }
}

@media (max-width:1024px){
  .tile-wrapper.tile-standard{
    width:min(100%, 332px);
    max-width:332px;
  }
}

/* INNER */

.deal-card-inner{
  position:relative;
  transition:transform .6s;
  -webkit-transform-style:preserve-3d;
  transform-style:preserve-3d;
  width:100%;
  height:100%;
}

/* FLIP */

.deal-card.flipped .deal-card-inner{
  transform:rotateY(180deg);
}
.deal-card.flipped .deal-front{
  pointer-events:none;
}
.deal-card.flipped .deal-back{
  pointer-events:auto;
}

/* FRONT + BACK */

.deal-front,
.deal-back{
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,0.15);
  height:100%;
  display:flex;
  flex-direction:column;
  border:3px solid white;
  box-sizing:border-box;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  -webkit-transform-style:preserve-3d;
  transform-style:preserve-3d;
}

.deal-front{
  --deal-image-h: 200px;
  --deal-fade-extra: 26px;
  background:linear-gradient(to bottom, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
}
.deal-front::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:calc(var(--deal-image-h) + var(--deal-fade-extra));
  border-radius:20px 20px 0 0;
  pointer-events:none;
  background:
    radial-gradient(500px 160px at 20% 0%, rgba(188,105,0,0.12), transparent 58%),
    radial-gradient(420px 140px at 88% 8%, rgba(35,34,59,0.14), transparent 52%);
}
/* BACK – egale witte achtergrond (voorkomt doormengen op iPhone) */
.deal-back{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  transform:rotateY(180deg);
  -webkit-transform:rotateY(180deg);
  background:#ffffff;
  background-color:#ffffff;
  color:#333;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  isolation:isolate;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}

/* IMAGE */

.deal-image{
height:200px;
flex-shrink: 0;
background-size:cover;
background-position:center;
}

.deal-images{
display:flex;
height:200px;
flex-shrink:0;
gap:3px;
align-items:stretch;
overflow:hidden;
}

.deal-image-wrap{
  position:relative;
}

.deal-favorite-btn{
  position:absolute;
  top:10px;
  right:10px;
  z-index:5;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,0.16);
  background:rgba(255,255,255,0.96);
  color:#334155;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,0.22);
  transition:transform .12s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}

.deal-favorite-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 22px rgba(15,23,42,0.28);
}

.deal-favorite-btn[aria-pressed="true"]{
  color:#e11d48;
  background:#fff1f2;
  border-color:rgba(225,29,72,0.25);
}

/* «Uitverkocht» — rubberstempel (rood, licht gedraaid), linksboven; favoriet rechtsboven */
.deal-sold-out-badge{
  --stamp-red:#a32018;
  position:absolute;
  top:8px;
  left:8px;
  z-index:4;
  max-width:min(calc(100% - 52px), 13.5em);
  box-sizing:border-box;
  margin:0;
  padding:7px 12px 6px 12px;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.12em;
  text-transform:uppercase;
  line-height:1.15;
  text-align:center;
  color:var(--stamp-red);
  background:rgba(255, 252, 250, 0.88);
  border:3px solid var(--stamp-red);
  outline:2px solid var(--stamp-red);
  outline-offset:3px;
  border-radius:2px;
  transform:rotate(-7deg);
  transform-origin:50% 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 1px 2px rgba(163, 32, 24, 0.2),
    0 2px 6px rgba(0, 0, 0, 0.1);
  text-shadow:0 0.5px 0 rgba(163, 32, 24, 0.35);
  pointer-events:none;
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);
}

.image-left{
flex:2;
min-height:0;
overflow:hidden;
}

/* rechter kolom */

.image-right{
flex:1;
min-height:0;
display:flex;
flex-direction:column;
gap:3px;      /* witte rand tussen de foto's */
overflow:hidden;
}

.image-left img,
.image-right img{
width:100%;
height:100%;
object-fit:cover;
display:block;
overflow:hidden;
}

.image-right img{
flex:1 1 0;
min-height:0;
}

.deal-front .image-left img{
  object-position:center bottom !important;
}

.deal-front .image-right img:last-child{
  object-position:center bottom !important;
}

/* bovenste foto */



.ikash-back-logo{
position:absolute;
top:16px;
left:50%;
transform:translateX(-50%);
height:22px;
opacity:0.9;
}

/* BODY */

.deal-body{
  position:relative;
  z-index:1;
  padding:10px 12px;
  display:flex;
  flex-direction:column;
  gap:0;
  flex:1;
  min-height:0;
  overflow:hidden;
}

/* Volle flip-tegel voorkant = ondernemers-preview (.v6-tile .deal-body); hogere specificiteit dan losse .deal-body */
.deal-card:not(.deal-card-mobiel-lite) .deal-front .deal-body{
  padding:10px 12px;
  gap:0;
}

/* TEXT */

.deal-title{
font-size:20px;
font-weight:600;
color:#333;
flex-shrink:0;
min-height:1.25em;
}

.deal-front .deal-title{
  line-height:1.2;
}

/* Volle tegel voorkant: +2px tussen categorie↔titel en titel↔ondernemer/plaats */
.deal-card:not(.deal-card-mobiel-lite) .deal-front .deal-category{
  margin-bottom:4px;
}

.deal-card:not(.deal-card-mobiel-lite) .deal-front .deal-title{
  margin-bottom:2px;
}

.deal-title:empty::before{
  content:"\00a0";
}

/* Volle tegel: +4px tussen ondernemer/plaats-regel en beschrijving */
.deal-card:not(.deal-card-mobiel-lite) .deal-front .deal-description{
  margin-top:5px;
}

.deal-description{
  margin-top:1px;
  padding-top:2px;
  padding-right:2px;
  box-sizing:border-box;
  font-size:14px;
  color:#666;
  line-height:1.35;
  flex:1 1 0;
  min-height:0;
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  -ms-overflow-style:none;
  overscroll-behavior:contain;
}

.deal-description::-webkit-scrollbar{
  display:none;
}

/* INFO */

.deal-info{
display:flex;
justify-content:space-between;
align-items:center;
margin-top:0px;
}

.deal-back-description{
font-size:13px;
line-height:1.35;
color:#555;
margin-top:6px;

flex:1;
overflow-y:auto;
min-height:0;

/* scrollbar verbergen */
scrollbar-width:none;        /* Firefox */
-ms-overflow-style:none;     /* IE/Edge */
overscroll-behavior: contain;
}

.deal-back-description::-webkit-scrollbar{
display:none;                /* Chrome / Safari */
}

/* Achterkant: Direct kopen boven info-strip; onderaan geankerd (zoals .deal-bottom op voorkant) */
.deal-back-full:not([hidden]) .deal-back-footer-cta{
  flex-shrink:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:auto;
  width:100%;
  padding-top:10px;
  box-sizing:border-box;
}

/* Zelfde band als .deal-buttons + .deal-button (43px, gecentreerde tekst) */
.deal-back-full:not([hidden]) .deal-back-direct-buy-row{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:100%;
  min-height:43px;
  box-sizing:border-box;
}

.deal-back-full:not([hidden]) .deal-direct-buy{
  font-size:15px;
  font-weight:700;
  line-height:1;
  color:#2563eb;
  text-decoration:none;
  padding:0 10px;
}

.deal-back-full:not([hidden]) .deal-direct-buy:hover{
  color:#1d4ed8;
  text-decoration:underline;
}

.deal-back-full:not([hidden]) .deal-direct-buy:focus-visible{
  outline:2px solid #2563eb;
  outline-offset:2px;
}

.deal-back-full:not([hidden]) .deal-direct-buy--soldout{
  display:inline-block;
  font-size:14px;
  font-weight:600;
  line-height:1.3;
  color:#64748b;
  text-align:center;
  padding:4px 10px;
  cursor:default;
}

/* Back-header: terug links, titel midden, share rechts */
.deal-back-heading{
  display:grid;
  grid-template-columns:40px minmax(0, 1fr) 40px;
  align-items:center;
  column-gap:10px;
  margin:6px 0 8px;
}

.deal-back-title{
  font-size:17px;
  font-weight:700;
  line-height:1.2;
  color:#3b3f52;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.deal-back-flip-icon,
.deal-share-button.deal-share-icon-only{
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.28);
  background:linear-gradient(180deg, #e0f2fe 0%, #bfdbfe 100%);
  color:#1e40af;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(59,130,246,0.2), 0 1px 0 rgba(255,255,255,0.55) inset;
  transition:transform .14s ease, box-shadow .18s ease, filter .18s ease;
}

.deal-back-flip-icon:hover,
.deal-share-button.deal-share-icon-only:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(59,130,246,0.28), 0 1px 0 rgba(255,255,255,0.65) inset;
  filter:brightness(1.02);
}

.deal-back-flip-icon:active,
.deal-share-button.deal-share-icon-only:active{
  transform:translateY(1px);
}

.deal-back-flip-icon i,
.deal-share-button.deal-share-icon-only i{
  font-size:14px;
}

/* Zelfde als .dif-discount-badge (deal-detail overlay) */
.deal-discount{
  display:inline-flex;
  align-items:center;
  font-size:12px;
  font-weight:600;
  letter-spacing:0.04em;
  color:#fff;
  background:linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  padding:6px 10px;
  border-radius:8px;
}

/* BUTTON 

.deal-button{
margin-top:auto;
background:#2563eb;
color:white;
border:none;
padding:12px;
border-radius:8px;
cursor:pointer;
} */

.deal-category{
display:inline-block;
background:#e0f2fe;
color:#0369a1;
padding:3px 8px;
border-radius:6px;
font-size:12px;
margin-bottom:2px;
flex-shrink:0;
}

.deal-category:empty{
  background:transparent;
  padding:3px 0;
}

.deal-category:empty::before{
  content:"\00a0";
}

.deal-merchant{
font-size:14px;
font-weight:600;
color:#333;
margin-top:-8px;   /* dichter onder de titel */
}

.deal-front .deal-merchant-row{
  margin-top:0;
}

.deal-card:not(.deal-card-mobiel-lite) .deal-front .deal-merchant{
  margin-top:0;
}

.deal-location{
font-size:14px;
color:#777;
margin-bottom:4px;
}

.deal-buttons{
display:flex;
gap:8px;
margin-top:8px;
padding-top:0;
flex-shrink:0;
}

.deal-buttons button,
.deal-buttons .deal-button{
  flex:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  min-height:44px;
  padding:0 18px;
  border:none;
  border-radius:14px;
  color:#fff;
  font:inherit;
  font-weight:var(--ik-primary-btn-font-weight, 600);
  font-size:15px;
  cursor:pointer;
  background:var(--ik-primary-grad);
  box-shadow:var(--ik-primary-shadow);
  transition:filter .15s ease;
  width:100%;
}

.deal-buttons button:hover:not(:disabled),
.deal-buttons .deal-button:hover:not(:disabled){
  background:var(--ik-primary-hover);
  box-shadow:var(--ik-primary-shadow-hover);
}

.deal-buttons button:active:not(:disabled),
.deal-buttons .deal-button:active:not(:disabled){
  background:var(--ik-primary-pressed);
  box-shadow:var(--ik-primary-shadow-active);
}


.deal-buy{
margin-top:auto;
background:var(--ik-primary-grad);
color:white;
border:none;
padding:14px 18px;
border-radius:10px;
font-weight:600;
cursor:pointer;
box-shadow:var(--ik-primary-shadow);

position:relative;
bottom:0;
}

.deal-merchant-row{
display:flex;
align-items:center;
flex-shrink:0;
margin-top:0;
}

.deal-distance{
display:flex;
align-items:center;
gap:4px;
font-size:14px;     /* zelfde grootte als plaats */
white-space:nowrap;
font-weight:600;
}

.deal-distance i{
font-size:14px;     /* icon zelfde grootte als tekst */
line-height:1;
display:flex;
align-items:center;
color:#BC6900;
}

.location-icon{
width:22px;
height:22px;
fill:#2c2a45; /* iKash kleur */
flex-shrink:0;
}

.back-divider{
width:100%;
height:1px;
background:#e6e6e6;
margin:12px 0 14px 0;
}

/* BADGE */

.popular-badge{
position:absolute;
top:12px;
left:12px;
background:#ef4444;
color:white;
padding:6px 10px;
border-radius:20px;
font-size:12px;
}

/* BACK TILE */

.deal-back{
  display:flex;
  flex-direction:column;
  height:100%;
  position:relative;
}

.tile-turn:hover{
transform:rotate(-6deg);
}

/* HEADER */

.deal-back{
  position:relative;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

.tile-turn{
position:absolute;
top:-2px;
left:-2px;
width:72px;
height:72px;
z-index:1;
}

.tile-turn-icon{
width:110%;
height:110%;
display:block;
}

/* HEADER */

.back-header{
background:#23223B;
height:60px;

display:flex;
align-items:center;
justify-content:center;

/* volle breedte */
width:100%;

/* afgeronde hoeken boven */
border-radius:20px 20px 0 0;
}

/* LOGO */

.back-logo{
height:22px;
}

.back-content{
display:flex;
flex-direction:column;
gap:2px;
padding:8px;
flex:1;
text-align:center;

min-height:0;
}

.back-description::-webkit-scrollbar{
width:6px;
}

.back-description::-webkit-scrollbar-thumb{
background:#ccc;
border-radius:4px;
}

.back-code-label{
font-size:13px;
color:#666;
}

.deal-code{
font-size:28px;
font-weight:700;
letter-spacing:3px;
color:#23223B;
}

.back-divider{
height:1px;
background:#eee;
margin:4px 0;
}

.back-stats{
display:flex;
justify-content:space-between;
align-items:center;
margin:4px 0;   /* minder ruimte */
font-size:14px;
color:#333;
}

.back-stat{
display:flex;
align-items:center;
gap:6px;
cursor:pointer;
}

.back-features{
font-size:14px;
line-height:1.4;
text-align:left;
}

.deal-buy{
margin-top:auto;
background:var(--ik-primary-grad);
color:white;
border:none;
padding:12px;
border-radius:10px;
font-weight:600;
cursor:pointer;
box-shadow:var(--ik-primary-shadow);
}

.back-header{
background:#23223B;   /* iKash blauw */
height:60px;
display:flex;
align-items:center;
justify-content:center;
border-radius:20px 20px 0 0;
}

.back-logo{
height:24px;
}

.back-merchant-location{
line-height:1.4;
font-size:13px;
color:#333;
}

.merchant-name{
display:block;
font-weight:600;
color:#333;
font-size: 14px;
}

.merchant-street{
display:inline;
color:#333;
}

.merchant-city{
display:inline;
margin-left:4px;
color:#333;
}

.back-title{
font-size:18px;
font-weight:600;
color:#666;
margin-top:2px;     /* zorgt dat het hoger komt */
margin-bottom:2px;
}

.tile-hidden{
display:none !important;
}

/* hamburger knop */

.hamburger{
display:none;
font-size:28px;
color:white;
cursor:pointer;
}

.reviews-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
display:none;
justify-content:center;
align-items:center;
z-index:999;
}

.reviews-content{
background:white;
width:min(420px, 92vw);
height:65vh;        /* vaste hoogte */
border-radius:16px;
display:flex;
flex-direction:column;
overflow:hidden;
	padding: 20px;
}

.reviews-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.reviews-close{
font-size:28px;
cursor:pointer;
}

.review-item{
display:flex;
gap:12px;
margin-bottom:18px;
}

.review-avatar{
width:48px;
height:48px;
border-radius:50%;
object-fit:cover;
}

.review-text{
font-size:14px;
line-height:1.4;
}

.reviews-list{
overflow-y:auto;
max-height:60vh;
padding-right:8px;
}

.review-link{
cursor:pointer;
color:#555;
text-decoration:underline;
}

.reviews-list-loading,
.reviews-list-empty{
margin:0;
font-size:14px;
line-height:1.45;
color:#64748b;
}

.review-item--modal{
flex-direction:column;
align-items:stretch;
}

.review-item--modal .review-modal-head{
margin-bottom:6px;
}

.review-modal-stars-fa{
letter-spacing:2px;
}

.review-modal-star{
color:#cbd5e1;
font-size:15px;
}

.review-modal-star--on{
color:#f59e0b;
}

.review-modal-score{
font-weight:700;
color:#b45309;
margin-left:4px;
font-size:14px;
}

.review-modal-meta{
font-size:12px;
color:#64748b;
margin-bottom:8px;
}

.review-text--muted{
color:#94a3b8;
font-style:italic;
}

.review-link:hover{
color:#000;
}

/* FORCE OVERRIDE: back-header icons layout + lichtblauwe knoppen */
.deal-back-full .deal-back-heading{
  display:grid !important;
  grid-template-columns:40px minmax(0, 1fr) 40px !important;
  align-items:center !important;
  column-gap:10px !important;
  margin:6px 0 8px !important;
}

.deal-back-full .deal-back-title{
  font-size:17px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  color:#3b3f52 !important;
  text-align:center !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.deal-back-full .deal-back-flip-icon{
  justify-self:start !important;
}

.deal-back-full .deal-share-button.deal-share-icon-only{
  justify-self:end !important;
}

.deal-back-full .deal-back-flip-icon,
.deal-back-full .deal-share-button.deal-share-icon-only{
  width:36px !important;
  height:36px !important;
  border-radius:999px !important;
  border:1px solid rgba(148,163,184,0.28) !important;
  background:linear-gradient(180deg, #e0f2fe 0%, #bfdbfe 100%) !important;
  color:#1e40af !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
  box-shadow:0 8px 18px rgba(59,130,246,0.2), 0 1px 0 rgba(255,255,255,0.55) inset !important;
}

.deal-back-button{
margin-top:auto;
padding:12px;
border:none;
border-radius:10px;
background:#23223B;
color:white;
font-weight:600;
cursor:pointer;
}

.deal-back-button:hover{
background:#3a3860;
}

/* IMAGE ZOOM */

.image-viewer{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
display:flex;
justify-content:center;
align-items:center;
background:rgba(255,255,255,0.0);
z-index:200400;
opacity:0;
pointer-events:none;
transition:opacity .35s ease;
/*background:rgba(255,255,255,0.92);*/
}

.image-viewer.active{
opacity:1;
pointer-events:auto;
}

/* VIEWER IMAGE */

.viewer-image{
width:min(900px, 96vw);
height:auto;
max-height:90vh;
object-fit:cover;
border-radius:16px;
border:12px solid white;
box-shadow:0 30px 80px rgba(0,0,0,0.25);

/* start klein */
transform:scale(.4);
opacity:0;

transition:
transform .85s cubic-bezier(.2,.8,.2,1),
opacity .35s ease;
}

/* wanneer viewer opent */

.image-viewer.active .viewer-image{
transform:scale(1);
opacity:1;
}

/* close button */

.viewer-close{
position:absolute;
top:40px;
right:40px;
font-size:32px;
cursor:pointer;
color:#333;
}

/*.deal-image-single img,
.image-left img,
.image-right img{

transition:transform .25s ease;
cursor:pointer;

}


.deal-image-single img:hover,
.image-left img:hover,
.image-right img:hover{

transform:scale(1.05);

}*/

.deal-front img{
cursor:default;
transition:none;
}

.deal-front img:hover{
transform:none;
}


.image-left,
.image-right,
.deal-image-single{
overflow:hidden;
}

.image-right{
flex:1;
display:flex;
flex-direction:column;
gap:3px;
}

.image-right div{
flex:1;
overflow:hidden;
}

.image-right img{
width:100%;
height:100%;
object-fit:cover;
transition:transform .25s ease;
}

.image-right div:hover img{
transform:scale(1.05);
}

/* BACK TILE IMAGES */

.back-images{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:6px;
margin-bottom:6px;
position:relative;
z-index:5;
}

.back-images.single{
display:block;
}

/* thumbnails */

.back-images img{
width:100%;
height:100px;
object-fit:cover;
border-radius:6px;
display:block;
}

.back-images.single img{
height:140px;
}

.back-images img:only-child{
grid-column:1 / -1;
height:100px;
}

/* hover effect */

.back-images img:hover{
transform:scale(1.05);
}

/* Backside spacing fix: geen witte ruimte boven de 3 foto's */
.deal-back-full .back-content{
  padding:10px 8px 16px !important;
  gap:0 !important;
}

.deal-back-full .back-images{
  margin-top:0 !important;
}

/* Backside layout hard-fix:
   - geen verticale centering (witte top-ruimte weg)
   - koopknop onderin geankerd zoals voorkant */
.deal-back{
  justify-content:flex-start !important;
  align-items:stretch !important;
}

.deal-back-full:not([hidden]){
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  min-height:0 !important;
  justify-content:flex-start !important;
  align-items:stretch !important;
}

.deal-back-full:not([hidden]) .back-content{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  min-height:0 !important;
}

.deal-back-full:not([hidden]) .deal-buy{
  margin-top:auto !important;
  margin-bottom:0 !important;
  align-self:stretch !important;
  padding:14px 18px !important;
  min-height:43px !important;
  border-radius:12px !important;
  font-weight:700 !important;
  font-size:15px !important;
  line-height:1 !important;
  transform:translateY(1px) !important;
}

.deal-back-full:not([hidden]) .deal-buy{
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1 !important;
  height:43px !important;
  min-height:43px !important;
  padding:0 18px !important;
  box-sizing:border-box !important;
}

/* Voorkant «Bekijk deal»: gelijk ondernemers-preview (.v6-tile .deal-buttons button) */
.deal-buttons .deal-button{
  font-size:15px !important;
  font-weight:500 !important;
  line-height:1 !important;
  height:auto !important;
  min-height:44px !important;
  padding:0 18px !important;
  border-radius:14px !important;
  box-sizing:border-box !important;
}

.deal-buttons .deal-button::after{
  content:" →";
  font-weight:500;
  margin-left:10px;
}

.deal-buttons .deal-button--purchased{
  opacity:0.96;
}

.deal-buttons .deal-button--voucher-spent{
  opacity:0.9;
  font-weight:600 !important;
}

/* Zorg dat hidden-secties van de achterkant nooit zichtbaar geforceerd worden */
.deal-back-full[hidden],
.deal-back-purchased[hidden]{
  display:none !important;
}

/* Aangekochte deal (QR view): alles gecentreerd op achterkant */
.deal-back-purchased:not([hidden]){
  display:flex !important;
  flex:1 1 auto;
  min-height:0;
}

.deal-back-purchased-inner{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
}

.deal-back-purchased-header{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  padding:10px 10px 0;
}

.deal-back-purchased-body{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  text-align:center;
  gap:8px;
  padding:6px 12px 14px;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.deal-purchase-info{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  flex-shrink:0;
}

.deal-purchase-info-title,
.deal-purchase-info-merchant,
.deal-purchase-info-date,
.deal-purchase-proof-ref{
  margin:0;
  text-align:center;
}

.deal-purchase-voucher-wrap{
  position:relative;
  display:grid;
  place-items:center;
  align-self:center;
  flex-shrink:0;
  margin:2px 0 4px;
}

.deal-purchase-voucher-wrap--redeemed .deal-purchase-qr{
  opacity:0.42;
  filter:grayscale(0.35);
}

.deal-purchase-redeemed-stamp{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}

.deal-purchase-redeemed-stamp__label{
  transform:rotate(-14deg);
  border:3px solid rgba(71,85,105,0.88);
  color:rgba(51,65,85,0.95);
  font-weight:800;
  font-size:13px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  padding:10px 16px;
  border-radius:6px;
  background:rgba(248,250,252,0.72);
  box-shadow:0 2px 10px rgba(15,23,42,0.08);
}

.deal-purchase-qr{
  display:grid;
  place-items:center;
}

.deal-back-bottom-strip{
  flex-shrink:0;
  width:100%;
  margin-top:auto;
  padding:0 8px 10px;
  box-sizing:border-box;
}

.deal-purchase-redeemed-stamp__img{
  max-width:88%;
  max-height:88%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
}

/* layout bij 3 foto's */

/*.back-images.multi img:first-child{
flex:2;
}*/

/*.back-images.multi img:first-child{
flex:2;
}*/

.viewer-frame{
position:relative;
display:inline-block;
}

.viewer-arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
font-size:42px;
color:white;
cursor:pointer;
user-select:none;

background:rgba(0,0,0,0.35);
padding:10px 16px;
border-radius:10px;

z-index:10;
}

/* links */

.viewer-prev{
left:10px;
}

/* rechts */

.viewer-next{
right:10px;
}

/* hover */

.viewer-arrow:hover{
background:rgba(0,0,0,0.55);
}

/* hover */

.viewer-arrow:hover{
background:rgba(0,0,0,0.55);
}

.viewer-arrow:hover{
background:white;
}

.back-rating-row{
display:flex;
justify-content:center;
align-items:center;
gap:6px;
margin:6px 0 10px;
font-size:15px;
flex-wrap:wrap;
}

.back-rating-stars{
color:#f3b332;
font-size:18px;
line-height:1;
}

.back-rating-score{
font-size:17px;
font-weight:700;
color:#2c2a45;
}

.back-rating-count{
font-size:15px;
color:#666;
}

.back-validity{
margin:6px 0 10px;
display:flex;
justify-content:center;
}

.back-validity-item{
display:flex;
align-items:center;
gap:8px;
font-size:15px;
color:#555;
}

.back-validity-icon{
font-size:18px;
line-height:1;
}

.back-reviews{
display:flex;
flex-direction:column;
gap:12px;
margin-top:8px;
margin-bottom:12px;
text-align:left;
}

.back-review{
display:flex;
align-items:flex-start;
gap:10px;
}

.back-review-avatar{
width:46px;
height:46px;
border-radius:50%;
object-fit:cover;
flex-shrink:0;
}

.back-review-texts{
flex:1;
}

.back-review-top{
display:flex;
align-items:center;
gap:8px;
flex-wrap:wrap;
margin-bottom:3px;
}

.back-review-name{
font-size:16px;
font-weight:600;
color:#2c2a45;
}

.back-review-stars{
color:#f3b332;
font-size:16px;
line-height:1;
letter-spacing:1px;
}

.back-review-stars i{
color:#f3b332;
font-size:15px;
margin-right:2px;
}

.back-rating-row i{
color:#f3b332;
font-size:14px;
}

.back-review-text{
font-size:14px;
line-height:1.35;
color:#444;
}

.back-valid-badge{
margin-top:auto;
margin-bottom:12px;
border:1px solid #e7e1e7;
background:#faf9fa;
border-radius:12px;
padding:10px 12px;
text-align:center;
font-size:15px;
color:#555;
}

.back-valid-badge strong{
color:#2c2a45;
}
