body{
margin:0;
font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;
/* background:#f3f4f6; */
background:#ffffff;
--ik-primary-grad:linear-gradient(180deg, #93a0ff 0%, #6366f1 42%, #4f46e5 78%, #3730a3 100%);
--ik-primary-shadow:0 6px 20px rgba(67,56,202,0.32), 0 1px 0 rgba(255,255,255,0.15) inset;
--ik-primary-shadow-hover:0 10px 26px rgba(67,56,202,0.38), 0 1px 0 rgba(255,255,255,0.2) inset;
--ik-primary-shadow-active:0 4px 14px rgba(67,56,202,0.28), 0 1px 0 rgba(255,255,255,0.12) inset;
}

html {
  font-size: 16px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

/* HEADER */

.ikash-header{
background:#23223B;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
position:sticky;
top:0;
z-index:10;
}

.header-container{
display:flex;
justify-content:space-between;
align-items:center;
padding:16px clamp(16px, 4vw, 40px);
gap:16px;
}

.logo img{
height:32px;
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;
}

/* Ingelogde account-knop: alleen naam + pijltje */
.ikash-user-menu-trigger{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:8px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.32);
  background:rgba(255,255,255,0.12);
  color:#fff;
  font:inherit;
  font-size:14px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
}

.ikash-header-user-name{
  display:inline-block;
  max-width:200px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ikash-user-chevron{
  font-size:11px;
  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-item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  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:0 10px;
  cursor:pointer;
  user-select:none;
}

.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 */

.auth-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:10000;
}

.auth-modal.active{
  display:block;
}

.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;
  margin:clamp(16px, 6vh, 60px) 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);
}

.auth-banner{
  background:#23223B;
  border-radius:18px 18px 0 0;
  padding:20px 22px;
  text-align:center;
  flex-shrink:0;
}
.auth-banner .auth-logo{
  height:28px;
  width:auto;
  display:block;
  margin:0 auto;
  opacity:0.95;
}

.auth-dialog::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  pointer-events:none;
  background:
    radial-gradient(800px 260px at 20% 0%, rgba(188,105,0,0.18), 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;
  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;
  z-index:2;
}

.auth-close:hover{
  background:white;
}

.auth-header{
  position:relative;
  padding:16px 22px 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-form{
  position:relative;
  padding:14px 22px 22px;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:1;
}

.auth-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.auth-field{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.auth-field > span{
  font-size:13px;
  font-weight:600;
  color:#2c2a45;
}

.auth-field input{
  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;
}

.auth-field input:focus{
  border-color:rgba(188,105,0,0.65);
  box-shadow:0 0 0 4px rgba(188,105,0,0.18);
  background:white;
}

.auth-password{
  display:flex;
  align-items:stretch;
  gap:8px;
}

.auth-password input{
  flex:1;
}

.auth-eye{
  width:44px;
  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;
}

.auth-eye:hover{
  background:white;
}

.auth-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:2px;
}

.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:#BC6900;
}

.auth-check-terms{
  margin-top:2px;
}

.auth-link{
  color:#BC6900;
  font-weight:700;
  text-decoration:none;
}

.auth-link:hover{
  text-decoration:underline;
}

.auth-submit{
  margin-top:6px;
  width:100%;
  padding:13px 16px;
  border:none;
  border-radius:12px;
  font-weight:700;
  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;
}

.auth-submit:hover{
  transform:translateY(-1px);
  box-shadow:var(--ik-primary-shadow-hover);
  filter:saturate(1.05);
}

.auth-submit:active{
  transform:translateY(0);
  box-shadow:var(--ik-primary-shadow-active);
}

.auth-footer{
  margin-top:2px;
  text-align:center;
  font-size:13px;
  color:#555;
}

@media (max-width:520px){
  .auth-grid{
    grid-template-columns:1fr;
  }
  .auth-dialog{
    margin:14px auto;
  }
}

/* CHECKOUT MODAL */

.checkout-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:10001;
}

.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);
  box-shadow:var(--ik-primary-shadow-hover);
  filter:saturate(1.05);
}

.checkout-pay:active{
  transform:translateY(0);
  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:white;
padding:8px 16px;
border-radius:8px;
box-shadow:var(--ik-primary-shadow);
}

.login{
background:var(--ik-primary-grad);
border:none;
color:white;
padding:8px 16px;
border-radius:8px;
min-width: 100px;
box-shadow:var(--ik-primary-shadow);
}

/* CITY BANNER */

.city-banner{
position:relative;
min-height:clamp(360px, 55vh, 520px);
overflow:hidden;
}

/* SORT BAR */
.sort-bar{
  max-width:1320px;
  margin:10px auto 0;
  padding:0 clamp(12px, 3vw, 30px);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.sort-label{
  font-weight:800;
  color:#23223B;
  font-size:14px;
}

.sort-select{
  border-radius:12px;
  border:1px solid rgba(35,34,59,0.12);
  background:rgba(255,255,255,0.95);
  padding:10px 12px;
  font-weight:700;
  color:#23223B;
  outline:none;
}

.sort-select:focus{
  box-shadow:0 0 0 4px rgba(188,105,0,0.18);
  border-color:rgba(188,105,0,0.65);
}

.city-image{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
url("https://images.unsplash.com/photo-1534351590666-13e3e96b5017");
	
/*background-image:url("https://images.unsplash.com/photo-1534351590666-13e3e96b5017");*/
background-size:cover;
background-position:center;
}

/*.city-text{
position:absolute;
bottom:30px;
left:40px;
font-size:36px;
color:white;
font-weight:700;
}*/

.city-text{
position:absolute;
top:30%;
left:50%;
transform:translate(-50%,-50%);
font-size:clamp(32px, 6vw, 60px);
color:white;
font-weight:700;
text-align:center;
padding:0 12px;
}

.categories-wrapper{
position:absolute;
bottom:20px;
left:0;
width:100%;
margin:auto;
display:flex;
align-items:center;
justify-content:center;
z-index:5;
padding:0 clamp(8px, 3vw, 20px);
}

/* categorie scroll */

.categories-bar{
display:flex;
gap:clamp(12px, 2vw, 16px);
overflow-x:auto;
scroll-behavior:smooth;
padding-left:clamp(28px, 3vw, 52px);
padding-right:clamp(28px, 3vw, 52px);
width:100%;
max-width:none;
box-sizing:border-box;
scroll-snap-type:x proximity;
scrollbar-width:none; /* Firefox */
cursor: grab;
touch-action: pan-x;
-webkit-overflow-scrolling: touch;
/* Zorgt voor fading aan de randen (scroll hint) */
mask-image:linear-gradient(to right,
  transparent 0%,
  #000 6%,
  #000 94%,
  transparent 100%);
-webkit-mask-image:linear-gradient(to right,
  transparent 0%,
  #000 6%,
  #000 94%,
  transparent 100%);
}

.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:32px;
height:32px;
display:flex;
align-items:center;
justify-content:center;
background:rgba(255,255,255,0.95);
border:1px solid rgba(35,34,59,0.12);
border-radius:12px;
box-shadow:0 6px 16px rgba(0,0,0,0.10);
cursor:pointer;
user-select:none;
font-size:18px;
position:relative;
z-index:2;
display:none !important;
}

/* Arrows: zichtbaar voor duidelijke bediening */

.categories-arrow.left{
margin-right:10px;
}

.categories-arrow.right{
margin-left:10px;
}
/*
.categories-bar{
scrollbar-width:none;
-ms-overflow-style:none;
}*/

.categories-bar::-webkit-scrollbar{
display:none;
}

.category-card{
flex:0 0 auto;
width:76px;
height:76px;
background:white;
border-radius:10px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-decoration:none;
color:#333;
font-family:sans-serif;
font-weight:600;
box-shadow:0 6px 16px rgba(0,0,0,0.08);
position:relative;
transition:box-shadow .25s ease, transform .25s ease;
margin-top:16px;
scroll-snap-align:center;
}

/* hover effect */

.category-card:hover{
transform:translateY(-3px);
box-shadow:0 14px 30px rgba(0,0,0,0.14);
}

/* geselecteerde categorie */

.category-card.active{
transform:translateY(-5px);
background:white;
outline:3px solid #BC6900;
box-shadow:0 14px 32px rgba(0,0,0,0.16);
z-index:2;
}

/* hover niet toepassen op active */

.category-card.active:hover{
transform:translateY(-5px);
}

.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:10px;
line-height:1.1;
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;
}

.deal-card{
width:100%;
}

.deal-bottom{
margin-top:auto;
flex-shrink:0;
display:flex;
flex-direction:column;
gap:2px;
}

.deal-oldprice{
/*text-decoration:line-through;*/
color:#999;
font-size:18px;
}

.deal-newprice{
font-size:26px;
font-weight:700;
color:#16a34a;
}

.deal-sold{
font-size:16px;
color:#666;
}

.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));
  border:1px solid rgba(255,255,255,0.65);
  box-shadow:0 12px 32px rgba(0,0,0,0.18);
}
.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;
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);
}

.image-left{
flex:2;
overflow:hidden;
}

.image-left img{
width:100%;
height:100%;
object-fit:cover;
display:block;
overflow:hidden;
}

/* rechter kolom */

.image-right{
flex:1;
display:flex;
flex-direction:column;
gap:3px;      /* witte rand tussen de foto's */
overflow:hidden;
}

.image-right img{
width:100%;
height:50%;
object-fit:cover;
overflow:hidden;
}

/* 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:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
  min-height:0;
  overflow:hidden;
}

/* TEXT */

.deal-title{
font-size:20px;
font-weight:600;
color:#333;
flex-shrink:0;
}

.deal-description{
  margin-top:1px;
  padding-top:2px;
  box-sizing:border-box;
  font-size:14px;
  color:#666;
  line-height:1.35;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  line-clamp:4;
  -webkit-line-clamp:4;
  /* Mag krimpen zodat prijs + Bekijk deal binnen de tile blijven */
  flex:0 1 auto;
  min-height:0;
  max-height:calc(1.35em * 4 + 0.35em);
}

/* INFO */

.deal-info{
display:flex;
justify-content:space-between;
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;
}

/* 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:800;
  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-merchant{
font-size:14px;
font-weight:600;
color:#333;
margin-top:-8px;   /* dichter onder de titel */
}

.deal-location{
font-size:14px;
color:#777;
margin-bottom:4px;
}

.deal-buttons{
display:flex;
gap:8px;
margin-top:auto;
padding-top: 10px;
flex-shrink:0;
}

.deal-buttons button{
flex:1;
padding:10px;
border:none;
border-radius:10px;
font-weight:600;
cursor:pointer;
}

.deal-button{
  margin-top:-6px;
  width:100%;
  padding:14px 18px;
  border-radius:12px;
  border:none;
  font-weight:700;
  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;
}
.deal-button:hover{
  transform:translateY(-1px);
  box-shadow:var(--ik-primary-shadow-hover);
  filter:saturate(1.05);
}
.deal-button:active{
  transform:translateY(0);
  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;
justify-content:space-between;
align-items:flex-end;
flex-shrink:0;
margin-top:-3px;
}

.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;
}

.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:9999;
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;
}

/* Houd button-tekst exact gelijk op voor- en achterkant */
.deal-button,
.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;
}

/* 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:center;
  justify-content:center;
  text-align:center;
  gap:10px;
  padding:8px 14px 16px;
}

.deal-purchase-info{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}

.deal-purchase-info-title,
.deal-purchase-info-merchant,
.deal-purchase-info-date,
.deal-purchase-proof-ref{
  margin:0;
  text-align:center;
}

.deal-purchase-qr{
  display:grid;
  place-items:center;
}

/* 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;
}
